@nextui-org/theme 0.0.0-dev-v2-20230425031000 → 0.0.0-dev-v2-20230428203230
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-TDD767J7.mjs → chunk-6QKRZ3JE.mjs} +28 -1
- package/dist/{chunk-FK5GDC67.mjs → chunk-AU7WYHMP.mjs} +1 -0
- package/dist/{chunk-724PTTWA.mjs → chunk-K3AHB42P.mjs} +9 -9
- package/dist/{chunk-TYA6TT57.mjs → chunk-KDFSOQOQ.mjs} +6 -3
- package/dist/{chunk-LCSLO6UV.mjs → chunk-NGIVT5FF.mjs} +1 -1
- package/dist/{chunk-I7DM7NL7.mjs → chunk-O42UMOT5.mjs} +1 -1
- package/dist/{chunk-5EODOBGH.mjs → chunk-PWHNLVBK.mjs} +2 -1
- package/dist/{chunk-ACYWLBDN.mjs → chunk-U3BMJPED.mjs} +5 -3
- package/dist/chunk-UUJTS7XS.mjs +375 -0
- package/dist/{chunk-NQJBJXX3.mjs → chunk-W5WYYDCM.mjs} +3 -3
- package/dist/{chunk-M74ZSXB7.mjs → chunk-XMDX7HIE.mjs} +2 -2
- package/dist/{chunk-LQHWK6UV.mjs → chunk-ZNTUEV24.mjs} +3 -3
- package/dist/colors/common.mjs +2 -2
- package/dist/colors/index.mjs +5 -5
- package/dist/colors/semantic.mjs +4 -4
- package/dist/colors.mjs +5 -5
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.mjs +1 -1
- package/dist/components/button.js +2 -1
- package/dist/components/button.mjs +1 -1
- package/dist/components/card.d.ts +12 -2
- package/dist/components/card.js +28 -1
- package/dist/components/card.mjs +1 -1
- package/dist/components/chip.js +3 -3
- package/dist/components/chip.mjs +1 -1
- package/dist/components/circular-progress.d.ts +1 -0
- package/dist/components/circular-progress.js +1 -0
- package/dist/components/circular-progress.mjs +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +417 -13
- package/dist/components/index.mjs +36 -32
- package/dist/components/navbar.js +5 -3
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.d.ts +3 -0
- package/dist/components/pagination.js +6 -3
- package/dist/components/pagination.mjs +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.mjs +1 -1
- package/dist/components/tabs.d.ts +228 -0
- package/dist/components/tabs.js +471 -0
- package/dist/components/tabs.mjs +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +420 -16
- package/dist/index.mjs +53 -49
- package/dist/plugin.mjs +9 -9
- package/package.json +1 -1
- package/dist/{chunk-N7T6GTBO.mjs → chunk-T6HAGWX5.mjs} +0 -0
- package/dist/{chunk-CRCBVLUP.mjs → chunk-TPAK7DPZ.mjs} +3 -3
|
@@ -12,6 +12,7 @@ var card = tv({
|
|
|
12
12
|
"outline-none",
|
|
13
13
|
"text-foreground",
|
|
14
14
|
"box-border",
|
|
15
|
+
"bg-background",
|
|
15
16
|
"dark:bg-content1",
|
|
16
17
|
"border border-neutral-100",
|
|
17
18
|
"data-[focus-visible=true]:outline-none",
|
|
@@ -143,9 +144,35 @@ var card = tv({
|
|
|
143
144
|
isPressable: {
|
|
144
145
|
true: { base: "cursor-pointer" }
|
|
145
146
|
},
|
|
147
|
+
isBlurred: {
|
|
148
|
+
true: {
|
|
149
|
+
base: [
|
|
150
|
+
"bg-transparent",
|
|
151
|
+
"dark:bg-transparent",
|
|
152
|
+
"before:bg-background/10",
|
|
153
|
+
"before:content-['']",
|
|
154
|
+
"before:block",
|
|
155
|
+
"before:z-[-1]",
|
|
156
|
+
"before:absolute",
|
|
157
|
+
"before:inset-0",
|
|
158
|
+
"before:backdrop-blur-md",
|
|
159
|
+
"before:backdrop-saturate-200"
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
},
|
|
146
163
|
isFooterBlurred: {
|
|
147
164
|
true: {
|
|
148
|
-
footer:
|
|
165
|
+
footer: [
|
|
166
|
+
"before:content-['']",
|
|
167
|
+
"before:block",
|
|
168
|
+
"before:z-[-1]",
|
|
169
|
+
"before:absolute",
|
|
170
|
+
"before:-top-px",
|
|
171
|
+
"before:inset-0",
|
|
172
|
+
"before:bg-background/10",
|
|
173
|
+
"before:backdrop-blur",
|
|
174
|
+
"before:backdrop-saturate-150"
|
|
175
|
+
]
|
|
149
176
|
}
|
|
150
177
|
},
|
|
151
178
|
isDisabled: {
|
|
@@ -6,6 +6,7 @@ var circularProgress = tv({
|
|
|
6
6
|
label: "",
|
|
7
7
|
svgWrapper: "relative block",
|
|
8
8
|
svg: "z-0 relative overflow-hidden",
|
|
9
|
+
track: "h-full stroke-neutral-300/50",
|
|
9
10
|
circle: "h-full stroke-current",
|
|
10
11
|
value: "absolute font-normal inset-0 flex items-center justify-center"
|
|
11
12
|
},
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
semanticColors
|
|
3
|
+
} from "./chunk-ZNTUEV24.mjs";
|
|
4
|
+
import {
|
|
5
|
+
commonColors
|
|
6
|
+
} from "./chunk-TPAK7DPZ.mjs";
|
|
7
|
+
import {
|
|
8
|
+
animations
|
|
9
|
+
} from "./chunk-DMASP6FA.mjs";
|
|
1
10
|
import {
|
|
2
11
|
utilities
|
|
3
12
|
} from "./chunk-XLATS5QU.mjs";
|
|
4
13
|
import {
|
|
5
14
|
baseStyles
|
|
6
15
|
} from "./chunk-INZK6TTL.mjs";
|
|
7
|
-
import {
|
|
8
|
-
semanticColors
|
|
9
|
-
} from "./chunk-LQHWK6UV.mjs";
|
|
10
16
|
import {
|
|
11
17
|
removeDefaultKeys
|
|
12
18
|
} from "./chunk-37PIXVP4.mjs";
|
|
13
|
-
import {
|
|
14
|
-
animations
|
|
15
|
-
} from "./chunk-DMASP6FA.mjs";
|
|
16
|
-
import {
|
|
17
|
-
commonColors
|
|
18
|
-
} from "./chunk-CRCBVLUP.mjs";
|
|
19
19
|
|
|
20
20
|
// src/plugin.ts
|
|
21
21
|
import Color from "color";
|
|
@@ -18,13 +18,16 @@ var pagination = tv({
|
|
|
18
18
|
"justify-center",
|
|
19
19
|
"origin-center",
|
|
20
20
|
"left-0"
|
|
21
|
-
]
|
|
21
|
+
],
|
|
22
|
+
forwardIcon: "hidden group-hover:block data-[before=true]:rotate-180",
|
|
23
|
+
ellipsis: "group-hover:hidden",
|
|
24
|
+
chevronNext: "rotate-180"
|
|
22
25
|
},
|
|
23
26
|
variants: {
|
|
24
27
|
variant: {
|
|
25
28
|
bordered: {
|
|
26
29
|
item: [
|
|
27
|
-
"border-
|
|
30
|
+
"border-2",
|
|
28
31
|
"border-neutral",
|
|
29
32
|
"bg-transparent",
|
|
30
33
|
"data-[hover=true]:bg-neutral-100"
|
|
@@ -35,7 +38,7 @@ var pagination = tv({
|
|
|
35
38
|
},
|
|
36
39
|
flat: {},
|
|
37
40
|
faded: {
|
|
38
|
-
item: "border-
|
|
41
|
+
item: "border-2"
|
|
39
42
|
}
|
|
40
43
|
},
|
|
41
44
|
color: {
|
|
@@ -7,6 +7,7 @@ import { tv } from "tailwind-variants";
|
|
|
7
7
|
var button = tv({
|
|
8
8
|
base: [
|
|
9
9
|
"z-0",
|
|
10
|
+
"group",
|
|
10
11
|
"relative",
|
|
11
12
|
"inline-flex",
|
|
12
13
|
"items-center",
|
|
@@ -34,7 +35,7 @@ var button = tv({
|
|
|
34
35
|
bordered: "border-2 !bg-transparent",
|
|
35
36
|
light: "!bg-transparent",
|
|
36
37
|
flat: "",
|
|
37
|
-
faded: "border-
|
|
38
|
+
faded: "border-2",
|
|
38
39
|
shadow: "",
|
|
39
40
|
ghost: "border-2 !bg-transparent"
|
|
40
41
|
},
|
|
@@ -10,9 +10,11 @@ var navbar = tv({
|
|
|
10
10
|
"flex",
|
|
11
11
|
"items-center",
|
|
12
12
|
"justify-center",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
"shadow-lg",
|
|
14
|
+
"shadow-neutral-300/40",
|
|
15
|
+
"dark:border-b",
|
|
16
|
+
"dark:border-neutral-100",
|
|
17
|
+
"dark:shadow-none"
|
|
16
18
|
],
|
|
17
19
|
wrapper: [
|
|
18
20
|
"flex",
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colorVariants
|
|
3
|
+
} from "./chunk-RO3WUCFF.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/tabs.ts
|
|
6
|
+
import { tv } from "tailwind-variants";
|
|
7
|
+
var tabs = tv({
|
|
8
|
+
slots: {
|
|
9
|
+
base: "inline-block",
|
|
10
|
+
tabList: ["flex", "items-center", "gap-2", "bg-neutral-100", "p-1"],
|
|
11
|
+
tab: [
|
|
12
|
+
"z-0",
|
|
13
|
+
"w-full",
|
|
14
|
+
"px-3",
|
|
15
|
+
"py-1",
|
|
16
|
+
"flex",
|
|
17
|
+
"group",
|
|
18
|
+
"relative",
|
|
19
|
+
"justify-center",
|
|
20
|
+
"items-center",
|
|
21
|
+
"outline-none",
|
|
22
|
+
"cursor-pointer",
|
|
23
|
+
"transition-opacity",
|
|
24
|
+
"data-[disabled=true]:cursor-not-allowed",
|
|
25
|
+
"data-[disabled=true]:opacity-30",
|
|
26
|
+
"data-[hover-unselected=true]:opacity-70",
|
|
27
|
+
"data-[focus-visible=true]:outline-none",
|
|
28
|
+
"data-[focus-visible=true]:ring-2",
|
|
29
|
+
"data-[focus-visible=true]:ring-primary",
|
|
30
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
31
|
+
"data-[focus-visible=true]:ring-offset-background",
|
|
32
|
+
"data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
33
|
+
],
|
|
34
|
+
tabContent: [
|
|
35
|
+
"relative",
|
|
36
|
+
"z-10",
|
|
37
|
+
"text-inherit",
|
|
38
|
+
"transition-colors",
|
|
39
|
+
"text-neutral-500",
|
|
40
|
+
"group-data-[selected=true]:text-foreground"
|
|
41
|
+
],
|
|
42
|
+
cursor: ["absolute", "z-0", "bg-white", "shadow-md"],
|
|
43
|
+
panel: [
|
|
44
|
+
"mt-3",
|
|
45
|
+
"outline-none",
|
|
46
|
+
"data-[focus-visible=true]:outline-none",
|
|
47
|
+
"data-[focus-visible=true]:ring-2",
|
|
48
|
+
"data-[focus-visible=true]:ring-primary",
|
|
49
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
50
|
+
"data-[focus-visible=true]:ring-offset-background",
|
|
51
|
+
"data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
variants: {
|
|
55
|
+
variant: {
|
|
56
|
+
solid: {
|
|
57
|
+
cursor: "inset-0"
|
|
58
|
+
},
|
|
59
|
+
light: {
|
|
60
|
+
tabList: "bg-transparent",
|
|
61
|
+
cursor: "inset-0"
|
|
62
|
+
},
|
|
63
|
+
underlined: {
|
|
64
|
+
tabList: "bg-transparent",
|
|
65
|
+
cursor: "h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"
|
|
66
|
+
},
|
|
67
|
+
bordered: {
|
|
68
|
+
tabList: "bg-transparent border-2 border-neutral-200 shadow-sm",
|
|
69
|
+
cursor: "inset-0"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
color: {
|
|
73
|
+
neutral: {},
|
|
74
|
+
primary: {},
|
|
75
|
+
secondary: {},
|
|
76
|
+
success: {},
|
|
77
|
+
warning: {},
|
|
78
|
+
danger: {}
|
|
79
|
+
},
|
|
80
|
+
size: {
|
|
81
|
+
xs: {
|
|
82
|
+
tab: "h-7 text-xs"
|
|
83
|
+
},
|
|
84
|
+
sm: {
|
|
85
|
+
tab: "h-8 text-sm"
|
|
86
|
+
},
|
|
87
|
+
md: {
|
|
88
|
+
tab: "h-9 text-sm"
|
|
89
|
+
},
|
|
90
|
+
lg: {
|
|
91
|
+
tab: "h-10 text-base"
|
|
92
|
+
},
|
|
93
|
+
xl: {
|
|
94
|
+
tab: "h-11 text-base"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
radius: {
|
|
98
|
+
none: {
|
|
99
|
+
tabList: "rounded-none",
|
|
100
|
+
tab: "rounded-none",
|
|
101
|
+
cursor: "rounded-none"
|
|
102
|
+
},
|
|
103
|
+
base: {
|
|
104
|
+
tabList: "rounded",
|
|
105
|
+
tab: "rounded",
|
|
106
|
+
cursor: "rounded"
|
|
107
|
+
},
|
|
108
|
+
sm: {
|
|
109
|
+
tabList: "rounded-md",
|
|
110
|
+
tab: "rounded-sm",
|
|
111
|
+
cursor: "rounded-sm"
|
|
112
|
+
},
|
|
113
|
+
md: {
|
|
114
|
+
tabList: "rounded-lg",
|
|
115
|
+
tab: "rounded-md",
|
|
116
|
+
cursor: "rounded-md"
|
|
117
|
+
},
|
|
118
|
+
lg: {
|
|
119
|
+
tabList: "rounded-xl",
|
|
120
|
+
tab: "rounded-lg",
|
|
121
|
+
cursor: "rounded-lg"
|
|
122
|
+
},
|
|
123
|
+
xl: {
|
|
124
|
+
tabList: "rounded-2xl",
|
|
125
|
+
tab: "rounded-xl",
|
|
126
|
+
cursor: "rounded-xl"
|
|
127
|
+
},
|
|
128
|
+
full: {
|
|
129
|
+
tabList: "rounded-full",
|
|
130
|
+
tab: "rounded-full",
|
|
131
|
+
cursor: "rounded-full"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
fullWidth: {
|
|
135
|
+
true: {
|
|
136
|
+
base: "w-full",
|
|
137
|
+
tabList: "w-full"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
isDisabled: {
|
|
141
|
+
true: {
|
|
142
|
+
tabList: "opacity-50 pointer-events-none"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
disableAnimation: {
|
|
146
|
+
true: {
|
|
147
|
+
tab: "transition-none",
|
|
148
|
+
tabContent: "transition-none"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
defaultVariants: {
|
|
153
|
+
radius: "xl",
|
|
154
|
+
color: "neutral",
|
|
155
|
+
variant: "solid",
|
|
156
|
+
size: "md",
|
|
157
|
+
fullWidth: false,
|
|
158
|
+
isDisabled: false,
|
|
159
|
+
disableAnimation: false
|
|
160
|
+
},
|
|
161
|
+
compoundVariants: [
|
|
162
|
+
{
|
|
163
|
+
variant: ["solid", "bordered", "light"],
|
|
164
|
+
color: "neutral",
|
|
165
|
+
class: {
|
|
166
|
+
cursor: ["bg-background", "dark:bg-neutral"],
|
|
167
|
+
tabContent: "group-data-[selected=true]:text-neutral-foreground"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
variant: ["solid", "bordered", "light"],
|
|
172
|
+
color: "primary",
|
|
173
|
+
class: {
|
|
174
|
+
cursor: colorVariants.solid.primary,
|
|
175
|
+
tabContent: "group-data-[selected=true]:text-primary-foreground"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
variant: ["solid", "bordered", "light"],
|
|
180
|
+
color: "secondary",
|
|
181
|
+
class: {
|
|
182
|
+
cursor: colorVariants.solid.secondary,
|
|
183
|
+
tabContent: "group-data-[selected=true]:text-secondary-foreground"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
variant: ["solid", "bordered", "light"],
|
|
188
|
+
color: "success",
|
|
189
|
+
class: {
|
|
190
|
+
cursor: colorVariants.solid.success,
|
|
191
|
+
tabContent: "group-data-[selected=true]:text-success-foreground"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
variant: ["solid", "bordered", "light"],
|
|
196
|
+
color: "warning",
|
|
197
|
+
class: {
|
|
198
|
+
cursor: colorVariants.solid.warning,
|
|
199
|
+
tabContent: "group-data-[selected=true]:text-warning-foreground"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
variant: ["solid", "bordered", "light"],
|
|
204
|
+
color: "danger",
|
|
205
|
+
class: {
|
|
206
|
+
cursor: colorVariants.solid.danger,
|
|
207
|
+
tabContent: "group-data-[selected=true]:text-danger-foreground"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
variant: "underlined",
|
|
212
|
+
color: "neutral",
|
|
213
|
+
class: {
|
|
214
|
+
cursor: "bg-foreground",
|
|
215
|
+
tabContent: "group-data-[selected=true]:text-foreground"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
variant: "underlined",
|
|
220
|
+
color: "primary",
|
|
221
|
+
class: {
|
|
222
|
+
cursor: "bg-primary",
|
|
223
|
+
tabContent: "group-data-[selected=true]:text-primary"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
variant: "underlined",
|
|
228
|
+
color: "secondary",
|
|
229
|
+
class: {
|
|
230
|
+
cursor: "bg-secondary",
|
|
231
|
+
tabContent: "group-data-[selected=true]:text-secondary"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
variant: "underlined",
|
|
236
|
+
color: "success",
|
|
237
|
+
class: {
|
|
238
|
+
cursor: "bg-success",
|
|
239
|
+
tabContent: "group-data-[selected=true]:text-success"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
variant: "underlined",
|
|
244
|
+
color: "warning",
|
|
245
|
+
class: {
|
|
246
|
+
cursor: "bg-warning",
|
|
247
|
+
tabContent: "group-data-[selected=true]:text-warning"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
variant: "underlined",
|
|
252
|
+
color: "danger",
|
|
253
|
+
class: {
|
|
254
|
+
cursor: "bg-danger",
|
|
255
|
+
tabContent: "group-data-[selected=true]:text-danger"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
disableAnimation: true,
|
|
260
|
+
variant: "underlined",
|
|
261
|
+
class: {
|
|
262
|
+
tab: [
|
|
263
|
+
"after:content-['']",
|
|
264
|
+
"after:absolute",
|
|
265
|
+
"after:bottom-0",
|
|
266
|
+
"after:h-[2px]",
|
|
267
|
+
"after:w-[80%]",
|
|
268
|
+
"after:opacity-0",
|
|
269
|
+
"after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]",
|
|
270
|
+
"data-[selected=true]:after:opacity-100"
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
disableAnimation: true,
|
|
276
|
+
color: "neutral",
|
|
277
|
+
variant: ["solid", "bordered", "light"],
|
|
278
|
+
class: {
|
|
279
|
+
tab: "data-[selected=true]:bg-neutral data-[selected=true]:text-neutral-foreground"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
disableAnimation: true,
|
|
284
|
+
color: "primary",
|
|
285
|
+
variant: ["solid", "bordered", "light"],
|
|
286
|
+
class: {
|
|
287
|
+
tab: "data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
disableAnimation: true,
|
|
292
|
+
color: "secondary",
|
|
293
|
+
variant: ["solid", "bordered", "light"],
|
|
294
|
+
class: {
|
|
295
|
+
tab: "data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
disableAnimation: true,
|
|
300
|
+
color: "success",
|
|
301
|
+
variant: ["solid", "bordered", "light"],
|
|
302
|
+
class: {
|
|
303
|
+
tab: "data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
disableAnimation: true,
|
|
308
|
+
color: "warning",
|
|
309
|
+
variant: ["solid", "bordered", "light"],
|
|
310
|
+
class: {
|
|
311
|
+
tab: "data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
disableAnimation: true,
|
|
316
|
+
color: "danger",
|
|
317
|
+
variant: ["solid", "bordered", "light"],
|
|
318
|
+
class: {
|
|
319
|
+
tab: "data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
disableAnimation: true,
|
|
324
|
+
color: "neutral",
|
|
325
|
+
variant: "underlined",
|
|
326
|
+
class: {
|
|
327
|
+
tab: "data-[selected=true]:after:bg-foreground"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
disableAnimation: true,
|
|
332
|
+
color: "primary",
|
|
333
|
+
variant: "underlined",
|
|
334
|
+
class: {
|
|
335
|
+
tab: "data-[selected=true]:after:bg-primary"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
disableAnimation: true,
|
|
340
|
+
color: "secondary",
|
|
341
|
+
variant: "underlined",
|
|
342
|
+
class: {
|
|
343
|
+
tab: "data-[selected=true]:after:bg-secondary"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
disableAnimation: true,
|
|
348
|
+
color: "success",
|
|
349
|
+
variant: "underlined",
|
|
350
|
+
class: {
|
|
351
|
+
tab: "data-[selected=true]:after:bg-success"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
disableAnimation: true,
|
|
356
|
+
color: "warning",
|
|
357
|
+
variant: "underlined",
|
|
358
|
+
class: {
|
|
359
|
+
tab: "data-[selected=true]:after:bg-warning"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
disableAnimation: true,
|
|
364
|
+
color: "danger",
|
|
365
|
+
variant: "underlined",
|
|
366
|
+
class: {
|
|
367
|
+
tab: "data-[selected=true]:after:bg-danger"
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
export {
|
|
374
|
+
tabs
|
|
375
|
+
};
|
|
@@ -29,18 +29,18 @@ var chip = tv({
|
|
|
29
29
|
variant: {
|
|
30
30
|
solid: {},
|
|
31
31
|
bordered: {
|
|
32
|
-
base: "border-
|
|
32
|
+
base: "border-2 bg-transparent"
|
|
33
33
|
},
|
|
34
34
|
light: {
|
|
35
35
|
base: "bg-transparent"
|
|
36
36
|
},
|
|
37
37
|
flat: {},
|
|
38
38
|
faded: {
|
|
39
|
-
base: "border-
|
|
39
|
+
base: "border-2"
|
|
40
40
|
},
|
|
41
41
|
shadow: {},
|
|
42
42
|
dot: {
|
|
43
|
-
base: "border-
|
|
43
|
+
base: "border-2 border-neutral text-foreground bg-transparent"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
color: {
|
package/dist/colors/common.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
commonColors
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
3
|
+
} from "../chunk-TPAK7DPZ.mjs";
|
|
5
4
|
import "../chunk-L2OL7R23.mjs";
|
|
6
5
|
import "../chunk-YZYGFPNK.mjs";
|
|
7
6
|
import "../chunk-Y4YW5MKL.mjs";
|
|
8
7
|
import "../chunk-KZJBCC2H.mjs";
|
|
9
8
|
import "../chunk-T3GWIVAM.mjs";
|
|
10
9
|
import "../chunk-OR5PUD24.mjs";
|
|
10
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
11
11
|
export {
|
|
12
12
|
commonColors
|
|
13
13
|
};
|
package/dist/colors/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XMDX7HIE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
semanticColors
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-37PIXVP4.mjs";
|
|
6
|
+
} from "../chunk-ZNTUEV24.mjs";
|
|
8
7
|
import "../chunk-M63AFAHO.mjs";
|
|
9
8
|
import {
|
|
10
9
|
commonColors
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
10
|
+
} from "../chunk-TPAK7DPZ.mjs";
|
|
13
11
|
import "../chunk-L2OL7R23.mjs";
|
|
14
12
|
import "../chunk-YZYGFPNK.mjs";
|
|
15
13
|
import "../chunk-Y4YW5MKL.mjs";
|
|
16
14
|
import "../chunk-KZJBCC2H.mjs";
|
|
17
15
|
import "../chunk-T3GWIVAM.mjs";
|
|
18
16
|
import "../chunk-OR5PUD24.mjs";
|
|
17
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
18
|
+
import "../chunk-37PIXVP4.mjs";
|
|
19
19
|
export {
|
|
20
20
|
colors,
|
|
21
21
|
commonColors,
|
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-
|
|
7
|
-
import "../chunk-CRCBVLUP.mjs";
|
|
8
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
5
|
+
} from "../chunk-ZNTUEV24.mjs";
|
|
6
|
+
import "../chunk-TPAK7DPZ.mjs";
|
|
9
7
|
import "../chunk-L2OL7R23.mjs";
|
|
10
8
|
import "../chunk-YZYGFPNK.mjs";
|
|
11
9
|
import "../chunk-Y4YW5MKL.mjs";
|
|
12
10
|
import "../chunk-KZJBCC2H.mjs";
|
|
13
11
|
import "../chunk-T3GWIVAM.mjs";
|
|
14
12
|
import "../chunk-OR5PUD24.mjs";
|
|
13
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
14
|
+
import "../chunk-37PIXVP4.mjs";
|
|
15
15
|
export {
|
|
16
16
|
semanticColors,
|
|
17
17
|
semanticColorsDark,
|
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-XMDX7HIE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
semanticColors
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-37PIXVP4.mjs";
|
|
7
|
+
} from "./chunk-ZNTUEV24.mjs";
|
|
9
8
|
import "./chunk-M63AFAHO.mjs";
|
|
10
9
|
import {
|
|
11
10
|
commonColors
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-DCEG5LGX.mjs";
|
|
11
|
+
} from "./chunk-TPAK7DPZ.mjs";
|
|
14
12
|
import "./chunk-L2OL7R23.mjs";
|
|
15
13
|
import "./chunk-YZYGFPNK.mjs";
|
|
16
14
|
import "./chunk-Y4YW5MKL.mjs";
|
|
17
15
|
import "./chunk-KZJBCC2H.mjs";
|
|
18
16
|
import "./chunk-T3GWIVAM.mjs";
|
|
19
17
|
import "./chunk-OR5PUD24.mjs";
|
|
18
|
+
import "./chunk-DCEG5LGX.mjs";
|
|
19
|
+
import "./chunk-37PIXVP4.mjs";
|
|
20
20
|
export {
|
|
21
21
|
colors,
|
|
22
22
|
commonColors,
|