@astryx-vue/core 0.1.1 → 0.1.3

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 (223) hide show
  1. package/dist/AppShell/index.d.ts +2 -0
  2. package/dist/AppShell/index.js +2 -0
  3. package/dist/AppShell-b0PWt9Fz.js +249 -0
  4. package/dist/AspectRatio/index.d.ts +2 -0
  5. package/dist/AspectRatio/index.js +2 -0
  6. package/dist/AspectRatio-Bij7e-tq.js +40 -0
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/Banner/index.d.ts +1 -1
  9. package/dist/BottomSheet/index.d.ts +1 -1
  10. package/dist/ButtonGroup/index.d.ts +1 -1
  11. package/dist/Calendar/index.js +1 -1
  12. package/dist/{Calendar-BEyrkUtr.js → Calendar-CYhGDT6f.js} +1 -1
  13. package/dist/Chat/index.js +1 -1
  14. package/dist/{Chat-CO3mCs9A.js → Chat-C1aWl5V3.js} +1 -1
  15. package/dist/CheckboxInput/index.d.ts +1 -1
  16. package/dist/CheckboxInput/index.js +1 -1
  17. package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
  18. package/dist/CheckboxList/index.d.ts +1 -1
  19. package/dist/CheckboxList/index.js +1 -1
  20. package/dist/{CheckboxList-BL2sDOWK.js → CheckboxList-EsIEXjK_.js} +2 -2
  21. package/dist/Citation/index.js +1 -1
  22. package/dist/{Citation-BqwJvw7o.js → Citation-C1X0Rde8.js} +1 -1
  23. package/dist/ClickableCard/index.d.ts +2 -0
  24. package/dist/ClickableCard/index.js +2 -0
  25. package/dist/ClickableCard-Bhds4RRe.js +112 -0
  26. package/dist/Collapsible/index.d.ts +2 -2
  27. package/dist/Collapsible/index.js +2 -2
  28. package/dist/Collapsible-BS9ctCQV.js +192 -0
  29. package/dist/CommandPalette/index.d.ts +2 -0
  30. package/dist/CommandPalette/index.js +2 -0
  31. package/dist/CommandPalette-u5h_E05P.js +489 -0
  32. package/dist/ComplexSelector/index.d.ts +2 -0
  33. package/dist/ComplexSelector/index.js +2 -0
  34. package/dist/ComplexSelector-BHmGWml0.js +293 -0
  35. package/dist/ContextMenu/index.d.ts +1 -1
  36. package/dist/DateInput/index.d.ts +1 -1
  37. package/dist/DateInput/index.js +1 -1
  38. package/dist/{DateInput-BOIb0zAp.js → DateInput-D2ErjXYO.js} +2 -2
  39. package/dist/DateRangeInput/index.d.ts +1 -1
  40. package/dist/DateRangeInput/index.js +1 -1
  41. package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-fmQlr_A7.js} +3 -3
  42. package/dist/DateTimeInput/index.d.ts +1 -1
  43. package/dist/DateTimeInput/index.js +1 -1
  44. package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-Bs1JmcIp.js} +4 -4
  45. package/dist/Field/index.js +2 -2
  46. package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
  47. package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
  48. package/dist/FileInput/index.d.ts +1 -1
  49. package/dist/FileInput/index.js +1 -1
  50. package/dist/{FileInput-CYvEV503.js → FileInput-CmAfOpkA.js} +2 -2
  51. package/dist/FormLayout/index.d.ts +2 -0
  52. package/dist/FormLayout/index.js +2 -0
  53. package/dist/FormLayout-D47FjiOq.js +40 -0
  54. package/dist/HoverCard/index.d.ts +1 -1
  55. package/dist/Layout/index.d.ts +2 -0
  56. package/dist/Layout/index.js +3 -0
  57. package/dist/Layout-Bed3kP0M.js +56 -0
  58. package/dist/LayoutPanel-C34uOq3e.js +358 -0
  59. package/dist/List/index.d.ts +1 -1
  60. package/dist/Markdown/index.d.ts +1 -1
  61. package/dist/Markdown/index.js +1 -1
  62. package/dist/{Markdown-Dnlp8cVx.js → Markdown-CwtLr3f_.js} +1 -1
  63. package/dist/MetadataList/index.js +1 -1
  64. package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-DlXQTLog.js} +1 -1
  65. package/dist/MobileNav/index.d.ts +1 -1
  66. package/dist/MobileNav/index.js +1 -1
  67. package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-CgQamG6E.js} +19 -12
  68. package/dist/MoreMenu/index.d.ts +1 -1
  69. package/dist/MultiSelector/index.d.ts +1 -1
  70. package/dist/MultiSelector/index.js +1 -1
  71. package/dist/{MultiSelector-Bh8or2S6.js → MultiSelector-DT8ZccMI.js} +3 -3
  72. package/dist/NavItem/index.d.ts +1 -1
  73. package/dist/NavMenu/index.d.ts +1 -1
  74. package/dist/NumberInput/index.d.ts +1 -1
  75. package/dist/NumberInput/index.js +1 -1
  76. package/dist/{NumberInput-C3S-4dIu.js → NumberInput-DspJO6z6.js} +1 -1
  77. package/dist/OverflowList/index.d.ts +1 -1
  78. package/dist/OverflowList/index.js +1 -1
  79. package/dist/{OverflowList-Kr4iJrNV.js → OverflowList-zXg3g6fy.js} +1 -1
  80. package/dist/Overlay/index.d.ts +1 -1
  81. package/dist/Pagination/index.js +1 -1
  82. package/dist/{Pagination-BRStpeSB.js → Pagination-DXfgMUKJ.js} +2 -2
  83. package/dist/Popover/index.d.ts +2 -1
  84. package/dist/Radio/index.d.ts +1 -1
  85. package/dist/Radio/index.js +1 -1
  86. package/dist/{RadioGroup-DS6oTV_j.js → RadioGroup-BqjdSCfJ.js} +1 -1
  87. package/dist/RadioList/index.d.ts +1 -1
  88. package/dist/RadioList/index.js +1 -1
  89. package/dist/{RadioList-pwr93I-z.js → RadioList-DI8ujXcT.js} +1 -1
  90. package/dist/Resizable/index.d.ts +2 -0
  91. package/dist/Resizable/index.js +2 -0
  92. package/dist/Resizable-BuGKvU9I.js +261 -0
  93. package/dist/ScrollableArea/index.d.ts +2 -0
  94. package/dist/ScrollableArea/index.js +2 -0
  95. package/dist/ScrollableArea-DQDYjnxO.js +78 -0
  96. package/dist/Section/index.d.ts +2 -0
  97. package/dist/Section/index.js +2 -0
  98. package/dist/Section-C48Wqfc7.js +68 -0
  99. package/dist/SelectableCard/index.d.ts +2 -0
  100. package/dist/SelectableCard/index.js +2 -0
  101. package/dist/SelectableCard-Bj5s_tIN.js +108 -0
  102. package/dist/Selector/index.d.ts +1 -1
  103. package/dist/Selector/index.js +1 -1
  104. package/dist/{Selector-DvEUIVEC.js → Selector-DlZpQh42.js} +1 -1
  105. package/dist/SideNav/index.d.ts +1 -1
  106. package/dist/SideNav/index.js +2 -1
  107. package/dist/{SideNav-B7LX4RcP.js → SideNav-Cdrigq2A.js} +48 -26
  108. package/dist/Slider/index.js +1 -1
  109. package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
  110. package/dist/Stepper/index.d.ts +2 -0
  111. package/dist/Stepper/index.js +2 -0
  112. package/dist/Stepper-DxmLfh8O.js +423 -0
  113. package/dist/Switch/index.d.ts +1 -1
  114. package/dist/Switch/index.js +1 -1
  115. package/dist/{Switch-CNdnr5TP.js → Switch-SesQzPGZ.js} +4 -2
  116. package/dist/TabList/index.d.ts +2 -2
  117. package/dist/TabList/index.js +2 -2
  118. package/dist/TabList-C411uNQU.js +380 -0
  119. package/dist/Table/index.d.ts +2 -1
  120. package/dist/Table/index.js +1 -1
  121. package/dist/{Table-D5zWaITo.js → Table-7qRmlIQd.js} +5 -5
  122. package/dist/TextArea/index.d.ts +1 -1
  123. package/dist/TextArea/index.js +1 -1
  124. package/dist/{TextArea-BL0NuB99.js → TextArea-Cv9UVbzS.js} +5 -3
  125. package/dist/TextInput/index.d.ts +1 -1
  126. package/dist/TextInput/index.js +1 -1
  127. package/dist/{TextInput-B0IKC7g5.js → TextInput-BasnjVvy.js} +5 -3
  128. package/dist/Thumbnail/index.js +1 -1
  129. package/dist/{Thumbnail-DMOgWncm.js → Thumbnail-BWVzLLyI.js} +1 -1
  130. package/dist/{TimeField-DeQ1ukHl.js → TimeField-l3QzU6vC.js} +1 -1
  131. package/dist/TimeInput/index.d.ts +1 -1
  132. package/dist/TimeInput/index.js +1 -1
  133. package/dist/{TimeInput-jb1nLqZk.js → TimeInput-OkgX-xbQ.js} +2 -2
  134. package/dist/Timestamp/index.d.ts +1 -1
  135. package/dist/Timestamp/index.js +1 -1
  136. package/dist/{Timestamp-DrWwVQBL.js → Timestamp-DUoP9ari.js} +1 -1
  137. package/dist/ToggleButton/index.d.ts +1 -1
  138. package/dist/Token/index.d.ts +1 -1
  139. package/dist/Token/index.js +1 -1
  140. package/dist/{Token-CV2J94bn.js → Token-C4KD0fZD.js} +1 -1
  141. package/dist/Tokenizer/index.js +1 -1
  142. package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-BA8sTMPZ.js} +3 -3
  143. package/dist/Toolbar/index.d.ts +1 -1
  144. package/dist/Tooltip/index.d.ts +1 -1
  145. package/dist/TopNav/index.d.ts +1 -1
  146. package/dist/TopNav/index.js +1 -1
  147. package/dist/{TopNav-BH_s3uap.js → TopNav-CZokS7E_.js} +57 -31
  148. package/dist/TreeList/index.js +1 -1
  149. package/dist/{TreeList-D9cR-w7r.js → TreeList-CIbAGOMf.js} +1 -1
  150. package/dist/Typeahead/index.js +1 -1
  151. package/dist/{Typeahead-s4DC1Qem.js → Typeahead-DIw-K4aa.js} +3 -3
  152. package/dist/composables/index.d.ts +3 -2
  153. package/dist/composables/index.js +5 -2
  154. package/dist/composables-CVfjp9h4.js +502 -0
  155. package/dist/context-BjNya0v8.js +19 -0
  156. package/dist/context-Cfjh8te1.js +29 -0
  157. package/dist/{context-BshXcNYX.js → context-D6ECRdc5.js} +84 -0
  158. package/dist/index-1uRMrk63.d.ts +54 -0
  159. package/dist/{index-CsJpQElv.d.ts → index-2u4l3wq8.d.ts} +1 -1
  160. package/dist/{index-BlWLperN.d.ts → index-4FM5lQdV.d.ts} +1 -1
  161. package/dist/index-Be1czg3M.d.ts +167 -0
  162. package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
  163. package/dist/index-BrJzFA5X.d.ts +38 -0
  164. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  165. package/dist/index-By2mSzUA.d.ts +67 -0
  166. package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
  167. package/dist/{index-AkMWQ97a.d.ts → index-C6RecznD.d.ts} +1 -1
  168. package/dist/{index-BSRk8MFK.d.ts → index-C8wDPDcP.d.ts} +1 -1
  169. package/dist/index-CDdRQQF3.d.ts +170 -0
  170. package/dist/index-COqjznX0.d.ts +47 -0
  171. package/dist/{index-g03bmR4K.d.ts → index-CT8KEpec.d.ts} +2 -2
  172. package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
  173. package/dist/index-CVn0GBdB.d.ts +115 -0
  174. package/dist/index-CX97hlld.d.ts +158 -0
  175. package/dist/index-CjtAH60j.d.ts +38 -0
  176. package/dist/{index-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
  177. package/dist/index-DA52oIdw.d.ts +171 -0
  178. package/dist/{index-D3V7yRUP.d.ts → index-DGNqi2za.d.ts} +1 -1
  179. package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
  180. package/dist/{index-CR6sUmRT.d.ts → index-DXSs3rwa.d.ts} +3 -107
  181. package/dist/{index-CNcQmDrK.d.ts → index-DYChvBOM.d.ts} +42 -0
  182. package/dist/{index-CQ9F1f_F.d.ts → index-Df2YvC8o.d.ts} +297 -125
  183. package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
  184. package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
  185. package/dist/{index-12ObcW99.d.ts → index-ZJyk8RtQ.d.ts} +1 -1
  186. package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
  187. package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
  188. package/dist/index-nKlTsNfV.d.ts +42 -0
  189. package/dist/index.d.ts +75 -63
  190. package/dist/index.js +108 -89
  191. package/dist/locale/index.d.ts +1 -1
  192. package/dist/locale/index.js +1 -1
  193. package/dist/size-BuTzpgnR.d.ts +14 -0
  194. package/dist/size-xcIqExkS.js +79 -0
  195. package/dist/{index-Bovw9_8d.d.ts → types-Db3Owy8Q.d.ts} +1 -36
  196. package/dist/types-JktRxujg.d.ts +107 -0
  197. package/dist/useAppShellMobile-DTsyuAJ4.js +19 -0
  198. package/dist/useClickableContainer-DyNpnSEa.js +112 -0
  199. package/dist/useResizable-CeESZS1v.d.ts +72 -0
  200. package/dist/useScrollableArea-DDk_CluT.js +172 -0
  201. package/package.json +49 -1
  202. package/styles/app-shell.css +151 -0
  203. package/styles/aspect-ratio.css +49 -0
  204. package/styles/card.css +5 -1
  205. package/styles/clickable-card.css +101 -0
  206. package/styles/collapsible.css +37 -0
  207. package/styles/command-palette.css +183 -0
  208. package/styles/complex-selector.css +114 -0
  209. package/styles/field.css +12 -0
  210. package/styles/form-layout.css +31 -0
  211. package/styles/heading.css +19 -17
  212. package/styles/layout.css +280 -0
  213. package/styles/resize-handle.css +128 -0
  214. package/styles/scrollable-area.css +50 -0
  215. package/styles/section.css +60 -0
  216. package/styles/side-nav.css +26 -0
  217. package/styles/stepper.css +357 -0
  218. package/styles/tab-menu.css +91 -0
  219. package/styles.css +12 -0
  220. package/dist/Collapsible-BYg9soTk.js +0 -102
  221. package/dist/TabList-LV1U4ZD6.js +0 -184
  222. package/dist/composables-Dq9RS33w.js +0 -111
  223. package/dist/index-TnaIHsCS.d.ts +0 -87
@@ -0,0 +1,380 @@
1
+ import { t as useDismiss } from "./useDismiss-CAiHU6QD.js";
2
+ import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
3
+ import { t as _sfc_main$3 } from "./Icon-5MdZQ18k.js";
4
+ import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
5
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, toDisplayString, unref, useId, watch } from "vue";
6
+ import "../styles/tab-list.css";
7
+ import "../styles/tab-menu.css";
8
+ //#region src/TabList/context.ts
9
+ const tabListContextKey = Symbol("tabListContext");
10
+ //#endregion
11
+ //#region src/TabList/Tab.vue
12
+ const _hoisted_1$2 = [
13
+ "id",
14
+ "aria-selected",
15
+ "aria-controls",
16
+ "tabindex",
17
+ "disabled"
18
+ ];
19
+ const _hoisted_2$1 = { class: "astryx-tab__label" };
20
+ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
21
+ __name: "Tab",
22
+ props: {
23
+ value: {},
24
+ panelId: {},
25
+ disabled: {
26
+ type: Boolean,
27
+ default: false
28
+ }
29
+ },
30
+ setup(__props) {
31
+ const props = __props;
32
+ const context = inject(tabListContextKey);
33
+ const rootRef = ref();
34
+ const isSelected = computed(() => context?.value.value === props.value);
35
+ const tabIndex = computed(() => isSelected.value && !props.disabled ? 0 : -1);
36
+ const classes = computed(() => [
37
+ "astryx-tab",
38
+ `astryx-tab--size-${context?.size.value ?? "md"}`,
39
+ isSelected.value && "astryx-tab--selected",
40
+ props.disabled && "astryx-tab--disabled"
41
+ ]);
42
+ function handleClick() {
43
+ if (props.disabled || !context) return;
44
+ context.selectTab(props.value);
45
+ }
46
+ function handleKeydown(event) {
47
+ if (props.disabled || !context) return;
48
+ switch (event.key) {
49
+ case "ArrowRight":
50
+ case "ArrowDown":
51
+ event.preventDefault();
52
+ context.moveFocus("next", props.value);
53
+ break;
54
+ case "ArrowLeft":
55
+ case "ArrowUp":
56
+ event.preventDefault();
57
+ context.moveFocus("prev", props.value);
58
+ break;
59
+ case "Home":
60
+ event.preventDefault();
61
+ context.moveFocus("first", props.value);
62
+ break;
63
+ case "End":
64
+ event.preventDefault();
65
+ context.moveFocus("last", props.value);
66
+ }
67
+ }
68
+ onMounted(() => {
69
+ if (!context || !rootRef.value) return;
70
+ context.registerTab({
71
+ value: props.value,
72
+ disabled: props.disabled,
73
+ el: rootRef.value
74
+ });
75
+ });
76
+ onUnmounted(() => {
77
+ context?.unregisterTab(props.value);
78
+ });
79
+ watch(() => props.disabled, (disabled) => {
80
+ if (!context || !rootRef.value) return;
81
+ context.registerTab({
82
+ value: props.value,
83
+ disabled,
84
+ el: rootRef.value
85
+ });
86
+ });
87
+ return (_ctx, _cache) => {
88
+ return openBlock(), createElementBlock("button", {
89
+ id: `astryx-tab-${__props.value}`,
90
+ ref_key: "rootRef",
91
+ ref: rootRef,
92
+ type: "button",
93
+ role: "tab",
94
+ class: normalizeClass(classes.value),
95
+ "aria-selected": isSelected.value,
96
+ "aria-controls": __props.panelId,
97
+ tabindex: tabIndex.value,
98
+ disabled: __props.disabled,
99
+ onClick: handleClick,
100
+ onKeydown: handleKeydown
101
+ }, [createElementVNode("span", _hoisted_2$1, [renderSlot(_ctx.$slots, "default")])], 42, _hoisted_1$2);
102
+ };
103
+ }
104
+ });
105
+ //#endregion
106
+ //#region src/TabList/TabList.vue
107
+ const _hoisted_1$1 = { class: "astryx-tab-list__strip" };
108
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
109
+ __name: "TabList",
110
+ props: {
111
+ value: {},
112
+ size: { default: "md" },
113
+ layout: { default: "hug" },
114
+ hasDivider: {
115
+ type: Boolean,
116
+ default: false
117
+ }
118
+ },
119
+ emits: ["update:value", "change"],
120
+ setup(__props, { emit: __emit }) {
121
+ const props = __props;
122
+ const emit = __emit;
123
+ const tabs = reactive([]);
124
+ const focusedValue = ref(props.value);
125
+ const enabledTabs = computed(() => tabs.filter((tab) => !tab.disabled));
126
+ function selectTab(value) {
127
+ if (value === props.value) return;
128
+ emit("update:value", value);
129
+ emit("change", value);
130
+ focusedValue.value = value;
131
+ }
132
+ function moveFocus(direction, value) {
133
+ const stops = enabledTabs.value;
134
+ if (stops.length === 0) return;
135
+ const index = stops.findIndex((tab) => tab.value === value);
136
+ let nextIndex = index;
137
+ switch (direction) {
138
+ case "next":
139
+ nextIndex = index >= 0 ? (index + 1) % stops.length : 0;
140
+ break;
141
+ case "prev":
142
+ nextIndex = index >= 0 ? (index - 1 + stops.length) % stops.length : stops.length - 1;
143
+ break;
144
+ case "first":
145
+ nextIndex = 0;
146
+ break;
147
+ case "last": nextIndex = stops.length - 1;
148
+ }
149
+ const next = stops[nextIndex];
150
+ if (!next) return;
151
+ focusedValue.value = next.value;
152
+ if (next.selectsOnFocus !== false) selectTab(next.value);
153
+ next.el.focus();
154
+ }
155
+ function registerTab(tab) {
156
+ const existingIndex = tabs.findIndex((t) => t.value === tab.value);
157
+ if (existingIndex >= 0) tabs.splice(existingIndex, 1, tab);
158
+ else tabs.push(tab);
159
+ }
160
+ function unregisterTab(value) {
161
+ const index = tabs.findIndex((t) => t.value === value);
162
+ if (index >= 0) tabs.splice(index, 1);
163
+ }
164
+ provide(tabListContextKey, {
165
+ value: computed(() => props.value),
166
+ size: computed(() => props.size),
167
+ layout: computed(() => props.layout),
168
+ hasDivider: computed(() => props.hasDivider),
169
+ tabs,
170
+ focusedValue,
171
+ registerTab,
172
+ unregisterTab,
173
+ selectTab,
174
+ moveFocus
175
+ });
176
+ return (_ctx, _cache) => {
177
+ return openBlock(), createElementBlock("div", {
178
+ class: normalizeClass(["astryx-tab-list", [
179
+ `astryx-tab-list--size-${__props.size}`,
180
+ `astryx-tab-list--layout-${__props.layout}`,
181
+ __props.hasDivider && "astryx-tab-list--has-divider"
182
+ ]]),
183
+ role: "tablist"
184
+ }, [createElementVNode("div", _hoisted_1$1, [renderSlot(_ctx.$slots, "default")])], 2);
185
+ };
186
+ }
187
+ });
188
+ //#endregion
189
+ //#region src/TabList/TabMenu.vue
190
+ const _hoisted_1 = [
191
+ "id",
192
+ "aria-expanded",
193
+ "tabindex"
194
+ ];
195
+ const _hoisted_2 = { class: "astryx-tab__label" };
196
+ const _hoisted_3 = ["aria-label"];
197
+ const _hoisted_4 = {
198
+ class: "astryx-tab-menu-heading",
199
+ role: "presentation"
200
+ };
201
+ const _hoisted_5 = [
202
+ "data-selected",
203
+ "aria-checked",
204
+ "onClick",
205
+ "onKeydown"
206
+ ];
207
+ const _hoisted_6 = { class: "astryx-tab-menu-item-label" };
208
+ const _sfc_main = /*@__PURE__*/ defineComponent({
209
+ name: "AstryxTabMenu",
210
+ __name: "TabMenu",
211
+ props: {
212
+ label: {},
213
+ options: {}
214
+ },
215
+ setup(__props) {
216
+ const props = __props;
217
+ const context = inject(tabListContextKey);
218
+ const uid = useId();
219
+ const stopValue = `tab-menu:${uid}`;
220
+ const menuId = `astryx-tab-menu-${uid}`;
221
+ const anchorRef = ref(null);
222
+ const surfaceRef = ref(null);
223
+ const isOpen = ref(false);
224
+ const placement = computed(() => "below");
225
+ const alignment = computed(() => "start");
226
+ const selectedOption = computed(() => props.options.find((option) => option.value === context?.value.value));
227
+ const triggerLabel = computed(() => selectedOption.value?.label ?? props.label);
228
+ const hasSelectedOption = computed(() => selectedOption.value != null);
229
+ const sizeClass = computed(() => `astryx-tab--size-${context?.size.value ?? "md"}`);
230
+ const { position, detach } = usePositionedLayer({
231
+ alignment,
232
+ anchor: anchorRef,
233
+ gap: 4,
234
+ isOpen,
235
+ layer: surfaceRef,
236
+ placement
237
+ });
238
+ const listFocus = useListFocus({
239
+ hasRovingTabIndex: true,
240
+ itemSelector: "[role=\"menuitemradio\"]",
241
+ onEscape: () => {
242
+ isOpen.value = false;
243
+ }
244
+ });
245
+ useDismiss({
246
+ container: surfaceRef,
247
+ isEnabled: isOpen,
248
+ onDismiss: () => {
249
+ isOpen.value = false;
250
+ },
251
+ trigger: anchorRef
252
+ });
253
+ function register() {
254
+ if (!context || anchorRef.value == null) return;
255
+ context.registerTab({
256
+ disabled: false,
257
+ el: anchorRef.value,
258
+ selectsOnFocus: false,
259
+ value: stopValue
260
+ });
261
+ }
262
+ function toggle() {
263
+ isOpen.value = !isOpen.value;
264
+ }
265
+ function select(value) {
266
+ context?.selectTab(value);
267
+ isOpen.value = false;
268
+ }
269
+ function onTriggerKeyDown(event) {
270
+ if (!context || isOpen.value) return;
271
+ switch (event.key) {
272
+ case "ArrowRight":
273
+ case "ArrowDown":
274
+ event.preventDefault();
275
+ context.moveFocus("next", stopValue);
276
+ break;
277
+ case "ArrowLeft":
278
+ case "ArrowUp":
279
+ event.preventDefault();
280
+ context.moveFocus("prev", stopValue);
281
+ break;
282
+ case "Home":
283
+ event.preventDefault();
284
+ context.moveFocus("first", stopValue);
285
+ break;
286
+ case "End":
287
+ event.preventDefault();
288
+ context.moveFocus("last", stopValue);
289
+ }
290
+ }
291
+ function onMenuKeyDown(event) {
292
+ if (event.key === "Tab") {
293
+ isOpen.value = false;
294
+ return;
295
+ }
296
+ listFocus.handleKeyDown(event);
297
+ }
298
+ function onItemKeyDown(event, value) {
299
+ if (event.key !== "Enter" && event.key !== " ") return;
300
+ event.preventDefault();
301
+ select(value);
302
+ }
303
+ watch(surfaceRef, (element) => {
304
+ listFocus.listRef.value = element;
305
+ }, { immediate: true });
306
+ watch(isOpen, async (open) => {
307
+ if (!open) {
308
+ const shouldRestore = surfaceRef.value?.contains(document.activeElement) ?? false;
309
+ await nextTick();
310
+ if (shouldRestore) anchorRef.value?.focus();
311
+ return;
312
+ }
313
+ await nextTick();
314
+ listFocus.focusFirst();
315
+ });
316
+ onMounted(register);
317
+ onUnmounted(() => {
318
+ context?.unregisterTab(stopValue);
319
+ detach();
320
+ });
321
+ return (_ctx, _cache) => {
322
+ return openBlock(), createElementBlock(Fragment, null, [createElementVNode("button", {
323
+ id: `astryx-tab-menu-trigger-${unref(uid)}`,
324
+ ref_key: "anchorRef",
325
+ ref: anchorRef,
326
+ type: "button",
327
+ class: normalizeClass(["astryx-tab astryx-tab-menu", [sizeClass.value, hasSelectedOption.value && "astryx-tab--selected"]]),
328
+ "data-tab-menu": "",
329
+ "aria-controls": menuId,
330
+ "aria-haspopup": "menu",
331
+ "aria-expanded": isOpen.value,
332
+ tabindex: hasSelectedOption.value ? 0 : -1,
333
+ onClick: toggle,
334
+ onKeydown: onTriggerKeyDown
335
+ }, [createElementVNode("span", _hoisted_2, toDisplayString(triggerLabel.value), 1), createVNode(_sfc_main$3, {
336
+ class: "astryx-tab-menu-chevron",
337
+ "data-state": isOpen.value ? "expanded" : "collapsed",
338
+ color: "inherit",
339
+ icon: "chevronDown",
340
+ size: "sm"
341
+ }, null, 8, ["data-state"])], 42, _hoisted_1), (openBlock(), createBlock(Teleport, { to: "body" }, [isOpen.value ? (openBlock(), createElementBlock("div", {
342
+ key: 0,
343
+ id: menuId,
344
+ ref_key: "surfaceRef",
345
+ ref: surfaceRef,
346
+ class: "astryx-tab-menu-dropdown",
347
+ role: "menu",
348
+ tabindex: "-1",
349
+ "aria-label": __props.label,
350
+ style: normalizeStyle({
351
+ top: `${unref(position).top}px`,
352
+ left: `${unref(position).left}px`
353
+ }),
354
+ onKeydown: onMenuKeyDown,
355
+ onFocusin: _cache[0] || (_cache[0] = (...args) => unref(listFocus).handleFocus && unref(listFocus).handleFocus(...args))
356
+ }, [createElementVNode("span", _hoisted_4, toDisplayString(__props.label), 1), (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
357
+ return openBlock(), createElementBlock("div", {
358
+ key: option.value,
359
+ class: "astryx-tab-menu-item",
360
+ "data-selected": option.value === unref(context)?.value.value || void 0,
361
+ role: "menuitemradio",
362
+ "aria-checked": option.value === unref(context)?.value.value,
363
+ tabindex: "-1",
364
+ onClick: ($event) => select(option.value),
365
+ onKeydown: ($event) => onItemKeyDown($event, option.value)
366
+ }, [createElementVNode("span", _hoisted_6, [option.iconClass ? (openBlock(), createElementBlock("span", {
367
+ key: 0,
368
+ class: normalizeClass(["astryx-tab-menu-icon", option.iconClass])
369
+ }, null, 2)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(option.label), 1)]), option.value === unref(context)?.value.value ? (openBlock(), createBlock(_sfc_main$3, {
370
+ key: 0,
371
+ color: "accent",
372
+ icon: "check",
373
+ size: "sm"
374
+ })) : createCommentVNode("v-if", true)], 40, _hoisted_5);
375
+ }), 128))], 44, _hoisted_3)) : createCommentVNode("v-if", true)]))], 64);
376
+ };
377
+ }
378
+ });
379
+ //#endregion
380
+ export { _sfc_main$1 as n, _sfc_main$2 as r, _sfc_main as t };
@@ -1,2 +1,3 @@
1
- import { $ as TableTextOverflow, A as generateColumns, B as TableColumn, C as UseTableColumnSettingsConfig, D as useTableColumnResize, E as UseTableColumnResizeConfig, F as sortRows, G as TableFilterState, H as TableDensity, I as ColumnWidth, J as TableProps, K as TableFilterValue, L as PixelWidth, M as pixel, N as proportional, O as capitalize, P as resolveColumnWidths, Q as TableSortState, R as ProportionalWidth, S as ColumnSettingsOption, T as useTableColumnSettingsState, U as TableDividers, V as TableColumnAlign, W as TableFilterField, X as TableSortDirection, Y as TableRowProps, Z as TableSortEntry, _ as useTablePagination, a as _default$3, b as useTableFilterState, c as _default, d as useTableSortableState, et as TableVerticalAlign, f as UseTableSelectionConfig, g as UseTablePaginationConfig, h as useTableSelectionState, i as _default$4, j as paginateData, k as cellText, l as UseTableSortableConfig, m as useTableSelection, n as _default$6, o as _default$2, p as UseTableSelectionStateConfig, q as TablePlugin, r as _default$5, s as _default$1, t as _default$7, u as useTableSortable, v as UseTableFilteringConfig, w as useTableColumnSettings, x as useTableFiltering, y as applyTableFilters, z as TableCellProps } from "../index-CR6sUmRT.js";
1
+ import { _ as TableSortEntry, a as TableColumn, b as TableVerticalAlign, c as TableDividers, d as TableFilterValue, f as TablePlugin, g as TableSortDirection, i as TableCellProps, l as TableFilterField, m as TableRowProps, n as PixelWidth, o as TableColumnAlign, p as TableProps, r as ProportionalWidth, s as TableDensity, t as ColumnWidth, u as TableFilterState, v as TableSortState, y as TableTextOverflow } from "../types-JktRxujg.js";
2
+ import { A as generateColumns, C as UseTableColumnSettingsConfig, D as useTableColumnResize, E as UseTableColumnResizeConfig, F as sortRows, M as pixel, N as proportional, O as capitalize, P as resolveColumnWidths, S as ColumnSettingsOption, T as useTableColumnSettingsState, _ as useTablePagination, a as _default$3, b as useTableFilterState, c as _default, d as useTableSortableState, f as UseTableSelectionConfig, g as UseTablePaginationConfig, h as useTableSelectionState, i as _default$4, j as paginateData, k as cellText, l as UseTableSortableConfig, m as useTableSelection, n as _default$6, o as _default$2, p as UseTableSelectionStateConfig, r as _default$5, s as _default$1, t as _default$7, u as useTableSortable, v as UseTableFilteringConfig, w as useTableColumnSettings, x as useTableFiltering, y as applyTableFilters } from "../index-DXSs3rwa.js";
2
3
  export { type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellProps, type TableColumn, type TableColumnAlign, type TableDensity, type TableDividers, type TableFilterField, type TableFilterState, type TableFilterValue, _default$3 as TableFooter, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowProps, _default$7 as TableSelectionToolbar, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilteringConfig, type UseTablePaginationConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, applyTableFilters, capitalize, cellText, generateColumns, paginateData, paginateData as paginateTableData, pixel, proportional, resolveColumnWidths, sortRows, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTablePagination, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState };
@@ -1,2 +1,2 @@
1
- import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$3, b as capitalize, c as _sfc_main, d as useTableSelection, f as useTableSelectionState, g as useTableFiltering, h as useTableFilterState, i as _sfc_main$4, l as useTableSortable, m as applyTableFilters, n as _sfc_main$6, o as _sfc_main$2, p as useTablePagination, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableSortableState, v as useTableColumnSettingsState, w as pixel, x as cellText, y as useTableColumnResize } from "../Table-D5zWaITo.js";
1
+ import { C as paginateData, D as sortRows, E as resolveColumnWidths, S as generateColumns, T as proportional, _ as useTableColumnSettings, a as _sfc_main$3, b as capitalize, c as _sfc_main, d as useTableSelection, f as useTableSelectionState, g as useTableFiltering, h as useTableFilterState, i as _sfc_main$4, l as useTableSortable, m as applyTableFilters, n as _sfc_main$6, o as _sfc_main$2, p as useTablePagination, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableSortableState, v as useTableColumnSettingsState, w as pixel, x as cellText, y as useTableColumnResize } from "../Table-7qRmlIQd.js";
2
2
  export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, capitalize, cellText, generateColumns, paginateData, paginateData as paginateTableData, pixel, proportional, resolveColumnWidths, sortRows, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTablePagination, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState };
@@ -1,12 +1,12 @@
1
1
  import { t as _sfc_main$10 } from "./Button-DrqeomlE.js";
2
+ import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
2
3
  import { t as _sfc_main$11 } from "./IconButton-BNQuz9W_.js";
3
- import { a as useAstryxMessages } from "./context-BshXcNYX.js";
4
4
  import { t as _sfc_main$12 } from "./Icon-5MdZQ18k.js";
5
- import { t as _sfc_main$13 } from "./CheckboxInput-C86o3XoG.js";
5
+ import { t as _sfc_main$13 } from "./CheckboxInput-CMsEE1_4.js";
6
6
  import { t as _sfc_main$14 } from "./Popover-Crhk9PNP.js";
7
- import { t as _sfc_main$15 } from "./Pagination-BRStpeSB.js";
8
- import { t as _sfc_main$16 } from "./Selector-DvEUIVEC.js";
9
- import { t as _sfc_main$17 } from "./TextInput-B0IKC7g5.js";
7
+ import { t as _sfc_main$15 } from "./Pagination-DXfgMUKJ.js";
8
+ import { t as _sfc_main$16 } from "./Selector-DlZpQh42.js";
9
+ import { t as _sfc_main$17 } from "./TextInput-BasnjVvy.js";
10
10
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, watch, withCtx } from "vue";
11
11
  import "../styles/table.css";
