globalfy-design-system 1.40.0 → 1.42.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/DropdownList/CssVariants.d.ts +274 -0
- package/dist/components/atoms/DropdownList/DropdownAsyncList.d.ts +3 -0
- package/dist/components/atoms/DropdownList/DropdownAsyncListCreatable.d.ts +2 -2
- package/dist/components/atoms/DropdownList/DropdownComponents.d.ts +22 -0
- package/dist/components/atoms/DropdownList/DropdownList.d.ts +1 -46
- package/dist/components/atoms/DropdownList/DropdownList.stories.d.ts +1 -1
- package/dist/components/atoms/DropdownList/DropdownListCreatable.d.ts +2 -2
- package/dist/components/atoms/DropdownList/DropdownPaymentMethod.d.ts +1 -1
- package/dist/components/atoms/DropdownList/DropdownProps.d.ts +50 -0
- package/dist/components/atoms/DropdownList/index.d.ts +2 -1
- package/dist/components/atoms/Icon/glob-icons/glob-icons.d.ts +2 -0
- package/dist/components/atoms/Icon/glob-icons/icons/glob-globe-icon.d.ts +1 -0
- package/dist/components/atoms/Icon/glob-icons/icons/glob-taxes-icon.d.ts +1 -0
- package/dist/globalfy-design-system.js +14430 -14397
- package/dist/globalfy-design-system.umd.cjs +39 -39
- package/package.json +1 -1
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export declare const wrapperVariants: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
hasLabel: {
|
|
3
|
+
true: string;
|
|
4
|
+
};
|
|
5
|
+
}, undefined, "relative w-full rounded-lg", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
6
|
+
hasLabel: {
|
|
7
|
+
true: string;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
hasLabel: {
|
|
11
|
+
true: string;
|
|
12
|
+
};
|
|
13
|
+
}>, {
|
|
14
|
+
hasLabel: {
|
|
15
|
+
true: string;
|
|
16
|
+
};
|
|
17
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
18
|
+
hasLabel: {
|
|
19
|
+
true: string;
|
|
20
|
+
};
|
|
21
|
+
}, undefined, "relative w-full rounded-lg", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
22
|
+
hasLabel: {
|
|
23
|
+
true: string;
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
hasLabel: {
|
|
27
|
+
true: string;
|
|
28
|
+
};
|
|
29
|
+
}>, unknown, unknown, undefined>>;
|
|
30
|
+
export declare const controlVariants: import('tailwind-variants').TVReturnType<{
|
|
31
|
+
disabled: {
|
|
32
|
+
true: string;
|
|
33
|
+
};
|
|
34
|
+
isFocused: {
|
|
35
|
+
true: string;
|
|
36
|
+
};
|
|
37
|
+
isInvalid: {
|
|
38
|
+
true: string;
|
|
39
|
+
};
|
|
40
|
+
isCompleted: {
|
|
41
|
+
true: string;
|
|
42
|
+
};
|
|
43
|
+
isTransparent: {
|
|
44
|
+
true: string;
|
|
45
|
+
};
|
|
46
|
+
}, undefined, "block h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
47
|
+
disabled: {
|
|
48
|
+
true: string;
|
|
49
|
+
};
|
|
50
|
+
isFocused: {
|
|
51
|
+
true: string;
|
|
52
|
+
};
|
|
53
|
+
isInvalid: {
|
|
54
|
+
true: string;
|
|
55
|
+
};
|
|
56
|
+
isCompleted: {
|
|
57
|
+
true: string;
|
|
58
|
+
};
|
|
59
|
+
isTransparent: {
|
|
60
|
+
true: string;
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
disabled: {
|
|
64
|
+
true: string;
|
|
65
|
+
};
|
|
66
|
+
isFocused: {
|
|
67
|
+
true: string;
|
|
68
|
+
};
|
|
69
|
+
isInvalid: {
|
|
70
|
+
true: string;
|
|
71
|
+
};
|
|
72
|
+
isCompleted: {
|
|
73
|
+
true: string;
|
|
74
|
+
};
|
|
75
|
+
isTransparent: {
|
|
76
|
+
true: string;
|
|
77
|
+
};
|
|
78
|
+
}>, {
|
|
79
|
+
disabled: {
|
|
80
|
+
true: string;
|
|
81
|
+
};
|
|
82
|
+
isFocused: {
|
|
83
|
+
true: string;
|
|
84
|
+
};
|
|
85
|
+
isInvalid: {
|
|
86
|
+
true: string;
|
|
87
|
+
};
|
|
88
|
+
isCompleted: {
|
|
89
|
+
true: string;
|
|
90
|
+
};
|
|
91
|
+
isTransparent: {
|
|
92
|
+
true: string;
|
|
93
|
+
};
|
|
94
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
95
|
+
disabled: {
|
|
96
|
+
true: string;
|
|
97
|
+
};
|
|
98
|
+
isFocused: {
|
|
99
|
+
true: string;
|
|
100
|
+
};
|
|
101
|
+
isInvalid: {
|
|
102
|
+
true: string;
|
|
103
|
+
};
|
|
104
|
+
isCompleted: {
|
|
105
|
+
true: string;
|
|
106
|
+
};
|
|
107
|
+
isTransparent: {
|
|
108
|
+
true: string;
|
|
109
|
+
};
|
|
110
|
+
}, undefined, "block h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
111
|
+
disabled: {
|
|
112
|
+
true: string;
|
|
113
|
+
};
|
|
114
|
+
isFocused: {
|
|
115
|
+
true: string;
|
|
116
|
+
};
|
|
117
|
+
isInvalid: {
|
|
118
|
+
true: string;
|
|
119
|
+
};
|
|
120
|
+
isCompleted: {
|
|
121
|
+
true: string;
|
|
122
|
+
};
|
|
123
|
+
isTransparent: {
|
|
124
|
+
true: string;
|
|
125
|
+
};
|
|
126
|
+
}, {
|
|
127
|
+
disabled: {
|
|
128
|
+
true: string;
|
|
129
|
+
};
|
|
130
|
+
isFocused: {
|
|
131
|
+
true: string;
|
|
132
|
+
};
|
|
133
|
+
isInvalid: {
|
|
134
|
+
true: string;
|
|
135
|
+
};
|
|
136
|
+
isCompleted: {
|
|
137
|
+
true: string;
|
|
138
|
+
};
|
|
139
|
+
isTransparent: {
|
|
140
|
+
true: string;
|
|
141
|
+
};
|
|
142
|
+
}>, unknown, unknown, undefined>>;
|
|
143
|
+
export declare const placeHolderVariants: import('tailwind-variants').TVReturnType<{
|
|
144
|
+
disabled: {
|
|
145
|
+
true: string;
|
|
146
|
+
};
|
|
147
|
+
}, undefined, "font-satoshi text-sm leading-normal text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
148
|
+
disabled: {
|
|
149
|
+
true: string;
|
|
150
|
+
};
|
|
151
|
+
}, {
|
|
152
|
+
disabled: {
|
|
153
|
+
true: string;
|
|
154
|
+
};
|
|
155
|
+
}>, {
|
|
156
|
+
disabled: {
|
|
157
|
+
true: string;
|
|
158
|
+
};
|
|
159
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
160
|
+
disabled: {
|
|
161
|
+
true: string;
|
|
162
|
+
};
|
|
163
|
+
}, undefined, "font-satoshi text-sm leading-normal text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
164
|
+
disabled: {
|
|
165
|
+
true: string;
|
|
166
|
+
};
|
|
167
|
+
}, {
|
|
168
|
+
disabled: {
|
|
169
|
+
true: string;
|
|
170
|
+
};
|
|
171
|
+
}>, unknown, unknown, undefined>>;
|
|
172
|
+
export declare const DropdownIndicatorVariants: import('tailwind-variants').TVReturnType<{
|
|
173
|
+
disabled: {
|
|
174
|
+
true: string;
|
|
175
|
+
};
|
|
176
|
+
}, undefined, "text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
177
|
+
disabled: {
|
|
178
|
+
true: string;
|
|
179
|
+
};
|
|
180
|
+
}, {
|
|
181
|
+
disabled: {
|
|
182
|
+
true: string;
|
|
183
|
+
};
|
|
184
|
+
}>, {
|
|
185
|
+
disabled: {
|
|
186
|
+
true: string;
|
|
187
|
+
};
|
|
188
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
189
|
+
disabled: {
|
|
190
|
+
true: string;
|
|
191
|
+
};
|
|
192
|
+
}, undefined, "text-primary-grey-800", import('tailwind-variants/dist/config.js').TVConfig<{
|
|
193
|
+
disabled: {
|
|
194
|
+
true: string;
|
|
195
|
+
};
|
|
196
|
+
}, {
|
|
197
|
+
disabled: {
|
|
198
|
+
true: string;
|
|
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>>;
|
|
202
|
+
export declare const optionVariants: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium", import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium", import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
203
|
+
export declare const labelVariants: import('tailwind-variants').TVReturnType<{
|
|
204
|
+
hasValue: {
|
|
205
|
+
true: string;
|
|
206
|
+
};
|
|
207
|
+
isInvalid: {
|
|
208
|
+
true: string;
|
|
209
|
+
};
|
|
210
|
+
isCompleted: {
|
|
211
|
+
true: string;
|
|
212
|
+
};
|
|
213
|
+
}, 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<{
|
|
214
|
+
hasValue: {
|
|
215
|
+
true: string;
|
|
216
|
+
};
|
|
217
|
+
isInvalid: {
|
|
218
|
+
true: string;
|
|
219
|
+
};
|
|
220
|
+
isCompleted: {
|
|
221
|
+
true: string;
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
hasValue: {
|
|
225
|
+
true: string;
|
|
226
|
+
};
|
|
227
|
+
isInvalid: {
|
|
228
|
+
true: string;
|
|
229
|
+
};
|
|
230
|
+
isCompleted: {
|
|
231
|
+
true: string;
|
|
232
|
+
};
|
|
233
|
+
}>, {
|
|
234
|
+
hasValue: {
|
|
235
|
+
true: string;
|
|
236
|
+
};
|
|
237
|
+
isInvalid: {
|
|
238
|
+
true: string;
|
|
239
|
+
};
|
|
240
|
+
isCompleted: {
|
|
241
|
+
true: string;
|
|
242
|
+
};
|
|
243
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
244
|
+
hasValue: {
|
|
245
|
+
true: string;
|
|
246
|
+
};
|
|
247
|
+
isInvalid: {
|
|
248
|
+
true: string;
|
|
249
|
+
};
|
|
250
|
+
isCompleted: {
|
|
251
|
+
true: string;
|
|
252
|
+
};
|
|
253
|
+
}, 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<{
|
|
254
|
+
hasValue: {
|
|
255
|
+
true: string;
|
|
256
|
+
};
|
|
257
|
+
isInvalid: {
|
|
258
|
+
true: string;
|
|
259
|
+
};
|
|
260
|
+
isCompleted: {
|
|
261
|
+
true: string;
|
|
262
|
+
};
|
|
263
|
+
}, {
|
|
264
|
+
hasValue: {
|
|
265
|
+
true: string;
|
|
266
|
+
};
|
|
267
|
+
isInvalid: {
|
|
268
|
+
true: string;
|
|
269
|
+
};
|
|
270
|
+
isCompleted: {
|
|
271
|
+
true: string;
|
|
272
|
+
};
|
|
273
|
+
}>, unknown, unknown, undefined>>;
|
|
274
|
+
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", import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "mt-[5px] pl-3 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DropdownListProps } from './DropdownProps';
|
|
2
|
+
|
|
3
|
+
export declare const DropdownAsyncList: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, isClearable, onClear, customClassNames, cacheOptions, defaultOptions, loadOptions, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DropdownListProps } from './
|
|
1
|
+
import { DropdownListProps } from './DropdownProps';
|
|
2
2
|
|
|
3
|
-
export declare const DropdownAsyncListCreatable: ({ label, value,
|
|
3
|
+
export declare const DropdownAsyncListCreatable: ({ label, value, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, isSearchable, cacheOptions, defaultOptions, customOption, isClearable, loadOptions, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, onCreateOption, customClassNames, onInputChange, onClear, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, OptionProps, PlaceholderProps } from 'react-select';
|
|
3
|
+
import { OptionType } from './DropdownProps';
|
|
4
|
+
|
|
5
|
+
export declare const DropDownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
interface ControlComponentProps extends ControlProps {
|
|
7
|
+
label?: string;
|
|
8
|
+
isInvalid?: boolean;
|
|
9
|
+
isValid?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const Control: ({ label, isInvalid, isValid, ...props }: ControlComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Option: ({ innerRef, innerProps, children }: OptionProps<OptionType>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
interface CustomPlaceholderProps extends PlaceholderProps {
|
|
14
|
+
customPlaceholder?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const CustomPlaceholder: ({ children, customPlaceholder, ...props }: CustomPlaceholderProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
interface ClearIndicatorComponentProps extends ClearIndicatorProps {
|
|
18
|
+
onClear?: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const ClearIndicator: ({ onClear, innerProps }: ClearIndicatorComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const LoadingIndicator: () => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ActionMeta, ControlProps, DropdownIndicatorProps, OptionProps, ValueContainerProps } from 'react-select';
|
|
1
|
+
import { DropdownListProps } from './DropdownProps';
|
|
3
2
|
|
|
4
|
-
export type OptionType = {
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
};
|
|
7
|
-
type OptionsType = Array<OptionType>;
|
|
8
|
-
export type DropdownListProps = {
|
|
9
|
-
label?: string;
|
|
10
|
-
value?: OptionType | null;
|
|
11
|
-
options: OptionsType;
|
|
12
|
-
customOption?: ComponentType<OptionProps<OptionType>>;
|
|
13
|
-
className?: string;
|
|
14
|
-
onChange: (newValue: unknown, actionMeta: ActionMeta<unknown>) => void;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
customPlaceholder?: ReactNode;
|
|
17
|
-
errorMessage?: string;
|
|
18
|
-
isInvalid?: boolean;
|
|
19
|
-
isSearchable?: boolean;
|
|
20
|
-
isValid?: boolean;
|
|
21
|
-
isTransparent?: boolean;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
defaultValue?: OptionType;
|
|
24
|
-
noOptionsMessage?: string;
|
|
25
|
-
customControl?: ComponentType<ControlProps>;
|
|
26
|
-
customDropdownIndicator?: ComponentType<DropdownIndicatorProps>;
|
|
27
|
-
customValueContainer?: ComponentType<ValueContainerProps>;
|
|
28
|
-
onCreateOption?: (inputValue: string) => void;
|
|
29
|
-
isLoading?: boolean;
|
|
30
|
-
isClearable?: boolean;
|
|
31
|
-
onClear?: () => void;
|
|
32
|
-
customClassNames?: {
|
|
33
|
-
menuList?: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export type DropdownCreditCardOption = {
|
|
37
|
-
label?: string;
|
|
38
|
-
prefix: ReactNode;
|
|
39
|
-
isDefault?: boolean;
|
|
40
|
-
isExpired?: boolean;
|
|
41
|
-
defaultName?: string;
|
|
42
|
-
expiredName?: string;
|
|
43
|
-
};
|
|
44
|
-
export type DropdownCreditCardProps = {
|
|
45
|
-
options: DropdownCreditCardOption[];
|
|
46
|
-
} & Omit<DropdownListProps, 'options'>;
|
|
47
3
|
export declare const DropdownList: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, isClearable, onClear, customClassNames, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export {};
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, isClearable, onClear, customClassNames, ...props }: import('./
|
|
5
|
+
component: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, isClearable, onClear, customClassNames, ...props }: import('./DropdownProps').DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
parameters: {
|
|
8
8
|
layout: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DropdownListProps } from './
|
|
1
|
+
import { DropdownListProps } from './DropdownProps';
|
|
2
2
|
|
|
3
|
-
export declare const DropdownListCreatable: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, onCreateOption, isLoading, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const DropdownListCreatable: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, onCreateOption, isLoading, customClassNames, isClearable, onClear, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { ActionMeta, ControlProps, DropdownIndicatorProps, InputActionMeta, OptionProps, ValueContainerProps } from 'react-select';
|
|
3
|
+
|
|
4
|
+
export type OptionType = {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
};
|
|
7
|
+
export type OptionsType = Array<OptionType>;
|
|
8
|
+
export type DropdownListProps = {
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: OptionType | null;
|
|
11
|
+
options?: OptionsType;
|
|
12
|
+
customOption?: ComponentType<OptionProps<OptionType>>;
|
|
13
|
+
className?: string;
|
|
14
|
+
onChange: (newValue: unknown, actionMeta: ActionMeta<unknown>) => void;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
customPlaceholder?: ReactNode;
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
isInvalid?: boolean;
|
|
19
|
+
isSearchable?: boolean;
|
|
20
|
+
isValid?: boolean;
|
|
21
|
+
isTransparent?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
defaultValue?: OptionType;
|
|
24
|
+
noOptionsMessage?: string;
|
|
25
|
+
customControl?: ComponentType<ControlProps>;
|
|
26
|
+
customDropdownIndicator?: ComponentType<DropdownIndicatorProps>;
|
|
27
|
+
customValueContainer?: ComponentType<ValueContainerProps>;
|
|
28
|
+
onCreateOption?: (inputValue: string) => void;
|
|
29
|
+
isLoading?: boolean;
|
|
30
|
+
isClearable?: boolean;
|
|
31
|
+
onClear?: () => void;
|
|
32
|
+
customClassNames?: {
|
|
33
|
+
menuList?: string;
|
|
34
|
+
};
|
|
35
|
+
onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
|
|
36
|
+
loadOptions?: (inputValue: string, callback: (options: OptionsType) => void) => Promise<OptionsType> | void;
|
|
37
|
+
cacheOptions?: boolean;
|
|
38
|
+
defaultOptions?: boolean;
|
|
39
|
+
};
|
|
40
|
+
export type DropdownCreditCardOption = {
|
|
41
|
+
label?: string;
|
|
42
|
+
prefix: ReactNode;
|
|
43
|
+
isDefault?: boolean;
|
|
44
|
+
isExpired?: boolean;
|
|
45
|
+
defaultName?: string;
|
|
46
|
+
expiredName?: string;
|
|
47
|
+
};
|
|
48
|
+
export type DropdownCreditCardProps = {
|
|
49
|
+
options: DropdownCreditCardOption[];
|
|
50
|
+
} & Omit<DropdownListProps, 'options'>;
|
|
@@ -12,3 +12,5 @@ export * from './icons/glob-scale-plan-icon';
|
|
|
12
12
|
export * from './icons/glob-starter-plan-icon';
|
|
13
13
|
export * from './icons/glob-visa-icon';
|
|
14
14
|
export * from './icons/glob-xls-icon';
|
|
15
|
+
export * from './icons/glob-taxes-icon';
|
|
16
|
+
export * from './icons/glob-globe-icon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobGlobeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobTaxesIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|