@nextui-org/theme 2.2.8 → 2.2.10
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-726LN7M3.mjs → chunk-3LD7T42T.mjs} +1 -1
- package/dist/{chunk-GDIZAU4E.mjs → chunk-42JWJWWX.mjs} +1 -1
- package/dist/{chunk-A4VDWEXY.mjs → chunk-4MIBATA4.mjs} +12 -12
- package/dist/{chunk-DXPS72CE.mjs → chunk-63NMFZTF.mjs} +12 -7
- package/dist/{chunk-4YQYZDME.mjs → chunk-7YPXCOW5.mjs} +1 -1
- package/dist/{chunk-KKN74BUG.mjs → chunk-BOVVTMHS.mjs} +7 -3
- package/dist/{chunk-2PIR7DFM.mjs → chunk-BZCSOIUI.mjs} +12 -12
- package/dist/{chunk-DZGYN4XH.mjs → chunk-FE2UYWMQ.mjs} +57 -64
- package/dist/{chunk-ARFD2V3F.mjs → chunk-I33PMOA3.mjs} +52 -55
- package/dist/{chunk-YSA7EQBH.mjs → chunk-JFWA3DGK.mjs} +2 -2
- package/dist/{chunk-NPRQPDVP.mjs → chunk-KPI62GDB.mjs} +4 -4
- package/dist/{chunk-XT44N6I6.mjs → chunk-LSQXJEPE.mjs} +9 -27
- package/dist/{chunk-GFTQERGX.mjs → chunk-MP2JYSMR.mjs} +1 -1
- package/dist/{chunk-5AGRECY5.mjs → chunk-OUNBTYJ7.mjs} +8 -8
- package/dist/{chunk-N4MWCCMM.mjs → chunk-P73E5YV7.mjs} +3 -2
- package/dist/{chunk-BT3FGTF7.mjs → chunk-PWJWH4MD.mjs} +1 -1
- package/dist/{chunk-SKQWKT6K.mjs → chunk-QV3ALCMB.mjs} +1 -1
- package/dist/{chunk-HZX5JB5L.mjs → chunk-R27WO3A6.mjs} +1 -1
- package/dist/{chunk-WGH4WKVU.mjs → chunk-TSTU52NB.mjs} +3 -3
- package/dist/{chunk-D7H5R3VL.mjs → chunk-UDSOWFZE.mjs} +2 -2
- package/dist/{chunk-WUUKIKPR.mjs → chunk-WJIRIXV4.mjs} +31 -22
- package/dist/{chunk-HPFX3B3F.mjs → chunk-WN6AL2BX.mjs} +2 -2
- package/dist/{chunk-CKTE75OS.mjs → chunk-XAYP4CR3.mjs} +1 -1
- package/dist/{chunk-22SLLLIZ.mjs → chunk-XEPPBQPJ.mjs} +16 -16
- package/dist/{chunk-IISEDJRF.mjs → chunk-XL6AWNU3.mjs} +1 -1
- package/dist/{chunk-MERQJVXF.mjs → chunk-XXQSA25O.mjs} +19 -7
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/autocomplete.js +7 -3
- package/dist/components/autocomplete.mjs +1 -1
- package/dist/components/avatar.js +12 -12
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.js +12 -12
- package/dist/components/badge.mjs +2 -2
- package/dist/components/breadcrumbs.mjs +1 -1
- package/dist/components/button.js +30 -18
- package/dist/components/button.mjs +2 -2
- package/dist/components/calendar.d.ts +6 -6
- package/dist/components/calendar.js +4 -4
- package/dist/components/calendar.mjs +2 -2
- package/dist/components/card.mjs +1 -1
- package/dist/components/checkbox.js +8 -8
- package/dist/components/checkbox.mjs +2 -2
- package/dist/components/chip.js +12 -12
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +12 -12
- package/dist/components/code.mjs +2 -2
- package/dist/components/date-input.js +16 -16
- package/dist/components/date-input.mjs +1 -1
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date-picker.mjs +1 -1
- package/dist/components/dropdown.mjs +1 -1
- package/dist/components/index.js +246 -243
- package/dist/components/index.mjs +23 -23
- package/dist/components/input.js +52 -55
- package/dist/components/input.mjs +2 -2
- package/dist/components/link.mjs +1 -1
- package/dist/components/listbox.js +1 -1
- package/dist/components/listbox.mjs +2 -2
- package/dist/components/menu.js +1 -1
- package/dist/components/menu.mjs +2 -2
- package/dist/components/modal.js +3 -2
- package/dist/components/modal.mjs +2 -2
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.d.ts +3 -3
- package/dist/components/pagination.js +23 -18
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.js +12 -12
- package/dist/components/popover.mjs +2 -2
- package/dist/components/radio.js +12 -12
- package/dist/components/radio.mjs +2 -2
- package/dist/components/select.d.ts +14 -7
- package/dist/components/select.js +57 -64
- package/dist/components/select.mjs +2 -2
- package/dist/components/skeleton.js +2 -2
- package/dist/components/skeleton.mjs +1 -1
- package/dist/components/slider.mjs +1 -1
- package/dist/components/snippet.js +12 -12
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/table.js +9 -27
- package/dist/components/table.mjs +2 -2
- package/dist/components/tabs.js +12 -12
- package/dist/components/tabs.mjs +2 -2
- package/dist/components/toggle.js +31 -22
- package/dist/components/toggle.mjs +2 -2
- package/dist/components/user.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +254 -245
- package/dist/index.mjs +34 -27
- package/dist/plugin.js +2 -2
- package/dist/plugin.mjs +3 -3
- package/dist/utilities/index.d.ts +2 -2
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities/transition.d.ts +2 -2
- package/dist/utilities/transition.js +2 -2
- package/dist/utilities/transition.mjs +1 -1
- package/dist/utils/index.js +12 -12
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/variants.js +12 -12
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
|
@@ -73,7 +73,7 @@ var tv = (options, config) => {
|
|
|
73
73
|
// src/components/select.ts
|
|
74
74
|
var select = tv({
|
|
75
75
|
slots: {
|
|
76
|
-
base: ["group inline-flex flex-col relative w-full"],
|
|
76
|
+
base: ["group/select inline-flex flex-col relative w-full"],
|
|
77
77
|
label: [
|
|
78
78
|
"block",
|
|
79
79
|
"absolute",
|
|
@@ -88,8 +88,8 @@ var select = tv({
|
|
|
88
88
|
mainWrapper: "w-full flex flex-col",
|
|
89
89
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
90
90
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.6))] min-h-4 items-center gap-1.5 box-border",
|
|
91
|
-
selectorIcon: "absolute
|
|
92
|
-
spinner: "absolute
|
|
91
|
+
selectorIcon: "absolute end-3 w-4 h-4",
|
|
92
|
+
spinner: "absolute end-3",
|
|
93
93
|
value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
|
|
94
94
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
95
95
|
listbox: "",
|
|
@@ -104,17 +104,18 @@ var select = tv({
|
|
|
104
104
|
trigger: [
|
|
105
105
|
"bg-default-100",
|
|
106
106
|
"data-[hover=true]:bg-default-200",
|
|
107
|
-
"group-data-[focus=true]:bg-default-100"
|
|
107
|
+
"group-data-[focus=true]/select:bg-default-100"
|
|
108
108
|
]
|
|
109
109
|
},
|
|
110
110
|
faded: {
|
|
111
111
|
trigger: [
|
|
112
112
|
"bg-default-100",
|
|
113
|
+
"data-[hover=true]:bg-default-200",
|
|
113
114
|
"border-medium",
|
|
114
115
|
"border-default-200",
|
|
115
116
|
"data-[hover=true]:border-default-400"
|
|
116
117
|
],
|
|
117
|
-
value: "group-data-[has-value=true]:text-default-foreground"
|
|
118
|
+
value: "group-data-[has-value=true]/select:text-default-foreground"
|
|
118
119
|
},
|
|
119
120
|
bordered: {
|
|
120
121
|
trigger: [
|
|
@@ -124,7 +125,8 @@ var select = tv({
|
|
|
124
125
|
"data-[open=true]:border-default-foreground",
|
|
125
126
|
"data-[focus=true]:border-default-foreground",
|
|
126
127
|
"data-[focus=true]:border-default-foreground"
|
|
127
|
-
]
|
|
128
|
+
],
|
|
129
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
128
130
|
},
|
|
129
131
|
underlined: {
|
|
130
132
|
trigger: [
|
|
@@ -150,7 +152,7 @@ var select = tv({
|
|
|
150
152
|
"data-[open=true]:after:w-full",
|
|
151
153
|
"data-[focus=true]:after:w-full"
|
|
152
154
|
],
|
|
153
|
-
|
|
155
|
+
value: "group-data-[has-value=true]/select:text-default-foreground"
|
|
154
156
|
}
|
|
155
157
|
},
|
|
156
158
|
color: {
|
|
@@ -199,7 +201,7 @@ var select = tv({
|
|
|
199
201
|
},
|
|
200
202
|
"outside-left": {
|
|
201
203
|
base: "flex-row items-center flex-nowrap items-start",
|
|
202
|
-
label: "relative
|
|
204
|
+
label: "relative pe-2 text-foreground"
|
|
203
205
|
},
|
|
204
206
|
inside: {
|
|
205
207
|
label: "text-tiny cursor-pointer",
|
|
@@ -226,7 +228,7 @@ var select = tv({
|
|
|
226
228
|
},
|
|
227
229
|
isRequired: {
|
|
228
230
|
true: {
|
|
229
|
-
label: "after:content-['*'] after:text-danger after:
|
|
231
|
+
label: "after:content-['*'] after:text-danger after:ms-0.5"
|
|
230
232
|
}
|
|
231
233
|
},
|
|
232
234
|
isMultiline: {
|
|
@@ -281,7 +283,8 @@ var select = tv({
|
|
|
281
283
|
variant: "flat",
|
|
282
284
|
color: "default",
|
|
283
285
|
class: {
|
|
284
|
-
value: "group-data-[has-value=true]:text-default-foreground"
|
|
286
|
+
value: "group-data-[has-value=true]/select:text-default-foreground",
|
|
287
|
+
trigger: ["bg-default-100", "data-[hover=true]:bg-default-50"]
|
|
285
288
|
}
|
|
286
289
|
},
|
|
287
290
|
{
|
|
@@ -289,10 +292,10 @@ var select = tv({
|
|
|
289
292
|
color: "primary",
|
|
290
293
|
class: {
|
|
291
294
|
trigger: [
|
|
292
|
-
"bg-primary-
|
|
295
|
+
"bg-primary-100",
|
|
293
296
|
"text-primary",
|
|
294
|
-
"data-[hover=true]:bg-primary-
|
|
295
|
-
"group-data-[focus=true]:bg-primary-50"
|
|
297
|
+
"data-[hover=true]:bg-primary-50",
|
|
298
|
+
"group-data-[focus=true]/select:bg-primary-50"
|
|
296
299
|
],
|
|
297
300
|
value: "text-primary",
|
|
298
301
|
label: "text-primary"
|
|
@@ -303,10 +306,10 @@ var select = tv({
|
|
|
303
306
|
color: "secondary",
|
|
304
307
|
class: {
|
|
305
308
|
trigger: [
|
|
306
|
-
"bg-secondary-
|
|
309
|
+
"bg-secondary-100",
|
|
307
310
|
"text-secondary",
|
|
308
|
-
"data-[hover=true]:bg-secondary-
|
|
309
|
-
"group-data-[focus=true]:bg-secondary-50"
|
|
311
|
+
"data-[hover=true]:bg-secondary-50",
|
|
312
|
+
"group-data-[focus=true]/select:bg-secondary-50"
|
|
310
313
|
],
|
|
311
314
|
value: "text-secondary",
|
|
312
315
|
label: "text-secondary"
|
|
@@ -317,11 +320,11 @@ var select = tv({
|
|
|
317
320
|
color: "success",
|
|
318
321
|
class: {
|
|
319
322
|
trigger: [
|
|
320
|
-
"bg-success-
|
|
323
|
+
"bg-success-100",
|
|
321
324
|
"text-success-600",
|
|
322
325
|
"dark:text-success",
|
|
323
|
-
"data-[hover=true]:bg-success-
|
|
324
|
-
"group-data-[focus=true]:bg-success-50"
|
|
326
|
+
"data-[hover=true]:bg-success-50",
|
|
327
|
+
"group-data-[focus=true]/select:bg-success-50"
|
|
325
328
|
],
|
|
326
329
|
value: "text-success-600 dark:text-success",
|
|
327
330
|
label: "text-success-600 dark:text-success"
|
|
@@ -332,11 +335,11 @@ var select = tv({
|
|
|
332
335
|
color: "warning",
|
|
333
336
|
class: {
|
|
334
337
|
trigger: [
|
|
335
|
-
"bg-warning-
|
|
338
|
+
"bg-warning-100",
|
|
336
339
|
"text-warning-600",
|
|
337
340
|
"dark:text-warning",
|
|
338
|
-
"data-[hover=true]:bg-warning-
|
|
339
|
-
"group-data-[focus=true]:bg-warning-50"
|
|
341
|
+
"data-[hover=true]:bg-warning-50",
|
|
342
|
+
"group-data-[focus=true]/select:bg-warning-50"
|
|
340
343
|
],
|
|
341
344
|
value: "text-warning-600 dark:text-warning",
|
|
342
345
|
label: "text-warning-600 dark:text-warning"
|
|
@@ -347,11 +350,11 @@ var select = tv({
|
|
|
347
350
|
color: "danger",
|
|
348
351
|
class: {
|
|
349
352
|
trigger: [
|
|
350
|
-
"bg-danger-
|
|
353
|
+
"bg-danger-100",
|
|
351
354
|
"text-danger",
|
|
352
355
|
"dark:text-danger-500",
|
|
353
|
-
"data-[hover=true]:bg-danger-
|
|
354
|
-
"group-data-[focus=true]:bg-danger-50"
|
|
356
|
+
"data-[hover=true]:bg-danger-50",
|
|
357
|
+
"group-data-[focus=true]/select:bg-danger-50"
|
|
355
358
|
],
|
|
356
359
|
value: "text-danger dark:text-danger-500",
|
|
357
360
|
label: "text-danger dark:text-danger-500"
|
|
@@ -401,7 +404,7 @@ var select = tv({
|
|
|
401
404
|
variant: "underlined",
|
|
402
405
|
color: "default",
|
|
403
406
|
class: {
|
|
404
|
-
value: "group-data-[has-value=true]:text-foreground"
|
|
407
|
+
value: "group-data-[has-value=true]/select:text-foreground"
|
|
405
408
|
}
|
|
406
409
|
},
|
|
407
410
|
{
|
|
@@ -488,14 +491,14 @@ var select = tv({
|
|
|
488
491
|
labelPlacement: "inside",
|
|
489
492
|
color: "default",
|
|
490
493
|
class: {
|
|
491
|
-
label: "group-data-[filled=true]:text-default-600"
|
|
494
|
+
label: "group-data-[filled=true]/select:text-default-600"
|
|
492
495
|
}
|
|
493
496
|
},
|
|
494
497
|
{
|
|
495
498
|
labelPlacement: "outside",
|
|
496
499
|
color: "default",
|
|
497
500
|
class: {
|
|
498
|
-
label: "group-data-[filled=true]:text-foreground"
|
|
501
|
+
label: "group-data-[filled=true]/select:text-foreground"
|
|
499
502
|
}
|
|
500
503
|
},
|
|
501
504
|
{
|
|
@@ -548,7 +551,7 @@ var select = tv({
|
|
|
548
551
|
trigger: [
|
|
549
552
|
"bg-danger-50",
|
|
550
553
|
"data-[hover=true]:bg-danger-100",
|
|
551
|
-
"group-data-[focus=true]:bg-danger-50"
|
|
554
|
+
"group-data-[focus=true]/select:bg-danger-50"
|
|
552
555
|
]
|
|
553
556
|
}
|
|
554
557
|
},
|
|
@@ -556,7 +559,7 @@ var select = tv({
|
|
|
556
559
|
isInvalid: true,
|
|
557
560
|
variant: "bordered",
|
|
558
561
|
class: {
|
|
559
|
-
trigger: "!border-danger group-data-[focus=true]:border-danger"
|
|
562
|
+
trigger: "!border-danger group-data-[focus=true]/select:border-danger"
|
|
560
563
|
}
|
|
561
564
|
},
|
|
562
565
|
{
|
|
@@ -588,12 +591,6 @@ var select = tv({
|
|
|
588
591
|
trigger: "h-16 min-h-16 py-2.5 gap-0"
|
|
589
592
|
}
|
|
590
593
|
},
|
|
591
|
-
{
|
|
592
|
-
labelPlacement: ["inside", "outside"],
|
|
593
|
-
class: {
|
|
594
|
-
label: ["group-data-[filled=true]:pointer-events-auto"]
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
594
|
{
|
|
598
595
|
labelPlacement: "outside",
|
|
599
596
|
isMultiline: false,
|
|
@@ -604,16 +601,14 @@ var select = tv({
|
|
|
604
601
|
"z-20",
|
|
605
602
|
"top-1/2",
|
|
606
603
|
"-translate-y-1/2",
|
|
607
|
-
"group-data-[filled=true]:
|
|
608
|
-
"rtl:group-data-[filled=true]:right-0",
|
|
609
|
-
"rtl:group-data-[filled=true]:left-[unset]"
|
|
604
|
+
"group-data-[filled=true]/select:start-0"
|
|
610
605
|
]
|
|
611
606
|
}
|
|
612
607
|
},
|
|
613
608
|
{
|
|
614
609
|
labelPlacement: ["inside"],
|
|
615
610
|
class: {
|
|
616
|
-
label: "group-data-[filled=true]:scale-85"
|
|
611
|
+
label: "group-data-[filled=true]/select:scale-85"
|
|
617
612
|
}
|
|
618
613
|
},
|
|
619
614
|
{
|
|
@@ -628,8 +623,10 @@ var select = tv({
|
|
|
628
623
|
isMultiline: false,
|
|
629
624
|
size: "sm",
|
|
630
625
|
class: {
|
|
631
|
-
label: [
|
|
632
|
-
|
|
626
|
+
label: [
|
|
627
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
|
|
628
|
+
],
|
|
629
|
+
innerWrapper: "group-data-[has-label=true]/select:pt-4"
|
|
633
630
|
}
|
|
634
631
|
},
|
|
635
632
|
{
|
|
@@ -638,9 +635,9 @@ var select = tv({
|
|
|
638
635
|
size: "md",
|
|
639
636
|
class: {
|
|
640
637
|
label: [
|
|
641
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
638
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
642
639
|
],
|
|
643
|
-
innerWrapper: "group-data-[has-label=true]:pt-4"
|
|
640
|
+
innerWrapper: "group-data-[has-label=true]/select:pt-4"
|
|
644
641
|
}
|
|
645
642
|
},
|
|
646
643
|
{
|
|
@@ -650,9 +647,9 @@ var select = tv({
|
|
|
650
647
|
class: {
|
|
651
648
|
label: [
|
|
652
649
|
"text-medium",
|
|
653
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
650
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
654
651
|
],
|
|
655
|
-
innerWrapper: "group-data-[has-label=true]:pt-5"
|
|
652
|
+
innerWrapper: "group-data-[has-label=true]/select:pt-5"
|
|
656
653
|
}
|
|
657
654
|
},
|
|
658
655
|
{
|
|
@@ -662,7 +659,7 @@ var select = tv({
|
|
|
662
659
|
size: "sm",
|
|
663
660
|
class: {
|
|
664
661
|
label: [
|
|
665
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
662
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
666
663
|
]
|
|
667
664
|
}
|
|
668
665
|
},
|
|
@@ -673,7 +670,7 @@ var select = tv({
|
|
|
673
670
|
size: "md",
|
|
674
671
|
class: {
|
|
675
672
|
label: [
|
|
676
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
673
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
677
674
|
]
|
|
678
675
|
}
|
|
679
676
|
},
|
|
@@ -685,7 +682,7 @@ var select = tv({
|
|
|
685
682
|
class: {
|
|
686
683
|
label: [
|
|
687
684
|
"text-medium",
|
|
688
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
685
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
689
686
|
]
|
|
690
687
|
}
|
|
691
688
|
},
|
|
@@ -695,7 +692,9 @@ var select = tv({
|
|
|
695
692
|
isMultiline: false,
|
|
696
693
|
size: "sm",
|
|
697
694
|
class: {
|
|
698
|
-
label: [
|
|
695
|
+
label: [
|
|
696
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
|
|
697
|
+
]
|
|
699
698
|
}
|
|
700
699
|
},
|
|
701
700
|
{
|
|
@@ -705,7 +704,7 @@ var select = tv({
|
|
|
705
704
|
size: "md",
|
|
706
705
|
class: {
|
|
707
706
|
label: [
|
|
708
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
707
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
709
708
|
]
|
|
710
709
|
}
|
|
711
710
|
},
|
|
@@ -717,7 +716,7 @@ var select = tv({
|
|
|
717
716
|
class: {
|
|
718
717
|
label: [
|
|
719
718
|
"text-medium",
|
|
720
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
719
|
+
"group-data-[filled=true]/select:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
721
720
|
]
|
|
722
721
|
}
|
|
723
722
|
},
|
|
@@ -727,11 +726,9 @@ var select = tv({
|
|
|
727
726
|
isMultiline: false,
|
|
728
727
|
class: {
|
|
729
728
|
label: [
|
|
730
|
-
"
|
|
731
|
-
"rtl:right-2",
|
|
732
|
-
"rtl:left-[unset]",
|
|
729
|
+
"start-2",
|
|
733
730
|
"text-tiny",
|
|
734
|
-
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
731
|
+
"group-data-[filled=true]/select:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
735
732
|
],
|
|
736
733
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
737
734
|
}
|
|
@@ -742,11 +739,9 @@ var select = tv({
|
|
|
742
739
|
size: "md",
|
|
743
740
|
class: {
|
|
744
741
|
label: [
|
|
745
|
-
"
|
|
746
|
-
"rtl:right-3",
|
|
747
|
-
"rtl:left-[unset]",
|
|
742
|
+
"start-3",
|
|
748
743
|
"text-small",
|
|
749
|
-
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
744
|
+
"group-data-[filled=true]/select:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
750
745
|
],
|
|
751
746
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
752
747
|
}
|
|
@@ -757,11 +752,9 @@ var select = tv({
|
|
|
757
752
|
size: "lg",
|
|
758
753
|
class: {
|
|
759
754
|
label: [
|
|
760
|
-
"
|
|
761
|
-
"rtl:right-3",
|
|
762
|
-
"rtl:left-[unset]",
|
|
755
|
+
"start-3",
|
|
763
756
|
"text-medium",
|
|
764
|
-
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
757
|
+
"group-data-[filled=true]/select:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
765
758
|
],
|
|
766
759
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
767
760
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
select
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FE2UYWMQ.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
|
@@ -93,7 +93,7 @@ var skeleton = tv({
|
|
|
93
93
|
"data-[loaded=true]:pointer-events-auto",
|
|
94
94
|
"data-[loaded=true]:overflow-visible",
|
|
95
95
|
"data-[loaded=true]:!bg-transparent",
|
|
96
|
-
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
96
|
+
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:-z-10 data-[loaded=true]:before:animate-none",
|
|
97
97
|
"data-[loaded=true]:after:opacity-0"
|
|
98
98
|
],
|
|
99
99
|
content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
|
|
@@ -105,7 +105,7 @@ var skeleton = tv({
|
|
|
105
105
|
content: "transition-none"
|
|
106
106
|
},
|
|
107
107
|
false: {
|
|
108
|
-
base: "transition-background !duration-300
|
|
108
|
+
base: "transition-background !duration-300",
|
|
109
109
|
content: "transition-opacity motion-reduce:transition-none !duration-300"
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-JBKBSMXM.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
|
@@ -92,12 +92,12 @@ var bordered = {
|
|
|
92
92
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
93
93
|
};
|
|
94
94
|
var flat = {
|
|
95
|
-
default: "bg-default/40 text-default-
|
|
96
|
-
primary: "bg-primary/20 text-primary",
|
|
97
|
-
secondary: "bg-secondary/20 text-secondary",
|
|
98
|
-
success: "bg-success/20 text-success-
|
|
99
|
-
warning: "bg-warning/20 text-warning-
|
|
100
|
-
danger: "bg-danger/20 text-danger dark:text-danger-500",
|
|
95
|
+
default: "bg-default/40 text-default-700",
|
|
96
|
+
primary: "bg-primary/20 text-primary-700",
|
|
97
|
+
secondary: "bg-secondary/20 text-secondary-700",
|
|
98
|
+
success: "bg-success/20 text-success-800 dark:text-success",
|
|
99
|
+
warning: "bg-warning/20 text-warning-800 dark:text-warning",
|
|
100
|
+
danger: "bg-danger/20 text-danger-800 dark:text-danger-500",
|
|
101
101
|
foreground: "bg-foreground/10 text-foreground"
|
|
102
102
|
};
|
|
103
103
|
var faded = {
|
|
@@ -119,12 +119,12 @@ var light = {
|
|
|
119
119
|
foreground: "bg-transparent text-foreground"
|
|
120
120
|
};
|
|
121
121
|
var ghost = {
|
|
122
|
-
default: "border-default text-default-foreground
|
|
123
|
-
primary: "border-primary text-primary
|
|
124
|
-
secondary: "border-secondary text-secondary
|
|
125
|
-
success: "border-success text-success
|
|
126
|
-
warning: "border-warning text-warning
|
|
127
|
-
danger: "border-danger text-danger
|
|
122
|
+
default: "border-default text-default-foreground",
|
|
123
|
+
primary: "border-primary text-primary",
|
|
124
|
+
secondary: "border-secondary text-secondary",
|
|
125
|
+
success: "border-success text-success",
|
|
126
|
+
warning: "border-warning text-warning",
|
|
127
|
+
danger: "border-danger text-danger",
|
|
128
128
|
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
129
129
|
};
|
|
130
130
|
var colorVariants = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
snippet
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XAYP4CR3.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
package/dist/components/table.js
CHANGED
|
@@ -94,18 +94,15 @@ var table = tv({
|
|
|
94
94
|
"group",
|
|
95
95
|
"px-3",
|
|
96
96
|
"h-10",
|
|
97
|
+
"text-start",
|
|
97
98
|
"align-middle",
|
|
98
99
|
"bg-default-100",
|
|
99
100
|
"whitespace-nowrap",
|
|
100
101
|
"text-foreground-500",
|
|
101
102
|
"text-tiny",
|
|
102
103
|
"font-semibold",
|
|
103
|
-
"first:rounded-
|
|
104
|
-
"
|
|
105
|
-
"rtl:first:rounded-l-[unset]",
|
|
106
|
-
"last:rounded-r-lg",
|
|
107
|
-
"rtl:last:rounded-l-lg",
|
|
108
|
-
"rtl:last:rounded-r-[unset]",
|
|
104
|
+
"first:rounded-s-lg",
|
|
105
|
+
"last:rounded-e-lg",
|
|
109
106
|
"outline-none",
|
|
110
107
|
"data-[sortable=true]:cursor-pointer",
|
|
111
108
|
"data-[hover=true]:text-foreground-400",
|
|
@@ -134,7 +131,7 @@ var table = tv({
|
|
|
134
131
|
],
|
|
135
132
|
tfoot: "",
|
|
136
133
|
sortIcon: [
|
|
137
|
-
"
|
|
134
|
+
"ms-2",
|
|
138
135
|
"mb-px",
|
|
139
136
|
"opacity-0",
|
|
140
137
|
"text-inherit",
|
|
@@ -241,30 +238,15 @@ var table = tv({
|
|
|
241
238
|
isMultiSelectable: {
|
|
242
239
|
true: {
|
|
243
240
|
td: [
|
|
244
|
-
"group-data-[first=true]:first:before:rounded-
|
|
245
|
-
"group-data-[first=true]:
|
|
246
|
-
"group-data-[first=true]:rtl:first:before:rounded-tl-[unset]",
|
|
247
|
-
"group-data-[first=true]:last:before:rounded-tr-lg",
|
|
248
|
-
"group-data-[first=true]:rtl:last:before:rounded-tl-lg",
|
|
249
|
-
"group-data-[first=true]:rtl:last:before:rounded-tr-[unset]",
|
|
241
|
+
"group-data-[first=true]:first:before:rounded-ts-lg",
|
|
242
|
+
"group-data-[first=true]:last:before:rounded-te-lg",
|
|
250
243
|
"group-data-[middle=true]:before:rounded-none",
|
|
251
|
-
"group-data-[last=true]:first:before:rounded-
|
|
252
|
-
"group-data-[last=true]:
|
|
253
|
-
"group-data-[last=true]:rtl:first:before:rounded-bl-[unset]",
|
|
254
|
-
"group-data-[last=true]:last:before:rounded-br-lg",
|
|
255
|
-
"group-data-[last=true]:rtl:last:before:rounded-bl-lg",
|
|
256
|
-
"group-data-[last=true]:rtl:last:before:rounded-br-[unset]"
|
|
244
|
+
"group-data-[last=true]:first:before:rounded-bs-lg",
|
|
245
|
+
"group-data-[last=true]:last:before:rounded-be-lg"
|
|
257
246
|
]
|
|
258
247
|
},
|
|
259
248
|
false: {
|
|
260
|
-
td: [
|
|
261
|
-
"first:before:rounded-l-lg",
|
|
262
|
-
"rtl:first:before:rounded-r-lg",
|
|
263
|
-
"rtl:first:before:rounded-l-[unset]",
|
|
264
|
-
"last:before:rounded-r-lg",
|
|
265
|
-
"rtl:last:before:rounded-l-lg",
|
|
266
|
-
"rtl:last:before:rounded-r-[unset]"
|
|
267
|
-
]
|
|
249
|
+
td: ["first:before:rounded-s-lg", "last:before:rounded-e-lg"]
|
|
268
250
|
}
|
|
269
251
|
},
|
|
270
252
|
fullWidth: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
table
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-LSQXJEPE.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
package/dist/components/tabs.js
CHANGED
|
@@ -101,12 +101,12 @@ var bordered = {
|
|
|
101
101
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
102
102
|
};
|
|
103
103
|
var flat = {
|
|
104
|
-
default: "bg-default/40 text-default-
|
|
105
|
-
primary: "bg-primary/20 text-primary",
|
|
106
|
-
secondary: "bg-secondary/20 text-secondary",
|
|
107
|
-
success: "bg-success/20 text-success-
|
|
108
|
-
warning: "bg-warning/20 text-warning-
|
|
109
|
-
danger: "bg-danger/20 text-danger dark:text-danger-500",
|
|
104
|
+
default: "bg-default/40 text-default-700",
|
|
105
|
+
primary: "bg-primary/20 text-primary-700",
|
|
106
|
+
secondary: "bg-secondary/20 text-secondary-700",
|
|
107
|
+
success: "bg-success/20 text-success-800 dark:text-success",
|
|
108
|
+
warning: "bg-warning/20 text-warning-800 dark:text-warning",
|
|
109
|
+
danger: "bg-danger/20 text-danger-800 dark:text-danger-500",
|
|
110
110
|
foreground: "bg-foreground/10 text-foreground"
|
|
111
111
|
};
|
|
112
112
|
var faded = {
|
|
@@ -128,12 +128,12 @@ var light = {
|
|
|
128
128
|
foreground: "bg-transparent text-foreground"
|
|
129
129
|
};
|
|
130
130
|
var ghost = {
|
|
131
|
-
default: "border-default text-default-foreground
|
|
132
|
-
primary: "border-primary text-primary
|
|
133
|
-
secondary: "border-secondary text-secondary
|
|
134
|
-
success: "border-success text-success
|
|
135
|
-
warning: "border-warning text-warning
|
|
136
|
-
danger: "border-danger text-danger
|
|
131
|
+
default: "border-default text-default-foreground",
|
|
132
|
+
primary: "border-primary text-primary",
|
|
133
|
+
secondary: "border-secondary text-secondary",
|
|
134
|
+
success: "border-success text-success",
|
|
135
|
+
warning: "border-warning text-warning",
|
|
136
|
+
danger: "border-danger text-danger",
|
|
137
137
|
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
138
138
|
};
|
|
139
139
|
var colorVariants = {
|
package/dist/components/tabs.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tabs
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-42JWJWWX.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|