@salutejs/plasma-new-hope 0.190.0-canary.1552.11794692529.0 → 0.190.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +0 -2
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -31
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +0 -2
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +0 -2
- package/cjs/components/Dropdown/Dropdown.js +6 -4
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/index.css +0 -2
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -32
- package/emotion/cjs/components/Dropdown/Dropdown.js +6 -4
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +7 -33
- package/emotion/es/components/Dropdown/Dropdown.js +6 -4
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/es/components/Combobox/ComboboxNew/Combobox.css +0 -2
- package/es/components/Combobox/ComboboxNew/Combobox.js +8 -33
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +0 -2
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +0 -2
- package/es/components/Dropdown/Dropdown.js +6 -4
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/index.css +0 -2
- package/package.json +2 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -32
- package/styled-components/cjs/components/Dropdown/Dropdown.js +6 -4
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +7 -33
- package/styled-components/es/components/Dropdown/Dropdown.js +6 -4
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +9 -0
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +2 -24
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +4 -0
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +120 -1080
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +120 -1080
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.css +0 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -37
- package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js.map +0 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -15
- package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +0 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +0 -1
- package/cjs/utils/syntheticEvent.js +0 -55
- package/cjs/utils/syntheticEvent.js.map +0 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -38
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -13
- package/emotion/cjs/utils/syntheticEvent.js +0 -53
- package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -29
- package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -6
- package/emotion/es/utils/syntheticEvent.js +0 -47
- package/es/components/Combobox/ComboboxNew/ui/Form/Form.css +0 -1
- package/es/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -33
- package/es/components/Combobox/ComboboxNew/ui/Form/Form.js.map +0 -1
- package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -11
- package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +0 -1
- package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +0 -1
- package/es/utils/syntheticEvent.js +0 -50
- package/es/utils/syntheticEvent.js.map +0 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -38
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -12
- package/styled-components/cjs/utils/syntheticEvent.js +0 -53
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -29
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -5
- package/styled-components/es/utils/syntheticEvent.js +0 -47
- package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts +0 -6
- package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts.map +0 -1
- package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts +0 -3
- package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts.map +0 -1
- package/types/utils/syntheticEvent.d.ts +0 -4
- package/types/utils/syntheticEvent.d.ts.map +0 -1
@@ -49,10 +49,8 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
49
49
|
disabled?: true | undefined;
|
50
50
|
alwaysOpened?: false | undefined;
|
51
51
|
} & {
|
52
|
-
name?: undefined;
|
53
52
|
multiple?: false | undefined;
|
54
53
|
value?: string | undefined;
|
55
|
-
defaultValue?: undefined;
|
56
54
|
onChange?: ((value: string) => void) | undefined;
|
57
55
|
isTargetAmount?: false | undefined;
|
58
56
|
targetAmount?: undefined;
|
@@ -62,7 +60,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
62
60
|
} & {
|
63
61
|
required: true;
|
64
62
|
optional?: false | undefined;
|
65
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
63
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
66
64
|
items: ItemOption[];
|
67
65
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
68
66
|
label?: string | undefined;
|
@@ -87,10 +85,8 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
87
85
|
disabled?: true | undefined;
|
88
86
|
alwaysOpened?: false | undefined;
|
89
87
|
} & {
|
90
|
-
name?: undefined;
|
91
88
|
multiple?: false | undefined;
|
92
89
|
value?: string | undefined;
|
93
|
-
defaultValue?: undefined;
|
94
90
|
onChange?: ((value: string) => void) | undefined;
|
95
91
|
isTargetAmount?: false | undefined;
|
96
92
|
targetAmount?: undefined;
|
@@ -100,7 +96,7 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
100
96
|
} & {
|
101
97
|
optional?: true | undefined;
|
102
98
|
required?: false | undefined;
|
103
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
99
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
104
100
|
items: ItemOption[];
|
105
101
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
106
102
|
label?: string | undefined;
|
@@ -127,956 +123,16 @@ declare const ComboboxComponent: import("react").FunctionComponent<import("../..
|
|
127
123
|
} & {
|
128
124
|
multiple: true;
|
129
125
|
value?: string[] | undefined;
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
renderValue?: undefined;
|
135
|
-
name: string;
|
136
|
-
} & {
|
137
|
-
requiredPlacement?: "left" | "right" | undefined;
|
138
|
-
} & {
|
139
|
-
required: true;
|
140
|
-
optional?: false | undefined;
|
141
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
142
|
-
items: ItemOption[];
|
143
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
144
|
-
label?: string | undefined;
|
145
|
-
placeholder?: string | undefined;
|
146
|
-
helperText?: string | undefined;
|
147
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
148
|
-
textBefore?: string | undefined;
|
149
|
-
textAfter?: string | undefined;
|
150
|
-
variant?: "normal" | "tight" | undefined;
|
151
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
152
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
153
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
154
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
155
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
156
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
157
|
-
closeAfterSelect?: boolean | undefined;
|
158
|
-
size?: string | undefined;
|
159
|
-
view?: string | undefined;
|
160
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
161
|
-
} & {
|
162
|
-
readOnly?: boolean | undefined;
|
163
|
-
disabled?: true | undefined;
|
164
|
-
alwaysOpened?: false | undefined;
|
165
|
-
} & {
|
166
|
-
multiple: true;
|
167
|
-
value?: string[] | undefined;
|
168
|
-
defaultValue?: string[] | undefined;
|
169
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
170
|
-
isTargetAmount?: false | undefined;
|
171
|
-
targetAmount?: undefined;
|
172
|
-
renderValue?: undefined;
|
173
|
-
name: string;
|
174
|
-
} & {
|
175
|
-
requiredPlacement?: "left" | "right" | undefined;
|
176
|
-
} & {
|
177
|
-
optional?: true | undefined;
|
178
|
-
required?: false | undefined;
|
179
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
180
|
-
items: ItemOption[];
|
181
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
182
|
-
label?: string | undefined;
|
183
|
-
placeholder?: string | undefined;
|
184
|
-
helperText?: string | undefined;
|
185
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
186
|
-
textBefore?: string | undefined;
|
187
|
-
textAfter?: string | undefined;
|
188
|
-
variant?: "normal" | "tight" | undefined;
|
189
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
190
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
191
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
192
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
193
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
194
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
195
|
-
closeAfterSelect?: boolean | undefined;
|
196
|
-
size?: string | undefined;
|
197
|
-
view?: string | undefined;
|
198
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
199
|
-
} & {
|
200
|
-
readOnly?: boolean | undefined;
|
201
|
-
disabled?: true | undefined;
|
202
|
-
alwaysOpened?: false | undefined;
|
203
|
-
} & {
|
204
|
-
multiple?: false | undefined;
|
205
|
-
value?: string | undefined;
|
206
|
-
defaultValue?: string | undefined;
|
207
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
208
|
-
isTargetAmount?: false | undefined;
|
209
|
-
targetAmount?: undefined;
|
210
|
-
renderValue?: undefined;
|
211
|
-
name: string;
|
212
|
-
} & {
|
213
|
-
requiredPlacement?: "left" | "right" | undefined;
|
214
|
-
} & {
|
215
|
-
required: true;
|
216
|
-
optional?: false | undefined;
|
217
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
218
|
-
items: ItemOption[];
|
219
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
220
|
-
label?: string | undefined;
|
221
|
-
placeholder?: string | undefined;
|
222
|
-
helperText?: string | undefined;
|
223
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
224
|
-
textBefore?: string | undefined;
|
225
|
-
textAfter?: string | undefined;
|
226
|
-
variant?: "normal" | "tight" | undefined;
|
227
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
228
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
229
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
230
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
231
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
232
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
233
|
-
closeAfterSelect?: boolean | undefined;
|
234
|
-
size?: string | undefined;
|
235
|
-
view?: string | undefined;
|
236
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
237
|
-
} & {
|
238
|
-
readOnly?: boolean | undefined;
|
239
|
-
disabled?: true | undefined;
|
240
|
-
alwaysOpened?: false | undefined;
|
241
|
-
} & {
|
242
|
-
multiple?: false | undefined;
|
243
|
-
value?: string | undefined;
|
244
|
-
defaultValue?: string | undefined;
|
245
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
246
|
-
isTargetAmount?: false | undefined;
|
247
|
-
targetAmount?: undefined;
|
248
|
-
renderValue?: undefined;
|
249
|
-
name: string;
|
250
|
-
} & {
|
251
|
-
requiredPlacement?: "left" | "right" | undefined;
|
252
|
-
} & {
|
253
|
-
optional?: true | undefined;
|
254
|
-
required?: false | undefined;
|
255
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
256
|
-
items: ItemOption[];
|
257
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
258
|
-
label?: string | undefined;
|
259
|
-
placeholder?: string | undefined;
|
260
|
-
helperText?: string | undefined;
|
261
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
262
|
-
textBefore?: string | undefined;
|
263
|
-
textAfter?: string | undefined;
|
264
|
-
variant?: "normal" | "tight" | undefined;
|
265
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
266
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
267
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
268
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
269
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
270
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
271
|
-
closeAfterSelect?: boolean | undefined;
|
272
|
-
size?: string | undefined;
|
273
|
-
view?: string | undefined;
|
274
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
275
|
-
} & {
|
276
|
-
readOnly?: boolean | undefined;
|
277
|
-
disabled?: true | undefined;
|
278
|
-
alwaysOpened?: false | undefined;
|
279
|
-
} & {
|
280
|
-
multiple: true;
|
281
|
-
value?: string[] | undefined;
|
282
|
-
defaultValue?: undefined;
|
283
|
-
onChange?: ((value: string[]) => void) | undefined;
|
284
|
-
isTargetAmount?: true | undefined;
|
285
|
-
targetAmount?: number | undefined;
|
286
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
287
|
-
name?: undefined;
|
288
|
-
} & {
|
289
|
-
requiredPlacement?: "left" | "right" | undefined;
|
290
|
-
} & {
|
291
|
-
required: true;
|
292
|
-
optional?: false | undefined;
|
293
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
294
|
-
items: ItemOption[];
|
295
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
296
|
-
label?: string | undefined;
|
297
|
-
placeholder?: string | undefined;
|
298
|
-
helperText?: string | undefined;
|
299
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
300
|
-
textBefore?: string | undefined;
|
301
|
-
textAfter?: string | undefined;
|
302
|
-
variant?: "normal" | "tight" | undefined;
|
303
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
304
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
305
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
306
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
307
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
308
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
309
|
-
closeAfterSelect?: boolean | undefined;
|
310
|
-
size?: string | undefined;
|
311
|
-
view?: string | undefined;
|
312
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
313
|
-
} & {
|
314
|
-
readOnly?: boolean | undefined;
|
315
|
-
disabled?: true | undefined;
|
316
|
-
alwaysOpened?: false | undefined;
|
317
|
-
} & {
|
318
|
-
multiple: true;
|
319
|
-
value?: string[] | undefined;
|
320
|
-
defaultValue?: undefined;
|
321
|
-
onChange?: ((value: string[]) => void) | undefined;
|
322
|
-
isTargetAmount?: true | undefined;
|
323
|
-
targetAmount?: number | undefined;
|
324
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
325
|
-
name?: undefined;
|
326
|
-
} & {
|
327
|
-
requiredPlacement?: "left" | "right" | undefined;
|
328
|
-
} & {
|
329
|
-
optional?: true | undefined;
|
330
|
-
required?: false | undefined;
|
331
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
332
|
-
items: ItemOption[];
|
333
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
334
|
-
label?: string | undefined;
|
335
|
-
placeholder?: string | undefined;
|
336
|
-
helperText?: string | undefined;
|
337
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
338
|
-
textBefore?: string | undefined;
|
339
|
-
textAfter?: string | undefined;
|
340
|
-
variant?: "normal" | "tight" | undefined;
|
341
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
342
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
343
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
344
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
345
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
346
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
347
|
-
closeAfterSelect?: boolean | undefined;
|
348
|
-
size?: string | undefined;
|
349
|
-
view?: string | undefined;
|
350
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
351
|
-
} & {
|
352
|
-
readOnly?: true | undefined;
|
353
|
-
disabled?: boolean | undefined;
|
354
|
-
alwaysOpened?: false | undefined;
|
355
|
-
} & {
|
356
|
-
name?: undefined;
|
357
|
-
multiple?: false | undefined;
|
358
|
-
value?: string | undefined;
|
359
|
-
defaultValue?: undefined;
|
360
|
-
onChange?: ((value: string) => void) | undefined;
|
361
|
-
isTargetAmount?: false | undefined;
|
362
|
-
targetAmount?: undefined;
|
363
|
-
renderValue?: undefined;
|
364
|
-
} & {
|
365
|
-
requiredPlacement?: "left" | "right" | undefined;
|
366
|
-
} & {
|
367
|
-
required: true;
|
368
|
-
optional?: false | undefined;
|
369
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
370
|
-
items: ItemOption[];
|
371
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
372
|
-
label?: string | undefined;
|
373
|
-
placeholder?: string | undefined;
|
374
|
-
helperText?: string | undefined;
|
375
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
376
|
-
textBefore?: string | undefined;
|
377
|
-
textAfter?: string | undefined;
|
378
|
-
variant?: "normal" | "tight" | undefined;
|
379
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
380
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
381
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
382
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
383
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
384
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
385
|
-
closeAfterSelect?: boolean | undefined;
|
386
|
-
size?: string | undefined;
|
387
|
-
view?: string | undefined;
|
388
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
389
|
-
} & {
|
390
|
-
readOnly?: true | undefined;
|
391
|
-
disabled?: boolean | undefined;
|
392
|
-
alwaysOpened?: false | undefined;
|
393
|
-
} & {
|
394
|
-
name?: undefined;
|
395
|
-
multiple?: false | undefined;
|
396
|
-
value?: string | undefined;
|
397
|
-
defaultValue?: undefined;
|
398
|
-
onChange?: ((value: string) => void) | undefined;
|
399
|
-
isTargetAmount?: false | undefined;
|
400
|
-
targetAmount?: undefined;
|
401
|
-
renderValue?: undefined;
|
402
|
-
} & {
|
403
|
-
requiredPlacement?: "left" | "right" | undefined;
|
404
|
-
} & {
|
405
|
-
optional?: true | undefined;
|
406
|
-
required?: false | undefined;
|
407
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
408
|
-
items: ItemOption[];
|
409
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
410
|
-
label?: string | undefined;
|
411
|
-
placeholder?: string | undefined;
|
412
|
-
helperText?: string | undefined;
|
413
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
414
|
-
textBefore?: string | undefined;
|
415
|
-
textAfter?: string | undefined;
|
416
|
-
variant?: "normal" | "tight" | undefined;
|
417
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
418
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
419
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
420
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
421
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
422
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
423
|
-
closeAfterSelect?: boolean | undefined;
|
424
|
-
size?: string | undefined;
|
425
|
-
view?: string | undefined;
|
426
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
427
|
-
} & {
|
428
|
-
readOnly?: true | undefined;
|
429
|
-
disabled?: boolean | undefined;
|
430
|
-
alwaysOpened?: false | undefined;
|
431
|
-
} & {
|
432
|
-
multiple: true;
|
433
|
-
value?: string[] | undefined;
|
434
|
-
defaultValue?: string[] | undefined;
|
435
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
436
|
-
isTargetAmount?: false | undefined;
|
437
|
-
targetAmount?: undefined;
|
438
|
-
renderValue?: undefined;
|
439
|
-
name: string;
|
440
|
-
} & {
|
441
|
-
requiredPlacement?: "left" | "right" | undefined;
|
442
|
-
} & {
|
443
|
-
required: true;
|
444
|
-
optional?: false | undefined;
|
445
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
446
|
-
items: ItemOption[];
|
447
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
448
|
-
label?: string | undefined;
|
449
|
-
placeholder?: string | undefined;
|
450
|
-
helperText?: string | undefined;
|
451
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
452
|
-
textBefore?: string | undefined;
|
453
|
-
textAfter?: string | undefined;
|
454
|
-
variant?: "normal" | "tight" | undefined;
|
455
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
456
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
457
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
458
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
459
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
460
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
461
|
-
closeAfterSelect?: boolean | undefined;
|
462
|
-
size?: string | undefined;
|
463
|
-
view?: string | undefined;
|
464
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
465
|
-
} & {
|
466
|
-
readOnly?: true | undefined;
|
467
|
-
disabled?: boolean | undefined;
|
468
|
-
alwaysOpened?: false | undefined;
|
469
|
-
} & {
|
470
|
-
multiple: true;
|
471
|
-
value?: string[] | undefined;
|
472
|
-
defaultValue?: string[] | undefined;
|
473
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
474
|
-
isTargetAmount?: false | undefined;
|
475
|
-
targetAmount?: undefined;
|
476
|
-
renderValue?: undefined;
|
477
|
-
name: string;
|
478
|
-
} & {
|
479
|
-
requiredPlacement?: "left" | "right" | undefined;
|
480
|
-
} & {
|
481
|
-
optional?: true | undefined;
|
482
|
-
required?: false | undefined;
|
483
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
484
|
-
items: ItemOption[];
|
485
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
486
|
-
label?: string | undefined;
|
487
|
-
placeholder?: string | undefined;
|
488
|
-
helperText?: string | undefined;
|
489
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
490
|
-
textBefore?: string | undefined;
|
491
|
-
textAfter?: string | undefined;
|
492
|
-
variant?: "normal" | "tight" | undefined;
|
493
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
494
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
495
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
496
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
497
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
498
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
499
|
-
closeAfterSelect?: boolean | undefined;
|
500
|
-
size?: string | undefined;
|
501
|
-
view?: string | undefined;
|
502
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
503
|
-
} & {
|
504
|
-
readOnly?: true | undefined;
|
505
|
-
disabled?: boolean | undefined;
|
506
|
-
alwaysOpened?: false | undefined;
|
507
|
-
} & {
|
508
|
-
multiple?: false | undefined;
|
509
|
-
value?: string | undefined;
|
510
|
-
defaultValue?: string | undefined;
|
511
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
512
|
-
isTargetAmount?: false | undefined;
|
513
|
-
targetAmount?: undefined;
|
514
|
-
renderValue?: undefined;
|
515
|
-
name: string;
|
516
|
-
} & {
|
517
|
-
requiredPlacement?: "left" | "right" | undefined;
|
518
|
-
} & {
|
519
|
-
required: true;
|
520
|
-
optional?: false | undefined;
|
521
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
522
|
-
items: ItemOption[];
|
523
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
524
|
-
label?: string | undefined;
|
525
|
-
placeholder?: string | undefined;
|
526
|
-
helperText?: string | undefined;
|
527
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
528
|
-
textBefore?: string | undefined;
|
529
|
-
textAfter?: string | undefined;
|
530
|
-
variant?: "normal" | "tight" | undefined;
|
531
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
532
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
533
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
534
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
535
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
536
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
537
|
-
closeAfterSelect?: boolean | undefined;
|
538
|
-
size?: string | undefined;
|
539
|
-
view?: string | undefined;
|
540
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
541
|
-
} & {
|
542
|
-
readOnly?: true | undefined;
|
543
|
-
disabled?: boolean | undefined;
|
544
|
-
alwaysOpened?: false | undefined;
|
545
|
-
} & {
|
546
|
-
multiple?: false | undefined;
|
547
|
-
value?: string | undefined;
|
548
|
-
defaultValue?: string | undefined;
|
549
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
550
|
-
isTargetAmount?: false | undefined;
|
551
|
-
targetAmount?: undefined;
|
552
|
-
renderValue?: undefined;
|
553
|
-
name: string;
|
554
|
-
} & {
|
555
|
-
requiredPlacement?: "left" | "right" | undefined;
|
556
|
-
} & {
|
557
|
-
optional?: true | undefined;
|
558
|
-
required?: false | undefined;
|
559
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
560
|
-
items: ItemOption[];
|
561
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
562
|
-
label?: string | undefined;
|
563
|
-
placeholder?: string | undefined;
|
564
|
-
helperText?: string | undefined;
|
565
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
566
|
-
textBefore?: string | undefined;
|
567
|
-
textAfter?: string | undefined;
|
568
|
-
variant?: "normal" | "tight" | undefined;
|
569
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
570
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
571
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
572
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
573
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
574
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
575
|
-
closeAfterSelect?: boolean | undefined;
|
576
|
-
size?: string | undefined;
|
577
|
-
view?: string | undefined;
|
578
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
579
|
-
} & {
|
580
|
-
readOnly?: true | undefined;
|
581
|
-
disabled?: boolean | undefined;
|
582
|
-
alwaysOpened?: false | undefined;
|
583
|
-
} & {
|
584
|
-
multiple: true;
|
585
|
-
value?: string[] | undefined;
|
586
|
-
defaultValue?: undefined;
|
587
|
-
onChange?: ((value: string[]) => void) | undefined;
|
588
|
-
isTargetAmount?: true | undefined;
|
589
|
-
targetAmount?: number | undefined;
|
590
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
591
|
-
name?: undefined;
|
592
|
-
} & {
|
593
|
-
requiredPlacement?: "left" | "right" | undefined;
|
594
|
-
} & {
|
595
|
-
required: true;
|
596
|
-
optional?: false | undefined;
|
597
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
598
|
-
items: ItemOption[];
|
599
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
600
|
-
label?: string | undefined;
|
601
|
-
placeholder?: string | undefined;
|
602
|
-
helperText?: string | undefined;
|
603
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
604
|
-
textBefore?: string | undefined;
|
605
|
-
textAfter?: string | undefined;
|
606
|
-
variant?: "normal" | "tight" | undefined;
|
607
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
608
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
609
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
610
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
611
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
612
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
613
|
-
closeAfterSelect?: boolean | undefined;
|
614
|
-
size?: string | undefined;
|
615
|
-
view?: string | undefined;
|
616
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
617
|
-
} & {
|
618
|
-
readOnly?: true | undefined;
|
619
|
-
disabled?: boolean | undefined;
|
620
|
-
alwaysOpened?: false | undefined;
|
621
|
-
} & {
|
622
|
-
multiple: true;
|
623
|
-
value?: string[] | undefined;
|
624
|
-
defaultValue?: undefined;
|
625
|
-
onChange?: ((value: string[]) => void) | undefined;
|
626
|
-
isTargetAmount?: true | undefined;
|
627
|
-
targetAmount?: number | undefined;
|
628
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
629
|
-
name?: undefined;
|
630
|
-
} & {
|
631
|
-
requiredPlacement?: "left" | "right" | undefined;
|
632
|
-
} & {
|
633
|
-
optional?: true | undefined;
|
634
|
-
required?: false | undefined;
|
635
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
636
|
-
items: ItemOption[];
|
637
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
638
|
-
label?: string | undefined;
|
639
|
-
placeholder?: string | undefined;
|
640
|
-
helperText?: string | undefined;
|
641
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
642
|
-
textBefore?: string | undefined;
|
643
|
-
textAfter?: string | undefined;
|
644
|
-
variant?: "normal" | "tight" | undefined;
|
645
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
646
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
647
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
648
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
649
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
650
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
651
|
-
closeAfterSelect?: boolean | undefined;
|
652
|
-
size?: string | undefined;
|
653
|
-
view?: string | undefined;
|
654
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
655
|
-
} & {
|
656
|
-
readOnly?: false | undefined;
|
657
|
-
disabled?: false | undefined;
|
658
|
-
alwaysOpened?: true | undefined;
|
659
|
-
} & {
|
660
|
-
name?: undefined;
|
661
|
-
multiple?: false | undefined;
|
662
|
-
value?: string | undefined;
|
663
|
-
defaultValue?: undefined;
|
664
|
-
onChange?: ((value: string) => void) | undefined;
|
665
|
-
isTargetAmount?: false | undefined;
|
666
|
-
targetAmount?: undefined;
|
667
|
-
renderValue?: undefined;
|
668
|
-
} & {
|
669
|
-
requiredPlacement?: "left" | "right" | undefined;
|
670
|
-
} & {
|
671
|
-
required: true;
|
672
|
-
optional?: false | undefined;
|
673
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
674
|
-
items: ItemOption[];
|
675
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
676
|
-
label?: string | undefined;
|
677
|
-
placeholder?: string | undefined;
|
678
|
-
helperText?: string | undefined;
|
679
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
680
|
-
textBefore?: string | undefined;
|
681
|
-
textAfter?: string | undefined;
|
682
|
-
variant?: "normal" | "tight" | undefined;
|
683
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
684
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
685
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
686
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
687
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
688
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
689
|
-
closeAfterSelect?: boolean | undefined;
|
690
|
-
size?: string | undefined;
|
691
|
-
view?: string | undefined;
|
692
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
693
|
-
} & {
|
694
|
-
readOnly?: false | undefined;
|
695
|
-
disabled?: false | undefined;
|
696
|
-
alwaysOpened?: true | undefined;
|
697
|
-
} & {
|
698
|
-
name?: undefined;
|
699
|
-
multiple?: false | undefined;
|
700
|
-
value?: string | undefined;
|
701
|
-
defaultValue?: undefined;
|
702
|
-
onChange?: ((value: string) => void) | undefined;
|
703
|
-
isTargetAmount?: false | undefined;
|
704
|
-
targetAmount?: undefined;
|
705
|
-
renderValue?: undefined;
|
706
|
-
} & {
|
707
|
-
requiredPlacement?: "left" | "right" | undefined;
|
708
|
-
} & {
|
709
|
-
optional?: true | undefined;
|
710
|
-
required?: false | undefined;
|
711
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
712
|
-
items: ItemOption[];
|
713
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
714
|
-
label?: string | undefined;
|
715
|
-
placeholder?: string | undefined;
|
716
|
-
helperText?: string | undefined;
|
717
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
718
|
-
textBefore?: string | undefined;
|
719
|
-
textAfter?: string | undefined;
|
720
|
-
variant?: "normal" | "tight" | undefined;
|
721
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
722
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
723
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
724
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
725
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
726
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
727
|
-
closeAfterSelect?: boolean | undefined;
|
728
|
-
size?: string | undefined;
|
729
|
-
view?: string | undefined;
|
730
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
731
|
-
} & {
|
732
|
-
readOnly?: false | undefined;
|
733
|
-
disabled?: false | undefined;
|
734
|
-
alwaysOpened?: true | undefined;
|
735
|
-
} & {
|
736
|
-
multiple: true;
|
737
|
-
value?: string[] | undefined;
|
738
|
-
defaultValue?: string[] | undefined;
|
739
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
740
|
-
isTargetAmount?: false | undefined;
|
741
|
-
targetAmount?: undefined;
|
742
|
-
renderValue?: undefined;
|
743
|
-
name: string;
|
744
|
-
} & {
|
745
|
-
requiredPlacement?: "left" | "right" | undefined;
|
746
|
-
} & {
|
747
|
-
required: true;
|
748
|
-
optional?: false | undefined;
|
749
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
750
|
-
items: ItemOption[];
|
751
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
752
|
-
label?: string | undefined;
|
753
|
-
placeholder?: string | undefined;
|
754
|
-
helperText?: string | undefined;
|
755
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
756
|
-
textBefore?: string | undefined;
|
757
|
-
textAfter?: string | undefined;
|
758
|
-
variant?: "normal" | "tight" | undefined;
|
759
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
760
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
761
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
762
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
763
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
764
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
765
|
-
closeAfterSelect?: boolean | undefined;
|
766
|
-
size?: string | undefined;
|
767
|
-
view?: string | undefined;
|
768
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
769
|
-
} & {
|
770
|
-
readOnly?: false | undefined;
|
771
|
-
disabled?: false | undefined;
|
772
|
-
alwaysOpened?: true | undefined;
|
773
|
-
} & {
|
774
|
-
multiple: true;
|
775
|
-
value?: string[] | undefined;
|
776
|
-
defaultValue?: string[] | undefined;
|
777
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
778
|
-
isTargetAmount?: false | undefined;
|
779
|
-
targetAmount?: undefined;
|
780
|
-
renderValue?: undefined;
|
781
|
-
name: string;
|
782
|
-
} & {
|
783
|
-
requiredPlacement?: "left" | "right" | undefined;
|
784
|
-
} & {
|
785
|
-
optional?: true | undefined;
|
786
|
-
required?: false | undefined;
|
787
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
788
|
-
items: ItemOption[];
|
789
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
790
|
-
label?: string | undefined;
|
791
|
-
placeholder?: string | undefined;
|
792
|
-
helperText?: string | undefined;
|
793
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
794
|
-
textBefore?: string | undefined;
|
795
|
-
textAfter?: string | undefined;
|
796
|
-
variant?: "normal" | "tight" | undefined;
|
797
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
798
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
799
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
800
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
801
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
802
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
803
|
-
closeAfterSelect?: boolean | undefined;
|
804
|
-
size?: string | undefined;
|
805
|
-
view?: string | undefined;
|
806
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
807
|
-
} & {
|
808
|
-
readOnly?: false | undefined;
|
809
|
-
disabled?: false | undefined;
|
810
|
-
alwaysOpened?: true | undefined;
|
811
|
-
} & {
|
812
|
-
multiple?: false | undefined;
|
813
|
-
value?: string | undefined;
|
814
|
-
defaultValue?: string | undefined;
|
815
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
816
|
-
isTargetAmount?: false | undefined;
|
817
|
-
targetAmount?: undefined;
|
818
|
-
renderValue?: undefined;
|
819
|
-
name: string;
|
820
|
-
} & {
|
821
|
-
requiredPlacement?: "left" | "right" | undefined;
|
822
|
-
} & {
|
823
|
-
required: true;
|
824
|
-
optional?: false | undefined;
|
825
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
826
|
-
items: ItemOption[];
|
827
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
828
|
-
label?: string | undefined;
|
829
|
-
placeholder?: string | undefined;
|
830
|
-
helperText?: string | undefined;
|
831
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
832
|
-
textBefore?: string | undefined;
|
833
|
-
textAfter?: string | undefined;
|
834
|
-
variant?: "normal" | "tight" | undefined;
|
835
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
836
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
837
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
838
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
839
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
840
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
841
|
-
closeAfterSelect?: boolean | undefined;
|
842
|
-
size?: string | undefined;
|
843
|
-
view?: string | undefined;
|
844
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
845
|
-
} & {
|
846
|
-
readOnly?: false | undefined;
|
847
|
-
disabled?: false | undefined;
|
848
|
-
alwaysOpened?: true | undefined;
|
849
|
-
} & {
|
850
|
-
multiple?: false | undefined;
|
851
|
-
value?: string | undefined;
|
852
|
-
defaultValue?: string | undefined;
|
853
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
854
|
-
isTargetAmount?: false | undefined;
|
855
|
-
targetAmount?: undefined;
|
856
|
-
renderValue?: undefined;
|
857
|
-
name: string;
|
858
|
-
} & {
|
859
|
-
requiredPlacement?: "left" | "right" | undefined;
|
860
|
-
} & {
|
861
|
-
optional?: true | undefined;
|
862
|
-
required?: false | undefined;
|
863
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
864
|
-
items: ItemOption[];
|
865
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
866
|
-
label?: string | undefined;
|
867
|
-
placeholder?: string | undefined;
|
868
|
-
helperText?: string | undefined;
|
869
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
870
|
-
textBefore?: string | undefined;
|
871
|
-
textAfter?: string | undefined;
|
872
|
-
variant?: "normal" | "tight" | undefined;
|
873
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
874
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
875
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
876
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
877
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
878
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
879
|
-
closeAfterSelect?: boolean | undefined;
|
880
|
-
size?: string | undefined;
|
881
|
-
view?: string | undefined;
|
882
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
883
|
-
} & {
|
884
|
-
readOnly?: false | undefined;
|
885
|
-
disabled?: false | undefined;
|
886
|
-
alwaysOpened?: true | undefined;
|
887
|
-
} & {
|
888
|
-
multiple: true;
|
889
|
-
value?: string[] | undefined;
|
890
|
-
defaultValue?: undefined;
|
891
|
-
onChange?: ((value: string[]) => void) | undefined;
|
892
|
-
isTargetAmount?: true | undefined;
|
893
|
-
targetAmount?: number | undefined;
|
894
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
895
|
-
name?: undefined;
|
896
|
-
} & {
|
897
|
-
requiredPlacement?: "left" | "right" | undefined;
|
898
|
-
} & {
|
899
|
-
required: true;
|
900
|
-
optional?: false | undefined;
|
901
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
902
|
-
items: ItemOption[];
|
903
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
904
|
-
label?: string | undefined;
|
905
|
-
placeholder?: string | undefined;
|
906
|
-
helperText?: string | undefined;
|
907
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
908
|
-
textBefore?: string | undefined;
|
909
|
-
textAfter?: string | undefined;
|
910
|
-
variant?: "normal" | "tight" | undefined;
|
911
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
912
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
913
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
914
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
915
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
916
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
917
|
-
closeAfterSelect?: boolean | undefined;
|
918
|
-
size?: string | undefined;
|
919
|
-
view?: string | undefined;
|
920
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
921
|
-
} & {
|
922
|
-
readOnly?: false | undefined;
|
923
|
-
disabled?: false | undefined;
|
924
|
-
alwaysOpened?: true | undefined;
|
925
|
-
} & {
|
926
|
-
multiple: true;
|
927
|
-
value?: string[] | undefined;
|
928
|
-
defaultValue?: undefined;
|
929
|
-
onChange?: ((value: string[]) => void) | undefined;
|
930
|
-
isTargetAmount?: true | undefined;
|
931
|
-
targetAmount?: number | undefined;
|
932
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
933
|
-
name?: undefined;
|
934
|
-
} & {
|
935
|
-
requiredPlacement?: "left" | "right" | undefined;
|
936
|
-
} & {
|
937
|
-
optional?: true | undefined;
|
938
|
-
required?: false | undefined;
|
939
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>))>;
|
940
|
-
declare type PropsFromConfig = keyof typeof config['variations'];
|
941
|
-
declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
|
942
|
-
declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & Pick<import("../../../../engines/types").PropsType<{
|
943
|
-
view: {
|
944
|
-
default: import("@linaria/core").LinariaClassName;
|
945
|
-
positive: import("@linaria/core").LinariaClassName;
|
946
|
-
warning: import("@linaria/core").LinariaClassName;
|
947
|
-
negative: import("@linaria/core").LinariaClassName;
|
948
|
-
};
|
949
|
-
size: {
|
950
|
-
l: import("@linaria/core").LinariaClassName;
|
951
|
-
m: import("@linaria/core").LinariaClassName;
|
952
|
-
s: import("@linaria/core").LinariaClassName;
|
953
|
-
xs: import("@linaria/core").LinariaClassName;
|
954
|
-
};
|
955
|
-
labelPlacement: {
|
956
|
-
inner: import("@linaria/core").LinariaClassName;
|
957
|
-
outer: import("@linaria/core").LinariaClassName;
|
958
|
-
};
|
959
|
-
disabled: {
|
960
|
-
true: import("@linaria/core").LinariaClassName;
|
961
|
-
};
|
962
|
-
readOnly: {
|
963
|
-
true: import("@linaria/core").LinariaClassName;
|
964
|
-
};
|
965
|
-
}> & (({
|
966
|
-
items: ItemOption[];
|
967
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
968
|
-
label?: string | undefined;
|
969
|
-
placeholder?: string | undefined;
|
970
|
-
helperText?: string | undefined;
|
971
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
972
|
-
textBefore?: string | undefined;
|
973
|
-
textAfter?: string | undefined;
|
974
|
-
variant?: "normal" | "tight" | undefined;
|
975
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
976
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
977
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
978
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
979
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
980
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
981
|
-
closeAfterSelect?: boolean | undefined;
|
982
|
-
size?: string | undefined;
|
983
|
-
view?: string | undefined;
|
984
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
985
|
-
} & {
|
986
|
-
readOnly?: boolean | undefined;
|
987
|
-
disabled?: true | undefined;
|
988
|
-
alwaysOpened?: false | undefined;
|
989
|
-
} & {
|
990
|
-
name?: undefined;
|
991
|
-
multiple?: false | undefined;
|
992
|
-
value?: string | undefined;
|
993
|
-
defaultValue?: undefined;
|
994
|
-
onChange?: ((value: string) => void) | undefined;
|
995
|
-
isTargetAmount?: false | undefined;
|
996
|
-
targetAmount?: undefined;
|
997
|
-
renderValue?: undefined;
|
998
|
-
} & {
|
999
|
-
requiredPlacement?: "left" | "right" | undefined;
|
1000
|
-
} & {
|
1001
|
-
required: true;
|
1002
|
-
optional?: false | undefined;
|
1003
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1004
|
-
items: ItemOption[];
|
1005
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1006
|
-
label?: string | undefined;
|
1007
|
-
placeholder?: string | undefined;
|
1008
|
-
helperText?: string | undefined;
|
1009
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1010
|
-
textBefore?: string | undefined;
|
1011
|
-
textAfter?: string | undefined;
|
1012
|
-
variant?: "normal" | "tight" | undefined;
|
1013
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1014
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1015
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1016
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
1017
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1018
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1019
|
-
closeAfterSelect?: boolean | undefined;
|
1020
|
-
size?: string | undefined;
|
1021
|
-
view?: string | undefined;
|
1022
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
1023
|
-
} & {
|
1024
|
-
readOnly?: boolean | undefined;
|
1025
|
-
disabled?: true | undefined;
|
1026
|
-
alwaysOpened?: false | undefined;
|
1027
|
-
} & {
|
1028
|
-
name?: undefined;
|
1029
|
-
multiple?: false | undefined;
|
1030
|
-
value?: string | undefined;
|
1031
|
-
defaultValue?: undefined;
|
1032
|
-
onChange?: ((value: string) => void) | undefined;
|
1033
|
-
isTargetAmount?: false | undefined;
|
1034
|
-
targetAmount?: undefined;
|
1035
|
-
renderValue?: undefined;
|
1036
|
-
} & {
|
1037
|
-
requiredPlacement?: "left" | "right" | undefined;
|
1038
|
-
} & {
|
1039
|
-
optional?: true | undefined;
|
1040
|
-
required?: false | undefined;
|
1041
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
1042
|
-
items: ItemOption[];
|
1043
|
-
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1044
|
-
label?: string | undefined;
|
1045
|
-
placeholder?: string | undefined;
|
1046
|
-
helperText?: string | undefined;
|
1047
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
1048
|
-
textBefore?: string | undefined;
|
1049
|
-
textAfter?: string | undefined;
|
1050
|
-
variant?: "normal" | "tight" | undefined;
|
1051
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1052
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1053
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1054
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
1055
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
1056
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1057
|
-
closeAfterSelect?: boolean | undefined;
|
1058
|
-
size?: string | undefined;
|
1059
|
-
view?: string | undefined;
|
1060
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
1061
|
-
} & {
|
1062
|
-
readOnly?: boolean | undefined;
|
1063
|
-
disabled?: true | undefined;
|
1064
|
-
alwaysOpened?: false | undefined;
|
1065
|
-
} & {
|
1066
|
-
multiple: true;
|
1067
|
-
value?: string[] | undefined;
|
1068
|
-
defaultValue?: string[] | undefined;
|
1069
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
1070
|
-
isTargetAmount?: false | undefined;
|
1071
|
-
targetAmount?: undefined;
|
1072
|
-
renderValue?: undefined;
|
1073
|
-
name: string;
|
126
|
+
onChange?: ((value: string[]) => void) | undefined;
|
127
|
+
isTargetAmount?: true | undefined;
|
128
|
+
targetAmount?: number | undefined;
|
129
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1074
130
|
} & {
|
1075
131
|
requiredPlacement?: "left" | "right" | undefined;
|
1076
132
|
} & {
|
1077
133
|
required: true;
|
1078
134
|
optional?: false | undefined;
|
1079
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
135
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1080
136
|
items: ItemOption[];
|
1081
137
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1082
138
|
label?: string | undefined;
|
@@ -1103,18 +159,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1103
159
|
} & {
|
1104
160
|
multiple: true;
|
1105
161
|
value?: string[] | undefined;
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
renderValue?: undefined;
|
1111
|
-
name: string;
|
162
|
+
onChange?: ((value: string[]) => void) | undefined;
|
163
|
+
isTargetAmount?: true | undefined;
|
164
|
+
targetAmount?: number | undefined;
|
165
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1112
166
|
} & {
|
1113
167
|
requiredPlacement?: "left" | "right" | undefined;
|
1114
168
|
} & {
|
1115
169
|
optional?: true | undefined;
|
1116
170
|
required?: false | undefined;
|
1117
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
171
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1118
172
|
items: ItemOption[];
|
1119
173
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1120
174
|
label?: string | undefined;
|
@@ -1135,24 +189,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1135
189
|
view?: string | undefined;
|
1136
190
|
labelPlacement?: "inner" | "outer" | undefined;
|
1137
191
|
} & {
|
1138
|
-
readOnly?:
|
1139
|
-
disabled?:
|
192
|
+
readOnly?: true | undefined;
|
193
|
+
disabled?: boolean | undefined;
|
1140
194
|
alwaysOpened?: false | undefined;
|
1141
195
|
} & {
|
1142
196
|
multiple?: false | undefined;
|
1143
197
|
value?: string | undefined;
|
1144
|
-
|
1145
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
198
|
+
onChange?: ((value: string) => void) | undefined;
|
1146
199
|
isTargetAmount?: false | undefined;
|
1147
200
|
targetAmount?: undefined;
|
1148
201
|
renderValue?: undefined;
|
1149
|
-
name: string;
|
1150
202
|
} & {
|
1151
203
|
requiredPlacement?: "left" | "right" | undefined;
|
1152
204
|
} & {
|
1153
205
|
required: true;
|
1154
206
|
optional?: false | undefined;
|
1155
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
207
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1156
208
|
items: ItemOption[];
|
1157
209
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1158
210
|
label?: string | undefined;
|
@@ -1173,24 +225,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1173
225
|
view?: string | undefined;
|
1174
226
|
labelPlacement?: "inner" | "outer" | undefined;
|
1175
227
|
} & {
|
1176
|
-
readOnly?:
|
1177
|
-
disabled?:
|
228
|
+
readOnly?: true | undefined;
|
229
|
+
disabled?: boolean | undefined;
|
1178
230
|
alwaysOpened?: false | undefined;
|
1179
231
|
} & {
|
1180
232
|
multiple?: false | undefined;
|
1181
233
|
value?: string | undefined;
|
1182
|
-
|
1183
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
234
|
+
onChange?: ((value: string) => void) | undefined;
|
1184
235
|
isTargetAmount?: false | undefined;
|
1185
236
|
targetAmount?: undefined;
|
1186
237
|
renderValue?: undefined;
|
1187
|
-
name: string;
|
1188
238
|
} & {
|
1189
239
|
requiredPlacement?: "left" | "right" | undefined;
|
1190
240
|
} & {
|
1191
241
|
optional?: true | undefined;
|
1192
242
|
required?: false | undefined;
|
1193
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
243
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1194
244
|
items: ItemOption[];
|
1195
245
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1196
246
|
label?: string | undefined;
|
@@ -1211,24 +261,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1211
261
|
view?: string | undefined;
|
1212
262
|
labelPlacement?: "inner" | "outer" | undefined;
|
1213
263
|
} & {
|
1214
|
-
readOnly?:
|
1215
|
-
disabled?:
|
264
|
+
readOnly?: true | undefined;
|
265
|
+
disabled?: boolean | undefined;
|
1216
266
|
alwaysOpened?: false | undefined;
|
1217
267
|
} & {
|
1218
268
|
multiple: true;
|
1219
269
|
value?: string[] | undefined;
|
1220
|
-
defaultValue?: undefined;
|
1221
270
|
onChange?: ((value: string[]) => void) | undefined;
|
1222
271
|
isTargetAmount?: true | undefined;
|
1223
272
|
targetAmount?: number | undefined;
|
1224
273
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1225
|
-
name?: undefined;
|
1226
274
|
} & {
|
1227
275
|
requiredPlacement?: "left" | "right" | undefined;
|
1228
276
|
} & {
|
1229
277
|
required: true;
|
1230
278
|
optional?: false | undefined;
|
1231
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
279
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1232
280
|
items: ItemOption[];
|
1233
281
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1234
282
|
label?: string | undefined;
|
@@ -1249,24 +297,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1249
297
|
view?: string | undefined;
|
1250
298
|
labelPlacement?: "inner" | "outer" | undefined;
|
1251
299
|
} & {
|
1252
|
-
readOnly?:
|
1253
|
-
disabled?:
|
300
|
+
readOnly?: true | undefined;
|
301
|
+
disabled?: boolean | undefined;
|
1254
302
|
alwaysOpened?: false | undefined;
|
1255
303
|
} & {
|
1256
304
|
multiple: true;
|
1257
305
|
value?: string[] | undefined;
|
1258
|
-
defaultValue?: undefined;
|
1259
306
|
onChange?: ((value: string[]) => void) | undefined;
|
1260
307
|
isTargetAmount?: true | undefined;
|
1261
308
|
targetAmount?: number | undefined;
|
1262
309
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1263
|
-
name?: undefined;
|
1264
310
|
} & {
|
1265
311
|
requiredPlacement?: "left" | "right" | undefined;
|
1266
312
|
} & {
|
1267
313
|
optional?: true | undefined;
|
1268
314
|
required?: false | undefined;
|
1269
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
315
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1270
316
|
items: ItemOption[];
|
1271
317
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1272
318
|
label?: string | undefined;
|
@@ -1287,14 +333,12 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1287
333
|
view?: string | undefined;
|
1288
334
|
labelPlacement?: "inner" | "outer" | undefined;
|
1289
335
|
} & {
|
1290
|
-
readOnly?:
|
1291
|
-
disabled?:
|
1292
|
-
alwaysOpened?:
|
336
|
+
readOnly?: false | undefined;
|
337
|
+
disabled?: false | undefined;
|
338
|
+
alwaysOpened?: true | undefined;
|
1293
339
|
} & {
|
1294
|
-
name?: undefined;
|
1295
340
|
multiple?: false | undefined;
|
1296
341
|
value?: string | undefined;
|
1297
|
-
defaultValue?: undefined;
|
1298
342
|
onChange?: ((value: string) => void) | undefined;
|
1299
343
|
isTargetAmount?: false | undefined;
|
1300
344
|
targetAmount?: undefined;
|
@@ -1304,7 +348,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1304
348
|
} & {
|
1305
349
|
required: true;
|
1306
350
|
optional?: false | undefined;
|
1307
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
351
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1308
352
|
items: ItemOption[];
|
1309
353
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1310
354
|
label?: string | undefined;
|
@@ -1325,14 +369,12 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1325
369
|
view?: string | undefined;
|
1326
370
|
labelPlacement?: "inner" | "outer" | undefined;
|
1327
371
|
} & {
|
1328
|
-
readOnly?:
|
1329
|
-
disabled?:
|
1330
|
-
alwaysOpened?:
|
372
|
+
readOnly?: false | undefined;
|
373
|
+
disabled?: false | undefined;
|
374
|
+
alwaysOpened?: true | undefined;
|
1331
375
|
} & {
|
1332
|
-
name?: undefined;
|
1333
376
|
multiple?: false | undefined;
|
1334
377
|
value?: string | undefined;
|
1335
|
-
defaultValue?: undefined;
|
1336
378
|
onChange?: ((value: string) => void) | undefined;
|
1337
379
|
isTargetAmount?: false | undefined;
|
1338
380
|
targetAmount?: undefined;
|
@@ -1342,7 +384,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1342
384
|
} & {
|
1343
385
|
optional?: true | undefined;
|
1344
386
|
required?: false | undefined;
|
1345
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
387
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1346
388
|
items: ItemOption[];
|
1347
389
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1348
390
|
label?: string | undefined;
|
@@ -1363,24 +405,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1363
405
|
view?: string | undefined;
|
1364
406
|
labelPlacement?: "inner" | "outer" | undefined;
|
1365
407
|
} & {
|
1366
|
-
readOnly?:
|
1367
|
-
disabled?:
|
1368
|
-
alwaysOpened?:
|
408
|
+
readOnly?: false | undefined;
|
409
|
+
disabled?: false | undefined;
|
410
|
+
alwaysOpened?: true | undefined;
|
1369
411
|
} & {
|
1370
412
|
multiple: true;
|
1371
413
|
value?: string[] | undefined;
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
renderValue?: undefined;
|
1377
|
-
name: string;
|
414
|
+
onChange?: ((value: string[]) => void) | undefined;
|
415
|
+
isTargetAmount?: true | undefined;
|
416
|
+
targetAmount?: number | undefined;
|
417
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1378
418
|
} & {
|
1379
419
|
requiredPlacement?: "left" | "right" | undefined;
|
1380
420
|
} & {
|
1381
421
|
required: true;
|
1382
422
|
optional?: false | undefined;
|
1383
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
423
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1384
424
|
items: ItemOption[];
|
1385
425
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1386
426
|
label?: string | undefined;
|
@@ -1401,24 +441,48 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1401
441
|
view?: string | undefined;
|
1402
442
|
labelPlacement?: "inner" | "outer" | undefined;
|
1403
443
|
} & {
|
1404
|
-
readOnly?:
|
1405
|
-
disabled?:
|
1406
|
-
alwaysOpened?:
|
444
|
+
readOnly?: false | undefined;
|
445
|
+
disabled?: false | undefined;
|
446
|
+
alwaysOpened?: true | undefined;
|
1407
447
|
} & {
|
1408
448
|
multiple: true;
|
1409
449
|
value?: string[] | undefined;
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
renderValue?: undefined;
|
1415
|
-
name: string;
|
450
|
+
onChange?: ((value: string[]) => void) | undefined;
|
451
|
+
isTargetAmount?: true | undefined;
|
452
|
+
targetAmount?: number | undefined;
|
453
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1416
454
|
} & {
|
1417
455
|
requiredPlacement?: "left" | "right" | undefined;
|
1418
456
|
} & {
|
1419
457
|
optional?: true | undefined;
|
1420
458
|
required?: false | undefined;
|
1421
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
459
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
460
|
+
declare type PropsFromConfig = keyof typeof config['variations'];
|
461
|
+
declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
|
462
|
+
declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & Pick<import("../../../../engines/types").PropsType<{
|
463
|
+
view: {
|
464
|
+
default: import("@linaria/core").LinariaClassName;
|
465
|
+
positive: import("@linaria/core").LinariaClassName;
|
466
|
+
warning: import("@linaria/core").LinariaClassName;
|
467
|
+
negative: import("@linaria/core").LinariaClassName;
|
468
|
+
};
|
469
|
+
size: {
|
470
|
+
l: import("@linaria/core").LinariaClassName;
|
471
|
+
m: import("@linaria/core").LinariaClassName;
|
472
|
+
s: import("@linaria/core").LinariaClassName;
|
473
|
+
xs: import("@linaria/core").LinariaClassName;
|
474
|
+
};
|
475
|
+
labelPlacement: {
|
476
|
+
inner: import("@linaria/core").LinariaClassName;
|
477
|
+
outer: import("@linaria/core").LinariaClassName;
|
478
|
+
};
|
479
|
+
disabled: {
|
480
|
+
true: import("@linaria/core").LinariaClassName;
|
481
|
+
};
|
482
|
+
readOnly: {
|
483
|
+
true: import("@linaria/core").LinariaClassName;
|
484
|
+
};
|
485
|
+
}> & (({
|
1422
486
|
items: ItemOption[];
|
1423
487
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1424
488
|
label?: string | undefined;
|
@@ -1439,24 +503,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1439
503
|
view?: string | undefined;
|
1440
504
|
labelPlacement?: "inner" | "outer" | undefined;
|
1441
505
|
} & {
|
1442
|
-
readOnly?:
|
1443
|
-
disabled?:
|
506
|
+
readOnly?: boolean | undefined;
|
507
|
+
disabled?: true | undefined;
|
1444
508
|
alwaysOpened?: false | undefined;
|
1445
509
|
} & {
|
1446
510
|
multiple?: false | undefined;
|
1447
511
|
value?: string | undefined;
|
1448
|
-
|
1449
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
512
|
+
onChange?: ((value: string) => void) | undefined;
|
1450
513
|
isTargetAmount?: false | undefined;
|
1451
514
|
targetAmount?: undefined;
|
1452
515
|
renderValue?: undefined;
|
1453
|
-
name: string;
|
1454
516
|
} & {
|
1455
517
|
requiredPlacement?: "left" | "right" | undefined;
|
1456
518
|
} & {
|
1457
519
|
required: true;
|
1458
520
|
optional?: false | undefined;
|
1459
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
521
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1460
522
|
items: ItemOption[];
|
1461
523
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1462
524
|
label?: string | undefined;
|
@@ -1477,24 +539,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1477
539
|
view?: string | undefined;
|
1478
540
|
labelPlacement?: "inner" | "outer" | undefined;
|
1479
541
|
} & {
|
1480
|
-
readOnly?:
|
1481
|
-
disabled?:
|
542
|
+
readOnly?: boolean | undefined;
|
543
|
+
disabled?: true | undefined;
|
1482
544
|
alwaysOpened?: false | undefined;
|
1483
545
|
} & {
|
1484
546
|
multiple?: false | undefined;
|
1485
547
|
value?: string | undefined;
|
1486
|
-
|
1487
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
548
|
+
onChange?: ((value: string) => void) | undefined;
|
1488
549
|
isTargetAmount?: false | undefined;
|
1489
550
|
targetAmount?: undefined;
|
1490
551
|
renderValue?: undefined;
|
1491
|
-
name: string;
|
1492
552
|
} & {
|
1493
553
|
requiredPlacement?: "left" | "right" | undefined;
|
1494
554
|
} & {
|
1495
555
|
optional?: true | undefined;
|
1496
556
|
required?: false | undefined;
|
1497
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
557
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1498
558
|
items: ItemOption[];
|
1499
559
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1500
560
|
label?: string | undefined;
|
@@ -1515,24 +575,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1515
575
|
view?: string | undefined;
|
1516
576
|
labelPlacement?: "inner" | "outer" | undefined;
|
1517
577
|
} & {
|
1518
|
-
readOnly?:
|
1519
|
-
disabled?:
|
578
|
+
readOnly?: boolean | undefined;
|
579
|
+
disabled?: true | undefined;
|
1520
580
|
alwaysOpened?: false | undefined;
|
1521
581
|
} & {
|
1522
582
|
multiple: true;
|
1523
583
|
value?: string[] | undefined;
|
1524
|
-
defaultValue?: undefined;
|
1525
584
|
onChange?: ((value: string[]) => void) | undefined;
|
1526
585
|
isTargetAmount?: true | undefined;
|
1527
586
|
targetAmount?: number | undefined;
|
1528
587
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1529
|
-
name?: undefined;
|
1530
588
|
} & {
|
1531
589
|
requiredPlacement?: "left" | "right" | undefined;
|
1532
590
|
} & {
|
1533
591
|
required: true;
|
1534
592
|
optional?: false | undefined;
|
1535
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
593
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1536
594
|
items: ItemOption[];
|
1537
595
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1538
596
|
label?: string | undefined;
|
@@ -1553,24 +611,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1553
611
|
view?: string | undefined;
|
1554
612
|
labelPlacement?: "inner" | "outer" | undefined;
|
1555
613
|
} & {
|
1556
|
-
readOnly?:
|
1557
|
-
disabled?:
|
614
|
+
readOnly?: boolean | undefined;
|
615
|
+
disabled?: true | undefined;
|
1558
616
|
alwaysOpened?: false | undefined;
|
1559
617
|
} & {
|
1560
618
|
multiple: true;
|
1561
619
|
value?: string[] | undefined;
|
1562
|
-
defaultValue?: undefined;
|
1563
620
|
onChange?: ((value: string[]) => void) | undefined;
|
1564
621
|
isTargetAmount?: true | undefined;
|
1565
622
|
targetAmount?: number | undefined;
|
1566
623
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1567
|
-
name?: undefined;
|
1568
624
|
} & {
|
1569
625
|
requiredPlacement?: "left" | "right" | undefined;
|
1570
626
|
} & {
|
1571
627
|
optional?: true | undefined;
|
1572
628
|
required?: false | undefined;
|
1573
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
629
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1574
630
|
items: ItemOption[];
|
1575
631
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1576
632
|
label?: string | undefined;
|
@@ -1591,14 +647,12 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1591
647
|
view?: string | undefined;
|
1592
648
|
labelPlacement?: "inner" | "outer" | undefined;
|
1593
649
|
} & {
|
1594
|
-
readOnly?:
|
1595
|
-
disabled?:
|
1596
|
-
alwaysOpened?:
|
650
|
+
readOnly?: true | undefined;
|
651
|
+
disabled?: boolean | undefined;
|
652
|
+
alwaysOpened?: false | undefined;
|
1597
653
|
} & {
|
1598
|
-
name?: undefined;
|
1599
654
|
multiple?: false | undefined;
|
1600
655
|
value?: string | undefined;
|
1601
|
-
defaultValue?: undefined;
|
1602
656
|
onChange?: ((value: string) => void) | undefined;
|
1603
657
|
isTargetAmount?: false | undefined;
|
1604
658
|
targetAmount?: undefined;
|
@@ -1608,7 +662,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1608
662
|
} & {
|
1609
663
|
required: true;
|
1610
664
|
optional?: false | undefined;
|
1611
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
665
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1612
666
|
items: ItemOption[];
|
1613
667
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1614
668
|
label?: string | undefined;
|
@@ -1629,14 +683,12 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1629
683
|
view?: string | undefined;
|
1630
684
|
labelPlacement?: "inner" | "outer" | undefined;
|
1631
685
|
} & {
|
1632
|
-
readOnly?:
|
1633
|
-
disabled?:
|
1634
|
-
alwaysOpened?:
|
686
|
+
readOnly?: true | undefined;
|
687
|
+
disabled?: boolean | undefined;
|
688
|
+
alwaysOpened?: false | undefined;
|
1635
689
|
} & {
|
1636
|
-
name?: undefined;
|
1637
690
|
multiple?: false | undefined;
|
1638
691
|
value?: string | undefined;
|
1639
|
-
defaultValue?: undefined;
|
1640
692
|
onChange?: ((value: string) => void) | undefined;
|
1641
693
|
isTargetAmount?: false | undefined;
|
1642
694
|
targetAmount?: undefined;
|
@@ -1646,7 +698,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1646
698
|
} & {
|
1647
699
|
optional?: true | undefined;
|
1648
700
|
required?: false | undefined;
|
1649
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
701
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1650
702
|
items: ItemOption[];
|
1651
703
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1652
704
|
label?: string | undefined;
|
@@ -1667,24 +719,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1667
719
|
view?: string | undefined;
|
1668
720
|
labelPlacement?: "inner" | "outer" | undefined;
|
1669
721
|
} & {
|
1670
|
-
readOnly?:
|
1671
|
-
disabled?:
|
1672
|
-
alwaysOpened?:
|
722
|
+
readOnly?: true | undefined;
|
723
|
+
disabled?: boolean | undefined;
|
724
|
+
alwaysOpened?: false | undefined;
|
1673
725
|
} & {
|
1674
726
|
multiple: true;
|
1675
727
|
value?: string[] | undefined;
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
renderValue?: undefined;
|
1681
|
-
name: string;
|
728
|
+
onChange?: ((value: string[]) => void) | undefined;
|
729
|
+
isTargetAmount?: true | undefined;
|
730
|
+
targetAmount?: number | undefined;
|
731
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1682
732
|
} & {
|
1683
733
|
requiredPlacement?: "left" | "right" | undefined;
|
1684
734
|
} & {
|
1685
735
|
required: true;
|
1686
736
|
optional?: false | undefined;
|
1687
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
737
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1688
738
|
items: ItemOption[];
|
1689
739
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1690
740
|
label?: string | undefined;
|
@@ -1705,24 +755,22 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1705
755
|
view?: string | undefined;
|
1706
756
|
labelPlacement?: "inner" | "outer" | undefined;
|
1707
757
|
} & {
|
1708
|
-
readOnly?:
|
1709
|
-
disabled?:
|
1710
|
-
alwaysOpened?:
|
758
|
+
readOnly?: true | undefined;
|
759
|
+
disabled?: boolean | undefined;
|
760
|
+
alwaysOpened?: false | undefined;
|
1711
761
|
} & {
|
1712
762
|
multiple: true;
|
1713
763
|
value?: string[] | undefined;
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
renderValue?: undefined;
|
1719
|
-
name: string;
|
764
|
+
onChange?: ((value: string[]) => void) | undefined;
|
765
|
+
isTargetAmount?: true | undefined;
|
766
|
+
targetAmount?: number | undefined;
|
767
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1720
768
|
} & {
|
1721
769
|
requiredPlacement?: "left" | "right" | undefined;
|
1722
770
|
} & {
|
1723
771
|
optional?: true | undefined;
|
1724
772
|
required?: false | undefined;
|
1725
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
773
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1726
774
|
items: ItemOption[];
|
1727
775
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1728
776
|
label?: string | undefined;
|
@@ -1749,18 +797,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1749
797
|
} & {
|
1750
798
|
multiple?: false | undefined;
|
1751
799
|
value?: string | undefined;
|
1752
|
-
|
1753
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
800
|
+
onChange?: ((value: string) => void) | undefined;
|
1754
801
|
isTargetAmount?: false | undefined;
|
1755
802
|
targetAmount?: undefined;
|
1756
803
|
renderValue?: undefined;
|
1757
|
-
name: string;
|
1758
804
|
} & {
|
1759
805
|
requiredPlacement?: "left" | "right" | undefined;
|
1760
806
|
} & {
|
1761
807
|
required: true;
|
1762
808
|
optional?: false | undefined;
|
1763
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
809
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1764
810
|
items: ItemOption[];
|
1765
811
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1766
812
|
label?: string | undefined;
|
@@ -1787,18 +833,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1787
833
|
} & {
|
1788
834
|
multiple?: false | undefined;
|
1789
835
|
value?: string | undefined;
|
1790
|
-
|
1791
|
-
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
836
|
+
onChange?: ((value: string) => void) | undefined;
|
1792
837
|
isTargetAmount?: false | undefined;
|
1793
838
|
targetAmount?: undefined;
|
1794
839
|
renderValue?: undefined;
|
1795
|
-
name: string;
|
1796
840
|
} & {
|
1797
841
|
requiredPlacement?: "left" | "right" | undefined;
|
1798
842
|
} & {
|
1799
843
|
optional?: true | undefined;
|
1800
844
|
required?: false | undefined;
|
1801
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
845
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1802
846
|
items: ItemOption[];
|
1803
847
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1804
848
|
label?: string | undefined;
|
@@ -1825,18 +869,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1825
869
|
} & {
|
1826
870
|
multiple: true;
|
1827
871
|
value?: string[] | undefined;
|
1828
|
-
defaultValue?: undefined;
|
1829
872
|
onChange?: ((value: string[]) => void) | undefined;
|
1830
873
|
isTargetAmount?: true | undefined;
|
1831
874
|
targetAmount?: number | undefined;
|
1832
875
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1833
|
-
name?: undefined;
|
1834
876
|
} & {
|
1835
877
|
requiredPlacement?: "left" | "right" | undefined;
|
1836
878
|
} & {
|
1837
879
|
required: true;
|
1838
880
|
optional?: false | undefined;
|
1839
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
881
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
1840
882
|
items: ItemOption[];
|
1841
883
|
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1842
884
|
label?: string | undefined;
|
@@ -1863,18 +905,16 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
1863
905
|
} & {
|
1864
906
|
multiple: true;
|
1865
907
|
value?: string[] | undefined;
|
1866
|
-
defaultValue?: undefined;
|
1867
908
|
onChange?: ((value: string[]) => void) | undefined;
|
1868
909
|
isTargetAmount?: true | undefined;
|
1869
910
|
targetAmount?: number | undefined;
|
1870
911
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1871
|
-
name?: undefined;
|
1872
912
|
} & {
|
1873
913
|
requiredPlacement?: "left" | "right" | undefined;
|
1874
914
|
} & {
|
1875
915
|
optional?: true | undefined;
|
1876
916
|
required?: false | undefined;
|
1877
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "
|
917
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & {
|
1878
918
|
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
1879
919
|
}) => ReactElement | null;
|
1880
920
|
export { Combobox };
|