@dito-uai/components 5.1.0-alpha.13 → 5.1.0-alpha.16
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/index.cjs +14 -14
- package/dist/index.d.cts +1149 -56
- package/dist/index.d.ts +1149 -56
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/ui/alert.d.ts +1 -1
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts +2 -0
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/collapsible.d.ts +5 -0
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/form-item.d.ts +2 -2
- package/dist/ui/form-item.d.ts.map +1 -1
- package/dist/ui/indicator.d.ts +54 -0
- package/dist/ui/indicator.d.ts.map +1 -1
- package/dist/ui/input.d.ts +3 -3
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/progress-bar.d.ts +1 -1
- package/dist/ui/progress-bar.d.ts.map +1 -1
- package/dist/ui/progress.d.ts +4 -4
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio.d.ts +4 -4
- package/dist/ui/radio.d.ts.map +1 -1
- package/dist/ui/scope.d.ts +2 -2
- package/dist/ui/scope.d.ts.map +1 -1
- package/dist/ui/sheets.d.ts +2 -2
- package/dist/ui/sheets.d.ts.map +1 -1
- package/dist/ui/status.d.ts +3 -3
- package/dist/ui/status.d.ts.map +1 -1
- package/dist/ui/tabs.d.ts +4 -5
- package/dist/ui/tabs.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,118 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
|
8
8
|
import { VariantProps as VariantProps$1 } from 'class-variance-authority';
|
|
9
9
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
10
10
|
import * as _radix_ui_react_checkbox from '@radix-ui/react-checkbox';
|
|
11
|
+
import { Root } from '@radix-ui/react-checkbox';
|
|
11
12
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
12
13
|
|
|
14
|
+
declare const avatarVariants: tailwind_variants.TVReturnType<{
|
|
15
|
+
color: {
|
|
16
|
+
default: string;
|
|
17
|
+
indigo: string;
|
|
18
|
+
};
|
|
19
|
+
type: {
|
|
20
|
+
icon: string;
|
|
21
|
+
capitals: string;
|
|
22
|
+
image: string;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
small: string;
|
|
26
|
+
medium: string;
|
|
27
|
+
large: string;
|
|
28
|
+
};
|
|
29
|
+
}, undefined, "flex items-center justify-center rounded-full", tailwind_variants_dist_config_js.TVConfig<{
|
|
30
|
+
color: {
|
|
31
|
+
default: string;
|
|
32
|
+
indigo: string;
|
|
33
|
+
};
|
|
34
|
+
type: {
|
|
35
|
+
icon: string;
|
|
36
|
+
capitals: string;
|
|
37
|
+
image: string;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
small: string;
|
|
41
|
+
medium: string;
|
|
42
|
+
large: string;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
color: {
|
|
46
|
+
default: string;
|
|
47
|
+
indigo: string;
|
|
48
|
+
};
|
|
49
|
+
type: {
|
|
50
|
+
icon: string;
|
|
51
|
+
capitals: string;
|
|
52
|
+
image: string;
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
small: string;
|
|
56
|
+
medium: string;
|
|
57
|
+
large: string;
|
|
58
|
+
};
|
|
59
|
+
}>, {
|
|
60
|
+
color: {
|
|
61
|
+
default: string;
|
|
62
|
+
indigo: string;
|
|
63
|
+
};
|
|
64
|
+
type: {
|
|
65
|
+
icon: string;
|
|
66
|
+
capitals: string;
|
|
67
|
+
image: string;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
small: string;
|
|
71
|
+
medium: string;
|
|
72
|
+
large: string;
|
|
73
|
+
};
|
|
74
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
75
|
+
color: {
|
|
76
|
+
default: string;
|
|
77
|
+
indigo: string;
|
|
78
|
+
};
|
|
79
|
+
type: {
|
|
80
|
+
icon: string;
|
|
81
|
+
capitals: string;
|
|
82
|
+
image: string;
|
|
83
|
+
};
|
|
84
|
+
size: {
|
|
85
|
+
small: string;
|
|
86
|
+
medium: string;
|
|
87
|
+
large: string;
|
|
88
|
+
};
|
|
89
|
+
}, undefined, "flex items-center justify-center rounded-full", tailwind_variants_dist_config_js.TVConfig<{
|
|
90
|
+
color: {
|
|
91
|
+
default: string;
|
|
92
|
+
indigo: string;
|
|
93
|
+
};
|
|
94
|
+
type: {
|
|
95
|
+
icon: string;
|
|
96
|
+
capitals: string;
|
|
97
|
+
image: string;
|
|
98
|
+
};
|
|
99
|
+
size: {
|
|
100
|
+
small: string;
|
|
101
|
+
medium: string;
|
|
102
|
+
large: string;
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
color: {
|
|
106
|
+
default: string;
|
|
107
|
+
indigo: string;
|
|
108
|
+
};
|
|
109
|
+
type: {
|
|
110
|
+
icon: string;
|
|
111
|
+
capitals: string;
|
|
112
|
+
image: string;
|
|
113
|
+
};
|
|
114
|
+
size: {
|
|
115
|
+
small: string;
|
|
116
|
+
medium: string;
|
|
117
|
+
large: string;
|
|
118
|
+
};
|
|
119
|
+
}>, unknown, unknown, undefined>>;
|
|
120
|
+
type AvatarProps = React__default.ComponentPropsWithoutRef<'div'> & VariantProps<typeof avatarVariants> & {
|
|
121
|
+
asChild?: boolean;
|
|
122
|
+
};
|
|
13
123
|
declare const Avatar: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<tailwind_variants.TVReturnType<{
|
|
14
124
|
color: {
|
|
15
125
|
default: string;
|
|
@@ -119,6 +229,136 @@ declare const Avatar: React__default.ForwardRefExoticComponent<Omit<React__defau
|
|
|
119
229
|
asChild?: boolean;
|
|
120
230
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
121
231
|
|
|
232
|
+
declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
233
|
+
contrast: {
|
|
234
|
+
true: string;
|
|
235
|
+
false: string;
|
|
236
|
+
};
|
|
237
|
+
status: {
|
|
238
|
+
info: string;
|
|
239
|
+
attention: string;
|
|
240
|
+
white: string;
|
|
241
|
+
};
|
|
242
|
+
size: {
|
|
243
|
+
small: string;
|
|
244
|
+
normal: string;
|
|
245
|
+
};
|
|
246
|
+
type: {
|
|
247
|
+
pill: string;
|
|
248
|
+
dot: string;
|
|
249
|
+
};
|
|
250
|
+
}, undefined, "flex items-center justify-center rounded-full", tailwind_variants_dist_config_js.TVConfig<{
|
|
251
|
+
contrast: {
|
|
252
|
+
true: string;
|
|
253
|
+
false: string;
|
|
254
|
+
};
|
|
255
|
+
status: {
|
|
256
|
+
info: string;
|
|
257
|
+
attention: string;
|
|
258
|
+
white: string;
|
|
259
|
+
};
|
|
260
|
+
size: {
|
|
261
|
+
small: string;
|
|
262
|
+
normal: string;
|
|
263
|
+
};
|
|
264
|
+
type: {
|
|
265
|
+
pill: string;
|
|
266
|
+
dot: string;
|
|
267
|
+
};
|
|
268
|
+
}, {
|
|
269
|
+
contrast: {
|
|
270
|
+
true: string;
|
|
271
|
+
false: string;
|
|
272
|
+
};
|
|
273
|
+
status: {
|
|
274
|
+
info: string;
|
|
275
|
+
attention: string;
|
|
276
|
+
white: string;
|
|
277
|
+
};
|
|
278
|
+
size: {
|
|
279
|
+
small: string;
|
|
280
|
+
normal: string;
|
|
281
|
+
};
|
|
282
|
+
type: {
|
|
283
|
+
pill: string;
|
|
284
|
+
dot: string;
|
|
285
|
+
};
|
|
286
|
+
}>, {
|
|
287
|
+
contrast: {
|
|
288
|
+
true: string;
|
|
289
|
+
false: string;
|
|
290
|
+
};
|
|
291
|
+
status: {
|
|
292
|
+
info: string;
|
|
293
|
+
attention: string;
|
|
294
|
+
white: string;
|
|
295
|
+
};
|
|
296
|
+
size: {
|
|
297
|
+
small: string;
|
|
298
|
+
normal: string;
|
|
299
|
+
};
|
|
300
|
+
type: {
|
|
301
|
+
pill: string;
|
|
302
|
+
dot: string;
|
|
303
|
+
};
|
|
304
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
305
|
+
contrast: {
|
|
306
|
+
true: string;
|
|
307
|
+
false: string;
|
|
308
|
+
};
|
|
309
|
+
status: {
|
|
310
|
+
info: string;
|
|
311
|
+
attention: string;
|
|
312
|
+
white: string;
|
|
313
|
+
};
|
|
314
|
+
size: {
|
|
315
|
+
small: string;
|
|
316
|
+
normal: string;
|
|
317
|
+
};
|
|
318
|
+
type: {
|
|
319
|
+
pill: string;
|
|
320
|
+
dot: string;
|
|
321
|
+
};
|
|
322
|
+
}, undefined, "flex items-center justify-center rounded-full", tailwind_variants_dist_config_js.TVConfig<{
|
|
323
|
+
contrast: {
|
|
324
|
+
true: string;
|
|
325
|
+
false: string;
|
|
326
|
+
};
|
|
327
|
+
status: {
|
|
328
|
+
info: string;
|
|
329
|
+
attention: string;
|
|
330
|
+
white: string;
|
|
331
|
+
};
|
|
332
|
+
size: {
|
|
333
|
+
small: string;
|
|
334
|
+
normal: string;
|
|
335
|
+
};
|
|
336
|
+
type: {
|
|
337
|
+
pill: string;
|
|
338
|
+
dot: string;
|
|
339
|
+
};
|
|
340
|
+
}, {
|
|
341
|
+
contrast: {
|
|
342
|
+
true: string;
|
|
343
|
+
false: string;
|
|
344
|
+
};
|
|
345
|
+
status: {
|
|
346
|
+
info: string;
|
|
347
|
+
attention: string;
|
|
348
|
+
white: string;
|
|
349
|
+
};
|
|
350
|
+
size: {
|
|
351
|
+
small: string;
|
|
352
|
+
normal: string;
|
|
353
|
+
};
|
|
354
|
+
type: {
|
|
355
|
+
pill: string;
|
|
356
|
+
dot: string;
|
|
357
|
+
};
|
|
358
|
+
}>, unknown, unknown, undefined>>;
|
|
359
|
+
type BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
|
|
360
|
+
asChild?: boolean;
|
|
361
|
+
};
|
|
122
362
|
declare const Badge: React__default.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & VariantProps<tailwind_variants.TVReturnType<{
|
|
123
363
|
contrast: {
|
|
124
364
|
true: string;
|
|
@@ -249,7 +489,7 @@ declare const Badge: React__default.ForwardRefExoticComponent<HTMLAttributes<HTM
|
|
|
249
489
|
asChild?: boolean;
|
|
250
490
|
} & React__default.RefAttributes<HTMLSpanElement>>;
|
|
251
491
|
|
|
252
|
-
declare const
|
|
492
|
+
declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
253
493
|
appearance: {
|
|
254
494
|
primary: {
|
|
255
495
|
container: string;
|
|
@@ -625,27 +865,408 @@ declare const Button: React__default.ForwardRefExoticComponent<React__default.Bu
|
|
|
625
865
|
};
|
|
626
866
|
false: string;
|
|
627
867
|
};
|
|
628
|
-
}>, unknown, unknown, undefined
|
|
868
|
+
}>, unknown, unknown, undefined>>;
|
|
869
|
+
type ButtonProps = React__default.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
|
|
629
870
|
asChild?: boolean;
|
|
630
871
|
icon?: React__default.ElementType;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
872
|
+
};
|
|
873
|
+
declare const Button: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<tailwind_variants.TVReturnType<{
|
|
874
|
+
appearance: {
|
|
875
|
+
primary: {
|
|
876
|
+
container: string;
|
|
877
|
+
text: string;
|
|
878
|
+
icon: string;
|
|
879
|
+
};
|
|
880
|
+
secondary: {
|
|
881
|
+
container: string;
|
|
882
|
+
text: string;
|
|
883
|
+
icon: string;
|
|
884
|
+
};
|
|
885
|
+
tertiary: {
|
|
886
|
+
container: string;
|
|
887
|
+
text: string;
|
|
888
|
+
icon: string;
|
|
889
|
+
};
|
|
890
|
+
danger: {
|
|
891
|
+
container: string;
|
|
892
|
+
text: string;
|
|
893
|
+
icon: string;
|
|
894
|
+
};
|
|
895
|
+
link: {
|
|
896
|
+
container: string;
|
|
897
|
+
text: string;
|
|
898
|
+
icon: string;
|
|
899
|
+
};
|
|
900
|
+
table: {
|
|
901
|
+
container: string;
|
|
902
|
+
text: string;
|
|
903
|
+
icon: string;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
size: {
|
|
907
|
+
medium: {
|
|
908
|
+
container: string;
|
|
909
|
+
icon: string;
|
|
910
|
+
};
|
|
911
|
+
small: {
|
|
912
|
+
container: string;
|
|
913
|
+
text: string;
|
|
914
|
+
icon: string;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
disabled: {
|
|
918
|
+
true: {
|
|
919
|
+
container: string;
|
|
920
|
+
text: string;
|
|
921
|
+
icon: string;
|
|
922
|
+
};
|
|
923
|
+
false: string;
|
|
924
|
+
};
|
|
925
|
+
}, {
|
|
926
|
+
container: string;
|
|
927
|
+
icon: string;
|
|
928
|
+
text: string;
|
|
929
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
930
|
+
appearance: {
|
|
931
|
+
primary: {
|
|
932
|
+
container: string;
|
|
933
|
+
text: string;
|
|
934
|
+
icon: string;
|
|
935
|
+
};
|
|
936
|
+
secondary: {
|
|
937
|
+
container: string;
|
|
938
|
+
text: string;
|
|
939
|
+
icon: string;
|
|
940
|
+
};
|
|
941
|
+
tertiary: {
|
|
942
|
+
container: string;
|
|
943
|
+
text: string;
|
|
944
|
+
icon: string;
|
|
945
|
+
};
|
|
946
|
+
danger: {
|
|
947
|
+
container: string;
|
|
948
|
+
text: string;
|
|
949
|
+
icon: string;
|
|
950
|
+
};
|
|
951
|
+
link: {
|
|
952
|
+
container: string;
|
|
953
|
+
text: string;
|
|
954
|
+
icon: string;
|
|
955
|
+
};
|
|
956
|
+
table: {
|
|
957
|
+
container: string;
|
|
958
|
+
text: string;
|
|
959
|
+
icon: string;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
size: {
|
|
963
|
+
medium: {
|
|
964
|
+
container: string;
|
|
965
|
+
icon: string;
|
|
966
|
+
};
|
|
967
|
+
small: {
|
|
968
|
+
container: string;
|
|
969
|
+
text: string;
|
|
970
|
+
icon: string;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
disabled: {
|
|
974
|
+
true: {
|
|
975
|
+
container: string;
|
|
976
|
+
text: string;
|
|
977
|
+
icon: string;
|
|
978
|
+
};
|
|
979
|
+
false: string;
|
|
980
|
+
};
|
|
981
|
+
}, {
|
|
982
|
+
appearance: {
|
|
983
|
+
primary: {
|
|
984
|
+
container: string;
|
|
985
|
+
text: string;
|
|
986
|
+
icon: string;
|
|
987
|
+
};
|
|
988
|
+
secondary: {
|
|
989
|
+
container: string;
|
|
990
|
+
text: string;
|
|
991
|
+
icon: string;
|
|
992
|
+
};
|
|
993
|
+
tertiary: {
|
|
994
|
+
container: string;
|
|
995
|
+
text: string;
|
|
996
|
+
icon: string;
|
|
997
|
+
};
|
|
998
|
+
danger: {
|
|
999
|
+
container: string;
|
|
1000
|
+
text: string;
|
|
1001
|
+
icon: string;
|
|
1002
|
+
};
|
|
1003
|
+
link: {
|
|
1004
|
+
container: string;
|
|
1005
|
+
text: string;
|
|
1006
|
+
icon: string;
|
|
1007
|
+
};
|
|
1008
|
+
table: {
|
|
1009
|
+
container: string;
|
|
1010
|
+
text: string;
|
|
1011
|
+
icon: string;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
size: {
|
|
1015
|
+
medium: {
|
|
1016
|
+
container: string;
|
|
1017
|
+
icon: string;
|
|
1018
|
+
};
|
|
1019
|
+
small: {
|
|
1020
|
+
container: string;
|
|
1021
|
+
text: string;
|
|
1022
|
+
icon: string;
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
disabled: {
|
|
1026
|
+
true: {
|
|
1027
|
+
container: string;
|
|
1028
|
+
text: string;
|
|
1029
|
+
icon: string;
|
|
1030
|
+
};
|
|
1031
|
+
false: string;
|
|
1032
|
+
};
|
|
1033
|
+
}>, {
|
|
1034
|
+
appearance: {
|
|
1035
|
+
primary: {
|
|
1036
|
+
container: string;
|
|
1037
|
+
text: string;
|
|
1038
|
+
icon: string;
|
|
1039
|
+
};
|
|
1040
|
+
secondary: {
|
|
1041
|
+
container: string;
|
|
1042
|
+
text: string;
|
|
1043
|
+
icon: string;
|
|
1044
|
+
};
|
|
1045
|
+
tertiary: {
|
|
1046
|
+
container: string;
|
|
1047
|
+
text: string;
|
|
1048
|
+
icon: string;
|
|
1049
|
+
};
|
|
1050
|
+
danger: {
|
|
1051
|
+
container: string;
|
|
1052
|
+
text: string;
|
|
1053
|
+
icon: string;
|
|
1054
|
+
};
|
|
1055
|
+
link: {
|
|
1056
|
+
container: string;
|
|
1057
|
+
text: string;
|
|
1058
|
+
icon: string;
|
|
1059
|
+
};
|
|
1060
|
+
table: {
|
|
1061
|
+
container: string;
|
|
1062
|
+
text: string;
|
|
1063
|
+
icon: string;
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
size: {
|
|
1067
|
+
medium: {
|
|
1068
|
+
container: string;
|
|
1069
|
+
icon: string;
|
|
1070
|
+
};
|
|
1071
|
+
small: {
|
|
1072
|
+
container: string;
|
|
1073
|
+
text: string;
|
|
1074
|
+
icon: string;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
disabled: {
|
|
1078
|
+
true: {
|
|
1079
|
+
container: string;
|
|
1080
|
+
text: string;
|
|
1081
|
+
icon: string;
|
|
1082
|
+
};
|
|
1083
|
+
false: string;
|
|
1084
|
+
};
|
|
1085
|
+
}, {
|
|
1086
|
+
container: string;
|
|
1087
|
+
icon: string;
|
|
1088
|
+
text: string;
|
|
1089
|
+
}, tailwind_variants.TVReturnType<{
|
|
1090
|
+
appearance: {
|
|
1091
|
+
primary: {
|
|
1092
|
+
container: string;
|
|
1093
|
+
text: string;
|
|
1094
|
+
icon: string;
|
|
1095
|
+
};
|
|
1096
|
+
secondary: {
|
|
1097
|
+
container: string;
|
|
1098
|
+
text: string;
|
|
1099
|
+
icon: string;
|
|
1100
|
+
};
|
|
1101
|
+
tertiary: {
|
|
1102
|
+
container: string;
|
|
1103
|
+
text: string;
|
|
1104
|
+
icon: string;
|
|
1105
|
+
};
|
|
1106
|
+
danger: {
|
|
1107
|
+
container: string;
|
|
1108
|
+
text: string;
|
|
1109
|
+
icon: string;
|
|
1110
|
+
};
|
|
1111
|
+
link: {
|
|
1112
|
+
container: string;
|
|
1113
|
+
text: string;
|
|
1114
|
+
icon: string;
|
|
1115
|
+
};
|
|
1116
|
+
table: {
|
|
1117
|
+
container: string;
|
|
1118
|
+
text: string;
|
|
1119
|
+
icon: string;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
size: {
|
|
1123
|
+
medium: {
|
|
1124
|
+
container: string;
|
|
1125
|
+
icon: string;
|
|
1126
|
+
};
|
|
1127
|
+
small: {
|
|
1128
|
+
container: string;
|
|
1129
|
+
text: string;
|
|
1130
|
+
icon: string;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
disabled: {
|
|
1134
|
+
true: {
|
|
1135
|
+
container: string;
|
|
1136
|
+
text: string;
|
|
1137
|
+
icon: string;
|
|
1138
|
+
};
|
|
1139
|
+
false: string;
|
|
1140
|
+
};
|
|
1141
|
+
}, {
|
|
1142
|
+
container: string;
|
|
1143
|
+
icon: string;
|
|
1144
|
+
text: string;
|
|
1145
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
1146
|
+
appearance: {
|
|
1147
|
+
primary: {
|
|
1148
|
+
container: string;
|
|
1149
|
+
text: string;
|
|
1150
|
+
icon: string;
|
|
1151
|
+
};
|
|
1152
|
+
secondary: {
|
|
1153
|
+
container: string;
|
|
1154
|
+
text: string;
|
|
1155
|
+
icon: string;
|
|
1156
|
+
};
|
|
1157
|
+
tertiary: {
|
|
1158
|
+
container: string;
|
|
1159
|
+
text: string;
|
|
1160
|
+
icon: string;
|
|
1161
|
+
};
|
|
1162
|
+
danger: {
|
|
1163
|
+
container: string;
|
|
1164
|
+
text: string;
|
|
1165
|
+
icon: string;
|
|
1166
|
+
};
|
|
1167
|
+
link: {
|
|
1168
|
+
container: string;
|
|
1169
|
+
text: string;
|
|
1170
|
+
icon: string;
|
|
1171
|
+
};
|
|
1172
|
+
table: {
|
|
1173
|
+
container: string;
|
|
1174
|
+
text: string;
|
|
1175
|
+
icon: string;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
size: {
|
|
1179
|
+
medium: {
|
|
1180
|
+
container: string;
|
|
1181
|
+
icon: string;
|
|
1182
|
+
};
|
|
1183
|
+
small: {
|
|
1184
|
+
container: string;
|
|
1185
|
+
text: string;
|
|
1186
|
+
icon: string;
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
disabled: {
|
|
1190
|
+
true: {
|
|
1191
|
+
container: string;
|
|
1192
|
+
text: string;
|
|
1193
|
+
icon: string;
|
|
1194
|
+
};
|
|
1195
|
+
false: string;
|
|
1196
|
+
};
|
|
1197
|
+
}, {
|
|
1198
|
+
appearance: {
|
|
1199
|
+
primary: {
|
|
1200
|
+
container: string;
|
|
1201
|
+
text: string;
|
|
1202
|
+
icon: string;
|
|
1203
|
+
};
|
|
1204
|
+
secondary: {
|
|
1205
|
+
container: string;
|
|
1206
|
+
text: string;
|
|
1207
|
+
icon: string;
|
|
1208
|
+
};
|
|
1209
|
+
tertiary: {
|
|
1210
|
+
container: string;
|
|
1211
|
+
text: string;
|
|
1212
|
+
icon: string;
|
|
1213
|
+
};
|
|
1214
|
+
danger: {
|
|
1215
|
+
container: string;
|
|
1216
|
+
text: string;
|
|
1217
|
+
icon: string;
|
|
1218
|
+
};
|
|
1219
|
+
link: {
|
|
1220
|
+
container: string;
|
|
1221
|
+
text: string;
|
|
1222
|
+
icon: string;
|
|
1223
|
+
};
|
|
1224
|
+
table: {
|
|
1225
|
+
container: string;
|
|
1226
|
+
text: string;
|
|
1227
|
+
icon: string;
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
size: {
|
|
1231
|
+
medium: {
|
|
1232
|
+
container: string;
|
|
1233
|
+
icon: string;
|
|
1234
|
+
};
|
|
1235
|
+
small: {
|
|
1236
|
+
container: string;
|
|
1237
|
+
text: string;
|
|
1238
|
+
icon: string;
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
disabled: {
|
|
1242
|
+
true: {
|
|
1243
|
+
container: string;
|
|
1244
|
+
text: string;
|
|
1245
|
+
icon: string;
|
|
1246
|
+
};
|
|
1247
|
+
false: string;
|
|
1248
|
+
};
|
|
1249
|
+
}>, unknown, unknown, undefined>>> & {
|
|
1250
|
+
asChild?: boolean;
|
|
1251
|
+
icon?: React__default.ElementType;
|
|
1252
|
+
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1253
|
+
|
|
1254
|
+
declare const cardVariants: tailwind_variants.TVReturnType<{
|
|
1255
|
+
variant: {
|
|
1256
|
+
default: string;
|
|
1257
|
+
big: string;
|
|
1258
|
+
small: string;
|
|
1259
|
+
};
|
|
1260
|
+
direction: {
|
|
1261
|
+
col: string;
|
|
1262
|
+
row: string;
|
|
1263
|
+
};
|
|
1264
|
+
padding: {
|
|
1265
|
+
none: string;
|
|
1266
|
+
small: string;
|
|
1267
|
+
medium: string;
|
|
1268
|
+
big: string;
|
|
1269
|
+
};
|
|
649
1270
|
}, undefined, "flex w-full border border-gray-200 bg-white p-2", tailwind_variants_dist_config_js.TVConfig<{
|
|
650
1271
|
variant: {
|
|
651
1272
|
default: string;
|
|
@@ -961,11 +1582,14 @@ type ProgressBarProps = React__default.HTMLAttributes<HTMLDivElement> & {
|
|
|
961
1582
|
};
|
|
962
1583
|
declare const ProgressBar: React__default.FC<ProgressBarProps>;
|
|
963
1584
|
|
|
1585
|
+
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
1586
|
+
invalid?: boolean;
|
|
1587
|
+
};
|
|
964
1588
|
declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
965
1589
|
invalid?: boolean;
|
|
966
1590
|
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
967
1591
|
|
|
968
|
-
type
|
|
1592
|
+
type SheetProps = {
|
|
969
1593
|
title: string;
|
|
970
1594
|
children?: React__default.ReactNode;
|
|
971
1595
|
isVisible?: boolean;
|
|
@@ -974,7 +1598,7 @@ type Props = {
|
|
|
974
1598
|
onClose?: (confirm: boolean) => void;
|
|
975
1599
|
};
|
|
976
1600
|
declare const Sheet: {
|
|
977
|
-
({ title, children, isVisible, CloseIcon, maxWidth, onClose, }:
|
|
1601
|
+
({ title, children, isVisible, CloseIcon, maxWidth, onClose, }: SheetProps): react_jsx_runtime.JSX.Element;
|
|
978
1602
|
displayName: string;
|
|
979
1603
|
};
|
|
980
1604
|
|
|
@@ -1090,6 +1714,10 @@ declare const Text: {
|
|
|
1090
1714
|
displayName: string;
|
|
1091
1715
|
};
|
|
1092
1716
|
|
|
1717
|
+
type ToggleProps = HTMLAttributes<HTMLInputElement> & {
|
|
1718
|
+
name: string;
|
|
1719
|
+
disabled?: boolean;
|
|
1720
|
+
} & PropsWithChildren;
|
|
1093
1721
|
declare const Toggle: React.ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & {
|
|
1094
1722
|
name: string;
|
|
1095
1723
|
disabled?: boolean;
|
|
@@ -1097,6 +1725,11 @@ declare const Toggle: React.ForwardRefExoticComponent<HTMLAttributes<HTMLInputEl
|
|
|
1097
1725
|
children?: React.ReactNode | undefined;
|
|
1098
1726
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1099
1727
|
|
|
1728
|
+
type CollapsibleItemProps = React__default.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;
|
|
1729
|
+
type CollapsibleTriggerProps = React__default.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleTrigger> & {
|
|
1730
|
+
triggerClassName?: string;
|
|
1731
|
+
};
|
|
1732
|
+
type CollapsibleContentProps = React__default.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleContent>;
|
|
1100
1733
|
declare const Collapsible: {
|
|
1101
1734
|
Item: React__default.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1102
1735
|
Trigger: React__default.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React__default.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -1114,14 +1747,14 @@ type TabItem = {
|
|
|
1114
1747
|
disabled?: boolean;
|
|
1115
1748
|
className?: string;
|
|
1116
1749
|
};
|
|
1117
|
-
|
|
1750
|
+
type TabsLayoutProps = {
|
|
1118
1751
|
tabs: TabItem[];
|
|
1119
1752
|
activeKey?: string;
|
|
1120
1753
|
defaultActiveKey?: string;
|
|
1121
1754
|
className?: string;
|
|
1122
1755
|
onValueChange?: (value: string) => void;
|
|
1123
1756
|
onTabClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>, value?: string) => void;
|
|
1124
|
-
}
|
|
1757
|
+
};
|
|
1125
1758
|
declare const TabsLayout: ({ tabs, activeKey, defaultActiveKey, className, onValueChange, onTabClick, }: TabsLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1126
1759
|
|
|
1127
1760
|
declare const Alert: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & VariantProps<tailwind_variants.TVReturnType<{
|
|
@@ -1330,6 +1963,60 @@ declare const Alert: React__default.ForwardRefExoticComponent<React__default.HTM
|
|
|
1330
1963
|
closable?: boolean;
|
|
1331
1964
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1332
1965
|
|
|
1966
|
+
declare const indicatorVariants: tailwind_variants.TVReturnType<{
|
|
1967
|
+
status: {
|
|
1968
|
+
positive: string;
|
|
1969
|
+
negative: string;
|
|
1970
|
+
neutral: string;
|
|
1971
|
+
info: string;
|
|
1972
|
+
};
|
|
1973
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", tailwind_variants_dist_config_js.TVConfig<{
|
|
1974
|
+
status: {
|
|
1975
|
+
positive: string;
|
|
1976
|
+
negative: string;
|
|
1977
|
+
neutral: string;
|
|
1978
|
+
info: string;
|
|
1979
|
+
};
|
|
1980
|
+
}, {
|
|
1981
|
+
status: {
|
|
1982
|
+
positive: string;
|
|
1983
|
+
negative: string;
|
|
1984
|
+
neutral: string;
|
|
1985
|
+
info: string;
|
|
1986
|
+
};
|
|
1987
|
+
}>, {
|
|
1988
|
+
status: {
|
|
1989
|
+
positive: string;
|
|
1990
|
+
negative: string;
|
|
1991
|
+
neutral: string;
|
|
1992
|
+
info: string;
|
|
1993
|
+
};
|
|
1994
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1995
|
+
status: {
|
|
1996
|
+
positive: string;
|
|
1997
|
+
negative: string;
|
|
1998
|
+
neutral: string;
|
|
1999
|
+
info: string;
|
|
2000
|
+
};
|
|
2001
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", tailwind_variants_dist_config_js.TVConfig<{
|
|
2002
|
+
status: {
|
|
2003
|
+
positive: string;
|
|
2004
|
+
negative: string;
|
|
2005
|
+
neutral: string;
|
|
2006
|
+
info: string;
|
|
2007
|
+
};
|
|
2008
|
+
}, {
|
|
2009
|
+
status: {
|
|
2010
|
+
positive: string;
|
|
2011
|
+
negative: string;
|
|
2012
|
+
neutral: string;
|
|
2013
|
+
info: string;
|
|
2014
|
+
};
|
|
2015
|
+
}>, unknown, unknown, undefined>>;
|
|
2016
|
+
type IndicatorProps = React__default.HTMLAttributes<HTMLDivElement> & VariantProps<typeof indicatorVariants> & {
|
|
2017
|
+
value: string;
|
|
2018
|
+
icon?: 'positive' | 'neutral' | 'negative';
|
|
2019
|
+
};
|
|
1333
2020
|
declare const Indicator: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & VariantProps<tailwind_variants.TVReturnType<{
|
|
1334
2021
|
status: {
|
|
1335
2022
|
positive: string;
|
|
@@ -1482,35 +2169,241 @@ declare const progressVariants: tailwind_variants.TVReturnType<{
|
|
|
1482
2169
|
indigo: string;
|
|
1483
2170
|
white: string;
|
|
1484
2171
|
};
|
|
1485
|
-
}, undefined, "text-midnight-blue-600", tailwind_variants_dist_config_js.TVConfig<{
|
|
1486
|
-
bg: {
|
|
1487
|
-
indigo: string;
|
|
1488
|
-
white: string;
|
|
2172
|
+
}, undefined, "text-midnight-blue-600", tailwind_variants_dist_config_js.TVConfig<{
|
|
2173
|
+
bg: {
|
|
2174
|
+
indigo: string;
|
|
2175
|
+
white: string;
|
|
2176
|
+
};
|
|
2177
|
+
}, {
|
|
2178
|
+
bg: {
|
|
2179
|
+
indigo: string;
|
|
2180
|
+
white: string;
|
|
2181
|
+
};
|
|
2182
|
+
}>, unknown, unknown, undefined>>;
|
|
2183
|
+
type CommonProps = {
|
|
2184
|
+
value: number;
|
|
2185
|
+
};
|
|
2186
|
+
type ProgressIndicatorProps = React__default.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
|
|
2187
|
+
withBar?: boolean;
|
|
2188
|
+
};
|
|
2189
|
+
type CircleProps = React__default.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
|
|
2190
|
+
Icon?: React__default.ElementType;
|
|
2191
|
+
};
|
|
2192
|
+
type ExpandedProps = React__default.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
|
|
2193
|
+
text: React__default.ReactNode | string;
|
|
2194
|
+
};
|
|
2195
|
+
declare const Progress: {
|
|
2196
|
+
Indicator: React__default.ForwardRefExoticComponent<ProgressIndicatorProps>;
|
|
2197
|
+
Circle: React__default.ForwardRefExoticComponent<CircleProps>;
|
|
2198
|
+
Expanded: React__default.ForwardRefExoticComponent<ExpandedProps>;
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
declare const chipsVariants: tailwind_variants.TVReturnType<{
|
|
2202
|
+
size: {
|
|
2203
|
+
small: {
|
|
2204
|
+
container: string;
|
|
2205
|
+
icon: string;
|
|
2206
|
+
};
|
|
2207
|
+
medium: {
|
|
2208
|
+
container: string;
|
|
2209
|
+
icon: string;
|
|
2210
|
+
};
|
|
2211
|
+
};
|
|
2212
|
+
border: {
|
|
2213
|
+
true: {
|
|
2214
|
+
container: string;
|
|
2215
|
+
icon: string;
|
|
2216
|
+
};
|
|
2217
|
+
false: {
|
|
2218
|
+
container: string;
|
|
2219
|
+
icon: string;
|
|
2220
|
+
};
|
|
2221
|
+
};
|
|
2222
|
+
active: {
|
|
2223
|
+
true: {
|
|
2224
|
+
container: string;
|
|
2225
|
+
icon: string;
|
|
2226
|
+
};
|
|
2227
|
+
};
|
|
2228
|
+
}, {
|
|
2229
|
+
container: string;
|
|
2230
|
+
icon: string;
|
|
2231
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
2232
|
+
size: {
|
|
2233
|
+
small: {
|
|
2234
|
+
container: string;
|
|
2235
|
+
icon: string;
|
|
2236
|
+
};
|
|
2237
|
+
medium: {
|
|
2238
|
+
container: string;
|
|
2239
|
+
icon: string;
|
|
2240
|
+
};
|
|
2241
|
+
};
|
|
2242
|
+
border: {
|
|
2243
|
+
true: {
|
|
2244
|
+
container: string;
|
|
2245
|
+
icon: string;
|
|
2246
|
+
};
|
|
2247
|
+
false: {
|
|
2248
|
+
container: string;
|
|
2249
|
+
icon: string;
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
active: {
|
|
2253
|
+
true: {
|
|
2254
|
+
container: string;
|
|
2255
|
+
icon: string;
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
}, {
|
|
2259
|
+
size: {
|
|
2260
|
+
small: {
|
|
2261
|
+
container: string;
|
|
2262
|
+
icon: string;
|
|
2263
|
+
};
|
|
2264
|
+
medium: {
|
|
2265
|
+
container: string;
|
|
2266
|
+
icon: string;
|
|
2267
|
+
};
|
|
2268
|
+
};
|
|
2269
|
+
border: {
|
|
2270
|
+
true: {
|
|
2271
|
+
container: string;
|
|
2272
|
+
icon: string;
|
|
2273
|
+
};
|
|
2274
|
+
false: {
|
|
2275
|
+
container: string;
|
|
2276
|
+
icon: string;
|
|
2277
|
+
};
|
|
2278
|
+
};
|
|
2279
|
+
active: {
|
|
2280
|
+
true: {
|
|
2281
|
+
container: string;
|
|
2282
|
+
icon: string;
|
|
2283
|
+
};
|
|
2284
|
+
};
|
|
2285
|
+
}>, {
|
|
2286
|
+
size: {
|
|
2287
|
+
small: {
|
|
2288
|
+
container: string;
|
|
2289
|
+
icon: string;
|
|
2290
|
+
};
|
|
2291
|
+
medium: {
|
|
2292
|
+
container: string;
|
|
2293
|
+
icon: string;
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
border: {
|
|
2297
|
+
true: {
|
|
2298
|
+
container: string;
|
|
2299
|
+
icon: string;
|
|
2300
|
+
};
|
|
2301
|
+
false: {
|
|
2302
|
+
container: string;
|
|
2303
|
+
icon: string;
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
active: {
|
|
2307
|
+
true: {
|
|
2308
|
+
container: string;
|
|
2309
|
+
icon: string;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
}, {
|
|
2313
|
+
container: string;
|
|
2314
|
+
icon: string;
|
|
2315
|
+
}, tailwind_variants.TVReturnType<{
|
|
2316
|
+
size: {
|
|
2317
|
+
small: {
|
|
2318
|
+
container: string;
|
|
2319
|
+
icon: string;
|
|
2320
|
+
};
|
|
2321
|
+
medium: {
|
|
2322
|
+
container: string;
|
|
2323
|
+
icon: string;
|
|
2324
|
+
};
|
|
2325
|
+
};
|
|
2326
|
+
border: {
|
|
2327
|
+
true: {
|
|
2328
|
+
container: string;
|
|
2329
|
+
icon: string;
|
|
2330
|
+
};
|
|
2331
|
+
false: {
|
|
2332
|
+
container: string;
|
|
2333
|
+
icon: string;
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
active: {
|
|
2337
|
+
true: {
|
|
2338
|
+
container: string;
|
|
2339
|
+
icon: string;
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
}, {
|
|
2343
|
+
container: string;
|
|
2344
|
+
icon: string;
|
|
2345
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
2346
|
+
size: {
|
|
2347
|
+
small: {
|
|
2348
|
+
container: string;
|
|
2349
|
+
icon: string;
|
|
2350
|
+
};
|
|
2351
|
+
medium: {
|
|
2352
|
+
container: string;
|
|
2353
|
+
icon: string;
|
|
2354
|
+
};
|
|
2355
|
+
};
|
|
2356
|
+
border: {
|
|
2357
|
+
true: {
|
|
2358
|
+
container: string;
|
|
2359
|
+
icon: string;
|
|
2360
|
+
};
|
|
2361
|
+
false: {
|
|
2362
|
+
container: string;
|
|
2363
|
+
icon: string;
|
|
2364
|
+
};
|
|
2365
|
+
};
|
|
2366
|
+
active: {
|
|
2367
|
+
true: {
|
|
2368
|
+
container: string;
|
|
2369
|
+
icon: string;
|
|
2370
|
+
};
|
|
1489
2371
|
};
|
|
1490
2372
|
}, {
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
2373
|
+
size: {
|
|
2374
|
+
small: {
|
|
2375
|
+
container: string;
|
|
2376
|
+
icon: string;
|
|
2377
|
+
};
|
|
2378
|
+
medium: {
|
|
2379
|
+
container: string;
|
|
2380
|
+
icon: string;
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
border: {
|
|
2384
|
+
true: {
|
|
2385
|
+
container: string;
|
|
2386
|
+
icon: string;
|
|
2387
|
+
};
|
|
2388
|
+
false: {
|
|
2389
|
+
container: string;
|
|
2390
|
+
icon: string;
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2393
|
+
active: {
|
|
2394
|
+
true: {
|
|
2395
|
+
container: string;
|
|
2396
|
+
icon: string;
|
|
2397
|
+
};
|
|
1494
2398
|
};
|
|
1495
2399
|
}>, unknown, unknown, undefined>>;
|
|
1496
|
-
type
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
type CircleProps = React__default.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
|
|
1503
|
-
Icon?: React__default.ElementType;
|
|
1504
|
-
};
|
|
1505
|
-
type ExpandedProps = React__default.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
|
|
1506
|
-
text: React__default.ReactNode | string;
|
|
1507
|
-
};
|
|
1508
|
-
declare const Progress: {
|
|
1509
|
-
Indicator: React__default.ForwardRefExoticComponent<IndicatorProps>;
|
|
1510
|
-
Circle: React__default.ForwardRefExoticComponent<CircleProps>;
|
|
1511
|
-
Expanded: React__default.ForwardRefExoticComponent<ExpandedProps>;
|
|
2400
|
+
type ChipsProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof chipsVariants> & {
|
|
2401
|
+
asChild?: boolean;
|
|
2402
|
+
icon?: React__default.ElementType;
|
|
2403
|
+
text: string;
|
|
2404
|
+
value?: string;
|
|
2405
|
+
onClose?: (value?: string) => void;
|
|
1512
2406
|
};
|
|
1513
|
-
|
|
1514
2407
|
declare const Chips: React__default.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<tailwind_variants.TVReturnType<{
|
|
1515
2408
|
size: {
|
|
1516
2409
|
small: {
|
|
@@ -1819,7 +2712,7 @@ declare const InputDescription: {
|
|
|
1819
2712
|
displayName: string;
|
|
1820
2713
|
};
|
|
1821
2714
|
|
|
1822
|
-
type
|
|
2715
|
+
type FormItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
1823
2716
|
label: LabelProps;
|
|
1824
2717
|
description: InputDescriptionProps;
|
|
1825
2718
|
invalid?: boolean;
|
|
@@ -1829,9 +2722,205 @@ type FormItem = HTMLAttributes<HTMLDivElement> & {
|
|
|
1829
2722
|
maxLength?: number;
|
|
1830
2723
|
id: string;
|
|
1831
2724
|
};
|
|
1832
|
-
declare const FormItem: ({ id, className, label, description, errorMessage, invalid, children, disabled, value, maxLength, ...props }:
|
|
2725
|
+
declare const FormItem: ({ id, className, label, description, errorMessage, invalid, children, disabled, value, maxLength, ...props }: FormItemProps) => react_jsx_runtime.JSX.Element;
|
|
1833
2726
|
|
|
1834
|
-
declare const
|
|
2727
|
+
declare const inputVariants: tailwind_variants.TVReturnType<{
|
|
2728
|
+
disabled: {
|
|
2729
|
+
true: {
|
|
2730
|
+
input: string;
|
|
2731
|
+
prefixIcon: string;
|
|
2732
|
+
suffixIcon: string;
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
invalid: {
|
|
2736
|
+
true: {
|
|
2737
|
+
input: string;
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
size: {
|
|
2741
|
+
medium: {
|
|
2742
|
+
prefixIcon: string;
|
|
2743
|
+
suffixIcon: string;
|
|
2744
|
+
input: string;
|
|
2745
|
+
};
|
|
2746
|
+
small: {
|
|
2747
|
+
prefixIcon: string;
|
|
2748
|
+
suffixIcon: string;
|
|
2749
|
+
input: string;
|
|
2750
|
+
};
|
|
2751
|
+
};
|
|
2752
|
+
}, {
|
|
2753
|
+
prefixIcon: string;
|
|
2754
|
+
input: string;
|
|
2755
|
+
suffixIcon: string;
|
|
2756
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
2757
|
+
disabled: {
|
|
2758
|
+
true: {
|
|
2759
|
+
input: string;
|
|
2760
|
+
prefixIcon: string;
|
|
2761
|
+
suffixIcon: string;
|
|
2762
|
+
};
|
|
2763
|
+
};
|
|
2764
|
+
invalid: {
|
|
2765
|
+
true: {
|
|
2766
|
+
input: string;
|
|
2767
|
+
};
|
|
2768
|
+
};
|
|
2769
|
+
size: {
|
|
2770
|
+
medium: {
|
|
2771
|
+
prefixIcon: string;
|
|
2772
|
+
suffixIcon: string;
|
|
2773
|
+
input: string;
|
|
2774
|
+
};
|
|
2775
|
+
small: {
|
|
2776
|
+
prefixIcon: string;
|
|
2777
|
+
suffixIcon: string;
|
|
2778
|
+
input: string;
|
|
2779
|
+
};
|
|
2780
|
+
};
|
|
2781
|
+
}, {
|
|
2782
|
+
disabled: {
|
|
2783
|
+
true: {
|
|
2784
|
+
input: string;
|
|
2785
|
+
prefixIcon: string;
|
|
2786
|
+
suffixIcon: string;
|
|
2787
|
+
};
|
|
2788
|
+
};
|
|
2789
|
+
invalid: {
|
|
2790
|
+
true: {
|
|
2791
|
+
input: string;
|
|
2792
|
+
};
|
|
2793
|
+
};
|
|
2794
|
+
size: {
|
|
2795
|
+
medium: {
|
|
2796
|
+
prefixIcon: string;
|
|
2797
|
+
suffixIcon: string;
|
|
2798
|
+
input: string;
|
|
2799
|
+
};
|
|
2800
|
+
small: {
|
|
2801
|
+
prefixIcon: string;
|
|
2802
|
+
suffixIcon: string;
|
|
2803
|
+
input: string;
|
|
2804
|
+
};
|
|
2805
|
+
};
|
|
2806
|
+
}>, {
|
|
2807
|
+
disabled: {
|
|
2808
|
+
true: {
|
|
2809
|
+
input: string;
|
|
2810
|
+
prefixIcon: string;
|
|
2811
|
+
suffixIcon: string;
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2814
|
+
invalid: {
|
|
2815
|
+
true: {
|
|
2816
|
+
input: string;
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
size: {
|
|
2820
|
+
medium: {
|
|
2821
|
+
prefixIcon: string;
|
|
2822
|
+
suffixIcon: string;
|
|
2823
|
+
input: string;
|
|
2824
|
+
};
|
|
2825
|
+
small: {
|
|
2826
|
+
prefixIcon: string;
|
|
2827
|
+
suffixIcon: string;
|
|
2828
|
+
input: string;
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
}, {
|
|
2832
|
+
prefixIcon: string;
|
|
2833
|
+
input: string;
|
|
2834
|
+
suffixIcon: string;
|
|
2835
|
+
}, tailwind_variants.TVReturnType<{
|
|
2836
|
+
disabled: {
|
|
2837
|
+
true: {
|
|
2838
|
+
input: string;
|
|
2839
|
+
prefixIcon: string;
|
|
2840
|
+
suffixIcon: string;
|
|
2841
|
+
};
|
|
2842
|
+
};
|
|
2843
|
+
invalid: {
|
|
2844
|
+
true: {
|
|
2845
|
+
input: string;
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2848
|
+
size: {
|
|
2849
|
+
medium: {
|
|
2850
|
+
prefixIcon: string;
|
|
2851
|
+
suffixIcon: string;
|
|
2852
|
+
input: string;
|
|
2853
|
+
};
|
|
2854
|
+
small: {
|
|
2855
|
+
prefixIcon: string;
|
|
2856
|
+
suffixIcon: string;
|
|
2857
|
+
input: string;
|
|
2858
|
+
};
|
|
2859
|
+
};
|
|
2860
|
+
}, {
|
|
2861
|
+
prefixIcon: string;
|
|
2862
|
+
input: string;
|
|
2863
|
+
suffixIcon: string;
|
|
2864
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
2865
|
+
disabled: {
|
|
2866
|
+
true: {
|
|
2867
|
+
input: string;
|
|
2868
|
+
prefixIcon: string;
|
|
2869
|
+
suffixIcon: string;
|
|
2870
|
+
};
|
|
2871
|
+
};
|
|
2872
|
+
invalid: {
|
|
2873
|
+
true: {
|
|
2874
|
+
input: string;
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
size: {
|
|
2878
|
+
medium: {
|
|
2879
|
+
prefixIcon: string;
|
|
2880
|
+
suffixIcon: string;
|
|
2881
|
+
input: string;
|
|
2882
|
+
};
|
|
2883
|
+
small: {
|
|
2884
|
+
prefixIcon: string;
|
|
2885
|
+
suffixIcon: string;
|
|
2886
|
+
input: string;
|
|
2887
|
+
};
|
|
2888
|
+
};
|
|
2889
|
+
}, {
|
|
2890
|
+
disabled: {
|
|
2891
|
+
true: {
|
|
2892
|
+
input: string;
|
|
2893
|
+
prefixIcon: string;
|
|
2894
|
+
suffixIcon: string;
|
|
2895
|
+
};
|
|
2896
|
+
};
|
|
2897
|
+
invalid: {
|
|
2898
|
+
true: {
|
|
2899
|
+
input: string;
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
size: {
|
|
2903
|
+
medium: {
|
|
2904
|
+
prefixIcon: string;
|
|
2905
|
+
suffixIcon: string;
|
|
2906
|
+
input: string;
|
|
2907
|
+
};
|
|
2908
|
+
small: {
|
|
2909
|
+
prefixIcon: string;
|
|
2910
|
+
suffixIcon: string;
|
|
2911
|
+
input: string;
|
|
2912
|
+
};
|
|
2913
|
+
};
|
|
2914
|
+
}>, unknown, unknown, undefined>>;
|
|
2915
|
+
type InputProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size'> & VariantProps<typeof inputVariants> & {
|
|
2916
|
+
id?: string;
|
|
2917
|
+
value?: string;
|
|
2918
|
+
defaultValue?: string;
|
|
2919
|
+
prefixIcon?: React__default.ReactNode;
|
|
2920
|
+
suffixIcon?: React__default.ReactNode;
|
|
2921
|
+
invalid?: boolean;
|
|
2922
|
+
};
|
|
2923
|
+
declare const Input: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<tailwind_variants.TVReturnType<{
|
|
1835
2924
|
disabled: {
|
|
1836
2925
|
true: {
|
|
1837
2926
|
input: string;
|
|
@@ -2027,13 +3116,14 @@ declare const Input: React__default.ForwardRefExoticComponent<React__default.Inp
|
|
|
2027
3116
|
invalid?: boolean;
|
|
2028
3117
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
2029
3118
|
|
|
3119
|
+
type CheckboxProps = React__default.ComponentPropsWithoutRef<typeof Root>;
|
|
2030
3120
|
declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<_radix_ui_react_checkbox.CheckboxProps & React__default.RefAttributes<HTMLButtonElement>, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
2031
3121
|
|
|
2032
|
-
type
|
|
2033
|
-
type
|
|
3122
|
+
type RadioGroupProps = React__default.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
|
|
3123
|
+
type RadioItemProps = React__default.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
|
|
2034
3124
|
declare const Radio: {
|
|
2035
|
-
Group: React__default.ForwardRefExoticComponent<
|
|
2036
|
-
Item: React__default.ForwardRefExoticComponent<
|
|
3125
|
+
Group: React__default.ForwardRefExoticComponent<RadioGroupProps>;
|
|
3126
|
+
Item: React__default.ForwardRefExoticComponent<RadioItemProps>;
|
|
2037
3127
|
};
|
|
2038
3128
|
|
|
2039
3129
|
type DropdownProps = {
|
|
@@ -2046,6 +3136,9 @@ type DropdownProps = {
|
|
|
2046
3136
|
className?: string;
|
|
2047
3137
|
};
|
|
2048
3138
|
|
|
3139
|
+
type SearchProps = React.InputHTMLAttributes<HTMLInputElement> & VariantProps<typeof inputVariants> & {
|
|
3140
|
+
scope?: DropdownProps;
|
|
3141
|
+
};
|
|
2049
3142
|
declare const Search: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & VariantProps<tailwind_variants.TVReturnType<{
|
|
2050
3143
|
disabled: {
|
|
2051
3144
|
true: {
|
|
@@ -2237,4 +3330,4 @@ declare const Search: React.ForwardRefExoticComponent<React.InputHTMLAttributes<
|
|
|
2237
3330
|
scope?: DropdownProps;
|
|
2238
3331
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
2239
3332
|
|
|
2240
|
-
export { Alert, Avatar, Badge, Button, Card, Checkbox, Chips, Collapsible, FormItem, Indicator, Input, InputDescription, Label, Progress, ProgressBar, Radio, Scope, Search, Sheet, Status, TabsLayout as Tabs, Text, Textarea, Toggle };
|
|
3333
|
+
export { Alert, Avatar, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, type CardProps, Checkbox, type CheckboxProps, Chips, type ChipsProps, type CircleProps, Collapsible, type CollapsibleContentProps, type CollapsibleItemProps, type CollapsibleTriggerProps, type ExpandedProps, FormItem, type FormItemProps, Indicator, type IndicatorProps, Input, InputDescription, type InputDescriptionProps, type InputProps, Label, type LabelProps, Progress, ProgressBar, type ProgressBarProps, type ProgressIndicatorProps, Radio, type RadioGroupProps, type RadioItemProps, Scope, type ScopeGroupProps, type ScopeItemProps, Search, type SearchProps, Sheet, type SheetProps, Status, type StatusMenuProps, type StatusOption, type StatusSimpleProps, type TabItem, TabsLayout as Tabs, type TabsLayoutProps, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleProps };
|