iryx-ui 0.12.0 → 0.14.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 (234) hide show
  1. package/README.md +35 -1315
  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 +7 -7
  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/BarChart.vue.d.ts +1 -1
  25. package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +14 -14
  26. package/dist/components/Breadcrumb.vue.d.ts +1 -1
  27. package/dist/components/Button.vue.d.ts +2 -2
  28. package/dist/components/ButtonGroup.vue.d.ts +1 -1
  29. package/dist/components/Card.vue.d.ts +1 -1
  30. package/dist/components/Collapsible.js +5 -0
  31. package/dist/components/Collapsible.vue.d.ts +58 -0
  32. package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js +67 -0
  33. package/dist/components/ColorPicker.js +5 -0
  34. package/dist/components/ColorPicker.vue.d.ts +49 -0
  35. package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js +172 -0
  36. package/dist/components/Combobox.vue.d.ts +40 -13
  37. package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +172 -103
  38. package/dist/components/CommandPalette.js +5 -0
  39. package/dist/components/CommandPalette.vue.d.ts +63 -0
  40. package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +185 -0
  41. package/dist/components/Container.js +5 -0
  42. package/dist/components/Container.vue.d.ts +33 -0
  43. package/dist/components/Container.vue_vue_type_script_setup_true_lang.js +40 -0
  44. package/dist/components/ContextMenu.js +5 -0
  45. package/dist/components/ContextMenu.vue.d.ts +42 -0
  46. package/dist/components/ContextMenu.vue_vue_type_script_setup_true_lang.js +49 -0
  47. package/dist/components/DatePicker.vue.d.ts +1 -1
  48. package/dist/components/DateRangePicker.vue.d.ts +2 -2
  49. package/dist/components/Dialog.vue.d.ts +1 -1
  50. package/dist/components/Drawer.vue.d.ts +2 -2
  51. package/dist/components/EmptyState.vue.d.ts +1 -1
  52. package/dist/components/FileUpload.vue.d.ts +2 -2
  53. package/dist/components/Icon.vue.d.ts +6 -0
  54. package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -9
  55. package/dist/components/Input.vue.d.ts +1 -1
  56. package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +4 -4
  57. package/dist/components/Kbd.js +5 -0
  58. package/dist/components/Kbd.vue.d.ts +46 -0
  59. package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js +41 -0
  60. package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +19 -19
  61. package/dist/components/Menubar.js +5 -0
  62. package/dist/components/Menubar.vue.d.ts +62 -0
  63. package/dist/components/Menubar.vue_vue_type_script_setup_true_lang.js +79 -0
  64. package/dist/components/NavigationMenu.js +5 -0
  65. package/dist/components/NavigationMenu.vue.d.ts +75 -0
  66. package/dist/components/NavigationMenu.vue_vue_type_script_setup_true_lang.js +167 -0
  67. package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js +2 -2
  68. package/dist/components/PageHeader.js +5 -0
  69. package/dist/components/PageHeader.vue.d.ts +52 -0
  70. package/dist/components/PageHeader.vue_vue_type_script_setup_true_lang.js +59 -0
  71. package/dist/components/Pagination.vue.d.ts +1 -1
  72. package/dist/components/PinInput.js +5 -0
  73. package/dist/components/PinInput.vue.d.ts +65 -0
  74. package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +76 -0
  75. package/dist/components/Popover.js +5 -0
  76. package/dist/components/Popover.vue.d.ts +75 -0
  77. package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js +99 -0
  78. package/dist/components/Progress.vue.d.ts +20 -1
  79. package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +84 -44
  80. package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +4 -1
  81. package/dist/components/ScrollArea.js +5 -0
  82. package/dist/components/ScrollArea.vue.d.ts +41 -0
  83. package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js +68 -0
  84. package/dist/components/ScrollFade.js +5 -0
  85. package/dist/components/ScrollFade.vue.d.ts +36 -0
  86. package/dist/components/ScrollFade.vue_vue_type_script_setup_true_lang.js +59 -0
  87. package/dist/components/Select.vue.d.ts +2 -2
  88. package/dist/components/Sidebar.js +5 -0
  89. package/dist/components/Sidebar.vue.d.ts +72 -0
  90. package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +183 -0
  91. package/dist/components/SignaturePad.js +5 -0
  92. package/dist/components/SignaturePad.vue.d.ts +60 -0
  93. package/dist/components/SignaturePad.vue_vue_type_script_setup_true_lang.js +158 -0
  94. package/dist/components/Skeleton.vue.d.ts +2 -2
  95. package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js +8 -8
  96. package/dist/components/Slider.js +5 -0
  97. package/dist/components/Slider.vue.d.ts +80 -0
  98. package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js +115 -0
  99. package/dist/components/Splitter.js +5 -0
  100. package/dist/components/Splitter.vue.d.ts +59 -0
  101. package/dist/components/Splitter.vue_vue_type_script_setup_true_lang.js +69 -0
  102. package/dist/components/Stat.vue.d.ts +1 -1
  103. package/dist/components/Switch.vue.d.ts +1 -0
  104. package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +7 -3
  105. package/dist/components/Table.vue.d.ts +7 -1
  106. package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +73 -58
  107. package/dist/components/TagsInput.js +5 -0
  108. package/dist/components/TagsInput.vue.d.ts +71 -0
  109. package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js +119 -0
  110. package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +3 -3
  111. package/dist/components/TimeField.js +5 -0
  112. package/dist/components/TimeField.vue.d.ts +50 -0
  113. package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +85 -0
  114. package/dist/components/Timeline.js +5 -0
  115. package/dist/components/Timeline.vue.d.ts +61 -0
  116. package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js +60 -0
  117. package/dist/components/Toaster.vue.d.ts +1 -1
  118. package/dist/components/Toggle.js +5 -0
  119. package/dist/components/Toggle.vue.d.ts +42 -0
  120. package/dist/components/Toggle.vue_vue_type_script_setup_true_lang.js +52 -0
  121. package/dist/components/ToggleGroup.js +5 -0
  122. package/dist/components/ToggleGroup.vue.d.ts +64 -0
  123. package/dist/components/ToggleGroup.vue_vue_type_script_setup_true_lang.js +78 -0
  124. package/dist/components/Toolbar.js +5 -0
  125. package/dist/components/Toolbar.vue.d.ts +52 -0
  126. package/dist/components/Toolbar.vue_vue_type_script_setup_true_lang.js +94 -0
  127. package/dist/components/Tree.js +5 -0
  128. package/dist/components/Tree.vue.d.ts +70 -0
  129. package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js +112 -0
  130. package/dist/components/index.d.ts +30 -0
  131. package/dist/components/index.js +146 -86
  132. package/dist/composables/appearance.js +5 -1
  133. package/dist/composables/cartesian.d.ts +11 -0
  134. package/dist/composables/cartesian.js +18 -19
  135. package/dist/composables/command-palette.d.ts +42 -0
  136. package/dist/composables/command-palette.js +32 -0
  137. package/dist/composables/date.d.ts +18 -2
  138. package/dist/composables/date.js +23 -12
  139. package/dist/composables/kbd.d.ts +26 -0
  140. package/dist/composables/kbd.js +161 -0
  141. package/dist/composables/navigation-menu.d.ts +29 -0
  142. package/dist/composables/navigation-menu.js +6 -0
  143. package/dist/composables/scroll-fade.d.ts +35 -0
  144. package/dist/composables/scroll-fade.js +36 -0
  145. package/dist/composables/sidebar.d.ts +35 -0
  146. package/dist/composables/sidebar.js +23 -0
  147. package/dist/composables/signature.d.ts +22 -0
  148. package/dist/composables/signature.js +13 -0
  149. package/dist/index.d.ts +37 -0
  150. package/dist/index.js +155 -93
  151. package/dist/theme/accordion.d.ts +68 -0
  152. package/dist/theme/accordion.js +24 -0
  153. package/dist/theme/alert.d.ts +0 -3
  154. package/dist/theme/app-shell.d.ts +77 -0
  155. package/dist/theme/app-shell.js +35 -0
  156. package/dist/theme/avatar.d.ts +253 -0
  157. package/dist/theme/avatar.js +84 -0
  158. package/dist/theme/banner.d.ts +0 -9
  159. package/dist/theme/bar-chart.d.ts +0 -16
  160. package/dist/theme/breadcrumb.d.ts +3 -3
  161. package/dist/theme/button-group.d.ts +0 -3
  162. package/dist/theme/button.d.ts +0 -3
  163. package/dist/theme/card.js +2 -2
  164. package/dist/theme/chart-legend.d.ts +3 -11
  165. package/dist/theme/collapsible.d.ts +44 -0
  166. package/dist/theme/collapsible.js +17 -0
  167. package/dist/theme/color-picker.d.ts +98 -0
  168. package/dist/theme/color-picker.js +19 -0
  169. package/dist/theme/combobox.d.ts +48 -0
  170. package/dist/theme/combobox.js +23 -3
  171. package/dist/theme/command-palette.d.ts +122 -0
  172. package/dist/theme/command-palette.js +22 -0
  173. package/dist/theme/container.d.ts +101 -0
  174. package/dist/theme/container.js +26 -0
  175. package/dist/theme/date-picker.d.ts +12 -0
  176. package/dist/theme/date-picker.js +1 -1
  177. package/dist/theme/dropdown-menu.d.ts +0 -9
  178. package/dist/theme/file-upload.d.ts +0 -3
  179. package/dist/theme/form.d.ts +12 -12
  180. package/dist/theme/index.d.ts +25 -0
  181. package/dist/theme/kbd.d.ts +71 -0
  182. package/dist/theme/kbd.js +29 -0
  183. package/dist/theme/line-chart.d.ts +0 -9
  184. package/dist/theme/menubar.d.ts +29 -0
  185. package/dist/theme/menubar.js +11 -0
  186. package/dist/theme/navigation-menu.d.ts +161 -0
  187. package/dist/theme/navigation-menu.js +43 -0
  188. package/dist/theme/number-input.d.ts +0 -3
  189. package/dist/theme/page-header.d.ts +47 -0
  190. package/dist/theme/page-header.js +17 -0
  191. package/dist/theme/pagination.d.ts +0 -3
  192. package/dist/theme/pin-input.d.ts +86 -0
  193. package/dist/theme/pin-input.js +32 -0
  194. package/dist/theme/popover.d.ts +119 -0
  195. package/dist/theme/popover.js +31 -0
  196. package/dist/theme/presets.d.ts +0 -2
  197. package/dist/theme/progress.d.ts +93 -0
  198. package/dist/theme/progress.js +37 -7
  199. package/dist/theme/radio-group.d.ts +24 -0
  200. package/dist/theme/radio-group.js +23 -14
  201. package/dist/theme/scroll-area.d.ts +65 -0
  202. package/dist/theme/scroll-area.js +57 -0
  203. package/dist/theme/scroll-fade.d.ts +35 -0
  204. package/dist/theme/scroll-fade.js +12 -0
  205. package/dist/theme/sidebar.d.ts +167 -0
  206. package/dist/theme/sidebar.js +43 -0
  207. package/dist/theme/signature-pad.d.ts +50 -0
  208. package/dist/theme/signature-pad.js +17 -0
  209. package/dist/theme/slider.d.ts +128 -0
  210. package/dist/theme/slider.js +49 -0
  211. package/dist/theme/sparkline.d.ts +0 -6
  212. package/dist/theme/splitter.d.ts +59 -0
  213. package/dist/theme/splitter.js +25 -0
  214. package/dist/theme/stat.d.ts +0 -3
  215. package/dist/theme/stepper.js +2 -2
  216. package/dist/theme/switch.d.ts +53 -29
  217. package/dist/theme/switch.js +33 -8
  218. package/dist/theme/table.d.ts +51 -3
  219. package/dist/theme/table.js +8 -3
  220. package/dist/theme/tabs.d.ts +0 -3
  221. package/dist/theme/tags-input.d.ts +110 -0
  222. package/dist/theme/tags-input.js +42 -0
  223. package/dist/theme/time-field.d.ts +68 -0
  224. package/dist/theme/time-field.js +21 -0
  225. package/dist/theme/timeline.d.ts +182 -0
  226. package/dist/theme/timeline.js +83 -0
  227. package/dist/theme/toggle.d.ts +145 -0
  228. package/dist/theme/toggle.js +84 -0
  229. package/dist/theme/toolbar.d.ts +56 -0
  230. package/dist/theme/toolbar.js +21 -0
  231. package/dist/theme/tree.d.ts +68 -0
  232. package/dist/theme/tree.js +28 -0
  233. package/package.json +2 -2
  234. package/theme.css +221 -0
