@assure-one/design-system 1.47.0 → 1.48.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 (32) hide show
  1. package/codemods/lib/entry-map.mjs +4 -0
  2. package/dist/{brand-scope-DwLzUrSY.d.ts → brand-scope-ObBYNT0J.d.ts} +3 -63
  3. package/dist/{chunk-AM4TSTSH.js → chunk-FO2WSYUA.js} +800 -340
  4. package/dist/chunk-FO2WSYUA.js.map +1 -0
  5. package/dist/{chunk-IIBDSTOG.js → chunk-HV24JSRN.js} +215 -10
  6. package/dist/chunk-HV24JSRN.js.map +1 -0
  7. package/dist/{chunk-FIRPQWYR.js → chunk-YRFLK7ER.js} +1258 -270
  8. package/dist/chunk-YRFLK7ER.js.map +1 -0
  9. package/dist/css/components.css +1 -1
  10. package/dist/{data-table-view-D9a1_IRF.d.ts → data-table-view-CNTfzEyS.d.ts} +769 -16
  11. package/dist/{design-system-provider-C6Tu1vyg.d.ts → design-system-provider-YblRtwYw.d.ts} +1 -1
  12. package/dist/index.d.ts +914 -392
  13. package/dist/index.js +3227 -340
  14. package/dist/index.js.map +1 -1
  15. package/dist/legacy/index.d.ts +4 -3
  16. package/dist/legacy/index.js +2 -2
  17. package/dist/next/index.d.ts +2 -2
  18. package/dist/option-izy_4w4Z.d.ts +64 -0
  19. package/dist/styles.css +1 -1
  20. package/dist/suite/index.d.ts +38 -4
  21. package/dist/suite/index.js +2 -2
  22. package/dist/{types-BTHIs2nk.d.ts → types-CKpkEBvW.d.ts} +282 -1
  23. package/docs/components.md +19 -7
  24. package/docs/components.registry.json +152 -8
  25. package/package.json +2 -1
  26. package/public/brand/assure-audit.svg +1 -1
  27. package/public/brand/assure-books.svg +1 -1
  28. package/public/brand/assure-pro.svg +1 -1
  29. package/public/brand/assure-tax.svg +1 -1
  30. package/dist/chunk-AM4TSTSH.js.map +0 -1
  31. package/dist/chunk-FIRPQWYR.js.map +0 -1
  32. package/dist/chunk-IIBDSTOG.js.map +0 -1
