@sytechui/theme 3.0.2 → 3.0.3
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/animations/index.d.mts +132 -0
- package/dist/animations/index.d.ts +132 -0
- package/dist/{chunk-AGSAOCCR.mjs → chunk-4LAQM2VM.mjs} +1 -1
- package/dist/{chunk-MTBQ5EO5.mjs → chunk-AAPQ76Q7.mjs} +1 -1
- package/dist/{chunk-WH4ODSEM.mjs → chunk-APF6RSVD.mjs} +1 -1
- package/dist/{chunk-PY74IHS4.mjs → chunk-ATGLNP24.mjs} +1 -1
- package/dist/{chunk-47BB6GL3.mjs → chunk-D2TQCDY4.mjs} +1 -1
- package/dist/{chunk-ECD4ABCS.mjs → chunk-DFZLOLJU.mjs} +1 -1
- package/dist/{chunk-AL5UNXQI.mjs → chunk-EIZCYQZJ.mjs} +1 -1
- package/dist/{chunk-ZWG2GMCI.mjs → chunk-FPG5J5ZJ.mjs} +1 -1
- package/dist/{chunk-CV2E4DI2.mjs → chunk-FUQEL335.mjs} +4 -4
- package/dist/{chunk-EZ47UJPD.mjs → chunk-HF2LJVZX.mjs} +1 -1
- package/dist/{chunk-7ARJ2TQM.mjs → chunk-HFD73SWH.mjs} +1 -1
- package/dist/{chunk-USGOG5QI.mjs → chunk-IFDUGF3P.mjs} +1 -1
- package/dist/{chunk-KKEJLP4U.mjs → chunk-IURX3VEE.mjs} +1 -1
- package/dist/{chunk-BF4542X6.mjs → chunk-IVAVJ7ZU.mjs} +1 -1
- package/dist/{chunk-2QZDAFQ3.mjs → chunk-L26ZWPVZ.mjs} +1 -1
- package/dist/{chunk-OSP4OLTO.mjs → chunk-M4FWEMJZ.mjs} +1 -1
- package/dist/{chunk-4N2PLITL.mjs → chunk-OC45BUIA.mjs} +1 -1
- package/dist/{chunk-5DJU5KUL.mjs → chunk-QQZDCYMA.mjs} +1 -1
- package/dist/{chunk-P5HLCB43.mjs → chunk-U4D7XSGV.mjs} +1 -1
- package/dist/{chunk-I5YZBAB3.mjs → chunk-UL4VFH3Z.mjs} +1 -1
- package/dist/{chunk-W37Q6YFS.mjs → chunk-XV7LJG6E.mjs} +1 -1
- package/dist/{chunk-XBJNS5SU.mjs → chunk-XWHXIFLL.mjs} +1 -1
- package/dist/{chunk-2TFOWOJL.mjs → chunk-Z2UCLPEC.mjs} +4 -4
- package/dist/colors/blue.d.mts +14 -0
- package/dist/colors/blue.d.ts +14 -0
- package/dist/colors/common.d.mts +103 -0
- package/dist/colors/common.d.ts +103 -0
- package/dist/colors/cyan.d.mts +14 -0
- package/dist/colors/cyan.d.ts +14 -0
- package/dist/colors/green.d.mts +14 -0
- package/dist/colors/green.d.ts +14 -0
- package/dist/colors/index.d.mts +109 -0
- package/dist/colors/index.d.ts +109 -0
- package/dist/colors/pink.d.mts +14 -0
- package/dist/colors/pink.d.ts +14 -0
- package/dist/colors/purple.d.mts +14 -0
- package/dist/colors/purple.d.ts +14 -0
- package/dist/colors/red.d.mts +14 -0
- package/dist/colors/red.d.ts +14 -0
- package/dist/colors/semantic.d.mts +10 -0
- package/dist/colors/semantic.d.ts +10 -0
- package/dist/colors/types.d.mts +39 -0
- package/dist/colors/types.d.ts +39 -0
- package/dist/colors/yellow.d.mts +14 -0
- package/dist/colors/yellow.d.ts +14 -0
- package/dist/colors/zinc.d.mts +14 -0
- package/dist/colors/zinc.d.ts +14 -0
- package/dist/colors.d.mts +4 -0
- package/dist/colors.d.ts +4 -0
- package/dist/components/accordion.d.mts +228 -0
- package/dist/components/accordion.d.ts +228 -0
- package/dist/components/accordion.mjs +27 -27
- package/dist/components/alert.d.mts +316 -0
- package/dist/components/alert.d.ts +316 -0
- package/dist/components/alert.mjs +6 -6
- package/dist/components/autocomplete.d.mts +95 -0
- package/dist/components/autocomplete.d.ts +95 -0
- package/dist/components/autocomplete.mjs +6 -6
- package/dist/components/avatar.d.mts +300 -0
- package/dist/components/avatar.d.ts +300 -0
- package/dist/components/avatar.mjs +27 -27
- package/dist/components/badge.d.mts +223 -0
- package/dist/components/badge.d.ts +223 -0
- package/dist/components/badge.mjs +27 -27
- package/dist/components/bottom-bar.d.mts +263 -0
- package/dist/components/bottom-bar.d.ts +263 -0
- package/dist/components/bottom-bar.mjs +27 -27
- package/dist/components/breadcrumbs.d.mts +379 -0
- package/dist/components/breadcrumbs.d.ts +379 -0
- package/dist/components/breadcrumbs.mjs +27 -27
- package/dist/components/button.d.mts +188 -0
- package/dist/components/button.d.ts +188 -0
- package/dist/components/button.mjs +27 -27
- package/dist/components/calendar.d.mts +279 -0
- package/dist/components/calendar.d.ts +279 -0
- package/dist/components/calendar.mjs +27 -27
- package/dist/components/card.d.mts +257 -0
- package/dist/components/card.d.ts +257 -0
- package/dist/components/card.mjs +27 -27
- package/dist/components/checkbox.d.mts +375 -0
- package/dist/components/checkbox.d.ts +375 -0
- package/dist/components/checkbox.mjs +27 -27
- package/dist/components/chip.d.mts +340 -0
- package/dist/components/chip.d.ts +340 -0
- package/dist/components/chip.mjs +27 -27
- package/dist/components/code.d.mts +80 -0
- package/dist/components/code.d.ts +80 -0
- package/dist/components/code.mjs +27 -27
- package/dist/components/date-input.d.mts +392 -0
- package/dist/components/date-input.d.ts +392 -0
- package/dist/components/date-input.mjs +6 -6
- package/dist/components/date-picker.d.mts +220 -0
- package/dist/components/date-picker.d.ts +220 -0
- package/dist/components/date-picker.mjs +6 -6
- package/dist/components/divider.d.mts +85 -0
- package/dist/components/divider.d.ts +85 -0
- package/dist/components/divider.mjs +6 -6
- package/dist/components/drawer.d.mts +190 -0
- package/dist/components/drawer.d.ts +190 -0
- package/dist/components/drawer.mjs +6 -6
- package/dist/components/drip.d.mts +13 -0
- package/dist/components/drip.d.ts +13 -0
- package/dist/components/drip.mjs +6 -6
- package/dist/components/drop-zone.d.mts +434 -0
- package/dist/components/drop-zone.d.ts +434 -0
- package/dist/components/drop-zone.mjs +27 -27
- package/dist/components/dropdown.d.mts +247 -0
- package/dist/components/dropdown.d.ts +247 -0
- package/dist/components/dropdown.mjs +27 -27
- package/dist/components/form.d.mts +19 -0
- package/dist/components/form.d.ts +19 -0
- package/dist/components/form.mjs +6 -6
- package/dist/components/image.d.mts +174 -0
- package/dist/components/image.d.ts +174 -0
- package/dist/components/image.mjs +6 -6
- package/dist/components/index.d.mts +52 -0
- package/dist/components/index.d.ts +52 -0
- package/dist/components/index.mjs +38 -38
- package/dist/components/input-otp.d.mts +282 -0
- package/dist/components/input-otp.d.ts +282 -0
- package/dist/components/input-otp.mjs +27 -27
- package/dist/components/input.d.mts +458 -0
- package/dist/components/input.d.ts +458 -0
- package/dist/components/input.mjs +27 -27
- package/dist/components/kbd.d.mts +50 -0
- package/dist/components/kbd.d.ts +50 -0
- package/dist/components/kbd.mjs +6 -6
- package/dist/components/link.d.mts +107 -0
- package/dist/components/link.d.ts +107 -0
- package/dist/components/link.mjs +27 -27
- package/dist/components/listbox.d.mts +3 -0
- package/dist/components/listbox.d.ts +3 -0
- package/dist/components/listbox.mjs +27 -27
- package/dist/components/menu.d.mts +324 -0
- package/dist/components/menu.d.ts +324 -0
- package/dist/components/menu.mjs +27 -27
- package/dist/components/modal.d.mts +380 -0
- package/dist/components/modal.d.ts +380 -0
- package/dist/components/modal.mjs +27 -27
- package/dist/components/navbar.d.mts +246 -0
- package/dist/components/navbar.d.ts +246 -0
- package/dist/components/navbar.mjs +27 -27
- package/dist/components/number-input.d.mts +476 -0
- package/dist/components/number-input.d.ts +476 -0
- package/dist/components/number-input.mjs +27 -27
- package/dist/components/pagination.d.mts +288 -0
- package/dist/components/pagination.d.ts +288 -0
- package/dist/components/pagination.mjs +27 -27
- package/dist/components/popover.d.mts +339 -0
- package/dist/components/popover.d.ts +339 -0
- package/dist/components/popover.mjs +27 -27
- package/dist/components/progress.d.mts +498 -0
- package/dist/components/progress.d.ts +498 -0
- package/dist/components/progress.mjs +6 -6
- package/dist/components/radio.d.mts +354 -0
- package/dist/components/radio.d.ts +354 -0
- package/dist/components/radio.mjs +27 -27
- package/dist/components/scroll-area.d.mts +109 -0
- package/dist/components/scroll-area.d.ts +109 -0
- package/dist/components/scroll-area.mjs +6 -6
- package/dist/components/scroll-shadow.d.mts +48 -0
- package/dist/components/scroll-shadow.d.ts +48 -0
- package/dist/components/scroll-shadow.mjs +6 -6
- package/dist/components/select.d.mts +530 -0
- package/dist/components/select.d.ts +530 -0
- package/dist/components/select.mjs +27 -27
- package/dist/components/shimmer-text.d.mts +46 -0
- package/dist/components/shimmer-text.d.ts +46 -0
- package/dist/components/shimmer-text.mjs +6 -6
- package/dist/components/sidebar.d.mts +201 -0
- package/dist/components/sidebar.d.ts +201 -0
- package/dist/components/sidebar.mjs +6 -6
- package/dist/components/skeleton.d.mts +60 -0
- package/dist/components/skeleton.d.ts +60 -0
- package/dist/components/skeleton.mjs +6 -6
- package/dist/components/slider.d.mts +482 -0
- package/dist/components/slider.d.ts +482 -0
- package/dist/components/slider.mjs +27 -27
- package/dist/components/snippet.d.mts +206 -0
- package/dist/components/snippet.d.ts +206 -0
- package/dist/components/snippet.mjs +27 -27
- package/dist/components/spacer.d.mts +31 -0
- package/dist/components/spacer.d.ts +31 -0
- package/dist/components/spacer.mjs +6 -6
- package/dist/components/spinner.d.mts +398 -0
- package/dist/components/spinner.d.ts +398 -0
- package/dist/components/spinner.mjs +6 -6
- package/dist/components/stepper.d.mts +288 -0
- package/dist/components/stepper.d.ts +288 -0
- package/dist/components/stepper.mjs +27 -27
- package/dist/components/table.d.mts +509 -0
- package/dist/components/table.d.ts +509 -0
- package/dist/components/table.mjs +27 -27
- package/dist/components/tabs.d.mts +413 -0
- package/dist/components/tabs.d.ts +413 -0
- package/dist/components/tabs.mjs +27 -27
- package/dist/components/toast.d.mts +329 -0
- package/dist/components/toast.d.ts +329 -0
- package/dist/components/toast.mjs +27 -27
- package/dist/components/toggle.d.mts +243 -0
- package/dist/components/toggle.d.ts +243 -0
- package/dist/components/toggle.mjs +27 -27
- package/dist/components/user.d.mts +63 -0
- package/dist/components/user.d.ts +63 -0
- package/dist/components/user.mjs +27 -27
- package/dist/default-layout.d.mts +8 -0
- package/dist/default-layout.d.ts +8 -0
- package/dist/index.d.mts +67 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.mjs +40 -40
- package/dist/plugin.d.mts +12 -0
- package/dist/plugin.d.ts +12 -0
- package/dist/plugin.mjs +5 -5
- package/dist/types.d.mts +138 -0
- package/dist/types.d.ts +138 -0
- package/dist/utilities/animation.d.mts +16 -0
- package/dist/utilities/animation.d.ts +16 -0
- package/dist/utilities/custom.d.mts +27 -0
- package/dist/utilities/custom.d.ts +27 -0
- package/dist/utilities/index.d.mts +171 -0
- package/dist/utilities/index.d.ts +171 -0
- package/dist/utilities/index.mjs +3 -3
- package/dist/utilities/scrollbar-hide.d.mts +59 -0
- package/dist/utilities/scrollbar-hide.d.ts +59 -0
- package/dist/utilities/shimmer-text.d.mts +42 -0
- package/dist/utilities/shimmer-text.d.ts +42 -0
- package/dist/utilities/text.d.mts +23 -0
- package/dist/utilities/text.d.ts +23 -0
- package/dist/utilities/transition.d.mts +58 -0
- package/dist/utilities/transition.d.ts +58 -0
- package/dist/utils/classes.d.mts +43 -0
- package/dist/utils/classes.d.ts +43 -0
- package/dist/utils/cn.d.mts +13 -0
- package/dist/utils/cn.d.ts +13 -0
- package/dist/utils/cn.mjs +5 -5
- package/dist/utils/index.d.mts +7 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.mjs +27 -27
- package/dist/utils/merge-classes.d.mts +12 -0
- package/dist/utils/merge-classes.d.ts +12 -0
- package/dist/utils/merge-classes.mjs +27 -27
- package/dist/utils/object.d.mts +13 -0
- package/dist/utils/object.d.ts +13 -0
- package/dist/utils/theme.d.mts +9 -0
- package/dist/utils/theme.d.ts +9 -0
- package/dist/utils/tv.d.mts +5 -0
- package/dist/utils/tv.d.ts +5 -0
- package/dist/utils/tv.mjs +5 -5
- package/dist/utils/tw-merge-config.d.mts +25 -0
- package/dist/utils/tw-merge-config.d.ts +25 -0
- package/dist/utils/tw-merge-config.mjs +4 -4
- package/dist/utils/types.d.mts +10 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/variants.d.mts +67 -0
- package/dist/utils/variants.d.ts +67 -0
- package/package.json +1 -1
- package/dist/{chunk-ROFEKAS6.mjs → chunk-3C7AZEID.mjs} +6 -6
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Radio wrapper **Tailwind Variants** component
|
|
6
|
+
*
|
|
7
|
+
* const {base, wrapper, point, labelWrapper, label, description} = radio({...})
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <label
|
|
11
|
+
* className={base())}
|
|
12
|
+
* data-selected={boolean}
|
|
13
|
+
* data-hover-unselected={boolean}
|
|
14
|
+
* data-focus-visible={boolean}
|
|
15
|
+
* >
|
|
16
|
+
* // input
|
|
17
|
+
* <span className={wrapper()} aria-hidden="true" data-selected={selected} data-hover-unselected={hoverUnchecked}>
|
|
18
|
+
* <span className={point()}/>
|
|
19
|
+
* </span>
|
|
20
|
+
* <div className={labelWrapper()}>
|
|
21
|
+
* <span className={label()}>Label</span>
|
|
22
|
+
* <span className={description()}>Description</span>
|
|
23
|
+
* </div>
|
|
24
|
+
* </label>
|
|
25
|
+
*/
|
|
26
|
+
declare const radio: tailwind_variants.TVReturnType<{
|
|
27
|
+
color: {
|
|
28
|
+
default: {
|
|
29
|
+
control: string;
|
|
30
|
+
wrapper: string;
|
|
31
|
+
};
|
|
32
|
+
primary: {
|
|
33
|
+
control: string;
|
|
34
|
+
wrapper: string;
|
|
35
|
+
};
|
|
36
|
+
secondary: {
|
|
37
|
+
control: string;
|
|
38
|
+
wrapper: string;
|
|
39
|
+
};
|
|
40
|
+
success: {
|
|
41
|
+
control: string;
|
|
42
|
+
wrapper: string;
|
|
43
|
+
};
|
|
44
|
+
warning: {
|
|
45
|
+
control: string;
|
|
46
|
+
wrapper: string;
|
|
47
|
+
};
|
|
48
|
+
danger: {
|
|
49
|
+
control: string;
|
|
50
|
+
wrapper: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
sm: {
|
|
55
|
+
wrapper: string;
|
|
56
|
+
control: string;
|
|
57
|
+
labelWrapper: string;
|
|
58
|
+
label: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
md: {
|
|
62
|
+
wrapper: string;
|
|
63
|
+
control: string;
|
|
64
|
+
labelWrapper: string;
|
|
65
|
+
label: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
lg: {
|
|
69
|
+
wrapper: string;
|
|
70
|
+
control: string;
|
|
71
|
+
labelWrapper: string;
|
|
72
|
+
label: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
isDisabled: {
|
|
77
|
+
true: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
isInvalid: {
|
|
82
|
+
true: {
|
|
83
|
+
control: string;
|
|
84
|
+
wrapper: string;
|
|
85
|
+
label: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
disableAnimation: {
|
|
90
|
+
true: {};
|
|
91
|
+
false: {
|
|
92
|
+
wrapper: string[];
|
|
93
|
+
control: string;
|
|
94
|
+
label: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}, {
|
|
99
|
+
base: string;
|
|
100
|
+
wrapper: string[];
|
|
101
|
+
hiddenInput: string[];
|
|
102
|
+
labelWrapper: string;
|
|
103
|
+
control: string[];
|
|
104
|
+
label: string;
|
|
105
|
+
description: string;
|
|
106
|
+
}, undefined, {
|
|
107
|
+
color: {
|
|
108
|
+
default: {
|
|
109
|
+
control: string;
|
|
110
|
+
wrapper: string;
|
|
111
|
+
};
|
|
112
|
+
primary: {
|
|
113
|
+
control: string;
|
|
114
|
+
wrapper: string;
|
|
115
|
+
};
|
|
116
|
+
secondary: {
|
|
117
|
+
control: string;
|
|
118
|
+
wrapper: string;
|
|
119
|
+
};
|
|
120
|
+
success: {
|
|
121
|
+
control: string;
|
|
122
|
+
wrapper: string;
|
|
123
|
+
};
|
|
124
|
+
warning: {
|
|
125
|
+
control: string;
|
|
126
|
+
wrapper: string;
|
|
127
|
+
};
|
|
128
|
+
danger: {
|
|
129
|
+
control: string;
|
|
130
|
+
wrapper: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
size: {
|
|
134
|
+
sm: {
|
|
135
|
+
wrapper: string;
|
|
136
|
+
control: string;
|
|
137
|
+
labelWrapper: string;
|
|
138
|
+
label: string;
|
|
139
|
+
description: string;
|
|
140
|
+
};
|
|
141
|
+
md: {
|
|
142
|
+
wrapper: string;
|
|
143
|
+
control: string;
|
|
144
|
+
labelWrapper: string;
|
|
145
|
+
label: string;
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
lg: {
|
|
149
|
+
wrapper: string;
|
|
150
|
+
control: string;
|
|
151
|
+
labelWrapper: string;
|
|
152
|
+
label: string;
|
|
153
|
+
description: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
isDisabled: {
|
|
157
|
+
true: {
|
|
158
|
+
base: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
isInvalid: {
|
|
162
|
+
true: {
|
|
163
|
+
control: string;
|
|
164
|
+
wrapper: string;
|
|
165
|
+
label: string;
|
|
166
|
+
description: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
disableAnimation: {
|
|
170
|
+
true: {};
|
|
171
|
+
false: {
|
|
172
|
+
wrapper: string[];
|
|
173
|
+
control: string;
|
|
174
|
+
label: string;
|
|
175
|
+
description: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
}, {
|
|
179
|
+
base: string;
|
|
180
|
+
wrapper: string[];
|
|
181
|
+
hiddenInput: string[];
|
|
182
|
+
labelWrapper: string;
|
|
183
|
+
control: string[];
|
|
184
|
+
label: string;
|
|
185
|
+
description: string;
|
|
186
|
+
}, tailwind_variants.TVReturnType<{
|
|
187
|
+
color: {
|
|
188
|
+
default: {
|
|
189
|
+
control: string;
|
|
190
|
+
wrapper: string;
|
|
191
|
+
};
|
|
192
|
+
primary: {
|
|
193
|
+
control: string;
|
|
194
|
+
wrapper: string;
|
|
195
|
+
};
|
|
196
|
+
secondary: {
|
|
197
|
+
control: string;
|
|
198
|
+
wrapper: string;
|
|
199
|
+
};
|
|
200
|
+
success: {
|
|
201
|
+
control: string;
|
|
202
|
+
wrapper: string;
|
|
203
|
+
};
|
|
204
|
+
warning: {
|
|
205
|
+
control: string;
|
|
206
|
+
wrapper: string;
|
|
207
|
+
};
|
|
208
|
+
danger: {
|
|
209
|
+
control: string;
|
|
210
|
+
wrapper: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
size: {
|
|
214
|
+
sm: {
|
|
215
|
+
wrapper: string;
|
|
216
|
+
control: string;
|
|
217
|
+
labelWrapper: string;
|
|
218
|
+
label: string;
|
|
219
|
+
description: string;
|
|
220
|
+
};
|
|
221
|
+
md: {
|
|
222
|
+
wrapper: string;
|
|
223
|
+
control: string;
|
|
224
|
+
labelWrapper: string;
|
|
225
|
+
label: string;
|
|
226
|
+
description: string;
|
|
227
|
+
};
|
|
228
|
+
lg: {
|
|
229
|
+
wrapper: string;
|
|
230
|
+
control: string;
|
|
231
|
+
labelWrapper: string;
|
|
232
|
+
label: string;
|
|
233
|
+
description: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
isDisabled: {
|
|
237
|
+
true: {
|
|
238
|
+
base: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
isInvalid: {
|
|
242
|
+
true: {
|
|
243
|
+
control: string;
|
|
244
|
+
wrapper: string;
|
|
245
|
+
label: string;
|
|
246
|
+
description: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
disableAnimation: {
|
|
250
|
+
true: {};
|
|
251
|
+
false: {
|
|
252
|
+
wrapper: string[];
|
|
253
|
+
control: string;
|
|
254
|
+
label: string;
|
|
255
|
+
description: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}, {
|
|
259
|
+
base: string;
|
|
260
|
+
wrapper: string[];
|
|
261
|
+
hiddenInput: string[];
|
|
262
|
+
labelWrapper: string;
|
|
263
|
+
control: string[];
|
|
264
|
+
label: string;
|
|
265
|
+
description: string;
|
|
266
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
267
|
+
/**
|
|
268
|
+
* RadioGroup wrapper **Tailwind Variants** component
|
|
269
|
+
*
|
|
270
|
+
* const {base, label, wrapper} = radioGroup({...})
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
* <div className={base())}>
|
|
274
|
+
* <label className={label()}>Label</label>
|
|
275
|
+
* <div className={wrapper()} data-orientation="vertical/horizontal">
|
|
276
|
+
* // radios
|
|
277
|
+
* </div>
|
|
278
|
+
* </div>
|
|
279
|
+
*/
|
|
280
|
+
declare const radioGroup: tailwind_variants.TVReturnType<{
|
|
281
|
+
isRequired: {
|
|
282
|
+
true: {
|
|
283
|
+
label: string;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
isInvalid: {
|
|
287
|
+
true: {
|
|
288
|
+
description: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
disableAnimation: {
|
|
292
|
+
true: {};
|
|
293
|
+
false: {
|
|
294
|
+
description: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
}, {
|
|
298
|
+
base: string;
|
|
299
|
+
label: string;
|
|
300
|
+
wrapper: string;
|
|
301
|
+
description: string;
|
|
302
|
+
errorMessage: string;
|
|
303
|
+
}, undefined, {
|
|
304
|
+
isRequired: {
|
|
305
|
+
true: {
|
|
306
|
+
label: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
isInvalid: {
|
|
310
|
+
true: {
|
|
311
|
+
description: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
disableAnimation: {
|
|
315
|
+
true: {};
|
|
316
|
+
false: {
|
|
317
|
+
description: string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
}, {
|
|
321
|
+
base: string;
|
|
322
|
+
label: string;
|
|
323
|
+
wrapper: string;
|
|
324
|
+
description: string;
|
|
325
|
+
errorMessage: string;
|
|
326
|
+
}, tailwind_variants.TVReturnType<{
|
|
327
|
+
isRequired: {
|
|
328
|
+
true: {
|
|
329
|
+
label: string;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
isInvalid: {
|
|
333
|
+
true: {
|
|
334
|
+
description: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
disableAnimation: {
|
|
338
|
+
true: {};
|
|
339
|
+
false: {
|
|
340
|
+
description: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
}, {
|
|
344
|
+
base: string;
|
|
345
|
+
label: string;
|
|
346
|
+
wrapper: string;
|
|
347
|
+
description: string;
|
|
348
|
+
errorMessage: string;
|
|
349
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
350
|
+
type RadioGroupSlots = keyof ReturnType<typeof radioGroup>;
|
|
351
|
+
type RadioVariantProps = VariantProps<typeof radio>;
|
|
352
|
+
type RadioSlots = keyof ReturnType<typeof radio>;
|
|
353
|
+
|
|
354
|
+
export { type RadioGroupSlots, type RadioSlots, type RadioVariantProps, radio, radioGroup };
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Radio wrapper **Tailwind Variants** component
|
|
6
|
+
*
|
|
7
|
+
* const {base, wrapper, point, labelWrapper, label, description} = radio({...})
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <label
|
|
11
|
+
* className={base())}
|
|
12
|
+
* data-selected={boolean}
|
|
13
|
+
* data-hover-unselected={boolean}
|
|
14
|
+
* data-focus-visible={boolean}
|
|
15
|
+
* >
|
|
16
|
+
* // input
|
|
17
|
+
* <span className={wrapper()} aria-hidden="true" data-selected={selected} data-hover-unselected={hoverUnchecked}>
|
|
18
|
+
* <span className={point()}/>
|
|
19
|
+
* </span>
|
|
20
|
+
* <div className={labelWrapper()}>
|
|
21
|
+
* <span className={label()}>Label</span>
|
|
22
|
+
* <span className={description()}>Description</span>
|
|
23
|
+
* </div>
|
|
24
|
+
* </label>
|
|
25
|
+
*/
|
|
26
|
+
declare const radio: tailwind_variants.TVReturnType<{
|
|
27
|
+
color: {
|
|
28
|
+
default: {
|
|
29
|
+
control: string;
|
|
30
|
+
wrapper: string;
|
|
31
|
+
};
|
|
32
|
+
primary: {
|
|
33
|
+
control: string;
|
|
34
|
+
wrapper: string;
|
|
35
|
+
};
|
|
36
|
+
secondary: {
|
|
37
|
+
control: string;
|
|
38
|
+
wrapper: string;
|
|
39
|
+
};
|
|
40
|
+
success: {
|
|
41
|
+
control: string;
|
|
42
|
+
wrapper: string;
|
|
43
|
+
};
|
|
44
|
+
warning: {
|
|
45
|
+
control: string;
|
|
46
|
+
wrapper: string;
|
|
47
|
+
};
|
|
48
|
+
danger: {
|
|
49
|
+
control: string;
|
|
50
|
+
wrapper: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
sm: {
|
|
55
|
+
wrapper: string;
|
|
56
|
+
control: string;
|
|
57
|
+
labelWrapper: string;
|
|
58
|
+
label: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
md: {
|
|
62
|
+
wrapper: string;
|
|
63
|
+
control: string;
|
|
64
|
+
labelWrapper: string;
|
|
65
|
+
label: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
lg: {
|
|
69
|
+
wrapper: string;
|
|
70
|
+
control: string;
|
|
71
|
+
labelWrapper: string;
|
|
72
|
+
label: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
isDisabled: {
|
|
77
|
+
true: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
isInvalid: {
|
|
82
|
+
true: {
|
|
83
|
+
control: string;
|
|
84
|
+
wrapper: string;
|
|
85
|
+
label: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
disableAnimation: {
|
|
90
|
+
true: {};
|
|
91
|
+
false: {
|
|
92
|
+
wrapper: string[];
|
|
93
|
+
control: string;
|
|
94
|
+
label: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}, {
|
|
99
|
+
base: string;
|
|
100
|
+
wrapper: string[];
|
|
101
|
+
hiddenInput: string[];
|
|
102
|
+
labelWrapper: string;
|
|
103
|
+
control: string[];
|
|
104
|
+
label: string;
|
|
105
|
+
description: string;
|
|
106
|
+
}, undefined, {
|
|
107
|
+
color: {
|
|
108
|
+
default: {
|
|
109
|
+
control: string;
|
|
110
|
+
wrapper: string;
|
|
111
|
+
};
|
|
112
|
+
primary: {
|
|
113
|
+
control: string;
|
|
114
|
+
wrapper: string;
|
|
115
|
+
};
|
|
116
|
+
secondary: {
|
|
117
|
+
control: string;
|
|
118
|
+
wrapper: string;
|
|
119
|
+
};
|
|
120
|
+
success: {
|
|
121
|
+
control: string;
|
|
122
|
+
wrapper: string;
|
|
123
|
+
};
|
|
124
|
+
warning: {
|
|
125
|
+
control: string;
|
|
126
|
+
wrapper: string;
|
|
127
|
+
};
|
|
128
|
+
danger: {
|
|
129
|
+
control: string;
|
|
130
|
+
wrapper: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
size: {
|
|
134
|
+
sm: {
|
|
135
|
+
wrapper: string;
|
|
136
|
+
control: string;
|
|
137
|
+
labelWrapper: string;
|
|
138
|
+
label: string;
|
|
139
|
+
description: string;
|
|
140
|
+
};
|
|
141
|
+
md: {
|
|
142
|
+
wrapper: string;
|
|
143
|
+
control: string;
|
|
144
|
+
labelWrapper: string;
|
|
145
|
+
label: string;
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
lg: {
|
|
149
|
+
wrapper: string;
|
|
150
|
+
control: string;
|
|
151
|
+
labelWrapper: string;
|
|
152
|
+
label: string;
|
|
153
|
+
description: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
isDisabled: {
|
|
157
|
+
true: {
|
|
158
|
+
base: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
isInvalid: {
|
|
162
|
+
true: {
|
|
163
|
+
control: string;
|
|
164
|
+
wrapper: string;
|
|
165
|
+
label: string;
|
|
166
|
+
description: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
disableAnimation: {
|
|
170
|
+
true: {};
|
|
171
|
+
false: {
|
|
172
|
+
wrapper: string[];
|
|
173
|
+
control: string;
|
|
174
|
+
label: string;
|
|
175
|
+
description: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
}, {
|
|
179
|
+
base: string;
|
|
180
|
+
wrapper: string[];
|
|
181
|
+
hiddenInput: string[];
|
|
182
|
+
labelWrapper: string;
|
|
183
|
+
control: string[];
|
|
184
|
+
label: string;
|
|
185
|
+
description: string;
|
|
186
|
+
}, tailwind_variants.TVReturnType<{
|
|
187
|
+
color: {
|
|
188
|
+
default: {
|
|
189
|
+
control: string;
|
|
190
|
+
wrapper: string;
|
|
191
|
+
};
|
|
192
|
+
primary: {
|
|
193
|
+
control: string;
|
|
194
|
+
wrapper: string;
|
|
195
|
+
};
|
|
196
|
+
secondary: {
|
|
197
|
+
control: string;
|
|
198
|
+
wrapper: string;
|
|
199
|
+
};
|
|
200
|
+
success: {
|
|
201
|
+
control: string;
|
|
202
|
+
wrapper: string;
|
|
203
|
+
};
|
|
204
|
+
warning: {
|
|
205
|
+
control: string;
|
|
206
|
+
wrapper: string;
|
|
207
|
+
};
|
|
208
|
+
danger: {
|
|
209
|
+
control: string;
|
|
210
|
+
wrapper: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
size: {
|
|
214
|
+
sm: {
|
|
215
|
+
wrapper: string;
|
|
216
|
+
control: string;
|
|
217
|
+
labelWrapper: string;
|
|
218
|
+
label: string;
|
|
219
|
+
description: string;
|
|
220
|
+
};
|
|
221
|
+
md: {
|
|
222
|
+
wrapper: string;
|
|
223
|
+
control: string;
|
|
224
|
+
labelWrapper: string;
|
|
225
|
+
label: string;
|
|
226
|
+
description: string;
|
|
227
|
+
};
|
|
228
|
+
lg: {
|
|
229
|
+
wrapper: string;
|
|
230
|
+
control: string;
|
|
231
|
+
labelWrapper: string;
|
|
232
|
+
label: string;
|
|
233
|
+
description: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
isDisabled: {
|
|
237
|
+
true: {
|
|
238
|
+
base: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
isInvalid: {
|
|
242
|
+
true: {
|
|
243
|
+
control: string;
|
|
244
|
+
wrapper: string;
|
|
245
|
+
label: string;
|
|
246
|
+
description: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
disableAnimation: {
|
|
250
|
+
true: {};
|
|
251
|
+
false: {
|
|
252
|
+
wrapper: string[];
|
|
253
|
+
control: string;
|
|
254
|
+
label: string;
|
|
255
|
+
description: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}, {
|
|
259
|
+
base: string;
|
|
260
|
+
wrapper: string[];
|
|
261
|
+
hiddenInput: string[];
|
|
262
|
+
labelWrapper: string;
|
|
263
|
+
control: string[];
|
|
264
|
+
label: string;
|
|
265
|
+
description: string;
|
|
266
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
267
|
+
/**
|
|
268
|
+
* RadioGroup wrapper **Tailwind Variants** component
|
|
269
|
+
*
|
|
270
|
+
* const {base, label, wrapper} = radioGroup({...})
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
* <div className={base())}>
|
|
274
|
+
* <label className={label()}>Label</label>
|
|
275
|
+
* <div className={wrapper()} data-orientation="vertical/horizontal">
|
|
276
|
+
* // radios
|
|
277
|
+
* </div>
|
|
278
|
+
* </div>
|
|
279
|
+
*/
|
|
280
|
+
declare const radioGroup: tailwind_variants.TVReturnType<{
|
|
281
|
+
isRequired: {
|
|
282
|
+
true: {
|
|
283
|
+
label: string;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
isInvalid: {
|
|
287
|
+
true: {
|
|
288
|
+
description: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
disableAnimation: {
|
|
292
|
+
true: {};
|
|
293
|
+
false: {
|
|
294
|
+
description: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
}, {
|
|
298
|
+
base: string;
|
|
299
|
+
label: string;
|
|
300
|
+
wrapper: string;
|
|
301
|
+
description: string;
|
|
302
|
+
errorMessage: string;
|
|
303
|
+
}, undefined, {
|
|
304
|
+
isRequired: {
|
|
305
|
+
true: {
|
|
306
|
+
label: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
isInvalid: {
|
|
310
|
+
true: {
|
|
311
|
+
description: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
disableAnimation: {
|
|
315
|
+
true: {};
|
|
316
|
+
false: {
|
|
317
|
+
description: string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
}, {
|
|
321
|
+
base: string;
|
|
322
|
+
label: string;
|
|
323
|
+
wrapper: string;
|
|
324
|
+
description: string;
|
|
325
|
+
errorMessage: string;
|
|
326
|
+
}, tailwind_variants.TVReturnType<{
|
|
327
|
+
isRequired: {
|
|
328
|
+
true: {
|
|
329
|
+
label: string;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
isInvalid: {
|
|
333
|
+
true: {
|
|
334
|
+
description: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
disableAnimation: {
|
|
338
|
+
true: {};
|
|
339
|
+
false: {
|
|
340
|
+
description: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
}, {
|
|
344
|
+
base: string;
|
|
345
|
+
label: string;
|
|
346
|
+
wrapper: string;
|
|
347
|
+
description: string;
|
|
348
|
+
errorMessage: string;
|
|
349
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
350
|
+
type RadioGroupSlots = keyof ReturnType<typeof radioGroup>;
|
|
351
|
+
type RadioVariantProps = VariantProps<typeof radio>;
|
|
352
|
+
type RadioSlots = keyof ReturnType<typeof radio>;
|
|
353
|
+
|
|
354
|
+
export { type RadioGroupSlots, type RadioSlots, type RadioVariantProps, radio, radioGroup };
|