iryx-ui 0.11.0 → 0.13.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 (258) hide show
  1. package/README.md +35 -1235
  2. package/dist/component-names.d.ts +1 -1
  3. package/dist/component-names.js +1 -1
  4. package/dist/components/Accordion.js +5 -0
  5. package/dist/components/Accordion.vue.d.ts +80 -0
  6. package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js +87 -0
  7. package/dist/components/Alert.vue.d.ts +1 -1
  8. package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +43 -43
  9. package/dist/components/App.vue.d.ts +1 -1
  10. package/dist/components/AppShell.js +5 -0
  11. package/dist/components/AppShell.vue.d.ts +46 -0
  12. package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +59 -0
  13. package/dist/components/AspectRatio.js +5 -0
  14. package/dist/components/AspectRatio.vue.d.ts +26 -0
  15. package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js +27 -0
  16. package/dist/components/Avatar.js +5 -0
  17. package/dist/components/Avatar.vue.d.ts +52 -0
  18. package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js +67 -0
  19. package/dist/components/AvatarGroup.js +5 -0
  20. package/dist/components/AvatarGroup.vue.d.ts +39 -0
  21. package/dist/components/AvatarGroup.vue_vue_type_script_setup_true_lang.js +45 -0
  22. package/dist/components/Badge.vue.d.ts +1 -1
  23. package/dist/components/Banner.vue.d.ts +2 -2
  24. package/dist/components/Banner.vue_vue_type_script_setup_true_lang.js +40 -40
  25. package/dist/components/BarChart.vue.d.ts +1 -1
  26. package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +14 -14
  27. package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +28 -28
  28. package/dist/components/Button.vue.d.ts +2 -2
  29. package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +14 -14
  30. package/dist/components/ButtonGroup.vue.d.ts +1 -1
  31. package/dist/components/Card.vue.d.ts +1 -1
  32. package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +37 -30
  33. package/dist/components/Collapsible.js +5 -0
  34. package/dist/components/Collapsible.vue.d.ts +58 -0
  35. package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js +67 -0
  36. package/dist/components/ColorPicker.js +5 -0
  37. package/dist/components/ColorPicker.vue.d.ts +49 -0
  38. package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js +172 -0
  39. package/dist/components/Combobox.vue.d.ts +6 -6
  40. package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +62 -60
  41. package/dist/components/CommandPalette.js +5 -0
  42. package/dist/components/CommandPalette.vue.d.ts +63 -0
  43. package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +185 -0
  44. package/dist/components/Container.js +5 -0
  45. package/dist/components/Container.vue.d.ts +33 -0
  46. package/dist/components/Container.vue_vue_type_script_setup_true_lang.js +40 -0
  47. package/dist/components/ContextMenu.js +5 -0
  48. package/dist/components/ContextMenu.vue.d.ts +42 -0
  49. package/dist/components/ContextMenu.vue_vue_type_script_setup_true_lang.js +49 -0
  50. package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +65 -65
  51. package/dist/components/DateRangePicker.vue.d.ts +1 -1
  52. package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +74 -74
  53. package/dist/components/Dialog.vue.d.ts +1 -1
  54. package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js +34 -34
  55. package/dist/components/Drawer.js +5 -0
  56. package/dist/components/Drawer.vue.d.ts +94 -0
  57. package/dist/components/Drawer.vue_vue_type_script_setup_true_lang.js +144 -0
  58. package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +42 -42
  59. package/dist/components/EmptyState.vue.d.ts +1 -1
  60. package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js +77 -77
  61. package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -11
  62. package/dist/components/Input.vue.d.ts +1 -1
  63. package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +33 -33
  64. package/dist/components/Kbd.js +5 -0
  65. package/dist/components/Kbd.vue.d.ts +46 -0
  66. package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js +41 -0
  67. package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +19 -19
  68. package/dist/components/Menubar.js +5 -0
  69. package/dist/components/Menubar.vue.d.ts +62 -0
  70. package/dist/components/Menubar.vue_vue_type_script_setup_true_lang.js +79 -0
  71. package/dist/components/NavigationMenu.js +5 -0
  72. package/dist/components/NavigationMenu.vue.d.ts +75 -0
  73. package/dist/components/NavigationMenu.vue_vue_type_script_setup_true_lang.js +167 -0
  74. package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js +68 -66
  75. package/dist/components/PageHeader.js +5 -0
  76. package/dist/components/PageHeader.vue.d.ts +52 -0
  77. package/dist/components/PageHeader.vue_vue_type_script_setup_true_lang.js +59 -0
  78. package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js +37 -37
  79. package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +37 -37
  80. package/dist/components/PinInput.js +5 -0
  81. package/dist/components/PinInput.vue.d.ts +65 -0
  82. package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +76 -0
  83. package/dist/components/Popover.js +5 -0
  84. package/dist/components/Popover.vue.d.ts +75 -0
  85. package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js +99 -0
  86. package/dist/components/Progress.vue.d.ts +20 -1
  87. package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +85 -42
  88. package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +4 -1
  89. package/dist/components/ScrollArea.js +5 -0
  90. package/dist/components/ScrollArea.vue.d.ts +41 -0
  91. package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js +68 -0
  92. package/dist/components/ScrollFade.js +5 -0
  93. package/dist/components/ScrollFade.vue.d.ts +36 -0
  94. package/dist/components/ScrollFade.vue_vue_type_script_setup_true_lang.js +59 -0
  95. package/dist/components/Select.vue.d.ts +2 -2
  96. package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +47 -45
  97. package/dist/components/Sidebar.js +5 -0
  98. package/dist/components/Sidebar.vue.d.ts +72 -0
  99. package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +183 -0
  100. package/dist/components/SignaturePad.js +5 -0
  101. package/dist/components/SignaturePad.vue.d.ts +60 -0
  102. package/dist/components/SignaturePad.vue_vue_type_script_setup_true_lang.js +158 -0
  103. package/dist/components/Skeleton.vue.d.ts +1 -1
  104. package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js +8 -8
  105. package/dist/components/Slider.js +5 -0
  106. package/dist/components/Slider.vue.d.ts +80 -0
  107. package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js +115 -0
  108. package/dist/components/Splitter.js +5 -0
  109. package/dist/components/Splitter.vue.d.ts +59 -0
  110. package/dist/components/Splitter.vue_vue_type_script_setup_true_lang.js +69 -0
  111. package/dist/components/Stat.vue.d.ts +1 -1
  112. package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js +27 -27
  113. package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js +38 -38
  114. package/dist/components/Switch.vue.d.ts +1 -0
  115. package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +16 -5
  116. package/dist/components/Table.vue.d.ts +7 -1
  117. package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +120 -105
  118. package/dist/components/TagsInput.js +5 -0
  119. package/dist/components/TagsInput.vue.d.ts +71 -0
  120. package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js +119 -0
  121. package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +3 -3
  122. package/dist/components/TimeField.js +5 -0
  123. package/dist/components/TimeField.vue.d.ts +50 -0
  124. package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +85 -0
  125. package/dist/components/Timeline.js +5 -0
  126. package/dist/components/Timeline.vue.d.ts +61 -0
  127. package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js +60 -0
  128. package/dist/components/Toaster.vue.d.ts +1 -1
  129. package/dist/components/Toaster.vue_vue_type_script_setup_true_lang.js +41 -41
  130. package/dist/components/Toggle.js +5 -0
  131. package/dist/components/Toggle.vue.d.ts +42 -0
  132. package/dist/components/Toggle.vue_vue_type_script_setup_true_lang.js +52 -0
  133. package/dist/components/ToggleGroup.js +5 -0
  134. package/dist/components/ToggleGroup.vue.d.ts +64 -0
  135. package/dist/components/ToggleGroup.vue_vue_type_script_setup_true_lang.js +78 -0
  136. package/dist/components/Toolbar.js +5 -0
  137. package/dist/components/Toolbar.vue.d.ts +52 -0
  138. package/dist/components/Toolbar.vue_vue_type_script_setup_true_lang.js +94 -0
  139. package/dist/components/Tree.js +5 -0
  140. package/dist/components/Tree.vue.d.ts +70 -0
  141. package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js +112 -0
  142. package/dist/components/index.d.ts +30 -0
  143. package/dist/components/index.js +144 -84
  144. package/dist/composables/appearance.js +5 -1
  145. package/dist/composables/cartesian.d.ts +11 -0
  146. package/dist/composables/cartesian.js +18 -19
  147. package/dist/composables/command-palette.d.ts +42 -0
  148. package/dist/composables/command-palette.js +32 -0
  149. package/dist/composables/date.d.ts +18 -2
  150. package/dist/composables/date.js +23 -15
  151. package/dist/composables/kbd.d.ts +26 -0
  152. package/dist/composables/kbd.js +161 -0
  153. package/dist/composables/navigation-menu.d.ts +29 -0
  154. package/dist/composables/navigation-menu.js +6 -0
  155. package/dist/composables/scroll-fade.d.ts +35 -0
  156. package/dist/composables/scroll-fade.js +36 -0
  157. package/dist/composables/sidebar.d.ts +35 -0
  158. package/dist/composables/sidebar.js +23 -0
  159. package/dist/composables/signature.d.ts +22 -0
  160. package/dist/composables/signature.js +13 -0
  161. package/dist/index.d.ts +36 -0
  162. package/dist/index.js +153 -92
  163. package/dist/theme/accordion.d.ts +68 -0
  164. package/dist/theme/accordion.js +24 -0
  165. package/dist/theme/alert.d.ts +0 -3
  166. package/dist/theme/app-shell.d.ts +77 -0
  167. package/dist/theme/app-shell.js +35 -0
  168. package/dist/theme/avatar.d.ts +253 -0
  169. package/dist/theme/avatar.js +84 -0
  170. package/dist/theme/banner.d.ts +0 -9
  171. package/dist/theme/bar-chart.d.ts +0 -16
  172. package/dist/theme/breadcrumb.d.ts +3 -3
  173. package/dist/theme/button-group.d.ts +0 -3
  174. package/dist/theme/button.d.ts +0 -3
  175. package/dist/theme/card.js +2 -2
  176. package/dist/theme/chart-legend.d.ts +3 -11
  177. package/dist/theme/collapsible.d.ts +44 -0
  178. package/dist/theme/collapsible.js +17 -0
  179. package/dist/theme/color-picker.d.ts +98 -0
  180. package/dist/theme/color-picker.js +19 -0
  181. package/dist/theme/command-palette.d.ts +122 -0
  182. package/dist/theme/command-palette.js +22 -0
  183. package/dist/theme/container.d.ts +101 -0
  184. package/dist/theme/container.js +26 -0
  185. package/dist/theme/date-picker.d.ts +12 -0
  186. package/dist/theme/date-picker.js +1 -1
  187. package/dist/theme/drawer.d.ts +110 -0
  188. package/dist/theme/drawer.js +100 -0
  189. package/dist/theme/dropdown-menu.d.ts +0 -9
  190. package/dist/theme/file-upload.d.ts +0 -3
  191. package/dist/theme/form.d.ts +12 -12
  192. package/dist/theme/index.d.ts +26 -0
  193. package/dist/theme/kbd.d.ts +71 -0
  194. package/dist/theme/kbd.js +29 -0
  195. package/dist/theme/line-chart.d.ts +0 -9
  196. package/dist/theme/menubar.d.ts +29 -0
  197. package/dist/theme/menubar.js +11 -0
  198. package/dist/theme/navigation-menu.d.ts +161 -0
  199. package/dist/theme/navigation-menu.js +43 -0
  200. package/dist/theme/number-input.d.ts +0 -3
  201. package/dist/theme/page-header.d.ts +47 -0
  202. package/dist/theme/page-header.js +17 -0
  203. package/dist/theme/pagination.d.ts +0 -3
  204. package/dist/theme/pin-input.d.ts +86 -0
  205. package/dist/theme/pin-input.js +32 -0
  206. package/dist/theme/popover.d.ts +119 -0
  207. package/dist/theme/popover.js +31 -0
  208. package/dist/theme/presets.d.ts +0 -2
  209. package/dist/theme/progress.d.ts +93 -0
  210. package/dist/theme/progress.js +37 -7
  211. package/dist/theme/radio-group.d.ts +24 -0
  212. package/dist/theme/radio-group.js +23 -14
  213. package/dist/theme/scroll-area.d.ts +65 -0
  214. package/dist/theme/scroll-area.js +57 -0
  215. package/dist/theme/scroll-fade.d.ts +35 -0
  216. package/dist/theme/scroll-fade.js +12 -0
  217. package/dist/theme/sidebar.d.ts +167 -0
  218. package/dist/theme/sidebar.js +43 -0
  219. package/dist/theme/signature-pad.d.ts +50 -0
  220. package/dist/theme/signature-pad.js +17 -0
  221. package/dist/theme/slider.d.ts +128 -0
  222. package/dist/theme/slider.js +49 -0
  223. package/dist/theme/sparkline.d.ts +0 -6
  224. package/dist/theme/splitter.d.ts +59 -0
  225. package/dist/theme/splitter.js +25 -0
  226. package/dist/theme/stat.d.ts +0 -3
  227. package/dist/theme/stepper.js +2 -2
  228. package/dist/theme/switch.d.ts +53 -29
  229. package/dist/theme/switch.js +33 -8
  230. package/dist/theme/table.d.ts +51 -3
  231. package/dist/theme/table.js +8 -3
  232. package/dist/theme/tabs.d.ts +0 -3
  233. package/dist/theme/tags-input.d.ts +110 -0
  234. package/dist/theme/tags-input.js +42 -0
  235. package/dist/theme/time-field.d.ts +68 -0
  236. package/dist/theme/time-field.js +21 -0
  237. package/dist/theme/timeline.d.ts +182 -0
  238. package/dist/theme/timeline.js +83 -0
  239. package/dist/theme/toggle.d.ts +145 -0
  240. package/dist/theme/toggle.js +84 -0
  241. package/dist/theme/toolbar.d.ts +56 -0
  242. package/dist/theme/toolbar.js +21 -0
  243. package/dist/theme/tree.d.ts +68 -0
  244. package/dist/theme/tree.js +28 -0
  245. package/package.json +4 -3
  246. package/theme.css +335 -0
  247. package/dist/node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js +0 -377
  248. package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/_virtual/_plugin-vue_export-helper.js +0 -8
  249. package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue.js +0 -25
  250. package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue2.js +0 -63
  251. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/CalendarDate.js +0 -122
  252. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/DateFormatter.js +0 -84
  253. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +0 -91
  254. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/conversion.js +0 -107
  255. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/manipulation.js +0 -159
  256. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/queries.js +0 -29
  257. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/string.js +0 -37
  258. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/utils.js +0 -6
