@vizejs/ui 0.709.0 → 0.711.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 (107) hide show
  1. package/README.md +163 -19
  2. package/dist/accordion.d.mts +1 -1
  3. package/dist/action-sheet.d.mts +1 -1
  4. package/dist/alert-dialog.d.mts +1 -1
  5. package/dist/{announcer-DVvPXOat.d.mts → announcer-B8tTsf_z.d.mts} +6 -6
  6. package/dist/announcer.d.mts +1 -1
  7. package/dist/autocomplete.d.mts +1 -1
  8. package/dist/avatar.d.mts +1 -1
  9. package/dist/badge.d.mts +1 -1
  10. package/dist/banner.d.mts +1 -1
  11. package/dist/block-ui.d.mts +1 -1
  12. package/dist/blockquote.d.mts +1 -1
  13. package/dist/{breadcrumb-aITc0VLc.d.mts → breadcrumb-SsZSEerN.d.mts} +1 -1
  14. package/dist/breadcrumb.d.mts +1 -1
  15. package/dist/{button-VVxUavbS.mjs → button-Cc-XkuJl.mjs} +25 -4
  16. package/dist/button.d.mts +2 -2
  17. package/dist/button.mjs +1 -1
  18. package/dist/calendar.d.mts +1 -1
  19. package/dist/callout.d.mts +1 -1
  20. package/dist/card.d.mts +1 -1
  21. package/dist/{cascader-Cjq1lBSV.d.mts → cascader-Dpu7w4FI.d.mts} +2 -2
  22. package/dist/cascader.d.mts +1 -1
  23. package/dist/catalog.d.mts +9 -5
  24. package/dist/catalog.mjs +16 -11
  25. package/dist/chart.d.mts +1 -1
  26. package/dist/checkbox.d.mts +1 -1
  27. package/dist/code.d.mts +1 -1
  28. package/dist/collapsible.d.mts +1 -1
  29. package/dist/color-picker.d.mts +1 -1
  30. package/dist/combobox.d.mts +1 -1
  31. package/dist/command-palette.d.mts +1 -1
  32. package/dist/component-button.css +1 -1
  33. package/dist/confirm.d.mts +1 -1
  34. package/dist/context-menu.d.mts +1 -1
  35. package/dist/copy-button.d.mts +1 -1
  36. package/dist/date-range-picker.d.mts +1 -1
  37. package/dist/dialog.d.mts +1 -1
  38. package/dist/direction.d.mts +1 -1
  39. package/dist/drawer.d.mts +1 -1
  40. package/dist/dropdown-menu.d.mts +1 -1
  41. package/dist/duration-field.d.mts +1 -1
  42. package/dist/empty-state.d.mts +1 -1
  43. package/dist/{field-B2btyUqL.d.mts → field-CVbrh-Mx.d.mts} +1 -1
  44. package/dist/field.d.mts +1 -1
  45. package/dist/fieldset.d.mts +1 -1
  46. package/dist/file-upload.d.mts +1 -1
  47. package/dist/floating-action-button.d.mts +1 -1
  48. package/dist/focus-visible.d.mts +1 -1
  49. package/dist/{form-wizard-D_B-Cydo.d.mts → form-wizard-mErOrBg3.d.mts} +2 -2
  50. package/dist/form-wizard.d.mts +1 -1
  51. package/dist/fullscreen-button.d.mts +1 -1
  52. package/dist/heading.d.mts +1 -1
  53. package/dist/hover-card.d.mts +1 -1
  54. package/dist/icon-button.d.mts +1 -1
  55. package/dist/icon.d.mts +1 -1
  56. package/dist/{button-DuC3YHRk.d.mts → index-BpOePbCq.d.mts} +41 -12
  57. package/dist/index.d.mts +8 -8
  58. package/dist/index.mjs +1 -1
  59. package/dist/kbd.d.mts +1 -1
  60. package/dist/landmark.d.mts +1 -1
  61. package/dist/list.d.mts +1 -1
  62. package/dist/listbox.d.mts +1 -1
  63. package/dist/locale.d.mts +1 -1
  64. package/dist/media-preferences.d.mts +1 -1
  65. package/dist/menu.d.mts +1 -1
  66. package/dist/menubar.d.mts +1 -1
  67. package/dist/month-picker.d.mts +1 -1
  68. package/dist/native-select.d.mts +1 -1
  69. package/dist/navigation-rail.d.mts +1 -1
  70. package/dist/notification-center.d.mts +1 -1
  71. package/dist/pager.d.mts +1 -1
  72. package/dist/pagination.d.mts +1 -1
  73. package/dist/popconfirm.d.mts +1 -1
  74. package/dist/popover.d.mts +1 -1
  75. package/dist/print-button.d.mts +1 -1
  76. package/dist/progress-bar.d.mts +1 -1
  77. package/dist/radio-group.d.mts +1 -1
  78. package/dist/resolver.d.mts +1 -1
  79. package/dist/resolver.mjs +104 -104
  80. package/dist/scroll-area.d.mts +1 -1
  81. package/dist/select.d.mts +1 -1
  82. package/dist/share-button.d.mts +1 -1
  83. package/dist/sidebar.d.mts +1 -1
  84. package/dist/split-button.d.mts +1 -1
  85. package/dist/splitter.d.mts +1 -1
  86. package/dist/status-light.d.mts +1 -1
  87. package/dist/stepper.d.mts +1 -1
  88. package/dist/surface.d.mts +1 -1
  89. package/dist/switch.d.mts +1 -1
  90. package/dist/tabs.d.mts +1 -1
  91. package/dist/tags-input.d.mts +1 -1
  92. package/dist/text.d.mts +1 -1
  93. package/dist/toggle.d.mts +1 -1
  94. package/dist/tooltip.d.mts +1 -1
  95. package/dist/tour.d.mts +1 -1
  96. package/dist/tree.d.mts +1 -1
  97. package/dist/week-picker.d.mts +1 -1
  98. package/package.json +2 -2
  99. package/registry/files/{families/actions → components}/button/button.vue +12 -44
  100. package/registry/files/{families/actions/button/examples/button-basic.vue → components/button/examples/basic.vue} +3 -3
  101. package/registry/files/components/button/index.ts +11 -0
  102. package/registry/files/components/button/styles.css +272 -0
  103. package/registry/files/components/button/types.ts +76 -0
  104. package/registry/registry.json +26 -20
  105. package/registry/files/families/actions/button/button-visual.css +0 -119
  106. package/registry/files/families/actions/button/button.ts +0 -4
  107. /package/registry/files/{families/actions/button/button-keyboard.ts → components/button/keyboard.ts} +0 -0
package/README.md CHANGED
@@ -1,31 +1,175 @@
1
1
  # @vizejs/ui
2
2
 
3
- Accessible, headless Vue components authored as single-file components. Visual
4
- presets are optional; component parts, slots, data attributes, and CSS custom
5
- properties provide the extension points.
3
+ Accessible Vue SFCs with headless behavior, optional native CSS, and an escape
4
+ hatch to source ownership. The package does not require Tailwind, a CSS-in-JS
5
+ runtime, or a component plugin.
6
6
 