@@ -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,7 +11,11 @@ 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';
14
21
  export * from './drawer';
@@ -16,22 +23,40 @@ export * from './dropdown-menu';
16
23
  export * from './empty-state';
17
24
  export * from './file-upload';
18
25
  export * from './input';
26
+ export * from './kbd';
19
27
  export * from './label';
20
28
  export * from './line-chart';
29
+ export * from './menubar';
30
+ export * from './navigation-menu';
21
31
  export * from './number-input';
32
+ export * from './page-header';
22
33
  export * from './pagination';
23
34
  export * from './password-input';
35
+ export * from './pin-input';
36
+ export * from './popover';
24
37
  export * from './presets';
25
38
  export * from './progress';
26
39
  export * from './radio-group';
40
+ export * from './scroll-area';
41
+ export * from './scroll-fade';
27
42
  export * from './select';
28
43
  export * from './separator';
44
+ export * from './sidebar';
45
+ export * from './signature-pad';
29
46
  export * from './skeleton';
47
+ export * from './slider';
30
48
  export * from './sparkline';
49
+ export * from './splitter';
31
50
  export * from './stat';
32
51
  export * from './stepper';
33
52
  export * from './switch';
34
53
  export * from './table';
35
54
  export * from './tabs';
55
+ export * from './tags-input';
56
+ export * from './time-field';
57
+ export * from './timeline';
36
58
  export * from './toast';
