@salutejs/sdds-dfa 0.173.0-canary.1556.11815100174.0 → 0.173.0-canary.1559.11815272061.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +1093 -2977
- package/components/Autocomplete/Autocomplete.d.ts +4 -2
- package/components/Combobox/Combobox.d.ts +32 -488
- package/components/DatePicker/DatePicker.d.ts +1 -47
- package/components/Mask/Mask.d.ts +62 -1246
- package/components/TextField/TextField.d.ts +59 -715
- package/package.json +8 -8
- package/temp/sdds-dfa.api.md +0 -6760
@@ -27,43 +27,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
27
27
|
}> & (({
|
28
28
|
items: ItemOption[];
|
29
29
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
30
|
-
placeholder?: string | undefined;
|
31
|
-
helperText?: string | undefined;
|
32
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
33
|
-
textBefore?: string | undefined;
|
34
|
-
textAfter?: string | undefined;
|
35
|
-
variant?: "normal" | "tight" | undefined;
|
36
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
37
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
38
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
39
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
40
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
41
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
42
|
-
closeAfterSelect?: boolean | undefined;
|
43
|
-
size?: string | undefined;
|
44
|
-
view?: string | undefined;
|
45
|
-
} & {
|
46
30
|
label?: string | undefined;
|
47
|
-
labelPlacement: "inner";
|
48
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
49
|
-
} & {
|
50
|
-
readOnly?: boolean | undefined;
|
51
|
-
disabled?: true | undefined;
|
52
|
-
alwaysOpened?: false | undefined;
|
53
|
-
} & {
|
54
|
-
multiple?: false | undefined;
|
55
|
-
value?: string | undefined;
|
56
|
-
onChange?: ((value: string) => void) | undefined;
|
57
|
-
isTargetAmount?: false | undefined;
|
58
|
-
targetAmount?: undefined;
|
59
|
-
renderValue?: undefined;
|
60
|
-
} & {
|
61
|
-
required: true;
|
62
|
-
requiredPlacement?: "right" | "left" | undefined;
|
63
|
-
optional?: false | undefined;
|
64
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
65
|
-
items: ItemOption[];
|
66
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
67
31
|
placeholder?: string | undefined;
|
68
32
|
helperText?: string | undefined;
|
69
33
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -79,273 +43,11 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
79
43
|
closeAfterSelect?: boolean | undefined;
|
80
44
|
size?: string | undefined;
|
81
45
|
view?: string | undefined;
|
82
|
-
|
83
|
-
label?: string | undefined;
|
84
|
-
labelPlacement: "inner";
|
85
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
86
|
-
} & {
|
87
|
-
readOnly?: boolean | undefined;
|
88
|
-
disabled?: true | undefined;
|
89
|
-
alwaysOpened?: false | undefined;
|
90
|
-
} & {
|
91
|
-
multiple?: false | undefined;
|
92
|
-
value?: string | undefined;
|
93
|
-
onChange?: ((value: string) => void) | undefined;
|
94
|
-
isTargetAmount?: false | undefined;
|
95
|
-
targetAmount?: undefined;
|
96
|
-
renderValue?: undefined;
|
97
|
-
} & {
|
98
|
-
required?: false | undefined;
|
99
|
-
requiredPlacement?: "right" | "left" | undefined;
|
100
|
-
optional?: true | undefined;
|
101
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
102
|
-
items: ItemOption[];
|
103
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
104
|
-
placeholder?: string | undefined;
|
105
|
-
helperText?: string | undefined;
|
106
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
107
|
-
textBefore?: string | undefined;
|
108
|
-
textAfter?: string | undefined;
|
109
|
-
variant?: "normal" | "tight" | undefined;
|
110
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
111
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
112
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
113
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
114
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
115
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
116
|
-
closeAfterSelect?: boolean | undefined;
|
117
|
-
size?: string | undefined;
|
118
|
-
view?: string | undefined;
|
119
|
-
} & {
|
120
|
-
label?: string | undefined;
|
121
|
-
labelPlacement: "inner";
|
122
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
123
|
-
} & {
|
124
|
-
readOnly?: boolean | undefined;
|
125
|
-
disabled?: true | undefined;
|
126
|
-
alwaysOpened?: false | undefined;
|
127
|
-
} & {
|
128
|
-
multiple: true;
|
129
|
-
value?: string[] | undefined;
|
130
|
-
onChange?: ((value: string[]) => void) | undefined;
|
131
|
-
isTargetAmount?: true | undefined;
|
132
|
-
targetAmount?: number | undefined;
|
133
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
134
|
-
} & {
|
135
|
-
required: true;
|
136
|
-
requiredPlacement?: "right" | "left" | undefined;
|
137
|
-
optional?: false | undefined;
|
138
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
139
|
-
items: ItemOption[];
|
140
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
141
|
-
placeholder?: string | undefined;
|
142
|
-
helperText?: string | undefined;
|
143
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
144
|
-
textBefore?: string | undefined;
|
145
|
-
textAfter?: string | undefined;
|
146
|
-
variant?: "normal" | "tight" | undefined;
|
147
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
148
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
149
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
150
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
151
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
152
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
153
|
-
closeAfterSelect?: boolean | undefined;
|
154
|
-
size?: string | undefined;
|
155
|
-
view?: string | undefined;
|
156
|
-
} & {
|
157
|
-
label?: string | undefined;
|
158
|
-
labelPlacement: "inner";
|
159
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
46
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
160
47
|
} & {
|
161
48
|
readOnly?: boolean | undefined;
|
162
49
|
disabled?: true | undefined;
|
163
50
|
alwaysOpened?: false | undefined;
|
164
|
-
} & {
|
165
|
-
multiple: true;
|
166
|
-
value?: string[] | undefined;
|
167
|
-
onChange?: ((value: string[]) => void) | undefined;
|
168
|
-
isTargetAmount?: true | undefined;
|
169
|
-
targetAmount?: number | undefined;
|
170
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
171
|
-
} & {
|
172
|
-
required?: false | undefined;
|
173
|
-
requiredPlacement?: "right" | "left" | undefined;
|
174
|
-
optional?: true | undefined;
|
175
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
176
|
-
items: ItemOption[];
|
177
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
178
|
-
placeholder?: string | undefined;
|
179
|
-
helperText?: string | undefined;
|
180
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
181
|
-
textBefore?: string | undefined;
|
182
|
-
textAfter?: string | undefined;
|
183
|
-
variant?: "normal" | "tight" | undefined;
|
184
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
185
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
186
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
187
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
188
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
189
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
190
|
-
closeAfterSelect?: boolean | undefined;
|
191
|
-
size?: string | undefined;
|
192
|
-
view?: string | undefined;
|
193
|
-
} & {
|
194
|
-
label?: string | undefined;
|
195
|
-
labelPlacement: "inner";
|
196
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
197
|
-
} & {
|
198
|
-
readOnly?: true | undefined;
|
199
|
-
disabled?: boolean | undefined;
|
200
|
-
alwaysOpened?: false | undefined;
|
201
|
-
} & {
|
202
|
-
multiple?: false | undefined;
|
203
|
-
value?: string | undefined;
|
204
|
-
onChange?: ((value: string) => void) | undefined;
|
205
|
-
isTargetAmount?: false | undefined;
|
206
|
-
targetAmount?: undefined;
|
207
|
-
renderValue?: undefined;
|
208
|
-
} & {
|
209
|
-
required: true;
|
210
|
-
requiredPlacement?: "right" | "left" | undefined;
|
211
|
-
optional?: false | undefined;
|
212
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
213
|
-
items: ItemOption[];
|
214
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
215
|
-
placeholder?: string | undefined;
|
216
|
-
helperText?: string | undefined;
|
217
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
218
|
-
textBefore?: string | undefined;
|
219
|
-
textAfter?: string | undefined;
|
220
|
-
variant?: "normal" | "tight" | undefined;
|
221
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
222
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
223
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
224
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
225
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
226
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
227
|
-
closeAfterSelect?: boolean | undefined;
|
228
|
-
size?: string | undefined;
|
229
|
-
view?: string | undefined;
|
230
|
-
} & {
|
231
|
-
label?: string | undefined;
|
232
|
-
labelPlacement: "inner";
|
233
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
234
|
-
} & {
|
235
|
-
readOnly?: true | undefined;
|
236
|
-
disabled?: boolean | undefined;
|
237
|
-
alwaysOpened?: false | undefined;
|
238
|
-
} & {
|
239
|
-
multiple?: false | undefined;
|
240
|
-
value?: string | undefined;
|
241
|
-
onChange?: ((value: string) => void) | undefined;
|
242
|
-
isTargetAmount?: false | undefined;
|
243
|
-
targetAmount?: undefined;
|
244
|
-
renderValue?: undefined;
|
245
|
-
} & {
|
246
|
-
required?: false | undefined;
|
247
|
-
requiredPlacement?: "right" | "left" | undefined;
|
248
|
-
optional?: true | undefined;
|
249
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
250
|
-
items: ItemOption[];
|
251
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
252
|
-
placeholder?: string | undefined;
|
253
|
-
helperText?: string | undefined;
|
254
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
255
|
-
textBefore?: string | undefined;
|
256
|
-
textAfter?: string | undefined;
|
257
|
-
variant?: "normal" | "tight" | undefined;
|
258
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
259
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
260
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
261
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
262
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
263
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
264
|
-
closeAfterSelect?: boolean | undefined;
|
265
|
-
size?: string | undefined;
|
266
|
-
view?: string | undefined;
|
267
|
-
} & {
|
268
|
-
label?: string | undefined;
|
269
|
-
labelPlacement: "inner";
|
270
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
271
|
-
} & {
|
272
|
-
readOnly?: true | undefined;
|
273
|
-
disabled?: boolean | undefined;
|
274
|
-
alwaysOpened?: false | undefined;
|
275
|
-
} & {
|
276
|
-
multiple: true;
|
277
|
-
value?: string[] | undefined;
|
278
|
-
onChange?: ((value: string[]) => void) | undefined;
|
279
|
-
isTargetAmount?: true | undefined;
|
280
|
-
targetAmount?: number | undefined;
|
281
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
282
|
-
} & {
|
283
|
-
required: true;
|
284
|
-
requiredPlacement?: "right" | "left" | undefined;
|
285
|
-
optional?: false | undefined;
|
286
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
287
|
-
items: ItemOption[];
|
288
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
289
|
-
placeholder?: string | undefined;
|
290
|
-
helperText?: string | undefined;
|
291
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
292
|
-
textBefore?: string | undefined;
|
293
|
-
textAfter?: string | undefined;
|
294
|
-
variant?: "normal" | "tight" | undefined;
|
295
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
296
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
297
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
298
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
299
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
300
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
301
|
-
closeAfterSelect?: boolean | undefined;
|
302
|
-
size?: string | undefined;
|
303
|
-
view?: string | undefined;
|
304
|
-
} & {
|
305
|
-
label?: string | undefined;
|
306
|
-
labelPlacement: "inner";
|
307
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
308
|
-
} & {
|
309
|
-
readOnly?: true | undefined;
|
310
|
-
disabled?: boolean | undefined;
|
311
|
-
alwaysOpened?: false | undefined;
|
312
|
-
} & {
|
313
|
-
multiple: true;
|
314
|
-
value?: string[] | undefined;
|
315
|
-
onChange?: ((value: string[]) => void) | undefined;
|
316
|
-
isTargetAmount?: true | undefined;
|
317
|
-
targetAmount?: number | undefined;
|
318
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
319
|
-
} & {
|
320
|
-
required?: false | undefined;
|
321
|
-
requiredPlacement?: "right" | "left" | undefined;
|
322
|
-
optional?: true | undefined;
|
323
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
324
|
-
items: ItemOption[];
|
325
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
326
|
-
placeholder?: string | undefined;
|
327
|
-
helperText?: string | undefined;
|
328
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
329
|
-
textBefore?: string | undefined;
|
330
|
-
textAfter?: string | undefined;
|
331
|
-
variant?: "normal" | "tight" | undefined;
|
332
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
333
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
334
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
335
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
336
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
337
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
338
|
-
closeAfterSelect?: boolean | undefined;
|
339
|
-
size?: string | undefined;
|
340
|
-
view?: string | undefined;
|
341
|
-
} & {
|
342
|
-
label?: string | undefined;
|
343
|
-
labelPlacement: "inner";
|
344
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
345
|
-
} & {
|
346
|
-
readOnly?: false | undefined;
|
347
|
-
disabled?: false | undefined;
|
348
|
-
alwaysOpened?: true | undefined;
|
349
51
|
} & {
|
350
52
|
multiple?: false | undefined;
|
351
53
|
value?: string | undefined;
|
@@ -354,123 +56,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
354
56
|
targetAmount?: undefined;
|
355
57
|
renderValue?: undefined;
|
356
58
|
} & {
|
357
|
-
required: true;
|
358
59
|
requiredPlacement?: "right" | "left" | undefined;
|
359
|
-
optional?: false | undefined;
|
360
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
361
|
-
items: ItemOption[];
|
362
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
363
|
-
placeholder?: string | undefined;
|
364
|
-
helperText?: string | undefined;
|
365
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
366
|
-
textBefore?: string | undefined;
|
367
|
-
textAfter?: string | undefined;
|
368
|
-
variant?: "normal" | "tight" | undefined;
|
369
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
370
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
371
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
372
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
373
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
374
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
375
|
-
closeAfterSelect?: boolean | undefined;
|
376
|
-
size?: string | undefined;
|
377
|
-
view?: string | undefined;
|
378
|
-
} & {
|
379
|
-
label?: string | undefined;
|
380
|
-
labelPlacement: "inner";
|
381
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
382
|
-
} & {
|
383
|
-
readOnly?: false | undefined;
|
384
|
-
disabled?: false | undefined;
|
385
|
-
alwaysOpened?: true | undefined;
|
386
|
-
} & {
|
387
|
-
multiple?: false | undefined;
|
388
|
-
value?: string | undefined;
|
389
|
-
onChange?: ((value: string) => void) | undefined;
|
390
|
-
isTargetAmount?: false | undefined;
|
391
|
-
targetAmount?: undefined;
|
392
|
-
renderValue?: undefined;
|
393
|
-
} & {
|
394
|
-
required?: false | undefined;
|
395
|
-
requiredPlacement?: "right" | "left" | undefined;
|
396
|
-
optional?: true | undefined;
|
397
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
398
|
-
items: ItemOption[];
|
399
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
400
|
-
placeholder?: string | undefined;
|
401
|
-
helperText?: string | undefined;
|
402
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
403
|
-
textBefore?: string | undefined;
|
404
|
-
textAfter?: string | undefined;
|
405
|
-
variant?: "normal" | "tight" | undefined;
|
406
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
407
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
408
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
409
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
410
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
411
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
412
|
-
closeAfterSelect?: boolean | undefined;
|
413
|
-
size?: string | undefined;
|
414
|
-
view?: string | undefined;
|
415
|
-
} & {
|
416
|
-
label?: string | undefined;
|
417
|
-
labelPlacement: "inner";
|
418
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
419
|
-
} & {
|
420
|
-
readOnly?: false | undefined;
|
421
|
-
disabled?: false | undefined;
|
422
|
-
alwaysOpened?: true | undefined;
|
423
|
-
} & {
|
424
|
-
multiple: true;
|
425
|
-
value?: string[] | undefined;
|
426
|
-
onChange?: ((value: string[]) => void) | undefined;
|
427
|
-
isTargetAmount?: true | undefined;
|
428
|
-
targetAmount?: number | undefined;
|
429
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
430
60
|
} & {
|
431
61
|
required: true;
|
432
|
-
requiredPlacement?: "right" | "left" | undefined;
|
433
62
|
optional?: false | undefined;
|
434
63
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
435
64
|
items: ItemOption[];
|
436
65
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
437
|
-
placeholder?: string | undefined;
|
438
|
-
helperText?: string | undefined;
|
439
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
440
|
-
textBefore?: string | undefined;
|
441
|
-
textAfter?: string | undefined;
|
442
|
-
variant?: "normal" | "tight" | undefined;
|
443
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
444
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
445
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
446
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
447
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
448
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
449
|
-
closeAfterSelect?: boolean | undefined;
|
450
|
-
size?: string | undefined;
|
451
|
-
view?: string | undefined;
|
452
|
-
} & {
|
453
66
|
label?: string | undefined;
|
454
|
-
labelPlacement: "inner";
|
455
|
-
hasInnerLabelPlaceholder?: boolean | undefined;
|
456
|
-
} & {
|
457
|
-
readOnly?: false | undefined;
|
458
|
-
disabled?: false | undefined;
|
459
|
-
alwaysOpened?: true | undefined;
|
460
|
-
} & {
|
461
|
-
multiple: true;
|
462
|
-
value?: string[] | undefined;
|
463
|
-
onChange?: ((value: string[]) => void) | undefined;
|
464
|
-
isTargetAmount?: true | undefined;
|
465
|
-
targetAmount?: number | undefined;
|
466
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
467
|
-
} & {
|
468
|
-
required?: false | undefined;
|
469
|
-
requiredPlacement?: "right" | "left" | undefined;
|
470
|
-
optional?: true | undefined;
|
471
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
472
|
-
items: ItemOption[];
|
473
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
474
67
|
placeholder?: string | undefined;
|
475
68
|
helperText?: string | undefined;
|
476
69
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -486,10 +79,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
486
79
|
closeAfterSelect?: boolean | undefined;
|
487
80
|
size?: string | undefined;
|
488
81
|
view?: string | undefined;
|
489
|
-
} & {
|
490
|
-
label?: string | undefined;
|
491
82
|
labelPlacement?: "outer" | "inner" | undefined;
|
492
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
493
83
|
} & {
|
494
84
|
readOnly?: boolean | undefined;
|
495
85
|
disabled?: true | undefined;
|
@@ -502,49 +92,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
502
92
|
targetAmount?: undefined;
|
503
93
|
renderValue?: undefined;
|
504
94
|
} & {
|
505
|
-
required: true;
|
506
95
|
requiredPlacement?: "right" | "left" | undefined;
|
507
|
-
optional?: false | undefined;
|
508
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
509
|
-
items: ItemOption[];
|
510
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
511
|
-
placeholder?: string | undefined;
|
512
|
-
helperText?: string | undefined;
|
513
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
514
|
-
textBefore?: string | undefined;
|
515
|
-
textAfter?: string | undefined;
|
516
|
-
variant?: "normal" | "tight" | undefined;
|
517
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
518
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
519
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
520
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
521
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
522
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
523
|
-
closeAfterSelect?: boolean | undefined;
|
524
|
-
size?: string | undefined;
|
525
|
-
view?: string | undefined;
|
526
|
-
} & {
|
527
|
-
label?: string | undefined;
|
528
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
529
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
530
|
-
} & {
|
531
|
-
readOnly?: boolean | undefined;
|
532
|
-
disabled?: true | undefined;
|
533
|
-
alwaysOpened?: false | undefined;
|
534
96
|
} & {
|
535
|
-
multiple?: false | undefined;
|
536
|
-
value?: string | undefined;
|
537
|
-
onChange?: ((value: string) => void) | undefined;
|
538
|
-
isTargetAmount?: false | undefined;
|
539
|
-
targetAmount?: undefined;
|
540
|
-
renderValue?: undefined;
|
541
|
-
} & {
|
542
|
-
required?: false | undefined;
|
543
|
-
requiredPlacement?: "right" | "left" | undefined;
|
544
97
|
optional?: true | undefined;
|
98
|
+
required?: false | undefined;
|
545
99
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
546
100
|
items: ItemOption[];
|
547
101
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
102
|
+
label?: string | undefined;
|
548
103
|
placeholder?: string | undefined;
|
549
104
|
helperText?: string | undefined;
|
550
105
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -560,10 +115,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
560
115
|
closeAfterSelect?: boolean | undefined;
|
561
116
|
size?: string | undefined;
|
562
117
|
view?: string | undefined;
|
563
|
-
} & {
|
564
|
-
label?: string | undefined;
|
565
118
|
labelPlacement?: "outer" | "inner" | undefined;
|
566
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
567
119
|
} & {
|
568
120
|
readOnly?: boolean | undefined;
|
569
121
|
disabled?: true | undefined;
|
@@ -576,12 +128,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
576
128
|
targetAmount?: number | undefined;
|
577
129
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
578
130
|
} & {
|
579
|
-
required: true;
|
580
131
|
requiredPlacement?: "right" | "left" | undefined;
|
132
|
+
} & {
|
133
|
+
required: true;
|
581
134
|
optional?: false | undefined;
|
582
135
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
583
136
|
items: ItemOption[];
|
584
137
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
138
|
+
label?: string | undefined;
|
585
139
|
placeholder?: string | undefined;
|
586
140
|
helperText?: string | undefined;
|
587
141
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -597,10 +151,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
597
151
|
closeAfterSelect?: boolean | undefined;
|
598
152
|
size?: string | undefined;
|
599
153
|
view?: string | undefined;
|
600
|
-
} & {
|
601
|
-
label?: string | undefined;
|
602
154
|
labelPlacement?: "outer" | "inner" | undefined;
|
603
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
604
155
|
} & {
|
605
156
|
readOnly?: boolean | undefined;
|
606
157
|
disabled?: true | undefined;
|
@@ -613,12 +164,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
613
164
|
targetAmount?: number | undefined;
|
614
165
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
615
166
|
} & {
|
616
|
-
required?: false | undefined;
|
617
167
|
requiredPlacement?: "right" | "left" | undefined;
|
168
|
+
} & {
|
618
169
|
optional?: true | undefined;
|
170
|
+
required?: false | undefined;
|
619
171
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
620
172
|
items: ItemOption[];
|
621
173
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
174
|
+
label?: string | undefined;
|
622
175
|
placeholder?: string | undefined;
|
623
176
|
helperText?: string | undefined;
|
624
177
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -634,10 +187,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
634
187
|
closeAfterSelect?: boolean | undefined;
|
635
188
|
size?: string | undefined;
|
636
189
|
view?: string | undefined;
|
637
|
-
} & {
|
638
|
-
label?: string | undefined;
|
639
190
|
labelPlacement?: "outer" | "inner" | undefined;
|
640
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
641
191
|
} & {
|
642
192
|
readOnly?: true | undefined;
|
643
193
|
disabled?: boolean | undefined;
|
@@ -650,12 +200,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
650
200
|
targetAmount?: undefined;
|
651
201
|
renderValue?: undefined;
|
652
202
|
} & {
|
653
|
-
required: true;
|
654
203
|
requiredPlacement?: "right" | "left" | undefined;
|
204
|
+
} & {
|
205
|
+
required: true;
|
655
206
|
optional?: false | undefined;
|
656
207
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
657
208
|
items: ItemOption[];
|
658
209
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
210
|
+
label?: string | undefined;
|
659
211
|
placeholder?: string | undefined;
|
660
212
|
helperText?: string | undefined;
|
661
213
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -671,10 +223,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
671
223
|
closeAfterSelect?: boolean | undefined;
|
672
224
|
size?: string | undefined;
|
673
225
|
view?: string | undefined;
|
674
|
-
} & {
|
675
|
-
label?: string | undefined;
|
676
226
|
labelPlacement?: "outer" | "inner" | undefined;
|
677
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
678
227
|
} & {
|
679
228
|
readOnly?: true | undefined;
|
680
229
|
disabled?: boolean | undefined;
|
@@ -687,12 +236,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
687
236
|
targetAmount?: undefined;
|
688
237
|
renderValue?: undefined;
|
689
238
|
} & {
|
690
|
-
required?: false | undefined;
|
691
239
|
requiredPlacement?: "right" | "left" | undefined;
|
240
|
+
} & {
|
692
241
|
optional?: true | undefined;
|
242
|
+
required?: false | undefined;
|
693
243
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
694
244
|
items: ItemOption[];
|
695
245
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
246
|
+
label?: string | undefined;
|
696
247
|
placeholder?: string | undefined;
|
697
248
|
helperText?: string | undefined;
|
698
249
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -708,10 +259,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
708
259
|
closeAfterSelect?: boolean | undefined;
|
709
260
|
size?: string | undefined;
|
710
261
|
view?: string | undefined;
|
711
|
-
} & {
|
712
|
-
label?: string | undefined;
|
713
262
|
labelPlacement?: "outer" | "inner" | undefined;
|
714
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
715
263
|
} & {
|
716
264
|
readOnly?: true | undefined;
|
717
265
|
disabled?: boolean | undefined;
|
@@ -724,12 +272,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
724
272
|
targetAmount?: number | undefined;
|
725
273
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
726
274
|
} & {
|
727
|
-
required: true;
|
728
275
|
requiredPlacement?: "right" | "left" | undefined;
|
276
|
+
} & {
|
277
|
+
required: true;
|
729
278
|
optional?: false | undefined;
|
730
279
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
731
280
|
items: ItemOption[];
|
732
281
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
282
|
+
label?: string | undefined;
|
733
283
|
placeholder?: string | undefined;
|
734
284
|
helperText?: string | undefined;
|
735
285
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -745,10 +295,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
745
295
|
closeAfterSelect?: boolean | undefined;
|
746
296
|
size?: string | undefined;
|
747
297
|
view?: string | undefined;
|
748
|
-
} & {
|
749
|
-
label?: string | undefined;
|
750
298
|
labelPlacement?: "outer" | "inner" | undefined;
|
751
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
752
299
|
} & {
|
753
300
|
readOnly?: true | undefined;
|
754
301
|
disabled?: boolean | undefined;
|
@@ -761,12 +308,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
761
308
|
targetAmount?: number | undefined;
|
762
309
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
763
310
|
} & {
|
764
|
-
required?: false | undefined;
|
765
311
|
requiredPlacement?: "right" | "left" | undefined;
|
312
|
+
} & {
|
766
313
|
optional?: true | undefined;
|
314
|
+
required?: false | undefined;
|
767
315
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
768
316
|
items: ItemOption[];
|
769
317
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
318
|
+
label?: string | undefined;
|
770
319
|
placeholder?: string | undefined;
|
771
320
|
helperText?: string | undefined;
|
772
321
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -782,10 +331,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
782
331
|
closeAfterSelect?: boolean | undefined;
|
783
332
|
size?: string | undefined;
|
784
333
|
view?: string | undefined;
|
785
|
-
} & {
|
786
|
-
label?: string | undefined;
|
787
334
|
labelPlacement?: "outer" | "inner" | undefined;
|
788
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
789
335
|
} & {
|
790
336
|
readOnly?: false | undefined;
|
791
337
|
disabled?: false | undefined;
|
@@ -798,12 +344,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
798
344
|
targetAmount?: undefined;
|
799
345
|
renderValue?: undefined;
|
800
346
|
} & {
|
801
|
-
required: true;
|
802
347
|
requiredPlacement?: "right" | "left" | undefined;
|
348
|
+
} & {
|
349
|
+
required: true;
|
803
350
|
optional?: false | undefined;
|
804
351
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
805
352
|
items: ItemOption[];
|
806
353
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
354
|
+
label?: string | undefined;
|
807
355
|
placeholder?: string | undefined;
|
808
356
|
helperText?: string | undefined;
|
809
357
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -819,10 +367,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
819
367
|
closeAfterSelect?: boolean | undefined;
|
820
368
|
size?: string | undefined;
|
821
369
|
view?: string | undefined;
|
822
|
-
} & {
|
823
|
-
label?: string | undefined;
|
824
370
|
labelPlacement?: "outer" | "inner" | undefined;
|
825
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
826
371
|
} & {
|
827
372
|
readOnly?: false | undefined;
|
828
373
|
disabled?: false | undefined;
|
@@ -835,12 +380,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
835
380
|
targetAmount?: undefined;
|
836
381
|
renderValue?: undefined;
|
837
382
|
} & {
|
838
|
-
required?: false | undefined;
|
839
383
|
requiredPlacement?: "right" | "left" | undefined;
|
384
|
+
} & {
|
840
385
|
optional?: true | undefined;
|
386
|
+
required?: false | undefined;
|
841
387
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
842
388
|
items: ItemOption[];
|
843
389
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
390
|
+
label?: string | undefined;
|
844
391
|
placeholder?: string | undefined;
|
845
392
|
helperText?: string | undefined;
|
846
393
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -856,10 +403,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
856
403
|
closeAfterSelect?: boolean | undefined;
|
857
404
|
size?: string | undefined;
|
858
405
|
view?: string | undefined;
|
859
|
-
} & {
|
860
|
-
label?: string | undefined;
|
861
406
|
labelPlacement?: "outer" | "inner" | undefined;
|
862
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
863
407
|
} & {
|
864
408
|
readOnly?: false | undefined;
|
865
409
|
disabled?: false | undefined;
|
@@ -872,12 +416,14 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
872
416
|
targetAmount?: number | undefined;
|
873
417
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
874
418
|
} & {
|
875
|
-
required: true;
|
876
419
|
requiredPlacement?: "right" | "left" | undefined;
|
420
|
+
} & {
|
421
|
+
required: true;
|
877
422
|
optional?: false | undefined;
|
878
423
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
879
424
|
items: ItemOption[];
|
880
425
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
426
|
+
label?: string | undefined;
|
881
427
|
placeholder?: string | undefined;
|
882
428
|
helperText?: string | undefined;
|
883
429
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -893,10 +439,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
893
439
|
closeAfterSelect?: boolean | undefined;
|
894
440
|
size?: string | undefined;
|
895
441
|
view?: string | undefined;
|
896
|
-
} & {
|
897
|
-
label?: string | undefined;
|
898
442
|
labelPlacement?: "outer" | "inner" | undefined;
|
899
|
-
hasInnerLabelPlaceholder?: false | undefined;
|
900
443
|
} & {
|
901
444
|
readOnly?: false | undefined;
|
902
445
|
disabled?: false | undefined;
|
@@ -909,9 +452,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
909
452
|
targetAmount?: number | undefined;
|
910
453
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
911
454
|
} & {
|
912
|
-
required?: false | undefined;
|
913
455
|
requiredPlacement?: "right" | "left" | undefined;
|
456
|
+
} & {
|
914
457
|
optional?: true | undefined;
|
458
|
+
required?: false | undefined;
|
915
459
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
916
460
|
declare type PropsFromConfig = keyof typeof config['variations'];
|
917
461
|
declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|