7
- ## Renderer compatibility
7
+ > `@vizejs/ui` is under active development. The catalogue is broad, but the
8
+ > component-unit architecture described below is being adopted incrementally.
9
+ > Check each generated reference page's maturity and quality gates before
10
+ > choosing it for a production boundary.
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ vp install @vizejs/ui
16
+ ```
17
+
18
+ `pnpm add @vizejs/ui`, `npm install @vizejs/ui`, and `yarn add @vizejs/ui` work
19
+ as usual.
20
+
21
+ ## Add one component
22
+
23
+ Imports are component-scoped so a screen does not retain the whole catalogue:
24
+
25
+ ```vue
26
+ <script setup lang="ts">
27
+ import { ref } from "vue";
28
+
29
+ import { Button } from "@vizejs/ui/button";
30
+
31
+ const saves = ref(0);
32
+ </script>
33
+
34
+ <template>
35
+ <Button type="button" @press="saves += 1">Save draft</Button>
36
+ <output>Saved {{ saves }} times</output>
37
+ </template>
38
+ ```
39
+
40
+ This is already complete behavior. It uses native button activation, produces
41
+ typed props and events, and renders without a visual stylesheet.
42
+
43
+ ## Add a visual voice
44
+
45
+ Load the base tokens, one preset, and only the component styles the screen
46
+ uses:
47
+
48
+ ```ts
49
+ import "@vizejs/ui/base.css";
50
+ import "@vizejs/ui/theme-preset-paper.css";
51
+ import "@vizejs/ui/component-button.css";
52
+ ```
53
+
54
+ ```vue
55
+ <template>
56
+ <main data-vize-theme="paper">
57
+ <Button type="button" variant="solid" tone="accent" size="md"> Save changes </Button>
58
+ </main>
59
+ </template>
60
+ ```
61
+
62
+ Seven presets ship as independent CSS assets:
63
+
64
+ | Preset | Visual direction |
65
+ | --------------- | ---------------------------------------------------- |
66
+ | `atelier` | quiet studio neutrals and restrained depth |
67
+ | `paper` | warm ink, fine rules, squared editorial controls |
68
+ | `signal` | compact graphite, crisp edges, and monospace details |
69
+ | `midnight` | luminous dark surfaces with controlled depth |
70
+ | `play` | rounded, buoyant geometry and expressive motion |
71
+ | `high-contrast` | severe geometry and maximum state separation |
72
+ | `headless` | token boundary without an opinionated visual voice |
73
+
74
+ Presets change geometry, type, depth, and motion—not only color. Accessibility
75
+ policy remains constant: visible keyboard focus, coarse-pointer targets,
76
+ forced-colors mappings, and reduced-motion behavior.
77
+
78
+ Read the [UI styles guide](../../docs/content/guide/ui-styles.md) for theme
79
+ scoping, teleported content, public tokens, and per-component CSS exports.
80
+
81
+ ## Customize without coupling to markup
82
+
83
+ Components expose semantic state rather than generated class names:
84
+
85
+ ```html
86
+ <button
87
+ data-vize-ui="button"
88
+ data-state="idle"
89
+ data-variant="solid"
90
+ data-tone="accent"
91
+ data-size="md"
92
+ >
93
+ Save changes
94
+ </button>
95
+ ```
96
+
97
+ The optional CSS is authored with native nesting and built through Lightning
98
+ CSS for the declared browser floor. Consumers receive ordinary CSS and do not
99
+ inherit the package's CSS toolchain.
100
+
101
+ Customize public properties at the nearest product boundary:
102
+
103
+ ```css
104
+ .checkout-actions {
105
+ --vize-ui-button-radius: 0.5rem;
106
+ --vize-ui-button-shadow: none;
107
+ --vize-ui-button-hover-lift: 0px;
108
+
109
+ [data-vize-ui="button"] {
110
+ letter-spacing: 0.01em;
111
+ }
112
+ }
113
+ ```
114
+
115
+ Application CSS outside Vize's cascade layers wins normally. Tailwind, UnoCSS,
116
+ CSS Modules, scoped styles, and plain stylesheets can all consume the same
117
+ semantic attributes; none is privileged by the component API.
118
+
119
+ ## Renderers and frameworks
120
+
121
+ The package's public implementation is real Vue SFC source. The component
122
+ contract is checked across DOM, SSR, hydration, and renderer compilation.
123
+
124
+ | Host | Integration path |
125
+ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
126
+ | Vue / Vite+ | Import public component subpaths from any SFC. |
127
+ | Nuxt | Import directly or enable `@vizejs/nuxt` UI auto-registration. See the [Nuxt guide](../../docs/content/integrations/nuxt.md). |
128
+ | Void | Import from an `@void/vue` page; optional CSS remains in the route graph. See the [Void guide](../../docs/content/integrations/void.md). |
129
+ | Vapor | Keep Vue runtime, compiler, and server renderer on the same qualified version. See the [Vapor guide](../../docs/content/guide/vapor.md). |
8
130
 
9
131
  The standard DOM and SSR builds support Vue 3.5+. Vapor is experimental and
10
- requires Vue **3.6.0-rc.11 or later**, with the Vue runtime, compiler, and server
11
- renderer on the same version. The currently qualified Vapor version is rc.11.
12
- Use that same version for rendering server markup and hydrating it in the client.
132
+ currently requires Vue **3.6.0-rc.11 or later**. The qualified Vapor version is
133
+ rc.11; use that version for the runtime, compiler, and server renderer together.
13
134
 
14
135
  Vue rc.9 throws while hydrating a Vapor root containing CSS custom properties
15
- under a VDOM parent. Later releases also changed the slot fallback markup used
16
- between SSR and hydration. Combining Vue 3.5 server output with a newer Vapor
17
- client can therefore produce hydration warnings even when the component state
18
- matches. The runtime conformance suite executes the native SSR and Vapor output
19
- with matching rc.11 providers, checks the original client assertions, and
20
- retains the server root.
136
+ under a VDOM parent. Later releases also changed slot fallback markup between
137
+ SSR and hydration. Mixing Vue 3.5 server output with a newer Vapor client can
138
+ therefore produce hydration warnings even when application state agrees.
21
139
 
22
- Some components still have tracked Vapor failures. This requirement describes
23
- the supported runtime pairing; it does not certify every component or close
24
- the remaining renderer work.
140
+ Some catalogue entries still have tracked Vapor failures. Renderer compatibility
141
+ does not certify every legacy component; each generated reference page lists
142
+ the gates that its source currently declares.
25
143
 
26
- The original rc.9 compiler and runtime remain pinned as an independent
27
- regression reference. Maintainers can replay the original comparison with:
144
+ Maintainers can replay the original rc.9 comparison with:
28
145
 
29
- ```sh
146
+ ```bash
30
147
  VIZE_UI_VAPOR_RUNTIME=reference vp run --filter './npm/ui' check:vapor-runtime
31
148
  ```
149
+
150
+ ## Own the source
151
+
152
+ When a product needs complete control, pull the whole component unit:
153
+
154
+ ```bash
155
+ vize lib pull button
156
+ ```
157
+
158
+ The unit keeps its SFC, public types, optional stylesheet, behavior contract,
159
+ examples, stories, and tests together. Source distribution is an ownership
160
+ choice, not a different component model.
161
+
162
+ ## Documentation as executable evidence
163
+
164
+ The [component catalogue](https://vizejs.dev/guide/ui/) is generated from the
165
+ same metadata, typed SFCs, behavior tables, and colocated examples used by the
166
+ package build. Every component page includes:
167
+
168
+ - a copyable public-import SFC and live browser preview;
169
+ - extracted props, events, slots, and exposed members;
170
+ - authored usage guidance when the component unit supplies it;
171
+ - the normative state-by-input behavior table;
172
+ - declared renderer, type, tree-shaking, and bundle gates.
173
+
174
+ Start with the [Button reference](https://vizejs.dev/guide/ui/button), or
175
+ read the [source architecture](./ARCHITECTURE.md) when contributing a component.
@@ -1,2 +1,2 @@
1
- import { $v as AccordionOrientation, Bv as _default$2, Fv as accordionOpenValues, Gv as AccordionDirection, Hv as _default, Iv as getAccordionValueIdSegment, Jv as AccordionItemExpose, Kv as AccordionHeaderExpose, Lv as toAccordionModel, Qv as AccordionModelValue, Rv as _default$4, Uv as AccordionContentExpose, Vv as _default$1, Wv as AccordionContentRole, Xv as AccordionItemState, Yv as AccordionItemSlotState, Zv as AccordionModelMap, ey as AccordionRootExpose, iy as AccordionValue, ny as AccordionTriggerExpose, qv as AccordionHeadingLevel, ry as AccordionType, ty as AccordionSlotState, zv as _default$3 } from "./announcer-DVvPXOat.mjs";
1
+ import { $v as AccordionOrientation, Bv as _default$2, Fv as accordionOpenValues, Gv as AccordionDirection, Hv as _default, Iv as getAccordionValueIdSegment, Jv as AccordionItemExpose, Kv as AccordionHeaderExpose, Lv as toAccordionModel, Qv as AccordionModelValue, Rv as _default$4, Uv as AccordionContentExpose, Vv as _default$1, Wv as AccordionContentRole, Xv as AccordionItemState, Yv as AccordionItemSlotState, Zv as AccordionModelMap, ey as AccordionRootExpose, iy as AccordionValue, ny as AccordionTriggerExpose, qv as AccordionHeadingLevel, ry as AccordionType, ty as AccordionSlotState, zv as _default$3 } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Accordion, _default as AccordionRoot, _default$1 as AccordionContent, type AccordionContentExpose, type AccordionContentRole, type AccordionDirection, _default$2 as AccordionHeader, type AccordionHeaderExpose, type AccordionHeadingLevel, _default$3 as AccordionItem, type AccordionItemExpose, type AccordionItemSlotState, type AccordionItemState, type AccordionModelMap, type AccordionModelValue, type AccordionOrientation, type AccordionRootExpose, type AccordionSlotState, _default$4 as AccordionTrigger, type AccordionTriggerExpose, type AccordionType, type AccordionValue, accordionOpenValues, getAccordionValueIdSegment, toAccordionModel };
@@ -1,2 +1,2 @@
1
- import { J as _default$4, X as _default$5, Y as ActionSheetSelectEvent, __ as _default$2, gv as _default$6, hv as _default$7, v_ as _default, xv as _default$1, yv as _default$3 } from "./announcer-DVvPXOat.mjs";
1
+ import { J as _default$4, X as _default$5, Y as ActionSheetSelectEvent, __ as _default$2, gv as _default$6, hv as _default$7, v_ as _default, xv as _default$1, yv as _default$3 } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as ActionSheet, _default as ActionSheetRoot, _default$1 as ActionSheetCancel, _default$2 as ActionSheetContent, _default$3 as ActionSheetDescription, _default$4 as ActionSheetItem, _default$5 as ActionSheetMenu, type ActionSheetSelectEvent, _default$6 as ActionSheetTitle, _default$7 as ActionSheetTrigger };
@@ -1,2 +1,2 @@
1
- import { Sv as _default, _v as _default$5, av as AlertDialogDescriptionExpose, cv as AlertDialogRootExpose, dv as AlertDialogTitleExpose, ev as _default$2, fv as AlertDialogTriggerExpose, gv as _default$6, hv as _default$7, iv as AlertDialogContentExpose, lv as AlertDialogSlotState, nv as AlertDialogAutoFocusEvent, ov as AlertDialogOverlayExpose, rv as AlertDialogCancelExpose, sv as AlertDialogPortalExpose, tv as AlertDialogActionExpose, uv as AlertDialogState, vv as _default$4, xv as _default$1, yv as _default$3 } from "./announcer-DVvPXOat.mjs";
1
+ import { Sv as _default, _v as _default$5, av as AlertDialogDescriptionExpose, cv as AlertDialogRootExpose, dv as AlertDialogTitleExpose, ev as _default$2, fv as AlertDialogTriggerExpose, gv as _default$6, hv as _default$7, iv as AlertDialogContentExpose, lv as AlertDialogSlotState, nv as AlertDialogAutoFocusEvent, ov as AlertDialogOverlayExpose, rv as AlertDialogCancelExpose, sv as AlertDialogPortalExpose, tv as AlertDialogActionExpose, uv as AlertDialogState, vv as _default$4, xv as _default$1, yv as _default$3 } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as AlertDialog, _default as AlertDialogRoot, _default$1 as AlertDialogAction, _default$1 as AlertDialogCancel, type AlertDialogActionExpose, type AlertDialogAutoFocusEvent, type AlertDialogCancelExpose, _default$2 as AlertDialogContent, type AlertDialogContentExpose, _default$3 as AlertDialogDescription, type AlertDialogDescriptionExpose, _default$4 as AlertDialogOverlay, type AlertDialogOverlayExpose, _default$5 as AlertDialogPortal, type AlertDialogPortalExpose, type AlertDialogRootExpose, type AlertDialogSlotState, type AlertDialogState, _default$6 as AlertDialogTitle, type AlertDialogTitleExpose, _default$7 as AlertDialogTrigger, type AlertDialogTriggerExpose };
@@ -1,6 +1,6 @@
1
+ import { n as PrimitiveElement, t as PrimitiveAs } from "./primitive-Chjc4ate.mjs";
1
2
  import { c as PlainYearMonth, i as IsoWeek, l as Weekday, r as DateRange, s as PlainDate, t as DateMatcher } from "./plain-date-By3bTWQG.mjs";