@@ -104,6 +104,10 @@ export const ENTRY_BY_SYMBOL = {
104
104
  SidebarBrandSwitcherItem: "suite",
105
105
  SidebarBrandSwitcherProps: "suite",
106
106
  SidebarBrandSwitcherTile: "suite",
107
+ TaxSoftwareLogo: "suite",
108
+ TaxSoftwareLogoProps: "suite",
109
+ TaxSoftwareLogoSize: "suite",
110
+ TaxSoftwareVendor: "suite",
107
111
  brandLabel: "suite",
108
112
  ComingSoon: "suite",
109
113
  ComingSoonProps: "suite",
@@ -1,69 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import { ReactNode } from 'react';
4
- import { C as ComboboxMessages } from './types-BTHIs2nk.js';
4
+ import { C as ComboboxMessages } from './types-CKpkEBvW.js';
5
5
  import { C as ControlSize } from './vocab-DornLJbW.js';
6
-
7
- /**
8
- * L1a behaviour primitive (private). Not exported from the package.
9
- *
10
- * The canonical option model of every list-shaped control (W4-09; target
11
- * architecture §32): `Select`, the coming `Combobox` (W4-10) and its
12
- * `MultiSelect` preset (W4-11), the `SearchSelect` adapter (W4-12) and the
13
- * `PeoplePicker` pattern all read one shape, in place of the six that ship
14
- * today (`{value,label}`, `{id,label,group…}`, `{id,label,email}`,
15
- * `{id,fullName}`, `{key,label,dot}`, `string[]`).
16
- *
17
- * Two halves:
18
- *
19
- * - {@link Option} and its accessors: what a row *is*. Consumers with domain
20
- * objects pass {@link OptionAccessors} (`getOptionValue`/`getOptionLabel`)
21
- * instead of remapping, and {@link toOptions} normalises everything — a
22
- * `string[]`, domain objects, `Option`s — into one array the list renders.
23
- * - The selection helpers: what a control's *value* is, discriminated by
24
- * `multiple` (single `TValue | null`, multi `TValue[]`; §32 "Value"). `""`
25
- * keeps meaning empty in 2.x (§32 "Compat"), so {@link normalizeSingleValue}
26
- * folds it to `null` at the boundary.
27
- *
28
- * No React, no client directive, no DOM: plain functions over plain data, so
29
- * the same module serves a Server Component, a test and the keyboard helper.
30
- */
31
- /**
32
- * One row of a list-shaped control.
33
- *
34
- * `value` is never `""`: emptiness is `value === null` on the control, not a
35
- * sentinel row (§32). `label` is the string typeahead, filtering and the
36
- * accessible name read; `description` and `icon` are rendered, never searched.
37
- * `keywords` widen the match without showing. `meta` carries consumer data
38
- * through to `renderOption` / `onValueChange` details untouched.
39
- *
40
- * @experimental
41
- */
42
- interface Option<TValue extends string = string, TMeta = unknown> {
43
- value: TValue;
44
- label: string;
45
- description?: ReactNode;
46
- /** Leading visual: icon, avatar, flag, colour swatch. */
47
- icon?: ReactNode;
48
- disabled?: boolean;
49
- group?: string | undefined;
50
- keywords?: readonly string[] | undefined;
51
- meta?: TMeta;
52
- }
53
- /**
54
- * How a list reads a consumer's own item type. Only `getOptionValue` and
55
- * `getOptionLabel` are required: an item with no `disabled`/`group`/`keywords`
56
- * accessor is enabled, ungrouped and matched on its label alone.
57
- *
58
- * @experimental
59
- */
60
- interface OptionAccessors<TItem, TValue extends string = string> {
61
- getOptionValue: (item: TItem) => TValue;
62
- getOptionLabel: (item: TItem) => string;
63
- getOptionDisabled?: ((item: TItem) => boolean) | undefined;
64
- getOptionGroup?: ((item: TItem) => string | undefined) | undefined;
65
- getOptionKeywords?: ((item: TItem) => readonly string[] | undefined) | undefined;
66
- }
6
+ import { O as Option, a as OptionAccessors } from './option-izy_4w4Z.js';
67
7
 
68
8
  /** The English defaults (the `combobox` namespace of the catalogue). */
69
9
  declare const DEFAULT_COMBOBOX_MESSAGES: ComboboxMessages;
@@ -259,4 +199,4 @@ interface BrandScopeProps extends React.HTMLAttributes<HTMLDivElement> {
259
199
  */
260
200
  declare const BrandScope: React$1.ForwardRefExoticComponent<BrandScopeProps & React$1.RefAttributes<HTMLDivElement>>;
261
201
 
262
- export { BRAND_PRODUCTS as B, type ComboboxSize as C, DEFAULT_COMBOBOX_MESSAGES as D, type Option as O, type BrandProduct as a, brandLabel as b, type ComboboxMultipleProps as c, type ComboboxProps as d, BrandScope as e, type BrandScopeProps as f, BrandScopeProvider as g, Combobox as h, type ComboboxBaseProps as i, type ComboboxClassNames as j, type ComboboxOptionState as k, type ComboboxSelectionControls as l, type ComboboxSingleProps as m, type OptionAccessors as n, brandScope as o, useBrandScope as u };
202
+ export { BRAND_PRODUCTS as B, type ComboboxSize as C, DEFAULT_COMBOBOX_MESSAGES as D, type BrandProduct as a, brandLabel as b, type ComboboxMultipleProps as c, type ComboboxProps as d, BrandScope as e, type BrandScopeProps as f, BrandScopeProvider as g, Combobox as h, type ComboboxBaseProps as i, type ComboboxClassNames as j, type ComboboxOptionState as k, type ComboboxSelectionControls as l, type ComboboxSingleProps as m, brandScope as n, useBrandScope as u };