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.
- package/README.md +35 -1235
- package/dist/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/Accordion.js +5 -0
- package/dist/components/Accordion.vue.d.ts +80 -0
- package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js +87 -0
- package/dist/components/Alert.vue.d.ts +1 -1
- package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +43 -43
- package/dist/components/App.vue.d.ts +1 -1
- package/dist/components/AppShell.js +5 -0
- package/dist/components/AppShell.vue.d.ts +46 -0
- package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/AspectRatio.js +5 -0
- package/dist/components/AspectRatio.vue.d.ts +26 -0
- package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/Avatar.js +5 -0
- package/dist/components/Avatar.vue.d.ts +52 -0
- package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/AvatarGroup.js +5 -0
- package/dist/components/AvatarGroup.vue.d.ts +39 -0
- package/dist/components/AvatarGroup.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/Badge.vue.d.ts +1 -1
- package/dist/components/Banner.vue.d.ts +2 -2
- package/dist/components/Banner.vue_vue_type_script_setup_true_lang.js +40 -40
- package/dist/components/BarChart.vue.d.ts +1 -1
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +28 -28
- package/dist/components/Button.vue.d.ts +2 -2
- package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +37 -30
- package/dist/components/Collapsible.js +5 -0
- package/dist/components/Collapsible.vue.d.ts +58 -0
- package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/ColorPicker.js +5 -0
- package/dist/components/ColorPicker.vue.d.ts +49 -0
- package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js +172 -0
- package/dist/components/Combobox.vue.d.ts +6 -6
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +62 -60
- package/dist/components/CommandPalette.js +5 -0
- package/dist/components/CommandPalette.vue.d.ts +63 -0
- package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +185 -0
- package/dist/components/Container.js +5 -0
- package/dist/components/Container.vue.d.ts +33 -0
- package/dist/components/Container.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/components/ContextMenu.js +5 -0
- package/dist/components/ContextMenu.vue.d.ts +42 -0
- package/dist/components/ContextMenu.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +65 -65
- package/dist/components/DateRangePicker.vue.d.ts +1 -1
- package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +74 -74
- package/dist/components/Dialog.vue.d.ts +1 -1
- package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js +34 -34
- package/dist/components/Drawer.js +5 -0
- package/dist/components/Drawer.vue.d.ts +94 -0
- package/dist/components/Drawer.vue_vue_type_script_setup_true_lang.js +144 -0
- package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +42 -42
- package/dist/components/EmptyState.vue.d.ts +1 -1
- package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js +77 -77
- package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/components/Input.vue.d.ts +1 -1
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +33 -33
- package/dist/components/Kbd.js +5 -0
- package/dist/components/Kbd.vue.d.ts +46 -0
- package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js +41 -0
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +19 -19
- package/dist/components/Menubar.js +5 -0
- package/dist/components/Menubar.vue.d.ts +62 -0
- package/dist/components/Menubar.vue_vue_type_script_setup_true_lang.js +79 -0
- package/dist/components/NavigationMenu.js +5 -0
- package/dist/components/NavigationMenu.vue.d.ts +75 -0
- package/dist/components/NavigationMenu.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js +68 -66
- package/dist/components/PageHeader.js +5 -0
- package/dist/components/PageHeader.vue.d.ts +52 -0
- package/dist/components/PageHeader.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js +37 -37
- package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +37 -37
- package/dist/components/PinInput.js +5 -0
- package/dist/components/PinInput.vue.d.ts +65 -0
- package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/Popover.js +5 -0
- package/dist/components/Popover.vue.d.ts +75 -0
- package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/components/Progress.vue.d.ts +20 -1
- package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +85 -42
- package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/components/ScrollArea.js +5 -0
- package/dist/components/ScrollArea.vue.d.ts +41 -0
- package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js +68 -0
- package/dist/components/ScrollFade.js +5 -0
- package/dist/components/ScrollFade.vue.d.ts +36 -0
- package/dist/components/ScrollFade.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/Select.vue.d.ts +2 -2
- package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +47 -45
- package/dist/components/Sidebar.js +5 -0
- package/dist/components/Sidebar.vue.d.ts +72 -0
- package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +183 -0
- package/dist/components/SignaturePad.js +5 -0
- package/dist/components/SignaturePad.vue.d.ts +60 -0
- package/dist/components/SignaturePad.vue_vue_type_script_setup_true_lang.js +158 -0
- package/dist/components/Skeleton.vue.d.ts +1 -1
- package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/components/Slider.js +5 -0
- package/dist/components/Slider.vue.d.ts +80 -0
- package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js +115 -0
- package/dist/components/Splitter.js +5 -0
- package/dist/components/Splitter.vue.d.ts +59 -0
- package/dist/components/Splitter.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/components/Stat.vue.d.ts +1 -1
- package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js +27 -27
- package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js +38 -38
- package/dist/components/Switch.vue.d.ts +1 -0
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +16 -5
- package/dist/components/Table.vue.d.ts +7 -1
- package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +120 -105
- package/dist/components/TagsInput.js +5 -0
- package/dist/components/TagsInput.vue.d.ts +71 -0
- package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js +119 -0
- package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/TimeField.js +5 -0
- package/dist/components/TimeField.vue.d.ts +50 -0
- package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +85 -0
- package/dist/components/Timeline.js +5 -0
- package/dist/components/Timeline.vue.d.ts +61 -0
- package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/Toaster.vue.d.ts +1 -1
- package/dist/components/Toaster.vue_vue_type_script_setup_true_lang.js +41 -41
- package/dist/components/Toggle.js +5 -0
- package/dist/components/Toggle.vue.d.ts +42 -0
- package/dist/components/Toggle.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/components/ToggleGroup.js +5 -0
- package/dist/components/ToggleGroup.vue.d.ts +64 -0
- package/dist/components/ToggleGroup.vue_vue_type_script_setup_true_lang.js +78 -0
- package/dist/components/Toolbar.js +5 -0
- package/dist/components/Toolbar.vue.d.ts +52 -0
- package/dist/components/Toolbar.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/Tree.js +5 -0
- package/dist/components/Tree.vue.d.ts +70 -0
- package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js +112 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.js +144 -84
- package/dist/composables/appearance.js +5 -1
- package/dist/composables/cartesian.d.ts +11 -0
- package/dist/composables/cartesian.js +18 -19
- package/dist/composables/command-palette.d.ts +42 -0
- package/dist/composables/command-palette.js +32 -0
- package/dist/composables/date.d.ts +18 -2
- package/dist/composables/date.js +23 -15
- package/dist/composables/kbd.d.ts +26 -0
- package/dist/composables/kbd.js +161 -0
- package/dist/composables/navigation-menu.d.ts +29 -0
- package/dist/composables/navigation-menu.js +6 -0
- package/dist/composables/scroll-fade.d.ts +35 -0
- package/dist/composables/scroll-fade.js +36 -0
- package/dist/composables/sidebar.d.ts +35 -0
- package/dist/composables/sidebar.js +23 -0
- package/dist/composables/signature.d.ts +22 -0
- package/dist/composables/signature.js +13 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +153 -92
- package/dist/theme/accordion.d.ts +68 -0
- package/dist/theme/accordion.js +24 -0
- package/dist/theme/alert.d.ts +0 -3
- package/dist/theme/app-shell.d.ts +77 -0
- package/dist/theme/app-shell.js +35 -0
- package/dist/theme/avatar.d.ts +253 -0
- package/dist/theme/avatar.js +84 -0
- package/dist/theme/banner.d.ts +0 -9
- package/dist/theme/bar-chart.d.ts +0 -16
- package/dist/theme/breadcrumb.d.ts +3 -3
- package/dist/theme/button-group.d.ts +0 -3
- package/dist/theme/button.d.ts +0 -3
- package/dist/theme/card.js +2 -2
- package/dist/theme/chart-legend.d.ts +3 -11
- package/dist/theme/collapsible.d.ts +44 -0
- package/dist/theme/collapsible.js +17 -0
- package/dist/theme/color-picker.d.ts +98 -0
- package/dist/theme/color-picker.js +19 -0
- package/dist/theme/command-palette.d.ts +122 -0
- package/dist/theme/command-palette.js +22 -0
- package/dist/theme/container.d.ts +101 -0
- package/dist/theme/container.js +26 -0
- package/dist/theme/date-picker.d.ts +12 -0
- package/dist/theme/date-picker.js +1 -1
- package/dist/theme/drawer.d.ts +110 -0
- package/dist/theme/drawer.js +100 -0
- package/dist/theme/dropdown-menu.d.ts +0 -9
- package/dist/theme/file-upload.d.ts +0 -3
- package/dist/theme/form.d.ts +12 -12
- package/dist/theme/index.d.ts +26 -0
- package/dist/theme/kbd.d.ts +71 -0
- package/dist/theme/kbd.js +29 -0
- package/dist/theme/line-chart.d.ts +0 -9
- package/dist/theme/menubar.d.ts +29 -0
- package/dist/theme/menubar.js +11 -0
- package/dist/theme/navigation-menu.d.ts +161 -0
- package/dist/theme/navigation-menu.js +43 -0
- package/dist/theme/number-input.d.ts +0 -3
- package/dist/theme/page-header.d.ts +47 -0
- package/dist/theme/page-header.js +17 -0
- package/dist/theme/pagination.d.ts +0 -3
- package/dist/theme/pin-input.d.ts +86 -0
- package/dist/theme/pin-input.js +32 -0
- package/dist/theme/popover.d.ts +119 -0
- package/dist/theme/popover.js +31 -0
- package/dist/theme/presets.d.ts +0 -2
- package/dist/theme/progress.d.ts +93 -0
- package/dist/theme/progress.js +37 -7
- package/dist/theme/radio-group.d.ts +24 -0
- package/dist/theme/radio-group.js +23 -14
- package/dist/theme/scroll-area.d.ts +65 -0
- package/dist/theme/scroll-area.js +57 -0
- package/dist/theme/scroll-fade.d.ts +35 -0
- package/dist/theme/scroll-fade.js +12 -0
- package/dist/theme/sidebar.d.ts +167 -0
- package/dist/theme/sidebar.js +43 -0
- package/dist/theme/signature-pad.d.ts +50 -0
- package/dist/theme/signature-pad.js +17 -0
- package/dist/theme/slider.d.ts +128 -0
- package/dist/theme/slider.js +49 -0
- package/dist/theme/sparkline.d.ts +0 -6
- package/dist/theme/splitter.d.ts +59 -0
- package/dist/theme/splitter.js +25 -0
- package/dist/theme/stat.d.ts +0 -3
- package/dist/theme/stepper.js +2 -2
- package/dist/theme/switch.d.ts +53 -29
- package/dist/theme/switch.js +33 -8
- package/dist/theme/table.d.ts +51 -3
- package/dist/theme/table.js +8 -3
- package/dist/theme/tabs.d.ts +0 -3
- package/dist/theme/tags-input.d.ts +110 -0
- package/dist/theme/tags-input.js +42 -0
- package/dist/theme/time-field.d.ts +68 -0
- package/dist/theme/time-field.js +21 -0
- package/dist/theme/timeline.d.ts +182 -0
- package/dist/theme/timeline.js +83 -0
- package/dist/theme/toggle.d.ts +145 -0
- package/dist/theme/toggle.js +84 -0
- package/dist/theme/toolbar.d.ts +56 -0
- package/dist/theme/toolbar.js +21 -0
- package/dist/theme/tree.d.ts +68 -0
- package/dist/theme/tree.js +28 -0
- package/package.json +4 -3
- package/theme.css +335 -0
- package/dist/node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js +0 -377
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/CalendarDate.js +0 -122
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/DateFormatter.js +0 -84
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +0 -91
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/conversion.js +0 -107
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/manipulation.js +0 -159
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/queries.js +0 -29
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/string.js +0 -37
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/utils.js +0 -6
|
@@ -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;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const pinInputTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
root: string;
|
|
5
|
+
input: string;
|
|
6
|
+
separator: string;
|
|
7
|
+
};
|
|
8
|
+
md: {
|
|
9
|
+
root: string;
|
|
10
|
+
input: string;
|
|
11
|
+
separator: string;
|
|
12
|
+
};
|
|
13
|
+
lg: {
|
|
14
|
+
root: string;
|
|
15
|
+
input: string;
|
|
16
|
+
separator: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
invalid: {
|
|
20
|
+
true: {
|
|
21
|
+
input: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
root: string;
|
|
26
|
+
input: string;
|
|
27
|
+
/** Sits between two groups of cells, e.g. 123–456. */
|
|
28
|
+
separator: string;
|
|
29
|
+
}, undefined, {
|
|
30
|
+
size: {
|
|
31
|
+
sm: {
|
|
32
|
+
root: string;
|
|
33
|
+
input: string;
|
|
34
|
+
separator: string;
|
|
35
|
+
};
|
|
36
|
+
md: {
|
|
37
|
+
root: string;
|
|
38
|
+
input: string;
|
|
39
|
+
separator: string;
|
|
40
|
+
};
|
|
41
|
+
lg: {
|
|
42
|
+
root: string;
|
|
43
|
+
input: string;
|
|
44
|
+
separator: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
invalid: {
|
|
48
|
+
true: {
|
|
49
|
+
input: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
root: string;
|
|
54
|
+
input: string;
|
|
55
|
+
/** Sits between two groups of cells, e.g. 123–456. */
|
|
56
|
+
separator: string;
|
|
57
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
58
|
+
size: {
|
|
59
|
+
sm: {
|
|
60
|
+
root: string;
|
|
61
|
+
input: string;
|
|
62
|
+
separator: string;
|
|
63
|
+
};
|
|
64
|
+
md: {
|
|
65
|
+
root: string;
|
|
66
|
+
input: string;
|
|
67
|
+
separator: string;
|
|
68
|
+
};
|
|
69
|
+
lg: {
|
|
70
|
+
root: string;
|
|
71
|
+
input: string;
|
|
72
|
+
separator: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
invalid: {
|
|
76
|
+
true: {
|
|
77
|
+
input: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}, {
|
|
81
|
+
root: string;
|
|
82
|
+
input: string;
|
|
83
|
+
/** Sits between two groups of cells, e.g. 123–456. */
|
|
84
|
+
separator: string;
|
|
85
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
86
|
+
export type PinInputSlots = keyof ReturnType<typeof pinInputTheme>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/pin-input.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "flex items-center",
|
|
6
|
+
input: "rounded-xl border border-border bg-input text-center font-medium text-foreground tabular-nums transition-colors outline-none focus-visible:z-10 focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
7
|
+
separator: "text-muted-foreground select-none"
|
|
8
|
+
},
|
|
9
|
+
variants: {
|
|
10
|
+
size: {
|
|
11
|
+
sm: {
|
|
12
|
+
root: "gap-1.5",
|
|
13
|
+
input: "size-8 text-sm",
|
|
14
|
+
separator: "px-0.5 text-sm"
|
|
15
|
+
},
|
|
16
|
+
md: {
|
|
17
|
+
root: "gap-2",
|
|
18
|
+
input: "size-10 text-base",
|
|
19
|
+
separator: "px-1 text-base"
|
|
20
|
+
},
|
|
21
|
+
lg: {
|
|
22
|
+
root: "gap-2.5",
|
|
23
|
+
input: "size-12 text-lg",
|
|
24
|
+
separator: "px-1 text-lg"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
invalid: { true: { input: "border-red-500 focus-visible:border-red-500 focus-visible:ring-red-500/40" } }
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: { size: "md" }
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { t as pinInputTheme };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export declare const popoverTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
/** Insets the heading alone, leaving the body free to fill the panel. */
|
|
3
|
+
withClose: {
|
|
4
|
+
true: {
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
padding: {
|
|
9
|
+
none: {
|
|
10
|
+
content: string;
|
|
11
|
+
};
|
|
12
|
+
sm: {
|
|
13
|
+
content: string;
|
|
14
|
+
};
|
|
15
|
+
md: {
|
|
16
|
+
content: string;
|
|
17
|
+
};
|
|
18
|
+
lg: {
|
|
19
|
+
content: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
none: {};
|
|
24
|
+
sm: {
|
|
25
|
+
content: string;
|
|
26
|
+
};
|
|
27
|
+
md: {
|
|
28
|
+
content: string;
|
|
29
|
+
};
|
|
30
|
+
lg: {
|
|
31
|
+
content: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
content: string;
|
|
36
|
+
arrow: string;
|
|
37
|
+
close: string;
|
|
38
|
+
/** Heading line. The only row that has to make way for the close button. */
|
|
39
|
+
title: string;
|
|
40
|
+
}, undefined, {
|
|
41
|
+
/** Insets the heading alone, leaving the body free to fill the panel. */
|
|
42
|
+
withClose: {
|
|
43
|
+
true: {
|
|
44
|
+
title: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
padding: {
|
|
48
|
+
none: {
|
|
49
|
+
content: string;
|
|
50
|
+
};
|
|
51
|
+
sm: {
|
|
52
|
+
content: string;
|
|
53
|
+
};
|
|
54
|
+
md: {
|
|
55
|
+
content: string;
|
|
56
|
+
};
|
|
57
|
+
lg: {
|
|
58
|
+
content: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
width: {
|
|
62
|
+
none: {};
|
|
63
|
+
sm: {
|
|
64
|
+
content: string;
|
|
65
|
+
};
|
|
66
|
+
md: {
|
|
67
|
+
content: string;
|
|
68
|
+
};
|
|
69
|
+
lg: {
|
|
70
|
+
content: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
content: string;
|
|
75
|
+
arrow: string;
|
|
76
|
+
close: string;
|
|
77
|
+
/** Heading line. The only row that has to make way for the close button. */
|
|
78
|
+
title: string;
|
|
79
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
80
|
+
/** Insets the heading alone, leaving the body free to fill the panel. */
|
|
81
|
+
withClose: {
|
|
82
|
+
true: {
|
|
83
|
+
title: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
padding: {
|
|
87
|
+
none: {
|
|
88
|
+
content: string;
|
|
89
|
+
};
|
|
90
|
+
sm: {
|
|
91
|
+
content: string;
|
|
92
|
+
};
|
|
93
|
+
md: {
|
|
94
|
+
content: string;
|
|
95
|
+
};
|
|
96
|
+
lg: {
|
|
97
|
+
content: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
width: {
|
|
101
|
+
none: {};
|
|
102
|
+
sm: {
|
|
103
|
+
content: string;
|
|
104
|
+
};
|
|
105
|
+
md: {
|
|
106
|
+
content: string;
|
|
107
|
+
};
|
|
108
|
+
lg: {
|
|
109
|
+
content: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
content: string;
|
|
114
|
+
arrow: string;
|
|
115
|
+
close: string;
|
|
116
|
+
/** Heading line. The only row that has to make way for the close button. */
|
|
117
|
+
title: string;
|
|
118
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
|
+
export type PopoverSlots = keyof ReturnType<typeof popoverTheme>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/popover.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
content: "z-50 rounded-xl border border-border bg-background text-foreground shadow-lg outline-none data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in",
|
|
6
|
+
arrow: "fill-background stroke-border",
|
|
7
|
+
close: "absolute top-2 right-2 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",
|
|
8
|
+
title: "mb-2 text-sm font-medium text-foreground"
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
withClose: { true: { title: "pr-6" } },
|
|
12
|
+
padding: {
|
|
13
|
+
none: { content: "p-0" },
|
|
14
|
+
sm: { content: "p-3" },
|
|
15
|
+
md: { content: "p-4" },
|
|
16
|
+
lg: { content: "p-6" }
|
|
17
|
+
},
|
|
18
|
+
width: {
|
|
19
|
+
none: {},
|
|
20
|
+
sm: { content: "w-56" },
|
|
21
|
+
md: { content: "w-72" },
|
|
22
|
+
lg: { content: "w-88" }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
padding: "md",
|
|
27
|
+
width: "md"
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { t as popoverTheme };
|
package/dist/theme/presets.d.ts
CHANGED
|
@@ -3,9 +3,7 @@ export interface ThemeColors {
|
|
|
3
3
|
foreground?: string;
|
|
4
4
|
primary?: string;
|
|
5
5
|
primaryForeground?: string;
|
|
6
|
-
/** Top stop of the solid button's vertical gradient. */
|
|
7
6
|
primaryFrom?: string;
|
|
8
|
-
/** Bottom stop of the solid button's vertical gradient. */
|
|
9
7
|
primaryTo?: string;
|
|
10
8
|
accent?: string;
|
|
11
9
|
accentForeground?: string;
|