2
3
  import { t as DeterministicId } from "./deterministic-id-DYQJ7KzM.mjs";
3
- import { n as PrimitiveElement, t as PrimitiveAs } from "./primitive-Chjc4ate.mjs";
4
4
  import { E as CalendarWeekdayLabel, T as CalendarWeekdayFormat, _ as CalendarSelectionMode, b as CalendarState, d as CalendarMonthState, g as CalendarRootExposeBase, l as CalendarDirection, m as CalendarNavigationUnit, y as CalendarSlotState } from "./calendar-year-select.vue-BohqVCaU.mjs";
5
5
  import { t as DateTimeNow } from "./calendar-today-Djkf8bII.mjs";
6
6
  import { c as FieldSegmentBounds, d as SegmentedFieldState, l as FieldSegmentState, n as DateFieldSlotState, r as FieldSegmentPlaceholders } from "./date-field-types-DLPWPJUu.mjs";
@@ -11989,14 +11989,14 @@ declare const __VLS_base$70: import("vue").DefineComponent<__VLS_Props$57, {
11989
11989
  setLayout: typeof setLayout;
11990
11990
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11991
11991
  resize: (layout: SplitterLayout, reason: SplitterResizeReason) => any;
11992
- "update:layout": (layout: SplitterLayout) => any;
11993
11992
  resizeStart: (handleIndex: number) => any;
11994
11993
  resizeEnd: (layout: SplitterLayout) => any;
11994
+ "update:layout": (layout: SplitterLayout) => any;
11995
11995
  }, string, import("vue").PublicProps, Readonly<__VLS_Props$57> & Readonly<{
11996
11996
  onResize?: (layout: SplitterLayout, reason: SplitterResizeReason) => any;
11997
- "onUpdate:layout"?: (layout: SplitterLayout) => any;
11998
11997
  onResizeStart?: (handleIndex: number) => any;
11999
11998
  onResizeEnd?: (layout: SplitterLayout) => any;
11999
+ "onUpdate:layout"?: (layout: SplitterLayout) => any;
12000
12000
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12001
12001
  declare const __VLS_export$94: __VLS_WithSlots$70<typeof __VLS_base$70, __VLS_Slots$70>;
12002
12002
  declare const _default$94: typeof __VLS_export$94;
@@ -18178,12 +18178,12 @@ declare const __VLS_export$20: <T, K extends TreeKey>(__VLS_props: NonNullable<A
18178
18178
  */
18179
18179
  readonly ariaDescribedby?: string;
18180
18180
  } & {
18181
- "onUpdate:selected"?: (keys: readonly K[]) => any;
18182
18181
  onLoad?: (key: K, children: readonly T[]) => any;
18183
18182
  onAction?: (key: K, node: T, nativeEvent: Event) => any;
18183
+ "onUpdate:selected"?: (keys: readonly K[]) => any;
18184
18184
  "onUpdate:expanded"?: (keys: readonly K[]) => any;
18185
- onLoadError?: (key: K, error: unknown) => any;
18186
18185
  "onUpdate:checked"?: (keys: readonly K[]) => any;
18186
+ onLoadError?: (key: K, error: unknown) => any;
18187
18187
  }> & (typeof globalThis extends {
18188
18188
  __VLS_PROPS_FALLBACK: infer P;
18189
18189
  } ? P : {});
@@ -18210,7 +18210,7 @@ declare const __VLS_export$20: <T, K extends TreeKey>(__VLS_props: NonNullable<A
18210
18210
  slots: {
18211
18211
  /** TreeItem rows. Receives rendered rows, every visible row, and selection state. */default?(props: TreeSlotState<T, K>): unknown;
18212
18212
  };
18213
- emit: ((evt: "update:selected", keys: readonly K[]) => void) & ((evt: "load", key: K, children: readonly T[]) => void) & ((evt: "action", key: K, node: T, nativeEvent: Event) => void) & ((evt: "update:expanded", keys: readonly K[]) => void) & ((evt: "loadError", key: K, error: unknown) => void) & ((evt: "update:checked", keys: readonly K[]) => void);
18213
+ emit: ((evt: "load", key: K, children: readonly T[]) => void) & ((evt: "action", key: K, node: T, nativeEvent: Event) => void) & ((evt: "update:selected", keys: readonly K[]) => void) & ((evt: "update:expanded", keys: readonly K[]) => void) & ((evt: "update:checked", keys: readonly K[]) => void) & ((evt: "loadError", key: K, error: unknown) => void);
18214
18214
  }>) => import("vue").VNode & {
18215
18215
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
18216
18216
  };
@@ -1,2 +1,2 @@
1
- import { a as createAnnouncer, c as AnnouncerController, d as AnnouncerOwnership, f as AnnouncerPoliteness, i as announcerContext, l as AnnouncerMessageOptions, m as BusyAnnouncementOptions, n as createBusyAnnouncement, o as useAnnouncer, p as BusyAnnouncement, r as useBusyAnnouncement, s as useAnnouncerOwnership, t as _default, u as AnnouncerOptions } from "./announcer-DVvPXOat.mjs";
1
+ import { a as createAnnouncer, c as AnnouncerController, d as AnnouncerOwnership, f as AnnouncerPoliteness, i as announcerContext, l as AnnouncerMessageOptions, m as BusyAnnouncementOptions, n as createBusyAnnouncement, o as useAnnouncer, p as BusyAnnouncement, r as useBusyAnnouncement, s as useAnnouncerOwnership, t as _default, u as AnnouncerOptions } from "./announcer-B8tTsf_z.mjs";
2
2
  export { type AnnouncerController, type AnnouncerMessageOptions, type AnnouncerOptions, type AnnouncerOwnership, type AnnouncerPoliteness, _default as AnnouncerProvider, type BusyAnnouncement, type BusyAnnouncementOptions, announcerContext, createAnnouncer, createBusyAnnouncement, useAnnouncer, useAnnouncerOwnership, useBusyAnnouncement };
