@nextui-org/theme 0.0.0-dev-v2-20230527131721 → 0.0.0-dev-v2-20230527145118
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-HAR22HFA.mjs → chunk-3YUVISFE.mjs} +17 -17
- package/dist/{chunk-3LME35GX.mjs → chunk-4MSPP245.mjs} +17 -17
- package/dist/{chunk-UUJTS7XS.mjs → chunk-5DRF22QY.mjs} +13 -13
- package/dist/{chunk-LC5AFIW7.mjs → chunk-6LITGDC7.mjs} +4 -4
- package/dist/{chunk-TFNTYAAW.mjs → chunk-6QXUR7SY.mjs} +5 -5
- package/dist/{chunk-7CTZKPXG.mjs → chunk-76WBK7WN.mjs} +6 -6
- package/dist/{chunk-MZAUPTXE.mjs → chunk-7PRU5S35.mjs} +2 -2
- package/dist/{chunk-4A7R2B5L.mjs → chunk-ANKTYY3U.mjs} +17 -17
- package/dist/{chunk-5ZJFAFZA.mjs → chunk-AWAXOLMA.mjs} +10 -10
- package/dist/{chunk-25QTQFHB.mjs → chunk-BUDAC6TR.mjs} +10 -10
- package/dist/{chunk-G23VRPTF.mjs → chunk-D6P5YDBJ.mjs} +1 -1
- package/dist/{chunk-DTLDG5KJ.mjs → chunk-E3HXNSRG.mjs} +3 -3
- package/dist/{chunk-5FMGABPD.mjs → chunk-EQNNT2LH.mjs} +3 -3
- package/dist/{chunk-LMXA7XIQ.mjs → chunk-G7ZYYWZD.mjs} +6 -6
- package/dist/{chunk-6IVGIMY2.mjs → chunk-GYSMGV7B.mjs} +3 -3
- package/dist/{chunk-RO3WUCFF.mjs → chunk-IQPW7V4N.mjs} +13 -13
- package/dist/{chunk-O42UMOT5.mjs → chunk-IVZYEA5N.mjs} +3 -3
- package/dist/{chunk-7EC2WH7W.mjs → chunk-NYEYKHJ3.mjs} +21 -21
- package/dist/{chunk-XUFLJ7RP.mjs → chunk-QGXXHT3T.mjs} +6 -6
- package/dist/{chunk-NFNV2TXA.mjs → chunk-QW2ZGOKD.mjs} +1 -1
- package/dist/{chunk-YMIOHWCD.mjs → chunk-QYXL3KZR.mjs} +4 -4
- package/dist/{chunk-KWWWVBJL.mjs → chunk-U54UQOTS.mjs} +10 -10
- package/dist/{chunk-FVTLDCTS.mjs → chunk-UPBFQDTD.mjs} +3 -3
- package/dist/{chunk-NGOZQK3L.mjs → chunk-UVH5HICF.mjs} +5 -5
- package/dist/{chunk-JWVJZEAT.mjs → chunk-V5673FD5.mjs} +13 -13
- package/dist/{chunk-WLLBJIBU.mjs → chunk-W36MFWI6.mjs} +7 -7
- package/dist/{chunk-6D57DOQF.mjs → chunk-X4S56RGZ.mjs} +1 -1
- package/dist/{chunk-ZNBW4PQF.mjs → chunk-ZFYINWFR.mjs} +1 -1
- package/dist/{chunk-7EDXWCUZ.mjs → chunk-ZHKZR5C3.mjs} +17 -17
- package/dist/{chunk-Y43NAEAT.mjs → chunk-ZL6WUYLC.mjs} +6 -6
- package/dist/colors/common.mjs +3 -3
- package/dist/colors/index.js +2 -2
- package/dist/colors/index.mjs +6 -6
- package/dist/colors/semantic.js +2 -2
- package/dist/colors/semantic.mjs +5 -5
- package/dist/colors/types.d.ts +1 -1
- package/dist/colors.js +2 -2
- package/dist/colors.mjs +6 -6
- package/dist/components/accordion.js +6 -6
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/avatar.d.ts +2 -2
- package/dist/components/avatar.js +18 -18
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +22 -22
- package/dist/components/badge.mjs +2 -2
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +29 -29
- package/dist/components/button.mjs +2 -2
- package/dist/components/card.js +1 -1
- package/dist/components/card.mjs +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +6 -6
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/chip.d.ts +2 -2
- package/dist/components/chip.js +29 -29
- package/dist/components/chip.mjs +2 -2
- package/dist/components/circular-progress.d.ts +2 -2
- package/dist/components/circular-progress.js +3 -3
- package/dist/components/circular-progress.mjs +1 -1
- package/dist/components/code.d.ts +2 -2
- package/dist/components/code.js +15 -15
- package/dist/components/code.mjs +2 -2
- package/dist/components/dropdown.d.ts +2 -2
- package/dist/components/dropdown.js +21 -21
- package/dist/components/dropdown.mjs +1 -1
- package/dist/components/image.js +1 -1
- package/dist/components/image.mjs +1 -1
- package/dist/components/index.js +206 -206
- package/dist/components/index.mjs +55 -55
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +17 -17
- package/dist/components/input.mjs +1 -1
- package/dist/components/kbd.js +3 -3
- package/dist/components/kbd.mjs +1 -1
- package/dist/components/modal.js +4 -4
- package/dist/components/modal.mjs +1 -1
- package/dist/components/navbar.js +4 -4
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.d.ts +2 -2
- package/dist/components/pagination.js +29 -29
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.d.ts +2 -2
- package/dist/components/popover.js +25 -25
- package/dist/components/popover.mjs +2 -2
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.mjs +1 -1
- package/dist/components/radio.d.ts +2 -2
- package/dist/components/radio.js +7 -7
- package/dist/components/radio.mjs +1 -1
- package/dist/components/skeleton.js +1 -1
- package/dist/components/skeleton.mjs +1 -1
- package/dist/components/snippet.d.ts +2 -2
- package/dist/components/snippet.js +22 -22
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/spinner.js +3 -3
- package/dist/components/spinner.mjs +1 -1
- package/dist/components/table.d.ts +2 -2
- package/dist/components/table.js +10 -10
- package/dist/components/table.mjs +1 -1
- package/dist/components/tabs.d.ts +2 -2
- package/dist/components/tabs.js +25 -25
- package/dist/components/tabs.mjs +2 -2
- package/dist/components/toggle.d.ts +2 -2
- package/dist/components/toggle.js +5 -5
- package/dist/components/toggle.mjs +1 -1
- package/dist/components/user.js +1 -1
- package/dist/components/user.mjs +1 -1
- package/dist/index.js +208 -208
- package/dist/index.mjs +73 -73
- package/dist/plugin.js +2 -2
- package/dist/plugin.mjs +9 -9
- package/dist/utils/index.js +13 -13
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/variants.d.ts +7 -7
- package/dist/utils/variants.js +13 -13
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/{chunk-W4HTBNGS.mjs → chunk-CRCBVLUP.mjs} +6 -6
|
@@ -37,7 +37,7 @@ var dropdown = (0, import_tailwind_variants.tv)({
|
|
|
37
37
|
"bg-white",
|
|
38
38
|
"dark:bg-content1",
|
|
39
39
|
"border",
|
|
40
|
-
"border-
|
|
40
|
+
"border-default-100"
|
|
41
41
|
]
|
|
42
42
|
});
|
|
43
43
|
var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
@@ -66,7 +66,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
66
66
|
],
|
|
67
67
|
wrapper: "w-full flex flex-col items-start justify-center",
|
|
68
68
|
title: "flex-1",
|
|
69
|
-
description: ["text-xs", "w-full", "text-
|
|
69
|
+
description: ["text-xs", "w-full", "text-default-500", "group-hover:text-current"],
|
|
70
70
|
selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"],
|
|
71
71
|
shortcut: [
|
|
72
72
|
"px-1",
|
|
@@ -77,7 +77,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
77
77
|
"text-inherit",
|
|
78
78
|
"text-xs",
|
|
79
79
|
"border",
|
|
80
|
-
"border-
|
|
80
|
+
"border-default-200",
|
|
81
81
|
"group-hover:border-current"
|
|
82
82
|
]
|
|
83
83
|
},
|
|
@@ -93,7 +93,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
93
93
|
base: "bg-transparent"
|
|
94
94
|
},
|
|
95
95
|
faded: {
|
|
96
|
-
base: "border border-transparent hover:border-
|
|
96
|
+
base: "border border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
97
97
|
},
|
|
98
98
|
flat: {
|
|
99
99
|
base: ""
|
|
@@ -103,7 +103,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
color: {
|
|
106
|
-
|
|
106
|
+
default: {},
|
|
107
107
|
primary: {},
|
|
108
108
|
secondary: {},
|
|
109
109
|
success: {},
|
|
@@ -120,7 +120,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
120
120
|
"before:left-0",
|
|
121
121
|
"before:right-0",
|
|
122
122
|
"before:h-px",
|
|
123
|
-
"before:bg-
|
|
123
|
+
"before:bg-default-200"
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
},
|
|
@@ -136,15 +136,15 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
136
136
|
},
|
|
137
137
|
defaultVariants: {
|
|
138
138
|
variant: "solid",
|
|
139
|
-
color: "
|
|
139
|
+
color: "default",
|
|
140
140
|
disableAnimation: false
|
|
141
141
|
},
|
|
142
142
|
compoundVariants: [
|
|
143
143
|
{
|
|
144
144
|
variant: "solid",
|
|
145
|
-
color: "
|
|
145
|
+
color: "default",
|
|
146
146
|
class: {
|
|
147
|
-
base: "data-[hover=true]:bg-
|
|
147
|
+
base: "data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
@@ -184,9 +184,9 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
variant: "shadow",
|
|
187
|
-
color: "
|
|
187
|
+
color: "default",
|
|
188
188
|
class: {
|
|
189
|
-
base: "data-[hover=true]:shadow-
|
|
189
|
+
base: "data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
192
|
{
|
|
@@ -226,9 +226,9 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
variant: "bordered",
|
|
229
|
-
color: "
|
|
229
|
+
color: "default",
|
|
230
230
|
class: {
|
|
231
|
-
base: "data-[hover=true]:border-
|
|
231
|
+
base: "data-[hover=true]:border-default"
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
{
|
|
@@ -268,9 +268,9 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
variant: "flat",
|
|
271
|
-
color: "
|
|
271
|
+
color: "default",
|
|
272
272
|
class: {
|
|
273
|
-
base: "data-[hover=true]:bg-
|
|
273
|
+
base: "data-[hover=true]:bg-default-100 data-[hover=true]:text-default-foreground"
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
{
|
|
@@ -310,9 +310,9 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
variant: "faded",
|
|
313
|
-
color: "
|
|
313
|
+
color: "default",
|
|
314
314
|
class: {
|
|
315
|
-
base: "data-[hover=true]:text-
|
|
315
|
+
base: "data-[hover=true]:text-default-foreground"
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
{
|
|
@@ -352,9 +352,9 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
variant: "light",
|
|
355
|
-
color: "
|
|
355
|
+
color: "default",
|
|
356
356
|
class: {
|
|
357
|
-
base: "data-[hover=true]:text-
|
|
357
|
+
base: "data-[hover=true]:text-default-500"
|
|
358
358
|
}
|
|
359
359
|
},
|
|
360
360
|
{
|
|
@@ -397,7 +397,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
397
397
|
var dropdownSection = (0, import_tailwind_variants.tv)({
|
|
398
398
|
slots: {
|
|
399
399
|
section: "relative mb-2",
|
|
400
|
-
heading: "pl-1 text-xs text-
|
|
400
|
+
heading: "pl-1 text-xs text-default-500"
|
|
401
401
|
},
|
|
402
402
|
variants: {
|
|
403
403
|
showDivider: {
|
|
@@ -410,7 +410,7 @@ var dropdownSection = (0, import_tailwind_variants.tv)({
|
|
|
410
410
|
"before:left-0",
|
|
411
411
|
"before:right-0",
|
|
412
412
|
"before:h-px",
|
|
413
|
-
"before:bg-
|
|
413
|
+
"before:bg-default-200"
|
|
414
414
|
]
|
|
415
415
|
}
|
|
416
416
|
}
|
package/dist/components/image.js
CHANGED
|
@@ -110,7 +110,7 @@ var image = (0, import_tailwind_variants.tv)({
|
|
|
110
110
|
"before:bg-gradient-to-r",
|
|
111
111
|
"before:from-transparent",
|
|
112
112
|
"before:via-content4",
|
|
113
|
-
"dark:before:via-
|
|
113
|
+
"dark:before:via-default-700/10",
|
|
114
114
|
"before:to-transparent",
|
|
115
115
|
"after:absolute",
|
|
116
116
|
"after:inset-0",
|