@eldrajs/ui 0.2.9 → 0.3.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 (120) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +113 -122
  3. package/dist/{VariantPicker-Da41_oGA.js → VariantPicker-C-9sMXGI.js} +1188 -798
  4. package/dist/components/accordion/Accordion.vue.d.ts +1 -2
  5. package/dist/components/accordion/AccordionItem.vue.d.ts +1 -1
  6. package/dist/components/accordion/types.d.ts +6 -7
  7. package/dist/components/avatar/Avatar.vue.d.ts +1 -1
  8. package/dist/components/avatar/types.d.ts +6 -4
  9. package/dist/components/badge/types.d.ts +6 -4
  10. package/dist/components/breadcrumb/types.d.ts +5 -2
  11. package/dist/components/button/Button.vue.d.ts +3 -3
  12. package/dist/components/button/ButtonGroup.vue.d.ts +0 -1
  13. package/dist/components/button/types.d.ts +7 -6
  14. package/dist/components/card/ContentCard.vue.d.ts +1 -1
  15. package/dist/components/card/FeatureCard.vue.d.ts +1 -1
  16. package/dist/components/card/stretchedLink.d.ts +3 -3
  17. package/dist/components/card/types.d.ts +6 -4
  18. package/dist/components/carousel/types.d.ts +7 -3
  19. package/dist/components/checkbox/Checkbox.vue.d.ts +3 -3
  20. package/dist/components/checkbox/CheckboxGroup.vue.d.ts +1 -1
  21. package/dist/components/checkbox/types.d.ts +10 -4
  22. package/dist/components/chip/Chip.vue.d.ts +1 -1
  23. package/dist/components/chip/ChipGroup.vue.d.ts +0 -1
  24. package/dist/components/chip/types.d.ts +5 -6
  25. package/dist/components/container/Container.vue.d.ts +0 -1
  26. package/dist/components/container/types.d.ts +0 -4
  27. package/dist/components/dialog/Dialog.vue.d.ts +2 -2
  28. package/dist/components/dialog/types.d.ts +5 -2
  29. package/dist/components/drawer/Drawer.vue.d.ts +1 -1
  30. package/dist/components/drawer/types.d.ts +5 -2
  31. package/dist/components/empty-state/EmptyState.vue.d.ts +1 -1
  32. package/dist/components/empty-state/types.d.ts +7 -6
  33. package/dist/components/field-wrapper/FieldWrapper.vue.d.ts +1 -1
  34. package/dist/components/field-wrapper/types.d.ts +5 -2
  35. package/dist/components/filter-panel/FilterPanel.vue.d.ts +4 -4
  36. package/dist/components/filter-panel/facets/shared.d.ts +4 -4
  37. package/dist/components/filter-panel/types.d.ts +5 -2
  38. package/dist/components/form-layout/FormLayout.vue.d.ts +1 -1
  39. package/dist/components/form-layout/types.d.ts +5 -2
  40. package/dist/components/icon/Icon.vue.d.ts +1 -2
  41. package/dist/components/icon/types.d.ts +0 -4
  42. package/dist/components/image/types.d.ts +3 -2
  43. package/dist/components/input/Input.vue.d.ts +6 -6
  44. package/dist/components/input/classes.d.ts +25 -19
  45. package/dist/components/input/types.d.ts +5 -2
  46. package/dist/components/lightbox/Lightbox.vue.d.ts +1 -1
  47. package/dist/components/lightbox/types.d.ts +5 -2
  48. package/dist/components/link/Link.vue.d.ts +1 -1
  49. package/dist/components/link/types.d.ts +5 -2
  50. package/dist/components/load-more/types.d.ts +4 -3
  51. package/dist/components/logo-item/LogoItem.vue.d.ts +1 -1
  52. package/dist/components/logo-item/types.d.ts +2 -1
  53. package/dist/components/nav-menu/NavMenu.vue.d.ts +1 -1
  54. package/dist/components/nav-menu/navLinks.d.ts +1 -1
  55. package/dist/components/nav-menu/types.d.ts +3 -3
  56. package/dist/components/pagination/types.d.ts +5 -2
  57. package/dist/components/popover/Popover.vue.d.ts +1 -1
  58. package/dist/components/popover/types.d.ts +5 -6
  59. package/dist/components/price/types.d.ts +3 -2
  60. package/dist/components/product-card/ProductCard.vue.d.ts +1 -1
  61. package/dist/components/product-card/types.d.ts +3 -2
  62. package/dist/components/quantity-stepper/QuantityStepper.vue.d.ts +4 -4
  63. package/dist/components/quantity-stepper/types.d.ts +5 -2
  64. package/dist/components/radio/Radio.vue.d.ts +3 -3
  65. package/dist/components/radio/RadioGroup.vue.d.ts +3 -3
  66. package/dist/components/radio/recipes.d.ts +11 -7
  67. package/dist/components/radio/types.d.ts +11 -5
  68. package/dist/components/range-slider/RangeSlider.vue.d.ts +1 -1
  69. package/dist/components/range-slider/types.d.ts +5 -2
  70. package/dist/components/rating/Rating.vue.d.ts +1 -1
  71. package/dist/components/rating/types.d.ts +3 -2
  72. package/dist/components/search-bar/SearchBar.vue.d.ts +3 -3
  73. package/dist/components/search-bar/SearchResultsPanel.vue.d.ts +1 -1
  74. package/dist/components/search-bar/types.d.ts +5 -2
  75. package/dist/components/search-modal/SearchModal.vue.d.ts +2 -2
  76. package/dist/components/search-modal/types.d.ts +7 -4
  77. package/dist/components/section/Section.vue.d.ts +0 -1
  78. package/dist/components/section/types.d.ts +0 -4
  79. package/dist/components/select/MultiSelect.vue.d.ts +5 -5
  80. package/dist/components/select/Select.vue.d.ts +4 -4
  81. package/dist/components/select/SelectPanel.vue.d.ts +2 -2
  82. package/dist/components/select/panelParts.d.ts +21 -20
  83. package/dist/components/select/types.d.ts +10 -4
  84. package/dist/components/site-form/SiteForm.vue.d.ts +1 -1
  85. package/dist/components/site-form/types.d.ts +6 -2
  86. package/dist/components/skeleton/Skeleton.vue.d.ts +2 -2
  87. package/dist/components/skeleton/types.d.ts +4 -4
  88. package/dist/components/switch/Switch.vue.d.ts +2 -2
  89. package/dist/components/switch/types.d.ts +5 -2
  90. package/dist/components/tabler-icon/TablerIcon.vue.d.ts +2 -3
  91. package/dist/components/tabler-icon/types.d.ts +0 -4
  92. package/dist/components/tabs/Tab.vue.d.ts +1 -1
  93. package/dist/components/tabs/TabPanel.vue.d.ts +1 -3
  94. package/dist/components/tabs/Tabs.vue.d.ts +1 -1
  95. package/dist/components/tabs/types.d.ts +13 -11
  96. package/dist/components/textarea/Textarea.vue.d.ts +4 -4
  97. package/dist/components/textarea/types.d.ts +5 -2
  98. package/dist/components/toast/types.d.ts +9 -3
  99. package/dist/components/tooltip/types.d.ts +4 -3
  100. package/dist/components/unit-input/UnitInput.vue.d.ts +7 -7
  101. package/dist/components/unit-input/types.d.ts +5 -2
  102. package/dist/components/variant-picker/VariantPicker.vue.d.ts +1 -1
  103. package/dist/components/variant-picker/types.d.ts +3 -2
  104. package/dist/components/visually-hidden/VisuallyHidden.vue.d.ts +0 -1
  105. package/dist/components/visually-hidden/types.d.ts +0 -4
  106. package/dist/components.css +1422 -2310
  107. package/dist/composables/useEldraScope.d.ts +7 -9
  108. package/dist/index.d.ts +5 -6
  109. package/dist/index.js +1357 -880
  110. package/dist/style.css +1427 -2315
  111. package/dist/tailwind.css +11 -2234
  112. package/dist/theme.css +108 -0
  113. package/dist/tokens.css +1 -0
  114. package/dist/utilities.css +2160 -0
  115. package/dist/utils/mergeClass.d.ts +3 -0
  116. package/dist/utils/tagRecipe.d.ts +3 -3
  117. package/dist/vee-validate.js +1 -1
  118. package/package.json +4 -3
  119. package/dist/scoped.css +0 -4623
  120. package/dist/utils/cx.d.ts +0 -31
