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
@@ -0,0 +1,110 @@
1
+ export declare const drawerTheme: import("tailwind-variants").TVReturnType<{
2
+ side: {
3
+ right: {
4
+ content: string;
5
+ handle: string;
6
+ };
7
+ left: {
8
+ content: string;
9
+ handle: string;
10
+ };
11
+ top: {
12
+ content: string;
13
+ handle: string;
14
+ };
15
+ bottom: {
16
+ content: string;
17
+ handle: string;
18
+ };
19
+ };
20
+ size: {
21
+ sm: {};
22
+ md: {};
23
+ lg: {};
24
+ xl: {};
25
+ full: {};
26
+ };
27
+ }, {
28
+ overlay: string;
29
+ content: string;
30
+ handle: string;
31
+ header: string;
32
+ title: string;
33
+ description: string;
34
+ body: string;
35
+ footer: string;
36
+ close: string;
37
+ }, undefined, {
38
+ side: {
39
+ right: {
40
+ content: string;
41
+ handle: string;
42
+ };
43
+ left: {
44
+ content: string;
45
+ handle: string;
46
+ };
47
+ top: {
48
+ content: string;
49
+ handle: string;
50
+ };
51
+ bottom: {
52
+ content: string;
53
+ handle: string;
54
+ };
55
+ };
56
+ size: {
57
+ sm: {};
58
+ md: {};
59
+ lg: {};
60
+ xl: {};
61
+ full: {};
62
+ };
63
+ }, {
64
+ overlay: string;
65
+ content: string;
66
+ handle: string;
67
+ header: string;
68
+ title: string;
69
+ description: string;
70
+ body: string;
71
+ footer: string;
72
+ close: string;
73
+ }, import("tailwind-variants").TVReturnType<{
74
+ side: {
75
+ right: {
76
+ content: string;
77
+ handle: string;
78
+ };
79
+ left: {
80
+ content: string;
81
+ handle: string;
82
+ };
83
+ top: {
84
+ content: string;
85
+ handle: string;
86
+ };
87
+ bottom: {
88
+ content: string;
89
+ handle: string;
90
+ };
91
+ };
92
+ size: {
93
+ sm: {};
94
+ md: {};
95
+ lg: {};
96
+ xl: {};
97
+ full: {};
98
+ };
99
+ }, {
100
+ overlay: string;
101
+ content: string;
102
+ handle: string;
103
+ header: string;
104
+ title: string;
105
+ description: string;
106
+ body: string;
107
+ footer: string;
108
+ close: string;
109
+ }, undefined, unknown, unknown, undefined>>;
110
+ export type DrawerSlots = keyof ReturnType<typeof drawerTheme>;
@@ -0,0 +1,100 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/drawer.ts
3
+ var t = e({
4
+ slots: {
5
+ overlay: "fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in",
6
+ content: "iryx-drawer fixed z-50 flex touch-none flex-col gap-4 border-border bg-background p-6 text-foreground shadow-lg outline-none",
7
+ handle: "shrink-0 rounded-full bg-border",
8
+ header: "flex flex-col gap-1",
9
+ title: "text-base leading-none font-semibold",
10
+ description: "text-sm text-muted-foreground",
11
+ body: "-m-1 min-h-0 flex-1 touch-auto overflow-y-auto p-1",
12
+ footer: "flex flex-wrap items-center justify-end gap-2",
13
+ close: "absolute top-4 right-4 rounded-lg p-1 text-muted-foreground transition-colors outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-4"
14
+ },
15
+ variants: {
16
+ side: {
17
+ right: {
18
+ content: "inset-y-0 right-0 h-dvh w-full border-l data-[state=closed]:animate-drawer-out-right data-[state=open]:animate-drawer-in-right",
19
+ handle: "absolute top-1/2 left-1.5 h-10 w-1 -translate-y-1/2"
20
+ },
21
+ left: {
22
+ content: "inset-y-0 left-0 h-dvh w-full border-r data-[state=closed]:animate-drawer-out-left data-[state=open]:animate-drawer-in-left",
23
+ handle: "absolute top-1/2 right-1.5 h-10 w-1 -translate-y-1/2"
24
+ },
25
+ top: {
26
+ content: "inset-x-0 top-0 w-full rounded-b-2xl border-b pb-4 data-[state=closed]:animate-drawer-out-top data-[state=open]:animate-drawer-in-top",
27
+ handle: "order-last mx-auto h-1 w-10"
28
+ },
29
+ bottom: {
30
+ content: "inset-x-0 bottom-0 w-full rounded-t-2xl border-t pt-4 data-[state=closed]:animate-drawer-out-bottom data-[state=open]:animate-drawer-in-bottom",
31
+ handle: "mx-auto h-1 w-10"
32
+ }
33
+ },
34
+ size: {
35
+ sm: {},
36
+ md: {},
37
+ lg: {},
38
+ xl: {},
39
+ full: {}
40
+ }
41
+ },
42
+ compoundVariants: [
43
+ {
44
+ side: ["left", "right"],
45
+ size: "sm",
46
+ class: { content: "sm:max-w-sm" }
47
+ },
48
+ {
49
+ side: ["left", "right"],
50
+ size: "md",
51
+ class: { content: "sm:max-w-md" }
52
+ },
53
+ {
54
+ side: ["left", "right"],
55
+ size: "lg",
56
+ class: { content: "sm:max-w-lg" }
57
+ },
58
+ {
59
+ side: ["left", "right"],
60
+ size: "xl",
61
+ class: { content: "sm:max-w-2xl" }
62
+ },
63
+ {
64
+ side: ["left", "right"],
65
+ size: "full",
66
+ class: { content: "max-w-none" }
67
+ },
68
+ {
69
+ side: ["top", "bottom"],
70
+ size: "sm",
71
+ class: { content: "max-h-[25dvh]" }
72
+ },
73
+ {
74
+ side: ["top", "bottom"],
75
+ size: "md",
76
+ class: { content: "max-h-[40dvh]" }
77
+ },
78
+ {
79
+ side: ["top", "bottom"],
80
+ size: "lg",
81
+ class: { content: "max-h-[60dvh]" }
82
+ },
83
+ {
84
+ side: ["top", "bottom"],
85
+ size: "xl",
86
+ class: { content: "max-h-[80dvh]" }
87
+ },
88
+ {
89
+ side: ["top", "bottom"],
90
+ size: "full",
91
+ class: { content: "h-dvh max-h-none rounded-none" }
92
+ }
93
+ ],
94
+ defaultVariants: {
95
+ side: "right",
96
+ size: "md"
97
+ }
98
+ });
99
+ //#endregion
100
+ export { t as drawerTheme };
@@ -1,5 +1,4 @@
1
1
  export declare const dropdownMenuTheme: import("tailwind-variants").TVReturnType<{
2
- /** Destructive items read in the danger colour, including when highlighted. */
3
2
  danger: {
4
3
  true: {
5
4
  item: string;
@@ -10,13 +9,10 @@ export declare const dropdownMenuTheme: import("tailwind-variants").TVReturnType
10
9
  item: string;
11
10
  label: string;
12
11
  separator: string;
13
- /** Same chrome as an item, plus a trailing chevron and an open state. */
14
12
  subTrigger: string;
15
13
  subContent: string;
16
- /** Pushes the submenu chevron to the trailing edge. */
17
14
  subTriggerIcon: string;
18
15
  }, undefined, {
19
- /** Destructive items read in the danger colour, including when highlighted. */
20
16
  danger: {
21
17
  true: {
22
18
  item: string;
@@ -27,13 +23,10 @@ export declare const dropdownMenuTheme: import("tailwind-variants").TVReturnType
27
23
  item: string;
28
24
  label: string;
29
25
  separator: string;
30
- /** Same chrome as an item, plus a trailing chevron and an open state. */
31
26
  subTrigger: string;
32
27
  subContent: string;
33
- /** Pushes the submenu chevron to the trailing edge. */
34
28
  subTriggerIcon: string;
35
29
  }, import("tailwind-variants").TVReturnType<{
36
- /** Destructive items read in the danger colour, including when highlighted. */
37
30
  danger: {
38
31
  true: {
39
32
  item: string;
@@ -44,10 +37,8 @@ export declare const dropdownMenuTheme: import("tailwind-variants").TVReturnType
44
37
  item: string;
45
38
  label: string;
46
39
  separator: string;
47
- /** Same chrome as an item, plus a trailing chevron and an open state. */
48
40
  subTrigger: string;
49
41
  subContent: string;
50
- /** Pushes the submenu chevron to the trailing edge. */
51
42
  subTriggerIcon: string;
52
43
  }, undefined, unknown, unknown, undefined>>;
53
44
  export type DropdownMenuSlots = keyof ReturnType<typeof dropdownMenuTheme>;
@@ -1,5 +1,4 @@
1
1
  export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
2
- /** Held during a drag, so the target is unmistakable while dragging. */
3
2
  dragging: {
4
3
  true: {
5
4
  dropzone: string;
@@ -46,7 +45,6 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
46
45
  remove: string;
47
46
  error: string;
48
47
  }, undefined, {
49
- /** Held during a drag, so the target is unmistakable while dragging. */
50
48
  dragging: {
51
49
  true: {
52
50
  dropzone: string;
@@ -93,7 +91,6 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
93
91
  remove: string;
94
92
  error: string;
95
93
  }, import("tailwind-variants").TVReturnType<{
96
- /** Held during a drag, so the target is unmistakable while dragging. */
97
94
  dragging: {
98
95
  true: {
99
96
  dropzone: string;
@@ -2,12 +2,12 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
2
2
  [key: string]: {
3
3
  [key: string]: import("tailwind-variants").ClassValue | {
4
4
  root?: import("tailwind-variants").ClassValue;
5
- description?: import("tailwind-variants").ClassValue;
6
- label?: import("tailwind-variants").ClassValue;
7
5
  header?: import("tailwind-variants").ClassValue;
8
- hint?: import("tailwind-variants").ClassValue;
9
- error?: import("tailwind-variants").ClassValue;
6
+ label?: import("tailwind-variants").ClassValue;
7
+ description?: import("tailwind-variants").ClassValue;
10
8
  control?: import("tailwind-variants").ClassValue;
9
+ error?: import("tailwind-variants").ClassValue;
10
+ hint?: import("tailwind-variants").ClassValue;
11
11
  help?: import("tailwind-variants").ClassValue;
12
12
  };
13
13
  };
@@ -15,12 +15,12 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
15
15
  [x: string]: {
16
16
  [x: string]: import("tailwind-variants").ClassValue | {
17
17
  root?: import("tailwind-variants").ClassValue;
18
- description?: import("tailwind-variants").ClassValue;
19
- label?: import("tailwind-variants").ClassValue;
20
18
  header?: import("tailwind-variants").ClassValue;
21
- hint?: import("tailwind-variants").ClassValue;
22
- error?: import("tailwind-variants").ClassValue;
19
+ label?: import("tailwind-variants").ClassValue;
20
+ description?: import("tailwind-variants").ClassValue;
23
21
  control?: import("tailwind-variants").ClassValue;
22
+ error?: import("tailwind-variants").ClassValue;
23
+ hint?: import("tailwind-variants").ClassValue;
24
24
  help?: import("tailwind-variants").ClassValue;
25
25
  };
26
26
  };
@@ -37,12 +37,12 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
37
37
  [key: string]: {
38
38
  [key: string]: import("tailwind-variants").ClassValue | {
39
39
  root?: import("tailwind-variants").ClassValue;
40
- description?: import("tailwind-variants").ClassValue;
41
- label?: import("tailwind-variants").ClassValue;
42
40
  header?: import("tailwind-variants").ClassValue;
43
- hint?: import("tailwind-variants").ClassValue;
44
- error?: import("tailwind-variants").ClassValue;
41
+ label?: import("tailwind-variants").ClassValue;
42
+ description?: import("tailwind-variants").ClassValue;
45
43
  control?: import("tailwind-variants").ClassValue;
44
+ error?: import("tailwind-variants").ClassValue;
45
+ hint?: import("tailwind-variants").ClassValue;
46
46
  help?: import("tailwind-variants").ClassValue;
47
47
  };
48
48
  };
@@ -1,4 +1,7 @@
1
+ export * from './accordion';
1
2
  export * from './alert';
3
+ export * from './app-shell';
4
+ export * from './avatar';
2
5
  export * from './badge';
3
6
  export * from './banner';
4
7
  export * from './bar-chart';
@@ -8,29 +11,52 @@ export * from './button-group';
8
11
  export * from './card';
9
12
  export * from './chart-legend';
10
13
  export * from './checkbox';
14
+ export * from './collapsible';
15
+ export * from './color-picker';
11
16
  export * from './combobox';
17
+ export * from './command-palette';
18
+ export * from './container';
12
19
  export * from './date-picker';
13
20
  export * from './dialog';
21
+ export * from './drawer';
14
22
  export * from './dropdown-menu';
15
23
  export * from './empty-state';
16
24
  export * from './file-upload';
17
25
  export * from './input';
26
+ export * from './kbd';
18
27
  export * from './label';
19
28
  export * from './line-chart';
29
+ export * from './menubar';
30
+ export * from './navigation-menu';
20
31
  export * from './number-input';
32
+ export * from './page-header';
21
33
  export * from './pagination';
22
34
  export * from './password-input';
35
+ export * from './pin-input';
36
+ export * from './popover';
23
37
  export * from './presets';
24
38
  export * from './progress';
25
39
  export * from './radio-group';
40
+ export * from './scroll-area';
41
+ export * from './scroll-fade';
26
42
  export * from './select';
27
43
  export * from './separator';
44
+ export * from './sidebar';
45
+ export * from './signature-pad';
28
46
  export * from './skeleton';
47
+ export * from './slider';
29
48
  export * from './sparkline';
49
+ export * from './splitter';
30
50
  export * from './stat';
31
51
  export * from './stepper';
32
52
  export * from './switch';
33
53
  export * from './table';
34
54
  export * from './tabs';
55
+ export * from './tags-input';
56
+ export * from './time-field';
57
+ export * from './timeline';
35
58
  export * from './toast';
59
+ export * from './toggle';
60
+ export * from './toolbar';
36
61
  export * from './tooltip';
62
+ export * from './tree';
@@ -0,0 +1,71 @@
1
+ export declare const kbdTheme: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ xs: {
4
+ root: string;
5
+ key: string;
6
+ separator: string;
7
+ };
8
+ sm: {
9
+ root: string;
10
+ key: string;
11
+ separator: string;
12
+ };
13
+ md: {
14
+ root: string;
15
+ key: string;
16
+ separator: string;
17
+ };
18
+ };
19
+ }, {
20
+ root: string;
21
+ key: string;
22
+ /** The `+` between chips. Punctuation, so it is hidden from readers. */
23
+ separator: string;
24
+ }, undefined, {
25
+ size: {
26
+ xs: {
27
+ root: string;
28
+ key: string;
29
+ separator: string;
30
+ };
31
+ sm: {
32
+ root: string;
33
+ key: string;
34
+ separator: string;
35
+ };
36
+ md: {
37
+ root: string;
38
+ key: string;
39
+ separator: string;
40
+ };
41
+ };
42
+ }, {
43
+ root: string;
44
+ key: string;
45
+ /** The `+` between chips. Punctuation, so it is hidden from readers. */
46
+ separator: string;
47
+ }, import("tailwind-variants").TVReturnType<{
48
+ size: {
49
+ xs: {
50
+ root: string;
51
+ key: string;
52
+ separator: string;
53
+ };
54
+ sm: {
55
+ root: string;
56
+ key: string;
57
+ separator: string;
58
+ };
59
+ md: {
60
+ root: string;
61
+ key: string;
62
+ separator: string;
63
+ };
64
+ };
65
+ }, {
66
+ root: string;
67
+ key: string;
68
+ /** The `+` between chips. Punctuation, so it is hidden from readers. */
69
+ separator: string;
70
+ }, undefined, unknown, unknown, undefined>>;
71
+ export type KbdSlots = keyof ReturnType<typeof kbdTheme>;
@@ -0,0 +1,29 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/kbd.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "inline-flex shrink-0 items-center",
6
+ key: "inline-flex items-center justify-center rounded border border-current/25 bg-current/10 text-center font-medium text-current/75",
7
+ separator: "text-current/60"
8
+ },
9
+ variants: { size: {
10
+ xs: {
11
+ root: "gap-0.5",
12
+ key: "h-4 min-w-4 px-1 text-[0.625rem]",
13
+ separator: "px-0.5 text-[0.625rem]"
14
+ },
15
+ sm: {
16
+ root: "gap-0.5",
17
+ key: "h-5 min-w-5 px-1 text-xs",
18
+ separator: "px-0.5 text-xs"
19
+ },
20
+ md: {
21
+ root: "gap-1",
22
+ key: "h-6 min-w-6 px-1.5 text-sm",
23
+ separator: "px-0.5 text-sm"
24
+ }
25
+ } },
26
+ defaultVariants: { size: "sm" }
27
+ });
28
+ //#endregion
29
+ export { t as kbdTheme };
@@ -52,11 +52,8 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
52
52
  grid: string;
53
53
  tick: string;
54
54
  category: string;
55
- /** 2px, round join and cap, per the shared line-mark spec. */
56
55
  line: string;
57
- /** A wash at ~10%, never a saturated block competing with the line. */
58
56
  area: string;
59
- /** Recessive: it locates the reading, it is not a reading itself. */
60
57
  crosshair: string;
61
58
  marker: string;
62
59
  /** Keeps the marker legible where it sits on top of the line. */
@@ -99,11 +96,8 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
99
96
  grid: string;
100
97
  tick: string;
101
98
  category: string;
102
- /** 2px, round join and cap, per the shared line-mark spec. */
103
99
  line: string;
104
- /** A wash at ~10%, never a saturated block competing with the line. */
105
100
  area: string;
106
- /** Recessive: it locates the reading, it is not a reading itself. */
107
101
  crosshair: string;
108
102
  marker: string;
109
103
  /** Keeps the marker legible where it sits on top of the line. */
@@ -125,11 +119,8 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
125
119
  grid: string;
126
120
  tick: string;
127
121
  category: string;
128
- /** 2px, round join and cap, per the shared line-mark spec. */
129
122
  line: string;
130
- /** A wash at ~10%, never a saturated block competing with the line. */
131
123
  area: string;
132
- /** Recessive: it locates the reading, it is not a reading itself. */
133
124
  crosshair: string;
134
125
  marker: string;
135
126
  /** Keeps the marker legible where it sits on top of the line. */
@@ -0,0 +1,29 @@
1
+ export declare const menubarTheme: import("tailwind-variants").TVReturnType<{
2
+ bare: {
3
+ true: {
4
+ root: string;
5
+ };
6
+ };
7
+ }, {
8
+ root: string;
9
+ trigger: string;
10
+ }, undefined, {
11
+ bare: {
12
+ true: {
13
+ root: string;
14
+ };
15
+ };
16
+ }, {
17
+ root: string;
18
+ trigger: string;
19
+ }, import("tailwind-variants").TVReturnType<{
20
+ bare: {
21
+ true: {
22
+ root: string;
23
+ };
24
+ };
25
+ }, {
26
+ root: string;
27
+ trigger: string;
28
+ }, undefined, unknown, unknown, undefined>>;
29
+ export type MenubarSlots = keyof ReturnType<typeof menubarTheme>;
@@ -0,0 +1,11 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/menubar.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "flex items-center gap-0.5 rounded-xl border border-border bg-background p-1",
6
+ trigger: "flex cursor-default items-center rounded-lg px-2.5 py-1.5 text-sm font-medium text-foreground outline-none select-none focus-visible:ring-2 focus-visible:ring-primary/50 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground"
7
+ },
8
+ variants: { bare: { true: { root: "rounded-none border-0 bg-transparent p-0" } } }
9
+ });
10
+ //#endregion
11
+ export { t as menubarTheme };