59
+ export * from './toggle';
60
+ export * from './toolbar';
37
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 };
@@ -0,0 +1,161 @@
1
+ export declare const navigationMenuTheme: import("tailwind-variants").TVReturnType<{
2
+ orientation: {
3
+ horizontal: {
4
+ viewportWrapper: string;
5
+ viewport: string;
6
+ };
7
+ vertical: {
8
+ list: string;
9
+ link: string;
10
+ viewportWrapper: string;
11
+ viewport: string;
12
+ };
13
+ };
14
+ /** Panels wider than one column. Only affects the grid inside the viewport. */
15
+ columns: {
16
+ 1: {
17
+ content: string;
18
+ };
19
+ 2: {
20
+ content: string;
21
+ };
22
+ 3: {
23
+ content: string;
24
+ };
25
+ };
26
+ }, {
27
+ root: string;
28
+ list: string;
29
+ item: string;
30
+ /**
31
+ * A plain link and a panel trigger share their chrome, so the two kinds of
32
+ * top-level entry read as one row. `group` is here for the chevron.
33
+ */
34
+ link: string;
35
+ triggerIcon: string;
36
+ /**
37
+ * Spans the root so the viewport has a stable origin; Reka's -left/-top
38
+ * vars then place it against the active trigger, so this must NOT also
39
+ * centre with flex — the two would fight and the panel would land off by
40
+ * half its own width.
41
+ */
42
+ viewportWrapper: string;
43
+ viewport: string;
44
+ /**
45
+ * Absolute inside the viewport so the viewport measures it without being
46
+ * sized by it. `w-max` lets the grid decide its own width.
47
+ */
48
+ content: string;
49
+ panelLink: string;
50
+ panelLabel: string;
51
+ panelDescription: string;
52
+ /** Sits under the icon so a bare glyph does not float in the row. */
53
+ panelIcon: string;
54
+ }, undefined, {
55
+ orientation: {
56
+ horizontal: {
57
+ viewportWrapper: string;
58
+ viewport: string;
59
+ };
60
+ vertical: {
61
+ list: string;
62
+ link: string;
63
+ viewportWrapper: string;
64
+ viewport: string;
65
+ };
66
+ };
67
+ /** Panels wider than one column. Only affects the grid inside the viewport. */
68
+ columns: {
69
+ 1: {
70
+ content: string;
71
+ };
72
+ 2: {
73
+ content: string;
74
+ };
75
+ 3: {
76
+ content: string;
77
+ };
78
+ };
79
+ }, {
80
+ root: string;
81
+ list: string;
82
+ item: string;
83
+ /**
84
+ * A plain link and a panel trigger share their chrome, so the two kinds of
85
+ * top-level entry read as one row. `group` is here for the chevron.
86
+ */
87
+ link: string;
88
+ triggerIcon: string;
89
+ /**
90
+ * Spans the root so the viewport has a stable origin; Reka's -left/-top
91
+ * vars then place it against the active trigger, so this must NOT also
92
+ * centre with flex — the two would fight and the panel would land off by
93
+ * half its own width.
94
+ */
95
+ viewportWrapper: string;
96
+ viewport: string;
97
+ /**
98
+ * Absolute inside the viewport so the viewport measures it without being
99
+ * sized by it. `w-max` lets the grid decide its own width.
100
+ */
101
+ content: string;
102
+ panelLink: string;
103
+ panelLabel: string;
104
+ panelDescription: string;
105
+ /** Sits under the icon so a bare glyph does not float in the row. */
106
+ panelIcon: string;
107
+ }, import("tailwind-variants").TVReturnType<{
108
+ orientation: {
109
+ horizontal: {
110
+ viewportWrapper: string;
111
+ viewport: string;
112
+ };
113
+ vertical: {
114
+ list: string;
115
+ link: string;
116
+ viewportWrapper: string;
117
+ viewport: string;
118
+ };
119
+ };
120
+ /** Panels wider than one column. Only affects the grid inside the viewport. */
121
+ columns: {
122
+ 1: {
123
+ content: string;
124
+ };
125
+ 2: {
126
+ content: string;
127
+ };
128
+ 3: {
129
+ content: string;
130
+ };
131
+ };
132
+ }, {
133
+ root: string;
134
+ list: string;
135
+ item: string;
136
+ /**
137
+ * A plain link and a panel trigger share their chrome, so the two kinds of
138
+ * top-level entry read as one row. `group` is here for the chevron.
139
+ */
140
+ link: string;
141
+ triggerIcon: string;
142
+ /**
143
+ * Spans the root so the viewport has a stable origin; Reka's -left/-top
144
+ * vars then place it against the active trigger, so this must NOT also
145
+ * centre with flex — the two would fight and the panel would land off by
146
+ * half its own width.
147
+ */
148
+ viewportWrapper: string;
149
+ viewport: string;
150
+ /**
151
+ * Absolute inside the viewport so the viewport measures it without being
152
+ * sized by it. `w-max` lets the grid decide its own width.
153
+ */
154
+ content: string;
155
+ panelLink: string;
156
+ panelLabel: string;
157
+ panelDescription: string;
158
+ /** Sits under the icon so a bare glyph does not float in the row. */
159
+ panelIcon: string;
160
+ }, undefined, unknown, unknown, undefined>>;
161
+ export type NavigationMenuSlots = keyof ReturnType<typeof navigationMenuTheme>;
@@ -0,0 +1,43 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/navigation-menu.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "relative z-10 flex max-w-max",
6
+ list: "flex list-none items-center gap-1",
7
+ item: "relative",
8
+ link: "group inline-flex cursor-pointer items-center gap-2 rounded-lg px-3 py-1.5 text-sm font-medium whitespace-nowrap text-muted-foreground no-underline transition-colors outline-none select-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 data-[active]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0",
9
+ triggerIcon: "transition-transform duration-200 group-data-[state=open]:rotate-180",
10
+ viewportWrapper: "absolute flex items-start",
11
+ viewport: "relative box-content h-(--reka-navigation-menu-viewport-height) w-(--reka-navigation-menu-viewport-width) shrink-0 origin-top overflow-hidden rounded-xl border border-border bg-background text-foreground shadow-lg transition-[width,height,translate] duration-200 ease-out data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in",
12
+ content: "absolute top-0 left-0 grid w-max gap-1 p-2",
13
+ panelLink: "flex cursor-pointer items-start gap-3 rounded-lg p-2 text-sm no-underline transition-colors outline-none select-none hover:bg-accent hover:text-accent-foreground focus-visible:bg-accent focus-visible:text-accent-foreground data-[active]:bg-accent data-[active]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",
14
+ panelLabel: "block font-medium text-foreground",
15
+ panelDescription: "mt-0.5 block text-xs leading-snug text-muted-foreground",
16
+ panelIcon: "mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-md bg-muted text-muted-foreground"
17
+ },
18
+ variants: {
19
+ orientation: {
20
+ horizontal: {
21
+ viewportWrapper: "top-full left-0 w-full pt-2",
22
+ viewport: "translate-x-(--reka-navigation-menu-viewport-left)"
23
+ },
24
+ vertical: {
25
+ list: "flex-col items-stretch",
26
+ link: "justify-start",
27
+ viewportWrapper: "top-0 left-full h-full pl-2",
28
+ viewport: "origin-left translate-y-(--reka-navigation-menu-viewport-top)"
29
+ }
30
+ },
31
+ columns: {
32
+ 1: { content: "grid-cols-1" },
33
+ 2: { content: "grid-cols-2" },
34
+ 3: { content: "grid-cols-3" }
35
+ }
36
+ },
37
+ defaultVariants: {
38
+ orientation: "horizontal",
39
+ columns: 1
40
+ }
41
+ });
42
+ //#endregion
43
+ export { t as navigationMenuTheme };
@@ -25,7 +25,6 @@ export declare const numberInputTheme: import("tailwind-variants").TVReturnType<
25
25
  }, {
26
26
  root: string;
27
27
  input: string;
28
- /** Stacked +/- controls pinned inside the trailing edge of the field. */
29
28
  stepper: string;
30
29
  step: string;
31
30
  }, undefined, {
@@ -55,7 +54,6 @@ export declare const numberInputTheme: import("tailwind-variants").TVReturnType<
55
54
  }, {
56
55
  root: string;
57
56
  input: string;
58
- /** Stacked +/- controls pinned inside the trailing edge of the field. */
59
57
  stepper: string;
60
58
  step: string;
61
59
  }, import("tailwind-variants").TVReturnType<{
@@ -85,7 +83,6 @@ export declare const numberInputTheme: import("tailwind-variants").TVReturnType<
85
83
  }, {
86
84
  root: string;
87
85
  input: string;
88
- /** Stacked +/- controls pinned inside the trailing edge of the field. */
89
86
  stepper: string;
90
87
  step: string;
91
88
  }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,47 @@