@@ -1,5 +1,5 @@
1
1
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them. */
2
- export type FieldWrapperPart = 'root' | 'label' | 'legend' | 'requiredMark' | 'optionalText' | 'help' | 'control' | 'error' | 'errorIcon' | 'foot' | 'counter';
2
+ export type FieldWrapperPart = 'label' | 'legend' | 'requiredMark' | 'optionalText' | 'help' | 'control' | 'error' | 'errorIcon' | 'foot' | 'counter';
3
3
  /** The character counter shown at the end of the foot row. */
4
4
  export interface FieldWrapperCounter {
5
5
  /**
@@ -41,6 +41,9 @@ export interface FieldWrapperProps {
41
41
  group?: boolean;
42
42
  /** Spans both columns of a two-column `FormLayout`. */
43
43
  full?: boolean;
44
- /** Per-part class overrides, merged with `tailwind-merge`. */
44
+ /**
45
+ * Per-part classes, appended to the part's own (they win by cascade layer). Style the root with
46
+ * `class`.
47
+ */
45
48
  classes?: Partial<Record<FieldWrapperPart, string>>;
46
49
  }
@@ -33,8 +33,8 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
33
33
  focusTitle: typeof focusTitle;
34
34
  focusChip: typeof focusChip;
35
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
- clear: () => any;
37
36
  "update:modelValue": (selection: FilterSelection) => any;
37
+ clear: () => any;
38
38
  change: (selection: FilterSelection) => any;
39
39
  remove: (removal: {
40
40
  facetId: string;
@@ -42,8 +42,8 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
42
42
  }) => any;
43
43
  apply: (selection: FilterSelection) => any;
