@nextui-org/theme 2.2.9 → 2.2.11
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-DXPS72CE.mjs → chunk-63NMFZTF.mjs} +12 -7
- package/dist/{chunk-4YQYZDME.mjs → chunk-7YPXCOW5.mjs} +1 -1
- package/dist/{chunk-WUUKIKPR.mjs → chunk-ARYJFX77.mjs} +1 -1
- package/dist/{chunk-2PIR7DFM.mjs → chunk-BZCSOIUI.mjs} +12 -12
- package/dist/{chunk-YSA7EQBH.mjs → chunk-JFWA3DGK.mjs} +2 -2
- package/dist/{chunk-A4VDWEXY.mjs → chunk-JYFVXE5E.mjs} +1 -1
- package/dist/{chunk-NPRQPDVP.mjs → chunk-KPI62GDB.mjs} +4 -4
- package/dist/{chunk-5AGRECY5.mjs → chunk-KUKJUMC3.mjs} +1 -1
- package/dist/{chunk-XT44N6I6.mjs → chunk-LSQXJEPE.mjs} +9 -27
- package/dist/{chunk-DZGYN4XH.mjs → chunk-M3GQ3DWZ.mjs} +24 -41
- package/dist/{chunk-GFTQERGX.mjs → chunk-MP2JYSMR.mjs} +1 -1
- 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-ARFD2V3F.mjs → chunk-QWWVIX6M.mjs} +10 -13
- package/dist/{chunk-HZX5JB5L.mjs → chunk-R27WO3A6.mjs} +1 -1
- package/dist/{chunk-KKN74BUG.mjs → chunk-TA7PDZUG.mjs} +5 -1
- package/dist/{chunk-D7H5R3VL.mjs → chunk-UDSOWFZE.mjs} +2 -2
- package/dist/{chunk-HPFX3B3F.mjs → chunk-WN6AL2BX.mjs} +2 -2
- package/dist/{chunk-CKTE75OS.mjs → chunk-XAYP4CR3.mjs} +1 -1
- 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 +5 -1
- 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 +1 -1
- 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/dropdown.mjs +1 -1
- package/dist/components/index.js +102 -118
- package/dist/components/index.mjs +21 -21
- package/dist/components/input.js +10 -13
- 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 +1 -1
- package/dist/components/radio.mjs +2 -2
- package/dist/components/select.d.ts +14 -7
- package/dist/components/select.js +24 -41
- 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 +1 -1
- 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 +110 -120
- package/dist/index.mjs +32 -25
- 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
|
@@ -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: "",
|
|
@@ -110,6 +110,7 @@ var select = tv({
|
|
|
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"
|
|
@@ -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]: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]:text-default-foreground",
|
|
287
|
+
trigger: ["bg-default-100", "data-[hover=true]:bg-default-50"]
|
|
285
288
|
}
|
|
286
289
|
},
|
|
287
290
|
{
|
|
@@ -289,9 +292,9 @@ 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-
|
|
297
|
+
"data-[hover=true]:bg-primary-50",
|
|
295
298
|
"group-data-[focus=true]:bg-primary-50"
|
|
296
299
|
],
|
|
297
300
|
value: "text-primary",
|
|
@@ -303,9 +306,9 @@ 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-
|
|
311
|
+
"data-[hover=true]:bg-secondary-50",
|
|
309
312
|
"group-data-[focus=true]:bg-secondary-50"
|
|
310
313
|
],
|
|
311
314
|
value: "text-secondary",
|
|
@@ -317,10 +320,10 @@ 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-
|
|
326
|
+
"data-[hover=true]:bg-success-50",
|
|
324
327
|
"group-data-[focus=true]:bg-success-50"
|
|
325
328
|
],
|
|
326
329
|
value: "text-success-600 dark:text-success",
|
|
@@ -332,10 +335,10 @@ 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-
|
|
341
|
+
"data-[hover=true]:bg-warning-50",
|
|
339
342
|
"group-data-[focus=true]:bg-warning-50"
|
|
340
343
|
],
|
|
341
344
|
value: "text-warning-600 dark:text-warning",
|
|
@@ -347,10 +350,10 @@ 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-
|
|
356
|
+
"data-[hover=true]:bg-danger-50",
|
|
354
357
|
"group-data-[focus=true]:bg-danger-50"
|
|
355
358
|
],
|
|
356
359
|
value: "text-danger dark:text-danger-500",
|
|
@@ -588,26 +591,12 @@ 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,
|
|
600
597
|
class: {
|
|
601
598
|
base: "group relative justify-end",
|
|
602
|
-
label: [
|
|
603
|
-
"pb-0",
|
|
604
|
-
"z-20",
|
|
605
|
-
"top-1/2",
|
|
606
|
-
"-translate-y-1/2",
|
|
607
|
-
"group-data-[filled=true]:left-0",
|
|
608
|
-
"rtl:group-data-[filled=true]:right-0",
|
|
609
|
-
"rtl:group-data-[filled=true]:left-[unset]"
|
|
610
|
-
]
|
|
599
|
+
label: ["pb-0", "z-20", "top-1/2", "-translate-y-1/2", "group-data-[filled=true]:start-0"]
|
|
611
600
|
}
|
|
612
601
|
},
|
|
613
602
|
{
|
|
@@ -727,9 +716,7 @@ var select = tv({
|
|
|
727
716
|
isMultiline: false,
|
|
728
717
|
class: {
|
|
729
718
|
label: [
|
|
730
|
-
"
|
|
731
|
-
"rtl:right-2",
|
|
732
|
-
"rtl:left-[unset]",
|
|
719
|
+
"start-2",
|
|
733
720
|
"text-tiny",
|
|
734
721
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
735
722
|
],
|
|
@@ -742,9 +729,7 @@ var select = tv({
|
|
|
742
729
|
size: "md",
|
|
743
730
|
class: {
|
|
744
731
|
label: [
|
|
745
|
-
"
|
|
746
|
-
"rtl:right-3",
|
|
747
|
-
"rtl:left-[unset]",
|
|
732
|
+
"start-3",
|
|
748
733
|
"text-small",
|
|
749
734
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
750
735
|
],
|
|
@@ -757,9 +742,7 @@ var select = tv({
|
|
|
757
742
|
size: "lg",
|
|
758
743
|
class: {
|
|
759
744
|
label: [
|
|
760
|
-
"
|
|
761
|
-
"rtl:right-3",
|
|
762
|
-
"rtl:left-[unset]",
|
|
745
|
+
"start-3",
|
|
763
746
|
"text-medium",
|
|
764
747
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
765
748
|
],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
select
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-M3GQ3DWZ.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";
|
|
@@ -76,7 +76,7 @@ var groupDataFocusVisibleClasses = [
|
|
|
76
76
|
// src/components/toggle.ts
|
|
77
77
|
var toggle = tv({
|
|
78
78
|
slots: {
|
|
79
|
-
base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",
|
|
79
|
+
base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent select-none",
|
|
80
80
|
wrapper: [
|
|
81
81
|
"px-1",
|
|
82
82
|
"relative",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toggle
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ARYJFX77.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/user.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-BJ6IKX32.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/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export { cn } from './utils/cn.js';
|
|
|
45
45
|
export { colors } from './colors/index.js';
|
|
46
46
|
export { nextui } from './plugin.js';
|
|
47
47
|
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, LayoutTheme, NextUIPluginConfig } from './types.js';
|
|
48
|
+
export { darkLayout, defaultLayout, lightLayout } from './default-layout.js';
|
|
48
49
|
export { tv } from './utils/tv.js';
|
|
49
50
|
export { TV, VariantProps } from 'tailwind-variants';
|
|
50
51
|
export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './colors/types.js';
|