1
+ export declare const pageHeaderTheme: import("tailwind-variants").TVReturnType<{
2
+ bordered: {
3
+ true: {
4
+ root: string;
5
+ };
6
+ };
7
+ }, {
8
+ root: string;
9
+ top: string;
10
+ row: string;
11
+ heading: string;
12
+ title: string;
13
+ description: string;
14
+ /** `shrink-0` keeps the buttons at their natural width as the title grows. */
15
+ actions: string;
16
+ }, undefined, {
17
+ bordered: {
18
+ true: {
19
+ root: string;
20
+ };
21
+ };
22
+ }, {
23
+ root: string;
24
+ top: string;
25
+ row: string;
26
+ heading: string;
27
+ title: string;
28
+ description: string;
29
+ /** `shrink-0` keeps the buttons at their natural width as the title grows. */
30
+ actions: string;
31
+ }, import("tailwind-variants").TVReturnType<{
32
+ bordered: {
33
+ true: {
34
+ root: string;
35
+ };
36
+ };
37
+ }, {
38
+ root: string;
39
+ top: string;
40
+ row: string;
41
+ heading: string;
42
+ title: string;
43
+ description: string;
44
+ /** `shrink-0` keeps the buttons at their natural width as the title grows. */
45
+ actions: string;
46
+ }, undefined, unknown, unknown, undefined>>;
47
+ export type PageHeaderSlots = keyof ReturnType<typeof pageHeaderTheme>;
@@ -0,0 +1,17 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/page-header.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "flex flex-col gap-4",
6
+ top: "",
7
+ row: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
8
+ heading: "flex min-w-0 flex-col gap-1",
9
+ title: "truncate text-2xl font-semibold tracking-tight text-foreground",
10
+ description: "text-sm text-muted-foreground",
11
+ actions: "flex shrink-0 items-center gap-2"
12
+ },
13
+ variants: { bordered: { true: { root: "border-b border-border pb-4" } } },
14
+ defaultVariants: { bordered: !1 }
15
+ });
16
+ //#endregion
17
+ export { t as pageHeaderTheme };
@@ -28,7 +28,6 @@ export declare const paginationTheme: import("tailwind-variants").TVReturnType<{
28
28
  root: string;
29
29
  list: string;
30
30
  item: string;
31
- /** The page the user is on. */
32
31
  active: string;
33
32
  inactive: string;
34
33
  ellipsis: string;
@@ -62,7 +61,6 @@ export declare const paginationTheme: import("tailwind-variants").TVReturnType<{
62
61
  root: string;
63
62
  list: string;
64
63
  item: string;
65
- /** The page the user is on. */
66
64
  active: string;
67
65
  inactive: string;
68
66
  ellipsis: string;
@@ -96,7 +94,6 @@ export declare const paginationTheme: import("tailwind-variants").TVReturnType<{
96
94
  root: string;
97
95
  list: string;
98
96
  item: string;
99
- /** The page the user is on. */
100
97
  active: string;
101
98
  inactive: string;
102
99
  ellipsis: string;