@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
|
@@ -3,10 +3,10 @@ import { tv } from "tailwind-variants";
|
|
|
3
3
|
var input = tv({
|
|
4
4
|
slots: {
|
|
5
5
|
base: "group flex flex-col data-[has-elements=true]:gap-2",
|
|
6
|
-
label: "block text-sm font-medium text-
|
|
6
|
+
label: "block text-sm font-medium text-default-600",
|
|
7
7
|
inputWrapper: "relative w-full inline-flex flex-row items-center shadow-sm px-3 gap-3",
|
|
8
8
|
innerWrapper: "inline-flex h-full items-center w-full gap-1.5 box-border",
|
|
9
|
-
input: "w-full h-full !bg-transparent outline-none placeholder:text-
|
|
9
|
+
input: "w-full h-full !bg-transparent outline-none placeholder:text-default-500",
|
|
10
10
|
clearButton: [
|
|
11
11
|
"z-10",
|
|
12
12
|
"hidden",
|
|
@@ -27,31 +27,31 @@ var input = tv({
|
|
|
27
27
|
"data-[focus-visible]:ring-offset-background",
|
|
28
28
|
"data-[focus-visible]:dark:ring-offset-background-dark"
|
|
29
29
|
],
|
|
30
|
-
description: "text-xs text-
|
|
30
|
+
description: "text-xs text-default-500",
|
|
31
31
|
errorMessage: "text-xs text-danger"
|
|
32
32
|
},
|
|
33
33
|
variants: {
|
|
34
34
|
variant: {
|
|
35
35
|
flat: {
|
|
36
36
|
inputWrapper: [
|
|
37
|
-
"bg-
|
|
38
|
-
"data-[hover=true]:bg-
|
|
39
|
-
"focus-within:!bg-
|
|
37
|
+
"bg-default-100",
|
|
38
|
+
"data-[hover=true]:bg-default-200",
|
|
39
|
+
"focus-within:!bg-default-100"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
faded: {
|
|
43
43
|
inputWrapper: [
|
|
44
|
-
"bg-
|
|
44
|
+
"bg-default-100",
|
|
45
45
|
"border",
|
|
46
|
-
"border-
|
|
47
|
-
"data-[hover=true]:border-
|
|
46
|
+
"border-default-200",
|
|
47
|
+
"data-[hover=true]:border-default-400"
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
bordered: {
|
|
51
51
|
inputWrapper: [
|
|
52
52
|
"border-2",
|
|
53
|
-
"border-
|
|
54
|
-
"data-[hover=true]:border-
|
|
53
|
+
"border-default-200",
|
|
54
|
+
"data-[hover=true]:border-default-400",
|
|
55
55
|
"focus-within:!border-foreground"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
@@ -64,9 +64,9 @@ var input = tv({
|
|
|
64
64
|
"box-border",
|
|
65
65
|
"border-b-2",
|
|
66
66
|
"shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]",
|
|
67
|
-
"border-
|
|
67
|
+
"border-default-200",
|
|
68
68
|
"!rounded-none",
|
|
69
|
-
"hover:border-
|
|
69
|
+
"hover:border-default-300",
|
|
70
70
|
"after:content-['']",
|
|
71
71
|
"after:w-0",
|
|
72
72
|
"after:origin-center",
|
|
@@ -81,7 +81,7 @@ var input = tv({
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
color: {
|
|
84
|
-
|
|
84
|
+
default: {},
|
|
85
85
|
primary: {
|
|
86
86
|
label: "text-primary"
|
|
87
87
|
},
|
|
@@ -223,7 +223,7 @@ var input = tv({
|
|
|
223
223
|
},
|
|
224
224
|
defaultVariants: {
|
|
225
225
|
variant: "flat",
|
|
226
|
-
color: "
|
|
226
|
+
color: "default",
|
|
227
227
|
size: "md",
|
|
228
228
|
radius: "lg",
|
|
229
229
|
fullWidth: true,
|
|
@@ -536,7 +536,7 @@ var input = tv({
|
|
|
536
536
|
class: {
|
|
537
537
|
label: [
|
|
538
538
|
"font-normal",
|
|
539
|
-
"text-
|
|
539
|
+
"text-default-500",
|
|
540
540
|
"group-focus-within:font-medium",
|
|
541
541
|
"group-[.is-filled]:font-medium",
|
|
542
542
|
"group-focus-within:pointer-events-auto",
|
|
@@ -549,7 +549,7 @@ var input = tv({
|
|
|
549
549
|
labelPosition: "inside",
|
|
550
550
|
class: {
|
|
551
551
|
inputWrapper: "group",
|
|
552
|
-
label: ["group-focus-within:text-
|
|
552
|
+
label: ["group-focus-within:text-default-600", "group-[.is-filled]:text-default-600"]
|
|
553
553
|
}
|
|
554
554
|
},
|
|
555
555
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IQPW7V4N.mjs";
|
|
4
4
|
import {
|
|
5
5
|
translateCenterClasses
|
|
6
6
|
} from "./chunk-INZK6TTL.mjs";
|
|
@@ -67,8 +67,8 @@ var avatar = tv({
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
color: {
|
|
70
|
-
|
|
71
|
-
base: colorVariants.solid.
|
|
70
|
+
default: {
|
|
71
|
+
base: colorVariants.solid.default
|
|
72
72
|
},
|
|
73
73
|
primary: {
|
|
74
74
|
base: colorVariants.solid.primary
|
|
@@ -141,15 +141,15 @@ var avatar = tv({
|
|
|
141
141
|
},
|
|
142
142
|
defaultVariants: {
|
|
143
143
|
size: "md",
|
|
144
|
-
color: "
|
|
144
|
+
color: "default",
|
|
145
145
|
radius: "full"
|
|
146
146
|
},
|
|
147
147
|
compoundVariants: [
|
|
148
148
|
{
|
|
149
|
-
color: "
|
|
149
|
+
color: "default",
|
|
150
150
|
isBordered: true,
|
|
151
151
|
class: {
|
|
152
|
-
base: "ring-
|
|
152
|
+
base: "ring-default"
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
{
|
package/dist/colors/common.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
commonColors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CRCBVLUP.mjs";
|
|
4
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
5
|
+
import "../chunk-L2OL7R23.mjs";
|
|
4
6
|
import "../chunk-YZYGFPNK.mjs";
|
|
5
7
|
import "../chunk-Y4YW5MKL.mjs";
|
|
6
8
|
import "../chunk-KZJBCC2H.mjs";
|
|
7
9
|
import "../chunk-T3GWIVAM.mjs";
|
|
8
10
|
import "../chunk-OR5PUD24.mjs";
|
|
9
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
10
|
-
import "../chunk-L2OL7R23.mjs";
|
|
11
11
|
export {
|
|
12
12
|
commonColors
|
|
13
13
|
};
|
package/dist/colors/index.js
CHANGED
|
@@ -224,7 +224,7 @@ var base = {
|
|
|
224
224
|
};
|
|
225
225
|
var semanticColorsLight = {
|
|
226
226
|
...base.light,
|
|
227
|
-
|
|
227
|
+
default: {
|
|
228
228
|
...import_colors.default.zinc,
|
|
229
229
|
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[300]),
|
|
230
230
|
DEFAULT: import_colors.default.zinc[300]
|
|
@@ -257,7 +257,7 @@ var semanticColorsLight = {
|
|
|
257
257
|
};
|
|
258
258
|
var semanticColorsDark = {
|
|
259
259
|
...base.dark,
|
|
260
|
-
|
|
260
|
+
default: {
|
|
261
261
|
...swapColorValues(import_colors.default.zinc),
|
|
262
262
|
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[700]),
|
|
263
263
|
DEFAULT: import_colors.default.zinc[700]
|
package/dist/colors/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7PRU5S35.mjs";
|
|
4
4
|
import {
|
|
5
5
|
semanticColors
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-6QXUR7SY.mjs";
|
|
7
|
+
import "../chunk-37PIXVP4.mjs";
|
|
7
8
|
import "../chunk-M63AFAHO.mjs";
|
|
8
9
|
import {
|
|
9
10
|
commonColors
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-CRCBVLUP.mjs";
|
|
12
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
13
|
+
import "../chunk-L2OL7R23.mjs";
|
|
11
14
|
import "../chunk-YZYGFPNK.mjs";
|
|
12
15
|
import "../chunk-Y4YW5MKL.mjs";
|
|
13
16
|
import "../chunk-KZJBCC2H.mjs";
|
|
14
17
|
import "../chunk-T3GWIVAM.mjs";
|
|
15
18
|
import "../chunk-OR5PUD24.mjs";
|
|
16
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
17
|
-
import "../chunk-L2OL7R23.mjs";
|
|
18
|
-
import "../chunk-37PIXVP4.mjs";
|
|
19
19
|
export {
|
|
20
20
|
colors,
|
|
21
21
|
commonColors,
|
package/dist/colors/semantic.js
CHANGED
|
@@ -222,7 +222,7 @@ var base = {
|
|
|
222
222
|
};
|
|
223
223
|
var semanticColorsLight = {
|
|
224
224
|
...base.light,
|
|
225
|
-
|
|
225
|
+
default: {
|
|
226
226
|
...import_colors.default.zinc,
|
|
227
227
|
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[300]),
|
|
228
228
|
DEFAULT: import_colors.default.zinc[300]
|
|
@@ -255,7 +255,7 @@ var semanticColorsLight = {
|
|
|
255
255
|
};
|
|
256
256
|
var semanticColorsDark = {
|
|
257
257
|
...base.dark,
|
|
258
|
-
|
|
258
|
+
default: {
|
|
259
259
|
...swapColorValues(import_colors.default.zinc),
|
|
260
260
|
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[700]),
|
|
261
261
|
DEFAULT: import_colors.default.zinc[700]
|
package/dist/colors/semantic.mjs
CHANGED
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
semanticColors,
|
|
3
3
|
semanticColorsDark,
|
|
4
4
|
semanticColorsLight
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-6QXUR7SY.mjs";
|
|
6
|
+
import "../chunk-37PIXVP4.mjs";
|
|
7
|
+
import "../chunk-CRCBVLUP.mjs";
|
|
8
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
9
|
+
import "../chunk-L2OL7R23.mjs";
|
|
7
10
|
import "../chunk-YZYGFPNK.mjs";
|
|
8
11
|
import "../chunk-Y4YW5MKL.mjs";
|
|
9
12
|
import "../chunk-KZJBCC2H.mjs";
|
|
10
13
|
import "../chunk-T3GWIVAM.mjs";
|
|
11
14
|
import "../chunk-OR5PUD24.mjs";
|
|
12
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
13
|
-
import "../chunk-L2OL7R23.mjs";
|
|
14
|
-
import "../chunk-37PIXVP4.mjs";
|
|
15
15
|
export {
|
|
16
16
|
semanticColors,
|
|
17
17
|
semanticColorsDark,
|
package/dist/colors/types.d.ts
CHANGED
package/dist/colors.js
CHANGED
|
@@ -224,7 +224,7 @@ var base = {
|
|
|
224
224
|
};
|
|
225
225
|
var semanticColorsLight = {
|
|
226
226
|
...base.light,
|
|
227
|
-
|
|
227
|
+
default: {
|
|
228
228
|
...import_colors.default.zinc,
|
|
229
229
|
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[300]),
|
|
230
230
|
DEFAULT: import_colors.default.zinc[300]
|
|
@@ -257,7 +257,7 @@ var semanticColorsLight = {
|
|
|
257
257
|
};
|
|
258
258
|
var semanticColorsDark = {
|
|
259
259
|
...base.dark,
|
|
260
|
-
|
|
260
|
+
default: {
|
|
261
261
|
...swapColorValues(import_colors.default.zinc),
|
|
262
262
|
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[700]),
|
|
263
263
|
DEFAULT: import_colors.default.zinc[700]
|
package/dist/colors.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./chunk-WQEDQHKX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
colors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7PRU5S35.mjs";
|
|
5
5
|
import {
|
|
6
6
|
semanticColors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6QXUR7SY.mjs";
|
|
8
|
+
import "./chunk-37PIXVP4.mjs";
|
|
8
9
|
import "./chunk-M63AFAHO.mjs";
|
|
9
10
|
import {
|
|
10
11
|
commonColors
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CRCBVLUP.mjs";
|
|
13
|
+
import "./chunk-DCEG5LGX.mjs";
|
|
14
|
+
import "./chunk-L2OL7R23.mjs";
|
|
12
15
|
import "./chunk-YZYGFPNK.mjs";
|
|
13
16
|
import "./chunk-Y4YW5MKL.mjs";
|
|
14
17
|
import "./chunk-KZJBCC2H.mjs";
|
|
15
18
|
import "./chunk-T3GWIVAM.mjs";
|
|
16
19
|
import "./chunk-OR5PUD24.mjs";
|
|
17
|
-
import "./chunk-DCEG5LGX.mjs";
|
|
18
|
-
import "./chunk-L2OL7R23.mjs";
|
|
19
|
-
import "./chunk-37PIXVP4.mjs";
|
|
20
20
|
export {
|
|
21
21
|
colors,
|
|
22
22
|
commonColors,
|
|
@@ -30,8 +30,8 @@ var accordion = (0, import_tailwind_variants.tv)({
|
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
32
|
light: "",
|
|
33
|
-
shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-
|
|
34
|
-
bordered: "px-4 border border-
|
|
33
|
+
shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100",
|
|
34
|
+
bordered: "px-4 border border-default rounded-lg",
|
|
35
35
|
splitted: "group is-splitted flex flex-col gap-2"
|
|
36
36
|
},
|
|
37
37
|
fullWidth: {
|
|
@@ -46,7 +46,7 @@ var accordion = (0, import_tailwind_variants.tv)({
|
|
|
46
46
|
var accordionItem = (0, import_tailwind_variants.tv)({
|
|
47
47
|
slots: {
|
|
48
48
|
base: [
|
|
49
|
-
"border-
|
|
49
|
+
"border-default",
|
|
50
50
|
"[&:not(:last-of-type)]:border-b",
|
|
51
51
|
"group-[.is-splitted]:px-4",
|
|
52
52
|
"group-[.is-splitted]:bg-background",
|
|
@@ -54,7 +54,7 @@ var accordionItem = (0, import_tailwind_variants.tv)({
|
|
|
54
54
|
"group-[.is-splitted]:shadow-lg",
|
|
55
55
|
"group-[.is-splitted]:rounded-lg",
|
|
56
56
|
"group-[.is-splitted]:border",
|
|
57
|
-
"group-[.is-splitted]:border-
|
|
57
|
+
"group-[.is-splitted]:border-default-100"
|
|
58
58
|
],
|
|
59
59
|
heading: "",
|
|
60
60
|
trigger: [
|
|
@@ -67,10 +67,10 @@ var accordionItem = (0, import_tailwind_variants.tv)({
|
|
|
67
67
|
"data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
68
68
|
],
|
|
69
69
|
startContent: "flex-shrink-0",
|
|
70
|
-
indicator: "text-
|
|
70
|
+
indicator: "text-default-400",
|
|
71
71
|
titleWrapper: "flex-1 flex flex-col text-left",
|
|
72
72
|
title: "text-foreground text-lg",
|
|
73
|
-
subtitle: "text-sm text-
|
|
73
|
+
subtitle: "text-sm text-default-500 font-normal",
|
|
74
74
|
content: "py-2"
|
|
75
75
|
},
|
|
76
76
|
variants: {
|
|
@@ -33,7 +33,7 @@ declare const avatar: tailwind_variants.TVReturnType<{
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
color: {
|
|
36
|
-
|
|
36
|
+
default: {
|
|
37
37
|
base: string;
|
|
38
38
|
};
|
|
39
39
|
primary: {
|
|
@@ -126,7 +126,7 @@ declare const avatar: tailwind_variants.TVReturnType<{
|
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
color: {
|
|
129
|
-
|
|
129
|
+
default: {
|
|
130
130
|
base: string;
|
|
131
131
|
};
|
|
132
132
|
primary: {
|
|
@@ -37,7 +37,7 @@ var translateCenterClasses = [
|
|
|
37
37
|
|
|
38
38
|
// src/utils/variants.ts
|
|
39
39
|
var solid = {
|
|
40
|
-
|
|
40
|
+
default: "bg-default text-default-foreground",
|
|
41
41
|
primary: "bg-primary text-primary-foreground",
|
|
42
42
|
secondary: "bg-secondary text-secondary-foreground",
|
|
43
43
|
success: "bg-success text-success-foreground",
|
|
@@ -46,7 +46,7 @@ var solid = {
|
|
|
46
46
|
foreground: "bg-foreground text-background"
|
|
47
47
|
};
|
|
48
48
|
var shadow = {
|
|
49
|
-
|
|
49
|
+
default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
|
|
50
50
|
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
51
51
|
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
52
52
|
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
@@ -55,7 +55,7 @@ var shadow = {
|
|
|
55
55
|
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
56
56
|
};
|
|
57
57
|
var bordered = {
|
|
58
|
-
|
|
58
|
+
default: "bg-transparent border-default text-foreground",
|
|
59
59
|
primary: "bg-transparent border-primary text-primary",
|
|
60
60
|
secondary: "bg-transparent border-secondary text-secondary",
|
|
61
61
|
success: "bg-transparent border-success text-success",
|
|
@@ -64,7 +64,7 @@ var bordered = {
|
|
|
64
64
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
65
65
|
};
|
|
66
66
|
var flat = {
|
|
67
|
-
|
|
67
|
+
default: "bg-default-100 text-default-foreground",
|
|
68
68
|
primary: "bg-primary-50 text-primary",
|
|
69
69
|
secondary: "bg-secondary-100 text-secondary",
|
|
70
70
|
success: "bg-success-50 text-success",
|
|
@@ -73,16 +73,16 @@ var flat = {
|
|
|
73
73
|
foreground: "bg-foreground/10 text-foreground"
|
|
74
74
|
};
|
|
75
75
|
var faded = {
|
|
76
|
-
|
|
77
|
-
primary: "border-
|
|
78
|
-
secondary: "border-
|
|
79
|
-
success: "border-
|
|
80
|
-
warning: "border-
|
|
81
|
-
danger: "border-
|
|
82
|
-
foreground: "border-
|
|
76
|
+
default: "border-default bg-default-100 text-default-foreground",
|
|
77
|
+
primary: "border-default bg-default-100 text-primary",
|
|
78
|
+
secondary: "border-default bg-default-100 text-secondary",
|
|
79
|
+
success: "border-default bg-default-100 text-success",
|
|
80
|
+
warning: "border-default bg-default-100 text-warning",
|
|
81
|
+
danger: "border-default bg-default-100 text-danger",
|
|
82
|
+
foreground: "border-default bg-default-100 text-foreground"
|
|
83
83
|
};
|
|
84
84
|
var light = {
|
|
85
|
-
|
|
85
|
+
default: "bg-transparent text-default-foreground",
|
|
86
86
|
primary: "bg-transparent text-primary",
|
|
87
87
|
secondary: "bg-transparent text-secondary",
|
|
88
88
|
success: "bg-transparent text-success",
|
|
@@ -91,7 +91,7 @@ var light = {
|
|
|
91
91
|
foreground: "bg-transparent text-foreground"
|
|
92
92
|
};
|
|
93
93
|
var ghost = {
|
|
94
|
-
|
|
94
|
+
default: "border-default text-default-foreground hover:!bg-default",
|
|
95
95
|
primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
|
|
96
96
|
secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
|
|
97
97
|
success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
|
|
@@ -170,8 +170,8 @@ var avatar = (0, import_tailwind_variants.tv)({
|
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
color: {
|
|
173
|
-
|
|
174
|
-
base: colorVariants.solid.
|
|
173
|
+
default: {
|
|
174
|
+
base: colorVariants.solid.default
|
|
175
175
|
},
|
|
176
176
|
primary: {
|
|
177
177
|
base: colorVariants.solid.primary
|
|
@@ -244,15 +244,15 @@ var avatar = (0, import_tailwind_variants.tv)({
|
|
|
244
244
|
},
|
|
245
245
|
defaultVariants: {
|
|
246
246
|
size: "md",
|
|
247
|
-
color: "
|
|
247
|
+
color: "default",
|
|
248
248
|
radius: "full"
|
|
249
249
|
},
|
|
250
250
|
compoundVariants: [
|
|
251
251
|
{
|
|
252
|
-
color: "
|
|
252
|
+
color: "default",
|
|
253
253
|
isBordered: true,
|
|
254
254
|
class: {
|
|
255
|
-
base: "ring-
|
|
255
|
+
base: "ring-default"
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
avatar,
|
|
3
3
|
avatarGroup
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ZL6WUYLC.mjs";
|
|
5
5
|
import "../chunk-CMYR6AOY.mjs";
|
|
6
|
-
import "../chunk-RO3WUCFF.mjs";
|
|
7
6
|
import "../chunk-K7LK7NCE.mjs";
|
|
7
|
+
import "../chunk-IQPW7V4N.mjs";
|
|
8
8
|
import "../chunk-INZK6TTL.mjs";
|
|
9
9
|
export {
|
|
10
10
|
avatar,
|
|
@@ -23,7 +23,7 @@ declare const badge: tailwind_variants.TVReturnType<{
|
|
|
23
23
|
shadow: {};
|
|
24
24
|
};
|
|
25
25
|
color: {
|
|
26
|
-
|
|
26
|
+
default: {
|
|
27
27
|
badge: string;
|
|
28
28
|
};
|
|
29
29
|
primary: {
|
|
@@ -132,7 +132,7 @@ declare const badge: tailwind_variants.TVReturnType<{
|
|
|
132
132
|
shadow: {};
|
|
133
133
|
};
|
|
134
134
|
color: {
|
|
135
|
-
|
|
135
|
+
default: {
|
|
136
136
|
badge: string;
|
|
137
137
|
};
|
|
138
138
|
primary: {
|
package/dist/components/badge.js
CHANGED
|
@@ -27,7 +27,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
27
27
|
|
|
28
28
|
// src/utils/variants.ts
|
|
29
29
|
var solid = {
|
|
30
|
-
|
|
30
|
+
default: "bg-default text-default-foreground",
|
|
31
31
|
primary: "bg-primary text-primary-foreground",
|
|
32
32
|
secondary: "bg-secondary text-secondary-foreground",
|
|
33
33
|
success: "bg-success text-success-foreground",
|
|
@@ -36,7 +36,7 @@ var solid = {
|
|
|
36
36
|
foreground: "bg-foreground text-background"
|
|
37
37
|
};
|
|
38
38
|
var shadow = {
|
|
39
|
-
|
|
39
|
+
default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
|
|
40
40
|
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
41
41
|
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
42
42
|
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
@@ -45,7 +45,7 @@ var shadow = {
|
|
|
45
45
|
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
46
46
|
};
|
|
47
47
|
var bordered = {
|
|
48
|
-
|
|
48
|
+
default: "bg-transparent border-default text-foreground",
|
|
49
49
|
primary: "bg-transparent border-primary text-primary",
|
|
50
50
|
secondary: "bg-transparent border-secondary text-secondary",
|
|
51
51
|
success: "bg-transparent border-success text-success",
|
|
@@ -54,7 +54,7 @@ var bordered = {
|
|
|
54
54
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
55
55
|
};
|
|
56
56
|
var flat = {
|
|
57
|
-
|
|
57
|
+
default: "bg-default-100 text-default-foreground",
|
|
58
58
|
primary: "bg-primary-50 text-primary",
|
|
59
59
|
secondary: "bg-secondary-100 text-secondary",
|
|
60
60
|
success: "bg-success-50 text-success",
|
|
@@ -63,16 +63,16 @@ var flat = {
|
|
|
63
63
|
foreground: "bg-foreground/10 text-foreground"
|
|
64
64
|
};
|
|
65
65
|
var faded = {
|
|
66
|
-
|
|
67
|
-
primary: "border-
|
|
68
|
-
secondary: "border-
|
|
69
|
-
success: "border-
|
|
70
|
-
warning: "border-
|
|
71
|
-
danger: "border-
|
|
72
|
-
foreground: "border-
|
|
66
|
+
default: "border-default bg-default-100 text-default-foreground",
|
|
67
|
+
primary: "border-default bg-default-100 text-primary",
|
|
68
|
+
secondary: "border-default bg-default-100 text-secondary",
|
|
69
|
+
success: "border-default bg-default-100 text-success",
|
|
70
|
+
warning: "border-default bg-default-100 text-warning",
|
|
71
|
+
danger: "border-default bg-default-100 text-danger",
|
|
72
|
+
foreground: "border-default bg-default-100 text-foreground"
|
|
73
73
|
};
|
|
74
74
|
var light = {
|
|
75
|
-
|
|
75
|
+
default: "bg-transparent text-default-foreground",
|
|
76
76
|
primary: "bg-transparent text-primary",
|
|
77
77
|
secondary: "bg-transparent text-secondary",
|
|
78
78
|
success: "bg-transparent text-success",
|
|
@@ -81,7 +81,7 @@ var light = {
|
|
|
81
81
|
foreground: "bg-transparent text-foreground"
|
|
82
82
|
};
|
|
83
83
|
var ghost = {
|
|
84
|
-
|
|
84
|
+
default: "border-default text-default-foreground hover:!bg-default",
|
|
85
85
|
primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
|
|
86
86
|
secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
|
|
87
87
|
success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
|
|
@@ -133,8 +133,8 @@ var badge = (0, import_tailwind_variants.tv)({
|
|
|
133
133
|
shadow: {}
|
|
134
134
|
},
|
|
135
135
|
color: {
|
|
136
|
-
|
|
137
|
-
badge: colorVariants.solid.
|
|
136
|
+
default: {
|
|
137
|
+
badge: colorVariants.solid.default
|
|
138
138
|
},
|
|
139
139
|
primary: {
|
|
140
140
|
badge: colorVariants.solid.primary
|
|
@@ -218,7 +218,7 @@ var badge = (0, import_tailwind_variants.tv)({
|
|
|
218
218
|
},
|
|
219
219
|
defaultVariants: {
|
|
220
220
|
variant: "solid",
|
|
221
|
-
color: "
|
|
221
|
+
color: "default",
|
|
222
222
|
size: "md",
|
|
223
223
|
radius: "full",
|
|
224
224
|
shape: "rectangle",
|
|
@@ -230,9 +230,9 @@ var badge = (0, import_tailwind_variants.tv)({
|
|
|
230
230
|
compoundVariants: [
|
|
231
231
|
{
|
|
232
232
|
variant: "shadow",
|
|
233
|
-
color: "
|
|
233
|
+
color: "default",
|
|
234
234
|
class: {
|
|
235
|
-
badge: colorVariants.shadow.
|
|
235
|
+
badge: colorVariants.shadow.default
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
{
|
|
@@ -272,9 +272,9 @@ var badge = (0, import_tailwind_variants.tv)({
|
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
variant: "flat",
|
|
275
|
-
color: "
|
|
275
|
+
color: "default",
|
|
276
276
|
class: {
|
|
277
|
-
badge: colorVariants.flat.
|
|
277
|
+
badge: colorVariants.flat.default
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
280
|
{
|
|
@@ -314,9 +314,9 @@ var badge = (0, import_tailwind_variants.tv)({
|
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
variant: "faded",
|
|
317
|
-
color: "
|
|
317
|
+
color: "default",
|
|
318
318
|
class: {
|
|
319
|
-
badge: colorVariants.faded.
|
|
319
|
+
badge: colorVariants.faded.default
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
322
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
badge
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-BUDAC6TR.mjs";
|
|
4
4
|
import "../chunk-CMYR6AOY.mjs";
|
|
5
|
-
import "../chunk-RO3WUCFF.mjs";
|
|
6
5
|
import "../chunk-K7LK7NCE.mjs";
|
|
6
|
+
import "../chunk-IQPW7V4N.mjs";
|
|
7
7
|
import "../chunk-INZK6TTL.mjs";
|
|
8
8
|
export {
|
|
9
9
|
badge
|
|
@@ -36,7 +36,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
36
36
|
xl: string;
|
|
37
37
|
};
|
|
38
38
|
color: {
|
|
39
|
-
|
|
39
|
+
default: string;
|
|
40
40
|
primary: string;
|
|
41
41
|
secondary: string;
|
|
42
42
|
success: string;
|
|
@@ -92,7 +92,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
92
92
|
xl: string;
|
|
93
93
|
};
|
|
94
94
|
color: {
|
|
95
|
-
|
|
95
|
+
default: string;
|
|
96
96
|
primary: string;
|
|
97
97
|
secondary: string;
|
|
98
98
|
success: string;
|