@nexus-cross/design-system 1.0.6-beta.2 → 1.0.6
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/DESIGN.md +185 -0
- package/cursor-rules/nexus-ui-api.mdc +223 -7
- package/cursor-rules/nexus-ui-components.mdc +44 -17
- package/dist/alert.d.mts +17 -0
- package/dist/alert.d.ts +17 -0
- package/dist/alert.js +16 -0
- package/dist/alert.mjs +3 -0
- package/dist/badge.d.mts +18 -0
- package/dist/badge.d.ts +18 -0
- package/dist/badge.js +16 -0
- package/dist/badge.mjs +3 -0
- package/dist/breadcrumb.d.mts +15 -0
- package/dist/breadcrumb.d.ts +15 -0
- package/dist/breadcrumb.js +12 -0
- package/dist/breadcrumb.mjs +3 -0
- package/dist/chunks/chunk-2N2EPBO4.js +120 -0
- package/dist/chunks/{chunk-AFSEYJZT.js → chunk-2T7RUYEK.js} +175 -50
- package/dist/chunks/chunk-2UPGFY6E.mjs +76 -0
- package/dist/chunks/chunk-3ZWN66YH.js +53 -0
- package/dist/chunks/chunk-5PQ3UCKF.js +99 -0
- package/dist/chunks/chunk-6BWOKTVQ.mjs +87 -0
- package/dist/chunks/chunk-6DBRL6NA.mjs +81 -0
- package/dist/chunks/chunk-B5O6W3Z4.mjs +73 -0
- package/dist/chunks/chunk-BJM3NDT2.mjs +368 -0
- package/dist/chunks/chunk-C2DSAJTL.js +109 -0
- package/dist/chunks/chunk-CUTMLBC3.mjs +86 -0
- package/dist/chunks/chunk-CV4GMFWP.js +174 -0
- package/dist/chunks/chunk-DICN6GKE.js +99 -0
- package/dist/chunks/chunk-DYPPVXQF.js +143 -0
- package/dist/chunks/chunk-EJY7IVSK.mjs +31 -0
- package/dist/chunks/chunk-FUIBYZZ4.mjs +98 -0
- package/dist/chunks/{chunk-HNLI646G.mjs → chunk-GN6X27QI.mjs} +9 -2
- package/dist/chunks/chunk-H2G5FMRN.mjs +75 -0
- package/dist/chunks/chunk-H2V7RHYV.mjs +120 -0
- package/dist/chunks/chunk-MMCA33FW.mjs +85 -0
- package/dist/chunks/chunk-NZHK76R3.js +109 -0
- package/dist/chunks/chunk-P73MEU7N.mjs +150 -0
- package/dist/chunks/chunk-PDJTSQOC.js +59 -0
- package/dist/chunks/chunk-PXBZEAZQ.mjs +5 -0
- package/dist/chunks/chunk-QRNHFOLG.js +7 -0
- package/dist/chunks/chunk-S2GMEC43.js +109 -0
- package/dist/chunks/{chunk-VGO4Z2WH.js → chunk-SUIT4XKB.js} +8 -1
- package/dist/chunks/chunk-X3CTJ7TD.js +108 -0
- package/dist/chunks/chunk-XGIJZ3NZ.js +160 -0
- package/dist/chunks/chunk-YO5MSDPX.mjs +36 -0
- package/dist/chunks/chunk-ZI4LN2B2.js +96 -0
- package/dist/chunks/chunk-ZU4AWAFT.mjs +137 -0
- package/dist/date-picker.d.mts +17 -0
- package/dist/date-picker.d.ts +17 -0
- package/dist/date-picker.js +12 -0
- package/dist/date-picker.mjs +3 -0
- package/dist/dropdown-menu.d.mts +30 -0
- package/dist/dropdown-menu.d.ts +30 -0
- package/dist/dropdown-menu.js +32 -0
- package/dist/dropdown-menu.mjs +3 -0
- package/dist/empty-state.d.mts +16 -0
- package/dist/empty-state.d.ts +16 -0
- package/dist/empty-state.js +16 -0
- package/dist/empty-state.mjs +3 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +269 -157
- package/dist/index.mjs +30 -18
- package/dist/modal/index.js +12 -12
- package/dist/modal/index.mjs +3 -3
- package/dist/number-input.d.mts +5 -6
- package/dist/number-input.d.ts +5 -6
- package/dist/number-input.js +4 -4
- package/dist/number-input.mjs +1 -1
- package/dist/nx-image.d.mts +13 -0
- package/dist/nx-image.d.ts +13 -0
- package/dist/nx-image.js +12 -0
- package/dist/nx-image.mjs +3 -0
- package/dist/progress.d.mts +18 -0
- package/dist/progress.d.ts +18 -0
- package/dist/progress.js +16 -0
- package/dist/progress.mjs +3 -0
- package/dist/schemas/_all.json +840 -13
- package/dist/schemas/alert.json +49 -0
- package/dist/schemas/badge.json +76 -0
- package/dist/schemas/breadcrumb.json +47 -0
- package/dist/schemas/datePicker.json +56 -0
- package/dist/schemas/dropdownMenu.json +83 -0
- package/dist/schemas/emptyState.json +44 -0
- package/dist/schemas/numberInput.json +27 -8
- package/dist/schemas/nxImage.json +56 -0
- package/dist/schemas/progress.json +63 -0
- package/dist/schemas/slider.json +78 -0
- package/dist/schemas/stepper.json +73 -0
- package/dist/schemas/tagInput.json +70 -0
- package/dist/schemas/textArea.json +26 -1
- package/dist/schemas/toggleGroup.json +88 -0
- package/dist/schemas.d.mts +628 -144
- package/dist/schemas.d.ts +628 -144
- package/dist/schemas.js +177 -7
- package/dist/schemas.mjs +166 -8
- package/dist/slider.d.mts +20 -0
- package/dist/slider.d.ts +20 -0
- package/dist/slider.js +16 -0
- package/dist/slider.mjs +3 -0
- package/dist/stepper.d.mts +20 -0
- package/dist/stepper.d.ts +20 -0
- package/dist/stepper.js +16 -0
- package/dist/stepper.mjs +3 -0
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +1615 -185
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +1615 -185
- package/dist/styles.mjs +1 -1
- package/dist/table.d.mts +40 -25
- package/dist/table.d.ts +40 -25
- package/dist/table.js +7 -7
- package/dist/table.mjs +1 -1
- package/dist/tag-input.d.mts +21 -0
- package/dist/tag-input.d.ts +21 -0
- package/dist/tag-input.js +16 -0
- package/dist/tag-input.mjs +3 -0
- package/dist/text-area.d.mts +5 -1
- package/dist/text-area.d.ts +5 -1
- package/dist/text-area.js +3 -3
- package/dist/text-area.mjs +1 -1
- package/dist/toggle-group.d.mts +36 -0
- package/dist/toggle-group.d.ts +36 -0
- package/dist/toggle-group.js +16 -0
- package/dist/toggle-group.mjs +3 -0
- package/package.json +69 -3
- package/scripts/setup-cursor-rules.cjs +15 -1
- package/dist/chunks/chunk-26BUGBOY.mjs +0 -57
- package/dist/chunks/chunk-CLGH2RTS.js +0 -7
- package/dist/chunks/chunk-ECVAVQUY.mjs +0 -243
- package/dist/chunks/chunk-UPCWJWXR.mjs +0 -5
- package/dist/chunks/chunk-WR55D4ZS.js +0 -80
- package/dist/chunks/{chunk-3VFBPFZF.mjs → chunk-CWMLTXOH.mjs} +2 -2
- package/dist/chunks/{chunk-U53UA76K.js → chunk-HFBTS42N.js} +2 -2
package/dist/schemas.d.ts
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const breadcrumbPropsSchema: z.ZodObject<{
|
|
4
|
+
items: z.ZodArray<z.ZodObject<{
|
|
5
|
+
label: z.ZodAny;
|
|
6
|
+
href: z.ZodOptional<z.ZodString>;
|
|
7
|
+
onClick: z.ZodOptional<z.ZodAny>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
label?: any;
|
|
10
|
+
href?: string | undefined;
|
|
11
|
+
onClick?: any;
|
|
12
|
+
}, {
|
|
13
|
+
label?: any;
|
|
14
|
+
href?: string | undefined;
|
|
15
|
+
onClick?: any;
|
|
16
|
+
}>, "many">;
|
|
17
|
+
separator: z.ZodOptional<z.ZodAny>;
|
|
18
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
className: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
items: {
|
|
22
|
+
label?: any;
|
|
23
|
+
href?: string | undefined;
|
|
24
|
+
onClick?: any;
|
|
25
|
+
}[];
|
|
26
|
+
separator?: any;
|
|
27
|
+
maxItems?: number | undefined;
|
|
28
|
+
className?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
items: {
|
|
31
|
+
label?: any;
|
|
32
|
+
href?: string | undefined;
|
|
33
|
+
onClick?: any;
|
|
34
|
+
}[];
|
|
35
|
+
separator?: any;
|
|
36
|
+
maxItems?: number | undefined;
|
|
37
|
+
className?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
|
|
3
40
|
declare const buttonPropsSchema: z.ZodObject<{
|
|
4
41
|
semantic: z.ZodDefault<z.ZodEnum<["primary", "secondary", "normal", "danger"]>>;
|
|
5
42
|
variant: z.ZodDefault<z.ZodEnum<["contained", "outlined", "subtle", "ghost"]>>;
|
|
@@ -18,15 +55,18 @@ declare const buttonPropsSchema: z.ZodObject<{
|
|
|
18
55
|
variant: "contained" | "outlined" | "subtle" | "ghost";
|
|
19
56
|
size: "xl" | "lg" | "md" | "sm";
|
|
20
57
|
radius: "default" | "circle";
|
|
58
|
+
onClick?: any;
|
|
59
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
60
|
+
className?: string | undefined;
|
|
21
61
|
asChild?: boolean | undefined;
|
|
22
62
|
detectDoubleClick?: boolean | undefined;
|
|
23
63
|
disabled?: boolean | undefined;
|
|
24
64
|
children?: any;
|
|
65
|
+
style?: any;
|
|
66
|
+
}, {
|
|
25
67
|
onClick?: any;
|
|
26
68
|
type?: "button" | "submit" | "reset" | undefined;
|
|
27
|
-
style?: any;
|
|
28
69
|
className?: string | undefined;
|
|
29
|
-
}, {
|
|
30
70
|
semantic?: "primary" | "secondary" | "normal" | "danger" | undefined;
|
|
31
71
|
variant?: "contained" | "outlined" | "subtle" | "ghost" | undefined;
|
|
32
72
|
size?: "xl" | "lg" | "md" | "sm" | undefined;
|
|
@@ -35,10 +75,7 @@ declare const buttonPropsSchema: z.ZodObject<{
|
|
|
35
75
|
detectDoubleClick?: boolean | undefined;
|
|
36
76
|
disabled?: boolean | undefined;
|
|
37
77
|
children?: any;
|
|
38
|
-
onClick?: any;
|
|
39
|
-
type?: "button" | "submit" | "reset" | undefined;
|
|
40
78
|
style?: any;
|
|
41
|
-
className?: string | undefined;
|
|
42
79
|
}>;
|
|
43
80
|
|
|
44
81
|
declare const textInputPropsSchema: z.ZodObject<{
|
|
@@ -68,14 +105,14 @@ declare const textInputPropsSchema: z.ZodObject<{
|
|
|
68
105
|
className: z.ZodOptional<z.ZodString>;
|
|
69
106
|
}, "strip", z.ZodTypeAny, {
|
|
70
107
|
size: "xl" | "lg" | "md";
|
|
71
|
-
|
|
108
|
+
label?: any;
|
|
109
|
+
value?: string | undefined;
|
|
72
110
|
type?: string | undefined;
|
|
73
111
|
className?: string | undefined;
|
|
74
|
-
|
|
112
|
+
disabled?: boolean | undefined;
|
|
75
113
|
error?: boolean | undefined;
|
|
76
114
|
prefixIcon?: any;
|
|
77
115
|
suffixIcon?: any;
|
|
78
|
-
label?: any;
|
|
79
116
|
description?: any;
|
|
80
117
|
showCount?: boolean | undefined;
|
|
81
118
|
maxLength?: number | undefined;
|
|
@@ -92,15 +129,15 @@ declare const textInputPropsSchema: z.ZodObject<{
|
|
|
92
129
|
onBlur?: any;
|
|
93
130
|
onFocus?: any;
|
|
94
131
|
}, {
|
|
95
|
-
|
|
96
|
-
|
|
132
|
+
label?: any;
|
|
133
|
+
value?: string | undefined;
|
|
97
134
|
type?: string | undefined;
|
|
98
135
|
className?: string | undefined;
|
|
99
|
-
|
|
136
|
+
size?: "xl" | "lg" | "md" | undefined;
|
|
137
|
+
disabled?: boolean | undefined;
|
|
100
138
|
error?: boolean | undefined;
|
|
101
139
|
prefixIcon?: any;
|
|
102
140
|
suffixIcon?: any;
|
|
103
|
-
label?: any;
|
|
104
141
|
description?: any;
|
|
105
142
|
showCount?: boolean | undefined;
|
|
106
143
|
maxLength?: number | undefined;
|
|
@@ -119,6 +156,10 @@ declare const textInputPropsSchema: z.ZodObject<{
|
|
|
119
156
|
}>;
|
|
120
157
|
|
|
121
158
|
declare const textAreaPropsSchema: z.ZodObject<{
|
|
159
|
+
label: z.ZodOptional<z.ZodString>;
|
|
160
|
+
description: z.ZodOptional<z.ZodString>;
|
|
161
|
+
size: z.ZodOptional<z.ZodEnum<["lg", "md"]>>;
|
|
162
|
+
resize: z.ZodOptional<z.ZodEnum<["default", "auto", "none"]>>;
|
|
122
163
|
error: z.ZodOptional<z.ZodBoolean>;
|
|
123
164
|
showCount: z.ZodOptional<z.ZodBoolean>;
|
|
124
165
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -137,10 +178,13 @@ declare const textAreaPropsSchema: z.ZodObject<{
|
|
|
137
178
|
onFocus: z.ZodOptional<z.ZodAny>;
|
|
138
179
|
className: z.ZodOptional<z.ZodString>;
|
|
139
180
|
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
|
|
141
|
-
className?: string | undefined;
|
|
181
|
+
label?: string | undefined;
|
|
142
182
|
value?: string | undefined;
|
|
183
|
+
className?: string | undefined;
|
|
184
|
+
size?: "lg" | "md" | undefined;
|
|
185
|
+
disabled?: boolean | undefined;
|
|
143
186
|
error?: boolean | undefined;
|
|
187
|
+
description?: string | undefined;
|
|
144
188
|
showCount?: boolean | undefined;
|
|
145
189
|
maxLength?: number | undefined;
|
|
146
190
|
placeholder?: string | undefined;
|
|
@@ -153,12 +197,16 @@ declare const textAreaPropsSchema: z.ZodObject<{
|
|
|
153
197
|
onChange?: any;
|
|
154
198
|
onBlur?: any;
|
|
155
199
|
onFocus?: any;
|
|
200
|
+
resize?: "default" | "auto" | "none" | undefined;
|
|
156
201
|
rows?: number | undefined;
|
|
157
202
|
}, {
|
|
158
|
-
|
|
159
|
-
className?: string | undefined;
|
|
203
|
+
label?: string | undefined;
|
|
160
204
|
value?: string | undefined;
|
|
205
|
+
className?: string | undefined;
|
|
206
|
+
size?: "lg" | "md" | undefined;
|
|
207
|
+
disabled?: boolean | undefined;
|
|
161
208
|
error?: boolean | undefined;
|
|
209
|
+
description?: string | undefined;
|
|
162
210
|
showCount?: boolean | undefined;
|
|
163
211
|
maxLength?: number | undefined;
|
|
164
212
|
placeholder?: string | undefined;
|
|
@@ -171,6 +219,7 @@ declare const textAreaPropsSchema: z.ZodObject<{
|
|
|
171
219
|
onChange?: any;
|
|
172
220
|
onBlur?: any;
|
|
173
221
|
onFocus?: any;
|
|
222
|
+
resize?: "default" | "auto" | "none" | undefined;
|
|
174
223
|
rows?: number | undefined;
|
|
175
224
|
}>;
|
|
176
225
|
|
|
@@ -188,21 +237,21 @@ declare const selectPropsSchema: z.ZodObject<{
|
|
|
188
237
|
}, "strip", z.ZodTypeAny, {
|
|
189
238
|
variant: "default" | "outline";
|
|
190
239
|
size: "lg" | "md" | "sm" | "full";
|
|
240
|
+
value?: string | undefined;
|
|
241
|
+
className?: string | undefined;
|
|
191
242
|
disabled?: boolean | undefined;
|
|
192
243
|
children?: any;
|
|
193
|
-
className?: string | undefined;
|
|
194
|
-
value?: string | undefined;
|
|
195
244
|
placeholder?: string | undefined;
|
|
196
245
|
onValueChange?: any;
|
|
197
246
|
displayComponent?: any;
|
|
198
247
|
triggerClassName?: string | undefined;
|
|
199
248
|
}, {
|
|
249
|
+
value?: string | undefined;
|
|
250
|
+
className?: string | undefined;
|
|
200
251
|
variant?: "default" | "outline" | undefined;
|
|
201
252
|
size?: "lg" | "md" | "sm" | "full" | undefined;
|
|
202
253
|
disabled?: boolean | undefined;
|
|
203
254
|
children?: any;
|
|
204
|
-
className?: string | undefined;
|
|
205
|
-
value?: string | undefined;
|
|
206
255
|
placeholder?: string | undefined;
|
|
207
256
|
onValueChange?: any;
|
|
208
257
|
displayComponent?: any;
|
|
@@ -215,14 +264,178 @@ declare const selectItemPropsSchema: z.ZodObject<{
|
|
|
215
264
|
className: z.ZodOptional<z.ZodString>;
|
|
216
265
|
}, "strip", z.ZodTypeAny, {
|
|
217
266
|
value: string;
|
|
267
|
+
className?: string | undefined;
|
|
218
268
|
disabled?: boolean | undefined;
|
|
219
269
|
children?: any;
|
|
220
|
-
className?: string | undefined;
|
|
221
270
|
}, {
|
|
222
271
|
value: string;
|
|
272
|
+
className?: string | undefined;
|
|
223
273
|
disabled?: boolean | undefined;
|
|
224
274
|
children?: any;
|
|
275
|
+
}>;
|
|
276
|
+
|
|
277
|
+
declare const dropdownMenuPropsSchema: z.ZodObject<{
|
|
278
|
+
children: z.ZodAny;
|
|
279
|
+
items: z.ZodArray<z.ZodObject<{
|
|
280
|
+
label: z.ZodAny;
|
|
281
|
+
value: z.ZodOptional<z.ZodString>;
|
|
282
|
+
icon: z.ZodOptional<z.ZodAny>;
|
|
283
|
+
onClick: z.ZodOptional<z.ZodAny>;
|
|
284
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
+
danger: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
separator: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
label?: any;
|
|
289
|
+
onClick?: any;
|
|
290
|
+
value?: string | undefined;
|
|
291
|
+
separator?: boolean | undefined;
|
|
292
|
+
danger?: boolean | undefined;
|
|
293
|
+
disabled?: boolean | undefined;
|
|
294
|
+
icon?: any;
|
|
295
|
+
}, {
|
|
296
|
+
label?: any;
|
|
297
|
+
onClick?: any;
|
|
298
|
+
value?: string | undefined;
|
|
299
|
+
separator?: boolean | undefined;
|
|
300
|
+
danger?: boolean | undefined;
|
|
301
|
+
disabled?: boolean | undefined;
|
|
302
|
+
icon?: any;
|
|
303
|
+
}>, "many">;
|
|
304
|
+
align: z.ZodDefault<z.ZodEnum<["start", "center", "end"]>>;
|
|
305
|
+
side: z.ZodDefault<z.ZodEnum<["top", "right", "bottom", "left"]>>;
|
|
306
|
+
className: z.ZodOptional<z.ZodString>;
|
|
307
|
+
contentClassName: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
items: {
|
|
310
|
+
label?: any;
|
|
311
|
+
onClick?: any;
|
|
312
|
+
value?: string | undefined;
|
|
313
|
+
separator?: boolean | undefined;
|
|
314
|
+
danger?: boolean | undefined;
|
|
315
|
+
disabled?: boolean | undefined;
|
|
316
|
+
icon?: any;
|
|
317
|
+
}[];
|
|
318
|
+
align: "start" | "center" | "end";
|
|
319
|
+
side: "top" | "right" | "bottom" | "left";
|
|
225
320
|
className?: string | undefined;
|
|
321
|
+
children?: any;
|
|
322
|
+
contentClassName?: string | undefined;
|
|
323
|
+
}, {
|
|
324
|
+
items: {
|
|
325
|
+
label?: any;
|
|
326
|
+
onClick?: any;
|
|
327
|
+
value?: string | undefined;
|
|
328
|
+
separator?: boolean | undefined;
|
|
329
|
+
danger?: boolean | undefined;
|
|
330
|
+
disabled?: boolean | undefined;
|
|
331
|
+
icon?: any;
|
|
332
|
+
}[];
|
|
333
|
+
className?: string | undefined;
|
|
334
|
+
children?: any;
|
|
335
|
+
align?: "start" | "center" | "end" | undefined;
|
|
336
|
+
side?: "top" | "right" | "bottom" | "left" | undefined;
|
|
337
|
+
contentClassName?: string | undefined;
|
|
338
|
+
}>;
|
|
339
|
+
|
|
340
|
+
declare const toggleGroupPropsSchema: z.ZodObject<{
|
|
341
|
+
type: z.ZodDefault<z.ZodEnum<["single", "multiple"]>>;
|
|
342
|
+
items: z.ZodArray<z.ZodObject<{
|
|
343
|
+
value: z.ZodString;
|
|
344
|
+
label: z.ZodAny;
|
|
345
|
+
icon: z.ZodOptional<z.ZodAny>;
|
|
346
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
value: string;
|
|
349
|
+
label?: any;
|
|
350
|
+
disabled?: boolean | undefined;
|
|
351
|
+
icon?: any;
|
|
352
|
+
}, {
|
|
353
|
+
value: string;
|
|
354
|
+
label?: any;
|
|
355
|
+
disabled?: boolean | undefined;
|
|
356
|
+
icon?: any;
|
|
357
|
+
}>, "many">;
|
|
358
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
359
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
360
|
+
onValueChange: z.ZodOptional<z.ZodAny>;
|
|
361
|
+
variant: z.ZodDefault<z.ZodEnum<["default", "outline"]>>;
|
|
362
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
363
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
364
|
+
className: z.ZodOptional<z.ZodString>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
type: "single" | "multiple";
|
|
367
|
+
items: {
|
|
368
|
+
value: string;
|
|
369
|
+
label?: any;
|
|
370
|
+
disabled?: boolean | undefined;
|
|
371
|
+
icon?: any;
|
|
372
|
+
}[];
|
|
373
|
+
variant: "default" | "outline";
|
|
374
|
+
size: "lg" | "md" | "sm";
|
|
375
|
+
value?: any;
|
|
376
|
+
className?: string | undefined;
|
|
377
|
+
disabled?: boolean | undefined;
|
|
378
|
+
defaultValue?: any;
|
|
379
|
+
onValueChange?: any;
|
|
380
|
+
}, {
|
|
381
|
+
items: {
|
|
382
|
+
value: string;
|
|
383
|
+
label?: any;
|
|
384
|
+
disabled?: boolean | undefined;
|
|
385
|
+
icon?: any;
|
|
386
|
+
}[];
|
|
387
|
+
value?: any;
|
|
388
|
+
type?: "single" | "multiple" | undefined;
|
|
389
|
+
className?: string | undefined;
|
|
390
|
+
variant?: "default" | "outline" | undefined;
|
|
391
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
392
|
+
disabled?: boolean | undefined;
|
|
393
|
+
defaultValue?: any;
|
|
394
|
+
onValueChange?: any;
|
|
395
|
+
}>;
|
|
396
|
+
|
|
397
|
+
declare const sliderPropsSchema: z.ZodObject<{
|
|
398
|
+
value: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
399
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
400
|
+
min: z.ZodDefault<z.ZodNumber>;
|
|
401
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
402
|
+
step: z.ZodDefault<z.ZodNumber>;
|
|
403
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
404
|
+
showValue: z.ZodDefault<z.ZodBoolean>;
|
|
405
|
+
formatValue: z.ZodOptional<z.ZodAny>;
|
|
406
|
+
label: z.ZodOptional<z.ZodString>;
|
|
407
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
onValueChange: z.ZodOptional<z.ZodAny>;
|
|
409
|
+
onValueCommit: z.ZodOptional<z.ZodAny>;
|
|
410
|
+
className: z.ZodOptional<z.ZodString>;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
size: "lg" | "md" | "sm";
|
|
413
|
+
min: number;
|
|
414
|
+
max: number;
|
|
415
|
+
step: number;
|
|
416
|
+
showValue: boolean;
|
|
417
|
+
label?: string | undefined;
|
|
418
|
+
value?: number[] | undefined;
|
|
419
|
+
className?: string | undefined;
|
|
420
|
+
disabled?: boolean | undefined;
|
|
421
|
+
defaultValue?: number[] | undefined;
|
|
422
|
+
onValueChange?: any;
|
|
423
|
+
formatValue?: any;
|
|
424
|
+
onValueCommit?: any;
|
|
425
|
+
}, {
|
|
426
|
+
label?: string | undefined;
|
|
427
|
+
value?: number[] | undefined;
|
|
428
|
+
className?: string | undefined;
|
|
429
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
430
|
+
disabled?: boolean | undefined;
|
|
431
|
+
defaultValue?: number[] | undefined;
|
|
432
|
+
onValueChange?: any;
|
|
433
|
+
min?: number | undefined;
|
|
434
|
+
max?: number | undefined;
|
|
435
|
+
step?: number | undefined;
|
|
436
|
+
showValue?: boolean | undefined;
|
|
437
|
+
formatValue?: any;
|
|
438
|
+
onValueCommit?: any;
|
|
226
439
|
}>;
|
|
227
440
|
|
|
228
441
|
declare const checkBoxPropsSchema: z.ZodObject<{
|
|
@@ -243,11 +456,11 @@ declare const checkBoxPropsSchema: z.ZodObject<{
|
|
|
243
456
|
}, "strip", z.ZodTypeAny, {
|
|
244
457
|
size: "md" | "sm";
|
|
245
458
|
shape: "square" | "round";
|
|
459
|
+
label?: any;
|
|
460
|
+
value?: string | undefined;
|
|
461
|
+
className?: string | undefined;
|
|
246
462
|
disabled?: boolean | undefined;
|
|
247
463
|
children?: any;
|
|
248
|
-
className?: string | undefined;
|
|
249
|
-
value?: string | undefined;
|
|
250
|
-
label?: any;
|
|
251
464
|
readOnly?: boolean | undefined;
|
|
252
465
|
name?: string | undefined;
|
|
253
466
|
id?: string | undefined;
|
|
@@ -256,12 +469,12 @@ declare const checkBoxPropsSchema: z.ZodObject<{
|
|
|
256
469
|
indeterminate?: boolean | undefined;
|
|
257
470
|
onCheckedChange?: any;
|
|
258
471
|
}, {
|
|
472
|
+
label?: any;
|
|
473
|
+
value?: string | undefined;
|
|
474
|
+
className?: string | undefined;
|
|
259
475
|
size?: "md" | "sm" | undefined;
|
|
260
476
|
disabled?: boolean | undefined;
|
|
261
477
|
children?: any;
|
|
262
|
-
className?: string | undefined;
|
|
263
|
-
value?: string | undefined;
|
|
264
|
-
label?: any;
|
|
265
478
|
readOnly?: boolean | undefined;
|
|
266
479
|
name?: string | undefined;
|
|
267
480
|
id?: string | undefined;
|
|
@@ -288,21 +501,21 @@ declare const radioGroupPropsSchema: z.ZodObject<{
|
|
|
288
501
|
size: "md" | "sm";
|
|
289
502
|
name: string;
|
|
290
503
|
orientation: "horizontal" | "vertical";
|
|
504
|
+
value?: string | undefined;
|
|
505
|
+
className?: string | undefined;
|
|
291
506
|
disabled?: boolean | undefined;
|
|
292
507
|
children?: any;
|
|
293
|
-
className?: string | undefined;
|
|
294
|
-
value?: string | undefined;
|
|
295
508
|
defaultValue?: string | undefined;
|
|
296
509
|
onValueChange?: any;
|
|
297
510
|
'aria-label'?: string | undefined;
|
|
298
511
|
'aria-labelledby'?: string | undefined;
|
|
299
512
|
}, {
|
|
300
513
|
name: string;
|
|
514
|
+
value?: string | undefined;
|
|
515
|
+
className?: string | undefined;
|
|
301
516
|
size?: "md" | "sm" | undefined;
|
|
302
517
|
disabled?: boolean | undefined;
|
|
303
518
|
children?: any;
|
|
304
|
-
className?: string | undefined;
|
|
305
|
-
value?: string | undefined;
|
|
306
519
|
defaultValue?: string | undefined;
|
|
307
520
|
onValueChange?: any;
|
|
308
521
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
@@ -318,18 +531,18 @@ declare const radioItemPropsSchema: z.ZodObject<{
|
|
|
318
531
|
className: z.ZodOptional<z.ZodString>;
|
|
319
532
|
}, "strip", z.ZodTypeAny, {
|
|
320
533
|
value: string;
|
|
534
|
+
label?: any;
|
|
535
|
+
className?: string | undefined;
|
|
321
536
|
size?: "md" | "sm" | undefined;
|
|
322
537
|
disabled?: boolean | undefined;
|
|
323
538
|
children?: any;
|
|
324
|
-
className?: string | undefined;
|
|
325
|
-
label?: any;
|
|
326
539
|
}, {
|
|
327
540
|
value: string;
|
|
541
|
+
label?: any;
|
|
542
|
+
className?: string | undefined;
|
|
328
543
|
size?: "md" | "sm" | undefined;
|
|
329
544
|
disabled?: boolean | undefined;
|
|
330
545
|
children?: any;
|
|
331
|
-
className?: string | undefined;
|
|
332
|
-
label?: any;
|
|
333
546
|
}>;
|
|
334
547
|
|
|
335
548
|
declare const switchPropsSchema: z.ZodObject<{
|
|
@@ -344,8 +557,8 @@ declare const switchPropsSchema: z.ZodObject<{
|
|
|
344
557
|
className: z.ZodOptional<z.ZodString>;
|
|
345
558
|
}, "strip", z.ZodTypeAny, {
|
|
346
559
|
size: "md" | "sm";
|
|
347
|
-
disabled?: boolean | undefined;
|
|
348
560
|
className?: string | undefined;
|
|
561
|
+
disabled?: boolean | undefined;
|
|
349
562
|
readOnly?: boolean | undefined;
|
|
350
563
|
name?: string | undefined;
|
|
351
564
|
id?: string | undefined;
|
|
@@ -353,9 +566,9 @@ declare const switchPropsSchema: z.ZodObject<{
|
|
|
353
566
|
checked?: boolean | undefined;
|
|
354
567
|
onCheckedChange?: any;
|
|
355
568
|
}, {
|
|
569
|
+
className?: string | undefined;
|
|
356
570
|
size?: "md" | "sm" | undefined;
|
|
357
571
|
disabled?: boolean | undefined;
|
|
358
|
-
className?: string | undefined;
|
|
359
572
|
readOnly?: boolean | undefined;
|
|
360
573
|
name?: string | undefined;
|
|
361
574
|
id?: string | undefined;
|
|
@@ -376,21 +589,111 @@ declare const chipPropsSchema: z.ZodObject<{
|
|
|
376
589
|
}, "strip", z.ZodTypeAny, {
|
|
377
590
|
variant: "default" | "outline" | "filled" | "accent";
|
|
378
591
|
size: "lg" | "md" | "sm";
|
|
592
|
+
onClick?: any;
|
|
593
|
+
className?: string | undefined;
|
|
379
594
|
asChild?: boolean | undefined;
|
|
380
595
|
disabled?: boolean | undefined;
|
|
381
596
|
children?: any;
|
|
382
|
-
onClick?: any;
|
|
383
|
-
className?: string | undefined;
|
|
384
597
|
onClose?: any;
|
|
385
598
|
}, {
|
|
599
|
+
onClick?: any;
|
|
600
|
+
className?: string | undefined;
|
|
386
601
|
variant?: "default" | "outline" | "filled" | "accent" | undefined;
|
|
387
602
|
size?: "lg" | "md" | "sm" | undefined;
|
|
388
603
|
asChild?: boolean | undefined;
|
|
389
604
|
disabled?: boolean | undefined;
|
|
390
605
|
children?: any;
|
|
391
|
-
|
|
606
|
+
onClose?: any;
|
|
607
|
+
}>;
|
|
608
|
+
|
|
609
|
+
declare const badgePropsSchema: z.ZodObject<{
|
|
610
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
612
|
+
dot: z.ZodDefault<z.ZodBoolean>;
|
|
613
|
+
showZero: z.ZodDefault<z.ZodBoolean>;
|
|
614
|
+
variant: z.ZodDefault<z.ZodEnum<["danger", "primary", "secondary", "info", "success", "warning"]>>;
|
|
615
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
616
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
617
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
618
|
+
className: z.ZodOptional<z.ZodString>;
|
|
619
|
+
}, "strip", z.ZodTypeAny, {
|
|
620
|
+
variant: "primary" | "secondary" | "danger" | "info" | "success" | "warning";
|
|
621
|
+
size: "lg" | "md" | "sm";
|
|
622
|
+
max: number;
|
|
623
|
+
dot: boolean;
|
|
624
|
+
showZero: boolean;
|
|
625
|
+
className?: string | undefined;
|
|
626
|
+
children?: any;
|
|
627
|
+
count?: number | undefined;
|
|
628
|
+
offset?: [number, number] | undefined;
|
|
629
|
+
}, {
|
|
630
|
+
className?: string | undefined;
|
|
631
|
+
variant?: "primary" | "secondary" | "danger" | "info" | "success" | "warning" | undefined;
|
|
632
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
633
|
+
children?: any;
|
|
634
|
+
max?: number | undefined;
|
|
635
|
+
count?: number | undefined;
|
|
636
|
+
dot?: boolean | undefined;
|
|
637
|
+
showZero?: boolean | undefined;
|
|
638
|
+
offset?: [number, number] | undefined;
|
|
639
|
+
}>;
|
|
640
|
+
|
|
641
|
+
declare const progressPropsSchema: z.ZodObject<{
|
|
642
|
+
value: z.ZodDefault<z.ZodNumber>;
|
|
643
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
644
|
+
variant: z.ZodDefault<z.ZodEnum<["primary", "success", "warning", "danger", "info"]>>;
|
|
645
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
646
|
+
showValue: z.ZodDefault<z.ZodBoolean>;
|
|
647
|
+
indeterminate: z.ZodDefault<z.ZodBoolean>;
|
|
648
|
+
label: z.ZodOptional<z.ZodString>;
|
|
649
|
+
className: z.ZodOptional<z.ZodString>;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
value: number;
|
|
652
|
+
variant: "primary" | "danger" | "info" | "success" | "warning";
|
|
653
|
+
size: "lg" | "md" | "sm";
|
|
654
|
+
max: number;
|
|
655
|
+
showValue: boolean;
|
|
656
|
+
indeterminate: boolean;
|
|
657
|
+
label?: string | undefined;
|
|
392
658
|
className?: string | undefined;
|
|
659
|
+
}, {
|
|
660
|
+
label?: string | undefined;
|
|
661
|
+
value?: number | undefined;
|
|
662
|
+
className?: string | undefined;
|
|
663
|
+
variant?: "primary" | "danger" | "info" | "success" | "warning" | undefined;
|
|
664
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
665
|
+
max?: number | undefined;
|
|
666
|
+
showValue?: boolean | undefined;
|
|
667
|
+
indeterminate?: boolean | undefined;
|
|
668
|
+
}>;
|
|
669
|
+
|
|
670
|
+
declare const alertPropsSchema: z.ZodObject<{
|
|
671
|
+
variant: z.ZodDefault<z.ZodEnum<["info", "success", "warning", "danger"]>>;
|
|
672
|
+
title: z.ZodOptional<z.ZodString>;
|
|
673
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
674
|
+
icon: z.ZodOptional<z.ZodAny>;
|
|
675
|
+
closable: z.ZodDefault<z.ZodBoolean>;
|
|
676
|
+
onClose: z.ZodOptional<z.ZodAny>;
|
|
677
|
+
action: z.ZodOptional<z.ZodAny>;
|
|
678
|
+
className: z.ZodOptional<z.ZodString>;
|
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
|
+
variant: "danger" | "info" | "success" | "warning";
|
|
681
|
+
closable: boolean;
|
|
682
|
+
className?: string | undefined;
|
|
683
|
+
children?: any;
|
|
684
|
+
icon?: any;
|
|
393
685
|
onClose?: any;
|
|
686
|
+
title?: string | undefined;
|
|
687
|
+
action?: any;
|
|
688
|
+
}, {
|
|
689
|
+
className?: string | undefined;
|
|
690
|
+
variant?: "danger" | "info" | "success" | "warning" | undefined;
|
|
691
|
+
children?: any;
|
|
692
|
+
icon?: any;
|
|
693
|
+
onClose?: any;
|
|
694
|
+
title?: string | undefined;
|
|
695
|
+
closable?: boolean | undefined;
|
|
696
|
+
action?: any;
|
|
394
697
|
}>;
|
|
395
698
|
|
|
396
699
|
declare const spinnerPropsSchema: z.ZodObject<{
|
|
@@ -402,17 +705,55 @@ declare const spinnerPropsSchema: z.ZodObject<{
|
|
|
402
705
|
}, "strip", z.ZodTypeAny, {
|
|
403
706
|
size: number;
|
|
404
707
|
'aria-label': string;
|
|
405
|
-
style?: any;
|
|
406
708
|
className?: string | undefined;
|
|
709
|
+
style?: any;
|
|
407
710
|
color?: string | undefined;
|
|
408
711
|
}, {
|
|
712
|
+
className?: string | undefined;
|
|
409
713
|
size?: number | undefined;
|
|
410
714
|
style?: any;
|
|
411
|
-
className?: string | undefined;
|
|
412
715
|
'aria-label'?: string | undefined;
|
|
413
716
|
color?: string | undefined;
|
|
414
717
|
}>;
|
|
415
718
|
|
|
719
|
+
declare const stepperPropsSchema: z.ZodObject<{
|
|
720
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
721
|
+
label: z.ZodString;
|
|
722
|
+
description: z.ZodOptional<z.ZodString>;
|
|
723
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
label: string;
|
|
725
|
+
description?: string | undefined;
|
|
726
|
+
}, {
|
|
727
|
+
label: string;
|
|
728
|
+
description?: string | undefined;
|
|
729
|
+
}>, "many">;
|
|
730
|
+
current: z.ZodDefault<z.ZodNumber>;
|
|
731
|
+
status: z.ZodDefault<z.ZodEnum<["process", "error"]>>;
|
|
732
|
+
orientation: z.ZodDefault<z.ZodEnum<["horizontal", "vertical"]>>;
|
|
733
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md"]>>;
|
|
734
|
+
className: z.ZodOptional<z.ZodString>;
|
|
735
|
+
}, "strip", z.ZodTypeAny, {
|
|
736
|
+
status: "error" | "process";
|
|
737
|
+
size: "md" | "sm";
|
|
738
|
+
orientation: "horizontal" | "vertical";
|
|
739
|
+
steps: {
|
|
740
|
+
label: string;
|
|
741
|
+
description?: string | undefined;
|
|
742
|
+
}[];
|
|
743
|
+
current: number;
|
|
744
|
+
className?: string | undefined;
|
|
745
|
+
}, {
|
|
746
|
+
steps: {
|
|
747
|
+
label: string;
|
|
748
|
+
description?: string | undefined;
|
|
749
|
+
}[];
|
|
750
|
+
status?: "error" | "process" | undefined;
|
|
751
|
+
className?: string | undefined;
|
|
752
|
+
size?: "md" | "sm" | undefined;
|
|
753
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
754
|
+
current?: number | undefined;
|
|
755
|
+
}>;
|
|
756
|
+
|
|
416
757
|
declare const skeletonPropsSchema: z.ZodObject<{
|
|
417
758
|
as: z.ZodDefault<z.ZodEnum<["div", "span"]>>;
|
|
418
759
|
circle: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -424,16 +765,16 @@ declare const skeletonPropsSchema: z.ZodObject<{
|
|
|
424
765
|
}, "strip", z.ZodTypeAny, {
|
|
425
766
|
circle: boolean;
|
|
426
767
|
as: "div" | "span";
|
|
768
|
+
className?: string | undefined;
|
|
427
769
|
children?: any;
|
|
428
770
|
style?: any;
|
|
429
|
-
className?: string | undefined;
|
|
430
771
|
width?: string | number | undefined;
|
|
431
772
|
height?: string | number | undefined;
|
|
432
773
|
}, {
|
|
774
|
+
className?: string | undefined;
|
|
433
775
|
circle?: boolean | undefined;
|
|
434
776
|
children?: any;
|
|
435
777
|
style?: any;
|
|
436
|
-
className?: string | undefined;
|
|
437
778
|
as?: "div" | "span" | undefined;
|
|
438
779
|
width?: string | number | undefined;
|
|
439
780
|
height?: string | number | undefined;
|
|
@@ -448,13 +789,13 @@ declare const dividerPropsSchema: z.ZodObject<{
|
|
|
448
789
|
}, "strip", z.ZodTypeAny, {
|
|
449
790
|
variant: "solid" | "dashed" | "dotted";
|
|
450
791
|
orientation: "horizontal" | "vertical";
|
|
451
|
-
style?: any;
|
|
452
792
|
className?: string | undefined;
|
|
793
|
+
style?: any;
|
|
453
794
|
color?: string | undefined;
|
|
454
795
|
}, {
|
|
796
|
+
className?: string | undefined;
|
|
455
797
|
variant?: "solid" | "dashed" | "dotted" | undefined;
|
|
456
798
|
style?: any;
|
|
457
|
-
className?: string | undefined;
|
|
458
799
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
459
800
|
color?: string | undefined;
|
|
460
801
|
}>;
|
|
@@ -472,22 +813,22 @@ declare const tooltipPropsSchema: z.ZodObject<{
|
|
|
472
813
|
}, "strip", z.ZodTypeAny, {
|
|
473
814
|
variant: "dark" | "light";
|
|
474
815
|
disabled: boolean;
|
|
475
|
-
side: "top" | "right" | "bottom" | "left";
|
|
476
816
|
align: "start" | "center" | "end";
|
|
817
|
+
side: "top" | "right" | "bottom" | "left";
|
|
477
818
|
delayDuration: number;
|
|
478
|
-
children?: any;
|
|
479
819
|
className?: string | undefined;
|
|
820
|
+
children?: any;
|
|
480
821
|
triggerClassName?: string | undefined;
|
|
481
822
|
content?: any;
|
|
482
823
|
}, {
|
|
824
|
+
className?: string | undefined;
|
|
483
825
|
variant?: "dark" | "light" | undefined;
|
|
484
826
|
disabled?: boolean | undefined;
|
|
485
827
|
children?: any;
|
|
486
|
-
className?: string | undefined;
|
|
487
828
|
triggerClassName?: string | undefined;
|
|
488
|
-
content?: any;
|
|
489
|
-
side?: "top" | "right" | "bottom" | "left" | undefined;
|
|
490
829
|
align?: "start" | "center" | "end" | undefined;
|
|
830
|
+
side?: "top" | "right" | "bottom" | "left" | undefined;
|
|
831
|
+
content?: any;
|
|
491
832
|
delayDuration?: number | undefined;
|
|
492
833
|
}>;
|
|
493
834
|
|
|
@@ -504,11 +845,11 @@ declare const popoverPropsSchema: z.ZodObject<{
|
|
|
504
845
|
className: z.ZodOptional<z.ZodString>;
|
|
505
846
|
arrowClassName: z.ZodOptional<z.ZodString>;
|
|
506
847
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
side: "top" | "right" | "bottom" | "left";
|
|
508
848
|
align: "start" | "center" | "end";
|
|
849
|
+
side: "top" | "right" | "bottom" | "left";
|
|
509
850
|
sideOffset: number;
|
|
510
|
-
children?: any;
|
|
511
851
|
className?: string | undefined;
|
|
852
|
+
children?: any;
|
|
512
853
|
trigger?: any;
|
|
513
854
|
alignOffset?: number | undefined;
|
|
514
855
|
open?: boolean | undefined;
|
|
@@ -516,10 +857,10 @@ declare const popoverPropsSchema: z.ZodObject<{
|
|
|
516
857
|
onClickTrigger?: any;
|
|
517
858
|
arrowClassName?: string | undefined;
|
|
518
859
|
}, {
|
|
519
|
-
children?: any;
|
|
520
860
|
className?: string | undefined;
|
|
521
|
-
|
|
861
|
+
children?: any;
|
|
522
862
|
align?: "start" | "center" | "end" | undefined;
|
|
863
|
+
side?: "top" | "right" | "bottom" | "left" | undefined;
|
|
523
864
|
trigger?: any;
|
|
524
865
|
sideOffset?: number | undefined;
|
|
525
866
|
alignOffset?: number | undefined;
|
|
@@ -540,20 +881,20 @@ declare const accordionPropsSchema: z.ZodObject<{
|
|
|
540
881
|
contentClassName: z.ZodOptional<z.ZodString>;
|
|
541
882
|
}, "strip", z.ZodTypeAny, {
|
|
542
883
|
id: string;
|
|
543
|
-
disabled?: boolean | undefined;
|
|
544
884
|
className?: string | undefined;
|
|
885
|
+
disabled?: boolean | undefined;
|
|
545
886
|
triggerClassName?: string | undefined;
|
|
887
|
+
contentClassName?: string | undefined;
|
|
546
888
|
content?: any;
|
|
547
889
|
trigger?: any;
|
|
548
|
-
contentClassName?: string | undefined;
|
|
549
890
|
}, {
|
|
550
891
|
id: string;
|
|
551
|
-
disabled?: boolean | undefined;
|
|
552
892
|
className?: string | undefined;
|
|
893
|
+
disabled?: boolean | undefined;
|
|
553
894
|
triggerClassName?: string | undefined;
|
|
895
|
+
contentClassName?: string | undefined;
|
|
554
896
|
content?: any;
|
|
555
897
|
trigger?: any;
|
|
556
|
-
contentClassName?: string | undefined;
|
|
557
898
|
}>, "many">;
|
|
558
899
|
type: z.ZodDefault<z.ZodEnum<["single", "multiple"]>>;
|
|
559
900
|
collapsible: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -565,31 +906,31 @@ declare const accordionPropsSchema: z.ZodObject<{
|
|
|
565
906
|
type: "single" | "multiple";
|
|
566
907
|
items: {
|
|
567
908
|
id: string;
|
|
568
|
-
disabled?: boolean | undefined;
|
|
569
909
|
className?: string | undefined;
|
|
910
|
+
disabled?: boolean | undefined;
|
|
570
911
|
triggerClassName?: string | undefined;
|
|
912
|
+
contentClassName?: string | undefined;
|
|
571
913
|
content?: any;
|
|
572
914
|
trigger?: any;
|
|
573
|
-
contentClassName?: string | undefined;
|
|
574
915
|
}[];
|
|
575
916
|
collapsible: boolean;
|
|
576
|
-
className?: string | undefined;
|
|
577
917
|
value?: string | string[] | undefined;
|
|
918
|
+
className?: string | undefined;
|
|
578
919
|
defaultValue?: string | string[] | undefined;
|
|
579
920
|
onValueChange?: any;
|
|
580
921
|
}, {
|
|
581
922
|
items: {
|
|
582
923
|
id: string;
|
|
583
|
-
disabled?: boolean | undefined;
|
|
584
924
|
className?: string | undefined;
|
|
925
|
+
disabled?: boolean | undefined;
|
|
585
926
|
triggerClassName?: string | undefined;
|
|
927
|
+
contentClassName?: string | undefined;
|
|
586
928
|
content?: any;
|
|
587
929
|
trigger?: any;
|
|
588
|
-
contentClassName?: string | undefined;
|
|
589
930
|
}[];
|
|
931
|
+
value?: string | string[] | undefined;
|
|
590
932
|
type?: "single" | "multiple" | undefined;
|
|
591
933
|
className?: string | undefined;
|
|
592
|
-
value?: string | string[] | undefined;
|
|
593
934
|
defaultValue?: string | string[] | undefined;
|
|
594
935
|
onValueChange?: any;
|
|
595
936
|
collapsible?: boolean | undefined;
|
|
@@ -630,13 +971,13 @@ declare const drawerContentPropsSchema: z.ZodObject<{
|
|
|
630
971
|
}, "strip", z.ZodTypeAny, {
|
|
631
972
|
blur: "md" | "sm" | "none";
|
|
632
973
|
showHandle: boolean;
|
|
633
|
-
children?: any;
|
|
634
974
|
className?: string | undefined;
|
|
975
|
+
children?: any;
|
|
635
976
|
direction?: "top" | "right" | "bottom" | "left" | undefined;
|
|
636
977
|
overlayClassName?: string | undefined;
|
|
637
978
|
}, {
|
|
638
|
-
children?: any;
|
|
639
979
|
className?: string | undefined;
|
|
980
|
+
children?: any;
|
|
640
981
|
direction?: "top" | "right" | "bottom" | "left" | undefined;
|
|
641
982
|
blur?: "md" | "sm" | "none" | undefined;
|
|
642
983
|
showHandle?: boolean | undefined;
|
|
@@ -647,46 +988,46 @@ declare const drawerTriggerPropsSchema: z.ZodObject<{
|
|
|
647
988
|
children: z.ZodAny;
|
|
648
989
|
className: z.ZodOptional<z.ZodString>;
|
|
649
990
|
}, "strip", z.ZodTypeAny, {
|
|
991
|
+
className?: string | undefined;
|
|
650
992
|
asChild?: boolean | undefined;
|
|
651
993
|
children?: any;
|
|
652
|
-
className?: string | undefined;
|
|
653
994
|
}, {
|
|
995
|
+
className?: string | undefined;
|
|
654
996
|
asChild?: boolean | undefined;
|
|
655
997
|
children?: any;
|
|
656
|
-
className?: string | undefined;
|
|
657
998
|
}>;
|
|
658
999
|
declare const drawerClosePropsSchema: z.ZodObject<{
|
|
659
1000
|
asChild: z.ZodOptional<z.ZodBoolean>;
|
|
660
1001
|
children: z.ZodAny;
|
|
661
1002
|
className: z.ZodOptional<z.ZodString>;
|
|
662
1003
|
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
className?: string | undefined;
|
|
663
1005
|
asChild?: boolean | undefined;
|
|
664
1006
|
children?: any;
|
|
665
|
-
className?: string | undefined;
|
|
666
1007
|
}, {
|
|
1008
|
+
className?: string | undefined;
|
|
667
1009
|
asChild?: boolean | undefined;
|
|
668
1010
|
children?: any;
|
|
669
|
-
className?: string | undefined;
|
|
670
1011
|
}>;
|
|
671
1012
|
declare const drawerTitlePropsSchema: z.ZodObject<{
|
|
672
1013
|
children: z.ZodAny;
|
|
673
1014
|
className: z.ZodOptional<z.ZodString>;
|
|
674
1015
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
children?: any;
|
|
676
1016
|
className?: string | undefined;
|
|
677
|
-
}, {
|
|
678
1017
|
children?: any;
|
|
1018
|
+
}, {
|
|
679
1019
|
className?: string | undefined;
|
|
1020
|
+
children?: any;
|
|
680
1021
|
}>;
|
|
681
1022
|
declare const drawerDescriptionPropsSchema: z.ZodObject<{
|
|
682
1023
|
children: z.ZodAny;
|
|
683
1024
|
className: z.ZodOptional<z.ZodString>;
|
|
684
1025
|
}, "strip", z.ZodTypeAny, {
|
|
685
|
-
children?: any;
|
|
686
1026
|
className?: string | undefined;
|
|
687
|
-
}, {
|
|
688
1027
|
children?: any;
|
|
1028
|
+
}, {
|
|
689
1029
|
className?: string | undefined;
|
|
1030
|
+
children?: any;
|
|
690
1031
|
}>;
|
|
691
1032
|
|
|
692
1033
|
declare const tabPropsSchema: z.ZodObject<{
|
|
@@ -697,14 +1038,14 @@ declare const tabPropsSchema: z.ZodObject<{
|
|
|
697
1038
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
698
1039
|
}, "strip", z.ZodTypeAny, {
|
|
699
1040
|
key: string;
|
|
1041
|
+
label?: any;
|
|
700
1042
|
disabled?: boolean | undefined;
|
|
701
1043
|
children?: any;
|
|
702
|
-
label?: any;
|
|
703
1044
|
}, {
|
|
704
1045
|
key: string;
|
|
1046
|
+
label?: any;
|
|
705
1047
|
disabled?: boolean | undefined;
|
|
706
1048
|
children?: any;
|
|
707
|
-
label?: any;
|
|
708
1049
|
}>, "many">;
|
|
709
1050
|
activeKey: z.ZodOptional<z.ZodString>;
|
|
710
1051
|
defaultActiveKey: z.ZodOptional<z.ZodString>;
|
|
@@ -716,14 +1057,14 @@ declare const tabPropsSchema: z.ZodObject<{
|
|
|
716
1057
|
tabListClassName: z.ZodOptional<z.ZodString>;
|
|
717
1058
|
tabPanelClassName: z.ZodOptional<z.ZodString>;
|
|
718
1059
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
variant: "line" | "pill";
|
|
720
|
-
size: "md" | "sm";
|
|
721
1060
|
items: {
|
|
722
1061
|
key: string;
|
|
1062
|
+
label?: any;
|
|
723
1063
|
disabled?: boolean | undefined;
|
|
724
1064
|
children?: any;
|
|
725
|
-
label?: any;
|
|
726
1065
|
}[];
|
|
1066
|
+
variant: "line" | "pill";
|
|
1067
|
+
size: "md" | "sm";
|
|
727
1068
|
destroyInactive: boolean;
|
|
728
1069
|
className?: string | undefined;
|
|
729
1070
|
activeKey?: string | undefined;
|
|
@@ -734,13 +1075,13 @@ declare const tabPropsSchema: z.ZodObject<{
|
|
|
734
1075
|
}, {
|
|
735
1076
|
items: {
|
|
736
1077
|
key: string;
|
|
1078
|
+
label?: any;
|
|
737
1079
|
disabled?: boolean | undefined;
|
|
738
1080
|
children?: any;
|
|
739
|
-
label?: any;
|
|
740
1081
|
}[];
|
|
1082
|
+
className?: string | undefined;
|
|
741
1083
|
variant?: "line" | "pill" | undefined;
|
|
742
1084
|
size?: "md" | "sm" | undefined;
|
|
743
|
-
className?: string | undefined;
|
|
744
1085
|
activeKey?: string | undefined;
|
|
745
1086
|
defaultActiveKey?: string | undefined;
|
|
746
1087
|
destroyInactive?: boolean | undefined;
|
|
@@ -756,14 +1097,14 @@ declare const carouselPropsSchema: z.ZodObject<{
|
|
|
756
1097
|
children: z.ZodOptional<z.ZodAny>;
|
|
757
1098
|
className: z.ZodOptional<z.ZodString>;
|
|
758
1099
|
}, "strip", z.ZodTypeAny, {
|
|
759
|
-
children?: any;
|
|
760
1100
|
className?: string | undefined;
|
|
1101
|
+
children?: any;
|
|
761
1102
|
opts?: Record<string, any> | undefined;
|
|
762
1103
|
plugins?: any[] | undefined;
|
|
763
1104
|
onApiChange?: any;
|
|
764
1105
|
}, {
|
|
765
|
-
children?: any;
|
|
766
1106
|
className?: string | undefined;
|
|
1107
|
+
children?: any;
|
|
767
1108
|
opts?: Record<string, any> | undefined;
|
|
768
1109
|
plugins?: any[] | undefined;
|
|
769
1110
|
onApiChange?: any;
|
|
@@ -772,21 +1113,21 @@ declare const carouselSlidePropsSchema: z.ZodObject<{
|
|
|
772
1113
|
className: z.ZodOptional<z.ZodString>;
|
|
773
1114
|
children: z.ZodAny;
|
|
774
1115
|
}, "strip", z.ZodTypeAny, {
|
|
775
|
-
children?: any;
|
|
776
1116
|
className?: string | undefined;
|
|
777
|
-
}, {
|
|
778
1117
|
children?: any;
|
|
1118
|
+
}, {
|
|
779
1119
|
className?: string | undefined;
|
|
1120
|
+
children?: any;
|
|
780
1121
|
}>;
|
|
781
1122
|
declare const carouselButtonPropsSchema: z.ZodObject<{
|
|
782
1123
|
className: z.ZodOptional<z.ZodString>;
|
|
783
1124
|
children: z.ZodOptional<z.ZodAny>;
|
|
784
1125
|
}, "strip", z.ZodTypeAny, {
|
|
785
|
-
children?: any;
|
|
786
1126
|
className?: string | undefined;
|
|
787
|
-
}, {
|
|
788
1127
|
children?: any;
|
|
1128
|
+
}, {
|
|
789
1129
|
className?: string | undefined;
|
|
1130
|
+
children?: any;
|
|
790
1131
|
}>;
|
|
791
1132
|
declare const carouselDotsPropsSchema: z.ZodObject<{
|
|
792
1133
|
className: z.ZodOptional<z.ZodString>;
|
|
@@ -815,8 +1156,8 @@ declare const paginationPropsSchema: z.ZodObject<{
|
|
|
815
1156
|
}, {
|
|
816
1157
|
currentPage: number;
|
|
817
1158
|
totalPages: number;
|
|
818
|
-
size?: "md" | "sm" | undefined;
|
|
819
1159
|
className?: string | undefined;
|
|
1160
|
+
size?: "md" | "sm" | undefined;
|
|
820
1161
|
siblingCount?: number | undefined;
|
|
821
1162
|
showEdges?: boolean | undefined;
|
|
822
1163
|
onPageChange?: any;
|
|
@@ -834,16 +1175,16 @@ declare const avatarPropsSchema: z.ZodObject<{
|
|
|
834
1175
|
}, "strip", z.ZodTypeAny, {
|
|
835
1176
|
size: "xl" | "lg" | "md" | "sm" | "xs";
|
|
836
1177
|
shape: "circle" | "square";
|
|
837
|
-
children?: any;
|
|
838
1178
|
className?: string | undefined;
|
|
1179
|
+
children?: any;
|
|
839
1180
|
src?: string | undefined;
|
|
840
1181
|
alt?: string | undefined;
|
|
841
1182
|
fallback?: any;
|
|
842
1183
|
onImageError?: any;
|
|
843
1184
|
}, {
|
|
1185
|
+
className?: string | undefined;
|
|
844
1186
|
size?: "xl" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
845
1187
|
children?: any;
|
|
846
|
-
className?: string | undefined;
|
|
847
1188
|
shape?: "circle" | "square" | undefined;
|
|
848
1189
|
src?: string | undefined;
|
|
849
1190
|
alt?: string | undefined;
|
|
@@ -863,24 +1204,24 @@ declare const counterPropsSchema: z.ZodObject<{
|
|
|
863
1204
|
style: z.ZodOptional<z.ZodAny>;
|
|
864
1205
|
className: z.ZodOptional<z.ZodString>;
|
|
865
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1207
|
+
separator: boolean;
|
|
866
1208
|
endValue: number;
|
|
867
1209
|
startValue: number;
|
|
868
1210
|
duration: number;
|
|
869
1211
|
delay: number;
|
|
870
|
-
separator: boolean;
|
|
871
1212
|
digits: number;
|
|
872
1213
|
triggerOnView: boolean;
|
|
873
|
-
style?: any;
|
|
874
1214
|
className?: string | undefined;
|
|
1215
|
+
style?: any;
|
|
875
1216
|
onEnd?: any;
|
|
876
1217
|
}, {
|
|
877
1218
|
endValue: number;
|
|
878
|
-
|
|
1219
|
+
separator?: boolean | undefined;
|
|
879
1220
|
className?: string | undefined;
|
|
1221
|
+
style?: any;
|
|
880
1222
|
startValue?: number | undefined;
|
|
881
1223
|
duration?: number | undefined;
|
|
882
1224
|
delay?: number | undefined;
|
|
883
|
-
separator?: boolean | undefined;
|
|
884
1225
|
digits?: number | undefined;
|
|
885
1226
|
triggerOnView?: boolean | undefined;
|
|
886
1227
|
onEnd?: any;
|
|
@@ -912,8 +1253,8 @@ declare const countdownPropsSchema: z.ZodObject<{
|
|
|
912
1253
|
}, "strip", z.ZodTypeAny, {
|
|
913
1254
|
endTimestamp: number;
|
|
914
1255
|
showDays: boolean;
|
|
915
|
-
className?: string | undefined;
|
|
916
1256
|
separator?: any;
|
|
1257
|
+
className?: string | undefined;
|
|
917
1258
|
onEnd?: any;
|
|
918
1259
|
labels?: {
|
|
919
1260
|
days?: string | undefined;
|
|
@@ -924,8 +1265,8 @@ declare const countdownPropsSchema: z.ZodObject<{
|
|
|
924
1265
|
render?: any;
|
|
925
1266
|
}, {
|
|
926
1267
|
endTimestamp: number;
|
|
927
|
-
className?: string | undefined;
|
|
928
1268
|
separator?: any;
|
|
1269
|
+
className?: string | undefined;
|
|
929
1270
|
onEnd?: any;
|
|
930
1271
|
showDays?: boolean | undefined;
|
|
931
1272
|
labels?: {
|
|
@@ -950,13 +1291,13 @@ declare const marqueePropsSchema: z.ZodObject<{
|
|
|
950
1291
|
speed: number;
|
|
951
1292
|
pauseOnHover: boolean;
|
|
952
1293
|
gap: number;
|
|
1294
|
+
className?: string | undefined;
|
|
953
1295
|
children?: any;
|
|
954
1296
|
style?: any;
|
|
955
|
-
className?: string | undefined;
|
|
956
1297
|
}, {
|
|
1298
|
+
className?: string | undefined;
|
|
957
1299
|
children?: any;
|
|
958
1300
|
style?: any;
|
|
959
|
-
className?: string | undefined;
|
|
960
1301
|
direction?: "right" | "left" | "up" | "down" | undefined;
|
|
961
1302
|
speed?: number | undefined;
|
|
962
1303
|
pauseOnHover?: boolean | undefined;
|
|
@@ -978,15 +1319,15 @@ declare const virtualListPropsSchema: z.ZodObject<{
|
|
|
978
1319
|
gap: number;
|
|
979
1320
|
overscan: number;
|
|
980
1321
|
endReachedThreshold: number;
|
|
981
|
-
style?: any;
|
|
982
1322
|
className?: string | undefined;
|
|
1323
|
+
style?: any;
|
|
983
1324
|
estimateSize?: any;
|
|
984
1325
|
renderItem?: any;
|
|
985
1326
|
onEndReached?: any;
|
|
986
1327
|
}, {
|
|
987
1328
|
items: any[];
|
|
988
|
-
style?: any;
|
|
989
1329
|
className?: string | undefined;
|
|
1330
|
+
style?: any;
|
|
990
1331
|
gap?: number | undefined;
|
|
991
1332
|
estimateSize?: any;
|
|
992
1333
|
renderItem?: any;
|
|
@@ -1011,16 +1352,16 @@ declare const virtualGridPropsSchema: z.ZodObject<{
|
|
|
1011
1352
|
overscan: number;
|
|
1012
1353
|
endReachedThreshold: number;
|
|
1013
1354
|
columns: number;
|
|
1014
|
-
style?: any;
|
|
1015
1355
|
className?: string | undefined;
|
|
1356
|
+
style?: any;
|
|
1016
1357
|
estimateSize?: any;
|
|
1017
1358
|
renderItem?: any;
|
|
1018
1359
|
onEndReached?: any;
|
|
1019
1360
|
}, {
|
|
1020
1361
|
items: any[];
|
|
1021
1362
|
columns: number;
|
|
1022
|
-
style?: any;
|
|
1023
1363
|
className?: string | undefined;
|
|
1364
|
+
style?: any;
|
|
1024
1365
|
gap?: number | undefined;
|
|
1025
1366
|
estimateSize?: any;
|
|
1026
1367
|
renderItem?: any;
|
|
@@ -1045,8 +1386,8 @@ declare const infiniteScrollPropsSchema: z.ZodObject<{
|
|
|
1045
1386
|
list: any[] | null;
|
|
1046
1387
|
tag: string;
|
|
1047
1388
|
rootMargin: number;
|
|
1048
|
-
children?: any;
|
|
1049
1389
|
className?: string | undefined;
|
|
1390
|
+
children?: any;
|
|
1050
1391
|
totalCount?: number | undefined;
|
|
1051
1392
|
hasMore?: boolean | undefined;
|
|
1052
1393
|
loading?: boolean | undefined;
|
|
@@ -1055,8 +1396,8 @@ declare const infiniteScrollPropsSchema: z.ZodObject<{
|
|
|
1055
1396
|
scrollTarget?: any;
|
|
1056
1397
|
}, {
|
|
1057
1398
|
list: any[] | null;
|
|
1058
|
-
children?: any;
|
|
1059
1399
|
className?: string | undefined;
|
|
1400
|
+
children?: any;
|
|
1060
1401
|
totalCount?: number | undefined;
|
|
1061
1402
|
hasMore?: boolean | undefined;
|
|
1062
1403
|
tag?: string | undefined;
|
|
@@ -1096,14 +1437,44 @@ declare const ellipsisPropsSchema: z.ZodObject<{
|
|
|
1096
1437
|
onShowMoreLessClick?: any;
|
|
1097
1438
|
}>;
|
|
1098
1439
|
|
|
1440
|
+
declare const emptyStatePropsSchema: z.ZodObject<{
|
|
1441
|
+
icon: z.ZodOptional<z.ZodAny>;
|
|
1442
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
action: z.ZodOptional<z.ZodAny>;
|
|
1445
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
1446
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
1447
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
}, "strip", z.ZodTypeAny, {
|
|
1449
|
+
size: "lg" | "md" | "sm";
|
|
1450
|
+
className?: string | undefined;
|
|
1451
|
+
children?: any;
|
|
1452
|
+
description?: string | undefined;
|
|
1453
|
+
icon?: any;
|
|
1454
|
+
title?: string | undefined;
|
|
1455
|
+
action?: any;
|
|
1456
|
+
}, {
|
|
1457
|
+
className?: string | undefined;
|
|
1458
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
1459
|
+
children?: any;
|
|
1460
|
+
description?: string | undefined;
|
|
1461
|
+
icon?: any;
|
|
1462
|
+
title?: string | undefined;
|
|
1463
|
+
action?: any;
|
|
1464
|
+
}>;
|
|
1465
|
+
|
|
1099
1466
|
declare const numberInputPropsSchema: z.ZodObject<{
|
|
1467
|
+
variant: z.ZodDefault<z.ZodEnum<["basic", "bind"]>>;
|
|
1100
1468
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1101
|
-
size: z.ZodDefault<z.ZodEnum<["
|
|
1469
|
+
size: z.ZodDefault<z.ZodEnum<["lg", "xl"]>>;
|
|
1102
1470
|
error: z.ZodOptional<z.ZodBoolean>;
|
|
1103
1471
|
min: z.ZodOptional<z.ZodNumber>;
|
|
1104
1472
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1105
1473
|
step: z.ZodDefault<z.ZodNumber>;
|
|
1106
1474
|
digit: z.ZodDefault<z.ZodNumber>;
|
|
1475
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
showMax: z.ZodOptional<z.ZodBoolean>;
|
|
1107
1478
|
hideButtons: z.ZodDefault<z.ZodBoolean>;
|
|
1108
1479
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1109
1480
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1116,14 +1487,17 @@ declare const numberInputPropsSchema: z.ZodObject<{
|
|
|
1116
1487
|
onFocus: z.ZodOptional<z.ZodAny>;
|
|
1117
1488
|
className: z.ZodOptional<z.ZodString>;
|
|
1118
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1119
|
-
|
|
1490
|
+
variant: "basic" | "bind";
|
|
1491
|
+
size: "xl" | "lg";
|
|
1120
1492
|
step: number;
|
|
1121
1493
|
digit: number;
|
|
1122
1494
|
hideButtons: boolean;
|
|
1123
|
-
|
|
1124
|
-
className?: string | undefined;
|
|
1495
|
+
label?: string | undefined;
|
|
1125
1496
|
value?: string | number | undefined;
|
|
1497
|
+
className?: string | undefined;
|
|
1498
|
+
disabled?: boolean | undefined;
|
|
1126
1499
|
error?: boolean | undefined;
|
|
1500
|
+
description?: string | undefined;
|
|
1127
1501
|
placeholder?: string | undefined;
|
|
1128
1502
|
readOnly?: boolean | undefined;
|
|
1129
1503
|
name?: string | undefined;
|
|
@@ -1134,12 +1508,16 @@ declare const numberInputPropsSchema: z.ZodObject<{
|
|
|
1134
1508
|
onFocus?: any;
|
|
1135
1509
|
min?: number | undefined;
|
|
1136
1510
|
max?: number | undefined;
|
|
1511
|
+
showMax?: boolean | undefined;
|
|
1137
1512
|
}, {
|
|
1138
|
-
|
|
1139
|
-
disabled?: boolean | undefined;
|
|
1140
|
-
className?: string | undefined;
|
|
1513
|
+
label?: string | undefined;
|
|
1141
1514
|
value?: string | number | undefined;
|
|
1515
|
+
className?: string | undefined;
|
|
1516
|
+
variant?: "basic" | "bind" | undefined;
|
|
1517
|
+
size?: "xl" | "lg" | undefined;
|
|
1518
|
+
disabled?: boolean | undefined;
|
|
1142
1519
|
error?: boolean | undefined;
|
|
1520
|
+
description?: string | undefined;
|
|
1143
1521
|
placeholder?: string | undefined;
|
|
1144
1522
|
readOnly?: boolean | undefined;
|
|
1145
1523
|
name?: string | undefined;
|
|
@@ -1152,6 +1530,7 @@ declare const numberInputPropsSchema: z.ZodObject<{
|
|
|
1152
1530
|
max?: number | undefined;
|
|
1153
1531
|
step?: number | undefined;
|
|
1154
1532
|
digit?: number | undefined;
|
|
1533
|
+
showMax?: boolean | undefined;
|
|
1155
1534
|
hideButtons?: boolean | undefined;
|
|
1156
1535
|
}>;
|
|
1157
1536
|
|
|
@@ -1176,15 +1555,15 @@ declare const priceInputPropsSchema: z.ZodObject<{
|
|
|
1176
1555
|
onBalanceClick: z.ZodOptional<z.ZodAny>;
|
|
1177
1556
|
className: z.ZodOptional<z.ZodString>;
|
|
1178
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1558
|
+
separator: boolean;
|
|
1179
1559
|
size: "xl" | "lg" | "md";
|
|
1180
1560
|
align: "right" | "left";
|
|
1181
|
-
separator: boolean;
|
|
1182
1561
|
balanceLabel: string;
|
|
1183
|
-
|
|
1184
|
-
className?: string | undefined;
|
|
1562
|
+
label?: any;
|
|
1185
1563
|
value?: any;
|
|
1564
|
+
className?: string | undefined;
|
|
1565
|
+
disabled?: boolean | undefined;
|
|
1186
1566
|
error?: boolean | undefined;
|
|
1187
|
-
label?: any;
|
|
1188
1567
|
description?: any;
|
|
1189
1568
|
placeholder?: string | undefined;
|
|
1190
1569
|
id?: string | undefined;
|
|
@@ -1196,18 +1575,18 @@ declare const priceInputPropsSchema: z.ZodObject<{
|
|
|
1196
1575
|
maxBalance?: number | undefined;
|
|
1197
1576
|
onBalanceClick?: any;
|
|
1198
1577
|
}, {
|
|
1578
|
+
label?: any;
|
|
1579
|
+
value?: any;
|
|
1580
|
+
separator?: boolean | undefined;
|
|
1581
|
+
className?: string | undefined;
|
|
1199
1582
|
size?: "xl" | "lg" | "md" | undefined;
|
|
1200
1583
|
disabled?: boolean | undefined;
|
|
1201
|
-
className?: string | undefined;
|
|
1202
|
-
value?: any;
|
|
1203
1584
|
error?: boolean | undefined;
|
|
1204
|
-
label?: any;
|
|
1205
1585
|
description?: any;
|
|
1206
1586
|
placeholder?: string | undefined;
|
|
1207
1587
|
id?: string | undefined;
|
|
1208
1588
|
onValueChange?: any;
|
|
1209
1589
|
align?: "right" | "left" | undefined;
|
|
1210
|
-
separator?: boolean | undefined;
|
|
1211
1590
|
prefix?: any;
|
|
1212
1591
|
suffix?: any;
|
|
1213
1592
|
balance?: string | number | undefined;
|
|
@@ -1231,16 +1610,16 @@ declare const dataListPropsSchema: z.ZodObject<{
|
|
|
1231
1610
|
list: any[] | null;
|
|
1232
1611
|
loading: boolean;
|
|
1233
1612
|
skeletonCount: number;
|
|
1234
|
-
children?: any;
|
|
1235
1613
|
className?: string | undefined;
|
|
1614
|
+
children?: any;
|
|
1236
1615
|
loadingElement?: any;
|
|
1237
1616
|
noDataMessage?: any;
|
|
1238
1617
|
errorFallback?: any;
|
|
1239
1618
|
skeletonElement?: any;
|
|
1240
1619
|
}, {
|
|
1241
1620
|
list: any[] | null;
|
|
1242
|
-
children?: any;
|
|
1243
1621
|
className?: string | undefined;
|
|
1622
|
+
children?: any;
|
|
1244
1623
|
loading?: boolean | undefined;
|
|
1245
1624
|
loadingElement?: any;
|
|
1246
1625
|
noDataMessage?: any;
|
|
@@ -1297,8 +1676,8 @@ declare const modalTemplatePropsSchema: z.ZodObject<{
|
|
|
1297
1676
|
hideHeader: boolean;
|
|
1298
1677
|
hideFooter: boolean;
|
|
1299
1678
|
enableDrag: boolean;
|
|
1300
|
-
children?: any;
|
|
1301
1679
|
className?: string | undefined;
|
|
1680
|
+
children?: any;
|
|
1302
1681
|
title?: any;
|
|
1303
1682
|
desc?: any;
|
|
1304
1683
|
footer?: any;
|
|
@@ -1318,8 +1697,8 @@ declare const modalTemplatePropsSchema: z.ZodObject<{
|
|
|
1318
1697
|
dimClassName?: string | undefined;
|
|
1319
1698
|
headerClassName?: string | undefined;
|
|
1320
1699
|
}, {
|
|
1321
|
-
children?: any;
|
|
1322
1700
|
className?: string | undefined;
|
|
1701
|
+
children?: any;
|
|
1323
1702
|
title?: any;
|
|
1324
1703
|
desc?: any;
|
|
1325
1704
|
layout?: "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | "draggable" | undefined;
|
|
@@ -1502,8 +1881,8 @@ declare const tablePropsSchema: z.ZodObject<{
|
|
|
1502
1881
|
list: any[] | null;
|
|
1503
1882
|
skeletonCount: number;
|
|
1504
1883
|
loadingType: "loading" | "skeleton";
|
|
1505
|
-
children?: any;
|
|
1506
1884
|
className?: string | undefined;
|
|
1885
|
+
children?: any;
|
|
1507
1886
|
loading?: boolean | undefined;
|
|
1508
1887
|
loadingElement?: any;
|
|
1509
1888
|
hideThead?: boolean | undefined;
|
|
@@ -1514,8 +1893,8 @@ declare const tablePropsSchema: z.ZodObject<{
|
|
|
1514
1893
|
theadClassName?: string | undefined;
|
|
1515
1894
|
}, {
|
|
1516
1895
|
list: any[] | null;
|
|
1517
|
-
children?: any;
|
|
1518
1896
|
className?: string | undefined;
|
|
1897
|
+
children?: any;
|
|
1519
1898
|
loading?: boolean | undefined;
|
|
1520
1899
|
loadingElement?: any;
|
|
1521
1900
|
skeletonCount?: number | undefined;
|
|
@@ -1534,14 +1913,14 @@ declare const tableRowPropsSchema: z.ZodObject<{
|
|
|
1534
1913
|
onClick: z.ZodOptional<z.ZodAny>;
|
|
1535
1914
|
}, "strip", z.ZodTypeAny, {
|
|
1536
1915
|
variant: "default" | "accent";
|
|
1537
|
-
children?: any;
|
|
1538
1916
|
onClick?: any;
|
|
1539
1917
|
className?: string | undefined;
|
|
1540
|
-
}, {
|
|
1541
|
-
variant?: "default" | "accent" | undefined;
|
|
1542
1918
|
children?: any;
|
|
1919
|
+
}, {
|
|
1543
1920
|
onClick?: any;
|
|
1544
1921
|
className?: string | undefined;
|
|
1922
|
+
variant?: "default" | "accent" | undefined;
|
|
1923
|
+
children?: any;
|
|
1545
1924
|
}>;
|
|
1546
1925
|
declare const tdColumnPropsSchema: z.ZodObject<{
|
|
1547
1926
|
label: z.ZodOptional<z.ZodAny>;
|
|
@@ -1561,13 +1940,13 @@ declare const tdColumnPropsSchema: z.ZodObject<{
|
|
|
1561
1940
|
children: z.ZodAny;
|
|
1562
1941
|
className: z.ZodOptional<z.ZodString>;
|
|
1563
1942
|
}, "strip", z.ZodTypeAny, {
|
|
1564
|
-
align: "
|
|
1943
|
+
align: "center" | "right" | "left";
|
|
1565
1944
|
fieldId: string | null;
|
|
1566
1945
|
textOverflow: "auto" | "truncate" | "wrap" | "break-all";
|
|
1946
|
+
label?: any;
|
|
1947
|
+
className?: string | undefined;
|
|
1567
1948
|
size?: string | number | undefined;
|
|
1568
1949
|
children?: any;
|
|
1569
|
-
className?: string | undefined;
|
|
1570
|
-
label?: any;
|
|
1571
1950
|
highlightKey?: string | null | undefined;
|
|
1572
1951
|
colSpan?: number | undefined;
|
|
1573
1952
|
rowSpan?: number | undefined;
|
|
@@ -1579,11 +1958,11 @@ declare const tdColumnPropsSchema: z.ZodObject<{
|
|
|
1579
1958
|
handleClickSort?: any;
|
|
1580
1959
|
}, {
|
|
1581
1960
|
fieldId: string | null;
|
|
1961
|
+
label?: any;
|
|
1962
|
+
className?: string | undefined;
|
|
1582
1963
|
size?: string | number | undefined;
|
|
1583
1964
|
children?: any;
|
|
1584
|
-
|
|
1585
|
-
label?: any;
|
|
1586
|
-
align?: "right" | "left" | "center" | undefined;
|
|
1965
|
+
align?: "center" | "right" | "left" | undefined;
|
|
1587
1966
|
textOverflow?: "auto" | "truncate" | "wrap" | "break-all" | undefined;
|
|
1588
1967
|
highlightKey?: string | null | undefined;
|
|
1589
1968
|
colSpan?: number | undefined;
|
|
@@ -1614,14 +1993,14 @@ declare const toastOptionsSchema: z.ZodObject<{
|
|
|
1614
1993
|
unstyled: z.ZodOptional<z.ZodBoolean>;
|
|
1615
1994
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1616
1995
|
}, "strip", z.ZodTypeAny, {
|
|
1617
|
-
style?: any;
|
|
1618
1996
|
className?: string | undefined;
|
|
1997
|
+
style?: any;
|
|
1619
1998
|
description?: any;
|
|
1620
1999
|
id?: string | number | undefined;
|
|
1621
|
-
dismissible?: boolean | undefined;
|
|
1622
|
-
duration?: number | undefined;
|
|
1623
2000
|
icon?: any;
|
|
1624
2001
|
action?: any;
|
|
2002
|
+
dismissible?: boolean | undefined;
|
|
2003
|
+
duration?: number | undefined;
|
|
1625
2004
|
cancel?: any;
|
|
1626
2005
|
closeButton?: boolean | undefined;
|
|
1627
2006
|
richColors?: boolean | undefined;
|
|
@@ -1631,14 +2010,14 @@ declare const toastOptionsSchema: z.ZodObject<{
|
|
|
1631
2010
|
onAutoClose?: any;
|
|
1632
2011
|
unstyled?: boolean | undefined;
|
|
1633
2012
|
}, {
|
|
1634
|
-
style?: any;
|
|
1635
2013
|
className?: string | undefined;
|
|
2014
|
+
style?: any;
|
|
1636
2015
|
description?: any;
|
|
1637
2016
|
id?: string | number | undefined;
|
|
1638
|
-
dismissible?: boolean | undefined;
|
|
1639
|
-
duration?: number | undefined;
|
|
1640
2017
|
icon?: any;
|
|
1641
2018
|
action?: any;
|
|
2019
|
+
dismissible?: boolean | undefined;
|
|
2020
|
+
duration?: number | undefined;
|
|
1642
2021
|
cancel?: any;
|
|
1643
2022
|
closeButton?: boolean | undefined;
|
|
1644
2023
|
richColors?: boolean | undefined;
|
|
@@ -1663,6 +2042,7 @@ declare const toasterPropsSchema: z.ZodObject<{
|
|
|
1663
2042
|
}, "strip", z.ZodTypeAny, {
|
|
1664
2043
|
position: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
1665
2044
|
unstyled: boolean;
|
|
2045
|
+
offset?: any;
|
|
1666
2046
|
duration?: number | undefined;
|
|
1667
2047
|
gap?: number | undefined;
|
|
1668
2048
|
closeButton?: boolean | undefined;
|
|
@@ -1670,9 +2050,9 @@ declare const toasterPropsSchema: z.ZodObject<{
|
|
|
1670
2050
|
theme?: "dark" | "light" | "system" | undefined;
|
|
1671
2051
|
expand?: boolean | undefined;
|
|
1672
2052
|
visibleToasts?: number | undefined;
|
|
1673
|
-
offset?: any;
|
|
1674
2053
|
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
1675
2054
|
}, {
|
|
2055
|
+
offset?: any;
|
|
1676
2056
|
duration?: number | undefined;
|
|
1677
2057
|
gap?: number | undefined;
|
|
1678
2058
|
closeButton?: boolean | undefined;
|
|
@@ -1682,8 +2062,112 @@ declare const toasterPropsSchema: z.ZodObject<{
|
|
|
1682
2062
|
theme?: "dark" | "light" | "system" | undefined;
|
|
1683
2063
|
expand?: boolean | undefined;
|
|
1684
2064
|
visibleToasts?: number | undefined;
|
|
1685
|
-
offset?: any;
|
|
1686
2065
|
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
1687
2066
|
}>;
|
|
1688
2067
|
|
|
1689
|
-
|
|
2068
|
+
declare const tagInputPropsSchema: z.ZodObject<{
|
|
2069
|
+
value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2070
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2071
|
+
onChange: z.ZodOptional<z.ZodAny>;
|
|
2072
|
+
placeholder: z.ZodDefault<z.ZodString>;
|
|
2073
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2074
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
2075
|
+
allowDuplicates: z.ZodDefault<z.ZodBoolean>;
|
|
2076
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2078
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
2079
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2080
|
+
}, "strip", z.ZodTypeAny, {
|
|
2081
|
+
size: "lg" | "md" | "sm";
|
|
2082
|
+
placeholder: string;
|
|
2083
|
+
allowDuplicates: boolean;
|
|
2084
|
+
label?: string | undefined;
|
|
2085
|
+
value?: string[] | undefined;
|
|
2086
|
+
className?: string | undefined;
|
|
2087
|
+
disabled?: boolean | undefined;
|
|
2088
|
+
description?: string | undefined;
|
|
2089
|
+
defaultValue?: string[] | undefined;
|
|
2090
|
+
onChange?: any;
|
|
2091
|
+
max?: number | undefined;
|
|
2092
|
+
}, {
|
|
2093
|
+
label?: string | undefined;
|
|
2094
|
+
value?: string[] | undefined;
|
|
2095
|
+
className?: string | undefined;
|
|
2096
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
2097
|
+
disabled?: boolean | undefined;
|
|
2098
|
+
description?: string | undefined;
|
|
2099
|
+
placeholder?: string | undefined;
|
|
2100
|
+
defaultValue?: string[] | undefined;
|
|
2101
|
+
onChange?: any;
|
|
2102
|
+
max?: number | undefined;
|
|
2103
|
+
allowDuplicates?: boolean | undefined;
|
|
2104
|
+
}>;
|
|
2105
|
+
|
|
2106
|
+
declare const nxImagePropsSchema: z.ZodObject<{
|
|
2107
|
+
src: z.ZodOptional<z.ZodString>;
|
|
2108
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
2109
|
+
fallback: z.ZodOptional<z.ZodAny>;
|
|
2110
|
+
fallbackSrc: z.ZodOptional<z.ZodString>;
|
|
2111
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
2112
|
+
objectFit: z.ZodDefault<z.ZodEnum<["cover", "contain", "fill", "none"]>>;
|
|
2113
|
+
lazy: z.ZodDefault<z.ZodBoolean>;
|
|
2114
|
+
wrapperClassName: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2116
|
+
}, "strip", z.ZodTypeAny, {
|
|
2117
|
+
objectFit: "fill" | "none" | "cover" | "contain";
|
|
2118
|
+
lazy: boolean;
|
|
2119
|
+
className?: string | undefined;
|
|
2120
|
+
src?: string | undefined;
|
|
2121
|
+
alt?: string | undefined;
|
|
2122
|
+
fallback?: any;
|
|
2123
|
+
fallbackSrc?: string | undefined;
|
|
2124
|
+
aspectRatio?: string | undefined;
|
|
2125
|
+
wrapperClassName?: string | undefined;
|
|
2126
|
+
}, {
|
|
2127
|
+
className?: string | undefined;
|
|
2128
|
+
src?: string | undefined;
|
|
2129
|
+
alt?: string | undefined;
|
|
2130
|
+
fallback?: any;
|
|
2131
|
+
fallbackSrc?: string | undefined;
|
|
2132
|
+
aspectRatio?: string | undefined;
|
|
2133
|
+
objectFit?: "fill" | "none" | "cover" | "contain" | undefined;
|
|
2134
|
+
lazy?: boolean | undefined;
|
|
2135
|
+
wrapperClassName?: string | undefined;
|
|
2136
|
+
}>;
|
|
2137
|
+
|
|
2138
|
+
declare const datePickerPropsSchema: z.ZodObject<{
|
|
2139
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
2140
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
2141
|
+
onChange: z.ZodOptional<z.ZodAny>;
|
|
2142
|
+
placeholder: z.ZodDefault<z.ZodString>;
|
|
2143
|
+
disabled: z.ZodDefault<z.ZodBoolean>;
|
|
2144
|
+
minDate: z.ZodOptional<z.ZodAny>;
|
|
2145
|
+
maxDate: z.ZodOptional<z.ZodAny>;
|
|
2146
|
+
locale: z.ZodDefault<z.ZodEnum<["ko", "en"]>>;
|
|
2147
|
+
formatStr: z.ZodDefault<z.ZodString>;
|
|
2148
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2149
|
+
}, "strip", z.ZodTypeAny, {
|
|
2150
|
+
disabled: boolean;
|
|
2151
|
+
placeholder: string;
|
|
2152
|
+
locale: "ko" | "en";
|
|
2153
|
+
formatStr: string;
|
|
2154
|
+
value?: any;
|
|
2155
|
+
className?: string | undefined;
|
|
2156
|
+
defaultValue?: any;
|
|
2157
|
+
onChange?: any;
|
|
2158
|
+
minDate?: any;
|
|
2159
|
+
maxDate?: any;
|
|
2160
|
+
}, {
|
|
2161
|
+
value?: any;
|
|
2162
|
+
className?: string | undefined;
|
|
2163
|
+
disabled?: boolean | undefined;
|
|
2164
|
+
placeholder?: string | undefined;
|
|
2165
|
+
defaultValue?: any;
|
|
2166
|
+
onChange?: any;
|
|
2167
|
+
minDate?: any;
|
|
2168
|
+
maxDate?: any;
|
|
2169
|
+
locale?: "ko" | "en" | undefined;
|
|
2170
|
+
formatStr?: string | undefined;
|
|
2171
|
+
}>;
|
|
2172
|
+
|
|
2173
|
+
export { accordionPropsSchema, alertPropsSchema, avatarPropsSchema, badgePropsSchema, breadcrumbPropsSchema, buttonPropsSchema, carouselButtonPropsSchema, carouselDotsPropsSchema, carouselPropsSchema, carouselSlidePropsSchema, checkBoxPropsSchema, chipPropsSchema, clientOnlyPropsSchema, countdownPropsSchema, counterPropsSchema, dataListPropsSchema, datePickerPropsSchema, dividerPropsSchema, drawerClosePropsSchema, drawerContentPropsSchema, drawerDescriptionPropsSchema, drawerPropsSchema, drawerTitlePropsSchema, drawerTriggerPropsSchema, dropdownMenuPropsSchema, ellipsisPropsSchema, emptyStatePropsSchema, errorBoundaryPropsSchema, infiniteScrollPropsSchema, marqueePropsSchema, modalCallSchema, modalTemplatePropsSchema, numberInputPropsSchema, nxImagePropsSchema, paginationPropsSchema, popoverPropsSchema, priceInputPropsSchema, progressPropsSchema, radioGroupPropsSchema, radioItemPropsSchema, selectItemPropsSchema, selectPropsSchema, skeletonPropsSchema, sliderPropsSchema, spinnerPropsSchema, stepperPropsSchema, switchPropsSchema, tabPropsSchema, tablePropsSchema, tableRowPropsSchema, tagInputPropsSchema, tdColumnPropsSchema, textAreaPropsSchema, textInputPropsSchema, themeProviderPropsSchema, toastOptionsSchema, toasterPropsSchema, toggleGroupPropsSchema, tooltipPropsSchema, virtualGridPropsSchema, virtualListPropsSchema };
|