@sytechui/theme 2.6.2 → 2.6.4
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/{chunk-27EH4573.mjs → chunk-47BB6GL3.mjs} +1 -1
- package/dist/{chunk-GYRKKQKN.mjs → chunk-4N2PLITL.mjs} +1 -1
- package/dist/{chunk-3PBT3W4C.mjs → chunk-5DJU5KUL.mjs} +1 -1
- package/dist/{chunk-P2SWF4YK.mjs → chunk-7ARJ2TQM.mjs} +1 -1
- package/dist/chunk-7FAFG773.mjs +69 -0
- package/dist/{chunk-JGY6VQQQ.mjs → chunk-7K2CWEHT.mjs} +8 -1
- package/dist/{chunk-HRULT2QB.mjs → chunk-AGSAOCCR.mjs} +1 -1
- package/dist/{chunk-OBSH26UE.mjs → chunk-AL5UNXQI.mjs} +1 -1
- package/dist/{chunk-QU72GCNK.mjs → chunk-ECD4ABCS.mjs} +1 -1
- package/dist/{chunk-CR7SUL27.mjs → chunk-EZ47UJPD.mjs} +1 -1
- package/dist/{chunk-GXDNTAQH.mjs → chunk-I5YZBAB3.mjs} +1 -1
- package/dist/{chunk-RAC3PSZO.mjs → chunk-KKEJLP4U.mjs} +1 -1
- package/dist/{chunk-4XFAHRMJ.mjs → chunk-MTBQ5EO5.mjs} +1 -1
- package/dist/{chunk-YISEC5JS.mjs → chunk-NJBUOBAS.mjs} +9 -5
- package/dist/{chunk-7CAOOET2.mjs → chunk-OSP4OLTO.mjs} +1 -1
- package/dist/{chunk-M5F7VFZT.mjs → chunk-P5HLCB43.mjs} +1 -1
- package/dist/{chunk-T754O54S.mjs → chunk-PY74IHS4.mjs} +1 -1
- package/dist/{chunk-UJC5GXOO.mjs → chunk-ROFEKAS6.mjs} +7 -7
- package/dist/{chunk-22RNS2JQ.mjs → chunk-T6HDMOJB.mjs} +248 -97
- package/dist/{chunk-K6X3VPO4.mjs → chunk-USGOG5QI.mjs} +1 -1
- package/dist/{chunk-LD2JADOO.mjs → chunk-W37Q6YFS.mjs} +1 -1
- package/dist/{chunk-6Q4A5IGD.mjs → chunk-WH4ODSEM.mjs} +1 -1
- package/dist/{chunk-7MY46DKJ.mjs → chunk-XBJNS5SU.mjs} +1 -1
- package/dist/{chunk-63TVI5PY.mjs → chunk-XKMMJKKB.mjs} +1 -1
- package/dist/{chunk-TYJNRAT2.mjs → chunk-ZWG2GMCI.mjs} +1 -1
- package/dist/components/accordion.js +21 -0
- package/dist/components/accordion.mjs +28 -28
- package/dist/components/alert.js +21 -0
- package/dist/components/alert.mjs +7 -7
- package/dist/components/autocomplete.js +21 -0
- package/dist/components/autocomplete.mjs +7 -7
- package/dist/components/avatar.js +21 -0
- package/dist/components/avatar.mjs +28 -28
- package/dist/components/badge.js +21 -0
- package/dist/components/badge.mjs +28 -28
- package/dist/components/bottom-bar.js +21 -0
- package/dist/components/bottom-bar.mjs +28 -28
- package/dist/components/breadcrumbs.js +21 -0
- package/dist/components/breadcrumbs.mjs +28 -28
- package/dist/components/button.js +21 -0
- package/dist/components/button.mjs +28 -28
- package/dist/components/calendar.js +21 -0
- package/dist/components/calendar.mjs +28 -28
- package/dist/components/card.js +21 -0
- package/dist/components/card.mjs +28 -28
- package/dist/components/checkbox.js +28 -4
- package/dist/components/checkbox.mjs +28 -28
- package/dist/components/chip.js +21 -0
- package/dist/components/chip.mjs +28 -28
- package/dist/components/code.js +21 -0
- package/dist/components/code.mjs +28 -28
- package/dist/components/date-input.js +21 -0
- package/dist/components/date-input.mjs +7 -7
- package/dist/components/date-picker.js +21 -0
- package/dist/components/date-picker.mjs +7 -7
- package/dist/components/divider.js +21 -0
- package/dist/components/divider.mjs +7 -7
- package/dist/components/drawer.js +21 -0
- package/dist/components/drawer.mjs +7 -7
- package/dist/components/drip.js +21 -0
- package/dist/components/drip.mjs +7 -7
- package/dist/components/drop-zone.js +21 -0
- package/dist/components/drop-zone.mjs +28 -28
- package/dist/components/dropdown.js +21 -0
- package/dist/components/dropdown.mjs +28 -28
- package/dist/components/form.js +21 -0
- package/dist/components/form.mjs +7 -7
- package/dist/components/image.js +21 -0
- package/dist/components/image.mjs +7 -7
- package/dist/components/index.js +264 -92
- package/dist/components/index.mjs +29 -29
- package/dist/components/input-otp.js +21 -0
- package/dist/components/input-otp.mjs +28 -28
- package/dist/components/input.js +21 -0
- package/dist/components/input.mjs +28 -28
- package/dist/components/kbd.js +21 -0
- package/dist/components/kbd.mjs +7 -7
- package/dist/components/link.js +21 -0
- package/dist/components/link.mjs +28 -28
- package/dist/components/listbox.js +21 -0
- package/dist/components/listbox.mjs +28 -28
- package/dist/components/menu.js +21 -0
- package/dist/components/menu.mjs +28 -28
- package/dist/components/modal.js +21 -0
- package/dist/components/modal.mjs +28 -28
- package/dist/components/navbar.js +21 -0
- package/dist/components/navbar.mjs +28 -28
- package/dist/components/number-input.js +21 -0
- package/dist/components/number-input.mjs +28 -28
- package/dist/components/pagination.js +21 -0
- package/dist/components/pagination.mjs +28 -28
- package/dist/components/popover.js +21 -0
- package/dist/components/popover.mjs +28 -28
- package/dist/components/progress.js +21 -0
- package/dist/components/progress.mjs +7 -7
- package/dist/components/radio.js +21 -0
- package/dist/components/radio.mjs +28 -28
- package/dist/components/scroll-area.js +21 -0
- package/dist/components/scroll-area.mjs +7 -7
- package/dist/components/scroll-shadow.js +21 -0
- package/dist/components/scroll-shadow.mjs +7 -7
- package/dist/components/select.js +21 -0
- package/dist/components/select.mjs +28 -28
- package/dist/components/shimmer-text.js +21 -0
- package/dist/components/shimmer-text.mjs +7 -7
- package/dist/components/skeleton.js +21 -0
- package/dist/components/skeleton.mjs +7 -7
- package/dist/components/slider.js +21 -0
- package/dist/components/slider.mjs +28 -28
- package/dist/components/snippet.js +21 -0
- package/dist/components/snippet.mjs +28 -28
- package/dist/components/spacer.js +21 -0
- package/dist/components/spacer.mjs +7 -7
- package/dist/components/spinner.js +21 -0
- package/dist/components/spinner.mjs +7 -7
- package/dist/components/stepper.js +21 -0
- package/dist/components/stepper.mjs +28 -28
- package/dist/components/table.d.mts +111 -30
- package/dist/components/table.d.ts +111 -30
- package/dist/components/table.js +181 -72
- package/dist/components/table.mjs +28 -28
- package/dist/components/tabs.d.mts +81 -15
- package/dist/components/tabs.d.ts +81 -15
- package/dist/components/tabs.js +97 -16
- package/dist/components/tabs.mjs +28 -28
- package/dist/components/toast.js +21 -0
- package/dist/components/toast.mjs +28 -28
- package/dist/components/toggle.js +21 -0
- package/dist/components/toggle.mjs +28 -28
- package/dist/components/user.js +21 -0
- package/dist/components/user.mjs +28 -28
- package/dist/index.js +291 -94
- package/dist/index.mjs +33 -33
- package/dist/plugin.js +48 -2
- package/dist/plugin.mjs +7 -7
- package/dist/utilities/index.d.mts +18 -0
- package/dist/utilities/index.d.ts +18 -0
- package/dist/utilities/index.js +21 -0
- package/dist/utilities/index.mjs +4 -4
- package/dist/utilities/scrollbar-hide.d.mts +39 -4
- package/dist/utilities/scrollbar-hide.d.ts +39 -4
- package/dist/utilities/scrollbar-hide.js +44 -1
- package/dist/utilities/scrollbar-hide.mjs +4 -2
- package/dist/utils/classes.d.mts +7 -0
- package/dist/utils/classes.d.ts +7 -0
- package/dist/utils/classes.js +8 -1
- package/dist/utils/classes.mjs +1 -1
- package/dist/utils/cn.js +21 -0
- package/dist/utils/cn.mjs +6 -6
- package/dist/utils/index.js +29 -1
- package/dist/utils/index.mjs +28 -28
- package/dist/utils/merge-classes.js +21 -0
- package/dist/utils/merge-classes.mjs +28 -28
- package/dist/utils/tv.js +21 -0
- package/dist/utils/tv.mjs +6 -6
- package/dist/utils/tw-merge-config.js +21 -0
- package/dist/utils/tw-merge-config.mjs +5 -5
- package/package.json +1 -1
- package/dist/chunk-WH6SPIFG.mjs +0 -30
|
@@ -22,14 +22,14 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
22
22
|
variant: {
|
|
23
23
|
solid: {};
|
|
24
24
|
light: {
|
|
25
|
-
|
|
25
|
+
base: string;
|
|
26
26
|
};
|
|
27
27
|
underlined: {
|
|
28
|
-
|
|
28
|
+
base: string;
|
|
29
29
|
cursor: string;
|
|
30
30
|
};
|
|
31
31
|
bordered: {
|
|
32
|
-
|
|
32
|
+
base: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
color: {
|
|
@@ -42,16 +42,19 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
44
|
sm: {
|
|
45
|
+
base: string;
|
|
45
46
|
tabList: string;
|
|
46
47
|
tab: string;
|
|
47
48
|
cursor: string;
|
|
48
49
|
};
|
|
49
50
|
md: {
|
|
51
|
+
base: string;
|
|
50
52
|
tabList: string;
|
|
51
53
|
tab: string;
|
|
52
54
|
cursor: string;
|
|
53
55
|
};
|
|
54
56
|
lg: {
|
|
57
|
+
base: string;
|
|
55
58
|
tabList: string;
|
|
56
59
|
tab: string;
|
|
57
60
|
cursor: string;
|
|
@@ -59,26 +62,31 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
59
62
|
};
|
|
60
63
|
radius: {
|
|
61
64
|
none: {
|
|
65
|
+
base: string;
|
|
62
66
|
tabList: string;
|
|
63
67
|
tab: string;
|
|
64
68
|
cursor: string;
|
|
65
69
|
};
|
|
66
70
|
sm: {
|
|
71
|
+
base: string;
|
|
67
72
|
tabList: string;
|
|
68
73
|
tab: string;
|
|
69
74
|
cursor: string;
|
|
70
75
|
};
|
|
71
76
|
md: {
|
|
77
|
+
base: string;
|
|
72
78
|
tabList: string;
|
|
73
79
|
tab: string;
|
|
74
80
|
cursor: string;
|
|
75
81
|
};
|
|
76
82
|
lg: {
|
|
83
|
+
base: string;
|
|
77
84
|
tabList: string;
|
|
78
85
|
tab: string;
|
|
79
86
|
cursor: string;
|
|
80
87
|
};
|
|
81
88
|
full: {
|
|
89
|
+
base: string;
|
|
82
90
|
tabList: string;
|
|
83
91
|
tab: string;
|
|
84
92
|
cursor: string;
|
|
@@ -87,7 +95,7 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
87
95
|
fullWidth: {
|
|
88
96
|
true: {
|
|
89
97
|
base: string;
|
|
90
|
-
|
|
98
|
+
scroller: string;
|
|
91
99
|
};
|
|
92
100
|
};
|
|
93
101
|
isDisabled: {
|
|
@@ -102,24 +110,38 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
102
110
|
};
|
|
103
111
|
};
|
|
104
112
|
placement: {
|
|
105
|
-
top: {
|
|
113
|
+
top: {
|
|
114
|
+
scrollPrev: string;
|
|
115
|
+
scrollNext: string;
|
|
116
|
+
};
|
|
106
117
|
start: {
|
|
118
|
+
scroller: string;
|
|
107
119
|
tabList: string;
|
|
108
120
|
panel: string;
|
|
109
121
|
tabWrapper: string;
|
|
122
|
+
scrollPrev: string;
|
|
123
|
+
scrollNext: string;
|
|
110
124
|
};
|
|
111
125
|
end: {
|
|
126
|
+
scroller: string;
|
|
112
127
|
tabList: string;
|
|
113
128
|
panel: string;
|
|
114
129
|
tabWrapper: string;
|
|
130
|
+
scrollPrev: string;
|
|
131
|
+
scrollNext: string;
|
|
115
132
|
};
|
|
116
133
|
bottom: {
|
|
117
134
|
tabWrapper: string;
|
|
135
|
+
scrollPrev: string;
|
|
136
|
+
scrollNext: string;
|
|
118
137
|
};
|
|
119
138
|
};
|
|
120
139
|
}, {
|
|
121
140
|
base: string;
|
|
141
|
+
scroller: string;
|
|
122
142
|
tabList: string[];
|
|
143
|
+
scrollPrev: string[];
|
|
144
|
+
scrollNext: string[];
|
|
123
145
|
tab: string[];
|
|
124
146
|
tabContent: string[];
|
|
125
147
|
cursor: string[];
|
|
@@ -129,14 +151,14 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
129
151
|
variant: {
|
|
130
152
|
solid: {};
|
|
131
153
|
light: {
|
|
132
|
-
|
|
154
|
+
base: string;
|
|
133
155
|
};
|
|
134
156
|
underlined: {
|
|
135
|
-
|
|
157
|
+
base: string;
|
|
136
158
|
cursor: string;
|
|
137
159
|
};
|
|
138
160
|
bordered: {
|
|
139
|
-
|
|
161
|
+
base: string;
|
|
140
162
|
};
|
|
141
163
|
};
|
|
142
164
|
color: {
|
|
@@ -149,16 +171,19 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
149
171
|
};
|
|
150
172
|
size: {
|
|
151
173
|
sm: {
|
|
174
|
+
base: string;
|
|
152
175
|
tabList: string;
|
|
153
176
|
tab: string;
|
|
154
177
|
cursor: string;
|
|
155
178
|
};
|
|
156
179
|
md: {
|
|
180
|
+
base: string;
|
|
157
181
|
tabList: string;
|
|
158
182
|
tab: string;
|
|
159
183
|
cursor: string;
|
|
160
184
|
};
|
|
161
185
|
lg: {
|
|
186
|
+
base: string;
|
|
162
187
|
tabList: string;
|
|
163
188
|
tab: string;
|
|
164
189
|
cursor: string;
|
|
@@ -166,26 +191,31 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
166
191
|
};
|
|
167
192
|
radius: {
|
|
168
193
|
none: {
|
|
194
|
+
base: string;
|
|
169
195
|
tabList: string;
|
|
170
196
|
tab: string;
|
|
171
197
|
cursor: string;
|
|
172
198
|
};
|
|
173
199
|
sm: {
|
|
200
|
+
base: string;
|
|
174
201
|
tabList: string;
|
|
175
202
|
tab: string;
|
|
176
203
|
cursor: string;
|
|
177
204
|
};
|
|
178
205
|
md: {
|
|
206
|
+
base: string;
|
|
179
207
|
tabList: string;
|
|
180
208
|
tab: string;
|
|
181
209
|
cursor: string;
|
|
182
210
|
};
|
|
183
211
|
lg: {
|
|
212
|
+
base: string;
|
|
184
213
|
tabList: string;
|
|
185
214
|
tab: string;
|
|
186
215
|
cursor: string;
|
|
187
216
|
};
|
|
188
217
|
full: {
|
|
218
|
+
base: string;
|
|
189
219
|
tabList: string;
|
|
190
220
|
tab: string;
|
|
191
221
|
cursor: string;
|
|
@@ -194,7 +224,7 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
194
224
|
fullWidth: {
|
|
195
225
|
true: {
|
|
196
226
|
base: string;
|
|
197
|
-
|
|
227
|
+
scroller: string;
|
|
198
228
|
};
|
|
199
229
|
};
|
|
200
230
|
isDisabled: {
|
|
@@ -209,24 +239,38 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
209
239
|
};
|
|
210
240
|
};
|
|
211
241
|
placement: {
|
|
212
|
-
top: {
|
|
242
|
+
top: {
|
|
243
|
+
scrollPrev: string;
|
|
244
|
+
scrollNext: string;
|
|
245
|
+
};
|
|
213
246
|
start: {
|
|
247
|
+
scroller: string;
|
|
214
248
|
tabList: string;
|
|
215
249
|
panel: string;
|
|
216
250
|
tabWrapper: string;
|
|
251
|
+
scrollPrev: string;
|
|
252
|
+
scrollNext: string;
|
|
217
253
|
};
|
|
218
254
|
end: {
|
|
255
|
+
scroller: string;
|
|
219
256
|
tabList: string;
|
|
220
257
|
panel: string;
|
|
221
258
|
tabWrapper: string;
|
|
259
|
+
scrollPrev: string;
|
|
260
|
+
scrollNext: string;
|
|
222
261
|
};
|
|
223
262
|
bottom: {
|
|
224
263
|
tabWrapper: string;
|
|
264
|
+
scrollPrev: string;
|
|
265
|
+
scrollNext: string;
|
|
225
266
|
};
|
|
226
267
|
};
|
|
227
268
|
}, {
|
|
228
269
|
base: string;
|
|
270
|
+
scroller: string;
|
|
229
271
|
tabList: string[];
|
|
272
|
+
scrollPrev: string[];
|
|
273
|
+
scrollNext: string[];
|
|
230
274
|
tab: string[];
|
|
231
275
|
tabContent: string[];
|
|
232
276
|
cursor: string[];
|
|
@@ -236,14 +280,14 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
236
280
|
variant: {
|
|
237
281
|
solid: {};
|
|
238
282
|
light: {
|
|
239
|
-
|
|
283
|
+
base: string;
|
|
240
284
|
};
|
|
241
285
|
underlined: {
|
|
242
|
-
|
|
286
|
+
base: string;
|
|
243
287
|
cursor: string;
|
|
244
288
|
};
|
|
245
289
|
bordered: {
|
|
246
|
-
|
|
290
|
+
base: string;
|
|
247
291
|
};
|
|
248
292
|
};
|
|
249
293
|
color: {
|
|
@@ -256,16 +300,19 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
256
300
|
};
|
|
257
301
|
size: {
|
|
258
302
|
sm: {
|
|
303
|
+
base: string;
|
|
259
304
|
tabList: string;
|
|
260
305
|
tab: string;
|
|
261
306
|
cursor: string;
|
|
262
307
|
};
|
|
263
308
|
md: {
|
|
309
|
+
base: string;
|
|
264
310
|
tabList: string;
|
|
265
311
|
tab: string;
|
|
266
312
|
cursor: string;
|
|
267
313
|
};
|
|
268
314
|
lg: {
|
|
315
|
+
base: string;
|
|
269
316
|
tabList: string;
|
|
270
317
|
tab: string;
|
|
271
318
|
cursor: string;
|
|
@@ -273,26 +320,31 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
273
320
|
};
|
|
274
321
|
radius: {
|
|
275
322
|
none: {
|
|
323
|
+
base: string;
|
|
276
324
|
tabList: string;
|
|
277
325
|
tab: string;
|
|
278
326
|
cursor: string;
|
|
279
327
|
};
|
|
280
328
|
sm: {
|
|
329
|
+
base: string;
|
|
281
330
|
tabList: string;
|
|
282
331
|
tab: string;
|
|
283
332
|
cursor: string;
|
|
284
333
|
};
|
|
285
334
|
md: {
|
|
335
|
+
base: string;
|
|
286
336
|
tabList: string;
|
|
287
337
|
tab: string;
|
|
288
338
|
cursor: string;
|
|
289
339
|
};
|
|
290
340
|
lg: {
|
|
341
|
+
base: string;
|
|
291
342
|
tabList: string;
|
|
292
343
|
tab: string;
|
|
293
344
|
cursor: string;
|
|
294
345
|
};
|
|
295
346
|
full: {
|
|
347
|
+
base: string;
|
|
296
348
|
tabList: string;
|
|
297
349
|
tab: string;
|
|
298
350
|
cursor: string;
|
|
@@ -301,7 +353,7 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
301
353
|
fullWidth: {
|
|
302
354
|
true: {
|
|
303
355
|
base: string;
|
|
304
|
-
|
|
356
|
+
scroller: string;
|
|
305
357
|
};
|
|
306
358
|
};
|
|
307
359
|
isDisabled: {
|
|
@@ -316,24 +368,38 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
316
368
|
};
|
|
317
369
|
};
|
|
318
370
|
placement: {
|
|
319
|
-
top: {
|
|
371
|
+
top: {
|
|
372
|
+
scrollPrev: string;
|
|
373
|
+
scrollNext: string;
|
|
374
|
+
};
|
|
320
375
|
start: {
|
|
376
|
+
scroller: string;
|
|
321
377
|
tabList: string;
|
|
322
378
|
panel: string;
|
|
323
379
|
tabWrapper: string;
|
|
380
|
+
scrollPrev: string;
|
|
381
|
+
scrollNext: string;
|
|
324
382
|
};
|
|
325
383
|
end: {
|
|
384
|
+
scroller: string;
|
|
326
385
|
tabList: string;
|
|
327
386
|
panel: string;
|
|
328
387
|
tabWrapper: string;
|
|
388
|
+
scrollPrev: string;
|
|
389
|
+
scrollNext: string;
|
|
329
390
|
};
|
|
330
391
|
bottom: {
|
|
331
392
|
tabWrapper: string;
|
|
393
|
+
scrollPrev: string;
|
|
394
|
+
scrollNext: string;
|
|
332
395
|
};
|
|
333
396
|
};
|
|
334
397
|
}, {
|
|
335
398
|
base: string;
|
|
399
|
+
scroller: string;
|
|
336
400
|
tabList: string[];
|
|
401
|
+
scrollPrev: string[];
|
|
402
|
+
scrollNext: string[];
|
|
337
403
|
tab: string[];
|
|
338
404
|
tabContent: string[];
|
|
339
405
|
cursor: string[];
|
package/dist/components/tabs.js
CHANGED
|
@@ -114,6 +114,19 @@ var custom_default = {
|
|
|
114
114
|
|
|
115
115
|
// src/utilities/scrollbar-hide.ts
|
|
116
116
|
var scrollbar_hide_default = {
|
|
117
|
+
/**
|
|
118
|
+
* Theme-aware scrollbar
|
|
119
|
+
*/
|
|
120
|
+
".scrollbar": {
|
|
121
|
+
"scrollbar-width": "var(--scrollbar-width)",
|
|
122
|
+
"scrollbar-color": "var(--scrollbar-color)",
|
|
123
|
+
"scrollbar-gutter": "var(--scrollbar-gutter)"
|
|
124
|
+
},
|
|
125
|
+
".scrollbar-thin": {
|
|
126
|
+
"scrollbar-width": "thin",
|
|
127
|
+
"scrollbar-color": "var(--scrollbar-thumb) var(--scrollbar-track)",
|
|
128
|
+
"scrollbar-gutter": "auto"
|
|
129
|
+
},
|
|
117
130
|
/**
|
|
118
131
|
* Scroll Hide
|
|
119
132
|
*/
|
|
@@ -132,10 +145,18 @@ var scrollbar_hide_default = {
|
|
|
132
145
|
"-ms-overflow-style": "auto",
|
|
133
146
|
/* Firefox */
|
|
134
147
|
"scrollbar-width": "auto",
|
|
148
|
+
"scrollbar-color": "auto",
|
|
149
|
+
"scrollbar-gutter": "auto",
|
|
135
150
|
/* Safari and Chrome */
|
|
136
151
|
"&::-webkit-scrollbar": {
|
|
137
152
|
display: "block"
|
|
138
153
|
}
|
|
154
|
+
},
|
|
155
|
+
".scrollbar-none": {
|
|
156
|
+
"-ms-overflow-style": "none",
|
|
157
|
+
"scrollbar-width": "none",
|
|
158
|
+
"scrollbar-color": "auto",
|
|
159
|
+
"scrollbar-gutter": "auto"
|
|
139
160
|
}
|
|
140
161
|
};
|
|
141
162
|
|
|
@@ -358,18 +379,58 @@ var colorVariants = {
|
|
|
358
379
|
// src/components/tabs.ts
|
|
359
380
|
var tabs = tv({
|
|
360
381
|
slots: {
|
|
361
|
-
base: "inline-flex",
|
|
382
|
+
base: "group relative inline-flex max-w-full bg-default-100",
|
|
383
|
+
scroller: "max-w-full",
|
|
362
384
|
tabList: [
|
|
363
385
|
"relative",
|
|
364
|
-
"flex",
|
|
386
|
+
"inline-flex",
|
|
365
387
|
"p-1",
|
|
366
388
|
"h-fit",
|
|
367
389
|
"gap-2",
|
|
368
390
|
"items-center",
|
|
369
391
|
"flex-nowrap",
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
|
|
392
|
+
"w-max",
|
|
393
|
+
"min-w-full"
|
|
394
|
+
],
|
|
395
|
+
scrollPrev: [
|
|
396
|
+
"absolute",
|
|
397
|
+
"z-20",
|
|
398
|
+
"hidden",
|
|
399
|
+
"size-4",
|
|
400
|
+
"items-center",
|
|
401
|
+
"justify-center",
|
|
402
|
+
"rounded-full",
|
|
403
|
+
"bg-transparent",
|
|
404
|
+
"outline-none",
|
|
405
|
+
"text-foreground",
|
|
406
|
+
"transition-opacity",
|
|
407
|
+
"hover:opacity-70",
|
|
408
|
+
"focus-visible:outline-2",
|
|
409
|
+
"focus-visible:outline-focus",
|
|
410
|
+
"group-has-[[data-left-scroll=true]]:flex",
|
|
411
|
+
"group-has-[[data-left-right-scroll=true]]:flex",
|
|
412
|
+
"group-has-[[data-top-scroll=true]]:flex",
|
|
413
|
+
"group-has-[[data-top-bottom-scroll=true]]:flex"
|
|
414
|
+
],
|
|
415
|
+
scrollNext: [
|
|
416
|
+
"absolute",
|
|
417
|
+
"z-20",
|
|
418
|
+
"hidden",
|
|
419
|
+
"size-4",
|
|
420
|
+
"items-center",
|
|
421
|
+
"justify-center",
|
|
422
|
+
"rounded-full",
|
|
423
|
+
"bg-transparent",
|
|
424
|
+
"outline-none",
|
|
425
|
+
"text-foreground",
|
|
426
|
+
"transition-opacity",
|
|
427
|
+
"hover:opacity-70",
|
|
428
|
+
"focus-visible:outline-2",
|
|
429
|
+
"focus-visible:outline-focus",
|
|
430
|
+
"group-has-[[data-right-scroll=true]]:flex",
|
|
431
|
+
"group-has-[[data-left-right-scroll=true]]:flex",
|
|
432
|
+
"group-has-[[data-bottom-scroll=true]]:flex",
|
|
433
|
+
"group-has-[[data-top-bottom-scroll=true]]:flex"
|
|
373
434
|
],
|
|
374
435
|
tab: [
|
|
375
436
|
"z-0",
|
|
@@ -404,7 +465,8 @@ var tabs = tv({
|
|
|
404
465
|
"absolute",
|
|
405
466
|
"z-0",
|
|
406
467
|
"bg-white",
|
|
407
|
-
|
|
468
|
+
// WebKit can drop nested tab title content when a composited cursor is inside ScrollShadow.
|
|
469
|
+
"will-change-auto",
|
|
408
470
|
"invisible",
|
|
409
471
|
"data-[initialized=true]:visible",
|
|
410
472
|
"data-[animated=true]:transition-[left,top,width,height]",
|
|
@@ -425,14 +487,14 @@ var tabs = tv({
|
|
|
425
487
|
variant: {
|
|
426
488
|
solid: {},
|
|
427
489
|
light: {
|
|
428
|
-
|
|
490
|
+
base: "bg-transparent dark:bg-transparent"
|
|
429
491
|
},
|
|
430
492
|
underlined: {
|
|
431
|
-
|
|
493
|
+
base: "bg-transparent dark:bg-transparent",
|
|
432
494
|
cursor: "h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"
|
|
433
495
|
},
|
|
434
496
|
bordered: {
|
|
435
|
-
|
|
497
|
+
base: "bg-transparent dark:bg-transparent border-medium border-default-200 shadow-xs"
|
|
436
498
|
}
|
|
437
499
|
},
|
|
438
500
|
color: {
|
|
@@ -445,16 +507,19 @@ var tabs = tv({
|
|
|
445
507
|
},
|
|
446
508
|
size: {
|
|
447
509
|
sm: {
|
|
510
|
+
base: "rounded-medium",
|
|
448
511
|
tabList: "rounded-medium",
|
|
449
512
|
tab: "h-7 text-tiny rounded-small",
|
|
450
513
|
cursor: "rounded-small"
|
|
451
514
|
},
|
|
452
515
|
md: {
|
|
516
|
+
base: "rounded-medium",
|
|
453
517
|
tabList: "rounded-medium",
|
|
454
518
|
tab: "h-8 text-small rounded-small",
|
|
455
519
|
cursor: "rounded-small"
|
|
456
520
|
},
|
|
457
521
|
lg: {
|
|
522
|
+
base: "rounded-large",
|
|
458
523
|
tabList: "rounded-large",
|
|
459
524
|
tab: "h-9 text-medium rounded-medium",
|
|
460
525
|
cursor: "rounded-medium"
|
|
@@ -462,26 +527,31 @@ var tabs = tv({
|
|
|
462
527
|
},
|
|
463
528
|
radius: {
|
|
464
529
|
none: {
|
|
530
|
+
base: "rounded-none",
|
|
465
531
|
tabList: "rounded-none",
|
|
466
532
|
tab: "rounded-none",
|
|
467
533
|
cursor: "rounded-none"
|
|
468
534
|
},
|
|
469
535
|
sm: {
|
|
536
|
+
base: "rounded-medium",
|
|
470
537
|
tabList: "rounded-medium",
|
|
471
538
|
tab: "rounded-small",
|
|
472
539
|
cursor: "rounded-small"
|
|
473
540
|
},
|
|
474
541
|
md: {
|
|
542
|
+
base: "rounded-medium",
|
|
475
543
|
tabList: "rounded-medium",
|
|
476
544
|
tab: "rounded-small",
|
|
477
545
|
cursor: "rounded-small"
|
|
478
546
|
},
|
|
479
547
|
lg: {
|
|
548
|
+
base: "rounded-large",
|
|
480
549
|
tabList: "rounded-large",
|
|
481
550
|
tab: "rounded-medium",
|
|
482
551
|
cursor: "rounded-medium"
|
|
483
552
|
},
|
|
484
553
|
full: {
|
|
554
|
+
base: "rounded-full",
|
|
485
555
|
tabList: "rounded-full",
|
|
486
556
|
tab: "rounded-full",
|
|
487
557
|
cursor: "rounded-full"
|
|
@@ -490,7 +560,7 @@ var tabs = tv({
|
|
|
490
560
|
fullWidth: {
|
|
491
561
|
true: {
|
|
492
562
|
base: "w-full",
|
|
493
|
-
|
|
563
|
+
scroller: "w-full"
|
|
494
564
|
}
|
|
495
565
|
},
|
|
496
566
|
isDisabled: {
|
|
@@ -505,19 +575,30 @@ var tabs = tv({
|
|
|
505
575
|
}
|
|
506
576
|
},
|
|
507
577
|
placement: {
|
|
508
|
-
top: {
|
|
578
|
+
top: {
|
|
579
|
+
scrollPrev: "top-1/2 left-1 -translate-y-1/2",
|
|
580
|
+
scrollNext: "top-1/2 right-1 -translate-y-1/2"
|
|
581
|
+
},
|
|
509
582
|
start: {
|
|
510
|
-
|
|
583
|
+
scroller: "h-full",
|
|
584
|
+
tabList: "min-w-0 flex-col",
|
|
511
585
|
panel: "py-0 px-3",
|
|
512
|
-
tabWrapper: "flex"
|
|
586
|
+
tabWrapper: "flex",
|
|
587
|
+
scrollPrev: "top-1 left-1/2 -translate-x-1/2",
|
|
588
|
+
scrollNext: "bottom-1 left-1/2 -translate-x-1/2"
|
|
513
589
|
},
|
|
514
590
|
end: {
|
|
515
|
-
|
|
591
|
+
scroller: "h-full",
|
|
592
|
+
tabList: "min-w-0 flex-col",
|
|
516
593
|
panel: "py-0 px-3",
|
|
517
|
-
tabWrapper: "flex flex-row-reverse"
|
|
594
|
+
tabWrapper: "flex flex-row-reverse",
|
|
595
|
+
scrollPrev: "top-1 left-1/2 -translate-x-1/2",
|
|
596
|
+
scrollNext: "bottom-1 left-1/2 -translate-x-1/2"
|
|
518
597
|
},
|
|
519
598
|
bottom: {
|
|
520
|
-
tabWrapper: "flex flex-col-reverse"
|
|
599
|
+
tabWrapper: "flex flex-col-reverse",
|
|
600
|
+
scrollPrev: "top-1/2 left-1 -translate-y-1/2",
|
|
601
|
+
scrollNext: "top-1/2 right-1 -translate-y-1/2"
|
|
521
602
|
}
|
|
522
603
|
}
|
|
523
604
|
},
|
package/dist/components/tabs.mjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tabs
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-T754O54S.mjs";
|
|
20
|
-
import "../chunk-GXDNTAQH.mjs";
|
|
21
|
-
import "../chunk-RAC3PSZO.mjs";
|
|
3
|
+
} from "../chunk-T6HDMOJB.mjs";
|
|
4
|
+
import "../chunk-EZ47UJPD.mjs";
|
|
5
|
+
import "../chunk-W37Q6YFS.mjs";
|
|
6
|
+
import "../chunk-47BB6GL3.mjs";
|
|
7
|
+
import "../chunk-WH4ODSEM.mjs";
|
|
8
|
+
import "../chunk-XBJNS5SU.mjs";
|
|
9
|
+
import "../chunk-OSP4OLTO.mjs";
|
|
10
|
+
import "../chunk-4N2PLITL.mjs";
|
|
11
|
+
import "../chunk-AGSAOCCR.mjs";
|
|
12
|
+
import "../chunk-5DJU5KUL.mjs";
|
|
13
|
+
import "../chunk-ZWG2GMCI.mjs";
|
|
14
|
+
import "../chunk-P5HLCB43.mjs";
|
|
15
|
+
import "../chunk-XKMMJKKB.mjs";
|
|
16
|
+
import "../chunk-MTBQ5EO5.mjs";
|
|
17
|
+
import "../chunk-AL5UNXQI.mjs";
|
|
18
|
+
import "../chunk-USGOG5QI.mjs";
|
|
22
19
|
import "../chunk-GQT3YUX3.mjs";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-PY74IHS4.mjs";
|
|
21
|
+
import "../chunk-I5YZBAB3.mjs";
|
|
22
|
+
import "../chunk-7ARJ2TQM.mjs";
|
|
23
|
+
import "../chunk-KKEJLP4U.mjs";
|
|
24
|
+
import "../chunk-ECD4ABCS.mjs";
|
|
25
|
+
import "../chunk-NJBUOBAS.mjs";
|
|
26
|
+
import "../chunk-7K2CWEHT.mjs";
|
|
27
|
+
import "../chunk-D2XMP2NC.mjs";
|
|
28
|
+
import "../chunk-ROFEKAS6.mjs";
|
|
30
29
|
import "../chunk-GSRZWDGA.mjs";
|
|
31
30
|
import "../chunk-AWXUGVFR.mjs";
|
|
32
31
|
import "../chunk-MPVWW3DX.mjs";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-7FAFG773.mjs";
|
|
33
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
34
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
35
35
|
import "../chunk-WQEDQHKX.mjs";
|
|
36
36
|
import "../chunk-CPSLANMP.mjs";
|
|
37
37
|
import "../chunk-FFKHVGFX.mjs";
|
package/dist/components/toast.js
CHANGED
|
@@ -115,6 +115,19 @@ var custom_default = {
|
|
|
115
115
|
|
|
116
116
|
// src/utilities/scrollbar-hide.ts
|
|
117
117
|
var scrollbar_hide_default = {
|
|
118
|
+
/**
|
|
119
|
+
* Theme-aware scrollbar
|
|
120
|
+
*/
|
|
121
|
+
".scrollbar": {
|
|
122
|
+
"scrollbar-width": "var(--scrollbar-width)",
|
|
123
|
+
"scrollbar-color": "var(--scrollbar-color)",
|
|
124
|
+
"scrollbar-gutter": "var(--scrollbar-gutter)"
|
|
125
|
+
},
|
|
126
|
+
".scrollbar-thin": {
|
|
127
|
+
"scrollbar-width": "thin",
|
|
128
|
+
"scrollbar-color": "var(--scrollbar-thumb) var(--scrollbar-track)",
|
|
129
|
+
"scrollbar-gutter": "auto"
|
|
130
|
+
},
|
|
118
131
|
/**
|
|
119
132
|
* Scroll Hide
|
|
120
133
|
*/
|
|
@@ -133,10 +146,18 @@ var scrollbar_hide_default = {
|
|
|
133
146
|
"-ms-overflow-style": "auto",
|
|
134
147
|
/* Firefox */
|
|
135
148
|
"scrollbar-width": "auto",
|
|
149
|
+
"scrollbar-color": "auto",
|
|
150
|
+
"scrollbar-gutter": "auto",
|
|
136
151
|
/* Safari and Chrome */
|
|
137
152
|
"&::-webkit-scrollbar": {
|
|
138
153
|
display: "block"
|
|
139
154
|
}
|
|
155
|
+
},
|
|
156
|
+
".scrollbar-none": {
|
|
157
|
+
"-ms-overflow-style": "none",
|
|
158
|
+
"scrollbar-width": "none",
|
|
159
|
+
"scrollbar-color": "auto",
|
|
160
|
+
"scrollbar-gutter": "auto"
|
|
140
161
|
}
|
|
141
162
|
};
|
|
142
163
|
|