@@ -1,2 +1,2 @@
1
- import { Fa as _default$1, Ma as _default$2, Na as _default$3, Pa as _default$4, ca as AutocompleteRootProps, da as WebStorageHistoryOptions, fa as createWebStorageHistory, ja as _default$5, la as AutocompleteSlotState, ma as removeAutocompleteHistory, oa as _default, pa as pushAutocompleteHistory, sa as AutocompleteRootExpose, ua as AutocompleteHistoryStorage } from "./announcer-DVvPXOat.mjs";
1
+ import { Fa as _default$1, Ma as _default$2, Na as _default$3, Pa as _default$4, ca as AutocompleteRootProps, da as WebStorageHistoryOptions, fa as createWebStorageHistory, ja as _default$5, la as AutocompleteSlotState, ma as removeAutocompleteHistory, oa as _default, pa as pushAutocompleteHistory, sa as AutocompleteRootExpose, ua as AutocompleteHistoryStorage } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Autocomplete, _default as AutocompleteRoot, _default$1 as AutocompleteContent, _default$2 as AutocompleteEmpty, type AutocompleteHistoryStorage, _default$3 as AutocompleteInput, _default$4 as AutocompleteItem, _default$5 as AutocompleteLoading, type AutocompleteRootExpose, type AutocompleteRootProps, type AutocompleteSlotState, type WebStorageHistoryOptions, createWebStorageHistory, pushAutocompleteHistory, removeAutocompleteHistory };
package/dist/avatar.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _S as AvatarPresence, bS as AvatarStatus, cS as AvatarElement, dS as AvatarImageCrossOrigin, fS as AvatarImageDecoding, gS as AvatarImageReferrerPolicy, hS as AvatarImageLoading, lS as AvatarExpose, mS as AvatarImageFetchPriority, pS as AvatarImageElement, sS as _default, uS as AvatarFallbackElement, vS as AvatarSlotState, yS as AvatarState } from "./announcer-DVvPXOat.mjs";
1
+ import { _S as AvatarPresence, bS as AvatarStatus, cS as AvatarElement, dS as AvatarImageCrossOrigin, fS as AvatarImageDecoding, gS as AvatarImageReferrerPolicy, hS as AvatarImageLoading, lS as AvatarExpose, mS as AvatarImageFetchPriority, pS as AvatarImageElement, sS as _default, uS as AvatarFallbackElement, vS as AvatarSlotState, yS as AvatarState } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Avatar, type AvatarElement, type AvatarExpose, type AvatarFallbackElement, type AvatarImageCrossOrigin, type AvatarImageDecoding, type AvatarImageElement, type AvatarImageFetchPriority, type AvatarImageLoading, type AvatarImageReferrerPolicy, type AvatarPresence, type AvatarSlotState, type AvatarState, type AvatarStatus };
package/dist/badge.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { aS as BadgeTone, iS as BadgeSlotState, nS as BadgeElement, oS as BadgeVariant, rS as BadgeExpose, tS as _default } from "./announcer-DVvPXOat.mjs";
1
+ import { aS as BadgeTone, iS as BadgeSlotState, nS as BadgeElement, oS as BadgeVariant, rS as BadgeExpose, tS as _default } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Badge, type BadgeElement, type BadgeExpose, type BadgeSlotState, type BadgeTone, type BadgeVariant };
package/dist/banner.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $x as BannerState, Bx as BannerAriaInput, Gx as BannerElement, Hx as normalizeBannerAria, Jx as BannerLive, Kx as BannerEmits, Qx as BannerSlots, Ux as _default, Vx as NormalizedBannerAria, Wx as BannerAriaState, Xx as BannerRole, Yx as BannerProps, Zx as BannerSlotState, eS as BannerTone, qx as BannerExpose } from "./announcer-DVvPXOat.mjs";
1
+ import { $x as BannerState, Bx as BannerAriaInput, Gx as BannerElement, Hx as normalizeBannerAria, Jx as BannerLive, Kx as BannerEmits, Qx as BannerSlots, Ux as _default, Vx as NormalizedBannerAria, Wx as BannerAriaState, Xx as BannerRole, Yx as BannerProps, Zx as BannerSlotState, eS as BannerTone, qx as BannerExpose } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Banner, type BannerAriaInput, type BannerAriaState, type BannerElement, type BannerEmits, type BannerExpose, type BannerLive, type BannerProps, type BannerRole, type BannerSlotState, type BannerSlots, type BannerState, type BannerTone, type NormalizedBannerAria, normalizeBannerAria };
@@ -1,2 +1,2 @@
1
- import { Fx as BlockUIExpose, Ix as BlockUIInteraction, Lx as BlockUIReason, Mx as _default, Nx as BlockUIAnnouncement, Px as BlockUIElement, Rx as BlockUISlotState, zx as BlockUIState } from "./announcer-DVvPXOat.mjs";
1
+ import { Fx as BlockUIExpose, Ix as BlockUIInteraction, Lx as BlockUIReason, Mx as _default, Nx as BlockUIAnnouncement, Px as BlockUIElement, Rx as BlockUISlotState, zx as BlockUIState } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as BlockUI, type BlockUIAnnouncement, type BlockUIElement, type BlockUIExpose, type BlockUIInteraction, type BlockUIReason, type BlockUISlotState, type BlockUIState };
@@ -1,2 +1,2 @@
1
- import { Fb as BlockquoteSize, Ib as BlockquoteSlotState, Lb as BlockquoteTone, Mb as _default, Nb as BlockquoteElement, Pb as BlockquoteExpose } from "./announcer-DVvPXOat.mjs";
1
+ import { Fb as BlockquoteSize, Ib as BlockquoteSlotState, Lb as BlockquoteTone, Mb as _default, Nb as BlockquoteElement, Pb as BlockquoteExpose } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Blockquote, type BlockquoteElement, type BlockquoteExpose, type BlockquoteSize, type BlockquoteSlotState, type BlockquoteTone };
@@ -139,7 +139,7 @@ type __VLS_Slots$2 = {
139
139
  };
140
140
  declare function focus(options?: FocusOptions): void;
