@kopexa/theme 1.7.1 → 1.7.2
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-T5PESSOS.mjs → chunk-CQZMQVAO.mjs} +1 -1
- package/dist/{chunk-WPVIIT3Z.mjs → chunk-CWX7ZJ4B.mjs} +1 -1
- package/dist/{chunk-JX7F3NZL.mjs → chunk-HALNIEC7.mjs} +19 -3
- package/dist/{chunk-LURDY4A5.mjs → chunk-HU3STCSK.mjs} +1 -1
- package/dist/{chunk-XJ7XBZNF.mjs → chunk-KRTETJ33.mjs} +1 -1
- package/dist/{chunk-LG2J56LI.mjs → chunk-V5U46MEN.mjs} +4 -3
- package/dist/components/avatar.js +4 -3
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.d.mts +3 -0
- package/dist/components/button.d.ts +3 -0
- package/dist/components/button.js +22 -5
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.js +4 -3
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +4 -3
- package/dist/components/code.mjs +2 -2
- package/dist/components/index.js +22 -5
- package/dist/components/index.mjs +6 -6
- package/dist/components/skeleton-avatar.js +4 -3
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/index.js +22 -5
- package/dist/index.mjs +6 -6
- package/dist/utils/variants.d.mts +1 -0
- package/dist/utils/variants.d.ts +1 -0
- package/dist/utils/variants.js +4 -3
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-UEMJVVVF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
colorVariants
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V5U46MEN.mjs";
|
|
7
7
|
|
|
8
8
|
// src/components/button.ts
|
|
9
9
|
import { tv } from "tailwind-variants";
|
|
@@ -23,7 +23,7 @@ var button = tv({
|
|
|
23
23
|
variants: {
|
|
24
24
|
variant: {
|
|
25
25
|
solid: "shadow-xs",
|
|
26
|
-
ghost: "",
|
|
26
|
+
ghost: "data-[active-state=on]:bg-accent/70",
|
|
27
27
|
outline: "border-1 bg-transparent",
|
|
28
28
|
link: ""
|
|
29
29
|
},
|
|
@@ -37,7 +37,8 @@ var button = tv({
|
|
|
37
37
|
secondary: "",
|
|
38
38
|
destructive: "",
|
|
39
39
|
warning: "",
|
|
40
|
-
success: ""
|
|
40
|
+
success: "",
|
|
41
|
+
default: ""
|
|
41
42
|
},
|
|
42
43
|
radius: {},
|
|
43
44
|
fullWidth: {
|
|
@@ -82,6 +83,11 @@ var button = tv({
|
|
|
82
83
|
color: "success",
|
|
83
84
|
class: colorVariants.solid.success
|
|
84
85
|
},
|
|
86
|
+
{
|
|
87
|
+
variant: "solid",
|
|
88
|
+
color: "default",
|
|
89
|
+
class: colorVariants.solid.default
|
|
90
|
+
},
|
|
85
91
|
// ghost color
|
|
86
92
|
{
|
|
87
93
|
variant: "ghost",
|
|
@@ -108,6 +114,11 @@ var button = tv({
|
|
|
108
114
|
color: "success",
|
|
109
115
|
class: colorVariants.ghost.success
|
|
110
116
|
},
|
|
117
|
+
{
|
|
118
|
+
variant: "ghost",
|
|
119
|
+
color: "default",
|
|
120
|
+
class: colorVariants.ghost.default
|
|
121
|
+
},
|
|
111
122
|
// outline color
|
|
112
123
|
{
|
|
113
124
|
variant: "outline",
|
|
@@ -134,6 +145,11 @@ var button = tv({
|
|
|
134
145
|
color: "success",
|
|
135
146
|
class: colorVariants.outline.success
|
|
136
147
|
},
|
|
148
|
+
{
|
|
149
|
+
variant: "outline",
|
|
150
|
+
color: "default",
|
|
151
|
+
class: colorVariants.outline.default
|
|
152
|
+
},
|
|
137
153
|
// icon
|
|
138
154
|
{
|
|
139
155
|
isIconOnly: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/utils/variants.ts
|
|
2
2
|
var solid = {
|
|
3
|
-
default: "bg-
|
|
3
|
+
default: "bg-foreground text-background",
|
|
4
4
|
primary: "bg-primary text-primary-foreground",
|
|
5
5
|
secondary: "bg-secondary text-secondary-foreground",
|
|
6
6
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -35,10 +35,11 @@ var faded = {
|
|
|
35
35
|
};
|
|
36
36
|
var ghost = {
|
|
37
37
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
38
|
-
secondary: "bg-transparent text-secondary",
|
|
38
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
39
39
|
destructive: "bg-transparent text-destructive",
|
|
40
40
|
warning: "bg-transparent text-warning",
|
|
41
|
-
success: "bg-transparent text-success"
|
|
41
|
+
success: "bg-transparent text-success",
|
|
42
|
+
default: "bg-transparent text-accent-foreground"
|
|
42
43
|
};
|
|
43
44
|
var colorVariants = {
|
|
44
45
|
solid,
|
|
@@ -40,7 +40,7 @@ var translateCenterClasses = [
|
|
|
40
40
|
|
|
41
41
|
// src/utils/variants.ts
|
|
42
42
|
var solid = {
|
|
43
|
-
default: "bg-
|
|
43
|
+
default: "bg-foreground text-background",
|
|
44
44
|
primary: "bg-primary text-primary-foreground",
|
|
45
45
|
secondary: "bg-secondary text-secondary-foreground",
|
|
46
46
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -75,10 +75,11 @@ var faded = {
|
|
|
75
75
|
};
|
|
76
76
|
var ghost = {
|
|
77
77
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
78
|
-
secondary: "bg-transparent text-secondary",
|
|
78
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
79
79
|
destructive: "bg-transparent text-destructive",
|
|
80
80
|
warning: "bg-transparent text-warning",
|
|
81
|
-
success: "bg-transparent text-success"
|
|
81
|
+
success: "bg-transparent text-success",
|
|
82
|
+
default: "bg-transparent text-accent-foreground"
|
|
82
83
|
};
|
|
83
84
|
var colorVariants = {
|
|
84
85
|
solid,
|
|
@@ -36,6 +36,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
36
36
|
destructive: string;
|
|
37
37
|
warning: string;
|
|
38
38
|
success: string;
|
|
39
|
+
default: string;
|
|
39
40
|
};
|
|
40
41
|
radius: {};
|
|
41
42
|
fullWidth: {
|
|
@@ -63,6 +64,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
63
64
|
destructive: string;
|
|
64
65
|
warning: string;
|
|
65
66
|
success: string;
|
|
67
|
+
default: string;
|
|
66
68
|
};
|
|
67
69
|
radius: {};
|
|
68
70
|
fullWidth: {
|
|
@@ -90,6 +92,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
90
92
|
destructive: string;
|
|
91
93
|
warning: string;
|
|
92
94
|
success: string;
|
|
95
|
+
default: string;
|
|
93
96
|
};
|
|
94
97
|
radius: {};
|
|
95
98
|
fullWidth: {
|
|
@@ -36,6 +36,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
36
36
|
destructive: string;
|
|
37
37
|
warning: string;
|
|
38
38
|
success: string;
|
|
39
|
+
default: string;
|
|
39
40
|
};
|
|
40
41
|
radius: {};
|
|
41
42
|
fullWidth: {
|
|
@@ -63,6 +64,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
63
64
|
destructive: string;
|
|
64
65
|
warning: string;
|
|
65
66
|
success: string;
|
|
67
|
+
default: string;
|
|
66
68
|
};
|
|
67
69
|
radius: {};
|
|
68
70
|
fullWidth: {
|
|
@@ -90,6 +92,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
90
92
|
destructive: string;
|
|
91
93
|
warning: string;
|
|
92
94
|
success: string;
|
|
95
|
+
default: string;
|
|
93
96
|
};
|
|
94
97
|
radius: {};
|
|
95
98
|
fullWidth: {
|
|
@@ -33,7 +33,7 @@ var focusVisibleClasses = [
|
|
|
33
33
|
|
|
34
34
|
// src/utils/variants.ts
|
|
35
35
|
var solid = {
|
|
36
|
-
default: "bg-
|
|
36
|
+
default: "bg-foreground text-background",
|
|
37
37
|
primary: "bg-primary text-primary-foreground",
|
|
38
38
|
secondary: "bg-secondary text-secondary-foreground",
|
|
39
39
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -68,10 +68,11 @@ var faded = {
|
|
|
68
68
|
};
|
|
69
69
|
var ghost = {
|
|
70
70
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
71
|
-
secondary: "bg-transparent text-secondary",
|
|
71
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
72
72
|
destructive: "bg-transparent text-destructive",
|
|
73
73
|
warning: "bg-transparent text-warning",
|
|
74
|
-
success: "bg-transparent text-success"
|
|
74
|
+
success: "bg-transparent text-success",
|
|
75
|
+
default: "bg-transparent text-accent-foreground"
|
|
75
76
|
};
|
|
76
77
|
var colorVariants = {
|
|
77
78
|
solid,
|
|
@@ -98,7 +99,7 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
98
99
|
variants: {
|
|
99
100
|
variant: {
|
|
100
101
|
solid: "shadow-xs",
|
|
101
|
-
ghost: "",
|
|
102
|
+
ghost: "data-[active-state=on]:bg-accent/70",
|
|
102
103
|
outline: "border-1 bg-transparent",
|
|
103
104
|
link: ""
|
|
104
105
|
},
|
|
@@ -112,7 +113,8 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
112
113
|
secondary: "",
|
|
113
114
|
destructive: "",
|
|
114
115
|
warning: "",
|
|
115
|
-
success: ""
|
|
116
|
+
success: "",
|
|
117
|
+
default: ""
|
|
116
118
|
},
|
|
117
119
|
radius: {},
|
|
118
120
|
fullWidth: {
|
|
@@ -157,6 +159,11 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
157
159
|
color: "success",
|
|
158
160
|
class: colorVariants.solid.success
|
|
159
161
|
},
|
|
162
|
+
{
|
|
163
|
+
variant: "solid",
|
|
164
|
+
color: "default",
|
|
165
|
+
class: colorVariants.solid.default
|
|
166
|
+
},
|
|
160
167
|
// ghost color
|
|
161
168
|
{
|
|
162
169
|
variant: "ghost",
|
|
@@ -183,6 +190,11 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
183
190
|
color: "success",
|
|
184
191
|
class: colorVariants.ghost.success
|
|
185
192
|
},
|
|
193
|
+
{
|
|
194
|
+
variant: "ghost",
|
|
195
|
+
color: "default",
|
|
196
|
+
class: colorVariants.ghost.default
|
|
197
|
+
},
|
|
186
198
|
// outline color
|
|
187
199
|
{
|
|
188
200
|
variant: "outline",
|
|
@@ -209,6 +221,11 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
209
221
|
color: "success",
|
|
210
222
|
class: colorVariants.outline.success
|
|
211
223
|
},
|
|
224
|
+
{
|
|
225
|
+
variant: "outline",
|
|
226
|
+
color: "default",
|
|
227
|
+
class: colorVariants.outline.default
|
|
228
|
+
},
|
|
212
229
|
// icon
|
|
213
230
|
{
|
|
214
231
|
isIconOnly: true,
|
package/dist/components/chip.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
|
-
default: "bg-
|
|
30
|
+
default: "bg-foreground text-background",
|
|
31
31
|
primary: "bg-primary text-primary-foreground",
|
|
32
32
|
secondary: "bg-secondary text-secondary-foreground",
|
|
33
33
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -62,10 +62,11 @@ var faded = {
|
|
|
62
62
|
};
|
|
63
63
|
var ghost = {
|
|
64
64
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
65
|
-
secondary: "bg-transparent text-secondary",
|
|
65
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
66
66
|
destructive: "bg-transparent text-destructive",
|
|
67
67
|
warning: "bg-transparent text-warning",
|
|
68
|
-
success: "bg-transparent text-success"
|
|
68
|
+
success: "bg-transparent text-success",
|
|
69
|
+
default: "bg-transparent text-accent-foreground"
|
|
69
70
|
};
|
|
70
71
|
var colorVariants = {
|
|
71
72
|
solid,
|
package/dist/components/chip.mjs
CHANGED
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
|
-
default: "bg-
|
|
30
|
+
default: "bg-foreground text-background",
|
|
31
31
|
primary: "bg-primary text-primary-foreground",
|
|
32
32
|
secondary: "bg-secondary text-secondary-foreground",
|
|
33
33
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -62,10 +62,11 @@ var faded = {
|
|
|
62
62
|
};
|
|
63
63
|
var ghost = {
|
|
64
64
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
65
|
-
secondary: "bg-transparent text-secondary",
|
|
65
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
66
66
|
destructive: "bg-transparent text-destructive",
|
|
67
67
|
warning: "bg-transparent text-warning",
|
|
68
|
-
success: "bg-transparent text-success"
|
|
68
|
+
success: "bg-transparent text-success",
|
|
69
|
+
default: "bg-transparent text-accent-foreground"
|
|
69
70
|
};
|
|
70
71
|
var colorVariants = {
|
|
71
72
|
solid,
|
package/dist/components/code.mjs
CHANGED
package/dist/components/index.js
CHANGED
|
@@ -170,7 +170,7 @@ var popoverContentClasses = [
|
|
|
170
170
|
|
|
171
171
|
// src/utils/variants.ts
|
|
172
172
|
var solid = {
|
|
173
|
-
default: "bg-
|
|
173
|
+
default: "bg-foreground text-background",
|
|
174
174
|
primary: "bg-primary text-primary-foreground",
|
|
175
175
|
secondary: "bg-secondary text-secondary-foreground",
|
|
176
176
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -205,10 +205,11 @@ var faded = {
|
|
|
205
205
|
};
|
|
206
206
|
var ghost = {
|
|
207
207
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
208
|
-
secondary: "bg-transparent text-secondary",
|
|
208
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
209
209
|
destructive: "bg-transparent text-destructive",
|
|
210
210
|
warning: "bg-transparent text-warning",
|
|
211
|
-
success: "bg-transparent text-success"
|
|
211
|
+
success: "bg-transparent text-success",
|
|
212
|
+
default: "bg-transparent text-accent-foreground"
|
|
212
213
|
};
|
|
213
214
|
var colorVariants = {
|
|
214
215
|
solid,
|
|
@@ -481,7 +482,7 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
481
482
|
variants: {
|
|
482
483
|
variant: {
|
|
483
484
|
solid: "shadow-xs",
|
|
484
|
-
ghost: "",
|
|
485
|
+
ghost: "data-[active-state=on]:bg-accent/70",
|
|
485
486
|
outline: "border-1 bg-transparent",
|
|
486
487
|
link: ""
|
|
487
488
|
},
|
|
@@ -495,7 +496,8 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
495
496
|
secondary: "",
|
|
496
497
|
destructive: "",
|
|
497
498
|
warning: "",
|
|
498
|
-
success: ""
|
|
499
|
+
success: "",
|
|
500
|
+
default: ""
|
|
499
501
|
},
|
|
500
502
|
radius: {},
|
|
501
503
|
fullWidth: {
|
|
@@ -540,6 +542,11 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
540
542
|
color: "success",
|
|
541
543
|
class: colorVariants.solid.success
|
|
542
544
|
},
|
|
545
|
+
{
|
|
546
|
+
variant: "solid",
|
|
547
|
+
color: "default",
|
|
548
|
+
class: colorVariants.solid.default
|
|
549
|
+
},
|
|
543
550
|
// ghost color
|
|
544
551
|
{
|
|
545
552
|
variant: "ghost",
|
|
@@ -566,6 +573,11 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
566
573
|
color: "success",
|
|
567
574
|
class: colorVariants.ghost.success
|
|
568
575
|
},
|
|
576
|
+
{
|
|
577
|
+
variant: "ghost",
|
|
578
|
+
color: "default",
|
|
579
|
+
class: colorVariants.ghost.default
|
|
580
|
+
},
|
|
569
581
|
// outline color
|
|
570
582
|
{
|
|
571
583
|
variant: "outline",
|
|
@@ -592,6 +604,11 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
592
604
|
color: "success",
|
|
593
605
|
class: colorVariants.outline.success
|
|
594
606
|
},
|
|
607
|
+
{
|
|
608
|
+
variant: "outline",
|
|
609
|
+
color: "default",
|
|
610
|
+
class: colorVariants.outline.default
|
|
611
|
+
},
|
|
595
612
|
// icon
|
|
596
613
|
{
|
|
597
614
|
isIconOnly: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-MVXKHHAX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
skeletonAvatar
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HU3STCSK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
skeleton
|
|
7
7
|
} from "../chunk-VNQEJU4P.mjs";
|
|
@@ -82,10 +82,10 @@ import {
|
|
|
82
82
|
} from "../chunk-A4KO7QKC.mjs";
|
|
83
83
|
import {
|
|
84
84
|
chip
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-CQZMQVAO.mjs";
|
|
86
86
|
import {
|
|
87
87
|
code
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-KRTETJ33.mjs";
|
|
89
89
|
import {
|
|
90
90
|
command
|
|
91
91
|
} from "../chunk-YPHFKGNI.mjs";
|
|
@@ -106,15 +106,15 @@ import {
|
|
|
106
106
|
} from "../chunk-XCLEKBCJ.mjs";
|
|
107
107
|
import {
|
|
108
108
|
avatar
|
|
109
|
-
} from "../chunk-
|
|
109
|
+
} from "../chunk-CWX7ZJ4B.mjs";
|
|
110
110
|
import {
|
|
111
111
|
blankstate
|
|
112
112
|
} from "../chunk-DICHD74Q.mjs";
|
|
113
113
|
import {
|
|
114
114
|
button
|
|
115
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-HALNIEC7.mjs";
|
|
116
116
|
import "../chunk-UEMJVVVF.mjs";
|
|
117
|
-
import "../chunk-
|
|
117
|
+
import "../chunk-V5U46MEN.mjs";
|
|
118
118
|
import {
|
|
119
119
|
calendar
|
|
120
120
|
} from "../chunk-JWF5ABNP.mjs";
|
|
@@ -43,7 +43,7 @@ var translateCenterClasses = [
|
|
|
43
43
|
|
|
44
44
|
// src/utils/variants.ts
|
|
45
45
|
var solid = {
|
|
46
|
-
default: "bg-
|
|
46
|
+
default: "bg-foreground text-background",
|
|
47
47
|
primary: "bg-primary text-primary-foreground",
|
|
48
48
|
secondary: "bg-secondary text-secondary-foreground",
|
|
49
49
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -78,10 +78,11 @@ var faded = {
|
|
|
78
78
|
};
|
|
79
79
|
var ghost = {
|
|
80
80
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
81
|
-
secondary: "bg-transparent text-secondary",
|
|
81
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
82
82
|
destructive: "bg-transparent text-destructive",
|
|
83
83
|
warning: "bg-transparent text-warning",
|
|
84
|
-
success: "bg-transparent text-success"
|
|
84
|
+
success: "bg-transparent text-success",
|
|
85
|
+
default: "bg-transparent text-accent-foreground"
|
|
85
86
|
};
|
|
86
87
|
var colorVariants = {
|
|
87
88
|
solid,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
skeletonAvatar
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-HU3STCSK.mjs";
|
|
4
|
+
import "../chunk-CWX7ZJ4B.mjs";
|
|
5
5
|
import "../chunk-UEMJVVVF.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-V5U46MEN.mjs";
|
|
7
7
|
export {
|
|
8
8
|
skeletonAvatar
|
|
9
9
|
};
|
package/dist/index.js
CHANGED
|
@@ -170,7 +170,7 @@ var popoverContentClasses = [
|
|
|
170
170
|
|
|
171
171
|
// src/utils/variants.ts
|
|
172
172
|
var solid = {
|
|
173
|
-
default: "bg-
|
|
173
|
+
default: "bg-foreground text-background",
|
|
174
174
|
primary: "bg-primary text-primary-foreground",
|
|
175
175
|
secondary: "bg-secondary text-secondary-foreground",
|
|
176
176
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -205,10 +205,11 @@ var faded = {
|
|
|
205
205
|
};
|
|
206
206
|
var ghost = {
|
|
207
207
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
208
|
-
secondary: "bg-transparent text-secondary",
|
|
208
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
209
209
|
destructive: "bg-transparent text-destructive",
|
|
210
210
|
warning: "bg-transparent text-warning",
|
|
211
|
-
success: "bg-transparent text-success"
|
|
211
|
+
success: "bg-transparent text-success",
|
|
212
|
+
default: "bg-transparent text-accent-foreground"
|
|
212
213
|
};
|
|
213
214
|
var colorVariants = {
|
|
214
215
|
solid,
|
|
@@ -481,7 +482,7 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
481
482
|
variants: {
|
|
482
483
|
variant: {
|
|
483
484
|
solid: "shadow-xs",
|
|
484
|
-
ghost: "",
|
|
485
|
+
ghost: "data-[active-state=on]:bg-accent/70",
|
|
485
486
|
outline: "border-1 bg-transparent",
|
|
486
487
|
link: ""
|
|
487
488
|
},
|
|
@@ -495,7 +496,8 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
495
496
|
secondary: "",
|
|
496
497
|
destructive: "",
|
|
497
498
|
warning: "",
|
|
498
|
-
success: ""
|
|
499
|
+
success: "",
|
|
500
|
+
default: ""
|
|
499
501
|
},
|
|
500
502
|
radius: {},
|
|
501
503
|
fullWidth: {
|
|
@@ -540,6 +542,11 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
540
542
|
color: "success",
|
|
541
543
|
class: colorVariants.solid.success
|
|
542
544
|
},
|
|
545
|
+
{
|
|
546
|
+
variant: "solid",
|
|
547
|
+
color: "default",
|
|
548
|
+
class: colorVariants.solid.default
|
|
549
|
+
},
|
|
543
550
|
// ghost color
|
|
544
551
|
{
|
|
545
552
|
variant: "ghost",
|
|
@@ -566,6 +573,11 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
566
573
|
color: "success",
|
|
567
574
|
class: colorVariants.ghost.success
|
|
568
575
|
},
|
|
576
|
+
{
|
|
577
|
+
variant: "ghost",
|
|
578
|
+
color: "default",
|
|
579
|
+
class: colorVariants.ghost.default
|
|
580
|
+
},
|
|
569
581
|
// outline color
|
|
570
582
|
{
|
|
571
583
|
variant: "outline",
|
|
@@ -592,6 +604,11 @@ var button = (0, import_tailwind_variants6.tv)({
|
|
|
592
604
|
color: "success",
|
|
593
605
|
class: colorVariants.outline.success
|
|
594
606
|
},
|
|
607
|
+
{
|
|
608
|
+
variant: "outline",
|
|
609
|
+
color: "default",
|
|
610
|
+
class: colorVariants.outline.default
|
|
611
|
+
},
|
|
595
612
|
// icon
|
|
596
613
|
{
|
|
597
614
|
isIconOnly: true,
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import "./chunk-XSN6P5JL.mjs";
|
|
|
2
2
|
import "./chunk-MVXKHHAX.mjs";
|
|
3
3
|
import {
|
|
4
4
|
skeletonAvatar
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HU3STCSK.mjs";
|
|
6
6
|
import {
|
|
7
7
|
skeleton
|
|
8
8
|
} from "./chunk-VNQEJU4P.mjs";
|
|
@@ -83,10 +83,10 @@ import {
|
|
|
83
83
|
} from "./chunk-A4KO7QKC.mjs";
|
|
84
84
|
import {
|
|
85
85
|
chip
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-CQZMQVAO.mjs";
|
|
87
87
|
import {
|
|
88
88
|
code
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-KRTETJ33.mjs";
|
|
90
90
|
import {
|
|
91
91
|
command
|
|
92
92
|
} from "./chunk-YPHFKGNI.mjs";
|
|
@@ -107,15 +107,15 @@ import {
|
|
|
107
107
|
} from "./chunk-XCLEKBCJ.mjs";
|
|
108
108
|
import {
|
|
109
109
|
avatar
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-CWX7ZJ4B.mjs";
|
|
111
111
|
import {
|
|
112
112
|
blankstate
|
|
113
113
|
} from "./chunk-DICHD74Q.mjs";
|
|
114
114
|
import {
|
|
115
115
|
button
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-HALNIEC7.mjs";
|
|
117
117
|
import "./chunk-UEMJVVVF.mjs";
|
|
118
|
-
import "./chunk-
|
|
118
|
+
import "./chunk-V5U46MEN.mjs";
|
|
119
119
|
import {
|
|
120
120
|
calendar
|
|
121
121
|
} from "./chunk-JWF5ABNP.mjs";
|
package/dist/utils/variants.d.ts
CHANGED
package/dist/utils/variants.js
CHANGED
|
@@ -24,7 +24,7 @@ __export(variants_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(variants_exports);
|
|
26
26
|
var solid = {
|
|
27
|
-
default: "bg-
|
|
27
|
+
default: "bg-foreground text-background",
|
|
28
28
|
primary: "bg-primary text-primary-foreground",
|
|
29
29
|
secondary: "bg-secondary text-secondary-foreground",
|
|
30
30
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -59,10 +59,11 @@ var faded = {
|
|
|
59
59
|
};
|
|
60
60
|
var ghost = {
|
|
61
61
|
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
62
|
-
secondary: "bg-transparent text-secondary",
|
|
62
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
63
63
|
destructive: "bg-transparent text-destructive",
|
|
64
64
|
warning: "bg-transparent text-warning",
|
|
65
|
-
success: "bg-transparent text-success"
|
|
65
|
+
success: "bg-transparent text-success",
|
|
66
|
+
default: "bg-transparent text-accent-foreground"
|
|
66
67
|
};
|
|
67
68
|
var colorVariants = {
|
|
68
69
|
solid,
|
package/dist/utils/variants.mjs
CHANGED