iryx-ui 0.12.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 -1315
- 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 +7 -7
- 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/BarChart.vue.d.ts +1 -1
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/Button.vue.d.ts +2 -2
- package/dist/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- 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/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/DateRangePicker.vue.d.ts +1 -1
- package/dist/components/Dialog.vue.d.ts +1 -1
- package/dist/components/Drawer.vue.d.ts +2 -2
- package/dist/components/EmptyState.vue.d.ts +1 -1
- package/dist/components/Input.vue.d.ts +1 -1
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +4 -4
- 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 +2 -2
- 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/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 +84 -44
- 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/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/Switch.vue.d.ts +1 -0
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +7 -3
- package/dist/components/Table.vue.d.ts +7 -1
- package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +73 -58
- 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/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 +29 -0
- package/dist/components/index.js +144 -86
- 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 -12
- 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 +35 -0
- package/dist/index.js +153 -93
- 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/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 +25 -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 +2 -2
- package/theme.css +221 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
export declare const avatarTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
root: string;
|
|
5
|
+
fallback: string;
|
|
6
|
+
status: string;
|
|
7
|
+
};
|
|
8
|
+
sm: {
|
|
9
|
+
root: string;
|
|
10
|
+
fallback: string;
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
md: {
|
|
14
|
+
root: string;
|
|
15
|
+
fallback: string;
|
|
16
|
+
status: string;
|
|
17
|
+
};
|
|
18
|
+
lg: {
|
|
19
|
+
root: string;
|
|
20
|
+
fallback: string;
|
|
21
|
+
status: string;
|
|
22
|
+
};
|
|
23
|
+
xl: {
|
|
24
|
+
root: string;
|
|
25
|
+
fallback: string;
|
|
26
|
+
status: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
shape: {
|
|
30
|
+
circle: {
|
|
31
|
+
root: string;
|
|
32
|
+
};
|
|
33
|
+
square: {
|
|
34
|
+
root: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
status: {
|
|
38
|
+
online: {
|
|
39
|
+
status: string;
|
|
40
|
+
};
|
|
41
|
+
busy: {
|
|
42
|
+
status: string;
|
|
43
|
+
};
|
|
44
|
+
away: {
|
|
45
|
+
status: string;
|
|
46
|
+
};
|
|
47
|
+
offline: {
|
|
48
|
+
status: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
root: string;
|
|
53
|
+
image: string;
|
|
54
|
+
fallback: string;
|
|
55
|
+
status: string;
|
|
56
|
+
}, undefined, {
|
|
57
|
+
size: {
|
|
58
|
+
xs: {
|
|
59
|
+
root: string;
|
|
60
|
+
fallback: string;
|
|
61
|
+
status: string;
|
|
62
|
+
};
|
|
63
|
+
sm: {
|
|
64
|
+
root: string;
|
|
65
|
+
fallback: string;
|
|
66
|
+
status: string;
|
|
67
|
+
};
|
|
68
|
+
md: {
|
|
69
|
+
root: string;
|
|
70
|
+
fallback: string;
|
|
71
|
+
status: string;
|
|
72
|
+
};
|
|
73
|
+
lg: {
|
|
74
|
+
root: string;
|
|
75
|
+
fallback: string;
|
|
76
|
+
status: string;
|
|
77
|
+
};
|
|
78
|
+
xl: {
|
|
79
|
+
root: string;
|
|
80
|
+
fallback: string;
|
|
81
|
+
status: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
shape: {
|
|
85
|
+
circle: {
|
|
86
|
+
root: string;
|
|
87
|
+
};
|
|
88
|
+
square: {
|
|
89
|
+
root: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
status: {
|
|
93
|
+
online: {
|
|
94
|
+
status: string;
|
|
95
|
+
};
|
|
96
|
+
busy: {
|
|
97
|
+
status: string;
|
|
98
|
+
};
|
|
99
|
+
away: {
|
|
100
|
+
status: string;
|
|
101
|
+
};
|
|
102
|
+
offline: {
|
|
103
|
+
status: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
root: string;
|
|
108
|
+
image: string;
|
|
109
|
+
fallback: string;
|
|
110
|
+
status: string;
|
|
111
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
112
|
+
size: {
|
|
113
|
+
xs: {
|
|
114
|
+
root: string;
|
|
115
|
+
fallback: string;
|
|
116
|
+
status: string;
|
|
117
|
+
};
|
|
118
|
+
sm: {
|
|
119
|
+
root: string;
|
|
120
|
+
fallback: string;
|
|
121
|
+
status: string;
|
|
122
|
+
};
|
|
123
|
+
md: {
|
|
124
|
+
root: string;
|
|
125
|
+
fallback: string;
|
|
126
|
+
status: string;
|
|
127
|
+
};
|
|
128
|
+
lg: {
|
|
129
|
+
root: string;
|
|
130
|
+
fallback: string;
|
|
131
|
+
status: string;
|
|
132
|
+
};
|
|
133
|
+
xl: {
|
|
134
|
+
root: string;
|
|
135
|
+
fallback: string;
|
|
136
|
+
status: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
shape: {
|
|
140
|
+
circle: {
|
|
141
|
+
root: string;
|
|
142
|
+
};
|
|
143
|
+
square: {
|
|
144
|
+
root: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
status: {
|
|
148
|
+
online: {
|
|
149
|
+
status: string;
|
|
150
|
+
};
|
|
151
|
+
busy: {
|
|
152
|
+
status: string;
|
|
153
|
+
};
|
|
154
|
+
away: {
|
|
155
|
+
status: string;
|
|
156
|
+
};
|
|
157
|
+
offline: {
|
|
158
|
+
status: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
root: string;
|
|
163
|
+
image: string;
|
|
164
|
+
fallback: string;
|
|
165
|
+
status: string;
|
|
166
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
167
|
+
export type AvatarSlots = keyof ReturnType<typeof avatarTheme>;
|
|
168
|
+
export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<{
|
|
169
|
+
size: {
|
|
170
|
+
xs: {
|
|
171
|
+
root: string;
|
|
172
|
+
overflow: string;
|
|
173
|
+
};
|
|
174
|
+
sm: {
|
|
175
|
+
root: string;
|
|
176
|
+
overflow: string;
|
|
177
|
+
};
|
|
178
|
+
md: {
|
|
179
|
+
root: string;
|
|
180
|
+
overflow: string;
|
|
181
|
+
};
|
|
182
|
+
lg: {
|
|
183
|
+
root: string;
|
|
184
|
+
overflow: string;
|
|
185
|
+
};
|
|
186
|
+
xl: {
|
|
187
|
+
root: string;
|
|
188
|
+
overflow: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
}, {
|
|
192
|
+
root: string;
|
|
193
|
+
item: string;
|
|
194
|
+
/** The "+3" chip closing the stack. */
|
|
195
|
+
overflow: string;
|
|
196
|
+
}, undefined, {
|
|
197
|
+
size: {
|
|
198
|
+
xs: {
|
|
199
|
+
root: string;
|
|
200
|
+
overflow: string;
|
|
201
|
+
};
|
|
202
|
+
sm: {
|
|
203
|
+
root: string;
|
|
204
|
+
overflow: string;
|
|
205
|
+
};
|
|
206
|
+
md: {
|
|
207
|
+
root: string;
|
|
208
|
+
overflow: string;
|
|
209
|
+
};
|
|
210
|
+
lg: {
|
|
211
|
+
root: string;
|
|
212
|
+
overflow: string;
|
|
213
|
+
};
|
|
214
|
+
xl: {
|
|
215
|
+
root: string;
|
|
216
|
+
overflow: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
}, {
|
|
220
|
+
root: string;
|
|
221
|
+
item: string;
|
|
222
|
+
/** The "+3" chip closing the stack. */
|
|
223
|
+
overflow: string;
|
|
224
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
225
|
+
size: {
|
|
226
|
+
xs: {
|
|
227
|
+
root: string;
|
|
228
|
+
overflow: string;
|
|
229
|
+
};
|
|
230
|
+
sm: {
|
|
231
|
+
root: string;
|
|
232
|
+
overflow: string;
|
|
233
|
+
};
|
|
234
|
+
md: {
|
|
235
|
+
root: string;
|
|
236
|
+
overflow: string;
|
|
237
|
+
};
|
|
238
|
+
lg: {
|
|
239
|
+
root: string;
|
|
240
|
+
overflow: string;
|
|
241
|
+
};
|
|
242
|
+
xl: {
|
|
243
|
+
root: string;
|
|
244
|
+
overflow: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
}, {
|
|
248
|
+
root: string;
|
|
249
|
+
item: string;
|
|
250
|
+
/** The "+3" chip closing the stack. */
|
|
251
|
+
overflow: string;
|
|
252
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
253
|
+
export type AvatarGroupSlots = keyof ReturnType<typeof avatarGroupTheme>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/avatar.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "relative inline-flex shrink-0 items-center justify-center bg-muted align-middle select-none",
|
|
6
|
+
image: "size-full rounded-[inherit] object-cover",
|
|
7
|
+
fallback: "flex size-full items-center justify-center overflow-hidden rounded-[inherit] font-medium text-muted-foreground uppercase",
|
|
8
|
+
status: "absolute right-0 bottom-0 rounded-full ring-2 ring-background"
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
size: {
|
|
12
|
+
xs: {
|
|
13
|
+
root: "size-6",
|
|
14
|
+
fallback: "text-[0.625rem]",
|
|
15
|
+
status: "size-1.5"
|
|
16
|
+
},
|
|
17
|
+
sm: {
|
|
18
|
+
root: "size-8",
|
|
19
|
+
fallback: "text-xs",
|
|
20
|
+
status: "size-2"
|
|
21
|
+
},
|
|
22
|
+
md: {
|
|
23
|
+
root: "size-10",
|
|
24
|
+
fallback: "text-sm",
|
|
25
|
+
status: "size-2.5"
|
|
26
|
+
},
|
|
27
|
+
lg: {
|
|
28
|
+
root: "size-12",
|
|
29
|
+
fallback: "text-base",
|
|
30
|
+
status: "size-3"
|
|
31
|
+
},
|
|
32
|
+
xl: {
|
|
33
|
+
root: "size-16",
|
|
34
|
+
fallback: "text-xl",
|
|
35
|
+
status: "size-4"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
shape: {
|
|
39
|
+
circle: { root: "rounded-full" },
|
|
40
|
+
square: { root: "rounded-xl" }
|
|
41
|
+
},
|
|
42
|
+
status: {
|
|
43
|
+
online: { status: "bg-success" },
|
|
44
|
+
busy: { status: "bg-danger" },
|
|
45
|
+
away: { status: "bg-warning" },
|
|
46
|
+
offline: { status: "bg-muted-foreground" }
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
defaultVariants: {
|
|
50
|
+
size: "md",
|
|
51
|
+
shape: "circle"
|
|
52
|
+
}
|
|
53
|
+
}), n = e({
|
|
54
|
+
slots: {
|
|
55
|
+
root: "flex flex-row-reverse items-center justify-end",
|
|
56
|
+
item: "ring-2 ring-background",
|
|
57
|
+
overflow: "flex shrink-0 items-center justify-center rounded-full bg-muted font-medium text-muted-foreground ring-2 ring-background"
|
|
58
|
+
},
|
|
59
|
+
variants: { size: {
|
|
60
|
+
xs: {
|
|
61
|
+
root: "-space-x-1.5 space-x-reverse",
|
|
62
|
+
overflow: "size-6 text-[0.625rem]"
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
root: "-space-x-2 space-x-reverse",
|
|
66
|
+
overflow: "size-8 text-xs"
|
|
67
|
+
},
|
|
68
|
+
md: {
|
|
69
|
+
root: "-space-x-2.5 space-x-reverse",
|
|
70
|
+
overflow: "size-10 text-sm"
|
|
71
|
+
},
|
|
72
|
+
lg: {
|
|
73
|
+
root: "-space-x-3 space-x-reverse",
|
|
74
|
+
overflow: "size-12 text-base"
|
|
75
|
+
},
|
|
76
|
+
xl: {
|
|
77
|
+
root: "-space-x-4 space-x-reverse",
|
|
78
|
+
overflow: "size-16 text-xl"
|
|
79
|
+
}
|
|
80
|
+
} },
|
|
81
|
+
defaultVariants: { size: "md" }
|
|
82
|
+
});
|
|
83
|
+
//#endregion
|
|
84
|
+
export { n as avatarGroupTheme, t as avatarTheme };
|
package/dist/theme/banner.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
20
20
|
root: string;
|
|
21
21
|
icon: string;
|
|
22
22
|
};
|
|
23
|
-
/** Brand-coloured, for announcements rather than status. */
|
|
24
23
|
primary: {
|
|
25
24
|
root: string;
|
|
26
25
|
icon: string;
|
|
@@ -28,7 +27,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
28
27
|
};
|
|
29
28
|
position: {
|
|
30
29
|
static: {};
|
|
31
|
-
/** Sticks under the top of the scroll container. */
|
|
32
30
|
top: {
|
|
33
31
|
root: string;
|
|
34
32
|
};
|
|
@@ -52,7 +50,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
52
50
|
};
|
|
53
51
|
}, {
|
|
54
52
|
root: string;
|
|
55
|
-
/** Keeps the text off the viewport edge without constraining the fill. */
|
|
56
53
|
container: string;
|
|
57
54
|
icon: string;
|
|
58
55
|
content: string;
|
|
@@ -81,7 +78,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
81
78
|
root: string;
|
|
82
79
|
icon: string;
|
|
83
80
|
};
|
|
84
|
-
/** Brand-coloured, for announcements rather than status. */
|
|
85
81
|
primary: {
|
|
86
82
|
root: string;
|
|
87
83
|
icon: string;
|
|
@@ -89,7 +85,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
89
85
|
};
|
|
90
86
|
position: {
|
|
91
87
|
static: {};
|
|
92
|
-
/** Sticks under the top of the scroll container. */
|
|
93
88
|
top: {
|
|
94
89
|
root: string;
|
|
95
90
|
};
|
|
@@ -113,7 +108,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
113
108
|
};
|
|
114
109
|
}, {
|
|
115
110
|
root: string;
|
|
116
|
-
/** Keeps the text off the viewport edge without constraining the fill. */
|
|
117
111
|
container: string;
|
|
118
112
|
icon: string;
|
|
119
113
|
content: string;
|
|
@@ -142,7 +136,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
142
136
|
root: string;
|
|
143
137
|
icon: string;
|
|
144
138
|
};
|
|
145
|
-
/** Brand-coloured, for announcements rather than status. */
|
|
146
139
|
primary: {
|
|
147
140
|
root: string;
|
|
148
141
|
icon: string;
|
|
@@ -150,7 +143,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
150
143
|
};
|
|
151
144
|
position: {
|
|
152
145
|
static: {};
|
|
153
|
-
/** Sticks under the top of the scroll container. */
|
|
154
146
|
top: {
|
|
155
147
|
root: string;
|
|
156
148
|
};
|
|
@@ -174,7 +166,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
174
166
|
};
|
|
175
167
|
}, {
|
|
176
168
|
root: string;
|
|
177
|
-
/** Keeps the text off the viewport edge without constraining the fill. */
|
|
178
169
|
container: string;
|
|
179
170
|
icon: string;
|
|
180
171
|
content: string;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Everything recessive except the bars. Grid and axis text sit one step off
|
|
3
|
-
* the surface; the data is the only thing allowed to be loud.
|
|
4
|
-
*/
|
|
5
1
|
export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
6
2
|
[key: string]: {
|
|
7
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
@@ -47,20 +43,16 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
47
43
|
*/
|
|
48
44
|
plot: string;
|
|
49
45
|
svg: string;
|
|
50
|
-
/** Hairline and solid — a dashed grid competes with the marks. */
|
|
51
46
|
grid: string;
|
|
52
|
-
/** Text never wears the series colour; identity comes from the mark. */
|
|
53
47
|
tick: string;
|
|
54
48
|
category: string;
|
|
55
49
|
bar: string;
|
|
56
50
|
/** Hit target, deliberately wider than the mark it selects. */
|
|
57
51
|
hit: string;
|
|
58
|
-
/** Dims the rest of the series so the hovered bar reads as selected. */
|
|
59
52
|
faded: string;
|
|
60
53
|
tooltip: string;
|
|
61
54
|
tooltipLabel: string;
|
|
62
55
|
tooltipValue: string;
|
|
63
|
-
/** Reachable by screen readers and by nobody's eyes. */
|
|
64
56
|
table: string;
|
|
65
57
|
}, undefined, {
|
|
66
58
|
[key: string]: {
|
|
@@ -89,20 +81,16 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
89
81
|
*/
|
|
90
82
|
plot: string;
|
|
91
83
|
svg: string;
|
|
92
|
-
/** Hairline and solid — a dashed grid competes with the marks. */
|
|
93
84
|
grid: string;
|
|
94
|
-
/** Text never wears the series colour; identity comes from the mark. */
|
|
95
85
|
tick: string;
|
|
96
86
|
category: string;
|
|
97
87
|
bar: string;
|
|
98
88
|
/** Hit target, deliberately wider than the mark it selects. */
|
|
99
89
|
hit: string;
|
|
100
|
-
/** Dims the rest of the series so the hovered bar reads as selected. */
|
|
101
90
|
faded: string;
|
|
102
91
|
tooltip: string;
|
|
103
92
|
tooltipLabel: string;
|
|
104
93
|
tooltipValue: string;
|
|
105
|
-
/** Reachable by screen readers and by nobody's eyes. */
|
|
106
94
|
table: string;
|
|
107
95
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
108
96
|
root: string;
|
|
@@ -113,20 +101,16 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
113
101
|
*/
|
|
114
102
|
plot: string;
|
|
115
103
|
svg: string;
|
|
116
|
-
/** Hairline and solid — a dashed grid competes with the marks. */
|
|
117
104
|
grid: string;
|
|
118
|
-
/** Text never wears the series colour; identity comes from the mark. */
|
|
119
105
|
tick: string;
|
|
120
106
|
category: string;
|
|
121
107
|
bar: string;
|
|
122
108
|
/** Hit target, deliberately wider than the mark it selects. */
|
|
123
109
|
hit: string;
|
|
124
|
-
/** Dims the rest of the series so the hovered bar reads as selected. */
|
|
125
110
|
faded: string;
|
|
126
111
|
tooltip: string;
|
|
127
112
|
tooltipLabel: string;
|
|
128
113
|
tooltipValue: string;
|
|
129
|
-
/** Reachable by screen readers and by nobody's eyes. */
|
|
130
114
|
table: string;
|
|
131
115
|
}, undefined, unknown, unknown, undefined>>;
|
|
132
116
|
export type BarChartSlots = keyof ReturnType<typeof barChartTheme>;
|
|
@@ -2,8 +2,8 @@ export declare const breadcrumbTheme: import("tailwind-variants").TVReturnType<{
|
|
|
2
2
|
[key: string]: {
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
4
|
root?: import("tailwind-variants").ClassValue;
|
|
5
|
-
link?: import("tailwind-variants").ClassValue;
|
|
6
5
|
item?: import("tailwind-variants").ClassValue;
|
|
6
|
+
link?: import("tailwind-variants").ClassValue;
|
|
7
7
|
list?: import("tailwind-variants").ClassValue;
|
|
8
8
|
current?: import("tailwind-variants").ClassValue;
|
|
9
9
|
separator?: import("tailwind-variants").ClassValue;
|
|
@@ -13,8 +13,8 @@ export declare const breadcrumbTheme: import("tailwind-variants").TVReturnType<{
|
|
|
13
13
|
[x: string]: {
|
|
14
14
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
15
15
|
root?: import("tailwind-variants").ClassValue;
|
|
16
|
-
link?: import("tailwind-variants").ClassValue;
|
|
17
16
|
item?: import("tailwind-variants").ClassValue;
|
|
17
|
+
link?: import("tailwind-variants").ClassValue;
|
|
18
18
|
list?: import("tailwind-variants").ClassValue;
|
|
19
19
|
current?: import("tailwind-variants").ClassValue;
|
|
20
20
|
separator?: import("tailwind-variants").ClassValue;
|
|
@@ -32,8 +32,8 @@ export declare const breadcrumbTheme: import("tailwind-variants").TVReturnType<{
|
|
|
32
32
|
[key: string]: {
|
|
33
33
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
34
34
|
root?: import("tailwind-variants").ClassValue;
|
|
35
|
-
link?: import("tailwind-variants").ClassValue;
|
|
36
35
|
item?: import("tailwind-variants").ClassValue;
|
|
36
|
+
link?: import("tailwind-variants").ClassValue;
|
|
37
37
|
list?: import("tailwind-variants").ClassValue;
|
|
38
38
|
current?: import("tailwind-variants").ClassValue;
|
|
39
39
|
separator?: import("tailwind-variants").ClassValue;
|
|
@@ -3,7 +3,6 @@ export declare const buttonGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
3
3
|
horizontal: string;
|
|
4
4
|
vertical: string;
|
|
5
5
|
};
|
|
6
|
-
/** Stretch to fill the container, splitting the width between children. */
|
|
7
6
|
block: {
|
|
8
7
|
true: string;
|
|
9
8
|
};
|
|
@@ -12,7 +11,6 @@ export declare const buttonGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
12
11
|
horizontal: string;
|
|
13
12
|
vertical: string;
|
|
14
13
|
};
|
|
15
|
-
/** Stretch to fill the container, splitting the width between children. */
|
|
16
14
|
block: {
|
|
17
15
|
true: string;
|
|
18
16
|
};
|
|
@@ -21,7 +19,6 @@ export declare const buttonGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
21
19
|
horizontal: string;
|
|
22
20
|
vertical: string;
|
|
23
21
|
};
|
|
24
|
-
/** Stretch to fill the container, splitting the width between children. */
|
|
25
22
|
block: {
|
|
26
23
|
true: string;
|
|
27
24
|
};
|
package/dist/theme/button.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export declare const buttonTheme: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
lg: string;
|
|
13
13
|
xl: string;
|
|
14
14
|
};
|
|
15
|
-
/** Icon-only: square, no horizontal padding. */
|
|
16
15
|
square: {
|
|
17
16
|
true: string;
|
|
18
17
|
false: string;
|
|
@@ -34,7 +33,6 @@ export declare const buttonTheme: import("tailwind-variants").TVReturnType<{
|
|
|
34
33
|
lg: string;
|
|
35
34
|
xl: string;
|
|
36
35
|
};
|
|
37
|
-
/** Icon-only: square, no horizontal padding. */
|
|
38
36
|
square: {
|
|
39
37
|
true: string;
|
|
40
38
|
false: string;
|
|
@@ -56,7 +54,6 @@ export declare const buttonTheme: import("tailwind-variants").TVReturnType<{
|
|
|
56
54
|
lg: string;
|
|
57
55
|
xl: string;
|
|
58
56
|
};
|
|
59
|
-
/** Icon-only: square, no horizontal padding. */
|
|
60
57
|
square: {
|
|
61
58
|
true: string;
|
|
62
59
|
false: string;
|
package/dist/theme/card.js
CHANGED
|
@@ -3,8 +3,8 @@ import { tv as e } from "tailwind-variants";
|
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: {
|
|
5
5
|
root: "rounded-2xl text-foreground",
|
|
6
|
-
header: "flex flex-col gap-1",
|
|
7
|
-
title: "text-base leading-
|
|
6
|
+
header: "flex flex-col gap-1.5",
|
|
7
|
+
title: "text-base leading-snug font-semibold",
|
|
8
8
|
description: "text-sm text-muted-foreground",
|
|
9
9
|
body: "",
|
|
10
10
|
footer: "flex items-center gap-2"
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared by every multi-series chart. A legend is mandatory from two series
|
|
3
|
-
* up: colour alone is not a dependable identity channel, and the swatch beside
|
|
4
|
-
* the name is what makes it one.
|
|
5
|
-
*/
|
|
6
1
|
export declare const chartLegendTheme: import("tailwind-variants").TVReturnType<{
|
|
7
2
|
[key: string]: {
|
|
8
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
9
4
|
root?: import("tailwind-variants").ClassValue;
|
|
10
5
|
item?: import("tailwind-variants").ClassValue;
|
|
11
|
-
swatch?: import("tailwind-variants").ClassValue;
|
|
12
6
|
name?: import("tailwind-variants").ClassValue;
|
|
7
|
+
swatch?: import("tailwind-variants").ClassValue;
|
|
13
8
|
};
|
|
14
9
|
};
|
|
15
10
|
} | {
|
|
@@ -17,14 +12,13 @@ export declare const chartLegendTheme: import("tailwind-variants").TVReturnType<
|
|
|
17
12
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
18
13
|
root?: import("tailwind-variants").ClassValue;
|
|
19
14
|
item?: import("tailwind-variants").ClassValue;
|
|
20
|
-
swatch?: import("tailwind-variants").ClassValue;
|
|
21
15
|
name?: import("tailwind-variants").ClassValue;
|
|
16
|
+
swatch?: import("tailwind-variants").ClassValue;
|
|
22
17
|
};
|
|
23
18
|
};
|
|
24
19
|
} | {}, {
|
|
25
20
|
root: string;
|
|
26
21
|
item: string;
|
|
27
|
-
/** The mark carries the series colour. */
|
|
28
22
|
swatch: string;
|
|
29
23
|
/** The text never does — a light hue is illegible as type on the surface. */
|
|
30
24
|
name: string;
|
|
@@ -33,21 +27,19 @@ export declare const chartLegendTheme: import("tailwind-variants").TVReturnType<
|
|
|
33
27
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
34
28
|
root?: import("tailwind-variants").ClassValue;
|
|
35
29
|
item?: import("tailwind-variants").ClassValue;
|
|
36
|
-
swatch?: import("tailwind-variants").ClassValue;
|
|
37
30
|
name?: import("tailwind-variants").ClassValue;
|
|
31
|
+
swatch?: import("tailwind-variants").ClassValue;
|
|
38
32
|
};
|
|
39
33
|
};
|
|
40
34
|
} | {}, {
|
|
41
35
|
root: string;
|
|
42
36
|
item: string;
|
|
43
|
-
/** The mark carries the series colour. */
|
|
44
37
|
swatch: string;
|
|
45
38
|
/** The text never does — a light hue is illegible as type on the surface. */
|
|
46
39
|
name: string;
|
|
47
40
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
48
41
|
root: string;
|
|
49
42
|
item: string;
|
|
50
|
-
/** The mark carries the series colour. */
|
|
51
43
|
swatch: string;
|
|
52
44
|
/** The text never does — a light hue is illegible as type on the surface. */
|
|
53
45
|
name: string;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const collapsibleTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
iconPosition: {
|
|
3
|
+
start: {
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
end: {
|
|
7
|
+
icon: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
root: string;
|
|
12
|
+
trigger: string;
|
|
13
|
+
content: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
iconPosition: {
|
|
17
|
+
start: {
|
|
18
|
+
icon: string;
|
|
19
|
+
};
|
|
20
|
+
end: {
|
|
21
|
+
icon: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
root: string;
|
|
26
|
+
trigger: string;
|
|
27
|
+
content: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
30
|
+
iconPosition: {
|
|
31
|
+
start: {
|
|
32
|
+
icon: string;
|
|
33
|
+
};
|
|
34
|
+
end: {
|
|
35
|
+
icon: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
root: string;
|
|
40
|
+
trigger: string;
|
|
41
|
+
content: string;
|
|
42
|
+
icon: string;
|
|
43
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
44
|
+
export type CollapsibleSlots = keyof ReturnType<typeof collapsibleTheme>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/collapsible.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "w-full",
|
|
6
|
+
trigger: "flex w-full items-center gap-2 rounded-lg text-sm font-medium text-foreground outline-none focus-visible:ring-2 focus-visible:ring-primary/50 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",
|
|
7
|
+
content: "overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",
|
|
8
|
+
icon: "shrink-0 text-muted-foreground transition-transform duration-200"
|
|
9
|
+
},
|
|
10
|
+
variants: { iconPosition: {
|
|
11
|
+
start: { icon: "order-first" },
|
|
12
|
+
end: { icon: "order-last ml-auto" }
|
|
13
|
+
} },
|
|
14
|
+
defaultVariants: { iconPosition: "end" }
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as collapsibleTheme };
|