Add icon-only row-action labeling rule and data formatting conventions

Row-action buttons in a data table are icon-only and need deterministic
title/aria-label instead of repeated text. Also documents money and
date-precision formatting (whole-unit money with non-breaking-space
thousands grouping, ISO week numbers for day-level dates).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-13 22:26:02 +03:00
co-authored by Claude Sonnet 5
parent 59e3107197
commit 577aa20fe3
2 changed files with 20 additions and 1 deletions
@@ -14,6 +14,9 @@ Version: 1.3
- Use a small stable button taxonomy: `primary`, `secondary`, `ghost`, `danger`, `disabled`.
- Destructive actions (`archive`, `delete`, `remove`) must use danger styling and explicit labels.
- Button text should describe the action outcome, not implementation detail.
- Inside a data-table row action column, buttons are icon-only. Each one must have a
deterministic `title` and `aria-label`; text labels belong in toolbars, forms and
confirmation dialogs, not repeated in every row.
- Buttons are text-first; icons are optional and must not replace labels on primary/danger actions.
- Base examples must show both `disabled` and `loading` states.
- Any control that triggers a network or database call must show a visible busy state for the whole