@@ -1,88 +1,148 @@
1
1
  import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
2
- import t from "./Alert.js";
3
- import n from "./App.js";
4
- import r from "./Badge.js";
5
- import i from "./Banner.js";
6
- import a from "./ChartLegend.js";
7
- import o from "./BarChart.js";
8
- import s from "./Breadcrumb.js";
9
- import c from "./Button.js";
10
- import l from "./ButtonGroup.js";
11
- import u from "./Card.js";
12
- import d from "./Checkbox.js";
13
- import f from "./Combobox.js";
14
- import p from "./Dialog.js";
15
- import m from "./ConfirmDialog.js";
16
- import h from "./DatePicker.js";
17
- import g from "./DateRangePicker.js";
18
- import _ from "./DropdownMenu.js";
19
- import v from "./EmptyState.js";
20
- import y from "./FileUpload.js";
21
- import b from "./Form.js";
22
- import x from "./Label.js";
23
- import S from "./FormField.js";
24
- import C from "./Input.js";
25
- import w from "./LineChart.js";
26
- import T from "./NumberInput.js";
27
- import E from "./Pagination.js";
28
- import D from "./PasswordInput.js";
29
- import O from "./Progress.js";
30
- import k from "./RadioGroup.js";
31
- import A from "./Select.js";
32
- import j from "./Separator.js";
33
- import M from "./Skeleton.js";
34
- import N from "./Sparkline.js";
35
- import P from "./Stat.js";
36
- import F from "./Stepper.js";
37
- import I from "./Switch.js";
38
- import L from "./Table.js";
39
- import R from "./Tabs.js";
40
- import z from "./Textarea.js";
41
- import B from "./Toaster.js";
42
- import V from "./Tooltip.js";
2
+ import t from "./Accordion.js";
3
+ import n from "./Alert.js";
4
+ import r from "./App.js";
5
+ import i from "./AppShell.js";
6
+ import a from "./AspectRatio.js";
7
+ import o from "./Avatar.js";
8
+ import s from "./AvatarGroup.js";
9
+ import c from "./Badge.js";
10
+ import l from "./Banner.js";
11
+ import u from "./ChartLegend.js";
12
+ import d from "./BarChart.js";
13
+ import f from "./Breadcrumb.js";
14
+ import p from "./Button.js";
15
+ import m from "./ButtonGroup.js";
16
+ import h from "./Card.js";
17
+ import g from "./Checkbox.js";
18
+ import _ from "./Collapsible.js";
19
+ import v from "./ColorPicker.js";
20
+ import y from "./Combobox.js";
21
+ import b from "./Kbd.js";
22
+ import x from "./CommandPalette.js";
23
+ import S from "./Dialog.js";
24
+ import C from "./ConfirmDialog.js";
25
+ import w from "./Container.js";
26
+ import T from "./ContextMenu.js";
27
+ import E from "./DatePicker.js";
28
+ import D from "./DateRangePicker.js";
29
+ import O from "./Drawer.js";
30
+ import k from "./DropdownMenu.js";
31
+ import A from "./EmptyState.js";
32
+ import j from "./FileUpload.js";
33
+ import M from "./Form.js";
34
+ import N from "./Label.js";
35
+ import P from "./FormField.js";
36
+ import F from "./Input.js";
37
+ import I from "./LineChart.js";
38
+ import L from "./Menubar.js";
39
+ import R from "./NavigationMenu.js";
40
+ import z from "./NumberInput.js";
41
+ import B from "./PageHeader.js";
42
+ import V from "./Pagination.js";
43
+ import H from "./PasswordInput.js";
44
+ import U from "./PinInput.js";
45
+ import W from "./Popover.js";
46
+ import G from "./Progress.js";
47
+ import K from "./RadioGroup.js";
48
+ import q from "./ScrollArea.js";
49
+ import J from "./ScrollFade.js";
50
+ import Y from "./Select.js";
51
+ import X from "./Separator.js";
52
+ import Z from "./Sidebar.js";
53
+ import Q from "./SignaturePad.js";
54
+ import $ from "./Skeleton.js";
55
+ import ee from "./Slider.js";
56
+ import te from "./Sparkline.js";
57
+ import ne from "./Splitter.js";
58
+ import re from "./Stat.js";
59
+ import ie from "./Stepper.js";
60
+ import ae from "./Switch.js";
61
+ import oe from "./Table.js";
62
+ import se from "./Tabs.js";
63
+ import ce from "./TagsInput.js";
64
+ import le from "./Textarea.js";
65
+ import ue from "./TimeField.js";
66
+ import de from "./Timeline.js";
67
+ import fe from "./Toaster.js";
68
+ import pe from "./Toggle.js";
69
+ import me from "./ToggleGroup.js";
70
+ import he from "./Toolbar.js";
71
+ import ge from "./Tooltip.js";
72
+ import _e from "./Tree.js";
43
73
  //#region src/components/index.ts
