@kopexa/theme 1.7.0 → 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-SVCFD7RR.mjs → chunk-QDDPXEQO.mjs} +2 -1
- package/dist/{chunk-LG2J56LI.mjs → chunk-V5U46MEN.mjs} +4 -3
- package/dist/{chunk-3SRZALOM.mjs → chunk-XAHAVJUM.mjs} +1 -1
- package/dist/{chunk-MKBU6G6Q.mjs → chunk-YC2FQDBV.mjs} +7 -2
- 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/callout.js +1 -1
- package/dist/components/callout.mjs +1 -1
- 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 +32 -9
- package/dist/components/index.mjs +9 -9
- package/dist/components/skeleton-avatar.js +4 -3
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/table.d.mts +18 -3
- package/dist/components/table.d.ts +18 -3
- package/dist/components/table.js +7 -2
- package/dist/components/table.mjs +1 -1
- package/dist/components/tooltip.js +2 -1
- package/dist/components/tooltip.mjs +1 -1
- package/dist/index.js +32 -9
- package/dist/index.mjs +9 -9
- 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,
|
|
@@ -6,7 +6,8 @@ var tooltip = tv({
|
|
|
6
6
|
"bg-primary text-primary-foreground",
|
|
7
7
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
8
8
|
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",
|
|
9
|
-
"rounded-md px-3 py-1.5 text-xs font-medium text-balance"
|
|
9
|
+
"rounded-md px-3 py-1.5 text-xs font-medium text-balance",
|
|
10
|
+
"will-change-[transform,opacity]"
|
|
10
11
|
]
|
|
11
12
|
}
|
|
12
13
|
});
|
|
@@ -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,
|
|
@@ -6,7 +6,7 @@ var callout = tv({
|
|
|
6
6
|
iconContainer: "flex-shrink-0 mt-0.5",
|
|
7
7
|
icon: "h-5 w-5",
|
|
8
8
|
title: "font-semibold leading-none tracking-tight mb-2",
|
|
9
|
-
content: "text-sm/6",
|
|
9
|
+
content: "text-sm/6 grow",
|
|
10
10
|
closeButton: "absolute top-2 right-2 opacity-70 hover:opacity-100 transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
|
|
11
11
|
},
|
|
12
12
|
variants: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
3
|
var table = tv({
|
|
4
4
|
slots: {
|
|
5
|
-
container: ["overflow-x-auto whitespace-nowrap", "-mx-
|
|
5
|
+
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
6
6
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
7
7
|
table: "min-w-full h-auto",
|
|
8
8
|
thead: "",
|
|
@@ -53,7 +53,9 @@ var table = tv({
|
|
|
53
53
|
},
|
|
54
54
|
variants: {
|
|
55
55
|
bleed: {
|
|
56
|
-
true: {
|
|
56
|
+
true: {
|
|
57
|
+
container: ["[--gutter:--spacing(3)] md:[--gutter:--spacing(6)]"]
|
|
58
|
+
},
|
|
57
59
|
false: {
|
|
58
60
|
container: ["px-3 md:px-6"],
|
|
59
61
|
th: ["first:pl-1 last:pr-1"],
|
|
@@ -68,6 +70,9 @@ var table = tv({
|
|
|
68
70
|
},
|
|
69
71
|
variant: {
|
|
70
72
|
default: {},
|
|
73
|
+
elevated: {
|
|
74
|
+
container: "shadow-sm rounded-md border-1 !px-0"
|
|
75
|
+
},
|
|
71
76
|
// a border between cells and above the table
|
|
72
77
|
// this is used for the grid variant
|
|
73
78
|
grid: {
|
|
@@ -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,
|
|
@@ -30,7 +30,7 @@ var callout = (0, import_tailwind_variants.tv)({
|
|
|
30
30
|
iconContainer: "flex-shrink-0 mt-0.5",
|
|
31
31
|
icon: "h-5 w-5",
|
|
32
32
|
title: "font-semibold leading-none tracking-tight mb-2",
|
|
33
|
-
content: "text-sm/6",
|
|
33
|
+
content: "text-sm/6 grow",
|
|
34
34
|
closeButton: "absolute top-2 right-2 opacity-70 hover:opacity-100 transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
|
|
35
35
|
},
|
|
36
36
|
variants: {
|
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,
|
|
@@ -672,7 +689,7 @@ var callout = (0, import_tailwind_variants8.tv)({
|
|
|
672
689
|
iconContainer: "flex-shrink-0 mt-0.5",
|
|
673
690
|
icon: "h-5 w-5",
|
|
674
691
|
title: "font-semibold leading-none tracking-tight mb-2",
|
|
675
|
-
content: "text-sm/6",
|
|
692
|
+
content: "text-sm/6 grow",
|
|
676
693
|
closeButton: "absolute top-2 right-2 opacity-70 hover:opacity-100 transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
|
|
677
694
|
},
|
|
678
695
|
variants: {
|
|
@@ -2542,7 +2559,7 @@ var tabNav = (0, import_tailwind_variants35.tv)({
|
|
|
2542
2559
|
var import_tailwind_variants36 = require("tailwind-variants");
|
|
2543
2560
|
var table = (0, import_tailwind_variants36.tv)({
|
|
2544
2561
|
slots: {
|
|
2545
|
-
container: ["overflow-x-auto whitespace-nowrap", "-mx-
|
|
2562
|
+
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
2546
2563
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
2547
2564
|
table: "min-w-full h-auto",
|
|
2548
2565
|
thead: "",
|
|
@@ -2593,7 +2610,9 @@ var table = (0, import_tailwind_variants36.tv)({
|
|
|
2593
2610
|
},
|
|
2594
2611
|
variants: {
|
|
2595
2612
|
bleed: {
|
|
2596
|
-
true: {
|
|
2613
|
+
true: {
|
|
2614
|
+
container: ["[--gutter:--spacing(3)] md:[--gutter:--spacing(6)]"]
|
|
2615
|
+
},
|
|
2597
2616
|
false: {
|
|
2598
2617
|
container: ["px-3 md:px-6"],
|
|
2599
2618
|
th: ["first:pl-1 last:pr-1"],
|
|
@@ -2608,6 +2627,9 @@ var table = (0, import_tailwind_variants36.tv)({
|
|
|
2608
2627
|
},
|
|
2609
2628
|
variant: {
|
|
2610
2629
|
default: {},
|
|
2630
|
+
elevated: {
|
|
2631
|
+
container: "shadow-sm rounded-md border-1 !px-0"
|
|
2632
|
+
},
|
|
2611
2633
|
// a border between cells and above the table
|
|
2612
2634
|
// this is used for the grid variant
|
|
2613
2635
|
grid: {
|
|
@@ -2742,7 +2764,8 @@ var tooltip = (0, import_tailwind_variants38.tv)({
|
|
|
2742
2764
|
"bg-primary text-primary-foreground",
|
|
2743
2765
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
2744
2766
|
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",
|
|
2745
|
-
"rounded-md px-3 py-1.5 text-xs font-medium text-balance"
|
|
2767
|
+
"rounded-md px-3 py-1.5 text-xs font-medium text-balance",
|
|
2768
|
+
"will-change-[transform,opacity]"
|
|
2746
2769
|
]
|
|
2747
2770
|
}
|
|
2748
2771
|
});
|
|
@@ -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";
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "../chunk-ZLM6Z3W2.mjs";
|
|
17
17
|
import {
|
|
18
18
|
table
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-YC2FQDBV.mjs";
|
|
20
20
|
import {
|
|
21
21
|
tabs
|
|
22
22
|
} from "../chunk-I6M4S2KZ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
tooltip
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-QDDPXEQO.mjs";
|
|
26
26
|
import {
|
|
27
27
|
popover
|
|
28
28
|
} from "../chunk-IKJHZT2S.mjs";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
} from "../chunk-OULAICSC.mjs";
|
|
74
74
|
import {
|
|
75
75
|
callout
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-XAHAVJUM.mjs";
|
|
77
77
|
import {
|
|
78
78
|
card
|
|
79
79
|
} from "../chunk-7O57EDVS.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
|
};
|
|
@@ -3,7 +3,9 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
3
3
|
|
|
4
4
|
declare const table: tailwind_variants.TVReturnType<{
|
|
5
5
|
bleed: {
|
|
6
|
-
true: {
|
|
6
|
+
true: {
|
|
7
|
+
container: string[];
|
|
8
|
+
};
|
|
7
9
|
false: {
|
|
8
10
|
container: string[];
|
|
9
11
|
th: string[];
|
|
@@ -18,6 +20,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
18
20
|
};
|
|
19
21
|
variant: {
|
|
20
22
|
default: {};
|
|
23
|
+
elevated: {
|
|
24
|
+
container: string;
|
|
25
|
+
};
|
|
21
26
|
grid: {
|
|
22
27
|
table: string;
|
|
23
28
|
th: string[];
|
|
@@ -96,7 +101,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
96
101
|
ownerCellUnassigned: string;
|
|
97
102
|
}, undefined, {
|
|
98
103
|
bleed: {
|
|
99
|
-
true: {
|
|
104
|
+
true: {
|
|
105
|
+
container: string[];
|
|
106
|
+
};
|
|
100
107
|
false: {
|
|
101
108
|
container: string[];
|
|
102
109
|
th: string[];
|
|
@@ -111,6 +118,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
111
118
|
};
|
|
112
119
|
variant: {
|
|
113
120
|
default: {};
|
|
121
|
+
elevated: {
|
|
122
|
+
container: string;
|
|
123
|
+
};
|
|
114
124
|
grid: {
|
|
115
125
|
table: string;
|
|
116
126
|
th: string[];
|
|
@@ -189,7 +199,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
189
199
|
ownerCellUnassigned: string;
|
|
190
200
|
}, tailwind_variants.TVReturnType<{
|
|
191
201
|
bleed: {
|
|
192
|
-
true: {
|
|
202
|
+
true: {
|
|
203
|
+
container: string[];
|
|
204
|
+
};
|
|
193
205
|
false: {
|
|
194
206
|
container: string[];
|
|
195
207
|
th: string[];
|
|
@@ -204,6 +216,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
204
216
|
};
|
|
205
217
|
variant: {
|
|
206
218
|
default: {};
|
|
219
|
+
elevated: {
|
|
220
|
+
container: string;
|
|
221
|
+
};
|
|
207
222
|
grid: {
|
|
208
223
|
table: string;
|
|
209
224
|
th: string[];
|
|
@@ -3,7 +3,9 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
3
3
|
|
|
4
4
|
declare const table: tailwind_variants.TVReturnType<{
|
|
5
5
|
bleed: {
|
|
6
|
-
true: {
|
|
6
|
+
true: {
|
|
7
|
+
container: string[];
|
|
8
|
+
};
|
|
7
9
|
false: {
|
|
8
10
|
container: string[];
|
|
9
11
|
th: string[];
|
|
@@ -18,6 +20,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
18
20
|
};
|
|
19
21
|
variant: {
|
|
20
22
|
default: {};
|
|
23
|
+
elevated: {
|
|
24
|
+
container: string;
|
|
25
|
+
};
|
|
21
26
|
grid: {
|
|
22
27
|
table: string;
|
|
23
28
|
th: string[];
|
|
@@ -96,7 +101,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
96
101
|
ownerCellUnassigned: string;
|
|
97
102
|
}, undefined, {
|
|
98
103
|
bleed: {
|
|
99
|
-
true: {
|
|
104
|
+
true: {
|
|
105
|
+
container: string[];
|
|
106
|
+
};
|
|
100
107
|
false: {
|
|
101
108
|
container: string[];
|
|
102
109
|
th: string[];
|
|
@@ -111,6 +118,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
111
118
|
};
|
|
112
119
|
variant: {
|
|
113
120
|
default: {};
|
|
121
|
+
elevated: {
|
|
122
|
+
container: string;
|
|
123
|
+
};
|
|
114
124
|
grid: {
|
|
115
125
|
table: string;
|
|
116
126
|
th: string[];
|
|
@@ -189,7 +199,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
189
199
|
ownerCellUnassigned: string;
|
|
190
200
|
}, tailwind_variants.TVReturnType<{
|
|
191
201
|
bleed: {
|
|
192
|
-
true: {
|
|
202
|
+
true: {
|
|
203
|
+
container: string[];
|
|
204
|
+
};
|
|
193
205
|
false: {
|
|
194
206
|
container: string[];
|
|
195
207
|
th: string[];
|
|
@@ -204,6 +216,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
204
216
|
};
|
|
205
217
|
variant: {
|
|
206
218
|
default: {};
|
|
219
|
+
elevated: {
|
|
220
|
+
container: string;
|
|
221
|
+
};
|
|
207
222
|
grid: {
|
|
208
223
|
table: string;
|
|
209
224
|
th: string[];
|
package/dist/components/table.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(table_exports);
|
|
|
26
26
|
var import_tailwind_variants = require("tailwind-variants");
|
|
27
27
|
var table = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
|
-
container: ["overflow-x-auto whitespace-nowrap", "-mx-
|
|
29
|
+
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
30
30
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
31
31
|
table: "min-w-full h-auto",
|
|
32
32
|
thead: "",
|
|
@@ -77,7 +77,9 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
77
77
|
},
|
|
78
78
|
variants: {
|
|
79
79
|
bleed: {
|
|
80
|
-
true: {
|
|
80
|
+
true: {
|
|
81
|
+
container: ["[--gutter:--spacing(3)] md:[--gutter:--spacing(6)]"]
|
|
82
|
+
},
|
|
81
83
|
false: {
|
|
82
84
|
container: ["px-3 md:px-6"],
|
|
83
85
|
th: ["first:pl-1 last:pr-1"],
|
|
@@ -92,6 +94,9 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
92
94
|
},
|
|
93
95
|
variant: {
|
|
94
96
|
default: {},
|
|
97
|
+
elevated: {
|
|
98
|
+
container: "shadow-sm rounded-md border-1 !px-0"
|
|
99
|
+
},
|
|
95
100
|
// a border between cells and above the table
|
|
96
101
|
// this is used for the grid variant
|
|
97
102
|
grid: {
|
|
@@ -30,7 +30,8 @@ var tooltip = (0, import_tailwind_variants.tv)({
|
|
|
30
30
|
"bg-primary text-primary-foreground",
|
|
31
31
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
32
32
|
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",
|
|
33
|
-
"rounded-md px-3 py-1.5 text-xs font-medium text-balance"
|
|
33
|
+
"rounded-md px-3 py-1.5 text-xs font-medium text-balance",
|
|
34
|
+
"will-change-[transform,opacity]"
|
|
34
35
|
]
|
|
35
36
|
}
|
|
36
37
|
});
|
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,
|
|
@@ -672,7 +689,7 @@ var callout = (0, import_tailwind_variants8.tv)({
|
|
|
672
689
|
iconContainer: "flex-shrink-0 mt-0.5",
|
|
673
690
|
icon: "h-5 w-5",
|
|
674
691
|
title: "font-semibold leading-none tracking-tight mb-2",
|
|
675
|
-
content: "text-sm/6",
|
|
692
|
+
content: "text-sm/6 grow",
|
|
676
693
|
closeButton: "absolute top-2 right-2 opacity-70 hover:opacity-100 transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
|
|
677
694
|
},
|
|
678
695
|
variants: {
|
|
@@ -2542,7 +2559,7 @@ var tabNav = (0, import_tailwind_variants35.tv)({
|
|
|
2542
2559
|
var import_tailwind_variants36 = require("tailwind-variants");
|
|
2543
2560
|
var table = (0, import_tailwind_variants36.tv)({
|
|
2544
2561
|
slots: {
|
|
2545
|
-
container: ["overflow-x-auto whitespace-nowrap", "-mx-
|
|
2562
|
+
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
2546
2563
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
2547
2564
|
table: "min-w-full h-auto",
|
|
2548
2565
|
thead: "",
|
|
@@ -2593,7 +2610,9 @@ var table = (0, import_tailwind_variants36.tv)({
|
|
|
2593
2610
|
},
|
|
2594
2611
|
variants: {
|
|
2595
2612
|
bleed: {
|
|
2596
|
-
true: {
|
|
2613
|
+
true: {
|
|
2614
|
+
container: ["[--gutter:--spacing(3)] md:[--gutter:--spacing(6)]"]
|
|
2615
|
+
},
|
|
2597
2616
|
false: {
|
|
2598
2617
|
container: ["px-3 md:px-6"],
|
|
2599
2618
|
th: ["first:pl-1 last:pr-1"],
|
|
@@ -2608,6 +2627,9 @@ var table = (0, import_tailwind_variants36.tv)({
|
|
|
2608
2627
|
},
|
|
2609
2628
|
variant: {
|
|
2610
2629
|
default: {},
|
|
2630
|
+
elevated: {
|
|
2631
|
+
container: "shadow-sm rounded-md border-1 !px-0"
|
|
2632
|
+
},
|
|
2611
2633
|
// a border between cells and above the table
|
|
2612
2634
|
// this is used for the grid variant
|
|
2613
2635
|
grid: {
|
|
@@ -2742,7 +2764,8 @@ var tooltip = (0, import_tailwind_variants38.tv)({
|
|
|
2742
2764
|
"bg-primary text-primary-foreground",
|
|
2743
2765
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
2744
2766
|
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",
|
|
2745
|
-
"rounded-md px-3 py-1.5 text-xs font-medium text-balance"
|
|
2767
|
+
"rounded-md px-3 py-1.5 text-xs font-medium text-balance",
|
|
2768
|
+
"will-change-[transform,opacity]"
|
|
2746
2769
|
]
|
|
2747
2770
|
}
|
|
2748
2771
|
});
|
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";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
} from "./chunk-ZLM6Z3W2.mjs";
|
|
18
18
|
import {
|
|
19
19
|
table
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YC2FQDBV.mjs";
|
|
21
21
|
import {
|
|
22
22
|
tabs
|
|
23
23
|
} from "./chunk-I6M4S2KZ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
tooltip
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QDDPXEQO.mjs";
|
|
27
27
|
import {
|
|
28
28
|
popover
|
|
29
29
|
} from "./chunk-IKJHZT2S.mjs";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-OULAICSC.mjs";
|
|
75
75
|
import {
|
|
76
76
|
callout
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-XAHAVJUM.mjs";
|
|
78
78
|
import {
|
|
79
79
|
card
|
|
80
80
|
} from "./chunk-7O57EDVS.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