141
141
  declare const __VLS_base$2: import("vue").DefineComponent<__VLS_Props$2, {
142
- ariaCurrent: import("vue").ComputedRef<"step" | "time" | "page" | "date" | "location" | undefined>;
142
+ ariaCurrent: import("vue").ComputedRef<"time" | "step" | "page" | "date" | "location" | undefined>;
143
143
  current: import("vue").ComputedRef<boolean>;
144
144
  element: Readonly<import("vue").ShallowRef<PrimitiveElement | null>>;
145
145
  focus: typeof focus;
@@ -1,2 +1,2 @@
1
- import { a as _default, c as BreadcrumbItemSlotState, d as BreadcrumbListExpose, f as BreadcrumbRootExpose, h as BreadcrumbSeparatorSlotState, i as _default$1, l as BreadcrumbLinkExpose, m as BreadcrumbSeparatorExpose, n as _default$3, o as BreadcrumbCurrent, p as BreadcrumbRootSlotState, r as _default$2, s as BreadcrumbItemExpose, t as _default$4, u as BreadcrumbLinkSlotState } from "./breadcrumb-aITc0VLc.mjs";
1
+ import { a as _default, c as BreadcrumbItemSlotState, d as BreadcrumbListExpose, f as BreadcrumbRootExpose, h as BreadcrumbSeparatorSlotState, i as _default$1, l as BreadcrumbLinkExpose, m as BreadcrumbSeparatorExpose, n as _default$3, o as BreadcrumbCurrent, p as BreadcrumbRootSlotState, r as _default$2, s as BreadcrumbItemExpose, t as _default$4, u as BreadcrumbLinkSlotState } from "./breadcrumb-SsZSEerN.mjs";
2
2
  export { _default as Breadcrumb, _default as BreadcrumbRoot, type BreadcrumbCurrent, _default$1 as BreadcrumbItem, type BreadcrumbItemExpose, type BreadcrumbItemSlotState, _default$2 as BreadcrumbLink, type BreadcrumbLinkExpose, type BreadcrumbLinkSlotState, _default$3 as BreadcrumbList, type BreadcrumbListExpose, type BreadcrumbRootExpose, type BreadcrumbRootSlotState, _default$4 as BreadcrumbSeparator, type BreadcrumbSeparatorExpose, type BreadcrumbSeparatorSlotState };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
2
2
  import { computed, createBlock, defineComponent, openBlock, renderSlot, resolveDynamicComponent, useTemplateRef, withCtx } from "vue";
3
- //#region src/families/actions/button/button-keyboard.ts
3
+ //#region src/components/button/keyboard.ts
4
4
  /**
5
5
  * Resolve native-equivalent activation timing for a non-native button.
6
6
  *
@@ -13,7 +13,7 @@ function getButtonKeyboardAction(key, phase) {
13
13
  return "ignore";
14
14
  }
15
15
  //#endregion
16
- //#region src/families/actions/button/button.vue
16
+ //#region src/components/button/button.vue
17
17
  var button_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
18
18
  __name: "button",
19
19
  props: {
@@ -41,6 +41,21 @@ var button_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
41
41
  type: Boolean,
42
42
  required: false,
43
43
  default: false
44
+ },
45
+ variant: {
46
+ type: String,
47
+ required: false,
48
+ default: "solid"
49
+ },
50
+ tone: {
51
+ type: String,
52
+ required: false,
53
+ default: "accent"
54
+ },
55
+ size: {
56
+ type: String,
57
+ required: false,
58
+ default: "md"
44
59
  }
45
60
  },
46
61
  emits: ["press"],
@@ -101,6 +116,9 @@ var button_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
101
116
  "aria-busy": __props.loading ? "true" : void 0,
102
117
  "data-vize-ui": "button",
103
118
  "data-state": __props.disabled ? "disabled" : __props.loading ? "loading" : "idle",
119
+ "data-variant": __props.variant,
120
+ "data-tone": __props.tone,
121
+ "data-size": __props.size,
104
122
  onClick,
105
123
  onKeydown,
106
124
  onKeyup
@@ -118,10 +136,13 @@ var button_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
118
136
  "tabindex",
119
137
  "aria-disabled",
120
138
  "aria-busy",
121
- "data-state"
139
+ "data-state",
140
+ "data-variant",
141
+ "data-tone",
142
+ "data-size"
122
143
  ]);
123
144
  };
124
145
  }
125
- }), [["__scopeId", "data-v-49599542"]]);
146
+ }), [["__scopeId", "data-v-7a9642c5"]]);
126
147
  //#endregion
127
148
  export { getButtonKeyboardAction as n, button_default as t };
package/dist/button.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as getButtonKeyboardAction, n as ButtonKeyboardAction, r as ButtonKeyboardPhase, t as _default } from "./button-DuC3YHRk.mjs";
2
- export { _default as Button, ButtonKeyboardAction, ButtonKeyboardPhase, getButtonKeyboardAction };
1
+ import { a as ButtonTone, c as ButtonKeyboardPhase, i as ButtonSlotProps, l as getButtonKeyboardAction, n as ButtonProps, o as ButtonVariant, r as ButtonSize, s as ButtonKeyboardAction, t as _default } from "./index-BpOePbCq.mjs";
2
+ export { _default as Button, ButtonKeyboardAction, ButtonKeyboardPhase, type ButtonProps, type ButtonSize, type ButtonSlotProps, type ButtonTone, type ButtonVariant, getButtonKeyboardAction };
package/dist/button.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as getButtonKeyboardAction, t as button_default } from "./button-VVxUavbS.mjs";
1
+ import { n as getButtonKeyboardAction, t as button_default } from "./button-Cc-XkuJl.mjs";
2
2
  export { button_default as Button, getButtonKeyboardAction };
@@ -1,5 +1,5 @@
1
1
  import { A as isLeapYear, B as parseIsoWeek, C as formatIsoWeek, D as fromUtcDate, E as fromLocalDate, F as isoWeekOf, G as toEpochDay, H as startOfIsoWeek, I as monthsBetween, J as toYearMonth, K as toLocalDate, L as normalizeDateRange, M as isSameMonth, N as isSameRange, O as isDateInRange, P as isValidPlainDate, R as normalizePlainDate, S as formatIsoDate, T as fromEpochMilliseconds, U as startOfMonth, V as shiftYearMonth, W as startOfWeek, _ as dayOfWeek, a as PLAIN_DATE_MAX_YEAR, b as endOfMonth, c as PlainYearMonth, d as addMonths, f as addYears, g as createPlainDate, h as createDateRange, i as IsoWeek, j as isSameDay, k as isDateWithin, l as Weekday, m as compareDates, n as DateOrder, o as PLAIN_DATE_MIN_YEAR, p as clampDate, q as toUtcDate, r as DateRange, s as PlainDate, t as DateMatcher, u as addDays, v as daysBetween, w as fromEpochDay, x as endOfWeek, y as daysInMonth, z as parseIsoDate } from "./plain-date-By3bTWQG.mjs";
2
- import { _x as normalizeDateList, vx as _default$4, yx as _default } from "./announcer-DVvPXOat.mjs";
2
+ import { _x as normalizeDateList, vx as _default$4, yx as _default } from "./announcer-B8tTsf_z.mjs";
3
3
  import { C as CalendarFormatters, D as createCalendarFormatters, E as CalendarWeekdayLabel, O as resolveWeekStart, S as CalendarWeekdaySlotState, T as CalendarWeekdayFormat, _ as CalendarSelectionMode, a as _default$2, b as CalendarState, c as CalendarDayStateToken, d as CalendarMonthState, f as CalendarMultipleRootExpose, g as CalendarRootExposeBase, h as CalendarRootExpose, i as _default$3, l as CalendarDirection, m as CalendarNavigationUnit, n as _default$6, o as _default$1, p as CalendarNavigationSlotState, r as _default$5, s as CalendarDayState, t as _default$7, u as CalendarHeadingSlotState, v as CalendarSharedProps, w as CalendarLocaleOptions, x as CalendarWeekNumberSlotState, y as CalendarSlotState } from "./calendar-year-select.vue-BohqVCaU.mjs";
4
4
  import { n as TodayOptions, r as useToday, t as DateTimeNow } from "./calendar-today-Djkf8bII.mjs";
5
5
  export { _default as Calendar, _default as CalendarRoot, type CalendarDayState, type CalendarDayStateToken, type CalendarDirection, type CalendarFormatters, _default$1 as CalendarGrid, _default$2 as CalendarHeading, type CalendarHeadingSlotState, type CalendarLocaleOptions, _default$3 as CalendarMonthSelect, type CalendarMonthState, _default$4 as CalendarMultipleRoot, _default$4 as MultipleCalendar, type CalendarMultipleRootExpose, type CalendarNavigationSlotState, type CalendarNavigationUnit, _default$5 as CalendarNext, _default$6 as CalendarPrev, type CalendarRootExpose, type CalendarRootExposeBase, type CalendarSelectionMode, type CalendarSharedProps, type CalendarSlotState, type CalendarState, type CalendarWeekNumberSlotState, type CalendarWeekdayFormat, type CalendarWeekdayLabel, type CalendarWeekdaySlotState, _default$7 as CalendarYearSelect, type DateMatcher, type DateOrder, type DateRange, type DateTimeNow, type IsoWeek, PLAIN_DATE_MAX_YEAR, PLAIN_DATE_MIN_YEAR, type PlainDate, type PlainYearMonth, type TodayOptions, type Weekday, addDays, addMonths, addYears, clampDate, compareDates, createCalendarFormatters, createDateRange, createPlainDate, dayOfWeek, daysBetween, daysInMonth, endOfMonth, endOfWeek, formatIsoDate, formatIsoWeek, fromEpochDay, fromEpochMilliseconds, fromLocalDate, fromUtcDate, isDateInRange, isDateWithin, isLeapYear, isSameDay, isSameMonth, isSameRange, isValidPlainDate, isoWeekOf, monthsBetween, normalizeDateList, normalizeDateRange, normalizePlainDate, parseIsoDate, parseIsoWeek, resolveWeekStart, shiftYearMonth, startOfIsoWeek, startOfMonth, startOfWeek, toEpochDay, toLocalDate, toUtcDate, toYearMonth, useToday };
@@ -1,2 +1,2 @@
1
- import { Ax as CalloutState, Cx as CalloutElement, Dx as CalloutRole, Ex as CalloutProps, Ox as CalloutSlotState, Sx as CalloutDensity, Tx as CalloutLive, bx as _default, jx as CalloutTone, kx as CalloutSlots, wx as CalloutExpose, xx as CalloutAriaState } from "./announcer-DVvPXOat.mjs";
1
+ import { Ax as CalloutState, Cx as CalloutElement, Dx as CalloutRole, Ex as CalloutProps, Ox as CalloutSlotState, Sx as CalloutDensity, Tx as CalloutLive, bx as _default, jx as CalloutTone, kx as CalloutSlots, wx as CalloutExpose, xx as CalloutAriaState } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Callout, type CalloutAriaState, type CalloutDensity, type CalloutElement, type CalloutExpose, type CalloutLive, type CalloutProps, type CalloutRole, type CalloutSlotState, type CalloutSlots, type CalloutState, type CalloutTone };
package/dist/card.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { By as CardVariant, Fy as CardDensity, Iy as CardElement, Ly as CardExpose, Py as _default, Ry as CardSlotState, zy as CardTone } from "./announcer-DVvPXOat.mjs";
1
+ import { By as CardVariant, Fy as CardDensity, Iy as CardElement, Ly as CardExpose, Py as _default, Ry as CardSlotState, zy as CardTone } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Card, type CardDensity, type CardElement, type CardExpose, type CardSlotState, type CardTone, type CardVariant };
@@ -312,8 +312,8 @@ declare const __VLS_export$5: <T, Multiple extends boolean = false>(__VLS_props:
312
312
  "onUpdate:modelValue"?: (value: CascaderModelValue<T, Multiple>) => any;
313
313
  onChange?: (value: CascaderModelValue<T, Multiple>, previous: CascaderModelValue<T, Multiple>, nativeEvent: Event | null) => any;
314
314
  "onUpdate:open"?: (open: boolean) => any;
315
- "onUpdate:search"?: (query: string) => any;
316
315
  onLoadError?: (node: T, error: unknown) => any;
316
+ "onUpdate:search"?: (query: string) => any;
317
317
  }> & (typeof globalThis extends {
318
318
  __VLS_PROPS_FALLBACK: infer P;
319
319
  } ? P : {});
@@ -331,7 +331,7 @@ declare const __VLS_export$5: <T, Multiple extends boolean = false>(__VLS_props:
331
331
  slots: {
332
332
  /** Trigger, value, and popup parts. Receives columns, selection, and search results. */default?(props: CascaderSlotState<T>): unknown;
333
333
  };
