@nextui-org/theme 0.0.0-dev-v2-20230601002458 → 0.0.0-dev-v2-20230604191549
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-W36MFWI6.mjs → chunk-2RQFBKZ4.mjs} +13 -11
- package/dist/{chunk-G7ZYYWZD.mjs → chunk-G34JOIZ3.mjs} +3 -1
- package/dist/{chunk-CROFVEWS.mjs → chunk-GGQITS2B.mjs} +1 -1
- package/dist/{chunk-X4S56RGZ.mjs → chunk-LNV5ZITR.mjs} +6 -3
- package/dist/components/checkbox.d.ts +6 -0
- package/dist/components/checkbox.js +3 -1
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/image.js +6 -3
- package/dist/components/image.mjs +1 -1
- package/dist/components/index.js +23 -16
- package/dist/components/index.mjs +4 -4
- package/dist/components/input.js +1 -1
- package/dist/components/input.mjs +1 -1
- package/dist/components/radio.d.ts +9 -3
- package/dist/components/radio.js +13 -11
- package/dist/components/radio.mjs +1 -1
- package/dist/index.js +23 -16
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ var radio = tv({
|
|
|
14
14
|
"border-2",
|
|
15
15
|
"box-border",
|
|
16
16
|
"border-default",
|
|
17
|
-
"group-data-[hover-
|
|
17
|
+
"group-data-[hover-unselected=true]:bg-default-100",
|
|
18
18
|
"group-data-[focus-visible=true]:outline-none",
|
|
19
19
|
"group-data-[focus-visible=true]:ring-2",
|
|
20
20
|
"group-data-[focus-visible=true]:!ring-primary",
|
|
@@ -30,8 +30,8 @@ var radio = tv({
|
|
|
30
30
|
"opacity-0",
|
|
31
31
|
"scale-0",
|
|
32
32
|
"origin-center",
|
|
33
|
-
"group-data-[
|
|
34
|
-
"group-data-[
|
|
33
|
+
"group-data-[selected=true]:opacity-100",
|
|
34
|
+
"group-data-[selected=true]:scale-100"
|
|
35
35
|
],
|
|
36
36
|
label: "relative text-foreground select-none",
|
|
37
37
|
description: "relative text-default-400"
|
|
@@ -40,27 +40,27 @@ var radio = tv({
|
|
|
40
40
|
color: {
|
|
41
41
|
default: {
|
|
42
42
|
control: "bg-default-500 text-default-foreground",
|
|
43
|
-
wrapper: "group-data-[
|
|
43
|
+
wrapper: "group-data-[selected=true]:border-default-500"
|
|
44
44
|
},
|
|
45
45
|
primary: {
|
|
46
46
|
control: "bg-primary text-primary-foreground",
|
|
47
|
-
wrapper: "group-data-[
|
|
47
|
+
wrapper: "group-data-[selected=true]:border-primary"
|
|
48
48
|
},
|
|
49
49
|
secondary: {
|
|
50
50
|
control: "bg-secondary text-secondary-foreground",
|
|
51
|
-
wrapper: "group-data-[
|
|
51
|
+
wrapper: "group-data-[selected=true]:border-secondary"
|
|
52
52
|
},
|
|
53
53
|
success: {
|
|
54
54
|
control: "bg-success text-success-foreground",
|
|
55
|
-
wrapper: "group-data-[
|
|
55
|
+
wrapper: "group-data-[selected=true]:border-success"
|
|
56
56
|
},
|
|
57
57
|
warning: {
|
|
58
58
|
control: "bg-warning text-warning-foreground",
|
|
59
|
-
wrapper: "group-data-[
|
|
59
|
+
wrapper: "group-data-[selected=true]:border-warning"
|
|
60
60
|
},
|
|
61
61
|
danger: {
|
|
62
62
|
control: "bg-danger text-danger-foreground",
|
|
63
|
-
wrapper: "group-data-[
|
|
63
|
+
wrapper: "group-data-[selected=true]:border-danger"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
size: {
|
|
@@ -138,7 +138,7 @@ var radio = tv({
|
|
|
138
138
|
isInvalid: {
|
|
139
139
|
true: {
|
|
140
140
|
control: "bg-danger text-danger-foreground",
|
|
141
|
-
wrapper: "border-danger data-[
|
|
141
|
+
wrapper: "border-danger data-[selected=true]:border-danger",
|
|
142
142
|
label: "text-danger",
|
|
143
143
|
description: "text-danger-300"
|
|
144
144
|
}
|
|
@@ -164,7 +164,9 @@ var radioGroup = tv({
|
|
|
164
164
|
slots: {
|
|
165
165
|
base: "relative flex flex-col gap-2",
|
|
166
166
|
label: "relative text-default-500",
|
|
167
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
167
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
168
|
+
description: "text-xs text-default-400",
|
|
169
|
+
errorMessage: "text-xs text-danger"
|
|
168
170
|
}
|
|
169
171
|
});
|
|
170
172
|
|
|
@@ -160,7 +160,9 @@ var checkboxGroup = tv({
|
|
|
160
160
|
slots: {
|
|
161
161
|
base: "relative flex flex-col gap-2",
|
|
162
162
|
label: "relative text-default-500",
|
|
163
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
163
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
164
|
+
description: "text-xs text-default-400",
|
|
165
|
+
errorMessage: "text-xs text-danger"
|
|
164
166
|
}
|
|
165
167
|
});
|
|
166
168
|
|
|
@@ -27,7 +27,7 @@ var input = tv({
|
|
|
27
27
|
"data-[focus-visible]:ring-offset-background",
|
|
28
28
|
"data-[focus-visible]:dark:ring-offset-background-dark"
|
|
29
29
|
],
|
|
30
|
-
description: "text-xs text-default-
|
|
30
|
+
description: "text-xs text-default-400",
|
|
31
31
|
errorMessage: "text-xs text-danger"
|
|
32
32
|
},
|
|
33
33
|
variants: {
|
|
@@ -74,20 +74,23 @@ var image = tv({
|
|
|
74
74
|
showSkeleton: {
|
|
75
75
|
true: {
|
|
76
76
|
base: [
|
|
77
|
-
"
|
|
77
|
+
"group",
|
|
78
|
+
"relative",
|
|
78
79
|
"overflow-hidden",
|
|
79
|
-
"bg-
|
|
80
|
+
"bg-content3 dark:bg-content2",
|
|
81
|
+
"before:opacity-100",
|
|
80
82
|
"before:absolute",
|
|
81
83
|
"before:inset-0",
|
|
82
84
|
"before:-translate-x-full",
|
|
83
85
|
"before:animate-[shimmer_2s_infinite]",
|
|
84
86
|
"before:border-t",
|
|
85
|
-
"before:border-content4/
|
|
87
|
+
"before:border-content4/30",
|
|
86
88
|
"before:bg-gradient-to-r",
|
|
87
89
|
"before:from-transparent",
|
|
88
90
|
"before:via-content4",
|
|
89
91
|
"dark:before:via-default-700/10",
|
|
90
92
|
"before:to-transparent",
|
|
93
|
+
"after:opacity-100",
|
|
91
94
|
"after:absolute",
|
|
92
95
|
"after:inset-0",
|
|
93
96
|
"after:-z-10",
|
|
@@ -227,14 +227,20 @@ declare const checkboxGroup: tailwind_variants.TVReturnType<tailwind_variants.TV
|
|
|
227
227
|
base: string;
|
|
228
228
|
label: string;
|
|
229
229
|
wrapper: string;
|
|
230
|
+
description: string;
|
|
231
|
+
errorMessage: string;
|
|
230
232
|
}, undefined> | {}, unknown, {
|
|
231
233
|
base: string;
|
|
232
234
|
label: string;
|
|
233
235
|
wrapper: string;
|
|
236
|
+
description: string;
|
|
237
|
+
errorMessage: string;
|
|
234
238
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<tailwind_variants.TVVariantsDefault<{
|
|
235
239
|
base: string;
|
|
236
240
|
label: string;
|
|
237
241
|
wrapper: string;
|
|
242
|
+
description: string;
|
|
243
|
+
errorMessage: string;
|
|
238
244
|
}, undefined> | {}, unknown>>;
|
|
239
245
|
type CheckboxGroupSlots = keyof ReturnType<typeof checkboxGroup>;
|
|
240
246
|
type CheckboxVariantProps = VariantProps<typeof checkbox>;
|
|
@@ -185,7 +185,9 @@ var checkboxGroup = (0, import_tailwind_variants.tv)({
|
|
|
185
185
|
slots: {
|
|
186
186
|
base: "relative flex flex-col gap-2",
|
|
187
187
|
label: "relative text-default-500",
|
|
188
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
188
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
189
|
+
description: "text-xs text-default-400",
|
|
190
|
+
errorMessage: "text-xs text-danger"
|
|
189
191
|
}
|
|
190
192
|
});
|
|
191
193
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/components/image.js
CHANGED
|
@@ -98,20 +98,23 @@ var image = (0, import_tailwind_variants.tv)({
|
|
|
98
98
|
showSkeleton: {
|
|
99
99
|
true: {
|
|
100
100
|
base: [
|
|
101
|
-
"
|
|
101
|
+
"group",
|
|
102
|
+
"relative",
|
|
102
103
|
"overflow-hidden",
|
|
103
|
-
"bg-
|
|
104
|
+
"bg-content3 dark:bg-content2",
|
|
105
|
+
"before:opacity-100",
|
|
104
106
|
"before:absolute",
|
|
105
107
|
"before:inset-0",
|
|
106
108
|
"before:-translate-x-full",
|
|
107
109
|
"before:animate-[shimmer_2s_infinite]",
|
|
108
110
|
"before:border-t",
|
|
109
|
-
"before:border-content4/
|
|
111
|
+
"before:border-content4/30",
|
|
110
112
|
"before:bg-gradient-to-r",
|
|
111
113
|
"before:from-transparent",
|
|
112
114
|
"before:via-content4",
|
|
113
115
|
"dark:before:via-default-700/10",
|
|
114
116
|
"before:to-transparent",
|
|
117
|
+
"after:opacity-100",
|
|
115
118
|
"after:absolute",
|
|
116
119
|
"after:inset-0",
|
|
117
120
|
"after:-z-10",
|
package/dist/components/index.js
CHANGED
|
@@ -2783,7 +2783,9 @@ var checkboxGroup = (0, import_tailwind_variants13.tv)({
|
|
|
2783
2783
|
slots: {
|
|
2784
2784
|
base: "relative flex flex-col gap-2",
|
|
2785
2785
|
label: "relative text-default-500",
|
|
2786
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
2786
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
2787
|
+
description: "text-xs text-default-400",
|
|
2788
|
+
errorMessage: "text-xs text-danger"
|
|
2787
2789
|
}
|
|
2788
2790
|
});
|
|
2789
2791
|
|
|
@@ -2803,7 +2805,7 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2803
2805
|
"border-2",
|
|
2804
2806
|
"box-border",
|
|
2805
2807
|
"border-default",
|
|
2806
|
-
"group-data-[hover-
|
|
2808
|
+
"group-data-[hover-unselected=true]:bg-default-100",
|
|
2807
2809
|
"group-data-[focus-visible=true]:outline-none",
|
|
2808
2810
|
"group-data-[focus-visible=true]:ring-2",
|
|
2809
2811
|
"group-data-[focus-visible=true]:!ring-primary",
|
|
@@ -2819,8 +2821,8 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2819
2821
|
"opacity-0",
|
|
2820
2822
|
"scale-0",
|
|
2821
2823
|
"origin-center",
|
|
2822
|
-
"group-data-[
|
|
2823
|
-
"group-data-[
|
|
2824
|
+
"group-data-[selected=true]:opacity-100",
|
|
2825
|
+
"group-data-[selected=true]:scale-100"
|
|
2824
2826
|
],
|
|
2825
2827
|
label: "relative text-foreground select-none",
|
|
2826
2828
|
description: "relative text-default-400"
|
|
@@ -2829,27 +2831,27 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2829
2831
|
color: {
|
|
2830
2832
|
default: {
|
|
2831
2833
|
control: "bg-default-500 text-default-foreground",
|
|
2832
|
-
wrapper: "group-data-[
|
|
2834
|
+
wrapper: "group-data-[selected=true]:border-default-500"
|
|
2833
2835
|
},
|
|
2834
2836
|
primary: {
|
|
2835
2837
|
control: "bg-primary text-primary-foreground",
|
|
2836
|
-
wrapper: "group-data-[
|
|
2838
|
+
wrapper: "group-data-[selected=true]:border-primary"
|
|
2837
2839
|
},
|
|
2838
2840
|
secondary: {
|
|
2839
2841
|
control: "bg-secondary text-secondary-foreground",
|
|
2840
|
-
wrapper: "group-data-[
|
|
2842
|
+
wrapper: "group-data-[selected=true]:border-secondary"
|
|
2841
2843
|
},
|
|
2842
2844
|
success: {
|
|
2843
2845
|
control: "bg-success text-success-foreground",
|
|
2844
|
-
wrapper: "group-data-[
|
|
2846
|
+
wrapper: "group-data-[selected=true]:border-success"
|
|
2845
2847
|
},
|
|
2846
2848
|
warning: {
|
|
2847
2849
|
control: "bg-warning text-warning-foreground",
|
|
2848
|
-
wrapper: "group-data-[
|
|
2850
|
+
wrapper: "group-data-[selected=true]:border-warning"
|
|
2849
2851
|
},
|
|
2850
2852
|
danger: {
|
|
2851
2853
|
control: "bg-danger text-danger-foreground",
|
|
2852
|
-
wrapper: "group-data-[
|
|
2854
|
+
wrapper: "group-data-[selected=true]:border-danger"
|
|
2853
2855
|
}
|
|
2854
2856
|
},
|
|
2855
2857
|
size: {
|
|
@@ -2927,7 +2929,7 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2927
2929
|
isInvalid: {
|
|
2928
2930
|
true: {
|
|
2929
2931
|
control: "bg-danger text-danger-foreground",
|
|
2930
|
-
wrapper: "border-danger data-[
|
|
2932
|
+
wrapper: "border-danger data-[selected=true]:border-danger",
|
|
2931
2933
|
label: "text-danger",
|
|
2932
2934
|
description: "text-danger-300"
|
|
2933
2935
|
}
|
|
@@ -2953,7 +2955,9 @@ var radioGroup = (0, import_tailwind_variants14.tv)({
|
|
|
2953
2955
|
slots: {
|
|
2954
2956
|
base: "relative flex flex-col gap-2",
|
|
2955
2957
|
label: "relative text-default-500",
|
|
2956
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
2958
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
2959
|
+
description: "text-xs text-default-400",
|
|
2960
|
+
errorMessage: "text-xs text-danger"
|
|
2957
2961
|
}
|
|
2958
2962
|
});
|
|
2959
2963
|
|
|
@@ -3876,7 +3880,7 @@ var input = (0, import_tailwind_variants20.tv)({
|
|
|
3876
3880
|
"data-[focus-visible]:ring-offset-background",
|
|
3877
3881
|
"data-[focus-visible]:dark:ring-offset-background-dark"
|
|
3878
3882
|
],
|
|
3879
|
-
description: "text-xs text-default-
|
|
3883
|
+
description: "text-xs text-default-400",
|
|
3880
3884
|
errorMessage: "text-xs text-danger"
|
|
3881
3885
|
},
|
|
3882
3886
|
variants: {
|
|
@@ -5116,20 +5120,23 @@ var image = (0, import_tailwind_variants22.tv)({
|
|
|
5116
5120
|
showSkeleton: {
|
|
5117
5121
|
true: {
|
|
5118
5122
|
base: [
|
|
5119
|
-
"
|
|
5123
|
+
"group",
|
|
5124
|
+
"relative",
|
|
5120
5125
|
"overflow-hidden",
|
|
5121
|
-
"bg-
|
|
5126
|
+
"bg-content3 dark:bg-content2",
|
|
5127
|
+
"before:opacity-100",
|
|
5122
5128
|
"before:absolute",
|
|
5123
5129
|
"before:inset-0",
|
|
5124
5130
|
"before:-translate-x-full",
|
|
5125
5131
|
"before:animate-[shimmer_2s_infinite]",
|
|
5126
5132
|
"before:border-t",
|
|
5127
|
-
"before:border-content4/
|
|
5133
|
+
"before:border-content4/30",
|
|
5128
5134
|
"before:bg-gradient-to-r",
|
|
5129
5135
|
"before:from-transparent",
|
|
5130
5136
|
"before:via-content4",
|
|
5131
5137
|
"dark:before:via-default-700/10",
|
|
5132
5138
|
"before:to-transparent",
|
|
5139
|
+
"after:opacity-100",
|
|
5133
5140
|
"after:absolute",
|
|
5134
5141
|
"after:inset-0",
|
|
5135
5142
|
"after:-z-10",
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
import {
|
|
36
36
|
radio,
|
|
37
37
|
radioGroup
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-2RQFBKZ4.mjs";
|
|
39
39
|
import {
|
|
40
40
|
skeleton
|
|
41
41
|
} from "../chunk-P5E3PNHW.mjs";
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
} from "../chunk-NYEYKHJ3.mjs";
|
|
57
57
|
import {
|
|
58
58
|
image
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-LNV5ZITR.mjs";
|
|
60
60
|
import {
|
|
61
61
|
input
|
|
62
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-GGQITS2B.mjs";
|
|
63
63
|
import {
|
|
64
64
|
kbd
|
|
65
65
|
} from "../chunk-GYSMGV7B.mjs";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
import {
|
|
85
85
|
checkbox,
|
|
86
86
|
checkboxGroup
|
|
87
|
-
} from "../chunk-
|
|
87
|
+
} from "../chunk-G34JOIZ3.mjs";
|
|
88
88
|
import {
|
|
89
89
|
chip
|
|
90
90
|
} from "../chunk-ANKTYY3U.mjs";
|
package/dist/components/input.js
CHANGED
|
@@ -51,7 +51,7 @@ var input = (0, import_tailwind_variants.tv)({
|
|
|
51
51
|
"data-[focus-visible]:ring-offset-background",
|
|
52
52
|
"data-[focus-visible]:dark:ring-offset-background-dark"
|
|
53
53
|
],
|
|
54
|
-
description: "text-xs text-default-
|
|
54
|
+
description: "text-xs text-default-400",
|
|
55
55
|
errorMessage: "text-xs text-danger"
|
|
56
56
|
},
|
|
57
57
|
variants: {
|
|
@@ -10,12 +10,12 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
10
10
|
* @example
|
|
11
11
|
* <label
|
|
12
12
|
* className={base())}
|
|
13
|
-
* data-
|
|
14
|
-
* data-hover-
|
|
13
|
+
* data-selected={boolean}
|
|
14
|
+
* data-hover-unselected={boolean}
|
|
15
15
|
* data-focus-visible={boolean}
|
|
16
16
|
* >
|
|
17
17
|
* // input
|
|
18
|
-
* <span className={wrapper()} aria-hidden="true" data-
|
|
18
|
+
* <span className={wrapper()} aria-hidden="true" data-selected={selected} data-hover-unselected={hoverUnchecked}>
|
|
19
19
|
* <span className={point()}/>
|
|
20
20
|
* </span>
|
|
21
21
|
* <div className={labelWrapper()}>
|
|
@@ -277,14 +277,20 @@ declare const radioGroup: tailwind_variants.TVReturnType<tailwind_variants.TVVar
|
|
|
277
277
|
base: string;
|
|
278
278
|
label: string;
|
|
279
279
|
wrapper: string;
|
|
280
|
+
description: string;
|
|
281
|
+
errorMessage: string;
|
|
280
282
|
}, undefined> | {}, unknown, {
|
|
281
283
|
base: string;
|
|
282
284
|
label: string;
|
|
283
285
|
wrapper: string;
|
|
286
|
+
description: string;
|
|
287
|
+
errorMessage: string;
|
|
284
288
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<tailwind_variants.TVVariantsDefault<{
|
|
285
289
|
base: string;
|
|
286
290
|
label: string;
|
|
287
291
|
wrapper: string;
|
|
292
|
+
description: string;
|
|
293
|
+
errorMessage: string;
|
|
288
294
|
}, undefined> | {}, unknown>>;
|
|
289
295
|
type RadioGroupSlots = keyof ReturnType<typeof radioGroup>;
|
|
290
296
|
type RadioVariantProps = VariantProps<typeof radio>;
|
package/dist/components/radio.js
CHANGED
|
@@ -39,7 +39,7 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
39
39
|
"border-2",
|
|
40
40
|
"box-border",
|
|
41
41
|
"border-default",
|
|
42
|
-
"group-data-[hover-
|
|
42
|
+
"group-data-[hover-unselected=true]:bg-default-100",
|
|
43
43
|
"group-data-[focus-visible=true]:outline-none",
|
|
44
44
|
"group-data-[focus-visible=true]:ring-2",
|
|
45
45
|
"group-data-[focus-visible=true]:!ring-primary",
|
|
@@ -55,8 +55,8 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
55
55
|
"opacity-0",
|
|
56
56
|
"scale-0",
|
|
57
57
|
"origin-center",
|
|
58
|
-
"group-data-[
|
|
59
|
-
"group-data-[
|
|
58
|
+
"group-data-[selected=true]:opacity-100",
|
|
59
|
+
"group-data-[selected=true]:scale-100"
|
|
60
60
|
],
|
|
61
61
|
label: "relative text-foreground select-none",
|
|
62
62
|
description: "relative text-default-400"
|
|
@@ -65,27 +65,27 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
65
65
|
color: {
|
|
66
66
|
default: {
|
|
67
67
|
control: "bg-default-500 text-default-foreground",
|
|
68
|
-
wrapper: "group-data-[
|
|
68
|
+
wrapper: "group-data-[selected=true]:border-default-500"
|
|
69
69
|
},
|
|
70
70
|
primary: {
|
|
71
71
|
control: "bg-primary text-primary-foreground",
|
|
72
|
-
wrapper: "group-data-[
|
|
72
|
+
wrapper: "group-data-[selected=true]:border-primary"
|
|
73
73
|
},
|
|
74
74
|
secondary: {
|
|
75
75
|
control: "bg-secondary text-secondary-foreground",
|
|
76
|
-
wrapper: "group-data-[
|
|
76
|
+
wrapper: "group-data-[selected=true]:border-secondary"
|
|
77
77
|
},
|
|
78
78
|
success: {
|
|
79
79
|
control: "bg-success text-success-foreground",
|
|
80
|
-
wrapper: "group-data-[
|
|
80
|
+
wrapper: "group-data-[selected=true]:border-success"
|
|
81
81
|
},
|
|
82
82
|
warning: {
|
|
83
83
|
control: "bg-warning text-warning-foreground",
|
|
84
|
-
wrapper: "group-data-[
|
|
84
|
+
wrapper: "group-data-[selected=true]:border-warning"
|
|
85
85
|
},
|
|
86
86
|
danger: {
|
|
87
87
|
control: "bg-danger text-danger-foreground",
|
|
88
|
-
wrapper: "group-data-[
|
|
88
|
+
wrapper: "group-data-[selected=true]:border-danger"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
size: {
|
|
@@ -163,7 +163,7 @@ var radio = (0, import_tailwind_variants.tv)({
|
|
|
163
163
|
isInvalid: {
|
|
164
164
|
true: {
|
|
165
165
|
control: "bg-danger text-danger-foreground",
|
|
166
|
-
wrapper: "border-danger data-[
|
|
166
|
+
wrapper: "border-danger data-[selected=true]:border-danger",
|
|
167
167
|
label: "text-danger",
|
|
168
168
|
description: "text-danger-300"
|
|
169
169
|
}
|
|
@@ -189,7 +189,9 @@ var radioGroup = (0, import_tailwind_variants.tv)({
|
|
|
189
189
|
slots: {
|
|
190
190
|
base: "relative flex flex-col gap-2",
|
|
191
191
|
label: "relative text-default-500",
|
|
192
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
192
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
193
|
+
description: "text-xs text-default-400",
|
|
194
|
+
errorMessage: "text-xs text-danger"
|
|
193
195
|
}
|
|
194
196
|
});
|
|
195
197
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.js
CHANGED
|
@@ -2815,7 +2815,9 @@ var checkboxGroup = (0, import_tailwind_variants13.tv)({
|
|
|
2815
2815
|
slots: {
|
|
2816
2816
|
base: "relative flex flex-col gap-2",
|
|
2817
2817
|
label: "relative text-default-500",
|
|
2818
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
2818
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
2819
|
+
description: "text-xs text-default-400",
|
|
2820
|
+
errorMessage: "text-xs text-danger"
|
|
2819
2821
|
}
|
|
2820
2822
|
});
|
|
2821
2823
|
|
|
@@ -2835,7 +2837,7 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2835
2837
|
"border-2",
|
|
2836
2838
|
"box-border",
|
|
2837
2839
|
"border-default",
|
|
2838
|
-
"group-data-[hover-
|
|
2840
|
+
"group-data-[hover-unselected=true]:bg-default-100",
|
|
2839
2841
|
"group-data-[focus-visible=true]:outline-none",
|
|
2840
2842
|
"group-data-[focus-visible=true]:ring-2",
|
|
2841
2843
|
"group-data-[focus-visible=true]:!ring-primary",
|
|
@@ -2851,8 +2853,8 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2851
2853
|
"opacity-0",
|
|
2852
2854
|
"scale-0",
|
|
2853
2855
|
"origin-center",
|
|
2854
|
-
"group-data-[
|
|
2855
|
-
"group-data-[
|
|
2856
|
+
"group-data-[selected=true]:opacity-100",
|
|
2857
|
+
"group-data-[selected=true]:scale-100"
|
|
2856
2858
|
],
|
|
2857
2859
|
label: "relative text-foreground select-none",
|
|
2858
2860
|
description: "relative text-default-400"
|
|
@@ -2861,27 +2863,27 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2861
2863
|
color: {
|
|
2862
2864
|
default: {
|
|
2863
2865
|
control: "bg-default-500 text-default-foreground",
|
|
2864
|
-
wrapper: "group-data-[
|
|
2866
|
+
wrapper: "group-data-[selected=true]:border-default-500"
|
|
2865
2867
|
},
|
|
2866
2868
|
primary: {
|
|
2867
2869
|
control: "bg-primary text-primary-foreground",
|
|
2868
|
-
wrapper: "group-data-[
|
|
2870
|
+
wrapper: "group-data-[selected=true]:border-primary"
|
|
2869
2871
|
},
|
|
2870
2872
|
secondary: {
|
|
2871
2873
|
control: "bg-secondary text-secondary-foreground",
|
|
2872
|
-
wrapper: "group-data-[
|
|
2874
|
+
wrapper: "group-data-[selected=true]:border-secondary"
|
|
2873
2875
|
},
|
|
2874
2876
|
success: {
|
|
2875
2877
|
control: "bg-success text-success-foreground",
|
|
2876
|
-
wrapper: "group-data-[
|
|
2878
|
+
wrapper: "group-data-[selected=true]:border-success"
|
|
2877
2879
|
},
|
|
2878
2880
|
warning: {
|
|
2879
2881
|
control: "bg-warning text-warning-foreground",
|
|
2880
|
-
wrapper: "group-data-[
|
|
2882
|
+
wrapper: "group-data-[selected=true]:border-warning"
|
|
2881
2883
|
},
|
|
2882
2884
|
danger: {
|
|
2883
2885
|
control: "bg-danger text-danger-foreground",
|
|
2884
|
-
wrapper: "group-data-[
|
|
2886
|
+
wrapper: "group-data-[selected=true]:border-danger"
|
|
2885
2887
|
}
|
|
2886
2888
|
},
|
|
2887
2889
|
size: {
|
|
@@ -2959,7 +2961,7 @@ var radio = (0, import_tailwind_variants14.tv)({
|
|
|
2959
2961
|
isInvalid: {
|
|
2960
2962
|
true: {
|
|
2961
2963
|
control: "bg-danger text-danger-foreground",
|
|
2962
|
-
wrapper: "border-danger data-[
|
|
2964
|
+
wrapper: "border-danger data-[selected=true]:border-danger",
|
|
2963
2965
|
label: "text-danger",
|
|
2964
2966
|
description: "text-danger-300"
|
|
2965
2967
|
}
|
|
@@ -2985,7 +2987,9 @@ var radioGroup = (0, import_tailwind_variants14.tv)({
|
|
|
2985
2987
|
slots: {
|
|
2986
2988
|
base: "relative flex flex-col gap-2",
|
|
2987
2989
|
label: "relative text-default-500",
|
|
2988
|
-
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row
|
|
2990
|
+
wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
|
|
2991
|
+
description: "text-xs text-default-400",
|
|
2992
|
+
errorMessage: "text-xs text-danger"
|
|
2989
2993
|
}
|
|
2990
2994
|
});
|
|
2991
2995
|
|
|
@@ -3908,7 +3912,7 @@ var input = (0, import_tailwind_variants20.tv)({
|
|
|
3908
3912
|
"data-[focus-visible]:ring-offset-background",
|
|
3909
3913
|
"data-[focus-visible]:dark:ring-offset-background-dark"
|
|
3910
3914
|
],
|
|
3911
|
-
description: "text-xs text-default-
|
|
3915
|
+
description: "text-xs text-default-400",
|
|
3912
3916
|
errorMessage: "text-xs text-danger"
|
|
3913
3917
|
},
|
|
3914
3918
|
variants: {
|
|
@@ -5148,20 +5152,23 @@ var image = (0, import_tailwind_variants22.tv)({
|
|
|
5148
5152
|
showSkeleton: {
|
|
5149
5153
|
true: {
|
|
5150
5154
|
base: [
|
|
5151
|
-
"
|
|
5155
|
+
"group",
|
|
5156
|
+
"relative",
|
|
5152
5157
|
"overflow-hidden",
|
|
5153
|
-
"bg-
|
|
5158
|
+
"bg-content3 dark:bg-content2",
|
|
5159
|
+
"before:opacity-100",
|
|
5154
5160
|
"before:absolute",
|
|
5155
5161
|
"before:inset-0",
|
|
5156
5162
|
"before:-translate-x-full",
|
|
5157
5163
|
"before:animate-[shimmer_2s_infinite]",
|
|
5158
5164
|
"before:border-t",
|
|
5159
|
-
"before:border-content4/
|
|
5165
|
+
"before:border-content4/30",
|
|
5160
5166
|
"before:bg-gradient-to-r",
|
|
5161
5167
|
"before:from-transparent",
|
|
5162
5168
|
"before:via-content4",
|
|
5163
5169
|
"dark:before:via-default-700/10",
|
|
5164
5170
|
"before:to-transparent",
|
|
5171
|
+
"after:opacity-100",
|
|
5165
5172
|
"after:absolute",
|
|
5166
5173
|
"after:inset-0",
|
|
5167
5174
|
"after:-z-10",
|
package/dist/index.mjs
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
import {
|
|
36
36
|
radio,
|
|
37
37
|
radioGroup
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2RQFBKZ4.mjs";
|
|
39
39
|
import {
|
|
40
40
|
skeleton
|
|
41
41
|
} from "./chunk-P5E3PNHW.mjs";
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
} from "./chunk-NYEYKHJ3.mjs";
|
|
57
57
|
import {
|
|
58
58
|
image
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-LNV5ZITR.mjs";
|
|
60
60
|
import {
|
|
61
61
|
input
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-GGQITS2B.mjs";
|
|
63
63
|
import {
|
|
64
64
|
kbd
|
|
65
65
|
} from "./chunk-GYSMGV7B.mjs";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
import {
|
|
85
85
|
checkbox,
|
|
86
86
|
checkboxGroup
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-G34JOIZ3.mjs";
|
|
88
88
|
import {
|
|
89
89
|
chip
|
|
90
90
|
} from "./chunk-ANKTYY3U.mjs";
|