@nextui-org/theme 2.2.10 → 2.3.0-beta.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/{chunk-LSQXJEPE.mjs → chunk-2ODFPLXN.mjs} +22 -22
- package/dist/{chunk-BOVVTMHS.mjs → chunk-2TAKWWRG.mjs} +5 -5
- package/dist/chunk-3XDFZGUJ.mjs +216 -0
- package/dist/{chunk-3XVMTUU7.mjs → chunk-46U6G7UJ.mjs} +2 -2
- package/dist/{chunk-MP2JYSMR.mjs → chunk-5VB7JNVX.mjs} +2 -2
- package/dist/{chunk-JBKBSMXM.mjs → chunk-7IYRK3EV.mjs} +1 -1
- package/dist/{chunk-T2VR4T5R.mjs → chunk-AKXXHKTO.mjs} +1 -1
- package/dist/{chunk-EF6G67MF.mjs → chunk-AN5I7NTT.mjs} +1 -1
- package/dist/{chunk-KPVV2V7V.mjs → chunk-AUN4SP2F.mjs} +1 -1
- package/dist/{chunk-A2DU46QS.mjs → chunk-AXSF7SRE.mjs} +1 -1
- package/dist/{chunk-V4SD44VK.mjs → chunk-BWPOLXFL.mjs} +1 -1
- package/dist/{chunk-AXXUQWWC.mjs → chunk-DBPAK7QN.mjs} +1 -1
- package/dist/{chunk-63NMFZTF.mjs → chunk-EGGHND3C.mjs} +2 -2
- package/dist/chunk-EP7KPCL3.mjs +62 -0
- package/dist/{chunk-GQDFLFNG.mjs → chunk-EQPJSVMB.mjs} +1 -1
- package/dist/{chunk-OUNBTYJ7.mjs → chunk-FB2NWPDB.mjs} +12 -12
- package/dist/{chunk-WJIRIXV4.mjs → chunk-FJGKW3ZE.mjs} +29 -38
- package/dist/{chunk-BYWORP66.mjs → chunk-GIXI35A3.mjs} +8 -1
- package/dist/{chunk-BJ6IKX32.mjs → chunk-GMZHMFEU.mjs} +1 -1
- package/dist/{chunk-BZCSOIUI.mjs → chunk-GQT3YUX3.mjs} +5 -5
- package/dist/{chunk-XL6AWNU3.mjs → chunk-HHK47K4W.mjs} +2 -2
- package/dist/{chunk-MVG7GLBD.mjs → chunk-HIFLYEAM.mjs} +1 -1
- package/dist/{chunk-XEPPBQPJ.mjs → chunk-HNRFZTEX.mjs} +19 -19
- package/dist/{chunk-FE2UYWMQ.mjs → chunk-HZ7J23VD.mjs} +37 -44
- package/dist/{chunk-C3SML4G4.mjs → chunk-IAHJC7C4.mjs} +1 -1
- package/dist/{chunk-2KK3SUMT.mjs → chunk-IZOPFGDE.mjs} +37 -2
- package/dist/{chunk-PWJWH4MD.mjs → chunk-JE6SPRGQ.mjs} +2 -2
- package/dist/{chunk-7YPXCOW5.mjs → chunk-K6KPB2U5.mjs} +1 -1
- package/dist/{chunk-42JWJWWX.mjs → chunk-KTTXIYK2.mjs} +2 -2
- package/dist/{chunk-C43Y2OOL.mjs → chunk-KZ2I3V4D.mjs} +2 -2
- package/dist/{chunk-JFWA3DGK.mjs → chunk-LCMN7HGG.mjs} +19 -13
- package/dist/{chunk-4MIBATA4.mjs → chunk-LVAEW6WR.mjs} +15 -15
- package/dist/{chunk-R27WO3A6.mjs → chunk-LWG2RR7B.mjs} +2 -2
- package/dist/{chunk-P73E5YV7.mjs → chunk-N67DL6BW.mjs} +2 -4
- package/dist/{chunk-UDSOWFZE.mjs → chunk-OAHW4NON.mjs} +1 -1
- package/dist/{chunk-TSTU52NB.mjs → chunk-QFGVVQRM.mjs} +5 -5
- package/dist/{chunk-XAYP4CR3.mjs → chunk-SC2SILVU.mjs} +2 -2
- package/dist/{chunk-I33PMOA3.mjs → chunk-TNFNBUPA.mjs} +48 -47
- package/dist/{chunk-U6G6SZ26.mjs → chunk-TOQXZATI.mjs} +1 -1
- package/dist/{chunk-3QYYLFUC.mjs → chunk-UQZHSMVI.mjs} +1 -1
- package/dist/{chunk-N2KXC5ZE.mjs → chunk-UWE6H66T.mjs} +1 -1
- package/dist/{chunk-KPI62GDB.mjs → chunk-VKSIQ7SR.mjs} +1 -1
- package/dist/{chunk-F4AOWB64.mjs → chunk-VX7HAPUO.mjs} +1 -1
- package/dist/{chunk-DI2L75XK.mjs → chunk-W5UU3F46.mjs} +5 -0
- package/dist/{chunk-QV3ALCMB.mjs → chunk-XQI5RD6S.mjs} +2 -2
- package/dist/{chunk-3LD7T42T.mjs → chunk-XZMJGJQX.mjs} +4 -4
- package/dist/{chunk-VLE2FQQR.mjs → chunk-YLHKOIZS.mjs} +1 -1
- package/dist/{chunk-XXQSA25O.mjs → chunk-YRDDKYYT.mjs} +6 -3
- package/dist/components/accordion.js +8 -1
- package/dist/components/accordion.mjs +5 -5
- package/dist/components/alert.d.ts +344 -0
- package/dist/components/alert.js +355 -0
- package/dist/components/alert.mjs +12 -0
- package/dist/components/autocomplete.js +12 -5
- package/dist/components/autocomplete.mjs +3 -3
- package/dist/components/avatar.js +13 -6
- package/dist/components/avatar.mjs +5 -5
- package/dist/components/badge.js +13 -6
- package/dist/components/badge.mjs +5 -5
- package/dist/components/breadcrumbs.js +9 -2
- package/dist/components/breadcrumbs.mjs +5 -5
- package/dist/components/button.js +17 -7
- package/dist/components/button.mjs +5 -5
- package/dist/components/calendar.js +8 -1
- package/dist/components/calendar.mjs +5 -5
- package/dist/components/card.js +8 -1
- package/dist/components/card.mjs +5 -5
- package/dist/components/checkbox.js +19 -12
- package/dist/components/checkbox.mjs +5 -5
- package/dist/components/chip.js +13 -6
- package/dist/components/chip.mjs +5 -5
- package/dist/components/circular-progress.js +8 -1
- package/dist/components/circular-progress.mjs +3 -3
- package/dist/components/code.js +13 -6
- package/dist/components/code.mjs +5 -5
- package/dist/components/date-input.js +26 -19
- package/dist/components/date-input.mjs +3 -3
- package/dist/components/date-picker.js +12 -5
- package/dist/components/date-picker.mjs +3 -3
- package/dist/components/divider.js +8 -1
- package/dist/components/divider.mjs +3 -3
- package/dist/components/drawer.d.ts +358 -0
- package/dist/components/drawer.js +130 -0
- package/dist/components/drawer.mjs +8 -0
- package/dist/components/drip.js +8 -1
- package/dist/components/drip.mjs +3 -3
- package/dist/components/dropdown.js +8 -1
- package/dist/components/dropdown.mjs +5 -5
- package/dist/components/image.js +8 -1
- package/dist/components/image.mjs +3 -3
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +503 -210
- package/dist/components/index.mjs +68 -60
- package/dist/components/input.d.ts +7 -0
- package/dist/components/input.js +55 -47
- package/dist/components/input.mjs +5 -5
- package/dist/components/kbd.js +8 -1
- package/dist/components/kbd.mjs +3 -3
- package/dist/components/link.js +8 -1
- package/dist/components/link.mjs +5 -5
- package/dist/components/listbox.js +8 -1
- package/dist/components/listbox.mjs +5 -5
- package/dist/components/menu.js +8 -1
- package/dist/components/menu.mjs +5 -5
- package/dist/components/modal.js +9 -4
- package/dist/components/modal.mjs +5 -5
- package/dist/components/navbar.js +8 -1
- package/dist/components/navbar.mjs +5 -5
- package/dist/components/pagination.js +13 -6
- package/dist/components/pagination.mjs +5 -5
- package/dist/components/popover.js +13 -6
- package/dist/components/popover.mjs +5 -5
- package/dist/components/progress.js +44 -2
- package/dist/components/progress.mjs +3 -3
- package/dist/components/radio.js +22 -15
- package/dist/components/radio.mjs +5 -5
- package/dist/components/scroll-shadow.js +8 -1
- package/dist/components/scroll-shadow.mjs +3 -3
- package/dist/components/select.d.ts +21 -0
- package/dist/components/select.js +44 -44
- package/dist/components/select.mjs +5 -5
- package/dist/components/skeleton.js +8 -1
- package/dist/components/skeleton.mjs +3 -3
- package/dist/components/slider.js +8 -1
- package/dist/components/slider.mjs +5 -5
- package/dist/components/snippet.js +13 -6
- package/dist/components/snippet.mjs +5 -5
- package/dist/components/spacer.js +8 -1
- package/dist/components/spacer.mjs +3 -3
- package/dist/components/spinner.js +8 -1
- package/dist/components/spinner.mjs +3 -3
- package/dist/components/table.js +29 -22
- package/dist/components/table.mjs +5 -5
- package/dist/components/tabs.js +13 -6
- package/dist/components/tabs.mjs +5 -5
- package/dist/components/toggle.js +36 -38
- package/dist/components/toggle.mjs +5 -5
- package/dist/components/user.d.ts +26 -27
- package/dist/components/user.js +8 -1
- package/dist/components/user.mjs +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +528 -224
- package/dist/index.mjs +74 -66
- package/dist/plugin.js +24 -13
- package/dist/plugin.mjs +4 -4
- package/dist/utilities/custom.d.ts +5 -0
- package/dist/utilities/custom.js +5 -0
- package/dist/utilities/custom.mjs +1 -1
- package/dist/utilities/index.d.ts +5 -0
- package/dist/utilities/index.js +5 -0
- package/dist/utilities/index.mjs +3 -3
- package/dist/utils/cn.js +9 -2
- package/dist/utils/cn.mjs +2 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +14 -7
- package/dist/utils/index.mjs +5 -5
- package/dist/utils/tv.js +8 -1
- package/dist/utils/tv.mjs +2 -2
- package/dist/utils/tw-merge-config.d.ts +17 -3
- package/dist/utils/tw-merge-config.js +8 -1
- package/dist/utils/tw-merge-config.mjs +1 -1
- package/dist/utils/variants.js +5 -5
- package/dist/utils/variants.mjs +1 -1
- package/package.json +3 -12
- /package/dist/{chunk-UVXYPGDZ.mjs → chunk-MA4DKK64.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UWE6H66T.mjs";
|
|
4
4
|
import {
|
|
5
5
|
dataFocusVisibleClasses,
|
|
6
6
|
groupDataFocusVisibleClasses
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/components/input.ts
|
|
10
10
|
var input = tv({
|
|
11
11
|
slots: {
|
|
12
|
-
base: "group
|
|
12
|
+
base: "group flex flex-col data-[hidden=true]:hidden",
|
|
13
13
|
label: [
|
|
14
14
|
"absolute",
|
|
15
15
|
"z-10",
|
|
@@ -49,7 +49,7 @@ var input = tv({
|
|
|
49
49
|
"rounded-full",
|
|
50
50
|
...dataFocusVisibleClasses
|
|
51
51
|
],
|
|
52
|
-
helperWrapper: "hidden group-data-[has-helper=true]
|
|
52
|
+
helperWrapper: "hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",
|
|
53
53
|
description: "text-tiny text-foreground-400",
|
|
54
54
|
errorMessage: "text-tiny text-danger"
|
|
55
55
|
},
|
|
@@ -59,7 +59,7 @@ var input = tv({
|
|
|
59
59
|
inputWrapper: [
|
|
60
60
|
"bg-default-100",
|
|
61
61
|
"data-[hover=true]:bg-default-200",
|
|
62
|
-
"group-data-[focus=true]
|
|
62
|
+
"group-data-[focus=true]:bg-default-100"
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
faded: {
|
|
@@ -69,14 +69,14 @@ var input = tv({
|
|
|
69
69
|
"border-default-200",
|
|
70
70
|
"data-[hover=true]:border-default-400"
|
|
71
71
|
],
|
|
72
|
-
value: "group-data-[has-value=true]
|
|
72
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
73
73
|
},
|
|
74
74
|
bordered: {
|
|
75
75
|
inputWrapper: [
|
|
76
76
|
"border-medium",
|
|
77
77
|
"border-default-200",
|
|
78
78
|
"data-[hover=true]:border-default-400",
|
|
79
|
-
"group-data-[focus=true]
|
|
79
|
+
"group-data-[focus=true]:border-default-foreground"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
82
|
underlined: {
|
|
@@ -100,10 +100,10 @@ var input = tv({
|
|
|
100
100
|
"after:-translate-x-1/2",
|
|
101
101
|
"after:-bottom-[2px]",
|
|
102
102
|
"after:h-[2px]",
|
|
103
|
-
"group-data-[focus=true]
|
|
103
|
+
"group-data-[focus=true]:after:w-full"
|
|
104
104
|
],
|
|
105
105
|
innerWrapper: "pb-1",
|
|
106
|
-
label: "group-data-[filled-within=true]
|
|
106
|
+
label: "group-data-[filled-within=true]:text-foreground"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
color: {
|
|
@@ -162,17 +162,18 @@ var input = tv({
|
|
|
162
162
|
inside: {
|
|
163
163
|
label: "text-tiny cursor-text",
|
|
164
164
|
inputWrapper: "flex-col items-start justify-center gap-0",
|
|
165
|
-
innerWrapper: "group-data-[has-label=true]
|
|
165
|
+
innerWrapper: "group-data-[has-label=true]:items-end"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
fullWidth: {
|
|
169
169
|
true: {
|
|
170
170
|
base: "w-full"
|
|
171
|
-
}
|
|
171
|
+
},
|
|
172
|
+
false: {}
|
|
172
173
|
},
|
|
173
174
|
isClearable: {
|
|
174
175
|
true: {
|
|
175
|
-
input: "peer
|
|
176
|
+
input: "peer pe-6 input-search-cancel-button-none",
|
|
176
177
|
clearButton: "peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"
|
|
177
178
|
}
|
|
178
179
|
},
|
|
@@ -191,14 +192,14 @@ var input = tv({
|
|
|
191
192
|
},
|
|
192
193
|
isRequired: {
|
|
193
194
|
true: {
|
|
194
|
-
label: "after:content-['*'] after:text-danger after:
|
|
195
|
+
label: "after:content-['*'] after:text-danger after:ms-0.5"
|
|
195
196
|
}
|
|
196
197
|
},
|
|
197
198
|
isMultiline: {
|
|
198
199
|
true: {
|
|
199
200
|
label: "relative",
|
|
200
201
|
inputWrapper: "!h-auto",
|
|
201
|
-
innerWrapper: "items-start group-data-[has-label=true]
|
|
202
|
+
innerWrapper: "items-start group-data-[has-label=true]:items-start",
|
|
202
203
|
input: "resize-none data-[hide-scroll=true]:scrollbar-hide"
|
|
203
204
|
}
|
|
204
205
|
},
|
|
@@ -235,7 +236,7 @@ var input = tv({
|
|
|
235
236
|
variant: "flat",
|
|
236
237
|
color: "default",
|
|
237
238
|
class: {
|
|
238
|
-
input: "group-data-[has-value=true]
|
|
239
|
+
input: "group-data-[has-value=true]:text-default-foreground"
|
|
239
240
|
}
|
|
240
241
|
},
|
|
241
242
|
{
|
|
@@ -246,7 +247,7 @@ var input = tv({
|
|
|
246
247
|
"bg-primary-50",
|
|
247
248
|
"data-[hover=true]:bg-primary-100",
|
|
248
249
|
"text-primary",
|
|
249
|
-
"group-data-[focus=true]
|
|
250
|
+
"group-data-[focus=true]:bg-primary-50",
|
|
250
251
|
"placeholder:text-primary"
|
|
251
252
|
],
|
|
252
253
|
input: "placeholder:text-primary",
|
|
@@ -261,7 +262,7 @@ var input = tv({
|
|
|
261
262
|
"bg-secondary-50",
|
|
262
263
|
"text-secondary",
|
|
263
264
|
"data-[hover=true]:bg-secondary-100",
|
|
264
|
-
"group-data-[focus=true]
|
|
265
|
+
"group-data-[focus=true]:bg-secondary-50",
|
|
265
266
|
"placeholder:text-secondary"
|
|
266
267
|
],
|
|
267
268
|
input: "placeholder:text-secondary",
|
|
@@ -279,7 +280,7 @@ var input = tv({
|
|
|
279
280
|
"placeholder:text-success-600",
|
|
280
281
|
"dark:placeholder:text-success",
|
|
281
282
|
"data-[hover=true]:bg-success-100",
|
|
282
|
-
"group-data-[focus=true]
|
|
283
|
+
"group-data-[focus=true]:bg-success-50"
|
|
283
284
|
],
|
|
284
285
|
input: "placeholder:text-success-600 dark:placeholder:text-success",
|
|
285
286
|
label: "text-success-600 dark:text-success"
|
|
@@ -296,7 +297,7 @@ var input = tv({
|
|
|
296
297
|
"placeholder:text-warning-600",
|
|
297
298
|
"dark:placeholder:text-warning",
|
|
298
299
|
"data-[hover=true]:bg-warning-100",
|
|
299
|
-
"group-data-[focus=true]
|
|
300
|
+
"group-data-[focus=true]:bg-warning-50"
|
|
300
301
|
],
|
|
301
302
|
input: "placeholder:text-warning-600 dark:placeholder:text-warning",
|
|
302
303
|
label: "text-warning-600 dark:text-warning"
|
|
@@ -313,7 +314,7 @@ var input = tv({
|
|
|
313
314
|
"placeholder:text-danger",
|
|
314
315
|
"dark:placeholder:text-danger-500",
|
|
315
316
|
"data-[hover=true]:bg-danger-100",
|
|
316
|
-
"group-data-[focus=true]
|
|
317
|
+
"group-data-[focus=true]:bg-danger-50"
|
|
317
318
|
],
|
|
318
319
|
input: "placeholder:text-danger dark:placeholder:text-danger-500",
|
|
319
320
|
label: "text-danger dark:text-danger-500"
|
|
@@ -363,7 +364,7 @@ var input = tv({
|
|
|
363
364
|
variant: "underlined",
|
|
364
365
|
color: "default",
|
|
365
366
|
class: {
|
|
366
|
-
input: "group-data-[has-value=true]
|
|
367
|
+
input: "group-data-[has-value=true]:text-foreground"
|
|
367
368
|
}
|
|
368
369
|
},
|
|
369
370
|
{
|
|
@@ -410,7 +411,7 @@ var input = tv({
|
|
|
410
411
|
variant: "bordered",
|
|
411
412
|
color: "primary",
|
|
412
413
|
class: {
|
|
413
|
-
inputWrapper: "group-data-[focus=true]
|
|
414
|
+
inputWrapper: "group-data-[focus=true]:border-primary",
|
|
414
415
|
label: "text-primary"
|
|
415
416
|
}
|
|
416
417
|
},
|
|
@@ -418,7 +419,7 @@ var input = tv({
|
|
|
418
419
|
variant: "bordered",
|
|
419
420
|
color: "secondary",
|
|
420
421
|
class: {
|
|
421
|
-
inputWrapper: "group-data-[focus=true]
|
|
422
|
+
inputWrapper: "group-data-[focus=true]:border-secondary",
|
|
422
423
|
label: "text-secondary"
|
|
423
424
|
}
|
|
424
425
|
},
|
|
@@ -426,7 +427,7 @@ var input = tv({
|
|
|
426
427
|
variant: "bordered",
|
|
427
428
|
color: "success",
|
|
428
429
|
class: {
|
|
429
|
-
inputWrapper: "group-data-[focus=true]
|
|
430
|
+
inputWrapper: "group-data-[focus=true]:border-success",
|
|
430
431
|
label: "text-success"
|
|
431
432
|
}
|
|
432
433
|
},
|
|
@@ -434,7 +435,7 @@ var input = tv({
|
|
|
434
435
|
variant: "bordered",
|
|
435
436
|
color: "warning",
|
|
436
437
|
class: {
|
|
437
|
-
inputWrapper: "group-data-[focus=true]
|
|
438
|
+
inputWrapper: "group-data-[focus=true]:border-warning",
|
|
438
439
|
label: "text-warning"
|
|
439
440
|
}
|
|
440
441
|
},
|
|
@@ -442,7 +443,7 @@ var input = tv({
|
|
|
442
443
|
variant: "bordered",
|
|
443
444
|
color: "danger",
|
|
444
445
|
class: {
|
|
445
|
-
inputWrapper: "group-data-[focus=true]
|
|
446
|
+
inputWrapper: "group-data-[focus=true]:border-danger",
|
|
446
447
|
label: "text-danger"
|
|
447
448
|
}
|
|
448
449
|
},
|
|
@@ -450,14 +451,14 @@ var input = tv({
|
|
|
450
451
|
labelPlacement: "inside",
|
|
451
452
|
color: "default",
|
|
452
453
|
class: {
|
|
453
|
-
label: "group-data-[filled-within=true]
|
|
454
|
+
label: "group-data-[filled-within=true]:text-default-600"
|
|
454
455
|
}
|
|
455
456
|
},
|
|
456
457
|
{
|
|
457
458
|
labelPlacement: "outside",
|
|
458
459
|
color: "default",
|
|
459
460
|
class: {
|
|
460
|
-
label: "group-data-[filled-within=true]
|
|
461
|
+
label: "group-data-[filled-within=true]:text-foreground"
|
|
461
462
|
}
|
|
462
463
|
},
|
|
463
464
|
{
|
|
@@ -510,7 +511,7 @@ var input = tv({
|
|
|
510
511
|
inputWrapper: [
|
|
511
512
|
"!bg-danger-50",
|
|
512
513
|
"data-[hover=true]:!bg-danger-100",
|
|
513
|
-
"group-data-[focus=true]
|
|
514
|
+
"group-data-[focus=true]:!bg-danger-50"
|
|
514
515
|
]
|
|
515
516
|
}
|
|
516
517
|
},
|
|
@@ -518,7 +519,7 @@ var input = tv({
|
|
|
518
519
|
isInvalid: true,
|
|
519
520
|
variant: "bordered",
|
|
520
521
|
class: {
|
|
521
|
-
inputWrapper: "!border-danger group-data-[focus=true]
|
|
522
|
+
inputWrapper: "!border-danger group-data-[focus=true]:!border-danger"
|
|
522
523
|
}
|
|
523
524
|
},
|
|
524
525
|
{
|
|
@@ -561,7 +562,7 @@ var input = tv({
|
|
|
561
562
|
{
|
|
562
563
|
labelPlacement: ["inside", "outside"],
|
|
563
564
|
class: {
|
|
564
|
-
label: ["group-data-[filled-within=true]
|
|
565
|
+
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
565
566
|
}
|
|
566
567
|
},
|
|
567
568
|
{
|
|
@@ -574,14 +575,14 @@ var input = tv({
|
|
|
574
575
|
"z-20",
|
|
575
576
|
"top-1/2",
|
|
576
577
|
"-translate-y-1/2",
|
|
577
|
-
"group-data-[filled-within=true]
|
|
578
|
+
"group-data-[filled-within=true]:start-0"
|
|
578
579
|
]
|
|
579
580
|
}
|
|
580
581
|
},
|
|
581
582
|
{
|
|
582
583
|
labelPlacement: ["inside"],
|
|
583
584
|
class: {
|
|
584
|
-
label: ["group-data-[filled-within=true]
|
|
585
|
+
label: ["group-data-[filled-within=true]:scale-85"]
|
|
585
586
|
}
|
|
586
587
|
},
|
|
587
588
|
{
|
|
@@ -618,7 +619,7 @@ var input = tv({
|
|
|
618
619
|
size: "sm",
|
|
619
620
|
class: {
|
|
620
621
|
label: [
|
|
621
|
-
"group-data-[filled-within=true]
|
|
622
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
|
|
622
623
|
]
|
|
623
624
|
}
|
|
624
625
|
},
|
|
@@ -628,7 +629,7 @@ var input = tv({
|
|
|
628
629
|
size: "md",
|
|
629
630
|
class: {
|
|
630
631
|
label: [
|
|
631
|
-
"group-data-[filled-within=true]
|
|
632
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
632
633
|
]
|
|
633
634
|
}
|
|
634
635
|
},
|
|
@@ -639,7 +640,7 @@ var input = tv({
|
|
|
639
640
|
class: {
|
|
640
641
|
label: [
|
|
641
642
|
"text-medium",
|
|
642
|
-
"group-data-[filled-within=true]
|
|
643
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
643
644
|
]
|
|
644
645
|
}
|
|
645
646
|
},
|
|
@@ -650,7 +651,7 @@ var input = tv({
|
|
|
650
651
|
size: "sm",
|
|
651
652
|
class: {
|
|
652
653
|
label: [
|
|
653
|
-
"group-data-[filled-within=true]
|
|
654
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
654
655
|
]
|
|
655
656
|
}
|
|
656
657
|
},
|
|
@@ -661,7 +662,7 @@ var input = tv({
|
|
|
661
662
|
size: "md",
|
|
662
663
|
class: {
|
|
663
664
|
label: [
|
|
664
|
-
"group-data-[filled-within=true]
|
|
665
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
665
666
|
]
|
|
666
667
|
}
|
|
667
668
|
},
|
|
@@ -673,7 +674,7 @@ var input = tv({
|
|
|
673
674
|
class: {
|
|
674
675
|
label: [
|
|
675
676
|
"text-medium",
|
|
676
|
-
"group-data-[filled-within=true]
|
|
677
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
677
678
|
]
|
|
678
679
|
}
|
|
679
680
|
},
|
|
@@ -684,7 +685,7 @@ var input = tv({
|
|
|
684
685
|
size: "sm",
|
|
685
686
|
class: {
|
|
686
687
|
label: [
|
|
687
|
-
"group-data-[filled-within=true]
|
|
688
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
|
|
688
689
|
]
|
|
689
690
|
}
|
|
690
691
|
},
|
|
@@ -695,7 +696,7 @@ var input = tv({
|
|
|
695
696
|
size: "md",
|
|
696
697
|
class: {
|
|
697
698
|
label: [
|
|
698
|
-
"group-data-[filled-within=true]
|
|
699
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
699
700
|
]
|
|
700
701
|
}
|
|
701
702
|
},
|
|
@@ -707,7 +708,7 @@ var input = tv({
|
|
|
707
708
|
class: {
|
|
708
709
|
label: [
|
|
709
710
|
"text-medium",
|
|
710
|
-
"group-data-[filled-within=true]
|
|
711
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
711
712
|
]
|
|
712
713
|
}
|
|
713
714
|
},
|
|
@@ -719,7 +720,7 @@ var input = tv({
|
|
|
719
720
|
label: [
|
|
720
721
|
"start-2",
|
|
721
722
|
"text-tiny",
|
|
722
|
-
"group-data-[filled-within=true]
|
|
723
|
+
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
723
724
|
],
|
|
724
725
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
725
726
|
}
|
|
@@ -733,7 +734,7 @@ var input = tv({
|
|
|
733
734
|
"start-3",
|
|
734
735
|
"end-auto",
|
|
735
736
|
"text-small",
|
|
736
|
-
"group-data-[filled-within=true]
|
|
737
|
+
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
737
738
|
],
|
|
738
739
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
739
740
|
}
|
|
@@ -747,7 +748,7 @@ var input = tv({
|
|
|
747
748
|
"start-3",
|
|
748
749
|
"end-auto",
|
|
749
750
|
"text-medium",
|
|
750
|
-
"group-data-[filled-within=true]
|
|
751
|
+
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
751
752
|
],
|
|
752
753
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
753
754
|
}
|
|
@@ -756,21 +757,21 @@ var input = tv({
|
|
|
756
757
|
labelPlacement: "outside-left",
|
|
757
758
|
size: "sm",
|
|
758
759
|
class: {
|
|
759
|
-
label: "group-data-[has-helper=true]
|
|
760
|
+
label: "group-data-[has-helper=true]:pt-2"
|
|
760
761
|
}
|
|
761
762
|
},
|
|
762
763
|
{
|
|
763
764
|
labelPlacement: "outside-left",
|
|
764
765
|
size: "md",
|
|
765
766
|
class: {
|
|
766
|
-
label: "group-data-[has-helper=true]
|
|
767
|
+
label: "group-data-[has-helper=true]:pt-3"
|
|
767
768
|
}
|
|
768
769
|
},
|
|
769
770
|
{
|
|
770
771
|
labelPlacement: "outside-left",
|
|
771
772
|
size: "lg",
|
|
772
773
|
class: {
|
|
773
|
-
label: "group-data-[has-helper=true]
|
|
774
|
+
label: "group-data-[has-helper=true]:pt-4"
|
|
774
775
|
}
|
|
775
776
|
},
|
|
776
777
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
transition_default
|
|
3
|
+
} from "./chunk-WN6AL2BX.mjs";
|
|
1
4
|
import {
|
|
2
5
|
custom_default
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W5UU3F46.mjs";
|
|
4
7
|
import {
|
|
5
8
|
scrollbar_hide_default
|
|
6
9
|
} from "./chunk-4Z22WXZX.mjs";
|
|
7
|
-
import {
|
|
8
|
-
transition_default
|
|
9
|
-
} from "./chunk-WN6AL2BX.mjs";
|
|
10
10
|
|
|
11
11
|
// src/utilities/index.ts
|
|
12
12
|
var utilities = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GQT3YUX3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
tv
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UWE6H66T.mjs";
|
|
7
7
|
import {
|
|
8
8
|
collapseAdjacentVariantBorders,
|
|
9
9
|
dataFocusVisibleClasses
|
|
@@ -308,7 +308,10 @@ var button = tv({
|
|
|
308
308
|
{
|
|
309
309
|
variant: "ghost",
|
|
310
310
|
color: "danger",
|
|
311
|
-
class: [
|
|
311
|
+
class: [
|
|
312
|
+
colorVariants.ghost.danger,
|
|
313
|
+
"data-[hover=true]:!bg-danger data-[hover=true]:!text-danger-foreground"
|
|
314
|
+
]
|
|
312
315
|
},
|
|
313
316
|
{
|
|
314
317
|
isInGroup: true,
|
|
@@ -40,7 +40,14 @@ var twMergeConfig = {
|
|
|
40
40
|
classGroups: {
|
|
41
41
|
shadow: [{ shadow: COMMON_UNITS }],
|
|
42
42
|
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
43
|
-
"bg-image": [
|
|
43
|
+
"bg-image": [
|
|
44
|
+
"bg-stripe-gradient-default",
|
|
45
|
+
"bg-stripe-gradient-primary",
|
|
46
|
+
"bg-stripe-gradient-secondary",
|
|
47
|
+
"bg-stripe-gradient-success",
|
|
48
|
+
"bg-stripe-gradient-warning",
|
|
49
|
+
"bg-stripe-gradient-danger"
|
|
50
|
+
]
|
|
44
51
|
}
|
|
45
52
|
};
|
|
46
53
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
accordion,
|
|
3
3
|
accordionItem
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HIFLYEAM.mjs";
|
|
5
5
|
import "../chunk-IV3K5WDK.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-GQT3YUX3.mjs";
|
|
7
|
+
import "../chunk-46U6G7UJ.mjs";
|
|
8
|
+
import "../chunk-UWE6H66T.mjs";
|
|
9
|
+
import "../chunk-GIXI35A3.mjs";
|
|
10
10
|
import "../chunk-XHQUSKIE.mjs";
|
|
11
11
|
export {
|
|
12
12
|
accordion,
|