12
12
  function proportional(value = 1, options) {
@@ -1,2 +1,2 @@
1
- import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-CQ9F1f_F.js";
1
+ import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-Df2YvC8o.js";
2
2
  export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TextArea-BL0NuB99.js";
1
+ import { t as _sfc_main } from "../TextArea-Cv9UVbzS.js";
2
2
  export { _sfc_main as TextArea };
@@ -3,8 +3,9 @@ import { n as useButtonTooltip, r as _sfc_main$2 } from "./Button-DrqeomlE.js";
3
3
  import { t as _sfc_main$3 } from "./ButtonTooltip-nWWrth8j.js";
4
4
  import { t as _sfc_main$4 } from "./FieldIcon--NTgW5IU.js";
5
5
  import { t as _sfc_main$5 } from "./IconButton-BNQuz9W_.js";
6
- import { n as _sfc_main$6 } from "./FieldLabel-B1NRyQlS.js";
7
- import { t as _sfc_main$7 } from "./Field-VlTBsIEo.js";
6
+ import { i as useAriaRequired } from "./context-Cfjh8te1.js";
7
+ import { n as _sfc_main$6 } from "./FieldLabel-DmmJyX7w.js";
8
+ import { t as _sfc_main$7 } from "./Field-8zRxzDHE.js";
8
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
9
10
  import "../styles/text-area.css";
10
11
  //#region src/TextArea/useTextAreaAction.ts
@@ -148,6 +149,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
148
149
  setup(__props, { expose: __expose, emit: __emit }) {
149
150
  const props = __props;
150
151
  const emit = __emit;
152
+ const ariaRequired = useAriaRequired(props);
151
153
  const model = useModel(__props, "modelValue");
152
154
  const attrs = useAttrs();
153
155
  const input = useTemplateRef("input");
@@ -300,7 +302,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
300
302
  readonly: __props.isReadOnly || showsDisabledMessage.value,
301
303
  "aria-disabled": showsDisabledMessage.value || void 0,
302
304
  "aria-busy": busy.value || void 0,
303
- "aria-required": __props.isRequired && !__props.isOptional || void 0,
305
+ "aria-required": unref(ariaRequired),
304
306
  "aria-invalid": __props.status?.type === "error" ? true : inputAttrs()["aria-invalid"],
305
307
  "aria-labelledby": labelledBy(field.labelId),
306
308
  "aria-describedby": describedBy(field.describedBy),
@@ -1,2 +1,2 @@
1
- import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-CQ9F1f_F.js";
1
+ import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-Df2YvC8o.js";
2
2
  export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TextInput-B0IKC7g5.js";
1
+ import { t as _sfc_main } from "../TextInput-BasnjVvy.js";
2
2
  export { _sfc_main as TextInput };
@@ -3,8 +3,9 @@ import { n as useButtonTooltip, r as _sfc_main$2 } from "./Button-DrqeomlE.js";
3
3
  import { t as _sfc_main$3 } from "./ButtonTooltip-nWWrth8j.js";
4
4
  import { t as _sfc_main$4 } from "./FieldIcon--NTgW5IU.js";
5
5
  import { t as _sfc_main$5 } from "./IconButton-BNQuz9W_.js";
6
- import { n as _sfc_main$6 } from "./FieldLabel-B1NRyQlS.js";
7
- import { t as _sfc_main$7 } from "./Field-VlTBsIEo.js";
6
+ import { i as useAriaRequired } from "./context-Cfjh8te1.js";
7
+ import { n as _sfc_main$6 } from "./FieldLabel-DmmJyX7w.js";
8
+ import { t as _sfc_main$7 } from "./Field-8zRxzDHE.js";
8
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
9
10
  import "../styles/text-input.css";
10
11
  //#region src/TextInput/useTextInputAction.ts
@@ -140,6 +141,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
140
141
  setup(__props, { expose: __expose, emit: __emit }) {
141
142
  const props = __props;
142
143
  const emit = __emit;
144
+ const ariaRequired = useAriaRequired(props);
143
145
  const model = useModel(__props, "modelValue");
144
146
  const attrs = useAttrs();
145
147
  const input = useTemplateRef("input");
@@ -284,7 +286,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
284
286
  readonly: __props.isReadOnly || showsDisabledMessage.value,
285
287
  "aria-disabled": showsDisabledMessage.value || void 0,
286
288
  "aria-busy": busy.value || void 0,
287
- "aria-required": __props.isRequired && !__props.isOptional || void 0,
289
+ "aria-required": unref(ariaRequired),
288
290
  "aria-invalid": __props.status?.type === "error" ? true : inputAttrs()["aria-invalid"],
289
291
  "aria-labelledby": labelledBy(field.labelId),
290
292
  "aria-describedby": describedBy(field.describedBy),
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Thumbnail-DMOgWncm.js";
1
+ import { t as _sfc_main } from "../Thumbnail-BWVzLLyI.js";
2
2
  export { _sfc_main as Thumbnail };
@@ -1,5 +1,5 @@
1
+ import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
1
2
  import { t as _sfc_main$1 } from "./IconButton-BNQuz9W_.js";
2
- import { a as useAstryxMessages } from "./context-BshXcNYX.js";
3
3
  import { t as _sfc_main$2 } from "./Icon-5MdZQ18k.js";
4
4
  import { t as _sfc_main$3 } from "./Spinner-9cYUCnDy.js";
5
5
  import { t as _sfc_main$4 } from "./Tooltip-mp0NMh_Y.js";
@@ -1,7 +1,7 @@
1
1
  import { c as useCoarsePointer, i as parseDisplayTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-DWk6oTAZ.js";
2
+ import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
2
3
  import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
3
4
  import { t as _sfc_main$2 } from "./IconButton-BNQuz9W_.js";
4
- import { a as useAstryxMessages } from "./context-BshXcNYX.js";
5
5
  import { t as _sfc_main$3 } from "./Icon-5MdZQ18k.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createVNode, defineComponent, mergeModels, openBlock, shallowRef, useModel, watch, withCtx } from "vue";
7
7
  import "../styles/bordered-control.css";
@@ -1,2 +1,2 @@
1
- import { at as TimeInputProps, it as TimeInputEmits, ot as TimeInputSize, rt as _default } from "../index-CQ9F1f_F.js";
1
+ import { at as TimeInputProps, it as TimeInputEmits, ot as TimeInputSize, rt as _default } from "../index-Df2YvC8o.js";
2
2
  export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TimeInput-jb1nLqZk.js";
1
+ import { t as _sfc_main } from "../TimeInput-OkgX-xbQ.js";
2
2
  export { _sfc_main as TimeInput };
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main$1 } from "./Field-VlTBsIEo.js";
2
- import { t as _sfc_main$2 } from "./TimeField-DeQ1ukHl.js";
1
+ import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
2
+ import { t as _sfc_main$2 } from "./TimeField-l3QzU6vC.js";
3
3
  import { computed, createBlock, createVNode, defineComponent, mergeModels, openBlock, useId, useModel, withCtx } from "vue";
4
4
  //#region src/TimeInput/TimeInput.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { $ as formatRelativeTime, G as _default, J as TimestampProps, K as TimestampColor, Q as formatTooltipLines, X as TimestampTooltipFormat, Y as TimestampTooltipEntry, Z as TimestampTooltipLine, et as FormatInstantOptions, nt as formatInstant, q as TimestampFormat, tt as InstantFormat } from "../index-CQ9F1f_F.js";
1
+ import { $ as formatRelativeTime, G as _default, J as TimestampProps, K as TimestampColor, Q as formatTooltipLines, X as TimestampTooltipFormat, Y as TimestampTooltipEntry, Z as TimestampTooltipLine, et as FormatInstantOptions, nt as formatInstant, q as TimestampFormat, tt as InstantFormat } from "../index-Df2YvC8o.js";
2
2
  export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,2 +1,2 @@
1
- import { i as formatInstant, n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-DrWwVQBL.js";
1
+ import { i as formatInstant, n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-DUoP9ari.js";
2
2
  export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,6 +1,6 @@
1
1
  import { t as _sfc_main$2 } from "./Text-CKd7e3gK.js";
2
+ import { a as useAstryxMessages, i as useAstryxLocale } from "./context-D6ECRdc5.js";
2
3
  import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
3
- import { a as useAstryxMessages, i as useAstryxLocale } from "./context-BshXcNYX.js";
4
4
  import { t as _sfc_main$4 } from "./Icon-5MdZQ18k.js";
5
5
  import { t as _sfc_main$5 } from "./HoverCard-EhbWaGOW.js";
6
6
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { A as ToggleButtonElevation, B as ToggleButtonGroupValue, D as _default$1, F as ToggleButtonGroupOrientation, H as ToggleButtonProps, I as ToggleButtonGroupProps, L as ToggleButtonGroupSingleProps, M as ToggleButtonGroupBaseProps, N as ToggleButtonGroupEmits, O as _default, P as ToggleButtonGroupMultipleProps, R as ToggleButtonGroupSlots, U as ToggleButtonSize, V as ToggleButtonPressedChangeHandler, W as ToggleButtonSlots, j as ToggleButtonEmits, k as ToggleButtonChangeAction, z as ToggleButtonGroupType } from "../index-CQ9F1f_F.js";
1
+ import { A as ToggleButtonElevation, B as ToggleButtonGroupValue, D as _default$1, F as ToggleButtonGroupOrientation, H as ToggleButtonProps, I as ToggleButtonGroupProps, L as ToggleButtonGroupSingleProps, M as ToggleButtonGroupBaseProps, N as ToggleButtonGroupEmits, O as _default, P as ToggleButtonGroupMultipleProps, R as ToggleButtonGroupSlots, U as ToggleButtonSize, V as ToggleButtonPressedChangeHandler, W as ToggleButtonSlots, j as ToggleButtonEmits, k as ToggleButtonChangeAction, z as ToggleButtonGroupType } from "../index-Df2YvC8o.js";
2
2
  export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
@@ -1,2 +1,2 @@
1
- import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-BlWLperN.js";
1
+ import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-4FM5lQdV.js";
2
2
  export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
@@ -1,3 +1,3 @@
1
- import { t as _sfc_main } from "../Token-CV2J94bn.js";
1
+ import { t as _sfc_main } from "../Token-C4KD0fZD.js";
2
2
  import { t as TOKEN_COLORS } from "../Token-BdRzlXzm.js";
3
3
  export { TOKEN_COLORS, _sfc_main as Token };
@@ -1,4 +1,4 @@
1
- import { a as useAstryxMessages } from "./context-BshXcNYX.js";
1
+ import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useAttrs, withCtx } from "vue";
3
3
  import "../styles/token.css";
4
4
  import "../styles/visually-hidden-utility.css";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Tokenizer-DF9r4hTW.js";
1
+ import { t as _sfc_main } from "../Tokenizer-BA8sTMPZ.js";
2
2
  export { _sfc_main as Tokenizer };
@@ -1,8 +1,8 @@
1
1
  import { t as useAnnounce } from "./announce-Cnio10Wk.js";
2
2
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
3
- import { a as useAstryxMessages } from "./context-BshXcNYX.js";
4
- import { t as _sfc_main$1 } from "./Field-VlTBsIEo.js";
5
- import { t as _sfc_main$2 } from "./Token-CV2J94bn.js";
3
+ import { a as useAstryxMessages } from "./context-D6ECRdc5.js";
4
+ import { t as _sfc_main$1 } from "./Field-8zRxzDHE.js";
5
+ import { t as _sfc_main$2 } from "./Token-C4KD0fZD.js";
6
6
  import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
7
7
  import { n as _sfc_main$3, t as useTypeaheadMenu } from "./useTypeaheadMenu-Ba7XpcZl.js";
8
8
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
@@ -1,2 +1,2 @@
1
- import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-CQ9F1f_F.js";
1
+ import { C as _default, E as ToolbarSize, T as ToolbarProps, w as ToolbarOrientation } from "../index-Df2YvC8o.js";
2
2
  export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
@@ -1,2 +1,2 @@
1
- import { a as TooltipProps, i as TooltipPlacement, n as TooltipAlignment, o as TooltipTouchTrigger, r as TooltipFocusTrigger, t as _default } from "../index-BkIgRYGz.js";
1
+ import { a as TooltipProps, i as TooltipPlacement, n as TooltipAlignment, o as TooltipTouchTrigger, r as TooltipFocusTrigger, t as _default } from "../index-C5p2NeCr.js";
2
2
  export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger };
@@ -1,2 +1,2 @@
1
- import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-CQ9F1f_F.js";
1
+ import { S as TopNavProps, _ as TopNavMegaMenuItemProps, a as _default$6, b as TopNavMenuItem, c as _default$3, d as _default, f as TopNavHeadingProps, g as TopNavMegaMenuFeaturedCardProps, h as TopNavMegaMenuEmits, l as _default$2, m as TopNavItemProps, o as _default$5, p as TopNavItemEmits, s as _default$4, u as _default$1, v as TopNavMegaMenuProps, x as TopNavMenuProps, y as TopNavMenuEmits } from "../index-Df2YvC8o.js";
2
2
  export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
@@ -1,2 +1,2 @@
1
- import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-BH_s3uap.js";
1
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-CZokS7E_.js";
2
2
  export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };