@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
|
@@ -28,7 +28,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
28
28
|
|
|
29
29
|
// src/utils/variants.ts
|
|
30
30
|
var solid = {
|
|
31
|
-
|
|
31
|
+
default: "bg-default text-default-foreground",
|
|
32
32
|
primary: "bg-primary text-primary-foreground",
|
|
33
33
|
secondary: "bg-secondary text-secondary-foreground",
|
|
34
34
|
success: "bg-success text-success-foreground",
|
|
@@ -37,7 +37,7 @@ var solid = {
|
|
|
37
37
|
foreground: "bg-foreground text-background"
|
|
38
38
|
};
|
|
39
39
|
var shadow = {
|
|
40
|
-
|
|
40
|
+
default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
|
|
41
41
|
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
42
42
|
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
43
43
|
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
@@ -46,7 +46,7 @@ var shadow = {
|
|
|
46
46
|
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
47
47
|
};
|
|
48
48
|
var bordered = {
|
|
49
|
-
|
|
49
|
+
default: "bg-transparent border-default text-foreground",
|
|
50
50
|
primary: "bg-transparent border-primary text-primary",
|
|
51
51
|
secondary: "bg-transparent border-secondary text-secondary",
|
|
52
52
|
success: "bg-transparent border-success text-success",
|
|
@@ -55,7 +55,7 @@ var bordered = {
|
|
|
55
55
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
56
56
|
};
|
|
57
57
|
var flat = {
|
|
58
|
-
|
|
58
|
+
default: "bg-default-100 text-default-foreground",
|
|
59
59
|
primary: "bg-primary-50 text-primary",
|
|
60
60
|
secondary: "bg-secondary-100 text-secondary",
|
|
61
61
|
success: "bg-success-50 text-success",
|
|
@@ -64,16 +64,16 @@ var flat = {
|
|
|
64
64
|
foreground: "bg-foreground/10 text-foreground"
|
|
65
65
|
};
|
|
66
66
|
var faded = {
|
|
67
|
-
|
|
68
|
-
primary: "border-
|
|
69
|
-
secondary: "border-
|
|
70
|
-
success: "border-
|
|
71
|
-
warning: "border-
|
|
72
|
-
danger: "border-
|
|
73
|
-
foreground: "border-
|
|
67
|
+
default: "border-default bg-default-100 text-default-foreground",
|
|
68
|
+
primary: "border-default bg-default-100 text-primary",
|
|
69
|
+
secondary: "border-default bg-default-100 text-secondary",
|
|
70
|
+
success: "border-default bg-default-100 text-success",
|
|
71
|
+
warning: "border-default bg-default-100 text-warning",
|
|
72
|
+
danger: "border-default bg-default-100 text-danger",
|
|
73
|
+
foreground: "border-default bg-default-100 text-foreground"
|
|
74
74
|
};
|
|
75
75
|
var light = {
|
|
76
|
-
|
|
76
|
+
default: "bg-transparent text-default-foreground",
|
|
77
77
|
primary: "bg-transparent text-primary",
|
|
78
78
|
secondary: "bg-transparent text-secondary",
|
|
79
79
|
success: "bg-transparent text-success",
|
|
@@ -82,7 +82,7 @@ var light = {
|
|
|
82
82
|
foreground: "bg-transparent text-foreground"
|
|
83
83
|
};
|
|
84
84
|
var ghost = {
|
|
85
|
-
|
|
85
|
+
default: "border-default text-default-foreground hover:!bg-default",
|
|
86
86
|
primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
|
|
87
87
|
secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
|
|
88
88
|
success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
|
|
@@ -143,7 +143,7 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
143
143
|
xl: "px-8 h-14 text-lg"
|
|
144
144
|
},
|
|
145
145
|
color: {
|
|
146
|
-
|
|
146
|
+
default: "",
|
|
147
147
|
primary: "",
|
|
148
148
|
secondary: "",
|
|
149
149
|
success: "",
|
|
@@ -185,7 +185,7 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
185
185
|
defaultVariants: {
|
|
186
186
|
size: "md",
|
|
187
187
|
variant: "solid",
|
|
188
|
-
color: "
|
|
188
|
+
color: "default",
|
|
189
189
|
radius: "xl",
|
|
190
190
|
fullWidth: false,
|
|
191
191
|
isDisabled: false,
|
|
@@ -196,8 +196,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
196
196
|
compoundVariants: [
|
|
197
197
|
{
|
|
198
198
|
variant: "solid",
|
|
199
|
-
color: "
|
|
200
|
-
class: colorVariants.solid.
|
|
199
|
+
color: "default",
|
|
200
|
+
class: colorVariants.solid.default
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
variant: "solid",
|
|
@@ -226,8 +226,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
variant: "shadow",
|
|
229
|
-
color: "
|
|
230
|
-
class: colorVariants.shadow.
|
|
229
|
+
color: "default",
|
|
230
|
+
class: colorVariants.shadow.default
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
variant: "shadow",
|
|
@@ -256,8 +256,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
variant: "bordered",
|
|
259
|
-
color: "
|
|
260
|
-
class: colorVariants.bordered.
|
|
259
|
+
color: "default",
|
|
260
|
+
class: colorVariants.bordered.default
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
variant: "bordered",
|
|
@@ -286,8 +286,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
variant: "flat",
|
|
289
|
-
color: "
|
|
290
|
-
class: colorVariants.flat.
|
|
289
|
+
color: "default",
|
|
290
|
+
class: colorVariants.flat.default
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
variant: "flat",
|
|
@@ -316,8 +316,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
variant: "faded",
|
|
319
|
-
color: "
|
|
320
|
-
class: colorVariants.faded.
|
|
319
|
+
color: "default",
|
|
320
|
+
class: colorVariants.faded.default
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
variant: "faded",
|
|
@@ -346,8 +346,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
variant: "light",
|
|
349
|
-
color: "
|
|
350
|
-
class: [colorVariants.light.
|
|
349
|
+
color: "default",
|
|
350
|
+
class: [colorVariants.light.default, "data-[hover=true]:bg-default-100"]
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
variant: "light",
|
|
@@ -376,8 +376,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
variant: "ghost",
|
|
379
|
-
color: "
|
|
380
|
-
class: colorVariants.ghost.
|
|
379
|
+
color: "default",
|
|
380
|
+
class: colorVariants.ghost.default
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
383
|
variant: "ghost",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
button,
|
|
3
3
|
buttonGroup
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3YUVISFE.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
|
button,
|
package/dist/components/card.js
CHANGED
|
@@ -37,7 +37,7 @@ var card = (0, import_tailwind_variants.tv)({
|
|
|
37
37
|
"box-border",
|
|
38
38
|
"bg-background",
|
|
39
39
|
"dark:bg-content1",
|
|
40
|
-
"border border-
|
|
40
|
+
"border border-default-100",
|
|
41
41
|
"data-[focus-visible=true]:outline-none",
|
|
42
42
|
"data-[focus-visible=true]:ring-2",
|
|
43
43
|
"data-[focus-visible=true]:ring-primary",
|
package/dist/components/card.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
20
20
|
*/
|
|
21
21
|
declare const checkbox: tailwind_variants.TVReturnType<{
|
|
22
22
|
color: {
|
|
23
|
-
|
|
23
|
+
default: {
|
|
24
24
|
wrapper: string;
|
|
25
25
|
};
|
|
26
26
|
primary: {
|
|
@@ -118,7 +118,7 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
118
118
|
label: string;
|
|
119
119
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
120
120
|
color: {
|
|
121
|
-
|
|
121
|
+
default: {
|
|
122
122
|
wrapper: string;
|
|
123
123
|
};
|
|
124
124
|
primary: {
|
|
@@ -41,7 +41,7 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
41
41
|
"before:border-solid",
|
|
42
42
|
"before:border-2",
|
|
43
43
|
"before:box-border",
|
|
44
|
-
"before:border-
|
|
44
|
+
"before:border-default",
|
|
45
45
|
"after:content-['']",
|
|
46
46
|
"after:absolute",
|
|
47
47
|
"after:inset-0",
|
|
@@ -50,8 +50,8 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
50
50
|
"after:origin-center",
|
|
51
51
|
"group-data-[selected=true]:after:scale-100",
|
|
52
52
|
"group-data-[selected=true]:after:opacity-100",
|
|
53
|
-
"group-data-[hover=true]:before:bg-
|
|
54
|
-
"group-data-[hover=true]:before:bg-
|
|
53
|
+
"group-data-[hover=true]:before:bg-default-100",
|
|
54
|
+
"group-data-[hover=true]:before:bg-default-100",
|
|
55
55
|
"group-data-[focus-visible=true]:outline-none",
|
|
56
56
|
"group-data-[focus-visible=true]:ring-2",
|
|
57
57
|
"group-data-[focus-visible=true]:!ring-primary",
|
|
@@ -64,8 +64,8 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
64
64
|
},
|
|
65
65
|
variants: {
|
|
66
66
|
color: {
|
|
67
|
-
|
|
68
|
-
wrapper: "after:bg-
|
|
67
|
+
default: {
|
|
68
|
+
wrapper: "after:bg-default after:text-default-foreground text-default-foreground"
|
|
69
69
|
},
|
|
70
70
|
primary: {
|
|
71
71
|
wrapper: "after:bg-primary after:text-primary-foreground text-primary-foreground"
|
|
@@ -184,7 +184,7 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
184
184
|
var checkboxGroup = (0, import_tailwind_variants.tv)({
|
|
185
185
|
slots: {
|
|
186
186
|
base: "relative flex flex-col gap-2",
|
|
187
|
-
label: "relative text-
|
|
187
|
+
label: "relative text-default-500",
|
|
188
188
|
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row "
|
|
189
189
|
}
|
|
190
190
|
});
|
|
@@ -38,7 +38,7 @@ declare const chip: tailwind_variants.TVReturnType<{
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
color: {
|
|
41
|
-
|
|
41
|
+
default: {
|
|
42
42
|
dot: string;
|
|
43
43
|
};
|
|
44
44
|
primary: {
|
|
@@ -165,7 +165,7 @@ declare const chip: tailwind_variants.TVReturnType<{
|
|
|
165
165
|
};
|
|
166
166
|
};
|
|
167
167
|
color: {
|
|
168
|
-
|
|
168
|
+
default: {
|
|
169
169
|
dot: string;
|
|
170
170
|
};
|
|
171
171
|
primary: {
|
package/dist/components/chip.js
CHANGED
|
@@ -37,7 +37,7 @@ var ringClasses = [
|
|
|
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",
|
|
@@ -143,12 +143,12 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
143
143
|
},
|
|
144
144
|
shadow: {},
|
|
145
145
|
dot: {
|
|
146
|
-
base: "border-2 border-
|
|
146
|
+
base: "border-2 border-default text-foreground bg-transparent"
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
149
|
color: {
|
|
150
|
-
|
|
151
|
-
dot: "bg-
|
|
150
|
+
default: {
|
|
151
|
+
dot: "bg-default-400"
|
|
152
152
|
},
|
|
153
153
|
primary: {
|
|
154
154
|
dot: "bg-primary"
|
|
@@ -232,7 +232,7 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
232
232
|
},
|
|
233
233
|
defaultVariants: {
|
|
234
234
|
variant: "solid",
|
|
235
|
-
color: "
|
|
235
|
+
color: "default",
|
|
236
236
|
size: "md",
|
|
237
237
|
radius: "full",
|
|
238
238
|
isDisabled: false
|
|
@@ -240,9 +240,9 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
240
240
|
compoundVariants: [
|
|
241
241
|
{
|
|
242
242
|
variant: "solid",
|
|
243
|
-
color: "
|
|
243
|
+
color: "default",
|
|
244
244
|
class: {
|
|
245
|
-
base: colorVariants.solid.
|
|
245
|
+
base: colorVariants.solid.default
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
{
|
|
@@ -282,9 +282,9 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
variant: "shadow",
|
|
285
|
-
color: "
|
|
285
|
+
color: "default",
|
|
286
286
|
class: {
|
|
287
|
-
base: colorVariants.shadow.
|
|
287
|
+
base: colorVariants.shadow.default
|
|
288
288
|
}
|
|
289
289
|
},
|
|
290
290
|
{
|
|
@@ -324,9 +324,9 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
variant: "bordered",
|
|
327
|
-
color: "
|
|
327
|
+
color: "default",
|
|
328
328
|
class: {
|
|
329
|
-
base: colorVariants.bordered.
|
|
329
|
+
base: colorVariants.bordered.default
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
{
|
|
@@ -366,9 +366,9 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
variant: "flat",
|
|
369
|
-
color: "
|
|
369
|
+
color: "default",
|
|
370
370
|
class: {
|
|
371
|
-
base: colorVariants.flat.
|
|
371
|
+
base: colorVariants.flat.default
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
{
|
|
@@ -408,9 +408,9 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
variant: "faded",
|
|
411
|
-
color: "
|
|
411
|
+
color: "default",
|
|
412
412
|
class: {
|
|
413
|
-
base: colorVariants.faded.
|
|
413
|
+
base: colorVariants.faded.default
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
416
|
{
|
|
@@ -450,9 +450,9 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
variant: "light",
|
|
453
|
-
color: "
|
|
453
|
+
color: "default",
|
|
454
454
|
class: {
|
|
455
|
-
base: colorVariants.light.
|
|
455
|
+
base: colorVariants.light.default
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
{
|
package/dist/components/chip.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chip
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ANKTYY3U.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
|
chip
|
|
@@ -23,7 +23,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
23
23
|
*/
|
|
24
24
|
declare const circularProgress: tailwind_variants.TVReturnType<{
|
|
25
25
|
color: {
|
|
26
|
-
|
|
26
|
+
default: {
|
|
27
27
|
svg: string;
|
|
28
28
|
};
|
|
29
29
|
primary: {
|
|
@@ -95,7 +95,7 @@ declare const circularProgress: tailwind_variants.TVReturnType<{
|
|
|
95
95
|
value: string;
|
|
96
96
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
97
97
|
color: {
|
|
98
|
-
|
|
98
|
+
default: {
|
|
99
99
|
svg: string;
|
|
100
100
|
};
|
|
101
101
|
primary: {
|
|
@@ -30,14 +30,14 @@ var circularProgress = (0, import_tailwind_variants.tv)({
|
|
|
30
30
|
label: "",
|
|
31
31
|
svgWrapper: "relative block",
|
|
32
32
|
svg: "z-0 relative overflow-hidden",
|
|
33
|
-
track: "h-full stroke-
|
|
33
|
+
track: "h-full stroke-default-300/50",
|
|
34
34
|
indicator: "h-full stroke-current",
|
|
35
35
|
value: "absolute font-normal inset-0 flex items-center justify-center"
|
|
36
36
|
},
|
|
37
37
|
variants: {
|
|
38
38
|
color: {
|
|
39
|
-
|
|
40
|
-
svg: "text-
|
|
39
|
+
default: {
|
|
40
|
+
svg: "text-default-400"
|
|
41
41
|
},
|
|
42
42
|
primary: {
|
|
43
43
|
svg: "text-primary"
|
|
@@ -14,7 +14,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
14
14
|
*/
|
|
15
15
|
declare const code: tailwind_variants.TVReturnType<{
|
|
16
16
|
color: {
|
|
17
|
-
|
|
17
|
+
default: string;
|
|
18
18
|
primary: string;
|
|
19
19
|
secondary: string;
|
|
20
20
|
success: string;
|
|
@@ -39,7 +39,7 @@ declare const code: tailwind_variants.TVReturnType<{
|
|
|
39
39
|
};
|
|
40
40
|
}, unknown, undefined, undefined, string[], tailwind_variants_dist_config.TVConfig<{
|
|
41
41
|
color: {
|
|
42
|
-
|
|
42
|
+
default: string;
|
|
43
43
|
primary: string;
|
|
44
44
|
secondary: string;
|
|
45
45
|
success: string;
|
package/dist/components/code.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",
|
|
@@ -104,7 +104,7 @@ var code = (0, import_tailwind_variants.tv)({
|
|
|
104
104
|
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
105
105
|
variants: {
|
|
106
106
|
color: {
|
|
107
|
-
|
|
107
|
+
default: colorVariants.flat.default,
|
|
108
108
|
primary: colorVariants.flat.primary,
|
|
109
109
|
secondary: colorVariants.flat.secondary,
|
|
110
110
|
success: colorVariants.flat.success,
|
|
@@ -129,7 +129,7 @@ var code = (0, import_tailwind_variants.tv)({
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
defaultVariants: {
|
|
132
|
-
color: "
|
|
132
|
+
color: "default",
|
|
133
133
|
size: "sm",
|
|
134
134
|
radius: "lg"
|
|
135
135
|
}
|
package/dist/components/code.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
code
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-E3HXNSRG.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
|
code
|
|
@@ -61,7 +61,7 @@ declare const dropdownItem: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
color: {
|
|
64
|
-
|
|
64
|
+
default: {};
|
|
65
65
|
primary: {};
|
|
66
66
|
secondary: {};
|
|
67
67
|
success: {};
|
|
@@ -111,7 +111,7 @@ declare const dropdownItem: tailwind_variants.TVReturnType<{
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
color: {
|
|
114
|
-
|
|
114
|
+
default: {};
|
|
115
115
|
primary: {};
|
|
116
116
|
secondary: {};
|
|
117
117
|
success: {};
|