44
44
  }, string, import('vue').PublicProps, Readonly<FilterPanelProps> & Readonly<{
45
- onClear?: (() => any) | undefined;
46
45
  "onUpdate:modelValue"?: ((selection: FilterSelection) => any) | undefined;
46
+ onClear?: (() => any) | undefined;
47
47
  onChange?: ((selection: FilterSelection) => any) | undefined;
48
48
  onRemove?: ((removal: {
49
49
  facetId: string;
@@ -51,10 +51,10 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
51
51
  }) => any) | undefined;
52
52
  onApply?: ((selection: FilterSelection) => any) | undefined;
53
53
  }>, {
54
- label: string;
55
54
  title: string;
56
- classes: Partial<Record<import('./types.js').FilterPanelPart, string>>;
55
+ label: string;
57
56
  modelValue: FilterSelection;
57
+ classes: Partial<Record<import('./types.js').FilterPanelPart, string>>;
58
58
  mode: import('./types.js').FilterPanelMode;
59
59
  locale: string;
60
60
  messages: Partial<{
@@ -21,19 +21,19 @@ export interface FacetProps {
21
21
  * the end." The same count sits at the end of a swatch row and a switch row, so it is written
22
22
  * once.
23
23
  */
24
- export declare const FACET_COUNT = "ms-auto shrink-0 text-caption text-muted tabular-nums";
24
+ export declare const FACET_COUNT = "eldra:ms-auto eldra:shrink-0 eldra:text-caption eldra:text-muted eldra:tabular-nums";
25
25
  /**
26
26
  * Spec → States, "Option row, hover" and "Swatch row/tile, hover": "`text` at 6%".
27
27
  *
28
28
  * A `color-mix` against the token rather than a tint of its own, so a store that changes `text`
29
29
  * changes the hover with it — the same shape `Switch`'s own hover fill uses.
30
30
  */
31
- export declare const FACET_ROW_HOVER = "hover:bg-[color-mix(in_oklab,var(--eldra-color-text),transparent_94%)]";
31
+ export declare const FACET_ROW_HOVER = "eldra:eldra-transition-colors eldra:hover:bg-[color-mix(in_oklab,var(--eldra-color-text),transparent_94%)]";
32
32
  /**
33
33
  * Spec → Sizes, Option row: "padding 0.25rem 0.5rem with a −0.5rem side margin (the hover tint
34
34
  * bleeds into the gutter)". The negative margin is what lets the tint reach past the panel's own
35
35
  * text edge, so a hovered row reads as a row rather than as a highlighted label.
36
36
  */
37
- export declare const FACET_ROW_GUTTER = "-mx-2 px-2";
37
+ export declare const FACET_ROW_GUTTER = "eldra:-mx-2 eldra:px-2";
38
38
  /** The same, at the swatch row's own tighter 0.375rem padding (spec → Sizes, Swatch row). */
39
- export declare const FACET_SWATCH_GUTTER = "-mx-1.5 px-1.5";
39
+ export declare const FACET_SWATCH_GUTTER = "eldra:-mx-1.5 eldra:px-1.5";
@@ -140,7 +140,7 @@ export interface AppliedFilter {
140
140
  * marks the `<li>` around each `Chip` rather than the chip itself. A `colour` facet's rows and a
141
141
  * `size` facet's tiles are drawn by this package and do carry `data-part="row"`/`"tile"`.
142
142
  */
143
- export type FilterPanelPart = 'root' | 'head' | 'title' | 'clear' | 'applied' | 'chip' | 'group' | 'trigger' | 'groupLabel' | 'badge' | 'summary' | 'chevron' | 'body' | 'legend' | 'search' | 'noMatches' | 'values' | 'row' | 'rowLabel' | 'count' | 'checkbox' | 'showAll' | 'swatch' | 'swatchMark' | 'swatchStrike' | 'subheading' | 'tile' | 'tileLabel' | 'sizeGuide' | 'range' | 'histogram' | 'histogramBar' | 'fields' | 'field' | 'fieldLabel' | 'separator' | 'switchRow' | 'foot';
143
+ export type FilterPanelPart = 'head' | 'title' | 'clear' | 'applied' | 'chip' | 'group' | 'trigger' | 'groupLabel' | 'badge' | 'summary' | 'chevron' | 'body' | 'legend' | 'search' | 'noMatches' | 'values' | 'row' | 'rowLabel' | 'count' | 'checkbox' | 'showAll' | 'swatch' | 'swatchMark' | 'swatchStrike' | 'subheading' | 'tile' | 'tileLabel' | 'sizeGuide' | 'range' | 'histogram' | 'histogramBar' | 'fields' | 'field' | 'fieldLabel' | 'separator' | 'switchRow' | 'foot';
144
144
  export interface FilterPanelProps {
145
145
  /**
146
146
  * The selection (two-way), keyed by facet id. Unset, the panel manages its own — which is what
@@ -176,7 +176,10 @@ export interface FilterPanelProps {
176
176
  dense?: boolean;
177
177
  /** Namespaces every id this panel mints, so a sidebar and a drawer never collide. */
178
178
  idPrefix?: string;
179
- /** Per-part class overrides, merged with `tailwind-merge`. */
179
+ /**
180
+ * Per-part classes, appended to the part's own (a consumer class wins by cascade layer). The
181
+ * root (the `<form>`) is styled with `class`.
182
+ */
180
183
  classes?: Partial<Record<FilterPanelPart, string>>;
181
184
  /** Overrides for the strings this component renders itself. */
182
185
  messages?: Partial<UiMessages>;
@@ -16,8 +16,8 @@ declare const __VLS_base: import('vue').DefineComponent<FormLayoutProps, {}, {},
16
16
  onSubmit?: ((payload: FormLayoutSubmitPayload) => any) | undefined;
17
17
  onInvalid?: ((ids: string[]) => any) | undefined;
18
18
  }>, {
19
- classes: Partial<Record<import('./types.js').FormLayoutPart, string>>;
20
19
  headingLevel: import('./types.js').FormLayoutHeadingLevel;
20
+ classes: Partial<Record<import('./types.js').FormLayoutPart, string>>;
21
21
  ariaLabel: string;
22
22
  layout: FormLayoutVariant;
23
23
  novalidate: boolean;
@@ -8,7 +8,7 @@ export type FormLayoutVariant = 'single' | 'two' | 'inline';
8
8
  * if the shared type ever changes. */
9
9
  export type FormLayoutHeadingLevel = Extract<HeadingLevel, 2 | 3 | 4>;
10
10
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them. */
11
- export type FormLayoutPart = 'root' | 'heading' | 'errorSummary' | 'fields' | 'actions' | 'status';
11
+ export type FormLayoutPart = 'heading' | 'errorSummary' | 'fields' | 'actions' | 'status';
12
12
  /** What the `submit` event carries once every field in the form is valid. */
13
13
  export interface FormLayoutSubmitPayload {
14
14
  /** The native event, so a scripted form can `preventDefault()` it itself. */
@@ -47,6 +47,9 @@ export interface FormLayoutProps {
47
47
  * is never visible: the visible confirmation is the page's, this is what a screen reader hears.
48
48
  */
49
49
  statusMessage?: string;
50
- /** Per-part class overrides, merged with `tailwind-merge`. */
50
+ /**
51
+ * Per-part classes, appended to the part's own (a consumer class wins by cascade layer). The
52
+ * root (the `<form>`) is styled with `class`.
53
+ */
51
54
  classes?: Partial<Record<FormLayoutPart, string>>;
52
55
  }
@@ -1,8 +1,7 @@
1
1
  import { IconProps } from './types.js';
2
2
  declare const __VLS_export: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
3
- size: import('./types.js').IconSize;
4
3
  label: string;
5
- classes: Partial<Record<"root", string>>;
4
+ size: import('./types.js').IconSize;
6
5
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
6
  declare const _default: typeof __VLS_export;
8
7
  export default _default;
@@ -11,8 +11,6 @@ export type IconComponent = Component;
11
11
  * 1.5rem (feature tiles) and 2rem (empty states).
12
12
  */
13
13
  export type IconSize = 'sm' | 'md' | 'lg' | 'xl';
14
- /** The parts a consumer can restyle through `classes`. */
15
- export type IconPart = 'root';
16
14
  export interface IconProps {
17
15
  /** The icon component to render. */
18
16
  icon: IconComponent;
@@ -24,6 +22,4 @@ export interface IconProps {
24
22
  * assistive technology.
25
23
  */
26
24
  label?: string;
27
- /** Per-part class overrides, merged with `tailwind-merge`. */
28
- classes?: Partial<Record<IconPart, string>>;
29
25
  }
@@ -41,7 +41,7 @@ export interface ImageCrop {
41
41
  sizes?: string;
42
42
  }
43
43
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them. */
44
- export type ImagePart = 'root' | 'frame' | 'media' | 'placeholder' | 'caption' | 'skeleton';
44
+ export type ImagePart = 'frame' | 'media' | 'placeholder' | 'caption' | 'skeleton';
45
45
  export interface ImageProps {
46
46
  /** The image or video. `null`/omitted renders the live "No image" placeholder. */
47
47
  media?: ImageMedia | null;
@@ -93,6 +93,7 @@ export interface ImageProps {
93
93
  priority?: boolean;
94
94
  /** Renders a skeleton at the frame's own ratio instead of `media`/the placeholder. */
95
95
  loading?: boolean;
96
- /** Per-part class overrides, merged with `tailwind-merge`. */
96
+ /** Per-part classes, appended to the kit's own (they win by cascade layer). The root is styled
97
+ * with `class`. */
97
98
  classes?: Partial<Record<ImagePart, string>>;
98
99
  }
@@ -13,22 +13,22 @@ declare const __VLS_base: import('vue').DefineComponent<InputProps, {
13
13
  control: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
14
14
  focus: () => void | undefined;
15
15
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- blur: (event: FocusEvent) => any;
17
- clear: () => any;
18
16
  "update:modelValue": (value: string) => any;
17
+ clear: () => any;
18
+ blur: (event: FocusEvent) => any;
19
19
  focus: (event: FocusEvent) => any;
20
20
  }, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
21
- onBlur?: ((event: FocusEvent) => any) | undefined;
22
- onClear?: (() => any) | undefined;
23
21
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
+ onClear?: (() => any) | undefined;
23
+ onBlur?: ((event: FocusEvent) => any) | undefined;
24
24
  onFocus?: ((event: FocusEvent) => any) | undefined;
25
25
  }>, {
26
- size: import('./types.js').InputSize;
27
26
  name: string;
28
- classes: Partial<Record<import('./types.js').InputPart, string>>;
29
27
  type: import('./types.js').InputType;
30
28
  mask: string;
29
+ size: import('./types.js').InputSize;
31
30
  modelValue: string;
31
+ classes: Partial<Record<import('./types.js').InputPart, string>>;
32
32
  required: boolean;
33
33
  placeholder: string;
34
34
  max: number;
@@ -14,7 +14,7 @@ import { InputSize } from './types.js';
14
14
  * own **delta** — a pill radius, a different padding for an icon it draws itself — never a second
15
15
  * copy of the box.
16
16
  *
17
- * Nothing here is exported from the package: a consumer restyles through `classes`, tokens and
17
+ * Nothing here is exported from the package: a consumer restyles through `class`, `classes`, tokens and
18
18
  * the per-component CSS variables (see the README's Customisation section), not by importing our
19
19
  * class strings, which are not a stable API.
20
20
  */
@@ -30,7 +30,10 @@ import { InputSize } from './types.js';
30
30
  * list, including the `duration-fast` border-colour change the spec's Behaviour section asks for.
31
31
  * See `src/styles/tailwind.css` and `src/__tests__/focus-transition.spec.ts`.
32
32
  */
33
- export declare const FIELD_BASE: string;
33
+ export declare const FIELD_BOX: string;
34
+ /** The box's radius, apart so a field with a radius of its own (`SearchBar`'s pill) takes one. */
35
+ export declare const FIELD_RADIUS = "eldra:rounded-[var(--eldra-input-radius,var(--eldra-radius-md))]";
36
+ export declare const FIELD_BASE = "eldra:block eldra:w-full eldra:min-w-0 eldra:eldra-field-border eldra:placeholder:text-muted eldra:eldra-focus eldra:eldra-focus-always eldra:rounded-[var(--eldra-input-radius,var(--eldra-radius-md))]";
34
37
  /**
35
38
  * The type style per size (spec "Input" → Sizes). Its own constant because `SearchBar`'s two sizes
36
39
  * take exactly these rules while its paddings are its own — the `max-md:text-control-mobile`
@@ -52,7 +55,7 @@ export declare const FIELD_SIZE: Record<InputSize, string>;
52
55
  * not fit a 2rem sm box, so sm uses a 1.5rem button (still the 2.5.8 target minimum) and 2rem of
53
56
  * end padding to match.
54
57
  */
55
- export declare const FIELD_LEADING_PAD = "ps-9";
58
+ export declare const FIELD_LEADING_PAD = "eldra:ps-9";
56
59
  export declare const FIELD_TRAILING_PAD: Record<InputSize, string>;
57
60
  export declare const FIELD_CLEAR_SIZE: Record<InputSize, string>;
58
61
  /**
@@ -70,16 +73,17 @@ export declare const FIELD_CLEAR_SIZE: Record<InputSize, string>;
70
73
  */
71
74
  export declare const FIELD_TRAILING_PAD_PAIR: Record<InputSize, string>;
72
75
  export declare const FIELD_ACTION_PAIR_SIZE: Record<InputSize, string>;
73
- /**
74
- * States (spec "Input" → States). Disabled and read-only replace the live colours outright rather
75
- * than layering over them, so a `:hover` rule can never win back a live boundary on a dead field.
76
- * The error row's second 1px line is drawn by the root's `eldra-field-invalid` pseudo-element,
77
- * because the ring already owns this element's `outline` and `box-shadow`.
78
- */
79
- export declare const FIELD_LIVE = "border-border-strong hover:border-text focus:border-text";
80
- export declare const FIELD_INVALID = "border-danger hover:border-danger focus:border-danger";
81
- export declare const FIELD_DISABLED = "bg-surface-strong border-border border-dashed text-muted cursor-not-allowed";
82
- export declare const FIELD_READONLY = "bg-surface border-border text-text";
76
+ export declare const FIELD_LIVE = "eldra:bg-background eldra:text-text eldra:border-border-strong eldra:hover:border-text eldra:focus:border-text";
77
+ /** The error boundary alone; `fieldState` pairs it with the live or the read-only fill. */
78
+ export declare const FIELD_INVALID = "eldra:border-danger eldra:hover:border-danger eldra:focus:border-danger";
79
+ export declare const FIELD_DISABLED = "eldra:bg-surface-strong eldra:border-border eldra:border-dashed eldra:text-muted eldra:cursor-not-allowed";
80
+ export declare const FIELD_READONLY = "eldra:bg-surface eldra:text-text eldra:border-border";
81
+ /** The one state recipe a field box is in. `invalid` is the shown error, never set while disabled. */
82
+ export declare function fieldState(state: {
83
+ disabled: boolean;
84
+ readonly: boolean;
85
+ invalid: boolean;
86
+ }): string;
83
87
  /** Spec "Input" → Variants, `search`: "The browser's own clear button is hidden." */
84
88
  export declare const FIELD_SEARCH_APPEARANCE: string;
85
89
  /**
@@ -89,7 +93,9 @@ export declare const FIELD_SEARCH_APPEARANCE: string;
89
93
  * package — `Input`'s, `SearchBar`'s and `UnitInput`'s (`CurrencyInput` wraps the last) — showed
90
94
  * the default arrow rather than a pointer.
91
95
  */
92
- export declare const FIELD_CLEAR_BUTTON: string;
96
+ export declare const FIELD_CLEAR_BUTTON_BOX: string;
97
+ /** The whole button. A field that shows or rounds it its own way takes `FIELD_CLEAR_BUTTON_BOX`. */
98
+ export declare const FIELD_CLEAR_BUTTON = "eldra:inline-flex eldra:shrink-0 eldra:items-center eldra:justify-center eldra:text-muted eldra:hover:text-text eldra:cursor-pointer eldra:hover:bg-[color-mix(in_oklab,var(--eldra-color-text),transparent_94%)] eldra:eldra-focus eldra:rounded-[var(--eldra-radius-sm)]";
93
99
  /** 1.125rem, `muted`, 0.6875rem from the start edge, and out of the pointer's way. */
94
100
  export declare const FIELD_LEADING_ICON: string;
95
101
  /**
@@ -103,16 +109,16 @@ export declare const FIELD_LEADING_ICON: string;
103
109
  * so a field with both keeps them on one row"), and this constant is `Input`'s and `SearchBar`'s
104
110
  * row too — dropping the gap here would silently change `Input`'s rendered output for that
105
111
  * combination, which an early review caught. Only `UnitInput`'s two-action pair (see
106
- * `FIELD_TRAILING_PAD_PAIR` above) wants flush icons, and it overrides this locally
107
- * (`cx(FIELD_SUFFIX_ROW, isActionPair && 'gap-0')` — `gap-*` is a stock tailwind-merge group, so no
108
- * merge-group registration is needed) rather than changing the shared default.
112
+ * `FIELD_TRAILING_PAD_PAIR` above) wants flush icons, and it builds its row from
113
+ * `FIELD_SUFFIX_ROW_BASE` with `gap-0` rather than changing the shared default.
109
114
  */
110
- export declare const FIELD_SUFFIX_ROW = "absolute end-1 inset-y-0 my-auto flex items-center gap-1";
115
+ export declare const FIELD_SUFFIX_ROW_BASE = "eldra:absolute eldra:end-1 eldra:inset-y-0 eldra:my-auto eldra:flex eldra:items-center";
116
+ export declare const FIELD_SUFFIX_ROW = "eldra:absolute eldra:end-1 eldra:inset-y-0 eldra:my-auto eldra:flex eldra:items-center eldra:gap-1";
111
117
  /**
112
118
  * The start-edge mirror of `FIELD_SUFFIX_ROW`, for the `prefix` slot: interactive content (a
113
119
  * calendar button) 0.25rem from the start edge, so unlike `FIELD_LEADING_ICON` it keeps the pointer.
114
120
  */
115
- export declare const FIELD_PREFIX_ROW = "absolute start-1 inset-y-0 my-auto flex items-center gap-1";
121
+ export declare const FIELD_PREFIX_ROW = "eldra:absolute eldra:start-1 eldra:inset-y-0 eldra:my-auto eldra:flex eldra:items-center eldra:gap-1";
116
122
  /** The start padding a `prefix` row reserves: the trailing action's room, mirrored. */
117
123
  export declare const FIELD_PREFIX_PAD: Record<InputSize, string>;
118
124
  /** `FIELD_TRAILING_PAD`/`FIELD_PREFIX_PAD` in rem, for `useAdornmentRoom`'s comparison. */
@@ -4,7 +4,7 @@ export type InputType = 'text' | 'email' | 'tel' | 'number' | 'search' | 'url' |
4
4
  /** The spec's three compact-control heights: 2rem, 2.5rem and 3rem. */
5
5
  export type InputSize = 'sm' | 'md' | 'lg';
6
6
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them. */
7
- export type InputPart = 'root' | 'leadingIcon' | 'prefix' | 'control' | 'clearButton' | 'suffix';
7
+ export type InputPart = 'leadingIcon' | 'prefix' | 'control' | 'clearButton' | 'suffix';
8
8
  export interface InputProps {
9
9
  /**
10
10
  * The value (two-way). With `mask` set this is the **raw** value — the digits and letters the
@@ -59,6 +59,9 @@ export interface InputProps {
59
59
  * everything else a separator. The field displays the formatted value; `modelValue` stays raw.
60
60
  */
61
61
  mask?: string;
62
- /** Per-part class overrides, merged with `tailwind-merge`. */
62
+ /**
63
+ * Per-part classes, appended to the part's own (they win by cascade layer). Style the root with
64
+ * `class`.
65
+ */
63
66
  classes?: Partial<Record<InputPart, string>>;
64
67
  }
@@ -9,8 +9,8 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
9
9
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
10
10
  "onUpdate:index"?: ((value: number) => any) | undefined;
11
11
  }>, {
12
- classes: Partial<Record<import('./types.js').LightboxPart, string>>;
13
12
  modelValue: boolean;
13
+ classes: Partial<Record<import('./types.js').LightboxPart, string>>;
14
14
  index: number;
15
15
  messages: Partial<{
16
16
  clear: string;
@@ -2,7 +2,7 @@ import { UiMessages } from '../../composables/useMessages.js';
2
2
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them
3
3
  * (spec "Lightbox" → Anatomy) plus the API contract's own `thumbnails`/`thumbnail` pair, which the
4
4
  * spec describes ("With thumbnails" variant) but does not number. */
5
- export type LightboxPart = 'root' | 'panel' | 'close' | 'track' | 'slide' | 'image' | 'caption' | 'prev' | 'next' | 'counter' | 'thumbnails' | 'thumbnail';
5
+ export type LightboxPart = 'panel' | 'close' | 'track' | 'slide' | 'image' | 'caption' | 'prev' | 'next' | 'counter' | 'thumbnails' | 'thumbnail';
6
6
  /**
7
7
  * One image in the gallery (spec "Lightbox" → Properties, `images` row). `width`/`height` are the
8
8
  * asset's real intrinsic pixel size — passed straight through to `Image` as `ratio="auto"`'s own
@@ -42,6 +42,9 @@ export interface LightboxProps {
42
42
  thumbnails?: boolean;
43
43
  /** Message overrides. See `useMessages`. */
44
44
  messages?: Partial<UiMessages>;
45
- /** Per-part class overrides, merged with `tailwind-merge`. */
45
+ /**
46
+ * Per-part classes, appended to the part's own (they win by cascade layer). Style the viewer's
47
+ * `<dialog>` itself with `class`.
48
+ */
46
49
  classes?: Partial<Record<LightboxPart, string>>;
47
50
  }
@@ -6,8 +6,8 @@ declare const __VLS_template: () => {
6
6
  };
7
7
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
8
  declare const __VLS_base: import('vue').DefineComponent<LinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LinkProps> & Readonly<{}>, {
9
- classes: Partial<Record<import('./types.js').LinkPart, string>>;
10
9
  href: string;
10
+ classes: Partial<Record<import('./types.js').LinkPart, string>>;
11
11
  tone: LinkTone;
12
12
  variant: import('./types.js').LinkVariant;
13
13
  as: string | import('vue').Component;
@@ -4,7 +4,7 @@ export type LinkVariant = 'inline' | 'standalone';
4
4
  /** Default is `text`; `muted` is for footer and meta-line links ("Size guide", "Privacy"). */
5
5
  export type LinkTone = 'default' | 'muted';
6
6
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them. */
7
- export type LinkPart = 'root' | 'label' | 'arrow' | 'externalIcon';
7
+ export type LinkPart = 'label' | 'arrow' | 'externalIcon';
8
8
  export interface LinkProps {
9
9
  /**
10
10
  * Destination. With no destination the spec says to "render plain text instead of a link": the
@@ -28,7 +28,10 @@ export interface LinkProps {
28
28
  * same as before this default changed.
29
29
  */
30
30
  underline?: boolean;
31
- /** Per-part class overrides, merged with `tailwind-merge`. */
31
+ /**
32
+ * Per-part classes, appended to the part's own (they win by cascade layer). Style the link
33
+ * itself with `class`.
34
+ */
32
35
  classes?: Partial<Record<LinkPart, string>>;
33
36
  /**
34
37
  * Render as a different tag or component instead of a native `<a>` — a router link component,
@@ -2,9 +2,10 @@
2
2
  * The parts a consumer can restyle through `classes`, named as the spec's anatomy names them
3
3
  * (spec "Pagination" → Anatomy, "load more" rows 7 and 9). The decorative meter (row 8) has no
4
4
  * part of its own — it is `aria-hidden`, purely visual, and never independently restyled, the
5
- * same shape `Rating`'s half-star clip or `Skeleton`'s shimmer are drawn without one.
5
+ * same shape `Rating`'s half-star clip or `Skeleton`'s shimmer are drawn without one. The root is
6
+ * styled with `class`.
6
7
  */
7
- export type LoadMorePart = 'root' | 'status' | 'button';
8
+ export type LoadMorePart = 'status' | 'button';
8
9
  export interface LoadMoreProps {
9
10
  /** Items currently shown. */
10
11
  shown: number;
@@ -16,6 +17,6 @@ export interface LoadMoreProps {
16
17
  noun?: string;
17
18
  /** Loading state of the button: busy, spinner, `aria-busy`. Defaults to `false`. */
18
19
  pending?: boolean;
19
- /** Per-part class overrides, merged with `tailwind-merge`. */
20
+ /** Per-part classes, appended to the part's own (they win by cascade layer). */
20
21
  classes?: Partial<Record<LoadMorePart, string>>;
21
22
  }
@@ -1,7 +1,7 @@
1
1
  import { LogoItemProps } from './types.js';
2
2
  declare const __VLS_export: import('vue').DefineComponent<LogoItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LogoItemProps> & Readonly<{}>, {
3
- classes: Partial<Record<import('./types.js').LogoItemPart, string>>;
4
3
  href: string | null;
4
+ classes: Partial<Record<import('./types.js').LogoItemPart, string>>;
5
5
  as: string | import('vue').Component;
6
6
  logo: import('../../index.js').ImageMedia | null;
7
7
  linkContext: string | null;
@@ -32,6 +32,7 @@ export interface LogoItemProps {
32
32
  * destination as its `to` prop instead. Ignored when there is no `href`.
33
33
  */
34
34
  as?: string | Component;
35
- /** Per-part class overrides, merged with `tailwind-merge`. */
35
+ /** Per-part classes, appended to the kit's own (they win by cascade layer). `root` is the cell
36
+ * (the link when linked); `class` lands on the `<li>`. */
36
37
  classes?: Partial<Record<LogoItemPart, string>>;
37
38
  }
@@ -39,8 +39,8 @@ declare const __VLS_base: import('vue').DefineComponent<NavMenuProps, {
39
39
  "onUpdate:modelValue"?: ((index: number | null) => any) | undefined;
40
40
  "onUpdate:drawerOpen"?: ((open: boolean) => any) | undefined;
41
41
  }>, {
42
- classes: Partial<Record<import('./types.js').NavMenuPart, string>>;
43
42
  modelValue: number | null;
43
+ classes: Partial<Record<import('./types.js').NavMenuPart, string>>;
44
44
  variant: NavMenuVariant;
45
45
  linkAs: string | import('vue').Component;
46
46
  ariaLabel: string;
@@ -1,7 +1,7 @@
1
1
  import { Component } from 'vue';
2
2
  import { NavMenuItem, NavMenuLink, NavMenuPanelLayout } from './types.js';
3
3
  /** How the page the visitor is on is marked, on every kind of link the menu draws. */
4
- export declare const CURRENT_PAGE = "aria-[current=page]:underline aria-[current=page]:decoration-2 aria-[current=page]:underline-offset-[0.2em]";
4
+ export declare const CURRENT_PAGE = "eldra:aria-[current=page]:underline eldra:aria-[current=page]:decoration-2 eldra:aria-[current=page]:underline-offset-[0.2em]";
5
5
  /** A run of panel entries under one column heading; `group` is `null` for entries without one. */
6
6
  export interface NavMenuLinkRun {
7
7
  group: string | null;
@@ -68,8 +68,8 @@ export interface NavMenuGroupHeadingSlotProps {
68
68
  item: NavMenuItem;
69
69
  placement: NavMenuPlacement;
70
70
  }
71
- /** The parts a consumer can restyle through `classes`. */
72
- export type NavMenuPart = 'root' | 'nav' | 'list' | 'item' | 'link' | 'trigger' | 'triggerIcon' | 'panel' | 'content' | NavMenuPanelPart | 'footer' | 'toggle' | 'toggleIcon' | 'drawerRoot' | 'drawer' | 'drawerHeader' | 'drawerClose' | 'drawerBody' | 'drawerList' | 'drawerItem' | 'drawerLink' | 'drawerTrigger' | 'drawerPanel' | 'drawerSectionHeading' | 'drawerNest' | NavMenuDrawerPanelPart | 'drawerFooter';
71
+ /** The parts a consumer can restyle through `classes`. The root is styled with `class`. */
72
+ export type NavMenuPart = 'nav' | 'list' | 'item' | 'link' | 'trigger' | 'triggerIcon' | 'panel' | 'content' | NavMenuPanelPart | 'footer' | 'toggle' | 'toggleIcon' | 'drawerRoot' | 'drawer' | 'drawerHeader' | 'drawerClose' | 'drawerBody' | 'drawerList' | 'drawerItem' | 'drawerLink' | 'drawerTrigger' | 'drawerPanel' | 'drawerSectionHeading' | 'drawerNest' | NavMenuDrawerPanelPart | 'drawerFooter';
73
73
  export interface NavMenuProps {
74
74
  /** The top-level entries, in order. */
75
75
  items: readonly NavMenuItem[];
@@ -98,6 +98,6 @@ export interface NavMenuProps {
98
98
  linkAs?: string | Component;
99
99
  /** Message overrides. See `useMessages`. */
100
100
  messages?: Partial<UiMessages>;
101
- /** Per-part class overrides, merged with `tailwind-merge`. */
101
+ /** Per-part classes, appended to the part's own (a consumer class wins by cascade layer). */
102
102
  classes?: Partial<Record<NavMenuPart, string>>;
103
103
  }
@@ -10,7 +10,7 @@ import { UiMessages } from '../../composables/useMessages.js';
10
10
  * `Tooltip`'s hover bridge or `Skeleton`'s shimmer are drawn without one (see the README's
11
11
  * Deviations entry).
12
12
  */
13
- export type PaginationPart = 'root' | 'list' | 'item' | 'page' | 'current' | 'ellipsis' | 'prev' | 'next';
13
+ export type PaginationPart = 'list' | 'item' | 'page' | 'current' | 'ellipsis' | 'prev' | 'next';
14
14
  export interface PaginationProps {
15
15
  /** Current page, 1-based. */
16
16
  page: number;
@@ -77,6 +77,9 @@ export interface PaginationProps {
77
77
  /** Message overrides (`pagination`, `previousPage`, `nextPage`, `pageN`, `pageOfTotal`), per
78
78
  * instance; a shorter visible "Previous"/"Next" goes here. See `useMessages`. */
79
79
  messages?: Partial<UiMessages>;
80
- /** Per-part class overrides, merged with `tailwind-merge`. */
80
+ /**
81
+ * Per-part classes, appended to the part's own (they win by cascade layer). Style the `<nav>`
82
+ * itself with `class`.
83
+ */
81
84
  classes?: Partial<Record<PaginationPart, string>>;
82
85
  }
@@ -29,8 +29,8 @@ declare const __VLS_base: import('vue').DefineComponent<PopoverProps, {
29
29
  onOpen?: (() => any) | undefined;
30
30
  onClose?: (() => any) | undefined;
31
31
  }>, {
32
- classes: Partial<Record<import('./types.js').PopoverPart, string>>;
33
32
  modelValue: boolean;
33
+ classes: Partial<Record<import('./types.js').PopoverPart, string>>;
34
34
  disabled: boolean;
35
35
  ariaLabel: string;
36
36
  closeOnEscape: boolean;
@@ -3,14 +3,13 @@ import { FloatingPlacement } from '../../composables/useFloating.js';
3
3
  /**
4
4
  * The parts a consumer can restyle through `classes`.
5
5
  *
6
- * `root` is a `display: contents` wrapper around the `trigger` slot's own element and the
7
- * (conditionally teleported) `panel` — it never draws a box of its own, so it exists only as a
8
- * `data-part`/`classes` hook and a mount point, never as a layout parent a consumer needs to work
9
- * around. `trigger` draws nothing here at all: the trigger is the consumer's own element, rendered
6
+ * The root is a `display: contents` wrapper around the `trigger` slot's own element and the
7
+ * (conditionally teleported) `panel`: it draws no box, so it takes no classes. `class` lands on the
8
+ * panel with the other fallthrough attributes. `trigger` draws nothing here at all: the trigger is the consumer's own element, rendered
10
9
  * through the `trigger` slot, and `classes.trigger` reaches it only because the `attrs` slot prop
11
10
  * carries a `class` built from it (see `Popover.vue`'s own doc comment) for the consumer to spread.
12
11
  */
13
- export type PopoverPart = 'root' | 'trigger' | 'panel';
12
+ export type PopoverPart = 'trigger' | 'panel';
14
13
  export interface PopoverProps {
15
14
  /** Whether the panel is open (two-way). Self-managing when not bound, like every stateful
16
15
  * component in this package. */
@@ -102,6 +101,6 @@ export interface PopoverProps {
102
101
  * consumer that needs it is a one-line, non-breaking widening of this type.
103
102
  */
104
103
  teleport?: boolean;
105
- /** Per-part class overrides, merged with `tailwind-merge`. */
104
+ /** Per-part classes, appended to the part's own (they win by cascade layer). */
106
105
  classes?: Partial<Record<PopoverPart, string>>;
107
106
  }
@@ -14,7 +14,7 @@ export type PriceSize = 'sm' | 'md' | 'lg';
14
14
  * `current`/`compareAt`. They exist so the refresh dim (on the part) and the fade a changed amount
15
15
  * plays (on the span) are not the same element fighting over `opacity`; they add no box of their
16
16
  * own, and a consumer who only wants to restyle the amount's text can reach either one. */
17
- export type PricePart = 'root' | 'current' | 'currentValue' | 'compareAt' | 'compareAtValue' | 'from' | 'unit' | 'srText' | 'skeleton' | 'spinner' | 'srStatus';
17
+ export type PricePart = 'current' | 'currentValue' | 'compareAt' | 'compareAtValue' | 'from' | 'unit' | 'srText' | 'skeleton' | 'spinner' | 'srStatus';
18
18
  export interface PriceProps {
19
19
  /**
20
20
  * The current price, in minor units (cents) — for a zero-decimal currency like `ISK`, whole
@@ -99,6 +99,7 @@ export interface PriceProps {
99
99
  * are unaffected; only the region goes.
100
100
  */
101
101
  announce?: boolean;
102
- /** Per-part class overrides, merged with `tailwind-merge`. */
102
+ /** Per-part classes, appended to the kit's own (they win by cascade layer). The root is styled
103
+ * with `class`. */
103
104
  classes?: Partial<Record<PricePart, string>>;
104
105
  }
@@ -4,8 +4,8 @@ declare const __VLS_export: import('vue').DefineComponent<ProductCardProps, {},
4
4
  }, string, import('vue').PublicProps, Readonly<ProductCardProps> & Readonly<{
5
5
  onQuickAdd?: ((product: ProductCardProduct) => any) | undefined;
6
6
  }>, {
7
- classes: Partial<Record<import('./types.js').ProductCardPart, string>>;
8
7
  headingLevel: import('../../index.js').HeadingLevel;
8
+ classes: Partial<Record<import('./types.js').ProductCardPart, string>>;
9
9
  loading: boolean;
10
10
  quickAdd: boolean;
11
11
  linkAs: string | import('vue').Component;
@@ -65,7 +65,7 @@ export interface ProductCardProduct {
65
65
  }
66
66
  /** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them,
67
67
  * plus `stockLine` for the addition beyond it (see `ProductCardProduct.stock`). */
68
- export type ProductCardPart = 'root' | 'media' | 'badges' | 'body' | 'vendor' | 'title' | 'link' | 'price' | 'rating' | 'stockLine' | 'swatches' | 'swatch' | 'swatchOverflow' | 'quickAdd' | 'skeleton';
68
+ export type ProductCardPart = 'media' | 'badges' | 'body' | 'vendor' | 'title' | 'link' | 'price' | 'rating' | 'stockLine' | 'swatches' | 'swatch' | 'swatchOverflow' | 'quickAdd' | 'skeleton';
69
69
  export interface ProductCardProps {
70
70
  /** The product. See `ProductCardProduct`. */
71
71
  product: ProductCardProduct;
@@ -118,6 +118,7 @@ export interface ProductCardProps {
118
118
  * see this package's README "as vs linkAs" note.
119
119
  */
120
120
  linkAs?: string | Component;
121
- /** Per-part class overrides, merged with `tailwind-merge`. */
121
+ /** Per-part classes, appended to the kit's own (they win by cascade layer). The root is styled
122
+ * with `class`. */
122
123
  classes?: Partial<Record<ProductCardPart, string>>;
123
124
  }
@@ -1,19 +1,19 @@
1
1
  import { QuantityStepperProps, QuantityStepperSize } from './types.js';
2
2
  declare const __VLS_export: import('vue').DefineComponent<QuantityStepperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
- blur: (event: FocusEvent) => any;
4
3
  "update:modelValue": (value: number) => any;
4
+ blur: (event: FocusEvent) => any;
5
5
  focus: (event: FocusEvent) => any;
6
6
  change: (value: number) => any;
7
7
  }, string, import('vue').PublicProps, Readonly<QuantityStepperProps> & Readonly<{
8
- onBlur?: ((event: FocusEvent) => any) | undefined;
9
8
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
9
+ onBlur?: ((event: FocusEvent) => any) | undefined;
10
10
  onFocus?: ((event: FocusEvent) => any) | undefined;
11
11
  onChange?: ((value: number) => any) | undefined;
12
12
  }>, {
13
- size: QuantityStepperSize;
14
13
  name: string;
15
- classes: Partial<Record<import('./types.js').QuantityStepperPart, string>>;
14
+ size: QuantityStepperSize;
16
15
  modelValue: number;
16
+ classes: Partial<Record<import('./types.js').QuantityStepperPart, string>>;
17
17
  error: string;
18
18
  max: number;
19
19
  id: string;