44
- var H = /* @__PURE__ */ e({
45
- Alert: () => t,
46
- App: () => n,
47
- Badge: () => r,
48
- Banner: () => i,
49
- BarChart: () => o,
50
- Breadcrumb: () => s,
51
- Button: () => c,
52
- ButtonGroup: () => l,
53
- Card: () => u,
54
- ChartLegend: () => a,
55
- Checkbox: () => d,
56
- Combobox: () => f,
57
- ConfirmDialog: () => m,
58
- DatePicker: () => h,
59
- DateRangePicker: () => g,
60
- Dialog: () => p,
61
- DropdownMenu: () => _,
62
- EmptyState: () => v,
63
- FileUpload: () => y,
64
- Form: () => b,
65
- FormField: () => S,
66
- Input: () => C,
67
- Label: () => x,
68
- LineChart: () => w,
69
- NumberInput: () => T,
70
- Pagination: () => E,
71
- PasswordInput: () => D,
72
- Progress: () => O,
73
- RadioGroup: () => k,
74
- Select: () => A,
75
- Separator: () => j,
76
- Skeleton: () => M,
77
- Sparkline: () => N,
78
- Stat: () => P,
79
- Stepper: () => F,
80
- Switch: () => I,
81
- Table: () => L,
82
- Tabs: () => R,
83
- Textarea: () => z,
84
- Toaster: () => B,
85
- Tooltip: () => V
74
+ var ve = /* @__PURE__ */ e({
75
+ Accordion: () => t,
76
+ Alert: () => n,
77
+ App: () => r,
78
+ AppShell: () => i,
79
+ AspectRatio: () => a,
80
+ Avatar: () => o,
81
+ AvatarGroup: () => s,
82
+ Badge: () => c,
83
+ Banner: () => l,
84
+ BarChart: () => d,
85
+ Breadcrumb: () => f,
86
+ Button: () => p,
87
+ ButtonGroup: () => m,
88
+ Card: () => h,
89
+ ChartLegend: () => u,
90
+ Checkbox: () => g,
91
+ Collapsible: () => _,
92
+ ColorPicker: () => v,
93
+ Combobox: () => y,
94
+ CommandPalette: () => x,
95
+ ConfirmDialog: () => C,
96
+ Container: () => w,
97
+ ContextMenu: () => T,
98
+ DatePicker: () => E,
99
+ DateRangePicker: () => D,
100
+ Dialog: () => S,
101
+ Drawer: () => O,
102
+ DropdownMenu: () => k,
103
+ EmptyState: () => A,
104
+ FileUpload: () => j,
105
+ Form: () => M,
106
+ FormField: () => P,
107
+ Input: () => F,
108
+ Kbd: () => b,
109
+ Label: () => N,
110
+ LineChart: () => I,
111
+ Menubar: () => L,
112
+ NavigationMenu: () => R,
113
+ NumberInput: () => z,
114
+ PageHeader: () => B,
115
+ Pagination: () => V,
116
+ PasswordInput: () => H,
117
+ PinInput: () => U,
118
+ Popover: () => W,
119
+ Progress: () => G,
120
+ RadioGroup: () => K,
121
+ ScrollArea: () => q,
122
+ ScrollFade: () => J,
123
+ Select: () => Y,
124
+ Separator: () => X,
125
+ Sidebar: () => Z,
126
+ SignaturePad: () => Q,
127
+ Skeleton: () => $,
128
+ Slider: () => ee,
129
+ Sparkline: () => te,
130
+ Splitter: () => ne,
131
+ Stat: () => re,
132
+ Stepper: () => ie,
133
+ Switch: () => ae,
134
+ Table: () => oe,
135
+ Tabs: () => se,
136
+ TagsInput: () => ce,
137
+ Textarea: () => le,
138
+ TimeField: () => ue,
139
+ Timeline: () => de,
140
+ Toaster: () => fe,
141
+ Toggle: () => pe,
142
+ ToggleGroup: () => me,
143
+ Toolbar: () => he,
144
+ Tooltip: () => ge,
145
+ Tree: () => _e
86
146
  });
87
147
  //#endregion
88
- export { H as components_exports };
148
+ export { ve as components_exports };
@@ -6,7 +6,11 @@ function s() {
6
6
  }
7
7
  function c(e) {
8
8
  let t = document.createElement("style");
9
- t.textContent = "*,*::before,*::after{transition:none !important;animation:none !important}", document.head.appendChild(t), document.documentElement.classList.toggle("dark", e), document.body?.offsetHeight, requestAnimationFrame(() => t.remove());
9
+ t.textContent = "*,*::before,*::after{transition-duration:0s !important;animation-duration:0.01ms !important}", document.head.appendChild(t), document.documentElement.classList.toggle("dark", e), document.body?.offsetHeight;
10
+ let n = !1, r = () => {
11
+ n || (n = !0, t.remove());
12
+ };
13
+ requestAnimationFrame(r), setTimeout(r, 100);
10
14
  }
11
15
  function l() {
12
16
  if (o || typeof window > "u") return;
@@ -95,6 +95,17 @@ export declare const SERIES_SLOTS = 8;
95
95
  export declare function seriesColor(index: number): string;
96
96
  /** A series' palette slot: pinned if it has one, otherwise its position. */
97
97
  export declare function slotOf(entry: ChartSeries, index: number): number;
98
+ /**
99
+ * Dev-only warning.
100
+ *
101
+ * `process.env.NODE_ENV` is read as a bare global rather than through an
102
+ * `import process from 'node:process'`, which is what this used to do. That
103
+ * import shipped a Node builtin in a browser library: bundlers externalise it,
104
+ * `process` is undefined in a browser, and this line threw the moment a chart
105
+ * had more than eight series. Every bundler statically replaces the bare form
106
+ * instead, which also lets the whole branch be dropped from a production
107
+ * build — the same thing Vue and Reka do.
108
+ */
98
109
  export declare function warnOnSlotOverflow(count: number): void;
99
110
  /**
100
111
  * Keep a tooltip inside the chart's own box. Estimated from the text rather
@@ -1,14 +1,13 @@
1
1
  import { extent as e, linearScale as t, niceTicks as n } from "./scale.js";
2
- import r from "node:process";
3
2
  //#region src/composables/cartesian.ts
4
- var i = 6.5, a = 8, o = 20, s = 8;
5
- function c(r) {
6
- let a = r.orientation ?? "vertical", o = a === "horizontal", s = e(r.values), c = s ? n(r.includeZero ? Math.min(0, s[0]) : s[0], r.includeZero ? Math.max(0, s[1]) : s[1], r.tickCount) : n(0, 1, r.tickCount), l = Math.ceil(Math.max(...c.ticks.map((e) => r.formatTick(e).length), 1) * i) + 8, u = o ? Math.ceil(r.longestLabel * i) + 8 : r.showAxis ? l : 0, d = o && !r.showAxis ? 0 : 20, f = o && r.showAxis ? Math.ceil(l / 2) : 0, p = {
3
+ var r = 6.5, i = 8, a = 20, o = 8;
4
+ function s(i) {
5
+ let a = i.orientation ?? "vertical", o = a === "horizontal", s = e(i.values), c = s ? n(i.includeZero ? Math.min(0, s[0]) : s[0], i.includeZero ? Math.max(0, s[1]) : s[1], i.tickCount) : n(0, 1, i.tickCount), l = Math.ceil(Math.max(...c.ticks.map((e) => i.formatTick(e).length), 1) * r) + 8, u = o ? Math.ceil(i.longestLabel * r) + 8 : i.showAxis ? l : 0, d = o && !i.showAxis ? 0 : 20, f = o && i.showAxis ? Math.ceil(l / 2) : 0, p = {
7
6
  left: u,
8
7
  top: 8,
9
- width: Math.max(r.width - u - f, 0),
10
- height: Math.max(r.height - 8 - d, 0)
11
- }, m = o ? t([c.min, c.max], [p.left, p.left + p.width]) : t([c.min, c.max], [p.top + p.height, p.top]), h = o ? p.height : p.width, g = r.categories ? h / r.categories : 0, _ = o ? p.top : p.left, v = o ? 16 : r.longestLabel * i + 8, y = g ? Math.max(1, Math.ceil(v / g)) : 1;
8
+ width: Math.max(i.width - u - f, 0),
9
+ height: Math.max(i.height - 8 - d, 0)
10
+ }, m = o ? t([c.min, c.max], [p.left, p.left + p.width]) : t([c.min, c.max], [p.top + p.height, p.top]), h = o ? p.height : p.width, g = i.categories ? h / i.categories : 0, _ = o ? p.top : p.left, v = o ? 16 : i.longestLabel * r + 8, y = g ? Math.max(1, Math.ceil(v / g)) : 1;
12
11
  return {
13
12
  orientation: a,
14
13
  ticks: c.ticks,
@@ -20,24 +19,24 @@ function c(r) {
20
19
  bandCentre: (e) => _ + g * (e + .5)
21
20
  };
22
21
  }
23
- var l = 8;
24
- function u(e) {
22
+ var c = 8;
23
+ function l(e) {
25
24
  return `var(--iryx-chart-${Math.min(Math.max(e, 0), 7) + 1})`;
26
25
  }
27
- function d(e, t) {
26
+ function u(e, t) {
28
27
  return e.slot ?? t;
29
28
  }
30
- var f = !1;
31
- function p(e) {
32
- e <= 8 || f || r.env.NODE_ENV === "production" || (f = !0, console.warn(`[iryx-ui] ${e} chart series exceeds the 8 categorical slots. Colours past the eighth repeat and stop identifying anything — fold the tail into "Other", or use small multiples.`));
29
+ var d = !1;
30
+ function f(e) {
31
+ e <= 8 || d || process.env.NODE_ENV === "production" || (d = !0, console.warn(`[iryx-ui] ${e} chart series exceeds the 8 categorical slots. Colours past the eighth repeat and stop identifying anything — fold the tail into "Other", or use small multiples.`));
33
32
  }
34
- function m(e, t, n) {
35
- let r = g(t);
33
+ function p(e, t, n) {
34
+ let r = h(t);
36
35
  return n <= r * 2 ? n / 2 : Math.min(Math.max(e, r), Math.max(n - r, r));
37
36
  }
38
- var h = 5.6;
39
- function g(e) {
40
- return (e.length * h + 28) / 2;
37
+ var m = 5.6;
38
+ function h(e) {
39
+ return (e.length * m + 28) / 2;
41
40
  }
42
41
  //#endregion
43
- export { a as AXIS_GAP, o as CATEGORY_HEIGHT, i as CHAR_WIDTH, l as SERIES_SLOTS, s as TOP_PAD, c as cartesianLayout, m as clampTooltip, u as seriesColor, d as slotOf, g as tooltipHalfWidth, p as warnOnSlotOverflow };
42
+ export { i as AXIS_GAP, a as CATEGORY_HEIGHT, r as CHAR_WIDTH, c as SERIES_SLOTS, o as TOP_PAD, s as cartesianLayout, p as clampTooltip, l as seriesColor, u as slotOf, h as tooltipHalfWidth, f as warnOnSlotOverflow };
@@ -0,0 +1,42 @@
1
+ import type { IconLike } from './icon';
2
+ export interface CommandItem {
3
+ /** What the reader searches for and reads. */
4
+ label: string;
5
+ icon?: IconLike;
6
+ /**
7
+ * Displayed at the trailing edge, split on spaces into separate keys.
8
+ * Display only — the palette never binds it, because the shortcut belongs
9
+ * to the command itself and works whether or not the palette is open.
10
+ */
11
+ shortcut?: string;
12
+ /**
13
+ * Extra search terms that never appear on screen: synonyms, the old name of
14
+ * a renamed page, the word a reader would guess.
15
+ */
16
+ keywords?: string[];
17
+ /** Renders the row as a link, so middle-click and open-in-new-tab work. */
18
+ href?: string;
19
+ disabled?: boolean;
20
+ onSelect?: () => void;
21
+ }
22
+ export interface CommandGroup {
23
+ label: string;
24
+ items: CommandItem[];
25
+ }
26
+ export type CommandEntry = CommandItem | CommandGroup;
27
+ export declare function isCommandGroup(entry: CommandEntry): entry is CommandGroup;
28
+ /** Normalise to groups, so the template has a single path to render. */
29
+ export declare function toCommandGroups(entries: CommandEntry[] | undefined): CommandGroup[];
30
+ /**
31
+ * Everything a query should match against: the label, the group it sits in,
32
+ * and any keywords. Joined rather than tested separately so a query spanning
33
+ * two of them ("settings members") still matches.
34
+ */
35
+ export declare function commandHaystack(item: CommandItem, group: string): string;
36
+ /**
37
+ * Parse a hotkey like `mod+k` into a matcher.
38
+ *
39
+ * `mod` is Command on Apple platforms and Control everywhere else — the same
40
+ * key in muscle memory, a different key on the wire.
41
+ */
42
+ export declare function matchesHotkey(event: KeyboardEvent, hotkey: string): boolean;
@@ -0,0 +1,32 @@
1
+ import { isApplePlatform as e } from "./kbd.js";
2
+ //#region src/composables/command-palette.ts
3
+ function t(e) {
4
+ return Array.isArray(e.items);
5
+ }
6
+ function n(e) {
7
+ let n = [], r;
8
+ for (let i of e ?? []) {
9
+ if (t(i)) {
10
+ n.push(i), r = void 0;
11
+ continue;
12
+ }
13
+ r || (r = [], n.push({
14
+ label: "",
15
+ items: r
16
+ })), r.push(i);
17
+ }
18
+ return n;
19
+ }
20
+ function r(e, t) {
21
+ return [
22
+ e.label,
23
+ t,
24
+ ...e.keywords ?? []
25
+ ].join(" ");
26
+ }
27
+ function i(t, n) {
28
+ let r = n.toLowerCase().split("+").map((e) => e.trim()), i = r.at(-1) ?? "", a = r.includes("mod"), o = r.includes("ctrl") || r.includes("control"), s = r.includes("meta") || r.includes("cmd"), c = r.includes("shift"), l = r.includes("alt") || r.includes("option"), u = e() ? t.metaKey : t.ctrlKey;
29
+ return a && !u || o && !t.ctrlKey || s && !t.metaKey || c !== t.shiftKey || l !== t.altKey ? !1 : t.key.toLowerCase() === i;
30
+ }
31
+ //#endregion
32
+ export { r as commandHaystack, t as isCommandGroup, i as matchesHotkey, n as toCommandGroups };
@@ -1,5 +1,5 @@
1
1
  import type { DateValue } from '@internationalized/date';
2
- import { CalendarDate } from '@internationalized/date';
2
+ import { CalendarDate, Time } from '@internationalized/date';
3
3
  /**
4
4
  * Parse an ISO date, or `undefined` if it is absent or malformed.
5
5
  *
@@ -17,5 +17,21 @@ export declare function isoToday(): string;
17
17
  * so a caller can fall back to a placeholder.
18
18
  */
19
19
  export declare function formatIsoDate(iso: string | null | undefined, locale?: string, options?: Intl.DateTimeFormatOptions): string;
20
- export { CalendarDate };
20
+ /**
21
+ * Parse a `HH:mm` (or `HH:mm:ss`) string, or `undefined` if it is absent or
22
+ * malformed. Same bargain as {@link toCalendarDate}: bad input means "no
23
+ * selection" rather than a thrown render.
24
+ */
25
+ export declare function toTime(value: string | null | undefined): Time | undefined;
26
+ /**
27
+ * Back to `HH:mm`, or `HH:mm:ss` when there are seconds to keep. Padded, so
28
+ * the result sorts and compares as a string — which is most of the reason to
29
+ * hold a time as one.
30
+ */
31
+ export declare function toIsoTime(time: {
32
+ hour: number;
33
+ minute: number;
34
+ second?: number;
35
+ } | null | undefined): string | null;
36
+ export { CalendarDate, Time };
21
37
  export type { DateValue };
@@ -1,25 +1,33 @@
1
- import { $ad063034c8620db8$export$aa8b41735afcabd2 as e, $ad063034c8620db8$export$d0bdf45af03a6ea3 as t } from "../node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/queries.js";
2
- import { $58246871e4652552$export$6b862160d295c8e as n } from "../node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/string.js";
3
- import "../node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/CalendarDate.js";
4
- import { $12a3c853105e5a70$export$ad991b66133851cf as r } from "../node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/DateFormatter.js";
1
+ import { CalendarDate as e, DateFormatter as t, Time as n, getLocalTimeZone as r, parseDate as i, today as a } from "@internationalized/date";
5
2
  //#region src/composables/date.ts
6
- var i = /^\d{4}-\d{2}-\d{2}$/;
7
- function a(e) {
8
- if (!(!e || !i.test(e))) try {
9
- return n(e);
3
+ var o = /^\d{4}-\d{2}-\d{2}$/;
4
+ function s(e) {
5
+ if (!(!e || !o.test(e))) try {
6
+ return i(e);
10
7
  } catch {
11
8
  return;
12
9
  }
13
10
  }
14
- function o(e) {
11
+ function c(e) {
15
12
  return e ? `${e.year.toString().padStart(4, "0")}-${e.month.toString().padStart(2, "0")}-${e.day.toString().padStart(2, "0")}` : null;
16
13
  }
17
- function s() {
18
- return o(t(e()));
14
+ function l() {
15
+ return c(a(r()));
19
16
  }
20
- function c(t, n, i = { dateStyle: "medium" }) {
21
- let o = a(t);
22
- return o ? new r(n ?? "en-US", i).format(o.toDate(e())) : "";
17
+ function u(e, n, i = { dateStyle: "medium" }) {
18
+ let a = s(e);
19
+ return a ? new t(n ?? "en-US", i).format(a.toDate(r())) : "";
20
+ }
21
+ var d = /^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d)?$/;
22
+ function f(e) {
23
+ if (!e || !d.test(e)) return;
24
+ let [t, r, i] = e.split(":").map(Number);
25
+ return new n(t, r, i ?? 0);
26
+ }
27
+ function p(e) {
28
+ if (!e) return null;
29
+ let t = (e) => String(e).padStart(2, "0"), n = `${t(e.hour)}:${t(e.minute)}`;
30
+ return e.second ? `${n}:${t(e.second)}` : n;
23
31
  }
24
32
  //#endregion
25
- export { c as formatIsoDate, s as isoToday, a as toCalendarDate, o as toIsoDate };
33
+ export { e as CalendarDate, n as Time, u as formatIsoDate, l as isoToday, s as toCalendarDate, c as toIsoDate, p as toIsoTime, f as toTime };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Whether the reader is on an Apple platform, resolved **after mount**.
3
+ *
4
+ * It cannot be resolved during render: there is no `navigator` on the server,
5
+ * so server markup would say "Ctrl" and the client would say "⌘" — a
6
+ * hydration mismatch on every page carrying a shortcut. Starting `false` and
7
+ * correcting on mount means the worst case is one frame of the wrong glyph
8
+ * rather than a mismatched tree.
9
+ */
10
+ export declare function useApplePlatform(): import("vue").Ref<boolean, boolean>;
11
+ /** The same check, for code that already runs in the browser. */
12
+ export declare function isApplePlatform(): boolean;
13
+ export interface KbdKey {
14
+ /** What is drawn in the chip. */
15
+ symbol: string;
16
+ /** What a screen reader says instead. */
17
+ spoken: string;
18
+ }
19
+ /**
20
+ * Turn a hotkey into the keys to draw — `mod+k` becomes `⌘` and `K` on a Mac,
21
+ * `Ctrl` and `K` elsewhere.
22
+ *
23
+ * Accepts the same vocabulary as `matchesHotkey`, so the shortcut you bind and
24
+ * the shortcut you show are written the same way.
25
+ */
26
+ export declare function parseHotkey(hotkey: string | string[], apple: boolean): KbdKey[];
@@ -0,0 +1,161 @@
1
+ import { onMounted as e, ref as t } from "vue";
2
+ //#region src/composables/kbd.ts
3
+ function n() {
4
+ let n = t(!1);
5
+ return e(() => {
6
+ n.value = r();
7
+ }), n;
8
+ }
9
+ function r() {
10
+ return typeof navigator > "u" ? !1 : /mac|iphone|ipad|ipod/i.test(navigator.platform || navigator.userAgent);
11
+ }
12
+ var i = {
13
+ mod: {
14
+ apple: "⌘",
15
+ other: "Ctrl",
16
+ spoken: "Command",
17
+ spokenOther: "Control"
18
+ },
19
+ meta: {
20
+ apple: "⌘",
21
+ other: "Win",
22
+ spoken: "Command",
23
+ spokenOther: "Windows"
24
+ },
25
+ cmd: {
26
+ apple: "⌘",
27
+ other: "Ctrl",
28
+ spoken: "Command",
29
+ spokenOther: "Control"
30
+ },
31
+ ctrl: {
32
+ apple: "⌃",
33
+ other: "Ctrl",
34
+ spoken: "Control"
35
+ },
36
+ control: {
37
+ apple: "⌃",
38
+ other: "Ctrl",
39
+ spoken: "Control"
40
+ },
41
+ shift: {
42
+ apple: "⇧",
43
+ other: "Shift",
44
+ spoken: "Shift"
45
+ },
46
+ alt: {
47
+ apple: "⌥",
48
+ other: "Alt",
49
+ spoken: "Option",
50
+ spokenOther: "Alt"
51
+ },
52
+ option: {
53
+ apple: "⌥",
54
+ other: "Alt",
55
+ spoken: "Option",
56
+ spokenOther: "Alt"
57
+ }
58
+ }, a = {
59
+ enter: {
60
+ symbol: "↵",
61
+ spoken: "Enter"
62
+ },
63
+ return: {
64
+ symbol: "↵",
65
+ spoken: "Return"
66
+ },
67
+ escape: {
68
+ symbol: "Esc",
69
+ spoken: "Escape"
70
+ },
71
+ esc: {
72
+ symbol: "Esc",
73
+ spoken: "Escape"
74
+ },
75
+ backspace: {
76
+ symbol: "⌫",
77
+ spoken: "Backspace"
78
+ },
79
+ delete: {
80
+ symbol: "⌦",
81
+ spoken: "Delete"
82
+ },
83
+ tab: {
84
+ symbol: "⇥",
85
+ spoken: "Tab"
86
+ },
87
+ space: {
88
+ symbol: "␣",
89
+ spoken: "Space"
90
+ },
91
+ capslock: {
92
+ symbol: "⇪",
93
+ spoken: "Caps lock"
94
+ },
95
+ win: {
96
+ symbol: "⊞",
97
+ spoken: "Windows"
98
+ },
99
+ pageup: {
100
+ symbol: "⇞",
101
+ spoken: "Page up"
102
+ },
103
+ pagedown: {
104
+ symbol: "⇟",
105
+ spoken: "Page down"
106
+ },
107
+ home: {
108
+ symbol: "↖",
109
+ spoken: "Home"
110
+ },
111
+ end: {
112
+ symbol: "↘",
113
+ spoken: "End"
114
+ },
115
+ up: {
116
+ symbol: "↑",
117
+ spoken: "Up arrow"
118
+ },
119
+ down: {
120
+ symbol: "↓",
121
+ spoken: "Down arrow"
122
+ },
123
+ left: {
124
+ symbol: "←",
125
+ spoken: "Left arrow"
126
+ },
127
+ right: {
128
+ symbol: "→",
129
+ spoken: "Right arrow"
130
+ },
131
+ arrowup: {
132
+ symbol: "↑",
133
+ spoken: "Up arrow"
134
+ },
135
+ arrowdown: {
136
+ symbol: "↓",
137
+ spoken: "Down arrow"
138
+ },
139
+ arrowleft: {
140
+ symbol: "←",
141
+ spoken: "Left arrow"
142
+ },
143
+ arrowright: {
144
+ symbol: "→",
145
+ spoken: "Right arrow"
146
+ }
147
+ };
148
+ function o(e, t) {
149
+ return (Array.isArray(e) ? e : e.split("+").map((e) => e.trim()).filter(Boolean)).map((e) => {
150
+ let n = e.toLowerCase(), r = i[n];
151
+ return r ? {
152
+ symbol: t ? r.apple : r.other,
153
+ spoken: t ? r.spoken : r.spokenOther ?? r.spoken
154
+ } : a[n] || {
155
+ symbol: e.length === 1 ? e.toUpperCase() : e,
156
+ spoken: e.toUpperCase()
157
+ };
158
+ });
159
+ }
160
+ //#endregion
161
+ export { r as isApplePlatform, o as parseHotkey, n as useApplePlatform };