@assure-one/design-system 1.37.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +60 -16
  2. package/codemods/README.md +90 -16
  3. package/codemods/lib/entry-map.mjs +315 -0
  4. package/codemods/lib/registry.mjs +2 -0
  5. package/codemods/transforms/cm-01-entry-imports.mjs +202 -0
  6. package/codemods/transforms/cm-18-data-table-parts.mjs +234 -0
  7. package/dist/brand-theme-B6rem2II.d.ts +59 -0
  8. package/dist/css/components.css +1 -1
  9. package/dist/css/legacy-aliases.css +8 -0
  10. package/dist/css/tokens.css +14 -6
  11. package/dist/design-system-provider-BM_F1C13.d.ts +143 -0
  12. package/dist/icons/index.d.ts +441 -3
  13. package/dist/icons/index.js.map +1 -1
  14. package/dist/index-BAAuIQqP.d.ts +2579 -0
  15. package/dist/index-DxBjmBBp.d.ts +1038 -0
  16. package/dist/index.d.ts +1017 -3293
  17. package/dist/index.js +7598 -5906
  18. package/dist/index.js.map +1 -1
  19. package/dist/legacy/index.d.ts +9 -0
  20. package/dist/legacy/index.js +3 -0
  21. package/dist/legacy/index.js.map +1 -0
  22. package/dist/next/index.d.ts +2 -1
  23. package/dist/reference-BkDbrPIB.d.ts +310 -0
  24. package/dist/styles.css +1 -1
  25. package/dist/suite/index.d.ts +4 -0
  26. package/dist/suite/index.js +3 -0
  27. package/dist/suite/index.js.map +1 -0
  28. package/dist/{system-CyAVbHhM.d.ts → system-DfJIVBlJ.d.ts} +1 -310
  29. package/dist/tokens/index.d.ts +3 -61
  30. package/dist/tokens/index.js +3 -3
  31. package/dist/tokens/index.js.map +1 -1
  32. package/dist/{design-system-provider-C8UlFe52.d.ts → types-k_kjwipx.d.ts} +69 -142
  33. package/dist/vocab-DornLJbW.d.ts +76 -0
  34. package/docs/components.md +62 -32
  35. package/docs/components.registry.json +2415 -465
  36. package/docs/for-ai-agents.md +2 -0
  37. package/eslint-config/index.mjs +210 -0
  38. package/eslint-config/stylelint-rules.mjs +54 -0
  39. package/eslint-config/stylelint.mjs +73 -0
  40. package/package.json +21 -3
  41. package/public/brand/assure-audit-mark.svg +6 -0
  42. package/public/brand/assure-audit.svg +8 -0
  43. package/public/brand/assure-books-mark.svg +6 -0
  44. package/public/brand/assure-books.svg +8 -0
  45. package/public/brand/assure-pro-mark.svg +6 -0
  46. package/public/brand/assure-pro.svg +8 -0
  47. package/public/brand/assure-tax-mark.svg +6 -0
  48. package/public/brand/assure-tax.svg +8 -0
  49. package/public/brand/mycpe-teams-mark.svg +36 -0
  50. package/public/brand/mycpe-teams.svg +66 -0
  51. package/dist/index-vztxMSfl.d.ts +0 -512
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!-- Generated by `pnpm docs:catalogue` from api/*.api.md and docs/components.registry.json. Do not edit by hand; edit the registry and regenerate. -->
4
4
 
5
- Every public component of `@assure-one/design-system`, in one place: **549 component exports** — 168 component families with 228 compound parts, and 153 icons — plus the hooks, utilities, tokens and testing helpers the package exports. The list is derived from the API reports, so a public component cannot be missing from this page (`pnpm docs:catalogue --check` runs in `pnpm test:contracts`).
5
+ Every public component of `@assure-one/design-system`, in one place: **561 component exports** — 180 component families with 228 compound parts, and 153 icons — plus the hooks, utilities, tokens and testing helpers the package exports. The list is derived from the API reports, so a public component cannot be missing from this page (`pnpm docs:catalogue --check` runs in `pnpm test:contracts`).
6
6
 
7
7
  **How to use this page.** Start from the ["Pick a component"](#pick-a-component) table with the UI need you have, or from ["Never hand-roll"](#never-hand-roll) with the raw element you were about to write; links land on the category section that holds the row. Every row links to the story that shows the states. The short rulebook for agents and new contributors is [`docs/for-ai-agents.md`](./for-ai-agents.md).
8
8
 
@@ -76,7 +76,7 @@ The UI need on the left, the design-system answer on the right. When two compone
76
76
  | A global command / search box | [CommandPalette](#overlays), [KeyboardShortcutsDialog](#overlays) | |
77
77
  | Switch between views | [Tabs](#navigation), [ChannelTabs](#navigation), [BottomNav](#navigation) | `BottomNav` is the mobile tab bar. |
78
78
  | Where am I | [Breadcrumb](#navigation), [PageHeader](#layout), [AppHeader](#shell-screens) | |
79
- | Page through results | [Pagination](#navigation) | `DataTablePagination` inside a `DataTable`. |
79
+ | Page through results | [Pagination](#navigation) | `DataTablePagination` is the same pager with the table's 25-row default; `pageSizeOptions` adds a rows-per-page picker. |
80
80
  | A tree or a rail of items | [FolderTree](#navigation), [ClientRailItem](#navigation) | |
81
81
  | Space things out | [Stack](#layout), [Inline](#layout) | Tokenised gap and alignment; never ad-hoc `flex gap-*` in product code. |
82
82
  | A bordered box or card | [Surface](#layout), [Card](#layout) | `Card` adds header/title/description/footer parts and an interactive variant. |
@@ -116,10 +116,10 @@ Things you press. Every clickable control is one of these; a `<button>`, `<a rol
116
116
  | **Intent actions**<br>parts: `SecondaryAction`, `DangerAction`, `LinkAction`, `IconAction`<br>since 0.3.0 | Intent-named `Button` wrappers for product code that reads by role: primary, secondary, danger, link-styled, icon-only. | You need the full variant × intent matrix or a size outside the defaults (`Button`, `IconButton`). | — | [Button](#actions), [IconButton](#actions), [LinkButton](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/intent-actions.stories.tsx) |
117
117
  | **BulkActionBar**<br>parts: `BulkActionBarAction`, `BulkActionBarSeparator`<br>since 0.15.0 | A floating bar that appears when rows are selected: selection count, actions, separators, clear. | Actions apply to one record (row menu via `DropdownMenu`) or belong to the page (`PageHeader` actions). | — | [DataTable](#data-display), [StickyActionBar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/bulk-action-bar.stories.tsx) |
118
118
  | **StickyActionBar**<br>since 1.3.0 | Save / Cancel that stays visible at the bottom of a long form or settings page, with an optional hint and mobile-nav offset. | The form fits the viewport (put the `SubmitButton` at the end) or the actions belong to a dialog (`DialogFooter`). | `<div class="sticky bottom-0">` | [SubmitButton](#actions), [BulkActionBar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/sticky-action-bar.stories.tsx) |
119
- | **NewMenu**<br>since 1.2.0 | The "+ New" creation menu of an app: grouped actions with icons and shortcuts on a `DropdownMenu`. | The menu is contextual to one record (`DropdownMenu`) or has a single action (`Button`). | — | [DropdownMenu](#overlays), [AppHeader](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/new-menu.stories.tsx) |
119
+ | **NewMenu** (deprecated)<br>since 1.2.0 | The "+ New" creation menu of an app: grouped actions with icons and shortcuts on a `DropdownMenu`. | The menu is contextual to one record (`DropdownMenu`) or has a single action (`Button`). | — | [DropdownMenu](#overlays), [AppHeader](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/new-menu.stories.tsx) |
120
120
  | **DisplayMenu**<br>since 1.25.0 | The Linear-style Display control of a list surface: filters, grouping, ordering and column visibility in one searchable menu, driven by a `sections` array. | There is one filter (`FilterChip`) or one multi-value filter (`MultiFilterPill`). | — | [Toolbar](#actions), [MultiFilterPill](#selection), [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/display-menu.stories.tsx) |
121
121
  | **Toolbar**<br>parts: `FilterChip`<br>also: `filterChipVariants`<br>since 0.3.0 | The row of controls above a list or dashboard; `FilterChip` for a single-value filter toggle inside it. Controls share one control size so the row reads as one line. | The controls belong to a table card (`DataTableToolbar`) or the filter is multi-value (`MultiFilterPill`). | `<div class="flex items-center gap-2"> above a list` | [MultiFilterPill](#selection), [DisplayMenu](#actions), [DataTable](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/toolbar.stories.tsx) |
122
- | **SuggestionPills**<br>since 1.5.0 | A strip of AI quick-reply pills floated above a composer; renders nothing when empty and not loading, so mount it unconditionally. | The choices are a form value (`MultiSelectField`) or filters (`FilterChip`). | — | [MessageComposer](#forms), [AiDraftCard](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/suggestion-pills.stories.tsx) |
122
+ | **SuggestionPills** (deprecated)<br>since 1.5.0 | A strip of AI quick-reply pills floated above a composer; renders nothing when empty and not loading, so mount it unconditionally. | The choices are a form value (`MultiSelectField`) or filters (`FilterChip`). | — | [MessageComposer](#forms), [AiDraftCard](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/suggestion-pills.stories.tsx) |
123
123
 
124
124
  ## Forms
125
125
 
@@ -152,9 +152,9 @@ Controls that carry a value into a form. Every one binds to `Field` through `use
152
152
  | **Questions**<br>since 1.17.0 | One questionnaire question card: index, title, description, type, required flag, `chrome` card or plain. | You are laying out the whole questionnaire (`QuestionnairePanel`) or a plain form field (`Field`). | — | [QuestionnairePanel](#forms), [Field](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/questions.stories.tsx) |
153
153
  | **QuestionnairePanel**<br>since 1.17.0 | The questionnaire container of the client portal: `cards` or `navigation` variant with eyebrow and title. | A settings form (`Fieldset` inside `Card`). | — | [Questions](#forms), [Fieldset](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/questionnaire-panel.stories.tsx) |
154
154
  | **MessageComposer**<br>since 0.14.0 | The chat input of a thread: one card chrome, optional quick-reply chips, your editor as `children`, a footer with a built-in Send. | A plain multi-line field (`Textarea`) or an email signature editor (`SignatureEditor`). | — | [Textarea](#forms), [SuggestionPills](#actions), [AiDraftCard](#feedback), [MessageBubble](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/message-composer.stories.tsx) |
155
- | **SignatureEditor**<br>since 1.5.0 | The panel chrome for editing a personal email signature: header with Add image, your editor as `children`, Save / Insert footer; drop it in a `Popover` or use standalone. | Capturing a drawn e-signature (`ProposalSignatureBlock`). | — | [MessageComposer](#forms), [Popover](#overlays) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/signature-editor.stories.tsx) |
156
- | **DocumentRequestField**<br>since 1.4.0 | One row of a document request form: a slot for your document-type select plus description and required toggle. | A generic form field (`Field`). | — | [DocumentRequestDetail](#data-display), [Field](#forms), [Select](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-request-field.stories.tsx) |
157
- | **DocumentRequestUpload**<br>since 1.20.0 | The client-portal upload for a requested document: drop zone, progress and states tied to the request. | A generic file field (`FileUpload`). | — | [FileUpload](#forms), [DocumentChecklist](#data-display), [DocumentRequestDetail](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-request-upload.stories.tsx) |
155
+ | **SignatureEditor** (deprecated)<br>since 1.5.0 | The panel chrome for editing a personal email signature: header with Add image, your editor as `children`, Save / Insert footer; drop it in a `Popover` or use standalone. | Capturing a drawn e-signature (`ProposalSignatureBlock`). | — | [MessageComposer](#forms), [Popover](#overlays) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/signature-editor.stories.tsx) |
156
+ | **DocumentRequestField** (deprecated)<br>since 1.4.0 | One row of a document request form: a slot for your document-type select plus description and required toggle. | A generic form field (`Field`). | — | [DocumentRequestDetail](#data-display), [Field](#forms), [Select](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/document-request-field.stories.tsx) |
157
+ | **DocumentRequestUpload** (deprecated)<br>since 1.20.0 | The client-portal upload for a requested document: drop zone, progress and states tied to the request. | A generic file field (`FileUpload`). | — | [FileUpload](#forms), [DocumentChecklist](#data-display), [DocumentRequestDetail](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/document-request-upload.stories.tsx) |
158
158
  | **Proposal signing**<br>parts: `ProposalConsentGate`, `ProposalPaymentCapture`<br>since 1.12.0 | The signing step of a proposal: consent gate, signature capture, payment capture. | An email signature (`SignatureEditor`). | — | [AgreementViewer](#shell-screens), [ProposalPackageCard](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/proposal-signing.stories.tsx) |
159
159
  | **FormSection** (deprecated)<br>since 0.4.1 | Only in code that already uses it: a titled `<fieldset>` block of a settings form with description and trailing action. | New code — use `Fieldset` + `FieldsetLegend` (deprecated, removed in 3.0). | — | [Fieldset](#forms), [Field](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/form-section.stories.tsx) |
160
160
  | **FormError / FormSuccess** (deprecated)<br>parts: `FormSuccess` (deprecated)<br>since 0.0.0 | Only in code that already uses them: the pre-Field inline error and success messages (contract C-FORM-MSG). | New code — `FieldError` and `FieldDescription` inside a `Field`, or a toast for a saved form (deprecated, removed in 3.0). | — | [Field](#forms), [ToastProvider](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/form-message.stories.tsx) |
@@ -165,17 +165,19 @@ Pick one or many from a set: dropdowns, comboboxes, toggle groups, chips and fil
165
165
 
166
166
  | Component | Use when | Don't use when | Replaces raw HTML | Related | Links |
167
167
  | --- | --- | --- | --- | --- | --- |
168
+ | **PeoplePicker** (experimental)<br>since unreleased | Pick a person or people from the firm's roster (W7-10): `people`, single or `multiple`, avatars with an optional second line, an "assign to me" shortcut from `currentUserId`, and an `unassignedLabel` row that reports `null`. Search, keyboard, `Field` binding and form submission come from `Combobox`. | The options are not people (`Combobox`, `MultiSelect`), or a plain roster select with no roster affordances is enough (`Select`). `TeamMemberSelect` is the predecessor it replaces. | `hand-rolled assignee popover with checkboxes` | [Combobox](#selection), [MultiSelect](#selection), [Avatar](#data-display), [TeamMemberSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/patterns/pickers/people-picker.stories.tsx) |
169
+ | **SegmentedControl** (experimental)<br>since unreleased | One of a few mutually exclusive views or scopes, shown side by side (W7-17): `options` with an optional `count` per segment, `size` on the control scale, radio semantics and arrow-key movement from `ToggleGroup`. The active segment cannot be cleared by clicking it again. | The set is long or open-ended (`Select`, `Combobox`), more than one may be active (`ToggleGroup type="multiple"`), or the segments switch page regions rather than a value (`Tabs`). | `pill Tabs used as a filter`, `<div> of <button> with a manual active class` | [ToggleGroup](#selection), [Tabs](#navigation), [Select](#selection), [MultiFilterPill](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/segmented-control.stories.tsx) |
168
170
  | **Select**<br>parts: `SelectRoot`, `SelectTrigger`, `SelectValue`, `SelectContent`, `SelectItem`, `SelectGroup`, `SelectLabel`, `SelectSeparator`, `SelectScrollUpButton`, `SelectScrollDownButton`<br>since 0.0.0 | One of a short static list in a dropdown: the sealed `Select` takes `options`; the `Select*` parts compose custom items. Empty value is a real empty (no sentinel option), `size`, `classNames`, Field binding. | The user should type to filter, the list is long or async (`Combobox`), several values (`MultiSelect`), or a few options that can all be visible (`RadioGroup`, `ToggleGroup`). | `<select>`, `<option>` | [Combobox](#selection), [MultiSelect](#selection), [ClientSelect](#selection), [TeamMemberSelect](#selection) | — |
169
171
  | **Combobox** (experimental)<br>also: `DEFAULT_COMBOBOX_MESSAGES`<br>since unreleased | A searchable pick: one input, a portalled listbox, the `Option<T>` model (`{ value, label }`), async loading and empty messages, single or `multiple`. | A short static list (`Select`) or free text with suggestions that need not match (`Input` + `Popover`). | `<input list> + <datalist>`, `<select> with a search box` | [Select](#selection), [MultiSelect](#selection), [SearchSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/combobox.stories.tsx) |
170
172
  | **MultiSelect** (experimental)<br>since unreleased | Several of many options with search: `Combobox` in `multiple` mode with selected chips. | A handful of options that should all be visible (`MultiSelectField`) or one value (`Combobox`, `Select`). | `<select multiple>` | [Combobox](#selection), [MultiSelectField](#forms), [Chip](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/multi-select.stories.tsx) |
171
173
  | **SearchSelect** (deprecated)<br>since 0.0.0 | Only in code that already uses it: the pre-Combobox searchable select with `{ id, label }` options (contract C-SEARCHSELECT). | New code — `Combobox` with `Option` (deprecated, removed in 3.0; CM-08 rewrites single-mode call sites). | — | [Combobox](#selection), [MultiSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/search-select.stories.tsx) |
172
- | **ClientSelect**<br>since 0.0.0 | Pick one client: avatar, name and email rows on the `Select` primitive, long names truncated. | Searching thousands of clients (`Combobox` with async options) or any other entity (`Select`). | — | [Select](#selection), [TeamMemberSelect](#selection), [Combobox](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/client-select.stories.tsx) |
173
- | **TeamMemberSelect**<br>since 0.0.0 | Pick an assignee: avatar and name rows on the `Select` primitive, with an unassigned option. | Several assignees (`MultiSelect`) or any other entity (`Select`). | — | [Select](#selection), [ClientSelect](#selection), [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/team-member-select.stories.tsx) |
174
+ | **ClientSelect**<br>since 0.0.0 | Pick one client: searchable name and email rows on the `Combobox` primitive, long names truncated. | Clients fetched per keystroke (`Combobox` with async options) or any other entity (`Select`). | — | [Select](#selection), [TeamMemberSelect](#selection), [Combobox](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/client-select.stories.tsx) |
175
+ | **TeamMemberSelect** (deprecated)<br>since 0.0.0 | Pick an assignee: avatar and name rows on the `Select` primitive, with an unassigned option. | Several assignees (`MultiSelect`) or any other entity (`Select`). | — | [Select](#selection), [ClientSelect](#selection), [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/team-member-select.stories.tsx) |
174
176
  | **ToggleGroup**<br>parts: `ToggleGroupItem`<br>since 0.0.0 | A view or mode switch with immediate effect (list/grid, day/week), single or multiple, roving focus. | The choice is a form value (`RadioGroup`, `MultiSelectField`) or navigation between panels (`Tabs`). | `group of <button aria-pressed>` | [Tabs](#navigation), [RadioGroup](#forms), [DocumentSourceFilter](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/toggle-group.stories.tsx) |
175
177
  | **Chip** (experimental)<br>also: `chipVariants`, `resolveChipStyle`<br>since 1.35.0 | A removable, toggleable or clickable token: applied filters, tags, selected values; `variant` × `intent` × `size`, `onRemove`, `pressed`. | A static label (`Badge`), a status (`StatusBadge`) or a file (`FileChip`, `AttachmentChip`). | `<span class="rounded-full …"><button>×</button></span>` | [DismissibleChip](#selection), [Badge](#data-display), [Toolbar](#actions), [MultiSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/chip.stories.tsx) |
176
178
  | **DismissibleChip**<br>since 0.4.0 | Only in code that already uses it: a label with a remove button. | New code — `Chip` with `onRemove` covers it with the shared variants and sizes. | — | [Chip](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/dismissible-chip.stories.tsx) |
177
179
  | **MultiFilterPill**<br>since 0.0.0 | A toolbar filter with a multi-select dropdown and a count of applied values. | A single-value filter (`FilterChip`) or the full display menu (`DisplayMenu`). | — | [Toolbar](#actions), [DisplayMenu](#actions), [MultiSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/multi-filter-pill.stories.tsx) |
178
- | **DocumentSourceFilter**<br>since 1.12.0 | Scope a document list to a provenance bucket (all, uploaded, emailed, …) with counts: a `ToggleGroup` that reuses `DocumentSourceTag`'s glyphs. | Any other segmented filter (`ToggleGroup`). | — | [ToggleGroup](#selection), [DocumentSourceTag](#data-display), [DocumentDetailPanel](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-source-filter.stories.tsx) |
180
+ | **DocumentSourceFilter** (deprecated)<br>since 1.12.0 | Scope a document list to a provenance bucket (all, uploaded, emailed, …) with counts: a `ToggleGroup` that reuses `DocumentSourceTag`'s glyphs. | Any other segmented filter (`ToggleGroup`). | — | [ToggleGroup](#selection), [DocumentSourceTag](#data-display), [DocumentDetailPanel](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/document-source-filter.stories.tsx) |
179
181
 
180
182
  ## Feedback
181
183
 
@@ -192,12 +194,13 @@ Tell the user what is happening: status messages, progress, loading and empty st
192
194
  | **ProgressRing**<br>also: `progressRingVariants`<br>since 0.0.0 | A circular meter for a card or tile, with the same `intent` and value-driven colour rule as `ProgressBar`. | A wide layout (`ProgressBar`) or a donut of several series (`DonutChart`). | — | [ProgressBar](#feedback), [DonutChart](#media) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/progress-ring.stories.tsx) |
193
195
  | **SegmentedProgress**<br>since 1.2.0 | Progress through a known number of steps as filled segments (onboarding, checklists). | The steps have names (`Stepper`) or the value is continuous (`ProgressBar`). | — | [Stepper](#navigation), [ProgressBar](#feedback), [SuiteProgress](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/segmented-progress.stories.tsx) |
194
196
  | **SuiteProgress**<br>also: `suiteProgressFillVariants`<br>since 1.34.0 | The suite's discrete segmented meter with a percent readout, tinted per product or `intent`. | A generic segmented meter (`SegmentedProgress`) or a continuous one (`ProgressBar`). | — | [SegmentedProgress](#feedback), [ProgressBar](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/suite-progress.stories.tsx) |
195
- | **EmptyState**<br>since 0.0.0 | A list or panel has nothing to show: icon, title, description and one action. | The feature does not exist yet (`ComingSoon`) or content is loading (`Skeleton`). | `centred div with an icon and grey text` | [ComingSoon](#feedback), [LoadingRows](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/empty-state.stories.tsx) |
197
+ | **EmptyState**<br>since 0.0.0 | A list or panel has nothing to show: icon, title, description and one action. | The feature does not exist yet (`ComingSoon`) or content is loading (`Skeleton`). | `centred div with an icon and grey text` | [ComingSoon](#feedback), [LoadingRows](#feedback), [ErrorState](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/empty-state.stories.tsx) |
198
+ | **ErrorState**<br>since 1.38.0 | A list or panel failed to load: danger icon tile, title, description and a retry button (`onRetry`). `size="compact"` inside a table. | There is simply nothing to show (`EmptyState`) or the error belongs to a form field (`FieldError`). | `centred div with a warning icon and a Try again button` | [EmptyState](#feedback), [TableError](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/error-state.stories.tsx) |
196
199
  | **ComingSoon**<br>since 0.0.0 | A placeholder for a feature that is not available yet: icon, title, description and a feature list. | The feature exists but has no data (`EmptyState`). | — | [EmptyState](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/coming-soon.stories.tsx) |
197
- | **AttentionItem**<br>since 1.2.0 | One row of an attention queue: icon, title, description, service tone and trailing action. | A notification (`NotificationPanel` items) or an activity event (`ActivityList` items). | — | [NotificationPanel](#data-display), [ActivityList](#data-display), [KpiCard](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/attention-item.stories.tsx) |
198
- | **MissingDocumentsPanel**<br>since 1.4.0 | The firm-side panel listing documents a client has not provided, with a Request action. | The client-side checklist (`DocumentChecklist`). | — | [DocumentChecklist](#data-display), [DocumentRequestDetail](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/missing-documents-panel.stories.tsx) |
199
- | **AiDraftCard**<br>since 1.5.0 | Present an AI-generated draft inside a composer: one `state` prop drives loading, refining, error and ready (collapsible); you pass the body and actions. | A human message (`MessageBubble`) or AI quick replies (`SuggestionPills`). | — | [MessageComposer](#forms), [SuggestionPills](#actions), [AIReceiptPanel](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/ai-draft-card.stories.tsx) |
200
- | **AIReceiptPanel**<br>since 1.2.0 | The receipt-reading panel: idle, reading and done states with the extracted result and an Attach action. | A generic upload (`FileUpload`) or a draft message (`AiDraftCard`). | — | [AiDraftCard](#feedback), [FileUpload](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/ai-receipt-panel.stories.tsx) |
200
+ | **AttentionItem** (deprecated)<br>since 1.2.0 | One row of an attention queue: icon, title, description, service tone and trailing action. | A notification (`NotificationPanel` items) or an activity event (`ActivityList` items). | — | [NotificationPanel](#data-display), [ActivityList](#data-display), [KpiCard](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/attention-item.stories.tsx) |
201
+ | **MissingDocumentsPanel** (deprecated)<br>since 1.4.0 | The firm-side panel listing documents a client has not provided, with a Request action. | The client-side checklist (`DocumentChecklist`). | — | [DocumentChecklist](#data-display), [DocumentRequestDetail](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/missing-documents-panel.stories.tsx) |
202
+ | **AiDraftCard** (deprecated)<br>since 1.5.0 | Present an AI-generated draft inside a composer: one `state` prop drives loading, refining, error and ready (collapsible); you pass the body and actions. | A human message (`MessageBubble`) or AI quick replies (`SuggestionPills`). | — | [MessageComposer](#forms), [SuggestionPills](#actions), [AIReceiptPanel](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/ai-draft-card.stories.tsx) |
203
+ | **AIReceiptPanel** (deprecated)<br>since 1.2.0 | The receipt-reading panel: idle, reading and done states with the extracted result and an Attach action. | A generic upload (`FileUpload`) or a draft message (`AiDraftCard`). | — | [AiDraftCard](#feedback), [FileUpload](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/ai-receipt-panel.stories.tsx) |
201
204
 
202
205
  ## Overlays
203
206
 
@@ -227,11 +230,11 @@ Move between places: tabs, breadcrumbs, pagination, steppers, trees and rails.
227
230
  | Component | Use when | Don't use when | Replaces raw HTML | Related | Links |
228
231
  | --- | --- | --- | --- | --- | --- |
229
232
  | **Tabs**<br>parts: `TabsList`, `TabsTrigger`, `TabsContent`<br>since 0.0.0 | Switch between panels of one page; roving focus, `value`/`onValueChange`. | The switch changes a mode rather than showing another panel (`ToggleGroup`), or it is the mobile app-level bar (`BottomNav`). | `<ul role="tablist">`, `buttons toggling useState panels` | [ToggleGroup](#selection), [ChannelTabs](#navigation), [BottomNav](#navigation) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/tabs.stories.tsx) |
230
- | **ChannelTabs**<br>since 1.5.0 | Pill tabs switching between communication channels on a thread, each with a toned status dot and unread count; fully controlled. | Generic panels (`Tabs`). | — | [Tabs](#navigation), [StatusDot](#data-display), [MessageBubble](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/channel-tabs.stories.tsx) |
233
+ | **ChannelTabs** (deprecated)<br>since 1.5.0 | Pill tabs switching between communication channels on a thread, each with a toned status dot and unread count; fully controlled. | Generic panels (`Tabs`). | — | [Tabs](#navigation), [StatusDot](#data-display), [MessageBubble](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/channel-tabs.stories.tsx) |
231
234
  | **Breadcrumb**<br>parts: `BreadcrumbList`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbPage`, `BreadcrumbSeparator`<br>since 0.0.0 | The path to the current page; `BreadcrumbPage` marks the current one, `BreadcrumbLink asChild` wraps your router link. | The page title itself (`PageHeader`) or the app-level bar (`AppHeaderBreadcrumb` inside `AppHeader`). | `<nav aria-label="breadcrumb"><ol>` | [PageHeader](#layout), [AppHeader](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/breadcrumb.stories.tsx) |
232
- | **Pagination**<br>since 0.0.0 | Page controls for a paged list: current/total pages, sibling count, optional total items. | Inside a `DataTable` (`DataTablePagination`) or infinite scroll. | `<nav> of page number buttons` | [DataTable](#data-display), [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/pagination.stories.tsx) |
235
+ | **Pagination**<br>since 0.0.0 | Page controls for a paged list: current/total pages, sibling count, optional total items. | Infinite scroll. Inside a `DataTable`, `DataTablePagination` is the same component with the table defaults. | `<nav> of page number buttons` | [DataTable](#data-display), [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/pagination.stories.tsx) |
233
236
  | **Stepper**<br>since 0.0.0 | Named steps of a multi-step flow, horizontal or vertical, with the current step marked. | Unnamed progress (`SegmentedProgress`) or a timeline of past events (`EngagementTimeline`). | — | [SegmentedProgress](#feedback), [EngagementTimeline](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/stepper.stories.tsx) |
234
- | **BottomNav**<br>since 1.2.0 | The mobile tab bar at the bottom of the app: tabs with icons and badges, controlled `value`. | Desktop navigation (`Sidebar`) or in-page panels (`Tabs`). | — | [Sidebar](#shell-screens), [Tabs](#navigation), [StickyActionBar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/bottom-nav.stories.tsx) |
237
+ | **BottomNav** (deprecated)<br>since 1.2.0 | The mobile tab bar at the bottom of the app: tabs with icons and badges, controlled `value`. | Desktop navigation (`Sidebar`) or in-page panels (`Tabs`). | — | [Sidebar](#shell-screens), [Tabs](#navigation), [StickyActionBar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/bottom-nav.stories.tsx) |
235
238
  | **FolderTree**<br>since 1.2.0 | A collapsible tree of folders with an active node, default-open ids and selection callback. | A flat list (`ClientRailItem`) or a file list (`DocumentList`). | — | [DocumentsWorkspaceLayout](#layout), [ClientRailItem](#navigation), [Collapsible](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/folder-tree.stories.tsx) |
236
239
  | **ClientRailItem**<br>parts: `ClientRailGroupHeader`<br>since 1.4.0 | One client row in the Documents left rail (avatar, name, counts) plus the section label above a group. | Picking a client in a form (`ClientSelect`) or the main navigation (`SidebarLink`). | — | [DocumentsWorkspaceLayout](#layout), [ClientSelect](#selection), [Sidebar](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/client-rail-item.stories.tsx) |
237
240
 
@@ -241,6 +244,7 @@ Arrange content: stacks, surfaces, cards, separators, section and page framing.
241
244
 
242
245
  | Component | Use when | Don't use when | Replaces raw HTML | Related | Links |
243
246
  | --- | --- | --- | --- | --- | --- |
247
+ | **SectionCard**<br>since 1.38.0 | A titled panel: `title`, optional `description`, trailing `actions`, body and optional `footer` — `Card`'s header/body/footer composed once. `flush` for a body that owns its row insets. | The surface has no heading (`Card`) or it is a whole page header (`PageHeader`). | `section with a border, a heading row and a padded body` | [Card](#layout), [PageHeader](#layout), [Surface](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/section-card.stories.tsx) |
244
248
  | **Stack** (experimental)<br>since 1.33.0 | A vertical (or `direction="row"`) flex container that owns the gap between its children with tokenised `gap` and alignment. | A wrapping horizontal row (`Inline`) or a bordered box (`Surface`). | `<div class="flex flex-col gap-4">` | [Inline](#layout), [Surface](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/layout/stack.stories.tsx) |
245
249
  | **Inline** (experimental)<br>since 1.33.0 | A horizontal wrapping row with children centred on the baseline and a tokenised gap: a row of chips, a button row, meta items. | A column (`Stack`) or a toolbar of controls that must share one control size (`Toolbar`). | `<div class="flex flex-wrap items-center gap-2">` | [Stack](#layout), [Toolbar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/layout/inline.stories.tsx) |
246
250
  | **Surface** (experimental)<br>since 1.33.0 | The bordered box content sits on: surface background, 1px rule, radius, `padding` role (none/sm/md/lg). | You need header/title/footer parts or an interactive variant (`Card`). | `<div class="rounded-xl border bg-white p-4">` | [Card](#layout), [Stack](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/layout/surface.stories.tsx) |
@@ -253,12 +257,12 @@ Arrange content: stacks, surfaces, cards, separators, section and page framing.
253
257
  | **Section**<br>parts: `SectionHead`<br>since 0.0.0 | A max-width centred content section with the canonical `--content-pad` gutter and a `SectionHead` title row. | The page already sits in `Content` of the `Shell` and needs a page title (`PageHeader`). | `<section class="mx-auto max-w-… px-8">` | [SectionHeader](#layout), [PageHeader](#layout), [Shell](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/section.stories.tsx) |
254
258
  | **SectionHeader**<br>since 0.0.0 | A title + description block for a marketing-style or settings section. | The top of a page (`PageHeader`) or a form group (`FieldsetLegend`). | `<h2> + <p> pair` | [PageHeader](#layout), [Heading](#typography), [Section](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/section-header.stories.tsx) |
255
259
  | **PageHeader**<br>parts: `PageHeaderSpec`, `PageHeaderSep`<br>since 0.3.0 | The top-of-page title block: eyebrow, headline with trailing actions, description and a meta row (`PageHeaderSpec` items separated by `PageHeaderSep`). | The sticky app bar (`AppHeader`) or a section inside the page (`SectionHeader`). | `<div class="flex items-center justify-between"><h1>` | [AppHeader](#shell-screens), [SectionHeader](#layout), [Breadcrumb](#navigation) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/page-header.stories.tsx) |
256
- | **CategoryDivider**<br>parts: `CategoryTag`<br>since 1.3.0 | Separate a run of items by service line: a tone-tinted category pill, a hairline and an optional count — the one place per-service colour is allowed. | A plain rule (`Separator`) or a status (`StatusBadge`). | — | [Separator](#layout), [serviceToneStyle](#hooks-utilities) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/category-divider.stories.tsx) |
260
+ | **CategoryDivider** (deprecated)<br>parts: `CategoryTag`<br>since 1.3.0 | Separate a run of items by service line: a tone-tinted category pill, a hairline and an optional count — the one place per-service colour is allowed. | A plain rule (`Separator`) or a status (`StatusBadge`). | — | [Separator](#layout), [serviceToneStyle](#hooks-utilities) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/category-divider.stories.tsx) |
257
261
  | **StickyStack**<br>parts: `StickyStackLayer`, `StickyStackSticky`, `StickyStackSectionHeader`<br>since 1.30.1 | Several fixed layers (app header, toolbar, section headers) that must stack without overlapping: layers are measured and sticky regions consume the offset. | One sticky element (`position: sticky` on it) or a bottom bar (`StickyActionBar`). | `hard-coded top-[56px] sticky offsets` | [AppHeader](#shell-screens), [StickyActionBar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/sticky-stack.stories.tsx) |
258
262
  | **Detail layout**<br>parts: `DetailSpine`, `DetailSpineHeader`, `DetailSpineSection`, `DetailSpineStats`, `DetailMain`<br>since 0.3.0 | A record detail page: a sticky 320px spine (identity, key facts, stats) and a scrolling main column for tabs, sections and feeds. | A list with a selected item beside it (`MasterDetailLayout`) or a plain page (`Section`). | `<div class="grid grid-cols-[320px_1fr]">` | [MasterDetailLayout](#layout), [MetadataGrid](#data-display), [Tabs](#navigation) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/detail.stories.tsx) |
259
263
  | **MasterDetailLayout**<br>since 1.3.0 | A list on the left and the selected item's detail on the right, collapsing to one pane on small screens. | A record page with a spine (`DetailGrid`) or the three-pane documents workspace (`DocumentsWorkspaceLayout`). | — | [DetailGrid](#layout), [DocumentsWorkspaceLayout](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/master-detail-layout.stories.tsx) |
260
- | **DocumentsWorkspaceLayout**<br>since 1.4.0 | The three-pane documents workspace: clients rail, folder tree and files area as slots. | Two panes (`MasterDetailLayout`). | — | [ClientRailItem](#navigation), [FolderTree](#navigation), [DocumentDetailPanel](#data-display), [MasterDetailLayout](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/documents-workspace-layout.stories.tsx) |
261
- | **DashGrid**<br>since 1.2.0 | A dashboard of reorderable widgets in 2–4 columns with the order persisted under `storageKey`. | A static grid of cards (CSS grid of `Card`s). | — | [KpiCard](#data-display), [Card](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/dash-grid.stories.tsx) |
264
+ | **DocumentsWorkspaceLayout** (deprecated)<br>since 1.4.0 | The three-pane documents workspace: clients rail, folder tree and files area as slots. | Two panes (`MasterDetailLayout`). | — | [ClientRailItem](#navigation), [FolderTree](#navigation), [DocumentDetailPanel](#data-display), [MasterDetailLayout](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/documents-workspace-layout.stories.tsx) |
265
+ | **DashGrid** (deprecated)<br>since 1.2.0 | A dashboard of reorderable widgets in 2–4 columns with the order persisted under `storageKey`. | A static grid of cards (CSS grid of `Card`s). | — | [KpiCard](#data-display), [Card](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/dash-grid.stories.tsx) |
262
266
  | **RouteTransition**<br>since 1.3.0 | Fade and slide a page panel in when `routeKey` changes; respects reduced motion. | Animating a component's own presence (the overlays already do) or a list (leave static). | — | [Shell](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/route-transition.stories.tsx) |
263
267
  | **VisuallyHidden**<br>since 0.0.0 | Text for assistive technology that must not be seen: the name of an icon-only control you compose yourself, a live-region message. | Hiding from everyone (`hidden`) or an `IconButton` (it names itself). | `class="sr-only"` | [IconButton](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/visually-hidden.stories.tsx) |
264
268
 
@@ -282,37 +286,44 @@ Show records and status: tables, key/value grids, badges, dots, avatars, lists a
282
286
 
283
287
  | Component | Use when | Don't use when | Replaces raw HTML | Related | Links |
284
288
  | --- | --- | --- | --- | --- | --- |
289
+ | **InfoHint** (experimental)<br>since unreleased | The ⓘ beside a label or a figure (W7-15): `label` names what the hint is about, `children` is the explanation, `presentation="tooltip"` (default) or `"popover"` for an explanation with a paragraph or a link. The trigger is a real `IconButton`, so the hint is reachable by keyboard and by touch. | The text belongs in the layout (`FieldDescription` under a field) or the surface is a rich hover preview (`HoverCard`). | `<svg title>`, `<span title>` | [Tooltip](#overlays), [Popover](#overlays), [IconButton](#actions), [FieldDescription](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/patterns/display/info-hint.stories.tsx) |
290
+ | **AvatarGroup**<br>since 1.38.0 | An overlapping stack of `Avatar`s with a `+N` overflow bubble: `max` caps the faces, `total` carries the real count, `size` cascades from Avatar's scale. | A single person (`Avatar`) or a list that needs names (`DescriptionList`). | `flex row of avatars with negative margins and a +N circle` | [Avatar](#data-display), [TeamMemberSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/avatar-group.stories.tsx) |
285
291
  | **StarRating**<br>also: `starRatingVariants`<br>since 0.0.0 | A display-only rating: fractional stars, `max`, sized variants. | Capturing a rating (compose `RadioGroup` or `ToggleGroup` with star icons). | — | [Badge](#data-display), [KpiCard](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/star-rating.stories.tsx) |
286
292
  | **Table**<br>parts: `TableHeader`, `TableBody`, `TableFooter`, `TableRow`, `TableHead`, `TableCell`, `TableCaption`<br>since 0.0.0 | A bare semantic table with the design system's row, header and caption styling. | A records table with toolbar, sorting and pagination (`DataTable`, `DataTableView`) or an editable matrix (`Grid`). | `<table>`, `<tr>`, `<td>`, `<th>` | [DataTable](#data-display), [DataTableView](#data-display), [MetadataGrid](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/table.stories.tsx) |
287
- | **DataTable**<br>parts: `DataTableToolbar`, `DataTableSearch`, `DataTableSpacer`, `DataTableResultsCount`, `DataTableHead`, `DataTableHeader`, `DataTableBody`, `DataTableRow`, `DataTableCell`, `DataTableCellName`, `DataTableCellMono`, `DataTableCellId`, `DataTableCellDue`, `DataTableCheckbox`, `DataTablePagination`<br>since 0.3.0 | The composable records table: card frame, toolbar with search and count, sortable headers, typed cells (name, mono, id, due), row checkbox, pagination. | A config-driven table is enough (`DataTableView`) or the table is a plain semantic one (`Table`). | `<table> + hand-rolled toolbar and pager` | [DataTableView](#data-display), [Table](#data-display), [BulkActionBar](#actions), [LoadingRows](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table.stories.tsx) |
288
- | **DataTableView**<br>parts: `StagePill`, `Assignee`, `MoneyCell`, `TagsCell`, `Dash`<br>since 1.6.0 | A list screen as configuration: `columns` + `data` (+ filters, search keys, sort); owns search/filter/sort/pagination state. Cell renderers `StagePill`, `Assignee`, `MoneyCell`, `TagsCell`, `Dash` for `column.render`. | You need custom table composition (`DataTable`). | — | [DataTable](#data-display), [DisplayMenu](#actions), [Toolbar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table-view.stories.tsx) |
293
+ | **DataTable**<br>parts: `DataTableToolbar`, `DataTableSearch`, `DataTableSpacer`, `DataTableResultsCount`, `DataTableHead`, `DataTableHeader`, `DataTableBody`, `DataTableRow`, `DataTableCell`, `DataTableCellName`, `DataTableCellMono`, `DataTableCellId`, `DataTableCellDue`, `DataTableCheckbox`, `DataTablePagination`<br>since 0.3.0 | The composable records table: card frame, toolbar with search and count, sortable headers, typed cells (name, mono, id, due), row checkbox, pagination. | A config-driven table is enough (`DataTableView`) or the table is a plain semantic one (`Table`). | `<table> + hand-rolled toolbar and pager` | [DataTableView](#data-display), [Table](#data-display), [BulkActionBar](#actions), [LoadingRows](#feedback), [TableLoading](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table.stories.tsx) |
294
+ | **TableLoading** (experimental)<br>since 1.38.0 | The `<tbody aria-busy>` of a data table while its rows load: skeleton rows sized to the columns. Slots in place of `DataTableBody`. | A list outside a table (`LoadingRows`) or a single shape (`Skeleton`). | `<tbody> of hand-rolled skeleton <td>s` | [TableEmpty](#data-display), [TableError](#data-display), [DataTable](#data-display), [LoadingRows](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table-states.stories.tsx) |
295
+ | **TableEmpty** (experimental)<br>since 1.38.0 | The `<tbody>` of a data table with no rows: one full-width row holding a compact `EmptyState`. | An empty panel outside a table (`EmptyState`). | `<tr><td colSpan> with centred grey text` | [TableLoading](#data-display), [TableError](#data-display), [EmptyState](#feedback), [DataTable](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table-states.stories.tsx) |
296
+ | **TableError** (experimental)<br>since 1.38.0 | The `<tbody>` of a data table whose rows failed to load: one full-width row holding a compact `ErrorState` with retry. | An error panel outside a table (`ErrorState`). | `<tr><td colSpan> with an error message and a retry button` | [TableLoading](#data-display), [TableEmpty](#data-display), [ErrorState](#feedback), [DataTable](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table-states.stories.tsx) |
297
+ | **DataTableView**<br>parts: `StagePill` (deprecated), `Assignee` (deprecated), `MoneyCell` (deprecated), `TagsCell`, `Dash` (deprecated)<br>since 1.6.0 | A list screen as configuration: `columns` + `data` (+ filters, search keys, sort); owns search/filter/sort/pagination state. Cell renderers `StagePill`, `Assignee`, `MoneyCell`, `TagsCell`, `Dash` for `column.render`. | You need custom table composition (`DataTable`). | — | [DataTable](#data-display), [DisplayMenu](#actions), [Toolbar](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table-view.stories.tsx) |
289
298
  | **MetadataGrid**<br>parts: `DataItem`<br>since 0.4.1 | Label / value pairs on a detail surface as a semantic `<dl>`; `DataItem span={2}` for full-row values. | Tabular records (`Table`) or a stat tile (`KpiCard`). | `<dl>`, `two-column label/value divs` | [DetailGrid](#layout), [Table](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/metadata-grid.stories.tsx) |
290
299
  | **KpiCard**<br>parts: `SelectableKpiCard`<br>since 0.4.1 | A single-stat dashboard tile: label, value, optional tone, icon and hint; `SelectableKpiCard` when tiles act as filters. | A number inside running content (`Stat`) or a chart (`DonutChart`). | — | [Stat](#typography), [DashGrid](#layout), [Card](#layout) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/kpi-card.stories.tsx) |
291
300
  | **Badge**<br>also: `badgeVariants`, `resolveBadgeAppearance`<br>since 0.0.0 | A short static label or count: `variant` (solid, soft, outline) × `intent`. | A status with a shared vocabulary (`StatusBadge`), a removable token (`Chip`) or a machine-suggested intent (`IntentBadge`). | `<span class="rounded-full px-2 text-xs">` | [StatusBadge](#data-display), [Chip](#selection), [IntentBadge](#data-display), [StatusDot](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/badge.stories.tsx) |
292
301
  | **StatusBadge**<br>also: `defineStatusMap`<br>since 1.35.0 | The presentation of a status: soft badge, indicator dot, icon; define the product's statuses once with `defineStatusMap` and spread an entry onto it. | A count or neutral label (`Badge`) or a stage pill inside `DataTableView` (`StagePill`). | — | [Badge](#data-display), [StatusDot](#data-display), [StatusPill](#data-display), [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/status-badge.stories.tsx) |
293
302
  | **StatusPill**<br>since 1.2.0 | Only in code that already uses it: the fixed-vocabulary pill (`status`, optional dot) for authoritative state. | New code — `StatusBadge` with `defineStatusMap`. | — | [StatusBadge](#data-display), [IntentBadge](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/status-pill.stories.tsx) |
294
- | **IntentBadge**<br>since 1.5.0 | A dashed-outline badge for an AI-classified intent: signals machine-suggested, not yet confirmed. | Authoritative state (`StatusBadge`). | — | [StatusBadge](#data-display), [Badge](#data-display), [AiDraftCard](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/intent-badge.stories.tsx) |
303
+ | **IntentBadge** (deprecated)<br>since 1.5.0 | A dashed-outline badge for an AI-classified intent: signals machine-suggested, not yet confirmed. | Authoritative state (`StatusBadge`). | — | [StatusBadge](#data-display), [Badge](#data-display), [AiDraftCard](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/intent-badge.stories.tsx) |
295
304
  | **StatusDot**<br>also: `statusDotVariants`, `STATUS_DOT_TONE_TO_INTENT`<br>since 1.3.0 | A standalone attention / unread / presence dot on non-avatar surfaces: nav rails, bells, list rows; `intent` colours it. | Next to an avatar (`Avatar` renders its own presence dot) or with a label (`StatusBadge`). | `<span class="h-2 w-2 rounded-full bg-red-500">` | [StatusBadge](#data-display), [Avatar](#data-display), [Sidebar](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/status-dot.stories.tsx) |
296
305
  | **IconTile**<br>also: `iconTileVariants`, `ICON_TILE_TONE_TO_INTENT`<br>since 1.3.0 | The tinted rounded-square icon chip that leads a list row or card: `intent` tints the square and the glyph. | An action (`IconButton`) or a file type (`FileTypeBadge`). | `<div class="grid place-items-center rounded-lg bg-…"><svg/>` | [FileTypeBadge](#data-display), [Avatar](#data-display), [IconButton](#actions) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/icon-tile.stories.tsx) |
297
306
  | **Avatar**<br>since 0.0.0 | A person or organisation: image with initials fallback, sizes, optional presence dot. | A file (`FileTypeBadge`) or a product mark (brand icons, `Logo`). | `<img class="rounded-full">` | [StatusDot](#data-display), [DataTableView](#data-display), [TeamMemberSelect](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/avatar.stories.tsx) |
298
307
  | **FileTypeBadge**<br>also: `fileTypeBadgeVariants`, `fileTypeFromName`<br>since 1.3.0 | The coloured format square (PDF, IMG, DOC…) for a file; `fileTypeFromName` derives the type. | A whole file row (`AttachmentChip`, `FileChip`, `DocumentFileRow`). | — | [AttachmentChip](#data-display), [FileChip](#data-display), [IconTile](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/file-type-badge.stories.tsx) |
299
308
  | **FileChip**<br>since 1.2.0 | A compact file token: name, meta, kind icon, one action. | A full attachment row with view/download (`AttachmentChip`) or a document in the portal (`DocumentFileRow`). | — | [AttachmentChip](#data-display), [FileTypeBadge](#data-display), [Chip](#selection) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/file-chip.stories.tsx) |
300
309
  | **AttachmentChip**<br>also: `attachmentChipVariants`<br>since 1.3.0 | A full attachment row: `FileTypeBadge`, truncated name with meta, trailing view/download and your actions; presentational. | A compact token (`FileChip`) or an upload control (`FileUpload`). | — | [FileChip](#data-display), [FileTypeBadge](#data-display), [FileUpload](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/attachment-chip.stories.tsx) |
301
- | **DocumentSourceTag**<br>since 1.12.0 | Where a document came from (uploaded, emailed, scanned…): glyph + label tag. | Filtering by source (`DocumentSourceFilter`). | — | [DocumentSourceFilter](#selection), [DocumentDetailPanel](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/document-source-tag.stories.tsx) |
310
+ | **DocumentSourceTag** (deprecated)<br>since 1.12.0 | Where a document came from (uploaded, emailed, scanned…): glyph + label tag. | Filtering by source (`DocumentSourceFilter`). | — | [DocumentSourceFilter](#selection), [DocumentDetailPanel](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/document-source-tag.stories.tsx) |
302
311
  | **ActivityList**<br>parts: `ActivityItem`, `ActivityEventItem`<br>since 0.3.0 | An activity feed: actor/text/target rows (`ActivityItem`) and titled events with a time and coloured dot (`ActivityEventItem`). | Notifications with filters and read state (`NotificationPanel`) or a process timeline (`EngagementTimeline`). | `<ul> of hand-styled feed rows` | [NotificationPanel](#data-display), [EngagementTimeline](#data-display), [AttentionItem](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/activity-list.stories.tsx) |
303
312
  | **NotificationPanel**<br>parts: `NotificationPanelHeader`, `NotificationFilter`, `NotificationList`, `NotificationItem`, `NotificationPanelFooter`<br>since 0.7.0 | The notifications flyout: header, filter, list of items with read state, footer actions. | A page-level activity feed (`ActivityList`). | — | [ActivityList](#data-display), [StatusDot](#data-display), [Popover](#overlays) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/notification-panel.stories.tsx) |
304
313
  | **Kanban**<br>parts: `KanbanColumn`, `KanbanCard`<br>since 0.3.0 | A board of columns and cards for stage-based work. | The data is tabular (`DataTableView`). | — | [DataTableView](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/kanban.stories.tsx) |
305
- | **EngagementCard**<br>since 1.2.0 | The client-portal card for one engagement: service, tone, title, progress and next step. | A generic card (`Card`) or a KPI (`KpiCard`). | — | [EngagementTimeline](#data-display), [Card](#layout), [serviceToneStyle](#hooks-utilities) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/engagement-card.stories.tsx) |
306
- | **EngagementTimeline**<br>parts: `EngagementTimelineStep`<br>since 1.2.0 | The steps of an engagement as a toned vertical timeline. | A flow the user navigates (`Stepper`) or an activity feed (`ActivityList`). | — | [EngagementCard](#data-display), [Stepper](#navigation), [ActivityList](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/engagement-timeline.stories.tsx) |
314
+ | **EngagementCard** (deprecated)<br>since 1.2.0 | The client-portal card for one engagement: service, tone, title, progress and next step. | A generic card (`Card`) or a KPI (`KpiCard`). | — | [EngagementTimeline](#data-display), [Card](#layout), [serviceToneStyle](#hooks-utilities) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/engagement-card.stories.tsx) |
315
+ | **EngagementTimeline** (deprecated)<br>parts: `EngagementTimelineStep`<br>since 1.2.0 | The steps of an engagement as a toned vertical timeline. | A flow the user navigates (`Stepper`) or an activity feed (`ActivityList`). | — | [EngagementCard](#data-display), [Stepper](#navigation), [ActivityList](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/engagement-timeline.stories.tsx) |
307
316
  | **MessageBubble**<br>parts: `MessageBubbleAction`, `MessageBubbleTombstone`<br>since 0.12.0 | One chat message in a thread, inbound or outbound, with hover actions and a tombstone for deleted messages. | An email (`EmailMessageCard`) or an AI draft (`AiDraftCard`). | — | [EmailMessageCard](#data-display), [MessageComposer](#forms), [ChannelTabs](#navigation) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/message-bubble.stories.tsx) |
308
- | **EmailMessageCard**<br>since 1.5.0 | An email in a thread as an envelope card (header, readable body, footer) with auto-clamp and show-full toggle; you sanitise the HTML. | A chat message (`MessageBubble`). | — | [MessageBubble](#data-display), [AttachmentChip](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/email-message-card.stories.tsx) |
309
- | **DocumentChecklist**<br>since 1.21.0 | The client's view of requested documents by lifecycle: awaiting, in review, received, complete. | The firm's missing-documents view (`MissingDocumentsPanel`). | — | [MissingDocumentsPanel](#feedback), [DocumentRequestUpload](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-checklist.stories.tsx) |
310
- | **DocumentDetailPanel**<br>parts: `DocumentDetailHeader`, `DocumentDetailTitle`, `DocumentDetailRequester`, `DocumentDetailMetaRow`, `DocumentDetailBody`, `DocumentDetailActions`, `DocumentList`, `DocumentListSection`, `DocumentRow`<br>since 1.8.0 | The document detail side panel and the document list it opens from: header, title, requester, meta, body, actions; `DocumentList` sections of `DocumentRow`s. | A file outside the documents workspace (`AttachmentChip`). | — | [DocumentsWorkspaceLayout](#layout), [DocumentFileRow](#data-display), [DocumentSourceTag](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-detail-panel.stories.tsx) |
317
+ | **EmailMessageCard** (deprecated)<br>since 1.5.0 | An email in a thread as an envelope card (header, readable body, footer) with auto-clamp and show-full toggle; you sanitise the HTML. | A chat message (`MessageBubble`). | — | [MessageBubble](#data-display), [AttachmentChip](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/email-message-card.stories.tsx) |
318
+ | **DocumentChecklist** (deprecated)<br>since 1.21.0 | The client's view of requested documents by lifecycle: awaiting, in review, received, complete. | The firm's missing-documents view (`MissingDocumentsPanel`). | — | [MissingDocumentsPanel](#feedback), [DocumentRequestUpload](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/legacy/document-checklist.stories.tsx) |
319
+ | **DocumentDetailPanel**<br>parts: `DocumentDetailHeader`, `DocumentDetailTitle`, `DocumentDetailRequester`, `DocumentDetailMetaRow`, `DocumentDetailBody`, `DocumentDetailActions`, `DocumentList`, `DocumentListSection`, `DocumentRow`<br>since 1.8.0 | The document detail side panel and the document list it opens from: header, title, requester, meta, body, actions; `DocumentList` sections of `DocumentRow`s. | A file outside the documents workspace (`AttachmentChip`). | — | [DocumentsWorkspaceLayout](#layout), [DocumentFileRow](#data-display), [DocumentSourceTag](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/suite/documents/document-detail-panel.stories.tsx) |
311
320
  | **DocumentFileRow**<br>parts: `DocumentFileCard`, `DocumentFileLine`<br>since 1.4.0 | A file in the documents workspace as a row, a card or a selectable line (named checkbox). | An attachment outside the workspace (`AttachmentChip`). | — | [DocumentDetailPanel](#data-display), [FileTypeBadge](#data-display), [AttachmentChip](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-file-row.stories.tsx) |
312
321
  | **DocumentRequestDetail**<br>parts: `DocumentRequestCard`<br>since 1.9.0 | A document request as a card in a list and as the expanded detail. | The request form field (`DocumentRequestField`) or the client's upload (`DocumentRequestUpload`). | — | [DocumentRequestField](#forms), [DocumentRequestUpload](#forms), [MissingDocumentsPanel](#feedback) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/document-request-detail.stories.tsx) |
313
322
  | **TimeLogger**<br>parts: `TimeLoggerHeader`, `TimeLoggerTimer`, `TimeLoggerContextRow`, `TimeLoggerField`, `TimeLoggerBillable`, `TimeLoggerNotes`, `TimeLoggerEntryList`, `TimeLoggerEntry`, `TimeLoggerActions`, `TimeLoggerFooter`<br>also: `formatClock`, `formatDuration`, `parseDuration`, `formatCurrency`, `useStopwatch`<br>since 0.15.0 | The compact time-entry panel: compose only the rows a surface needs (timer, context, billable, notes, entries); `useStopwatch` and the duration formatters drive it. | A single duration field (`Input` + `parseDuration`). | — | [Popover](#overlays), [NumberInput](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/time-logger.stories.tsx) |
314
323
  | **Proposal pricing**<br>parts: `ProposalServiceRow`, `ProposalAddOn`, `ProposalBillingTerms`, `ProposalPricingSummary`<br>since 1.12.0 | The Services & Pricing blocks of a proposal preview: package card, service rows, add-ons, billing terms, summary; inherit the firm accent inside `AgreementViewer`. | Anything outside a proposal (`Card`, `MetadataGrid`). | — | [AgreementViewer](#shell-screens), [ProposalSignatureBlock](#forms), [ProposalSignerList](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/proposal-pricing.stories.tsx) |
315
324
  | **Proposal content**<br>parts: `ProposalNote`, `ProposalCustomPage`<br>since 1.12.0 | The content blocks of a proposal: signer list, notes, custom pages. | Anything outside a proposal. | — | [AgreementViewer](#shell-screens), [ProposalPackageCard](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/proposal-content.stories.tsx) |
325
+ | **DataTable (compound)** (experimental)<br>since unreleased | A records table driven by `useDataTable`: the toolbar with a labelled search, filters and a column-visibility menu, the table on the `Table*` parts with sort and selection wired to the controller, bulk actions, the merged pager and the built-in loading / empty / error bodies. `classNames.search` and `--ds-data-table-search-width` size the search field. | A table with no state (the `Table` parts alone), the hand-written `DataTable*` parts a product already composes, or the config-driven convenience (`DataTableView`). | `hand-rolled toolbar + <table> + pager around per-table useState` | [useDataTable](#hooks-utilities), [Table](#data-display), [DataTable](#data-display), [DataTableView](#data-display), [Pagination](#navigation), [BulkActionBar](#actions), [TableLoading](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/patterns/data/data-table.stories.tsx) · [docs](https://github.com/Assure-One/design-system/blob/main/docs/data-tables.md) |
326
+ | **EmptyValue** (experimental)<br>since unreleased | A table or detail cell has no value: renders the em dash placeholder consistently. | The value is genuinely empty text a user typed — render it as-is. | `<span>—</span>` | — | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/data-table-view.stories.tsx) |
316
327
 
317
328
  ## Media
318
329
 
@@ -370,13 +381,14 @@ The application frame and full-screen composites: shell, sidebar, header, brand
370
381
  | Component | Use when | Don't use when | Replaces raw HTML | Related | Links |
371
382
  | --- | --- | --- | --- | --- | --- |
372
383
  | **Shell**<br>parts: `Main`, `Content`<br>since 0.3.0 | The application frame: `Shell` holds the `Sidebar` and `Main`; `Main` holds `AppHeader` and `Content`. | A public or marketing page (`Section`). | `<div class="flex h-screen">` | [Sidebar](#shell-screens), [AppHeader](#shell-screens), [BrandScope](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/shell.stories.tsx) |
373
- | **Sidebar**<br>parts: `SidebarProvider`, `SidebarTrigger`, `SidebarBrand`, `SidebarBrandText`, `SidebarSection`, `SidebarLinkGroup`, `SidebarLink`, `SidebarLinkLabel`, `SidebarLinkBadge`, `SidebarLinkAction`, `SidebarPinButton`, `SidebarUser`, `SidebarFooter`<br>also: `sidebarLinkBadgeVariants`, `useSidebarState`, `useSidebarPeekLock`<br>since 0.3.0 | The app navigation rail: expanded/collapsed/peek states from `SidebarProvider`, brand, sections, link groups with badges and actions, user and footer. | Mobile (`BottomNav`) or a rail of records (`ClientRailItem`). | `<aside> + <nav> hand-rolled` | [Shell](#shell-screens), [SidebarBrandSwitcher](#shell-screens), [BottomNav](#navigation) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/sidebar.stories.tsx) |
384
+ | **Sidebar**<br>parts: `SidebarProvider`, `SidebarTrigger`, `SidebarBrand`, `SidebarBrandText`, `SidebarSection`, `SidebarLinkGroup`, `SidebarLink`, `SidebarLinkLabel`, `SidebarLinkBadge`, `SidebarLinkAction`, `SidebarPinButton`, `SidebarUser`, `SidebarFooter`<br>also: `sidebarLinkBadgeVariants`, `useSidebarState`, `useSidebarPeekLock`<br>since 0.3.0 | The app navigation rail: expanded/collapsed/peek states from `SidebarProvider`, brand, sections, link groups with badges and actions, user and footer. | Mobile (`BottomNav`) or a rail of records (`ClientRailItem`). | `<aside> + <nav> hand-rolled` | [Shell](#shell-screens), [SidebarBrandSwitcher](#shell-screens), [BottomNav](#navigation), [SidebarDrawer](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/sidebar.stories.tsx) |
374
385
  | **SidebarBrandSwitcher**<br>parts: `SidebarBrandSwitcherTile`<br>since 0.11.2 | Switch between Assure products from the sidebar brand slot: tiles for available, current and coming-soon products. | A single-product app (`SidebarBrand`). | — | [Sidebar](#shell-screens), [BrandScope](#shell-screens), [Logo](#media) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/sidebar-brand-switcher.stories.tsx) |
375
386
  | **AppHeader**<br>parts: `AppHeaderBreadcrumb`, `AppHeaderTitle`, `AppHeaderSearch`, `AppHeaderActions`<br>since 0.3.0 | The sticky 56px top bar inside `Main`: breadcrumb, title, search and actions slots in any order. | The page's own title block (`PageHeader`). | — | [Shell](#shell-screens), [PageHeader](#layout), [NewMenu](#actions), [NotificationPanel](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/app-header.stories.tsx) |
376
387
  | **DesignSystemProvider** (experimental)<br>also: `useDsMessages`<br>since unreleased | Mount once in the root layout to configure the whole design system: `messages` overrides for the generic strings components render, `locale` (default `en-US`, pass the one your app knows server-side), `dir`, the portal container, the router `linkComponent` and `imageComponent` for `LinkButton` and `Logo`, the tooltip provider, and opt-in `toasts` / `confirm` regions. `useDsMessages(namespace, override?)` reads the resolved strings inside your own components. | You are on Next.js — `NextDesignSystemProvider` from `/next` fills in the adapters. Theming a subtree is `ThemeScope` / `BrandScope`, not a nested provider. | `hand-rolled i18n or router context for design-system strings and links` | [ThemeScope](#shell-screens), [BrandScope](#shell-screens), [Tooltip](#overlays), [LinkButton](#actions), [Logo](#media) | [story](https://github.com/Assure-One/design-system/blob/main/src/foundation/provider/design-system-provider.stories.tsx) |
377
388
  | **ThemeScope** (experimental)<br>since unreleased | A subtree that renders with its own colour `scheme`, `brand`, `density`, `dir` or runtime brand theme: stamps the `data-ds-*` attributes on its element and registers them so portalled overlays opened from inside (Dialog, Popover, menus) come up in the same theme; nested scopes merge. | The whole app shares one theme (set the attributes on the document root) or only the product brand changes (`BrandScope`). | `<div data-ds-scheme="dark"> whose dialogs come up in the root theme` | [BrandScope](#shell-screens), [DesignSystemProvider](#shell-screens), [Dialog](#overlays), [Popover](#overlays) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/behavior/portal.stories.tsx) · [docs](https://github.com/Assure-One/design-system/blob/main/docs/integration/css.md) |
378
389
  | **BrandScope**<br>parts: `BrandScopeProvider`<br>also: `BRAND_PRODUCTS`, `brandLabel`, `brandScope`, `useBrandScope`<br>since 1.18.0 | Theme a subtree as a product: stamps `data-brand` and provides it so portalled surfaces re-stamp themselves; `brandScope(product)` for the attribute alone. | Colouring by service line (`serviceToneStyle`) or by status (`intent`). | — | [Shell](#shell-screens), [SidebarBrandSwitcher](#shell-screens) | [docs](https://github.com/Assure-One/design-system/blob/main/docs/integration/css.md) |
379
390
  | **AgreementViewer**<br>parts: `AgreementPaneHeading`<br>since 1.12.0 | The client-facing agreement / proposal viewer: cover, steps, firm accent scope for the proposal blocks. | Previewing a PDF (`PdfPreview`). | — | [ProposalPackageCard](#data-display), [ProposalSignatureBlock](#forms), [ProposalSignerList](#data-display) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/agreement-viewer.stories.tsx) |
391
+ | **SidebarDrawer** (experimental)<br>since 1.38.0 | The sidebar nav off-canvas on small viewports: the same tree in a left-hand Sheet, with the focus trap, scroll lock and dismissal the overlay parts already provide. | Desktop widths (`Sidebar`) or a bottom tab bar (`BottomNav`). | — | [Sidebar](#shell-screens), [Sheet](#overlays), [Shell](#shell-screens) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/sidebar.stories.tsx) |
380
392
 
381
393
  ## Hooks/utilities
382
394
 
@@ -384,7 +396,10 @@ Non-rendering exports: hooks, class-name helpers, formatters and token objects.
384
396
 
385
397
  | Component | Use when | Don't use when | Replaces raw HTML | Related | Links |
386
398
  | --- | --- | --- | --- | --- | --- |
399
+ | **QUESTION_TYPES** (experimental)<br>since 1.39.0 | Runtime list of every questionnaire question type the DS renders — validate or switch over types from API data. | Rendering a question — use `Questions` / `QuestionnairePanel`. | — | [QUESTION_TYPE_CONTRACT_VERSION](#hooks-utilities), [Questions](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/questions.stories.tsx) |
400
+ | **QUESTION_TYPE_CONTRACT_VERSION** (experimental)<br>since 1.39.0 | Check which version of the question-type contract the installed DS implements before trusting a stored questionnaire. | Rendering a question — use `Questions` / `QuestionnairePanel`. | — | [QUESTION_TYPES](#hooks-utilities), [Questions](#forms) | [story](https://github.com/Assure-One/design-system/blob/main/src/composites/questions.stories.tsx) |
387
401
  | **cn**<br>since 0.0.0 | Merge class names (clsx + tailwind-merge) when composing `className`; consumer classes still win by cascade, `cn` only dedupes. | Overriding a component part — pass `className`/`classNames` instead of rebuilding its classes. | — | [Button](#actions) | [docs](https://github.com/Assure-One/design-system/blob/main/docs/integration/css.md) |
402
+ | **Data-table controller** (experimental)<br>also: `compareSortValues`, `nextSortDirection`<br>since unreleased | Building a data table: owns sorting, pagination, search, selection, column visibility and filters (each controllable or uncontrolled), derives the rows to render, and in `manual` mode only emits state for a server-driven table. | A static table with no state (the `Table` parts alone), or the data-driven convenience (`DataTableView`) once it is rebuilt on the hook. | — | [Table](#data-display), [DataTable](#data-display), [DataTableView](#data-display), [Pagination](#navigation) | [story](https://github.com/Assure-One/design-system/blob/main/src/primitives/behavior/data-table/use-data-table.stories.tsx) · [docs](https://github.com/Assure-One/design-system/blob/main/docs/data-tables.md) |
388
403
  | **useFieldControl** (experimental)<br>since 1.32.0 | Building your own form control that should bind to `Field` like the design-system ones: returns ids, `aria-*`, invalid/disabled/required wiring; explicit props win. | Wrapping an existing element once (`FieldControl`). | — | [Field](#forms), [FieldControl](#forms) | [docs](https://github.com/Assure-One/design-system/blob/main/docs/adr/006-field-native-form-participation.md) |
389
404
  | **Date utilities**<br>also: `displayToIso`, `applyMask`, `applyYearMask`, `isoToDate`, `dateToIso`, `isoToYear`, `yearToIso`, `DATE_DISPLAY_PLACEHOLDER`, `YEAR_DISPLAY_PLACEHOLDER`<br>since 0.11.0 | Convert between ISO `YYYY-MM-DD`, the `MM/DD/YYYY` display format and JS `Date` the way `DatePicker` does, and apply its typing masks. | Locale-aware formatting for display text (`Intl.DateTimeFormat`). | — | [DatePicker](#forms), [DateRangePicker](#forms) | — |
390
405
  | **Country codes**<br>also: `getFlagEmoji`, `parsePhoneForEditing`<br>since 1.1.0 | The ISO country / dial-code table behind `PhoneCountryInput`, a flag emoji fallback, and splitting a stored phone string for editing. | Full phone validation (bring libphonenumber). | — | [PhoneField](#forms), [PhoneCountryInput](#forms) | — |
@@ -425,6 +440,7 @@ The raw element or pattern on the left already has a design-system component. Wr
425
440
  | `<div onClick>` | [Button](#actions), [Pressable](#actions) |
426
441
  | `<div role="alert">` | [Alert](#feedback) |
427
442
  | `<div role="group">` | [Fieldset](#forms) |
443
+ | `<div> of <button> with a manual active class` | [SegmentedControl](#selection) |
428
444
  | `<dl>` | [MetadataGrid](#data-display) |
429
445
  | `<fieldset>` | [Fieldset](#forms) |
430
446
  | `<h1>` | [Heading](#typography) |
@@ -476,14 +492,20 @@ The raw element or pattern on the left already has a design-system component. Wr
476
492
  | `<span class="rounded-full px-2 text-xs">` | [Badge](#data-display) |
477
493
  | `<span class="text-sm text-gray-500">` | [Text](#typography) |
478
494
  | `<span role="button">` | [Pressable](#actions) |
495
+ | `<span title>` | [InfoHint](#data-display) |
496
+ | `<span>—</span>` | [EmptyValue](#data-display) |
497
+ | `<svg title>` | [InfoHint](#data-display) |
479
498
  | `<svg>` | [Icons](#icons) |
480
499
  | `<table>` | [Table](#data-display) |
481
500
  | `<table> + hand-rolled toolbar and pager` | [DataTable](#data-display) |
482
501
  | `<table> of <input>s` | [Grid](#forms) |
502
+ | `<tbody> of hand-rolled skeleton <td>s` | [TableLoading](#data-display) |
483
503
  | `<td>` | [Table](#data-display) |
484
504
  | `<textarea>` | [Textarea](#forms) |
485
505
  | `<th>` | [Table](#data-display) |
486
506
  | `<tr>` | [Table](#data-display) |
507
+ | `<tr><td colSpan> with an error message and a retry button` | [TableError](#data-display) |
508
+ | `<tr><td colSpan> with centred grey text` | [TableEmpty](#data-display) |
487
509
  | `<ul role="tablist">` | [Tabs](#navigation) |
488
510
  | `<ul> of hand-styled feed rows` | [ActivityList](#data-display) |
489
511
  | `<ul> shown on click` | [DropdownMenu](#overlays) |
@@ -493,22 +515,28 @@ The raw element or pattern on the left already has a design-system component. Wr
493
515
  | `animate-spin svg` | [Spinner](#feedback) |
494
516
  | `Array.from({ length }).map(<Skeleton/>)` | [LoadingRows](#feedback) |
495
517
  | `buttons toggling useState panels` | [Tabs](#navigation) |
518
+ | `centred div with a warning icon and a Try again button` | [ErrorState](#feedback) |
496
519
  | `centred div with an icon and grey text` | [EmptyState](#feedback) |
497
520
  | `class="sr-only"` | [VisuallyHidden](#layout) |
498
521
  | `coloured bordered div` | [Alert](#feedback) |
499
522
  | `drop-zone div with onDrop` | [FileUpload](#forms) |
500
523
  | `fixed inset-0 div` | [Dialog](#overlays) |
501
524
  | `fixed right-0 h-full div` | [Sheet](#overlays) |
525
+ | `flex row of avatars with negative margins and a +N circle` | [AvatarGroup](#data-display) |
502
526
  | `group of <button aria-pressed>` | [ToggleGroup](#selection) |
527
+ | `hand-rolled assignee popover with checkboxes` | [PeoplePicker](#selection) |
503
528
  | `hand-rolled i18n or router context for design-system strings and links` | [DesignSystemProvider](#shell-screens) |
504
529
  | `hand-rolled toast portal` | [ToastProvider](#feedback) |
530
+ | `hand-rolled toolbar + <table> + pager around per-table useState` | [DataTable (compound)](#data-display) |
505
531
  | `hard-coded top-[56px] sticky offsets` | [StickyStack](#layout) |
506
532
  | `lucide-react` | [Icons](#icons) |
507
533
  | `navigator.clipboard.writeText + useState` | [CopyButton](#actions) |
508
534
  | `nested div with width:%` | [ProgressBar](#feedback) |
509
535
  | `onContextMenu + positioned div` | [ContextMenu](#overlays) |
510
536
  | `padding-top percentage hack` | [AspectRatio](#layout) |
537
+ | `pill Tabs used as a filter` | [SegmentedControl](#selection) |
511
538
  | `PromptDialog.ask() singletons` | [ConfirmHost](#overlays) |
539
+ | `section with a border, a heading row and a padded body` | [SectionCard](#layout) |
512
540
  | `six <input maxlength="1">` | [OTPInput](#forms) |
513
541
  | `stack of <details>` | [Accordion](#layout) |
514
542
  | `title="…"` | [Tooltip](#overlays) |
@@ -522,7 +550,7 @@ The raw element or pattern on the left already has a design-system component. Wr
522
550
 
523
551
  ## Deprecated aliases and their replacements
524
552
 
525
- Every deprecated name keeps rendering exactly what it did (zero visual diff) until 3.0. The codemod column names the transform in [`codemods/README.md`](../codemods/README.md) that rewrites call sites (`node node_modules/@assure-one/design-system/codemods/run.mjs <id> src`); a dash means the change is a hand edit. Deprecated exports in the API report: `ArrowRightSmallIcon`, `CloseIcon`, `CountryFlag`, `CountrySelect`, `FormError`, `FormSection`, `FormSuccess`, `PhoneCountryInput`, `PhoneInput`, `SearchSelect`, `SideDrawer`.
553
+ Every deprecated name keeps rendering exactly what it did (zero visual diff) until 3.0. The codemod column names the transform in [`codemods/README.md`](../codemods/README.md) that rewrites call sites (`node node_modules/@assure-one/design-system/codemods/run.mjs <id> src`); a dash means the change is a hand edit. Deprecated exports in the API report: `AiDraftCard`, `AIReceiptPanel`, `ArrowRightSmallIcon`, `Assignee`, `AttentionItem`, `BottomNav`, `CategoryDivider`, `ChannelTabs`, `CloseIcon`, `CountryFlag`, `CountrySelect`, `Dash`, `DashGrid`, `DocumentChecklist`, `DocumentRequestField`, `DocumentRequestUpload`, `DocumentSourceFilter`, `DocumentSourceTag`, `DocumentsWorkspaceLayout`, `EmailMessageCard`, `EngagementCard`, `EngagementTimeline`, `FormError`, `FormSection`, `FormSuccess`, `IntentBadge`, `MissingDocumentsPanel`, `MoneyCell`, `NewMenu`, `PhoneCountryInput`, `PhoneInput`, `SearchSelect`, `SideDrawer`, `SignatureEditor`, `StagePill`, `SuggestionPills`, `TeamMemberSelect`.
526
554
 
527
555
  | Deprecated | Use instead | Codemod | Contract |
528
556
  | --- | --- | --- | --- |
@@ -538,6 +566,8 @@ Every deprecated name keeps rendering exactly what it did (zero visual diff) unt
538
566
  | `Input` / `Textarea` / `SearchInput` `inputSize` | `size` | CM-07 | C-INPUT-SIZE |
539
567
  | `InputSizeAlias` `compact` / `default` / `comfortable` | `sm` / `md` / `lg` | — | C-INPUT-SIZE |
540
568
  | `Select` `triggerClassName` / `contentClassName` | `classNames={{ trigger, content }}` | — | C-SELECT-CLASSNAMES |
569
+ | `Dash` (DataTableView cell) | `EmptyValue` | — | — |
570
+ | `StagePill` / `Assignee` / `MoneyCell` / `TableTone` (DataTableView product cells) | Product-owned renderers in `column.render` (`StatusBadge`, `Avatar`, `Intl.NumberFormat`, `EmptyValue`); hand-over to TAX in W8-13 | — | — |
541
571
  | `Select searchable` | `Combobox` | — | — |
542
572
  | `Select` sentinel option values standing in for "no value" | A real empty value (`value=""`, `clearable`) | CM-20 (finder) | C-SELECT-EMPTY |
543
573
  | `SearchSelect` (`{ id, label }` options) | `Combobox` with `Option` (`{ value, label }`) | CM-08 | C-SEARCHSELECT |