globalfy-design-system 1.50.0 → 1.51.0
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/components/atoms/Alert/Alert.d.ts +0 -1
- package/dist/components/atoms/Button/Button.d.ts +38 -182
- package/dist/components/atoms/Button/SpinnerIcon.d.ts +41 -105
- package/dist/components/atoms/Chip/Chip.d.ts +1 -1
- package/dist/components/atoms/DatePicker/DatePicker.stories.d.ts +0 -1
- package/dist/components/atoms/DropdownList/CssVariants.d.ts +58 -246
- package/dist/components/atoms/DropdownList/DropdownComponents.d.ts +1 -1
- package/dist/components/atoms/DropdownList/DropdownProps.d.ts +1 -1
- package/dist/components/atoms/Flag/Flag.d.ts +1 -1
- package/dist/components/atoms/GlobCheckbox/GlobCheckbox.d.ts +1 -1
- package/dist/components/atoms/GlobCheckbox/GlobCheckbox.stories.d.ts +4 -4
- package/dist/components/atoms/Icon/Icon.d.ts +1 -1
- package/dist/components/atoms/Icon/glob-icons/glob-icons-list.d.ts +0 -1
- package/dist/components/atoms/Input/Input.d.ts +13 -13
- package/dist/components/atoms/Input/Input.stories.d.ts +15 -15
- package/dist/components/atoms/Input/InputPassword.d.ts +1 -1
- package/dist/components/atoms/InputMask/InputMask.d.ts +13 -14
- package/dist/components/atoms/InputMask/InputMask.stories.d.ts +14 -14
- package/dist/components/atoms/PhoneNumberInput/PhoneNumberInput.d.ts +1 -1
- package/dist/components/atoms/PhoneNumberInput/PhoneNumberInput.stories.d.ts +1 -1
- package/dist/components/atoms/Popover/Popover.d.ts +0 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/atoms/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/components/atoms/Tabs/Tabs.d.ts +1 -1
- package/dist/components/atoms/Tag/Tag.d.ts +1 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts +9 -9
- package/dist/components/atoms/TextArea/TextArea.stories.d.ts +8 -8
- package/dist/components/atoms/TextInput/TextInput.d.ts +2 -2
- package/dist/components/atoms/TextInput/TextInput.stories.d.ts +1 -1
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +0 -1
- package/dist/components/atoms/Typography/Typography.d.ts +1 -1
- package/dist/components/molecules/empty-state/empty-state.d.ts +0 -1
- package/dist/components/molecules/error-state/error-state.d.ts +0 -1
- package/dist/components/molecules/popover-menu/variants.d.ts +28 -92
- package/dist/globalfy-design-system.js +1140 -1138
- package/dist/globalfy-design-system.umd.cjs +119 -104
- package/dist/{index-3ac2ba72.js → index-d0fbec66.js} +1 -1
- package/dist/{main-ab5d96a3.js → main-f599c3e3.js} +37361 -31425
- package/package.json +24 -24
|
@@ -1,338 +1,150 @@
|
|
|
1
1
|
export declare const wrapperVariants: import('tailwind-variants').TVReturnType<{
|
|
2
2
|
hasLabel: {
|
|
3
|
-
true:
|
|
3
|
+
true: string;
|
|
4
4
|
};
|
|
5
|
-
}, undefined, "relative w-full rounded-lg",
|
|
5
|
+
}, undefined, "relative w-full rounded-lg", {
|
|
6
6
|
hasLabel: {
|
|
7
|
-
true:
|
|
8
|
-
};
|
|
9
|
-
}, {
|
|
10
|
-
hasLabel: {
|
|
11
|
-
true: "pt-[26px]";
|
|
12
|
-
};
|
|
13
|
-
}>, {
|
|
14
|
-
hasLabel: {
|
|
15
|
-
true: "pt-[26px]";
|
|
7
|
+
true: string;
|
|
16
8
|
};
|
|
17
9
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
18
10
|
hasLabel: {
|
|
19
|
-
true:
|
|
11
|
+
true: string;
|
|
20
12
|
};
|
|
21
|
-
}, undefined, "relative w-full rounded-lg",
|
|
22
|
-
hasLabel: {
|
|
23
|
-
true: "pt-[26px]";
|
|
24
|
-
};
|
|
25
|
-
}, {
|
|
26
|
-
hasLabel: {
|
|
27
|
-
true: "pt-[26px]";
|
|
28
|
-
};
|
|
29
|
-
}>, unknown, unknown, undefined>>;
|
|
13
|
+
}, undefined, "relative w-full rounded-lg", unknown, unknown, undefined>>;
|
|
30
14
|
export declare const controlVariants: import('tailwind-variants').TVReturnType<{
|
|
31
15
|
disabled: {
|
|
32
|
-
true:
|
|
33
|
-
};
|
|
34
|
-
isFocused: {
|
|
35
|
-
true: "border border-2 border-primary-green-500 text-black";
|
|
36
|
-
};
|
|
37
|
-
isInvalid: {
|
|
38
|
-
true: "border-complementary-red-500";
|
|
39
|
-
};
|
|
40
|
-
isCompleted: {
|
|
41
|
-
true: "border-secondary-green-500";
|
|
42
|
-
};
|
|
43
|
-
isTransparent: {
|
|
44
|
-
true: "!bg-transparent";
|
|
45
|
-
};
|
|
46
|
-
}, undefined, "block min-h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4 py-3", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
47
|
-
disabled: {
|
|
48
|
-
true: "border-primary-grey-500 bg-primary-grey-500";
|
|
49
|
-
};
|
|
50
|
-
isFocused: {
|
|
51
|
-
true: "border border-2 border-primary-green-500 text-black";
|
|
52
|
-
};
|
|
53
|
-
isInvalid: {
|
|
54
|
-
true: "border-complementary-red-500";
|
|
55
|
-
};
|
|
56
|
-
isCompleted: {
|
|
57
|
-
true: "border-secondary-green-500";
|
|
58
|
-
};
|
|
59
|
-
isTransparent: {
|
|
60
|
-
true: "!bg-transparent";
|
|
61
|
-
};
|
|
62
|
-
}, {
|
|
63
|
-
disabled: {
|
|
64
|
-
true: "border-primary-grey-500 bg-primary-grey-500";
|
|
16
|
+
true: string;
|
|
65
17
|
};
|
|
66
18
|
isFocused: {
|
|
67
|
-
true:
|
|
19
|
+
true: string;
|
|
68
20
|
};
|
|
69
21
|
isInvalid: {
|
|
70
|
-
true:
|
|
22
|
+
true: string;
|
|
71
23
|
};
|
|
72
24
|
isCompleted: {
|
|
73
|
-
true:
|
|
25
|
+
true: string;
|
|
74
26
|
};
|
|
75
27
|
isTransparent: {
|
|
76
|
-
true:
|
|
28
|
+
true: string;
|
|
77
29
|
};
|
|
78
|
-
}
|
|
30
|
+
}, undefined, "block min-h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4 py-3", {
|
|
79
31
|
disabled: {
|
|
80
|
-
true:
|
|
32
|
+
true: string;
|
|
81
33
|
};
|
|
82
34
|
isFocused: {
|
|
83
|
-
true:
|
|
35
|
+
true: string;
|
|
84
36
|
};
|
|
85
37
|
isInvalid: {
|
|
86
|
-
true:
|
|
38
|
+
true: string;
|
|
87
39
|
};
|
|
88
40
|
isCompleted: {
|
|
89
|
-
true:
|
|
41
|
+
true: string;
|
|
90
42
|
};
|
|
91
43
|
isTransparent: {
|
|
92
|
-
true:
|
|
44
|
+
true: string;
|
|
93
45
|
};
|
|
94
46
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
95
47
|
disabled: {
|
|
96
|
-
true:
|
|
97
|
-
};
|
|
98
|
-
isFocused: {
|
|
99
|
-
true: "border border-2 border-primary-green-500 text-black";
|
|
100
|
-
};
|
|
101
|
-
isInvalid: {
|
|
102
|
-
true: "border-complementary-red-500";
|
|
103
|
-
};
|
|
104
|
-
isCompleted: {
|
|
105
|
-
true: "border-secondary-green-500";
|
|
106
|
-
};
|
|
107
|
-
isTransparent: {
|
|
108
|
-
true: "!bg-transparent";
|
|
109
|
-
};
|
|
110
|
-
}, undefined, "block min-h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4 py-3", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
111
|
-
disabled: {
|
|
112
|
-
true: "border-primary-grey-500 bg-primary-grey-500";
|
|
113
|
-
};
|
|
114
|
-
isFocused: {
|
|
115
|
-
true: "border border-2 border-primary-green-500 text-black";
|
|
116
|
-
};
|
|
117
|
-
isInvalid: {
|
|
118
|
-
true: "border-complementary-red-500";
|
|
119
|
-
};
|
|
120
|
-
isCompleted: {
|
|
121
|
-
true: "border-secondary-green-500";
|
|
122
|
-
};
|
|
123
|
-
isTransparent: {
|
|
124
|
-
true: "!bg-transparent";
|
|
125
|
-
};
|
|
126
|
-
}, {
|
|
127
|
-
disabled: {
|
|
128
|
-
true: "border-primary-grey-500 bg-primary-grey-500";
|
|
48
|
+
true: string;
|
|
129
49
|
};
|
|
130
50
|
isFocused: {
|
|
131
|
-
true:
|
|
51
|
+
true: string;
|
|
132
52
|
};
|
|
133
53
|
isInvalid: {
|
|
134
|
-
true:
|
|
54
|
+
true: string;
|
|
135
55
|
};
|
|
136
56
|
isCompleted: {
|
|
137
|
-
true:
|
|
57
|
+
true: string;
|
|
138
58
|
};
|
|
139
59
|
isTransparent: {
|
|
140
|
-
true:
|
|
60
|
+
true: string;
|
|
141
61
|
};
|
|
142
|
-
}
|
|
62
|
+
}, undefined, "block min-h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4 py-3", unknown, unknown, undefined>>;
|
|
143
63
|
export declare const placeHolderVariants: import('tailwind-variants').TVReturnType<{
|
|
144
64
|
disabled: {
|
|
145
|
-
true:
|
|
146
|
-
};
|
|
147
|
-
}, undefined, "font-satoshi text-sm leading-normal text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
148
|
-
disabled: {
|
|
149
|
-
true: "text-primary-grey-700";
|
|
150
|
-
};
|
|
151
|
-
}, {
|
|
152
|
-
disabled: {
|
|
153
|
-
true: "text-primary-grey-700";
|
|
65
|
+
true: string;
|
|
154
66
|
};
|
|
155
|
-
}
|
|
67
|
+
}, undefined, "font-satoshi text-sm leading-normal text-primary-grey-800", {
|
|
156
68
|
disabled: {
|
|
157
|
-
true:
|
|
69
|
+
true: string;
|
|
158
70
|
};
|
|
159
71
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
160
72
|
disabled: {
|
|
161
|
-
true:
|
|
73
|
+
true: string;
|
|
162
74
|
};
|
|
163
|
-
}, undefined, "font-satoshi text-sm leading-normal text-primary-grey-800",
|
|
164
|
-
disabled: {
|
|
165
|
-
true: "text-primary-grey-700";
|
|
166
|
-
};
|
|
167
|
-
}, {
|
|
168
|
-
disabled: {
|
|
169
|
-
true: "text-primary-grey-700";
|
|
170
|
-
};
|
|
171
|
-
}>, unknown, unknown, undefined>>;
|
|
75
|
+
}, undefined, "font-satoshi text-sm leading-normal text-primary-grey-800", unknown, unknown, undefined>>;
|
|
172
76
|
export declare const DropdownIndicatorVariants: import('tailwind-variants').TVReturnType<{
|
|
173
77
|
disabled: {
|
|
174
|
-
true:
|
|
78
|
+
true: string;
|
|
175
79
|
};
|
|
176
|
-
}, undefined, "text-primary-grey-800",
|
|
80
|
+
}, undefined, "text-primary-grey-800", {
|
|
177
81
|
disabled: {
|
|
178
|
-
true:
|
|
179
|
-
};
|
|
180
|
-
}, {
|
|
181
|
-
disabled: {
|
|
182
|
-
true: "text-primary-grey-700";
|
|
183
|
-
};
|
|
184
|
-
}>, {
|
|
185
|
-
disabled: {
|
|
186
|
-
true: "text-primary-grey-700";
|
|
82
|
+
true: string;
|
|
187
83
|
};
|
|
188
84
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
189
85
|
disabled: {
|
|
190
|
-
true:
|
|
191
|
-
};
|
|
192
|
-
}, undefined, "text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
193
|
-
disabled: {
|
|
194
|
-
true: "text-primary-grey-700";
|
|
86
|
+
true: string;
|
|
195
87
|
};
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
true: "text-primary-grey-700";
|
|
199
|
-
};
|
|
200
|
-
}>, unknown, unknown, undefined>>;
|
|
201
|
-
export declare const menuListVariants: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2", import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2", import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
88
|
+
}, undefined, "text-primary-grey-800", unknown, unknown, undefined>>;
|
|
89
|
+
export declare const menuListVariants: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2", unknown, unknown, undefined>>;
|
|
202
90
|
export declare const optionVariants: import('tailwind-variants').TVReturnType<{
|
|
203
91
|
selected: {
|
|
204
|
-
true:
|
|
205
|
-
false:
|
|
206
|
-
};
|
|
207
|
-
}, undefined, "cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
208
|
-
selected: {
|
|
209
|
-
true: "bg-secondary-green-500 font-medium text-white";
|
|
210
|
-
false: "hover:bg-primary-grey-500 hover:font-medium hover:text-primary-grey-800";
|
|
211
|
-
};
|
|
212
|
-
}, {
|
|
213
|
-
selected: {
|
|
214
|
-
true: "bg-secondary-green-500 font-medium text-white";
|
|
215
|
-
false: "hover:bg-primary-grey-500 hover:font-medium hover:text-primary-grey-800";
|
|
92
|
+
true: string;
|
|
93
|
+
false: string;
|
|
216
94
|
};
|
|
217
|
-
}
|
|
95
|
+
}, undefined, "cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800", {
|
|
218
96
|
selected: {
|
|
219
|
-
true:
|
|
220
|
-
false:
|
|
97
|
+
true: string;
|
|
98
|
+
false: string;
|
|
221
99
|
};
|
|
222
100
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
223
101
|
selected: {
|
|
224
|
-
true:
|
|
225
|
-
false:
|
|
226
|
-
};
|
|
227
|
-
}, undefined, "cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
228
|
-
selected: {
|
|
229
|
-
true: "bg-secondary-green-500 font-medium text-white";
|
|
230
|
-
false: "hover:bg-primary-grey-500 hover:font-medium hover:text-primary-grey-800";
|
|
231
|
-
};
|
|
232
|
-
}, {
|
|
233
|
-
selected: {
|
|
234
|
-
true: "bg-secondary-green-500 font-medium text-white";
|
|
235
|
-
false: "hover:bg-primary-grey-500 hover:font-medium hover:text-primary-grey-800";
|
|
102
|
+
true: string;
|
|
103
|
+
false: string;
|
|
236
104
|
};
|
|
237
|
-
}
|
|
105
|
+
}, undefined, "cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800", unknown, unknown, undefined>>;
|
|
238
106
|
export declare const labelVariants: import('tailwind-variants').TVReturnType<{
|
|
239
107
|
hasValue: {
|
|
240
|
-
true:
|
|
241
|
-
};
|
|
242
|
-
isInvalid: {
|
|
243
|
-
true: "text-complementary-red-500";
|
|
244
|
-
};
|
|
245
|
-
isCompleted: {
|
|
246
|
-
true: "text-secondary-green-500";
|
|
247
|
-
};
|
|
248
|
-
}, undefined, "pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
249
|
-
hasValue: {
|
|
250
|
-
true: "visible -top-6 text-xs transition-all duration-200";
|
|
108
|
+
true: string;
|
|
251
109
|
};
|
|
252
110
|
isInvalid: {
|
|
253
|
-
true:
|
|
111
|
+
true: string;
|
|
254
112
|
};
|
|
255
113
|
isCompleted: {
|
|
256
|
-
true:
|
|
114
|
+
true: string;
|
|
257
115
|
};
|
|
258
|
-
}, {
|
|
116
|
+
}, undefined, "pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200", {
|
|
259
117
|
hasValue: {
|
|
260
|
-
true:
|
|
118
|
+
true: string;
|
|
261
119
|
};
|
|
262
120
|
isInvalid: {
|
|
263
|
-
true:
|
|
121
|
+
true: string;
|
|
264
122
|
};
|
|
265
123
|
isCompleted: {
|
|
266
|
-
true:
|
|
267
|
-
};
|
|
268
|
-
}>, {
|
|
269
|
-
hasValue: {
|
|
270
|
-
true: "visible -top-6 text-xs transition-all duration-200";
|
|
271
|
-
};
|
|
272
|
-
isInvalid: {
|
|
273
|
-
true: "text-complementary-red-500";
|
|
274
|
-
};
|
|
275
|
-
isCompleted: {
|
|
276
|
-
true: "text-secondary-green-500";
|
|
124
|
+
true: string;
|
|
277
125
|
};
|
|
278
126
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
279
127
|
hasValue: {
|
|
280
|
-
true:
|
|
281
|
-
};
|
|
282
|
-
isInvalid: {
|
|
283
|
-
true: "text-complementary-red-500";
|
|
284
|
-
};
|
|
285
|
-
isCompleted: {
|
|
286
|
-
true: "text-secondary-green-500";
|
|
287
|
-
};
|
|
288
|
-
}, undefined, "pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
289
|
-
hasValue: {
|
|
290
|
-
true: "visible -top-6 text-xs transition-all duration-200";
|
|
291
|
-
};
|
|
292
|
-
isInvalid: {
|
|
293
|
-
true: "text-complementary-red-500";
|
|
294
|
-
};
|
|
295
|
-
isCompleted: {
|
|
296
|
-
true: "text-secondary-green-500";
|
|
297
|
-
};
|
|
298
|
-
}, {
|
|
299
|
-
hasValue: {
|
|
300
|
-
true: "visible -top-6 text-xs transition-all duration-200";
|
|
128
|
+
true: string;
|
|
301
129
|
};
|
|
302
130
|
isInvalid: {
|
|
303
|
-
true:
|
|
131
|
+
true: string;
|
|
304
132
|
};
|
|
305
133
|
isCompleted: {
|
|
306
|
-
true:
|
|
134
|
+
true: string;
|
|
307
135
|
};
|
|
308
|
-
}
|
|
309
|
-
export declare const errorMessageVariants: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "mt-[5px] pl-3 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",
|
|
136
|
+
}, undefined, "pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200", unknown, unknown, undefined>>;
|
|
137
|
+
export declare const errorMessageVariants: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "mt-[5px] pl-3 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "mt-[5px] pl-3 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", unknown, unknown, undefined>>;
|
|
310
138
|
export declare const MultiValueContainerVariants: import('tailwind-variants').TVReturnType<{
|
|
311
139
|
isDisabled: {
|
|
312
|
-
true:
|
|
313
|
-
};
|
|
314
|
-
}, undefined, "flex h-7 w-[6.125rem] w-full items-center justify-center gap-2 rounded-[3rem] border border-primary-green-500 px-4 py-1", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
315
|
-
isDisabled: {
|
|
316
|
-
true: "border-none bg-primary-grey-500";
|
|
140
|
+
true: string;
|
|
317
141
|
};
|
|
318
|
-
}, {
|
|
142
|
+
}, undefined, "flex h-7 w-[6.125rem] w-full items-center justify-center gap-2 rounded-[3rem] border border-primary-green-500 px-4 py-1", {
|
|
319
143
|
isDisabled: {
|
|
320
|
-
true:
|
|
321
|
-
};
|
|
322
|
-
}>, {
|
|
323
|
-
isDisabled: {
|
|
324
|
-
true: "border-none bg-primary-grey-500";
|
|
144
|
+
true: string;
|
|
325
145
|
};
|
|
326
146
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
327
147
|
isDisabled: {
|
|
328
|
-
true:
|
|
329
|
-
};
|
|
330
|
-
}, undefined, "flex h-7 w-[6.125rem] w-full items-center justify-center gap-2 rounded-[3rem] border border-primary-green-500 px-4 py-1", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
331
|
-
isDisabled: {
|
|
332
|
-
true: "border-none bg-primary-grey-500";
|
|
333
|
-
};
|
|
334
|
-
}, {
|
|
335
|
-
isDisabled: {
|
|
336
|
-
true: "border-none bg-primary-grey-500";
|
|
148
|
+
true: string;
|
|
337
149
|
};
|
|
338
|
-
}
|
|
150
|
+
}, undefined, "flex h-7 w-[6.125rem] w-full items-center justify-center gap-2 rounded-[3rem] border border-primary-green-500 px-4 py-1", unknown, unknown, undefined>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MultiValueProps, MultiValueRemoveProps, OptionProps, PlaceholderProps, ValueContainerProps } from 'react-select';
|
|
3
3
|
import { OptionType } from './DropdownProps';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
1
|
+
import { ComponentType, ReactNode } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ActionMeta, ControlProps, DropdownIndicatorProps, InputActionMeta, OptionProps, ValueContainerProps } from 'react-select';
|
|
3
3
|
|
|
4
4
|
export type OptionType = {
|
|
@@ -3,10 +3,10 @@ import { StoryObj } from '@storybook/react';
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: ({ value, checked, onChange, disabled }: {
|
|
6
|
-
value?: string
|
|
7
|
-
checked?: boolean
|
|
8
|
-
disabled?: boolean
|
|
9
|
-
onChange?: import('react').ChangeEventHandler<HTMLInputElement
|
|
6
|
+
value?: string;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
onChange?: import('../../../../node_modules/@types/react').ChangeEventHandler<HTMLInputElement>;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
tags: string[];
|
|
12
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
1
|
+
import { HTMLAttributes } from '../../../../node_modules/@types/react';
|
|
2
2
|
|
|
3
3
|
export type IconNames = 'add-circle' | 'alert-circle' | 'bank' | 'briefcase' | 'building' | 'calendar' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'close' | 'credit-card-number' | 'credit-card' | 'download' | 'external-link' | 'eye-close' | 'eye-open' | 'file-upload' | 'filters' | 'help-circle' | 'image-broken' | 'mail' | 'open' | 'refresh' | 'Request' | 'resend' | 'ship' | 'user' | 'users' | 'wallet';
|
|
4
4
|
export type IconProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
|
|
3
3
|
export type InputProps = {
|
|
4
4
|
label?: string;
|
|
@@ -17,17 +17,17 @@ export type InputProps = {
|
|
|
17
17
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'defaultValue' | 'color' | 'onFocus' | 'onBlur'>;
|
|
18
18
|
export type InputPasswordProps = Omit<InputProps, 'icon' | 'type' | 'isDatePicker'>;
|
|
19
19
|
export declare const Input: React.ForwardRefExoticComponent<{
|
|
20
|
-
label?: string
|
|
21
|
-
placeholder?: string
|
|
22
|
-
message?: string
|
|
20
|
+
label?: string;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
message?: string;
|
|
23
23
|
icon?: React.ReactNode;
|
|
24
|
-
isInvalid?: boolean
|
|
25
|
-
isRequired?: boolean
|
|
26
|
-
isValid?: boolean
|
|
27
|
-
disabled?: boolean
|
|
28
|
-
value?: string
|
|
29
|
-
isDatePicker?: boolean
|
|
30
|
-
iconAction?: (
|
|
31
|
-
iconSize?: "small" | "large"
|
|
32
|
-
spellCheck?: "
|
|
24
|
+
isInvalid?: boolean;
|
|
25
|
+
isRequired?: boolean;
|
|
26
|
+
isValid?: boolean;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
value?: string;
|
|
29
|
+
isDatePicker?: boolean;
|
|
30
|
+
iconAction?: () => void;
|
|
31
|
+
iconSize?: "small" | "large";
|
|
32
|
+
spellCheck?: "false" | "true";
|
|
33
33
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -2,21 +2,21 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import('react').ForwardRefExoticComponent<{
|
|
6
|
-
label?: string
|
|
7
|
-
placeholder?: string
|
|
8
|
-
message?: string
|
|
9
|
-
icon?:
|
|
10
|
-
isInvalid?: boolean
|
|
11
|
-
isRequired?: boolean
|
|
12
|
-
isValid?: boolean
|
|
13
|
-
disabled?: boolean
|
|
14
|
-
value?: string
|
|
15
|
-
isDatePicker?: boolean
|
|
16
|
-
iconAction?: (
|
|
17
|
-
iconSize?: "small" | "large"
|
|
18
|
-
spellCheck?: "
|
|
19
|
-
} & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
5
|
+
component: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<{
|
|
6
|
+
label?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
isInvalid?: boolean;
|
|
11
|
+
isRequired?: boolean;
|
|
12
|
+
isValid?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
value?: string;
|
|
15
|
+
isDatePicker?: boolean;
|
|
16
|
+
iconAction?: () => void;
|
|
17
|
+
iconSize?: "small" | "large";
|
|
18
|
+
spellCheck?: "false" | "true";
|
|
19
|
+
} & Omit<import('../../../../node_modules/@types/react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('../../../../node_modules/@types/react').RefAttributes<HTMLInputElement>>;
|
|
20
20
|
tags: string[];
|
|
21
21
|
};
|
|
22
22
|
export default meta;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { InputPasswordProps } from '.';
|
|
2
2
|
|
|
3
|
-
export declare const InputPassword: import('react').ForwardRefExoticComponent<InputPasswordProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
3
|
+
export declare const InputPassword: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<InputPasswordProps & import('../../../../node_modules/@types/react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type InputMaskProps = {
|
|
3
2
|
label?: string;
|
|
4
3
|
placeholder?: string;
|
|
@@ -13,17 +12,17 @@ export type InputMaskProps = {
|
|
|
13
12
|
mask?: string;
|
|
14
13
|
removeTopMargin?: boolean;
|
|
15
14
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'defaultValue' | 'color' | 'onFocus' | 'onBlur'>;
|
|
16
|
-
export declare const InputMask: import('react').ForwardRefExoticComponent<{
|
|
17
|
-
label?: string
|
|
18
|
-
placeholder?: string
|
|
19
|
-
message?: string
|
|
15
|
+
export declare const InputMask: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<{
|
|
16
|
+
label?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
message?: string;
|
|
20
19
|
icon?: React.ReactNode;
|
|
21
|
-
isInvalid?: boolean
|
|
22
|
-
isValid?: boolean
|
|
23
|
-
disabled?: boolean
|
|
24
|
-
value?: string
|
|
25
|
-
isDatePicker?: boolean
|
|
26
|
-
iconAction?: (
|
|
27
|
-
mask?: string
|
|
28
|
-
removeTopMargin?: boolean
|
|
29
|
-
} & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
20
|
+
isInvalid?: boolean;
|
|
21
|
+
isValid?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
value?: string;
|
|
24
|
+
isDatePicker?: boolean;
|
|
25
|
+
iconAction?: () => void;
|
|
26
|
+
mask?: string;
|
|
27
|
+
removeTopMargin?: boolean;
|
|
28
|
+
} & Omit<import('../../../../node_modules/@types/react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('../../../../node_modules/@types/react').RefAttributes<HTMLInputElement>>;
|
|
@@ -2,20 +2,20 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import('react').ForwardRefExoticComponent<{
|
|
6
|
-
label?: string
|
|
7
|
-
placeholder?: string
|
|
8
|
-
message?: string
|
|
9
|
-
icon?:
|
|
10
|
-
isInvalid?: boolean
|
|
11
|
-
isValid?: boolean
|
|
12
|
-
disabled?: boolean
|
|
13
|
-
value?: string
|
|
14
|
-
isDatePicker?: boolean
|
|
15
|
-
iconAction?: (
|
|
16
|
-
mask?: string
|
|
17
|
-
removeTopMargin?: boolean
|
|
18
|
-
} & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
5
|
+
component: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<{
|
|
6
|
+
label?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
isInvalid?: boolean;
|
|
11
|
+
isValid?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
value?: string;
|
|
14
|
+
isDatePicker?: boolean;
|
|
15
|
+
iconAction?: () => void;
|
|
16
|
+
mask?: string;
|
|
17
|
+
removeTopMargin?: boolean;
|
|
18
|
+
} & Omit<import('../../../../node_modules/@types/react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('../../../../node_modules/@types/react').RefAttributes<HTMLInputElement>>;
|
|
19
19
|
tags: string[];
|
|
20
20
|
};
|
|
21
21
|
export default meta;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ParsedCountry } from 'react-international-phone';
|
|
3
3
|
|
|
4
4
|
export type PhoneNumberInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> & {
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import('react').FC<import('./PhoneNumberInput').PhoneNumberInputProps>;
|
|
5
|
+
component: import('../../../../node_modules/@types/react').FC<import('./PhoneNumberInput').PhoneNumberInputProps>;
|
|
6
6
|
tags: string[];
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|