iryx-ui 0.24.1 → 0.26.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/dist/components/AvatarGroup.vue.d.ts +8 -2
- package/dist/components/AvatarGroup.vue_vue_type_script_setup_true_lang.js +57 -23
- package/dist/components/Breadcrumb.vue.d.ts +10 -2
- package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +66 -34
- package/dist/components/CommandPalette.vue.d.ts +12 -0
- package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +122 -85
- package/dist/components/ConfirmPopover.vue.d.ts +1 -1
- package/dist/components/DateRangePicker.vue.d.ts +14 -2
- package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +111 -70
- package/dist/components/FileUpload.vue.d.ts +23 -1
- package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js +139 -96
- package/dist/components/Input.vue.d.ts +14 -0
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +86 -69
- package/dist/components/SignaturePad.vue.d.ts +1 -1
- package/dist/components/Tabs.vue.d.ts +7 -6
- package/dist/components/Tabs.vue_vue_type_script_setup_true_lang.js +65 -30
- package/dist/components/Textarea.vue.d.ts +14 -0
- package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +90 -42
- package/dist/components/Toaster.vue_vue_type_script_setup_true_lang.js +42 -41
- package/dist/components/index.js +144 -144
- package/dist/composables/character-count.d.ts +6 -0
- package/dist/composables/character-count.js +18 -0
- package/dist/composables/command-palette.d.ts +7 -0
- package/dist/composables/command-palette.js +8 -2
- package/dist/composables/date.d.ts +25 -0
- package/dist/composables/date.js +59 -16
- package/dist/composables/scroll-fade.d.ts +1 -1
- package/dist/composables/toast.d.ts +16 -1
- package/dist/composables/toast.js +23 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +154 -154
- package/dist/theme/avatar.d.ts +21 -0
- package/dist/theme/avatar.js +28 -21
- package/dist/theme/bar-chart.d.ts +3 -3
- package/dist/theme/date-picker.d.ts +9 -0
- package/dist/theme/date-picker.js +3 -0
- package/dist/theme/donut-chart.d.ts +3 -3
- package/dist/theme/file-upload.d.ts +24 -0
- package/dist/theme/file-upload.js +6 -2
- package/dist/theme/input.d.ts +46 -0
- package/dist/theme/input.js +10 -2
- package/dist/theme/line-chart.d.ts +3 -3
- package/dist/theme/tabs.d.ts +18 -3
- package/dist/theme/tabs.js +20 -12
- package/dist/theme/toast.d.ts +9 -0
- package/dist/theme/toast.js +2 -1
- package/package.json +1 -1
|
@@ -14,6 +14,11 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
|
14
14
|
dropzone: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
+
withStatus: {
|
|
18
|
+
true: {
|
|
19
|
+
details: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
17
22
|
}, {
|
|
18
23
|
root: string;
|
|
19
24
|
dropzone: string;
|
|
@@ -29,8 +34,11 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
|
29
34
|
details: string;
|
|
30
35
|
name: string;
|
|
31
36
|
meta: string;
|
|
37
|
+
actions: string;
|
|
32
38
|
remove: string;
|
|
33
39
|
error: string;
|
|
40
|
+
progress: string;
|
|
41
|
+
retry: string;
|
|
34
42
|
}, undefined, {
|
|
35
43
|
dragging: {
|
|
36
44
|
true: {
|
|
@@ -47,6 +55,11 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
|
47
55
|
dropzone: string;
|
|
48
56
|
};
|
|
49
57
|
};
|
|
58
|
+
withStatus: {
|
|
59
|
+
true: {
|
|
60
|
+
details: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
50
63
|
}, {
|
|
51
64
|
root: string;
|
|
52
65
|
dropzone: string;
|
|
@@ -62,8 +75,11 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
|
62
75
|
details: string;
|
|
63
76
|
name: string;
|
|
64
77
|
meta: string;
|
|
78
|
+
actions: string;
|
|
65
79
|
remove: string;
|
|
66
80
|
error: string;
|
|
81
|
+
progress: string;
|
|
82
|
+
retry: string;
|
|
67
83
|
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
68
84
|
dragging: {
|
|
69
85
|
true: {
|
|
@@ -80,6 +96,11 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
|
80
96
|
dropzone: string;
|
|
81
97
|
};
|
|
82
98
|
};
|
|
99
|
+
withStatus: {
|
|
100
|
+
true: {
|
|
101
|
+
details: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
83
104
|
}, {
|
|
84
105
|
root: string;
|
|
85
106
|
dropzone: string;
|
|
@@ -95,7 +116,10 @@ export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
|
95
116
|
details: string;
|
|
96
117
|
name: string;
|
|
97
118
|
meta: string;
|
|
119
|
+
actions: string;
|
|
98
120
|
remove: string;
|
|
99
121
|
error: string;
|
|
122
|
+
progress: string;
|
|
123
|
+
retry: string;
|
|
100
124
|
}>>;
|
|
101
125
|
export type FileUploadSlots = keyof ReturnType<typeof fileUploadTheme>;
|
|
@@ -16,13 +16,17 @@ var t = e({
|
|
|
16
16
|
details: "flex min-w-0 flex-1 flex-col",
|
|
17
17
|
name: "truncate text-sm text-foreground",
|
|
18
18
|
meta: "text-xs text-muted-foreground tabular-nums",
|
|
19
|
+
actions: "flex shrink-0 items-center gap-1",
|
|
19
20
|
remove: "flex size-8 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-[color,background-color,border-color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-4",
|
|
20
|
-
error: "text-xs text-danger"
|
|
21
|
+
error: "text-xs text-danger",
|
|
22
|
+
progress: "mt-1.5",
|
|
23
|
+
retry: "flex size-8 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-[color,background-color,border-color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-4"
|
|
21
24
|
},
|
|
22
25
|
variants: {
|
|
23
26
|
dragging: { true: { dropzone: "border-primary bg-accent" } },
|
|
24
27
|
invalid: { true: { dropzone: "border-red-500 focus-within:ring-red-500/40" } },
|
|
25
|
-
disabled: { true: { dropzone: "pointer-events-none opacity-50" } }
|
|
28
|
+
disabled: { true: { dropzone: "pointer-events-none opacity-50" } },
|
|
29
|
+
withStatus: { true: { details: "min-h-11.5 justify-center" } }
|
|
26
30
|
}
|
|
27
31
|
});
|
|
28
32
|
//#endregion
|
package/dist/theme/input.d.ts
CHANGED
|
@@ -20,11 +20,17 @@ export declare const inputTheme: import("tailwind-variants").TVReturnType<{
|
|
|
20
20
|
root: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
+
nearLimit: {
|
|
24
|
+
true: {
|
|
25
|
+
count: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
23
28
|
}, {
|
|
24
29
|
root: string;
|
|
25
30
|
input: string;
|
|
26
31
|
leading: string;
|
|
27
32
|
trailing: string;
|
|
33
|
+
count: string;
|
|
28
34
|
clear: string;
|
|
29
35
|
}, undefined, {
|
|
30
36
|
size: {
|
|
@@ -46,11 +52,17 @@ export declare const inputTheme: import("tailwind-variants").TVReturnType<{
|
|
|
46
52
|
root: string;
|
|
47
53
|
};
|
|
48
54
|
};
|
|
55
|
+
nearLimit: {
|
|
56
|
+
true: {
|
|
57
|
+
count: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
49
60
|
}, {
|
|
50
61
|
root: string;
|
|
51
62
|
input: string;
|
|
52
63
|
leading: string;
|
|
53
64
|
trailing: string;
|
|
65
|
+
count: string;
|
|
54
66
|
clear: string;
|
|
55
67
|
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
56
68
|
size: {
|
|
@@ -72,11 +84,17 @@ export declare const inputTheme: import("tailwind-variants").TVReturnType<{
|
|
|
72
84
|
root: string;
|
|
73
85
|
};
|
|
74
86
|
};
|
|
87
|
+
nearLimit: {
|
|
88
|
+
true: {
|
|
89
|
+
count: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
75
92
|
}, {
|
|
76
93
|
root: string;
|
|
77
94
|
input: string;
|
|
78
95
|
leading: string;
|
|
79
96
|
trailing: string;
|
|
97
|
+
count: string;
|
|
80
98
|
clear: string;
|
|
81
99
|
}>>;
|
|
82
100
|
export declare const textareaTheme: import("tailwind-variants").TVReturnType<{
|
|
@@ -116,6 +134,34 @@ export declare const textareaTheme: import("tailwind-variants").TVReturnType<{
|
|
|
116
134
|
true: "min-h-0 resize-none";
|
|
117
135
|
};
|
|
118
136
|
}, undefined>>;
|
|
137
|
+
export declare const textareaCountTheme: import("tailwind-variants").TVReturnType<{
|
|
138
|
+
nearLimit: {
|
|
139
|
+
true: {
|
|
140
|
+
count: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
root: string;
|
|
145
|
+
count: string;
|
|
146
|
+
}, undefined, {
|
|
147
|
+
nearLimit: {
|
|
148
|
+
true: {
|
|
149
|
+
count: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}, {
|
|
153
|
+
root: string;
|
|
154
|
+
count: string;
|
|
155
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
156
|
+
nearLimit: {
|
|
157
|
+
true: {
|
|
158
|
+
count: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
root: string;
|
|
163
|
+
count: string;
|
|
164
|
+
}>>;
|
|
119
165
|
export type InputVariants = Parameters<typeof inputTheme>[0];
|
|
120
166
|
export type InputSlots = keyof ReturnType<typeof inputTheme>;
|
|
121
167
|
export type TextareaVariants = Parameters<typeof textareaTheme>[0];
|
package/dist/theme/input.js
CHANGED
|
@@ -6,6 +6,7 @@ var t = "w-full rounded-xl border border-border bg-input text-foreground transit
|
|
|
6
6
|
input: "w-full min-w-0 flex-1 bg-transparent outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed",
|
|
7
7
|
leading: "flex shrink-0 items-center text-muted-foreground [&_svg]:size-4",
|
|
8
8
|
trailing: "flex shrink-0 items-center gap-1.5 text-muted-foreground [&_svg]:size-4",
|
|
9
|
+
count: "text-xs tabular-nums",
|
|
9
10
|
clear: "flex items-center rounded-md text-muted-foreground transition-[color,background-color,border-color,box-shadow] outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-3.5"
|
|
10
11
|
},
|
|
11
12
|
variants: {
|
|
@@ -23,7 +24,8 @@ var t = "w-full rounded-xl border border-border bg-input text-foreground transit
|
|
|
23
24
|
input: "text-base"
|
|
24
25
|
}
|
|
25
26
|
},
|
|
26
|
-
invalid: { true: { root: "border-red-500 focus-within:ring-red-500/40" } }
|
|
27
|
+
invalid: { true: { root: "border-red-500 focus-within:ring-red-500/40" } },
|
|
28
|
+
nearLimit: { true: { count: "text-danger" } }
|
|
27
29
|
},
|
|
28
30
|
defaultVariants: { size: "md" }
|
|
29
31
|
}), r = e({
|
|
@@ -38,6 +40,12 @@ var t = "w-full rounded-xl border border-border bg-input text-foreground transit
|
|
|
38
40
|
autosize: { true: "min-h-0 resize-none" }
|
|
39
41
|
},
|
|
40
42
|
defaultVariants: { size: "md" }
|
|
43
|
+
}), i = e({
|
|
44
|
+
slots: {
|
|
45
|
+
root: "grid gap-1.5",
|
|
46
|
+
count: "justify-self-end text-xs text-muted-foreground tabular-nums"
|
|
47
|
+
},
|
|
48
|
+
variants: { nearLimit: { true: { count: "text-danger" } } }
|
|
41
49
|
});
|
|
42
50
|
//#endregion
|
|
43
|
-
export { t as fieldBase, n as inputTheme, r as textareaTheme };
|
|
51
|
+
export { t as fieldBase, n as inputTheme, i as textareaCountTheme, r as textareaTheme };
|
|
@@ -7,12 +7,12 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
7
7
|
table?: import("tailwind-variants").ClassValue;
|
|
8
8
|
line?: import("tailwind-variants").ClassValue;
|
|
9
9
|
marker?: import("tailwind-variants").ClassValue;
|
|
10
|
+
tooltip?: import("tailwind-variants").ClassValue;
|
|
10
11
|
plot?: import("tailwind-variants").ClassValue;
|
|
11
12
|
grid?: import("tailwind-variants").ClassValue;
|
|
12
13
|
tick?: import("tailwind-variants").ClassValue;
|
|
13
14
|
category?: import("tailwind-variants").ClassValue;
|
|
14
15
|
hit?: import("tailwind-variants").ClassValue;
|
|
15
|
-
tooltip?: import("tailwind-variants").ClassValue;
|
|
16
16
|
tooltipLabel?: import("tailwind-variants").ClassValue;
|
|
17
17
|
tooltipValue?: import("tailwind-variants").ClassValue;
|
|
18
18
|
band?: import("tailwind-variants").ClassValue;
|
|
@@ -29,12 +29,12 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
29
29
|
table?: import("tailwind-variants").ClassValue;
|
|
30
30
|
line?: import("tailwind-variants").ClassValue;
|
|
31
31
|
marker?: import("tailwind-variants").ClassValue;
|
|
32
|
+
tooltip?: import("tailwind-variants").ClassValue;
|
|
32
33
|
plot?: import("tailwind-variants").ClassValue;
|
|
33
34
|
grid?: import("tailwind-variants").ClassValue;
|
|
34
35
|
tick?: import("tailwind-variants").ClassValue;
|
|
35
36
|
category?: import("tailwind-variants").ClassValue;
|
|
36
37
|
hit?: import("tailwind-variants").ClassValue;
|
|
37
|
-
tooltip?: import("tailwind-variants").ClassValue;
|
|
38
38
|
tooltipLabel?: import("tailwind-variants").ClassValue;
|
|
39
39
|
tooltipValue?: import("tailwind-variants").ClassValue;
|
|
40
40
|
band?: import("tailwind-variants").ClassValue;
|
|
@@ -69,12 +69,12 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
69
69
|
table?: import("tailwind-variants").ClassValue;
|
|
70
70
|
line?: import("tailwind-variants").ClassValue;
|
|
71
71
|
marker?: import("tailwind-variants").ClassValue;
|
|
72
|
+
tooltip?: import("tailwind-variants").ClassValue;
|
|
72
73
|
plot?: import("tailwind-variants").ClassValue;
|
|
73
74
|
grid?: import("tailwind-variants").ClassValue;
|
|
74
75
|
tick?: import("tailwind-variants").ClassValue;
|
|
75
76
|
category?: import("tailwind-variants").ClassValue;
|
|
76
77
|
hit?: import("tailwind-variants").ClassValue;
|
|
77
|
-
tooltip?: import("tailwind-variants").ClassValue;
|
|
78
78
|
tooltipLabel?: import("tailwind-variants").ClassValue;
|
|
79
79
|
tooltipValue?: import("tailwind-variants").ClassValue;
|
|
80
80
|
band?: import("tailwind-variants").ClassValue;
|
package/dist/theme/tabs.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
2
2
|
variant: {
|
|
3
3
|
solid: {
|
|
4
|
-
|
|
4
|
+
frame: string;
|
|
5
5
|
indicator: string;
|
|
6
6
|
trigger: string;
|
|
7
7
|
};
|
|
8
8
|
line: {
|
|
9
|
+
frame: string;
|
|
9
10
|
list: string;
|
|
10
11
|
indicator: string;
|
|
11
12
|
trigger: string;
|
|
@@ -13,16 +14,20 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
13
14
|
};
|
|
14
15
|
orientation: {
|
|
15
16
|
horizontal: {
|
|
17
|
+
list: string;
|
|
16
18
|
indicator: string;
|
|
17
19
|
};
|
|
18
20
|
vertical: {
|
|
19
21
|
root: string;
|
|
22
|
+
frame: string;
|
|
20
23
|
list: string;
|
|
21
24
|
indicator: string;
|
|
25
|
+
trigger: string;
|
|
22
26
|
};
|
|
23
27
|
};
|
|
24
28
|
}, {
|
|
25
29
|
root: string;
|
|
30
|
+
frame: string;
|
|
26
31
|
list: string;
|
|
27
32
|
indicator: string;
|
|
28
33
|
trigger: string;
|
|
@@ -30,11 +35,12 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
30
35
|
}, undefined, {
|
|
31
36
|
variant: {
|
|
32
37
|
solid: {
|
|
33
|
-
|
|
38
|
+
frame: string;
|
|
34
39
|
indicator: string;
|
|
35
40
|
trigger: string;
|
|
36
41
|
};
|
|
37
42
|
line: {
|
|
43
|
+
frame: string;
|
|
38
44
|
list: string;
|
|
39
45
|
indicator: string;
|
|
40
46
|
trigger: string;
|
|
@@ -42,16 +48,20 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
42
48
|
};
|
|
43
49
|
orientation: {
|
|
44
50
|
horizontal: {
|
|
51
|
+
list: string;
|
|
45
52
|
indicator: string;
|
|
46
53
|
};
|
|
47
54
|
vertical: {
|
|
48
55
|
root: string;
|
|
56
|
+
frame: string;
|
|
49
57
|
list: string;
|
|
50
58
|
indicator: string;
|
|
59
|
+
trigger: string;
|
|
51
60
|
};
|
|
52
61
|
};
|
|
53
62
|
}, {
|
|
54
63
|
root: string;
|
|
64
|
+
frame: string;
|
|
55
65
|
list: string;
|
|
56
66
|
indicator: string;
|
|
57
67
|
trigger: string;
|
|
@@ -59,11 +69,12 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
59
69
|
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
60
70
|
variant: {
|
|
61
71
|
solid: {
|
|
62
|
-
|
|
72
|
+
frame: string;
|
|
63
73
|
indicator: string;
|
|
64
74
|
trigger: string;
|
|
65
75
|
};
|
|
66
76
|
line: {
|
|
77
|
+
frame: string;
|
|
67
78
|
list: string;
|
|
68
79
|
indicator: string;
|
|
69
80
|
trigger: string;
|
|
@@ -71,16 +82,20 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
71
82
|
};
|
|
72
83
|
orientation: {
|
|
73
84
|
horizontal: {
|
|
85
|
+
list: string;
|
|
74
86
|
indicator: string;
|
|
75
87
|
};
|
|
76
88
|
vertical: {
|
|
77
89
|
root: string;
|
|
90
|
+
frame: string;
|
|
78
91
|
list: string;
|
|
79
92
|
indicator: string;
|
|
93
|
+
trigger: string;
|
|
80
94
|
};
|
|
81
95
|
};
|
|
82
96
|
}, {
|
|
83
97
|
root: string;
|
|
98
|
+
frame: string;
|
|
84
99
|
list: string;
|
|
85
100
|
indicator: string;
|
|
86
101
|
trigger: string;
|
package/dist/theme/tabs.js
CHANGED
|
@@ -3,44 +3,52 @@ import { tv as e } from "tailwind-variants";
|
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: {
|
|
5
5
|
root: "flex flex-col gap-4",
|
|
6
|
-
|
|
6
|
+
frame: "flex min-w-0 shrink-0",
|
|
7
|
+
list: "relative flex min-w-0 flex-1 items-center gap-1",
|
|
7
8
|
indicator: "absolute left-0 transition-[translate,width,height] duration-200 ease-out",
|
|
8
|
-
trigger: "relative z-10 inline-flex items-center justify-center gap-2 text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",
|
|
9
|
+
trigger: "relative z-10 inline-flex shrink-0 items-center justify-center gap-2 text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-inset disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",
|
|
9
10
|
content: "outline-none"
|
|
10
11
|
},
|
|
11
12
|
variants: {
|
|
12
13
|
variant: {
|
|
13
14
|
solid: {
|
|
14
|
-
|
|
15
|
-
indicator: "top-
|
|
15
|
+
frame: "rounded-xl bg-muted p-1",
|
|
16
|
+
indicator: "top-0 h-full rounded-lg bg-background shadow-sm",
|
|
16
17
|
trigger: "rounded-lg px-3 py-1.5 text-muted-foreground data-[state=active]:text-foreground"
|
|
17
18
|
},
|
|
18
19
|
line: {
|
|
19
|
-
|
|
20
|
+
frame: "border-b border-border",
|
|
21
|
+
list: "gap-4",
|
|
20
22
|
indicator: "bottom-0 h-0.5 rounded-none bg-primary",
|
|
21
23
|
trigger: "rounded-none px-1 py-2 text-muted-foreground data-[state=active]:text-foreground"
|
|
22
24
|
}
|
|
23
25
|
},
|
|
24
26
|
orientation: {
|
|
25
|
-
horizontal: {
|
|
27
|
+
horizontal: {
|
|
28
|
+
list: "[scrollbar-width:none] overflow-x-auto scroll-smooth [&::-webkit-scrollbar]:hidden",
|
|
29
|
+
indicator: "w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)"
|
|
30
|
+
},
|
|
26
31
|
vertical: {
|
|
27
32
|
root: "flex-row",
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
frame: "min-h-0 flex-col",
|
|
34
|
+
list: "[scrollbar-width:none] flex-col items-stretch overflow-y-auto scroll-smooth [&::-webkit-scrollbar]:hidden",
|
|
35
|
+
indicator: "h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)",
|
|
36
|
+
trigger: "justify-start"
|
|
30
37
|
}
|
|
31
38
|
}
|
|
32
39
|
},
|
|
33
40
|
compoundVariants: [{
|
|
34
41
|
variant: "solid",
|
|
35
42
|
orientation: "vertical",
|
|
36
|
-
class: { indicator: "top-0 left-
|
|
43
|
+
class: { indicator: "top-0 left-0 w-full" }
|
|
37
44
|
}, {
|
|
38
45
|
variant: "line",
|
|
39
46
|
orientation: "vertical",
|
|
40
47
|
class: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
frame: "border-r border-b-0",
|
|
49
|
+
list: "gap-0.5",
|
|
50
|
+
indicator: "right-0 bottom-auto left-auto h-(--reka-tabs-indicator-size) w-0.5",
|
|
51
|
+
trigger: "px-3"
|
|
44
52
|
}
|
|
45
53
|
}],
|
|
46
54
|
defaultVariants: {
|
package/dist/theme/toast.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
|
|
|
15
15
|
info: {
|
|
16
16
|
icon: string;
|
|
17
17
|
};
|
|
18
|
+
loading: {
|
|
19
|
+
icon: string;
|
|
20
|
+
};
|
|
18
21
|
};
|
|
19
22
|
position: {
|
|
20
23
|
'top-left': {
|
|
@@ -67,6 +70,9 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
|
|
|
67
70
|
info: {
|
|
68
71
|
icon: string;
|
|
69
72
|
};
|
|
73
|
+
loading: {
|
|
74
|
+
icon: string;
|
|
75
|
+
};
|
|
70
76
|
};
|
|
71
77
|
position: {
|
|
72
78
|
'top-left': {
|
|
@@ -119,6 +125,9 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
|
|
|
119
125
|
info: {
|
|
120
126
|
icon: string;
|
|
121
127
|
};
|
|
128
|
+
loading: {
|
|
129
|
+
icon: string;
|
|
130
|
+
};
|
|
122
131
|
};
|
|
123
132
|
position: {
|
|
124
133
|
'top-left': {
|
package/dist/theme/toast.js
CHANGED
|
@@ -17,7 +17,8 @@ var t = e({
|
|
|
17
17
|
success: { icon: "text-success" },
|
|
18
18
|
warning: { icon: "text-warning" },
|
|
19
19
|
danger: { icon: "text-danger" },
|
|
20
|
-
info: { icon: "text-info" }
|
|
20
|
+
info: { icon: "text-info" },
|
|
21
|
+
loading: { icon: "text-muted-foreground [&_svg]:animate-spin" }
|
|
21
22
|
},
|
|
22
23
|
position: {
|
|
23
24
|
"top-left": { viewport: "top-0 left-0" },
|