334
- emit: ((evt: "update:modelValue", value: CascaderModelValue<T, Multiple>) => void) & ((evt: "change", value: CascaderModelValue<T, Multiple>, previous: CascaderModelValue<T, Multiple>, nativeEvent: Event | null) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "update:search", query: string) => void) & ((evt: "loadError", node: T, error: unknown) => void);
334
+ emit: ((evt: "update:modelValue", value: CascaderModelValue<T, Multiple>) => void) & ((evt: "change", value: CascaderModelValue<T, Multiple>, previous: CascaderModelValue<T, Multiple>, nativeEvent: Event | null) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "loadError", node: T, error: unknown) => void) & ((evt: "update:search", query: string) => void);
335
335
  }>) => import("vue").VNode & {
336
336
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
337
337
  };
@@ -1,2 +1,2 @@
1
- import { A as flattenCascaderPaths, C as CascaderExpandTrigger, D as createCascaderEquality, E as areCascaderPathsEqual, F as serializeCascaderNode, I as toCascaderSelection, M as joinCascaderPath, N as normalizeCascaderText, O as defaultCascaderChildren, P as searchCascaderPaths, S as CascaderEquality, T as CascaderValueKey, _ as CascaderSlotState, a as _default$1, b as CascaderBy, c as CascaderColumnState, d as CascaderItemState, f as CascaderLoadContext, g as CascaderRootProps, h as CascaderRootExpose, i as _default$2, j as fromCascaderSelection, k as findCascaderPath, l as CascaderContentSlotState, m as CascaderPositionerStrategy, n as _default$4, o as _default, p as CascaderPlacement, r as _default$3, s as CascaderColumnSlotState, t as _default$5, u as CascaderItemSlotState, v as CascaderState, w as CascaderModelValue, x as CascaderChildren, y as CascaderValueSlotState } from "./cascader-Cjq1lBSV.mjs";
1
+ import { A as flattenCascaderPaths, C as CascaderExpandTrigger, D as createCascaderEquality, E as areCascaderPathsEqual, F as serializeCascaderNode, I as toCascaderSelection, M as joinCascaderPath, N as normalizeCascaderText, O as defaultCascaderChildren, P as searchCascaderPaths, S as CascaderEquality, T as CascaderValueKey, _ as CascaderSlotState, a as _default$1, b as CascaderBy, c as CascaderColumnState, d as CascaderItemState, f as CascaderLoadContext, g as CascaderRootProps, h as CascaderRootExpose, i as _default$2, j as fromCascaderSelection, k as findCascaderPath, l as CascaderContentSlotState, m as CascaderPositionerStrategy, n as _default$4, o as _default, p as CascaderPlacement, r as _default$3, s as CascaderColumnSlotState, t as _default$5, u as CascaderItemSlotState, v as CascaderState, w as CascaderModelValue, x as CascaderChildren, y as CascaderValueSlotState } from "./cascader-Dpu7w4FI.mjs";
2
2
  export { _default as Cascader, _default as CascaderRoot, type CascaderBy, type CascaderChildren, _default$1 as CascaderColumn, type CascaderColumnSlotState, type CascaderColumnState, _default$2 as CascaderContent, type CascaderContentSlotState, type CascaderEquality, type CascaderExpandTrigger, _default$3 as CascaderItem, type CascaderItemSlotState, type CascaderItemState, type CascaderLoadContext, type CascaderModelValue, type CascaderPlacement, type CascaderPositionerStrategy, type CascaderRootExpose, type CascaderRootProps, type CascaderSlotState, type CascaderState, _default$4 as CascaderTrigger, _default$5 as CascaderValue, type CascaderValueKey, type CascaderValueSlotState, areCascaderPathsEqual, createCascaderEquality, defaultCascaderChildren, findCascaderPath, flattenCascaderPaths, fromCascaderSelection, joinCascaderPath, normalizeCascaderText, searchCascaderPaths, serializeCascaderNode, toCascaderSelection };
