@nextui-org/theme 0.0.0-dev-v2-20230527131721 → 0.0.0-dev-v2-20230527161625
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-7CTZKPXG.mjs → chunk-76WBK7WN.mjs} +6 -6
- package/dist/{chunk-TFNTYAAW.mjs → chunk-7IZNZXN6.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-MZAUPTXE.mjs → chunk-J5EAK3PA.mjs} +1 -1
- package/dist/{chunk-7EC2WH7W.mjs → chunk-NYEYKHJ3.mjs} +21 -21
- package/dist/{chunk-NFNV2TXA.mjs → chunk-QW2ZGOKD.mjs} +1 -1
- package/dist/{chunk-YMIOHWCD.mjs → chunk-QYXL3KZR.mjs} +4 -4
- package/dist/{chunk-XUFLJ7RP.mjs → chunk-SY2KAVTO.mjs} +1 -1
- package/dist/{chunk-JWVJZEAT.mjs → chunk-T23JC6II.mjs} +21 -13
- 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-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/index.js +2 -2
- package/dist/colors/index.mjs +2 -2
- package/dist/colors/semantic.js +2 -2
- package/dist/colors/semantic.mjs +1 -1
- package/dist/colors/types.d.ts +1 -1
- package/dist/colors.js +2 -2
- package/dist/colors.mjs +2 -2
- 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 +214 -206
- package/dist/components/index.mjs +27 -27
- 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 +36 -2
- package/dist/components/popover.js +33 -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 +216 -208
- package/dist/index.mjs +30 -30
- package/dist/plugin.js +2 -2
- package/dist/plugin.mjs +3 -3
- package/dist/utils/index.js +13 -13
- package/dist/utils/index.mjs +1 -1
- 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
|
@@ -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",
|
|
@@ -169,8 +169,15 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
169
169
|
flat: { base: "" },
|
|
170
170
|
shadow: { base: "" }
|
|
171
171
|
},
|
|
172
|
+
size: {
|
|
173
|
+
xs: { base: "text-xs" },
|
|
174
|
+
sm: { base: "text-sm" },
|
|
175
|
+
md: { base: "text-base" },
|
|
176
|
+
lg: { base: "text-lg" },
|
|
177
|
+
xl: { base: "text-xl" }
|
|
178
|
+
},
|
|
172
179
|
color: {
|
|
173
|
-
|
|
180
|
+
default: { base: colorVariants.solid.default },
|
|
174
181
|
foreground: { base: colorVariants.solid.foreground },
|
|
175
182
|
primary: { base: colorVariants.solid.primary },
|
|
176
183
|
secondary: { base: colorVariants.solid.secondary },
|
|
@@ -210,8 +217,9 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
210
217
|
},
|
|
211
218
|
defaultVariants: {
|
|
212
219
|
variant: "solid",
|
|
213
|
-
color: "
|
|
220
|
+
color: "default",
|
|
214
221
|
radius: "xl",
|
|
222
|
+
size: "md",
|
|
215
223
|
backdropVariant: "transparent",
|
|
216
224
|
disableAnimation: false,
|
|
217
225
|
triggerScaleOnOpen: true
|
|
@@ -219,9 +227,9 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
219
227
|
compoundVariants: [
|
|
220
228
|
{
|
|
221
229
|
variant: "shadow",
|
|
222
|
-
color: "
|
|
230
|
+
color: "default",
|
|
223
231
|
class: {
|
|
224
|
-
base: colorVariants.shadow.
|
|
232
|
+
base: colorVariants.shadow.default
|
|
225
233
|
}
|
|
226
234
|
},
|
|
227
235
|
{
|
|
@@ -256,8 +264,8 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
256
264
|
},
|
|
257
265
|
{
|
|
258
266
|
variant: "bordered",
|
|
259
|
-
color: "
|
|
260
|
-
class: { base: colorVariants.bordered.
|
|
267
|
+
color: "default",
|
|
268
|
+
class: { base: colorVariants.bordered.default }
|
|
261
269
|
},
|
|
262
270
|
{
|
|
263
271
|
variant: "bordered",
|
|
@@ -291,8 +299,8 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
291
299
|
},
|
|
292
300
|
{
|
|
293
301
|
variant: "flat",
|
|
294
|
-
color: "
|
|
295
|
-
class: { base: colorVariants.flat.
|
|
302
|
+
color: "default",
|
|
303
|
+
class: { base: colorVariants.flat.default }
|
|
296
304
|
},
|
|
297
305
|
{
|
|
298
306
|
variant: "flat",
|
|
@@ -326,8 +334,8 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
326
334
|
},
|
|
327
335
|
{
|
|
328
336
|
variant: "faded",
|
|
329
|
-
color: "
|
|
330
|
-
class: { base: colorVariants.faded.
|
|
337
|
+
color: "default",
|
|
338
|
+
class: { base: colorVariants.faded.default }
|
|
331
339
|
},
|
|
332
340
|
{
|
|
333
341
|
variant: "faded",
|
|
@@ -361,8 +369,8 @@ var popover = (0, import_tailwind_variants.tv)({
|
|
|
361
369
|
},
|
|
362
370
|
{
|
|
363
371
|
variant: "light",
|
|
364
|
-
color: "
|
|
365
|
-
class: { base: colorVariants.light.
|
|
372
|
+
color: "default",
|
|
373
|
+
class: { base: colorVariants.light.default }
|
|
366
374
|
},
|
|
367
375
|
{
|
|
368
376
|
variant: "light",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
popover
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-T23JC6II.mjs";
|
|
4
4
|
import "../chunk-CMYR6AOY.mjs";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-IQPW7V4N.mjs";
|
|
6
6
|
import "../chunk-K7LK7NCE.mjs";
|
|
7
7
|
import "../chunk-INZK6TTL.mjs";
|
|
8
8
|
export {
|
|
@@ -31,13 +31,13 @@ var progress = (0, import_tailwind_variants.tv)(
|
|
|
31
31
|
label: "",
|
|
32
32
|
labelWrapper: "flex justify-between",
|
|
33
33
|
value: "",
|
|
34
|
-
track: "z-0 relative bg-
|
|
34
|
+
track: "z-0 relative bg-default-300/50 overflow-hidden",
|
|
35
35
|
filler: "h-full"
|
|
36
36
|
},
|
|
37
37
|
variants: {
|
|
38
38
|
color: {
|
|
39
|
-
|
|
40
|
-
filler: "bg-
|
|
39
|
+
default: {
|
|
40
|
+
filler: "bg-default-400"
|
|
41
41
|
},
|
|
42
42
|
primary: {
|
|
43
43
|
filler: "bg-primary"
|
|
@@ -26,7 +26,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
26
26
|
*/
|
|
27
27
|
declare const radio: tailwind_variants.TVReturnType<{
|
|
28
28
|
color: {
|
|
29
|
-
|
|
29
|
+
default: {
|
|
30
30
|
control: string;
|
|
31
31
|
wrapper: string;
|
|
32
32
|
};
|
|
@@ -147,7 +147,7 @@ declare const radio: tailwind_variants.TVReturnType<{
|
|
|
147
147
|
description: string;
|
|
148
148
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
149
149
|
color: {
|
|
150
|
-
|
|
150
|
+
default: {
|
|
151
151
|
control: string;
|
|
152
152
|
wrapper: string;
|
|
153
153
|
};
|
package/dist/components/radio.js
CHANGED
|
@@ -38,8 +38,8 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
38
38
|
"border-solid",
|
|
39
39
|
"border-2",
|
|
40
40
|
"box-border",
|
|
41
|
-
"border-
|
|
42
|
-
"group-data-[hover-unchecked=true]:bg-
|
|
41
|
+
"border-default",
|
|
42
|
+
"group-data-[hover-unchecked=true]:bg-default-100",
|
|
43
43
|
"group-data-[focus-visible=true]:outline-none",
|
|
44
44
|
"group-data-[focus-visible=true]:ring-2",
|
|
45
45
|
"group-data-[focus-visible=true]:!ring-primary",
|
|
@@ -59,13 +59,13 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
59
59
|
"group-data-[checked=true]:scale-100"
|
|
60
60
|
],
|
|
61
61
|
label: "relative text-foreground select-none",
|
|
62
|
-
description: "relative text-
|
|
62
|
+
description: "relative text-default-400"
|
|
63
63
|
},
|
|
64
64
|
variants: {
|
|
65
65
|
color: {
|
|
66
|
-
|
|
67
|
-
control: "bg-
|
|
68
|
-
wrapper: "group-data-[checked=true]:border-
|
|
66
|
+
default: {
|
|
67
|
+
control: "bg-default-500 text-default-foreground",
|
|
68
|
+
wrapper: "group-data-[checked=true]:border-default-500"
|
|
69
69
|
},
|
|
70
70
|
primary: {
|
|
71
71
|
control: "bg-primary text-primary-foreground",
|
|
@@ -188,7 +188,7 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
188
188
|
var radioGroup = (0, import_tailwind_variants.tv)({
|
|
189
189
|
slots: {
|
|
190
190
|
base: "relative flex flex-col gap-2",
|
|
191
|
-
label: "relative text-
|
|
191
|
+
label: "relative text-default-500",
|
|
192
192
|
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row "
|
|
193
193
|
}
|
|
194
194
|
});
|
|
@@ -42,7 +42,7 @@ var skeleton = (0, import_tailwind_variants.tv)({
|
|
|
42
42
|
"before:bg-gradient-to-r",
|
|
43
43
|
"before:from-transparent",
|
|
44
44
|
"before:via-content4",
|
|
45
|
-
"dark:before:via-
|
|
45
|
+
"dark:before:via-default-700/10",
|
|
46
46
|
"before:to-transparent",
|
|
47
47
|
"after:opacity-100",
|
|
48
48
|
"after:absolute",
|
|
@@ -28,7 +28,7 @@ declare const snippet: tailwind_variants.TVReturnType<{
|
|
|
28
28
|
shadow: string;
|
|
29
29
|
};
|
|
30
30
|
color: {
|
|
31
|
-
|
|
31
|
+
default: {
|
|
32
32
|
base: string;
|
|
33
33
|
};
|
|
34
34
|
primary: {
|
|
@@ -115,7 +115,7 @@ declare const snippet: tailwind_variants.TVReturnType<{
|
|
|
115
115
|
shadow: string;
|
|
116
116
|
};
|
|
117
117
|
color: {
|
|
118
|
-
|
|
118
|
+
default: {
|
|
119
119
|
base: string;
|
|
120
120
|
};
|
|
121
121
|
primary: {
|
|
@@ -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",
|
|
@@ -122,8 +122,8 @@ var snippet = (0, import_tailwind_variants.tv)({
|
|
|
122
122
|
shadow: ""
|
|
123
123
|
},
|
|
124
124
|
color: {
|
|
125
|
-
|
|
126
|
-
base: colorVariants.flat.
|
|
125
|
+
default: {
|
|
126
|
+
base: colorVariants.flat.default
|
|
127
127
|
},
|
|
128
128
|
primary: {
|
|
129
129
|
base: colorVariants.flat.primary
|
|
@@ -195,7 +195,7 @@ var snippet = (0, import_tailwind_variants.tv)({
|
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
defaultVariants: {
|
|
198
|
-
color: "
|
|
198
|
+
color: "default",
|
|
199
199
|
variant: "flat",
|
|
200
200
|
size: "md",
|
|
201
201
|
radius: "lg",
|
|
@@ -205,9 +205,9 @@ var snippet = (0, import_tailwind_variants.tv)({
|
|
|
205
205
|
compoundVariants: [
|
|
206
206
|
{
|
|
207
207
|
variant: "solid",
|
|
208
|
-
color: "
|
|
208
|
+
color: "default",
|
|
209
209
|
class: {
|
|
210
|
-
base: colorVariants.solid.
|
|
210
|
+
base: colorVariants.solid.default
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
213
|
{
|
|
@@ -247,9 +247,9 @@ var snippet = (0, import_tailwind_variants.tv)({
|
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
variant: "shadow",
|
|
250
|
-
color: "
|
|
250
|
+
color: "default",
|
|
251
251
|
class: {
|
|
252
|
-
base: colorVariants.shadow.
|
|
252
|
+
base: colorVariants.shadow.default
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
{
|
|
@@ -289,9 +289,9 @@ var snippet = (0, import_tailwind_variants.tv)({
|
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
variant: "bordered",
|
|
292
|
-
color: "
|
|
292
|
+
color: "default",
|
|
293
293
|
class: {
|
|
294
|
-
base: colorVariants.bordered.
|
|
294
|
+
base: colorVariants.bordered.default
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
297
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
snippet
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-AWAXOLMA.mjs";
|
|
4
4
|
import "../chunk-CMYR6AOY.mjs";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-IQPW7V4N.mjs";
|
|
6
6
|
import "../chunk-K7LK7NCE.mjs";
|
|
7
7
|
import "../chunk-INZK6TTL.mjs";
|
|
8
8
|
export {
|
|
@@ -56,7 +56,7 @@ declare const spinner: tailwind_variants.TVReturnType<{
|
|
|
56
56
|
circle1: string;
|
|
57
57
|
circle2: string;
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
default: {
|
|
60
60
|
circle1: string;
|
|
61
61
|
circle2: string;
|
|
62
62
|
};
|
|
@@ -149,7 +149,7 @@ declare const spinner: tailwind_variants.TVReturnType<{
|
|
|
149
149
|
circle1: string;
|
|
150
150
|
circle2: string;
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
default: {
|
|
153
153
|
circle1: string;
|
|
154
154
|
circle2: string;
|
|
155
155
|
};
|
|
@@ -97,9 +97,9 @@ var spinner = (0, import_tailwind_variants.tv)({
|
|
|
97
97
|
circle1: "border-b-white",
|
|
98
98
|
circle2: "border-b-white"
|
|
99
99
|
},
|
|
100
|
-
|
|
101
|
-
circle1: "border-b-
|
|
102
|
-
circle2: "border-b-
|
|
100
|
+
default: {
|
|
101
|
+
circle1: "border-b-default",
|
|
102
|
+
circle2: "border-b-default"
|
|
103
103
|
},
|
|
104
104
|
primary: {
|
|
105
105
|
circle1: "border-b-primary",
|
|
@@ -39,7 +39,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
39
39
|
*/
|
|
40
40
|
declare const table: tailwind_variants.TVReturnType<{
|
|
41
41
|
color: {
|
|
42
|
-
|
|
42
|
+
default: {
|
|
43
43
|
td: string;
|
|
44
44
|
};
|
|
45
45
|
primary: {
|
|
@@ -161,7 +161,7 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
161
161
|
loadingWrapper: string;
|
|
162
162
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
163
163
|
color: {
|
|
164
|
-
|
|
164
|
+
default: {
|
|
165
165
|
td: string;
|
|
166
166
|
};
|
|
167
167
|
primary: {
|
package/dist/components/table.js
CHANGED
|
@@ -42,7 +42,7 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
42
42
|
"justify-between",
|
|
43
43
|
"gap-4",
|
|
44
44
|
"border",
|
|
45
|
-
"border-
|
|
45
|
+
"border-default-100",
|
|
46
46
|
"overflow-auto"
|
|
47
47
|
],
|
|
48
48
|
table: "min-w-full h-auto",
|
|
@@ -55,8 +55,8 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
55
55
|
"h-10",
|
|
56
56
|
"text-left",
|
|
57
57
|
"align-middle",
|
|
58
|
-
"bg-
|
|
59
|
-
"text-
|
|
58
|
+
"bg-default-100",
|
|
59
|
+
"text-default-500",
|
|
60
60
|
"text-xs",
|
|
61
61
|
"font-semibold",
|
|
62
62
|
"first:rounded-l-lg",
|
|
@@ -64,7 +64,7 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
64
64
|
"outline-none",
|
|
65
65
|
"data-[sortable=true]:transition-colors",
|
|
66
66
|
"data-[sortable=true]:cursor-pointer",
|
|
67
|
-
"data-[hover=true]:text-
|
|
67
|
+
"data-[hover=true]:text-default-400",
|
|
68
68
|
...focusRing
|
|
69
69
|
],
|
|
70
70
|
td: [
|
|
@@ -83,7 +83,7 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
83
83
|
"before:inset-0",
|
|
84
84
|
"before:opacity-0",
|
|
85
85
|
"data-[selected=true]:before:opacity-100",
|
|
86
|
-
"group-data-[disabled=true]:text-
|
|
86
|
+
"group-data-[disabled=true]:text-default-300"
|
|
87
87
|
],
|
|
88
88
|
tfoot: "",
|
|
89
89
|
sortIcon: [
|
|
@@ -97,13 +97,13 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
97
97
|
"group-data-[hover=true]:opacity-100",
|
|
98
98
|
"data-[direction=ascending]:rotate-180"
|
|
99
99
|
],
|
|
100
|
-
emptyWrapper: "text-
|
|
100
|
+
emptyWrapper: "text-default-400 align-middle text-center h-40",
|
|
101
101
|
loadingWrapper: "absolute inset-0 flex items-center justify-center"
|
|
102
102
|
},
|
|
103
103
|
variants: {
|
|
104
104
|
color: {
|
|
105
|
-
|
|
106
|
-
td: "before:bg-
|
|
105
|
+
default: {
|
|
106
|
+
td: "before:bg-default-200 dark:before:bg-default-100 data-[selected=true]:text-default-foreground"
|
|
107
107
|
},
|
|
108
108
|
primary: {
|
|
109
109
|
td: "before:bg-primary-50 data-[selected=true]:text-primary"
|
|
@@ -183,7 +183,7 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
183
183
|
isStriped: {
|
|
184
184
|
true: {
|
|
185
185
|
td: [
|
|
186
|
-
"group-data-[odd=true]:before:bg-
|
|
186
|
+
"group-data-[odd=true]:before:bg-default-100",
|
|
187
187
|
"group-data-[odd=true]:before:opacity-100"
|
|
188
188
|
]
|
|
189
189
|
}
|
|
@@ -224,7 +224,7 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
224
224
|
layout: "auto",
|
|
225
225
|
shadow: "lg",
|
|
226
226
|
radius: "xl",
|
|
227
|
-
color: "
|
|
227
|
+
color: "default",
|
|
228
228
|
hideHeader: false,
|
|
229
229
|
isStriped: false,
|
|
230
230
|
fullWidth: true
|
|
@@ -38,7 +38,7 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
color: {
|
|
41
|
-
|
|
41
|
+
default: {};
|
|
42
42
|
primary: {};
|
|
43
43
|
secondary: {};
|
|
44
44
|
success: {};
|
|
@@ -142,7 +142,7 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
144
|
color: {
|
|
145
|
-
|
|
145
|
+
default: {};
|
|
146
146
|
primary: {};
|
|
147
147
|
secondary: {};
|
|
148
148
|
success: {};
|