@deepnoid/ui 0.0.88 → 0.0.90
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-4VIEZ5FT.mjs → chunk-2BCJZILI.mjs} +10 -9
- package/dist/chunk-2ZFHB4JM.mjs +76 -0
- package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
- package/dist/{chunk-IXFP2WQ4.mjs → chunk-6YE26GOI.mjs} +10 -8
- package/dist/chunk-75HLCORR.mjs +1 -0
- package/dist/{chunk-K6HPMTN4.mjs → chunk-7HHFRKJU.mjs} +1 -1
- package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
- package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
- package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
- package/dist/{chunk-KHWFCTPX.mjs → chunk-DWROPKZW.mjs} +6 -6
- package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
- package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
- package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
- package/dist/{chunk-YGTJU3GD.mjs → chunk-L7P6OBUX.mjs} +10 -17
- package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
- package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
- package/dist/chunk-N6IEGD4K.mjs +119 -0
- package/dist/chunk-OJ2OEI5B.mjs +202 -0
- package/dist/chunk-P732YGHO.mjs +18 -0
- package/dist/{chunk-QRHT7MSO.mjs → chunk-PXUBPWKU.mjs} +1 -1
- package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
- package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
- package/dist/chunk-S2VUKVCH.mjs +319 -0
- package/dist/{chunk-IZOMH2SL.mjs → chunk-S3O52LLG.mjs} +14 -14
- package/dist/chunk-UR64ZUAU.mjs +671 -0
- package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
- package/dist/chunk-WX32MAKV.mjs +219 -0
- package/dist/components/accordion/accordion.d.mts +3 -3
- package/dist/components/accordion/accordion.d.ts +3 -3
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/accordion/accordionItem.d.mts +3 -3
- package/dist/components/accordion/accordionItem.d.ts +3 -3
- package/dist/components/accordion/accordionItem.js +31 -1
- package/dist/components/accordion/accordionItem.mjs +3 -3
- package/dist/components/accordion/index.js +31 -1
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/button/button-group.d.mts +2 -2
- package/dist/components/button/button-group.d.ts +2 -2
- package/dist/components/button/button-group.test.js +4103 -167
- package/dist/components/button/button-group.test.mjs +7 -3
- package/dist/components/button/button.d.mts +360 -12
- package/dist/components/button/button.d.ts +360 -12
- package/dist/components/button/button.js +4054 -110
- package/dist/components/button/button.mjs +5 -1
- package/dist/components/button/button.test.js +4059 -125
- package/dist/components/button/button.test.mjs +7 -3
- package/dist/components/button/index.d.mts +3 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.js +4046 -112
- package/dist/components/button/index.mjs +5 -1
- package/dist/components/card/card.d.mts +3 -3
- package/dist/components/card/card.d.ts +3 -3
- package/dist/components/checkbox/checkbox.d.mts +71 -71
- package/dist/components/checkbox/checkbox.d.ts +71 -71
- package/dist/components/checkbox/checkbox.js +28 -21
- package/dist/components/checkbox/checkbox.mjs +1 -1
- package/dist/components/checkbox/checkbox.test.js +28 -21
- package/dist/components/checkbox/checkbox.test.mjs +4 -4
- package/dist/components/checkbox/index.js +28 -21
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/dateTimePicker/calendar.d.mts +118 -0
- package/dist/components/dateTimePicker/calendar.d.ts +118 -0
- package/dist/components/dateTimePicker/calendar.js +3854 -0
- package/dist/components/dateTimePicker/calendar.mjs +16 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.mts +443 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +443 -0
- package/dist/components/dateTimePicker/dateTimePicker.js +4486 -0
- package/dist/components/dateTimePicker/dateTimePicker.mjs +22 -0
- package/dist/components/dateTimePicker/index.d.mts +5 -0
- package/dist/components/dateTimePicker/index.d.ts +5 -0
- package/dist/components/dateTimePicker/index.js +4487 -0
- package/dist/components/dateTimePicker/index.mjs +21 -0
- package/dist/components/dateTimePicker/timePicker.d.mts +10 -0
- package/dist/components/dateTimePicker/timePicker.d.ts +10 -0
- package/dist/components/dateTimePicker/timePicker.js +342 -0
- package/dist/components/dateTimePicker/timePicker.mjs +13 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +31 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +31 -0
- package/dist/components/dateTimePicker/useDateTimePicker.js +106 -0
- package/dist/components/dateTimePicker/useDateTimePicker.mjs +9 -0
- package/dist/components/dateTimePicker/util.d.mts +4 -0
- package/dist/components/dateTimePicker/util.d.ts +4 -0
- package/dist/components/dateTimePicker/util.js +42 -0
- package/dist/components/dateTimePicker/util.mjs +10 -0
- package/dist/components/icon/Icon.d.mts +4 -0
- package/dist/components/icon/Icon.d.ts +4 -0
- package/dist/components/icon/Icon.js +30 -0
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +30 -0
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -0
- package/dist/components/icon/template.d.ts +1 -0
- package/dist/components/icon/template.js +30 -0
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +36 -4
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.d.mts +9 -4
- package/dist/components/input/input.d.ts +9 -4
- package/dist/components/input/input.js +36 -4
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/input/input.test.js +36 -4
- package/dist/components/input/input.test.mjs +6 -6
- package/dist/components/list/index.js +3 -3
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/list/list.d.mts +3 -3
- package/dist/components/list/list.d.ts +3 -3
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/list/listItem.d.mts +4 -4
- package/dist/components/list/listItem.d.ts +4 -4
- package/dist/components/list/listItem.js +3 -3
- package/dist/components/list/listItem.mjs +1 -1
- package/dist/components/modal/index.js +506 -128
- package/dist/components/modal/index.mjs +6 -5
- package/dist/components/modal/modal.d.mts +2 -2
- package/dist/components/modal/modal.d.ts +2 -2
- package/dist/components/modal/modal.js +506 -128
- package/dist/components/modal/modal.mjs +6 -5
- package/dist/components/modal/modal.test.js +498 -130
- package/dist/components/modal/modal.test.mjs +6 -5
- package/dist/components/pagination/index.js +16 -16
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/pagination/pagination.d.mts +2 -2
- package/dist/components/pagination/pagination.d.ts +2 -2
- package/dist/components/pagination/pagination.js +16 -16
- package/dist/components/pagination/pagination.mjs +1 -1
- package/dist/components/pagination/pagination.test.js +16 -16
- package/dist/components/pagination/pagination.test.mjs +2 -2
- package/dist/components/progress/index.js +9 -9
- package/dist/components/progress/index.mjs +1 -1
- package/dist/components/progress/progress.d.mts +35 -35
- package/dist/components/progress/progress.d.ts +35 -35
- package/dist/components/progress/progress.js +9 -9
- package/dist/components/progress/progress.mjs +1 -1
- package/dist/components/progress/progress.test.js +9 -9
- package/dist/components/progress/progress.test.mjs +1 -1
- package/dist/components/radio/index.js +37 -19
- package/dist/components/radio/index.mjs +1 -1
- package/dist/components/radio/radio.d.mts +35 -35
- package/dist/components/radio/radio.d.ts +35 -35
- package/dist/components/radio/radio.js +37 -19
- package/dist/components/radio/radio.mjs +1 -1
- package/dist/components/radio/radio.test.js +37 -19
- package/dist/components/radio/radio.test.mjs +2 -2
- package/dist/components/select/index.js +36 -5
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.js +30 -0
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.d.mts +4 -4
- package/dist/components/select/select.d.ts +4 -4
- package/dist/components/select/select.js +36 -5
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/select/select.test.js +36 -5
- package/dist/components/select/select.test.mjs +9 -9
- package/dist/components/select/useSelect.d.mts +3 -3
- package/dist/components/select/useSelect.d.ts +3 -3
- package/dist/components/slider/index.js +9 -4
- package/dist/components/slider/index.mjs +1 -1
- package/dist/components/slider/slider.d.mts +28 -2
- package/dist/components/slider/slider.d.ts +28 -2
- package/dist/components/slider/slider.js +9 -4
- package/dist/components/slider/slider.mjs +1 -1
- package/dist/components/slider/slider.test.js +9 -4
- package/dist/components/slider/slider.test.mjs +1 -1
- package/dist/components/switch/index.js +14 -14
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +50 -50
- package/dist/components/switch/switch.d.ts +50 -50
- package/dist/components/switch/switch.js +14 -14
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/switch/switch.test.js +14 -14
- package/dist/components/switch/switch.test.mjs +2 -2
- package/dist/components/table/index.js +66 -27
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.d.mts +2 -2
- package/dist/components/table/table-body.d.ts +2 -2
- package/dist/components/table/table-body.js +60 -23
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +28 -21
- package/dist/components/table/table-head.mjs +2 -2
- package/dist/components/table/table.d.mts +26 -12
- package/dist/components/table/table.d.ts +26 -12
- package/dist/components/table/table.js +66 -27
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/table/table.test.js +66 -27
- package/dist/components/table/table.test.mjs +8 -8
- package/dist/components/tabs/tabs.d.mts +3 -3
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/tabs/tabs.test.mjs +4 -4
- package/dist/components/textarea/index.d.mts +3 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/index.js +89 -30
- package/dist/components/textarea/index.mjs +2 -1
- package/dist/components/textarea/textarea.d.mts +512 -11
- package/dist/components/textarea/textarea.d.ts +512 -11
- package/dist/components/textarea/textarea.js +89 -30
- package/dist/components/textarea/textarea.mjs +2 -1
- package/dist/components/textarea/textarea.test.js +89 -30
- package/dist/components/textarea/textarea.test.mjs +3 -2
- package/dist/components/toast/index.js +30 -0
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.d.mts +2 -2
- package/dist/components/toast/toast.d.ts +2 -2
- package/dist/components/toast/toast.js +30 -0
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/toast.test.js +30 -0
- package/dist/components/toast/toast.test.mjs +5 -5
- package/dist/components/toast/use-toast.js +30 -0
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tooltip/index.d.mts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.mts +3 -3
- package/dist/components/tooltip/tooltip.d.ts +3 -3
- package/dist/components/tooltip/tooltip.test.js +4034 -118
- package/dist/components/tooltip/tooltip.test.mjs +7 -4
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3741 -2611
- package/dist/index.mjs +71 -52
- package/dist/{tooltip-utils-DCKA5gnI.d.ts → tooltip-utils-CrCabndd.d.mts} +2 -2
- package/dist/{tooltip-utils-DCKA5gnI.d.mts → tooltip-utils-CrCabndd.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-66WCZEEU.mjs +0 -320
- package/dist/chunk-WOX3SLJB.mjs +0 -162
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
-
import * as
|
|
4
|
+
import * as React$1 from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
7
7
|
|
|
@@ -13,32 +13,32 @@ type CheckboxProps = Props & CheckboxVariantProps;
|
|
|
13
13
|
type CheckboxVariantProps = VariantProps<typeof checkbox>;
|
|
14
14
|
type CheckboxSlots = keyof ReturnType<typeof checkbox>;
|
|
15
15
|
type CheckboxReturnType = ReturnType<typeof checkbox>;
|
|
16
|
-
declare const CheckBox:
|
|
16
|
+
declare const CheckBox: React$1.ForwardRefExoticComponent<Props & CheckboxVariantProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
|
|
18
18
|
declare const checkbox: tailwind_variants.TVReturnType<{
|
|
19
19
|
color: {
|
|
20
20
|
primary: {
|
|
21
|
-
wrapper: string;
|
|
21
|
+
wrapper: string[];
|
|
22
22
|
};
|
|
23
23
|
secondary: {
|
|
24
|
-
wrapper: string;
|
|
24
|
+
wrapper: string[];
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
size: {
|
|
28
28
|
sm: {
|
|
29
29
|
wrapper: string[];
|
|
30
|
-
label: string;
|
|
31
|
-
icon: string;
|
|
30
|
+
label: string[];
|
|
31
|
+
icon: string[];
|
|
32
32
|
};
|
|
33
33
|
md: {
|
|
34
34
|
wrapper: string[];
|
|
35
|
-
label: string;
|
|
36
|
-
icon: string;
|
|
35
|
+
label: string[];
|
|
36
|
+
icon: string[];
|
|
37
37
|
};
|
|
38
38
|
lg: {
|
|
39
39
|
wrapper: string[];
|
|
40
|
-
label: string;
|
|
41
|
-
icon: string;
|
|
40
|
+
label: string[];
|
|
41
|
+
icon: string[];
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
lineThrough: {
|
|
@@ -48,14 +48,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
48
48
|
};
|
|
49
49
|
isInvalid: {
|
|
50
50
|
true: {
|
|
51
|
-
wrapper: string;
|
|
51
|
+
wrapper: string[];
|
|
52
52
|
label: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
isDisabled: {
|
|
56
56
|
true: {
|
|
57
57
|
base: string;
|
|
58
|
-
wrapper: string;
|
|
58
|
+
wrapper: string[];
|
|
59
59
|
label: string;
|
|
60
60
|
icon: string;
|
|
61
61
|
};
|
|
@@ -68,15 +68,15 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
68
68
|
};
|
|
69
69
|
false: {
|
|
70
70
|
wrapper: string[];
|
|
71
|
-
icon: string;
|
|
72
|
-
label: string;
|
|
71
|
+
icon: string[];
|
|
72
|
+
label: string[];
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
}, {
|
|
76
|
-
base: string;
|
|
76
|
+
base: string[];
|
|
77
77
|
wrapper: string[];
|
|
78
|
-
icon: string;
|
|
79
|
-
label: string;
|
|
78
|
+
icon: string[];
|
|
79
|
+
label: string[];
|
|
80
80
|
}, undefined, {
|
|
81
81
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
82
82
|
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
@@ -109,27 +109,27 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
109
109
|
}, {
|
|
110
110
|
color: {
|
|
111
111
|
primary: {
|
|
112
|
-
wrapper: string;
|
|
112
|
+
wrapper: string[];
|
|
113
113
|
};
|
|
114
114
|
secondary: {
|
|
115
|
-
wrapper: string;
|
|
115
|
+
wrapper: string[];
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
118
|
size: {
|
|
119
119
|
sm: {
|
|
120
120
|
wrapper: string[];
|
|
121
|
-
label: string;
|
|
122
|
-
icon: string;
|
|
121
|
+
label: string[];
|
|
122
|
+
icon: string[];
|
|
123
123
|
};
|
|
124
124
|
md: {
|
|
125
125
|
wrapper: string[];
|
|
126
|
-
label: string;
|
|
127
|
-
icon: string;
|
|
126
|
+
label: string[];
|
|
127
|
+
icon: string[];
|
|
128
128
|
};
|
|
129
129
|
lg: {
|
|
130
130
|
wrapper: string[];
|
|
131
|
-
label: string;
|
|
132
|
-
icon: string;
|
|
131
|
+
label: string[];
|
|
132
|
+
icon: string[];
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
lineThrough: {
|
|
@@ -139,14 +139,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
139
139
|
};
|
|
140
140
|
isInvalid: {
|
|
141
141
|
true: {
|
|
142
|
-
wrapper: string;
|
|
142
|
+
wrapper: string[];
|
|
143
143
|
label: string;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
146
|
isDisabled: {
|
|
147
147
|
true: {
|
|
148
148
|
base: string;
|
|
149
|
-
wrapper: string;
|
|
149
|
+
wrapper: string[];
|
|
150
150
|
label: string;
|
|
151
151
|
icon: string;
|
|
152
152
|
};
|
|
@@ -159,39 +159,39 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
159
159
|
};
|
|
160
160
|
false: {
|
|
161
161
|
wrapper: string[];
|
|
162
|
-
icon: string;
|
|
163
|
-
label: string;
|
|
162
|
+
icon: string[];
|
|
163
|
+
label: string[];
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
}, {
|
|
167
|
-
base: string;
|
|
167
|
+
base: string[];
|
|
168
168
|
wrapper: string[];
|
|
169
|
-
icon: string;
|
|
170
|
-
label: string;
|
|
169
|
+
icon: string[];
|
|
170
|
+
label: string[];
|
|
171
171
|
}, tailwind_variants.TVReturnType<{
|
|
172
172
|
color: {
|
|
173
173
|
primary: {
|
|
174
|
-
wrapper: string;
|
|
174
|
+
wrapper: string[];
|
|
175
175
|
};
|
|
176
176
|
secondary: {
|
|
177
|
-
wrapper: string;
|
|
177
|
+
wrapper: string[];
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
size: {
|
|
181
181
|
sm: {
|
|
182
182
|
wrapper: string[];
|
|
183
|
-
label: string;
|
|
184
|
-
icon: string;
|
|
183
|
+
label: string[];
|
|
184
|
+
icon: string[];
|
|
185
185
|
};
|
|
186
186
|
md: {
|
|
187
187
|
wrapper: string[];
|
|
188
|
-
label: string;
|
|
189
|
-
icon: string;
|
|
188
|
+
label: string[];
|
|
189
|
+
icon: string[];
|
|
190
190
|
};
|
|
191
191
|
lg: {
|
|
192
192
|
wrapper: string[];
|
|
193
|
-
label: string;
|
|
194
|
-
icon: string;
|
|
193
|
+
label: string[];
|
|
194
|
+
icon: string[];
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
lineThrough: {
|
|
@@ -201,14 +201,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
201
201
|
};
|
|
202
202
|
isInvalid: {
|
|
203
203
|
true: {
|
|
204
|
-
wrapper: string;
|
|
204
|
+
wrapper: string[];
|
|
205
205
|
label: string;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
isDisabled: {
|
|
209
209
|
true: {
|
|
210
210
|
base: string;
|
|
211
|
-
wrapper: string;
|
|
211
|
+
wrapper: string[];
|
|
212
212
|
label: string;
|
|
213
213
|
icon: string;
|
|
214
214
|
};
|
|
@@ -221,39 +221,39 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
221
221
|
};
|
|
222
222
|
false: {
|
|
223
223
|
wrapper: string[];
|
|
224
|
-
icon: string;
|
|
225
|
-
label: string;
|
|
224
|
+
icon: string[];
|
|
225
|
+
label: string[];
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
228
|
}, {
|
|
229
|
-
base: string;
|
|
229
|
+
base: string[];
|
|
230
230
|
wrapper: string[];
|
|
231
|
-
icon: string;
|
|
232
|
-
label: string;
|
|
231
|
+
icon: string[];
|
|
232
|
+
label: string[];
|
|
233
233
|
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
234
234
|
color: {
|
|
235
235
|
primary: {
|
|
236
|
-
wrapper: string;
|
|
236
|
+
wrapper: string[];
|
|
237
237
|
};
|
|
238
238
|
secondary: {
|
|
239
|
-
wrapper: string;
|
|
239
|
+
wrapper: string[];
|
|
240
240
|
};
|
|
241
241
|
};
|
|
242
242
|
size: {
|
|
243
243
|
sm: {
|
|
244
244
|
wrapper: string[];
|
|
245
|
-
label: string;
|
|
246
|
-
icon: string;
|
|
245
|
+
label: string[];
|
|
246
|
+
icon: string[];
|
|
247
247
|
};
|
|
248
248
|
md: {
|
|
249
249
|
wrapper: string[];
|
|
250
|
-
label: string;
|
|
251
|
-
icon: string;
|
|
250
|
+
label: string[];
|
|
251
|
+
icon: string[];
|
|
252
252
|
};
|
|
253
253
|
lg: {
|
|
254
254
|
wrapper: string[];
|
|
255
|
-
label: string;
|
|
256
|
-
icon: string;
|
|
255
|
+
label: string[];
|
|
256
|
+
icon: string[];
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
259
|
lineThrough: {
|
|
@@ -263,14 +263,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
263
263
|
};
|
|
264
264
|
isInvalid: {
|
|
265
265
|
true: {
|
|
266
|
-
wrapper: string;
|
|
266
|
+
wrapper: string[];
|
|
267
267
|
label: string;
|
|
268
268
|
};
|
|
269
269
|
};
|
|
270
270
|
isDisabled: {
|
|
271
271
|
true: {
|
|
272
272
|
base: string;
|
|
273
|
-
wrapper: string;
|
|
273
|
+
wrapper: string[];
|
|
274
274
|
label: string;
|
|
275
275
|
icon: string;
|
|
276
276
|
};
|
|
@@ -283,34 +283,34 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
283
283
|
};
|
|
284
284
|
false: {
|
|
285
285
|
wrapper: string[];
|
|
286
|
-
icon: string;
|
|
287
|
-
label: string;
|
|
286
|
+
icon: string[];
|
|
287
|
+
label: string[];
|
|
288
288
|
};
|
|
289
289
|
};
|
|
290
290
|
}, {
|
|
291
291
|
color: {
|
|
292
292
|
primary: {
|
|
293
|
-
wrapper: string;
|
|
293
|
+
wrapper: string[];
|
|
294
294
|
};
|
|
295
295
|
secondary: {
|
|
296
|
-
wrapper: string;
|
|
296
|
+
wrapper: string[];
|
|
297
297
|
};
|
|
298
298
|
};
|
|
299
299
|
size: {
|
|
300
300
|
sm: {
|
|
301
301
|
wrapper: string[];
|
|
302
|
-
label: string;
|
|
303
|
-
icon: string;
|
|
302
|
+
label: string[];
|
|
303
|
+
icon: string[];
|
|
304
304
|
};
|
|
305
305
|
md: {
|
|
306
306
|
wrapper: string[];
|
|
307
|
-
label: string;
|
|
308
|
-
icon: string;
|
|
307
|
+
label: string[];
|
|
308
|
+
icon: string[];
|
|
309
309
|
};
|
|
310
310
|
lg: {
|
|
311
311
|
wrapper: string[];
|
|
312
|
-
label: string;
|
|
313
|
-
icon: string;
|
|
312
|
+
label: string[];
|
|
313
|
+
icon: string[];
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
lineThrough: {
|
|
@@ -320,14 +320,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
320
320
|
};
|
|
321
321
|
isInvalid: {
|
|
322
322
|
true: {
|
|
323
|
-
wrapper: string;
|
|
323
|
+
wrapper: string[];
|
|
324
324
|
label: string;
|
|
325
325
|
};
|
|
326
326
|
};
|
|
327
327
|
isDisabled: {
|
|
328
328
|
true: {
|
|
329
329
|
base: string;
|
|
330
|
-
wrapper: string;
|
|
330
|
+
wrapper: string[];
|
|
331
331
|
label: string;
|
|
332
332
|
icon: string;
|
|
333
333
|
};
|
|
@@ -340,8 +340,8 @@ declare const checkbox: tailwind_variants.TVReturnType<{
|
|
|
340
340
|
};
|
|
341
341
|
false: {
|
|
342
342
|
wrapper: string[];
|
|
343
|
-
icon: string;
|
|
344
|
-
label: string;
|
|
343
|
+
icon: string[];
|
|
344
|
+
label: string[];
|
|
345
345
|
};
|
|
346
346
|
};
|
|
347
347
|
}>, unknown, unknown, undefined>>;
|
|
@@ -109,10 +109,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
109
109
|
fill: "none",
|
|
110
110
|
points: "1 9 7 14 15 4",
|
|
111
111
|
stroke: "currentColor",
|
|
112
|
-
strokeDasharray: 22,
|
|
113
|
-
strokeDashoffset: isSelected ? 44 : 66,
|
|
114
112
|
strokeLinecap: "round",
|
|
115
|
-
strokeLinejoin: "round",
|
|
116
113
|
strokeWidth: 3,
|
|
117
114
|
style: isSelected ? {
|
|
118
115
|
transition: "stroke-dashoffset 250ms linear 0.2s"
|
|
@@ -130,7 +127,7 @@ CheckBox.displayName = "CheckBox";
|
|
|
130
127
|
var checkbox_default = CheckBox;
|
|
131
128
|
var checkbox = tv({
|
|
132
129
|
slots: {
|
|
133
|
-
base: "group relative inline-flex items-center cursor-pointer",
|
|
130
|
+
base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
|
|
134
131
|
wrapper: [
|
|
135
132
|
"relative",
|
|
136
133
|
"inline-flex",
|
|
@@ -157,33 +154,33 @@ var checkbox = tv({
|
|
|
157
154
|
"group-hover:before:bg-neutral-soft",
|
|
158
155
|
"before:transition duration-200"
|
|
159
156
|
],
|
|
160
|
-
icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
|
|
161
|
-
label: "relative text-foreground select-none"
|
|
157
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
|
|
158
|
+
label: ["relative", "text-foreground", "select-none"]
|
|
162
159
|
},
|
|
163
160
|
variants: {
|
|
164
161
|
color: {
|
|
165
162
|
primary: {
|
|
166
|
-
wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
|
|
163
|
+
wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
|
|
167
164
|
},
|
|
168
165
|
secondary: {
|
|
169
|
-
wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
|
|
166
|
+
wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
|
|
170
167
|
}
|
|
171
168
|
},
|
|
172
169
|
size: {
|
|
173
170
|
sm: {
|
|
174
|
-
wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[
|
|
175
|
-
label: "text-sm ml-[
|
|
176
|
-
icon: "w-[10px] h-[10px]"
|
|
171
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
172
|
+
label: ["text-sm", "ml-[6px]"],
|
|
173
|
+
icon: ["w-[10px]", "h-[10px]"]
|
|
177
174
|
},
|
|
178
175
|
md: {
|
|
179
|
-
wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[
|
|
180
|
-
label: "text-md ml-[
|
|
181
|
-
icon: "w-[12px] h-[12px]"
|
|
176
|
+
wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
177
|
+
label: ["text-md", "ml-[8px]"],
|
|
178
|
+
icon: ["w-[12px]", "h-[12px]"]
|
|
182
179
|
},
|
|
183
180
|
lg: {
|
|
184
|
-
wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[
|
|
185
|
-
label: "text-lg ml-[10px]",
|
|
186
|
-
icon: "w-[15px] h-[15px]"
|
|
181
|
+
wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
|
|
182
|
+
label: ["text-lg", "ml-[10px]"],
|
|
183
|
+
icon: ["w-[15px]", "h-[15px]"]
|
|
187
184
|
}
|
|
188
185
|
},
|
|
189
186
|
lineThrough: {
|
|
@@ -204,14 +201,24 @@ var checkbox = tv({
|
|
|
204
201
|
},
|
|
205
202
|
isInvalid: {
|
|
206
203
|
true: {
|
|
207
|
-
wrapper:
|
|
204
|
+
wrapper: [
|
|
205
|
+
"before:border-danger-main",
|
|
206
|
+
"group-has-[:checked]:before:bg-danger-main",
|
|
207
|
+
"group-has-[:checked]:before:border-danger-main"
|
|
208
|
+
],
|
|
208
209
|
label: "text-danger-main"
|
|
209
210
|
}
|
|
210
211
|
},
|
|
211
212
|
isDisabled: {
|
|
212
213
|
true: {
|
|
213
214
|
base: "opacity-disabled pointer-events-none text-neutral-light",
|
|
214
|
-
wrapper:
|
|
215
|
+
wrapper: [
|
|
216
|
+
"after:bg-neutral-soft",
|
|
217
|
+
"before:border-neutral-light",
|
|
218
|
+
"before:bg-neutral-soft",
|
|
219
|
+
"group-has-[:checked]:before:bg-neutral-soft",
|
|
220
|
+
"group-has-[:checked]:before:border-neutral-light"
|
|
221
|
+
],
|
|
215
222
|
label: "text-neutral-light",
|
|
216
223
|
icon: "text-neutral-light"
|
|
217
224
|
}
|
|
@@ -232,8 +239,8 @@ var checkbox = tv({
|
|
|
232
239
|
"after:!duration-200",
|
|
233
240
|
"motion-reduce:transition-none"
|
|
234
241
|
],
|
|
235
|
-
icon: "transition-opacity motion-reduce:transition-none",
|
|
236
|
-
label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
|
|
242
|
+
icon: ["transition-opacity", "motion-reduce:transition-none"],
|
|
243
|
+
label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
|
|
237
244
|
}
|
|
238
245
|
}
|
|
239
246
|
},
|
|
@@ -16985,10 +16985,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
16985
16985
|
fill: "none",
|
|
16986
16986
|
points: "1 9 7 14 15 4",
|
|
16987
16987
|
stroke: "currentColor",
|
|
16988
|
-
strokeDasharray: 22,
|
|
16989
|
-
strokeDashoffset: isSelected ? 44 : 66,
|
|
16990
16988
|
strokeLinecap: "round",
|
|
16991
|
-
strokeLinejoin: "round",
|
|
16992
16989
|
strokeWidth: 3,
|
|
16993
16990
|
style: isSelected ? {
|
|
16994
16991
|
transition: "stroke-dashoffset 250ms linear 0.2s"
|
|
@@ -17006,7 +17003,7 @@ CheckBox.displayName = "CheckBox";
|
|
|
17006
17003
|
var checkbox_default = CheckBox;
|
|
17007
17004
|
var checkbox = tv({
|
|
17008
17005
|
slots: {
|
|
17009
|
-
base: "group relative inline-flex items-center cursor-pointer",
|
|
17006
|
+
base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
|
|
17010
17007
|
wrapper: [
|
|
17011
17008
|
"relative",
|
|
17012
17009
|
"inline-flex",
|
|
@@ -17033,33 +17030,33 @@ var checkbox = tv({
|
|
|
17033
17030
|
"group-hover:before:bg-neutral-soft",
|
|
17034
17031
|
"before:transition duration-200"
|
|
17035
17032
|
],
|
|
17036
|
-
icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
|
|
17037
|
-
label: "relative text-foreground select-none"
|
|
17033
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
|
|
17034
|
+
label: ["relative", "text-foreground", "select-none"]
|
|
17038
17035
|
},
|
|
17039
17036
|
variants: {
|
|
17040
17037
|
color: {
|
|
17041
17038
|
primary: {
|
|
17042
|
-
wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
|
|
17039
|
+
wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
|
|
17043
17040
|
},
|
|
17044
17041
|
secondary: {
|
|
17045
|
-
wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
|
|
17042
|
+
wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
|
|
17046
17043
|
}
|
|
17047
17044
|
},
|
|
17048
17045
|
size: {
|
|
17049
17046
|
sm: {
|
|
17050
|
-
wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[
|
|
17051
|
-
label: "text-sm ml-[
|
|
17052
|
-
icon: "w-[10px] h-[10px]"
|
|
17047
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
17048
|
+
label: ["text-sm", "ml-[6px]"],
|
|
17049
|
+
icon: ["w-[10px]", "h-[10px]"]
|
|
17053
17050
|
},
|
|
17054
17051
|
md: {
|
|
17055
|
-
wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[
|
|
17056
|
-
label: "text-md ml-[
|
|
17057
|
-
icon: "w-[12px] h-[12px]"
|
|
17052
|
+
wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
17053
|
+
label: ["text-md", "ml-[8px]"],
|
|
17054
|
+
icon: ["w-[12px]", "h-[12px]"]
|
|
17058
17055
|
},
|
|
17059
17056
|
lg: {
|
|
17060
|
-
wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[
|
|
17061
|
-
label: "text-lg ml-[10px]",
|
|
17062
|
-
icon: "w-[15px] h-[15px]"
|
|
17057
|
+
wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
|
|
17058
|
+
label: ["text-lg", "ml-[10px]"],
|
|
17059
|
+
icon: ["w-[15px]", "h-[15px]"]
|
|
17063
17060
|
}
|
|
17064
17061
|
},
|
|
17065
17062
|
lineThrough: {
|
|
@@ -17080,14 +17077,24 @@ var checkbox = tv({
|
|
|
17080
17077
|
},
|
|
17081
17078
|
isInvalid: {
|
|
17082
17079
|
true: {
|
|
17083
|
-
wrapper:
|
|
17080
|
+
wrapper: [
|
|
17081
|
+
"before:border-danger-main",
|
|
17082
|
+
"group-has-[:checked]:before:bg-danger-main",
|
|
17083
|
+
"group-has-[:checked]:before:border-danger-main"
|
|
17084
|
+
],
|
|
17084
17085
|
label: "text-danger-main"
|
|
17085
17086
|
}
|
|
17086
17087
|
},
|
|
17087
17088
|
isDisabled: {
|
|
17088
17089
|
true: {
|
|
17089
17090
|
base: "opacity-disabled pointer-events-none text-neutral-light",
|
|
17090
|
-
wrapper:
|
|
17091
|
+
wrapper: [
|
|
17092
|
+
"after:bg-neutral-soft",
|
|
17093
|
+
"before:border-neutral-light",
|
|
17094
|
+
"before:bg-neutral-soft",
|
|
17095
|
+
"group-has-[:checked]:before:bg-neutral-soft",
|
|
17096
|
+
"group-has-[:checked]:before:border-neutral-light"
|
|
17097
|
+
],
|
|
17091
17098
|
label: "text-neutral-light",
|
|
17092
17099
|
icon: "text-neutral-light"
|
|
17093
17100
|
}
|
|
@@ -17108,8 +17115,8 @@ var checkbox = tv({
|
|
|
17108
17115
|
"after:!duration-200",
|
|
17109
17116
|
"motion-reduce:transition-none"
|
|
17110
17117
|
],
|
|
17111
|
-
icon: "transition-opacity motion-reduce:transition-none",
|
|
17112
|
-
label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
|
|
17118
|
+
icon: ["transition-opacity", "motion-reduce:transition-none"],
|
|
17119
|
+
label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
|
|
17113
17120
|
}
|
|
17114
17121
|
}
|
|
17115
17122
|
},
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
checkbox_default
|
|
4
|
-
} from "../../chunk-BE2OG6M4.mjs";
|
|
5
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
6
2
|
import {
|
|
7
3
|
userEvent
|
|
8
4
|
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
|
+
import {
|
|
6
|
+
checkbox_default
|
|
7
|
+
} from "../../chunk-ANYPMQH4.mjs";
|
|
9
8
|
import {
|
|
10
9
|
act,
|
|
11
10
|
render
|
|
12
11
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-J725QONZ.mjs";
|
|
14
14
|
import "../../chunk-IZ6II3QA.mjs";
|
|
15
15
|
|