@@ -30,6 +30,8 @@ interface UiFamilyCatalogEntry {
30
30
  readonly sourceFiles: readonly `src/${string}`[];
31
31
  /** Normative behavior table for this family. */
32
32
  readonly behaviorContract: `src/${string}.behavior.md`;
33
+ /** Authored usage guidance embedded in the generated reference page. */
34
+ readonly documentation?: `src/${string}.guide.md`;
33
35
  /** Runtime or mounted-DOM tests that exercise behavior. */
34
36
  readonly tests: readonly `src/${string}.test.ts`[];
35
37
  /** Compile-only public type tests. */
@@ -380,11 +382,13 @@ declare const uiFamilyCatalog: ({
380
382
  readonly canonicalName: "button";
381
383
  readonly title: "Button";
382
384
  readonly packageSubpath: "./button";
383
- readonly entryFile: "src/families/actions/button/button.ts";
384
- readonly sourceFiles: readonly ["src/families/actions/button/button.vue", "src/families/actions/button/button.ts", "src/families/actions/button/button-visual.css", "src/families/actions/button/button-keyboard.ts"];
385
- readonly behaviorContract: "src/families/actions/button/button.behavior.md";
386
- readonly tests: readonly ["src/families/actions/button/button.test.ts"];
387
- readonly rendererFixture: "families/actions/button/button.vue";
385
+ readonly entryFile: "src/components/button/index.ts";
386
+ readonly sourceFiles: readonly ["src/components/button/button.vue", "src/components/button/index.ts", "src/components/button/keyboard.ts", "src/components/button/styles.css", "src/components/button/types.ts"];
387
+ readonly behaviorContract: "src/components/button/button.behavior.md";
388
+ readonly documentation: "src/components/button/button.guide.md";
389
+ readonly tests: readonly ["src/components/button/tests/behavior.test.ts"];
390
+ readonly typeTests: readonly ["src/components/button/tests/button.types.test-d.ts"];
391
+ readonly rendererFixture: "components/button/button.vue";
388
392
  readonly qualityGates: readonly ["behavior-contract", "mounted-dom", "type-inference", "tree-shaking", "bundle-size", "ssr", "hydration", "dom-compile", "ssr-compile", "vapor-compile"];
389
393
  readonly bundleBudget: {
390
394
  readonly exportName: "Button";
package/dist/catalog.mjs CHANGED
@@ -778,23 +778,28 @@ const stickyFamilyCatalog = [{
778
778
  owner: catalogOwner
779
779
  }];
780
780
  //#endregion
781
+ //#region src/components/button/metadata.ts
782
+ const root = "src/components/button/";
783
+ //#endregion
781
784
  //#region src/catalog/family-catalog-actions.ts
782
- const buttonFamilyRoot = "src/families/actions/button/";
783
785
  const actionFamilyCatalog = [
784
786
  {
785
787
  canonicalName: "button",
786
788
  title: "Button",
787
789
  packageSubpath: "./button",
788
- entryFile: `${buttonFamilyRoot}button.ts`,
789
- sourceFiles: [
790
- `${buttonFamilyRoot}button.vue`,
791
- `${buttonFamilyRoot}button.ts`,
792
- `${buttonFamilyRoot}button-visual.css`,
793
- `${buttonFamilyRoot}button-keyboard.ts`
794
- ],
795
- behaviorContract: `${buttonFamilyRoot}button.behavior.md`,
796
- tests: [`${buttonFamilyRoot}button.test.ts`],
797
- rendererFixture: "families/actions/button/button.vue",
790
+ entryFile: `${root}index.ts`,
791
+ sourceFiles: [
792
+ `${root}button.vue`,
793
+ `${root}index.ts`,
794
+ `${root}keyboard.ts`,
795
+ `${root}styles.css`,
796
+ `${root}types.ts`
797
+ ],
798
+ behaviorContract: `${root}button.behavior.md`,
799
+ documentation: `${root}button.guide.md`,
800
+ tests: [`${root}tests/behavior.test.ts`],
801
+ typeTests: [`${root}tests/button.types.test-d.ts`],
802
+ rendererFixture: "components/button/button.vue",
798
803
  qualityGates: componentQualityGates,
799
804
  bundleBudget: {
800
805
  exportName: "Button",
package/dist/chart.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $t as _default$10, Gt as ChartNavigablePoint, Jt as useChartNavigation, Kt as ChartNavigation, Qt as _default$11, Sn as ChartTableColumn, Xt as defaultTickFormatter, Yt as defaultCellFormatter, Zt as isTimeScale, _n as ChartMargin, an as _default$4, bn as ChartSeriesKind, cn as _default$1, dn as ChartActiveReason, en as _default$9, fn as ChartAxisOrientation, gn as ChartDimensions, hn as ChartCurve, in as _default$5, ln as _default, mn as ChartAxisTick, nn as _default$7, on as _default$3, pn as ChartAxisScale, qt as ChartNavigationItemProps, rn as _default$6, sn as _default$2, tn as _default$8, un as ChartActivePoint, vn as ChartRootExpose, xn as ChartSlotState, yn as ChartSeriesInfo } from "./announcer-DVvPXOat.mjs";
1
+ import { $t as _default$10, Gt as ChartNavigablePoint, Jt as useChartNavigation, Kt as ChartNavigation, Qt as _default$11, Sn as ChartTableColumn, Xt as defaultTickFormatter, Yt as defaultCellFormatter, Zt as isTimeScale, _n as ChartMargin, an as _default$4, bn as ChartSeriesKind, cn as _default$1, dn as ChartActiveReason, en as _default$9, fn as ChartAxisOrientation, gn as ChartDimensions, hn as ChartCurve, in as _default$5, ln as _default, mn as ChartAxisTick, nn as _default$7, on as _default$3, pn as ChartAxisScale, qt as ChartNavigationItemProps, rn as _default$6, sn as _default$2, tn as _default$8, un as ChartActivePoint, vn as ChartRootExpose, xn as ChartSlotState, yn as ChartSeriesInfo } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Chart, _default as ChartRoot, type ChartActivePoint, type ChartActiveReason, _default$1 as ChartArea, _default$2 as ChartAxis, type ChartAxisOrientation, type ChartAxisScale, type ChartAxisTick, _default$3 as ChartBars, _default$4 as ChartCrosshair, type ChartCurve, _default$5 as ChartDataTable, type ChartDimensions, _default$6 as ChartGrid, _default$7 as ChartLegend, _default$8 as ChartLine, type ChartMargin, type ChartNavigablePoint, type ChartNavigation, type ChartNavigationItemProps, _default$9 as ChartPie, _default$10 as ChartPoints, type ChartRootExpose, type ChartSeriesInfo, type ChartSeriesKind, type ChartSlotState, type ChartTableColumn, _default$11 as ChartTooltip, defaultCellFormatter, defaultTickFormatter, isTimeScale, useChartNavigation };
@@ -1,2 +1,2 @@
1
- import { ay as _default, oy as CheckboxState, sy as getCheckboxState } from "./announcer-DVvPXOat.mjs";
1
+ import { ay as _default, oy as CheckboxState, sy as getCheckboxState } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Checkbox, CheckboxState, getCheckboxState };
package/dist/code.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { Ay as CodeSize, Dy as _default, My as CodeTone, Ny as CodeVariant, Oy as CodeElement, jy as CodeSlotState, ky as CodeExpose } from "./announcer-DVvPXOat.mjs";
1
+ import { Ay as CodeSize, Dy as _default, My as CodeTone, Ny as CodeVariant, Oy as CodeElement, jy as CodeSlotState, ky as CodeExpose } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Code, type CodeElement, type CodeExpose, type CodeSize, type CodeSlotState, type CodeTone, type CodeVariant };
@@ -1,2 +1,2 @@
1
- import { _y as CollapsibleState, cy as CollapsibleContextValue, dy as _default$1, fy as _default, gy as CollapsibleSlotState, hy as CollapsibleRootExpose, ly as collapsibleContext, my as CollapsibleContentRole, py as CollapsibleContentExpose, uy as _default$2, vy as CollapsibleTriggerExpose } from "./announcer-DVvPXOat.mjs";
1
+ import { _y as CollapsibleState, cy as CollapsibleContextValue, dy as _default$1, fy as _default, gy as CollapsibleSlotState, hy as CollapsibleRootExpose, ly as collapsibleContext, my as CollapsibleContentRole, py as CollapsibleContentExpose, uy as _default$2, vy as CollapsibleTriggerExpose } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Collapsible, _default as CollapsibleRoot, _default$1 as CollapsibleContent, type CollapsibleContentExpose, type CollapsibleContentRole, type CollapsibleContextValue, type CollapsibleRootExpose, type CollapsibleSlotState, type CollapsibleState, _default$2 as CollapsibleTrigger, type CollapsibleTriggerExpose, collapsibleContext };
@@ -1,2 +1,2 @@
1
- import { $u as ColorPickerEyeDropperState, Ad as getColorChannelValue, Bu as _default$2, Cd as formatColor, Dd as getColorChannelGradient, Ed as fromRgba, Fd as setColorChannelValue, Gu as ColorPickerChangeDetail, Hu as _default, Id as snapColorChannelValue, Iu as _default$6, Ju as ColorPickerChannelSliderSlotState, Ku as ColorPickerChangeSource, Ld as toCssColor, Lu as _default$5, Md as isColorValue, Nd as parseColor, Od as getColorChannelLabel, Pd as resolveColorChannelSpace, Qu as ColorPickerEyeDropperSlotState, Rd as toHsla, Ru as _default$4, Sd as createColor, Td as fromHsla, Uu as ColorPickerAreaExpose, Vu as _default$1, Wu as ColorPickerAreaSlotState, Xu as ColorPickerEyeDropperExpose, Yu as ColorPickerDirection, Zu as ColorPickerEyeDropperFallback, _d as ColorValue, ad as ColorPickerSlotState, bd as RgbaColor, cd as ColorPickerSwatchGroupExpose, dd as ColorChannel, ed as ColorPickerFieldExpose, fd as ColorChannelRange, gd as ColorSpaceChannelMap, hd as ColorSpaceChannel, id as ColorPickerRootExpose, jd as isColorFormat, kd as getColorChannelRange, ld as ColorPickerSwatchSlotState, md as ColorSpace, nd as ColorPickerMessages, od as ColorPickerState, pd as ColorFormat, qu as ColorPickerChannelSliderExpose, rd as ColorPickerOrientation, sd as ColorPickerSwatchExpose, td as ColorPickerFieldState, ud as ColorPickerSwatchState, vd as DEFAULT_COLOR, wd as formatColorChannelValue, xd as colorEquals, yd as HslaColor, zd as toRgba, zu as _default$3 } from "./announcer-DVvPXOat.mjs";
1
+ import { $u as ColorPickerEyeDropperState, Ad as getColorChannelValue, Bu as _default$2, Cd as formatColor, Dd as getColorChannelGradient, Ed as fromRgba, Fd as setColorChannelValue, Gu as ColorPickerChangeDetail, Hu as _default, Id as snapColorChannelValue, Iu as _default$6, Ju as ColorPickerChannelSliderSlotState, Ku as ColorPickerChangeSource, Ld as toCssColor, Lu as _default$5, Md as isColorValue, Nd as parseColor, Od as getColorChannelLabel, Pd as resolveColorChannelSpace, Qu as ColorPickerEyeDropperSlotState, Rd as toHsla, Ru as _default$4, Sd as createColor, Td as fromHsla, Uu as ColorPickerAreaExpose, Vu as _default$1, Wu as ColorPickerAreaSlotState, Xu as ColorPickerEyeDropperExpose, Yu as ColorPickerDirection, Zu as ColorPickerEyeDropperFallback, _d as ColorValue, ad as ColorPickerSlotState, bd as RgbaColor, cd as ColorPickerSwatchGroupExpose, dd as ColorChannel, ed as ColorPickerFieldExpose, fd as ColorChannelRange, gd as ColorSpaceChannelMap, hd as ColorSpaceChannel, id as ColorPickerRootExpose, jd as isColorFormat, kd as getColorChannelRange, ld as ColorPickerSwatchSlotState, md as ColorSpace, nd as ColorPickerMessages, od as ColorPickerState, pd as ColorFormat, qu as ColorPickerChannelSliderExpose, rd as ColorPickerOrientation, sd as ColorPickerSwatchExpose, td as ColorPickerFieldState, ud as ColorPickerSwatchState, vd as DEFAULT_COLOR, wd as formatColorChannelValue, xd as colorEquals, yd as HslaColor, zd as toRgba, zu as _default$3 } from "./announcer-B8tTsf_z.mjs";
2
2
  export { type ColorChannel, type ColorChannelRange, type ColorFormat, _default as ColorPicker, _default as ColorPickerRoot, _default$1 as ColorPickerArea, type ColorPickerAreaExpose, type ColorPickerAreaSlotState, type ColorPickerChangeDetail, type ColorPickerChangeSource, _default$2 as ColorPickerChannelSlider, type ColorPickerChannelSliderExpose, type ColorPickerChannelSliderSlotState, type ColorPickerDirection, _default$3 as ColorPickerEyeDropper, type ColorPickerEyeDropperExpose, type ColorPickerEyeDropperFallback, type ColorPickerEyeDropperSlotState, type ColorPickerEyeDropperState, _default$4 as ColorPickerField, type ColorPickerFieldExpose, type ColorPickerFieldState, type ColorPickerMessages, type ColorPickerOrientation, type ColorPickerRootExpose, type ColorPickerSlotState, type ColorPickerState, _default$5 as ColorPickerSwatch, type ColorPickerSwatchExpose, _default$6 as ColorPickerSwatchGroup, type ColorPickerSwatchGroupExpose, type ColorPickerSwatchSlotState, type ColorPickerSwatchState, type ColorSpace, type ColorSpaceChannel, type ColorSpaceChannelMap, type ColorValue, DEFAULT_COLOR, type HslaColor, type RgbaColor, colorEquals, createColor, formatColor, formatColorChannelValue, fromHsla, fromRgba, getColorChannelGradient, getColorChannelLabel, getColorChannelRange, getColorChannelValue, isColorFormat, isColorValue, parseColor, resolveColorChannelSpace, setColorChannelValue, snapColorChannelValue, toCssColor, toHsla, toRgba };
@@ -1,2 +1,2 @@
1
- import { $i as _default$7, Aa as startsWithComboboxFilter, Ca as ComboboxSelectionMode, Da as containsComboboxFilter, Ea as ComboboxFilter, Fa as _default$4, Gi as _default$17, Ji as _default$13, Ki as _default$16, Ma as _default$6, Na as _default$8, Oa as inlineComboboxCompletion, Pa as _default$9, Qi as _default$10, Sa as ComboboxRootProps, Ta as ComboboxState, Ua as SelectItemSlotState, Zi as _default$11, _a as ComboboxChipSlotState, aa as _default, ba as ComboboxLoader, ea as _default$15, ga as ComboboxAutocomplete, ha as ComboboxAriaInvalid, ia as _default$1, io as SelectModelValue, ja as _default$12, ka as normalizeComboboxText, na as _default$3, qi as _default$14, ra as _default$2, ro as SelectBy, ta as _default$5, va as ComboboxLoadContext, wa as ComboboxSlotState, xa as ComboboxRootExpose, ya as ComboboxLoadStatus } from "./announcer-DVvPXOat.mjs";
1
+ import { $i as _default$7, Aa as startsWithComboboxFilter, Ca as ComboboxSelectionMode, Da as containsComboboxFilter, Ea as ComboboxFilter, Fa as _default$4, Gi as _default$17, Ji as _default$13, Ki as _default$16, Ma as _default$6, Na as _default$8, Oa as inlineComboboxCompletion, Pa as _default$9, Qi as _default$10, Sa as ComboboxRootProps, Ta as ComboboxState, Ua as SelectItemSlotState, Zi as _default$11, _a as ComboboxChipSlotState, aa as _default, ba as ComboboxLoader, ea as _default$15, ga as ComboboxAutocomplete, ha as ComboboxAriaInvalid, ia as _default$1, io as SelectModelValue, ja as _default$12, ka as normalizeComboboxText, na as _default$3, qi as _default$14, ra as _default$2, ro as SelectBy, ta as _default$5, va as ComboboxLoadContext, wa as ComboboxSlotState, xa as ComboboxRootExpose, ya as ComboboxLoadStatus } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as Combobox, _default as ComboboxRoot, _default$1 as ComboboxAnchor, type ComboboxAriaInvalid, type ComboboxAutocomplete, type SelectBy as ComboboxBy, _default$2 as ComboboxChip, _default$3 as ComboboxChipRemove, type ComboboxChipSlotState, _default$4 as ComboboxContent, _default$5 as ComboboxCreateItem, _default$6 as ComboboxEmpty, type ComboboxFilter, _default$7 as ComboboxGroup, _default$8 as ComboboxInput, _default$9 as ComboboxItem, _default$10 as ComboboxItemIndicator, type SelectItemSlotState as ComboboxItemSlotState, _default$11 as ComboboxLabel, type ComboboxLoadContext, type ComboboxLoadStatus, type ComboboxLoader, _default$12 as ComboboxLoading, type SelectModelValue as ComboboxModelValue, type ComboboxRootExpose, type ComboboxRootProps, _default$13 as ComboboxScrollButton, type ComboboxSelectionMode, _default$14 as ComboboxSeparator, type ComboboxSlotState, type ComboboxState, _default$15 as ComboboxTrigger, _default$16 as ComboboxViewport, _default$17 as ComboboxVirtualizer, containsComboboxFilter, inlineComboboxCompletion, normalizeComboboxText, startsWithComboboxFilter };
@@ -1,2 +1,2 @@
1
- import { $g as CommandPaletteGroupSlotState, Gg as _default$5, Hg as defaultCommandPaletteResultsLabel, Jg as _default$2, Kg as _default$4, Qg as CommandPaletteFilter, Ug as _default$7, Vg as defaultCommandPaletteFilter, Wg as _default$6, Xg as _default, Yg as _default$1, Zg as CommandPaletteDialogExpose, a_ as CommandPaletteResultsLabel, c_ as CommandPaletteState, e_ as CommandPaletteInputExpose, i_ as CommandPaletteListExpose, n_ as CommandPaletteItemSlotState, o_ as CommandPaletteRootExpose, qg as _default$3, r_ as CommandPaletteItemState, s_ as CommandPaletteSlotState, t_ as CommandPaletteItemExpose } from "./announcer-DVvPXOat.mjs";
1
+ import { $g as CommandPaletteGroupSlotState, Gg as _default$5, Hg as defaultCommandPaletteResultsLabel, Jg as _default$2, Kg as _default$4, Qg as CommandPaletteFilter, Ug as _default$7, Vg as defaultCommandPaletteFilter, Wg as _default$6, Xg as _default, Yg as _default$1, Zg as CommandPaletteDialogExpose, a_ as CommandPaletteResultsLabel, c_ as CommandPaletteState, e_ as CommandPaletteInputExpose, i_ as CommandPaletteListExpose, n_ as CommandPaletteItemSlotState, o_ as CommandPaletteRootExpose, qg as _default$3, r_ as CommandPaletteItemState, s_ as CommandPaletteSlotState, t_ as CommandPaletteItemExpose } from "./announcer-B8tTsf_z.mjs";
2
2
  export { _default as CommandPalette, _default as CommandPaletteRoot, _default$1 as CommandPaletteDialog, type CommandPaletteDialogExpose, _default$2 as CommandPaletteEmpty, type CommandPaletteFilter, _default$3 as CommandPaletteGroup, type CommandPaletteGroupSlotState, _default$4 as CommandPaletteInput, type CommandPaletteInputExpose, _default$5 as CommandPaletteItem, type CommandPaletteItemExpose, type CommandPaletteItemSlotState, type CommandPaletteItemState, _default$6 as CommandPaletteList, type CommandPaletteListExpose, _default$7 as CommandPaletteLoading, type CommandPaletteResultsLabel, type CommandPaletteRootExpose, type CommandPaletteSlotState, type CommandPaletteState, defaultCommandPaletteFilter, defaultCommandPaletteResultsLabel };