@salutejs/sdds-dfa 0.179.0-canary.1556.11999996386.0 → 0.179.0-canary.1558.12000013697.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +1668 -4162
- package/components/Autocomplete/Autocomplete.d.ts +39 -631
- package/components/Combobox/Combobox.d.ts +36 -492
- package/components/DatePicker/DatePicker.d.ts +1 -47
- package/components/Mask/Mask.d.ts +39 -1239
- package/components/Modal/Modal.config.js +1 -1
- package/components/Select/Select.d.ts +14 -288
- package/components/TextArea/TextArea.d.ts +32 -16
- package/components/TextField/TextField.d.ts +39 -711
- package/es/components/Modal/Modal.config.js +1 -1
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +1668 -4162
@@ -43,9 +43,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
43
43
|
closeAfterSelect?: boolean | undefined;
|
44
44
|
size?: string | undefined;
|
45
45
|
view?: string | undefined;
|
46
|
-
|
47
|
-
labelPlacement: "inner";
|
48
|
-
hasPlaceholder?: boolean | undefined;
|
46
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
49
47
|
} & {
|
50
48
|
readOnly?: boolean | undefined;
|
51
49
|
disabled?: true | undefined;
|
@@ -58,82 +56,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
58
56
|
targetAmount?: undefined;
|
59
57
|
renderValue?: undefined;
|
60
58
|
} & {
|
61
|
-
required: true;
|
62
59
|
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
|
-
label?: string | undefined;
|
68
|
-
placeholder?: string | undefined;
|
69
|
-
helperText?: string | undefined;
|
70
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
71
|
-
textBefore?: string | undefined;
|
72
|
-
textAfter?: string | undefined;
|
73
|
-
variant?: "normal" | "tight" | undefined;
|
74
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
75
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
76
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
77
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
78
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
79
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
80
|
-
closeAfterSelect?: boolean | undefined;
|
81
|
-
size?: string | undefined;
|
82
|
-
view?: string | undefined;
|
83
|
-
} & {
|
84
|
-
labelPlacement: "inner";
|
85
|
-
hasPlaceholder?: 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?: undefined;
|
100
|
-
optional?: boolean | 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
|
-
label?: string | undefined;
|
105
|
-
placeholder?: string | undefined;
|
106
|
-
helperText?: string | undefined;
|
107
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
108
|
-
textBefore?: string | undefined;
|
109
|
-
textAfter?: string | undefined;
|
110
|
-
variant?: "normal" | "tight" | undefined;
|
111
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
112
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
113
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
114
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
115
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
116
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
117
|
-
closeAfterSelect?: boolean | undefined;
|
118
|
-
size?: string | undefined;
|
119
|
-
view?: string | undefined;
|
120
|
-
} & {
|
121
|
-
labelPlacement: "inner";
|
122
|
-
hasPlaceholder?: 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
60
|
} & {
|
135
61
|
required: true;
|
136
|
-
requiredPlacement?: "right" | "left" | undefined;
|
137
62
|
optional?: false | undefined;
|
138
63
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
139
64
|
items: ItemOption[];
|
@@ -154,50 +79,11 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
154
79
|
closeAfterSelect?: boolean | undefined;
|
155
80
|
size?: string | undefined;
|
156
81
|
view?: string | undefined;
|
157
|
-
|
158
|
-
labelPlacement: "inner";
|
159
|
-
hasPlaceholder?: boolean | undefined;
|
82
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
160
83
|
} & {
|
161
84
|
readOnly?: boolean | undefined;
|
162
85
|
disabled?: true | undefined;
|
163
86
|
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?: undefined;
|
174
|
-
optional?: boolean | 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
|
-
label?: string | undefined;
|
179
|
-
placeholder?: string | undefined;
|
180
|
-
helperText?: string | undefined;
|
181
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
182
|
-
textBefore?: string | undefined;
|
183
|
-
textAfter?: string | undefined;
|
184
|
-
variant?: "normal" | "tight" | undefined;
|
185
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
186
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
187
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
188
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
189
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
190
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
191
|
-
closeAfterSelect?: boolean | undefined;
|
192
|
-
size?: string | undefined;
|
193
|
-
view?: string | undefined;
|
194
|
-
} & {
|
195
|
-
labelPlacement: "inner";
|
196
|
-
hasPlaceholder?: boolean | undefined;
|
197
|
-
} & {
|
198
|
-
readOnly?: true | undefined;
|
199
|
-
disabled?: boolean | undefined;
|
200
|
-
alwaysOpened?: false | undefined;
|
201
87
|
} & {
|
202
88
|
multiple?: false | undefined;
|
203
89
|
value?: string | undefined;
|
@@ -206,46 +92,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
206
92
|
targetAmount?: undefined;
|
207
93
|
renderValue?: undefined;
|
208
94
|
} & {
|
209
|
-
required: true;
|
210
95
|
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
|
-
label?: string | undefined;
|
216
|
-
placeholder?: string | undefined;
|
217
|
-
helperText?: string | undefined;
|
218
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
219
|
-
textBefore?: string | undefined;
|
220
|
-
textAfter?: string | undefined;
|
221
|
-
variant?: "normal" | "tight" | undefined;
|
222
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
223
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
224
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
225
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
226
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
227
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
228
|
-
closeAfterSelect?: boolean | undefined;
|
229
|
-
size?: string | undefined;
|
230
|
-
view?: string | undefined;
|
231
|
-
} & {
|
232
|
-
labelPlacement: "inner";
|
233
|
-
hasPlaceholder?: 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
96
|
} & {
|
97
|
+
optional?: true | undefined;
|
246
98
|
required?: false | undefined;
|
247
|
-
requiredPlacement?: undefined;
|
248
|
-
optional?: boolean | undefined;
|
249
99
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
250
100
|
items: ItemOption[];
|
251
101
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -265,49 +115,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
265
115
|
closeAfterSelect?: boolean | undefined;
|
266
116
|
size?: string | undefined;
|
267
117
|
view?: string | undefined;
|
118
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
268
119
|
} & {
|
269
|
-
|
270
|
-
|
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
|
-
label?: string | undefined;
|
290
|
-
placeholder?: string | undefined;
|
291
|
-
helperText?: string | undefined;
|
292
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
293
|
-
textBefore?: string | undefined;
|
294
|
-
textAfter?: string | undefined;
|
295
|
-
variant?: "normal" | "tight" | undefined;
|
296
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
297
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
298
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
299
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
300
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
301
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
302
|
-
closeAfterSelect?: boolean | undefined;
|
303
|
-
size?: string | undefined;
|
304
|
-
view?: string | undefined;
|
305
|
-
} & {
|
306
|
-
labelPlacement: "inner";
|
307
|
-
hasPlaceholder?: boolean | undefined;
|
308
|
-
} & {
|
309
|
-
readOnly?: true | undefined;
|
310
|
-
disabled?: boolean | undefined;
|
120
|
+
readOnly?: boolean | undefined;
|
121
|
+
disabled?: true | undefined;
|
311
122
|
alwaysOpened?: false | undefined;
|
312
123
|
} & {
|
313
124
|
multiple: true;
|
@@ -317,193 +128,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
317
128
|
targetAmount?: number | undefined;
|
318
129
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
319
130
|
} & {
|
320
|
-
required?: false | undefined;
|
321
|
-
requiredPlacement?: undefined;
|
322
|
-
optional?: boolean | 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
|
-
label?: string | undefined;
|
327
|
-
placeholder?: string | undefined;
|
328
|
-
helperText?: string | undefined;
|
329
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
330
|
-
textBefore?: string | undefined;
|
331
|
-
textAfter?: string | undefined;
|
332
|
-
variant?: "normal" | "tight" | undefined;
|
333
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
334
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
335
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
336
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
337
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
338
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
339
|
-
closeAfterSelect?: boolean | undefined;
|
340
|
-
size?: string | undefined;
|
341
|
-
view?: string | undefined;
|
342
|
-
} & {
|
343
|
-
labelPlacement: "inner";
|
344
|
-
hasPlaceholder?: boolean | undefined;
|
345
|
-
} & {
|
346
|
-
readOnly?: false | undefined;
|
347
|
-
disabled?: false | undefined;
|
348
|
-
alwaysOpened?: true | undefined;
|
349
|
-
} & {
|
350
|
-
multiple?: false | undefined;
|
351
|
-
value?: string | undefined;
|
352
|
-
onChange?: ((value: string) => void) | undefined;
|
353
|
-
isTargetAmount?: false | undefined;
|
354
|
-
targetAmount?: undefined;
|
355
|
-
renderValue?: undefined;
|
356
|
-
} & {
|
357
|
-
required: true;
|
358
|
-
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
|
-
label?: string | undefined;
|
364
|
-
placeholder?: string | undefined;
|
365
|
-
helperText?: string | undefined;
|
366
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
367
|
-
textBefore?: string | undefined;
|
368
|
-
textAfter?: string | undefined;
|
369
|
-
variant?: "normal" | "tight" | undefined;
|
370
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
371
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
372
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
373
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
374
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
375
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
376
|
-
closeAfterSelect?: boolean | undefined;
|
377
|
-
size?: string | undefined;
|
378
|
-
view?: string | undefined;
|
379
|
-
} & {
|
380
|
-
labelPlacement: "inner";
|
381
|
-
hasPlaceholder?: 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?: undefined;
|
396
|
-
optional?: boolean | 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
|
-
label?: string | undefined;
|
401
|
-
placeholder?: string | undefined;
|
402
|
-
helperText?: string | undefined;
|
403
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
404
|
-
textBefore?: string | undefined;
|
405
|
-
textAfter?: string | undefined;
|
406
|
-
variant?: "normal" | "tight" | undefined;
|
407
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
408
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
409
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
410
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
411
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
412
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
413
|
-
closeAfterSelect?: boolean | undefined;
|
414
|
-
size?: string | undefined;
|
415
|
-
view?: string | undefined;
|
416
|
-
} & {
|
417
|
-
labelPlacement: "inner";
|
418
|
-
hasPlaceholder?: 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
|
-
} & {
|
431
|
-
required: true;
|
432
131
|
requiredPlacement?: "right" | "left" | undefined;
|
433
|
-
optional?: false | undefined;
|
434
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
435
|
-
items: ItemOption[];
|
436
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
437
|
-
label?: string | undefined;
|
438
|
-
placeholder?: string | undefined;
|
439
|
-
helperText?: string | undefined;
|
440
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
441
|
-
textBefore?: string | undefined;
|
442
|
-
textAfter?: string | undefined;
|
443
|
-
variant?: "normal" | "tight" | undefined;
|
444
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
445
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
446
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
447
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
448
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
449
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
450
|
-
closeAfterSelect?: boolean | undefined;
|
451
|
-
size?: string | undefined;
|
452
|
-
view?: string | undefined;
|
453
|
-
} & {
|
454
|
-
labelPlacement: "inner";
|
455
|
-
hasPlaceholder?: 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?: undefined;
|
470
|
-
optional?: boolean | 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
|
-
label?: string | undefined;
|
475
|
-
placeholder?: string | undefined;
|
476
|
-
helperText?: string | undefined;
|
477
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
478
|
-
textBefore?: string | undefined;
|
479
|
-
textAfter?: string | undefined;
|
480
|
-
variant?: "normal" | "tight" | undefined;
|
481
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
482
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
483
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
484
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
485
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
486
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
487
|
-
closeAfterSelect?: boolean | undefined;
|
488
|
-
size?: string | undefined;
|
489
|
-
view?: string | undefined;
|
490
|
-
} & {
|
491
|
-
labelPlacement?: "outer" | undefined;
|
492
|
-
hasPlaceholder?: undefined;
|
493
|
-
} & {
|
494
|
-
readOnly?: boolean | undefined;
|
495
|
-
disabled?: true | undefined;
|
496
|
-
alwaysOpened?: false | undefined;
|
497
|
-
} & {
|
498
|
-
multiple?: false | undefined;
|
499
|
-
value?: string | undefined;
|
500
|
-
onChange?: ((value: string) => void) | undefined;
|
501
|
-
isTargetAmount?: false | undefined;
|
502
|
-
targetAmount?: undefined;
|
503
|
-
renderValue?: undefined;
|
504
132
|
} & {
|
505
133
|
required: true;
|
506
|
-
requiredPlacement?: "right" | "left" | undefined;
|
507
134
|
optional?: false | undefined;
|
508
135
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
509
136
|
items: ItemOption[];
|
@@ -524,46 +151,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
524
151
|
closeAfterSelect?: boolean | undefined;
|
525
152
|
size?: string | undefined;
|
526
153
|
view?: string | undefined;
|
527
|
-
|
528
|
-
labelPlacement?: "outer" | undefined;
|
529
|
-
hasPlaceholder?: undefined;
|
530
|
-
} & {
|
531
|
-
readOnly?: boolean | undefined;
|
532
|
-
disabled?: true | undefined;
|
533
|
-
alwaysOpened?: false | undefined;
|
534
|
-
} & {
|
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?: undefined;
|
544
|
-
optional?: boolean | undefined;
|
545
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
546
|
-
items: ItemOption[];
|
547
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
548
|
-
label?: string | undefined;
|
549
|
-
placeholder?: string | undefined;
|
550
|
-
helperText?: string | undefined;
|
551
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
552
|
-
textBefore?: string | undefined;
|
553
|
-
textAfter?: string | undefined;
|
554
|
-
variant?: "normal" | "tight" | undefined;
|
555
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
556
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
557
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
558
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
559
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
560
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
561
|
-
closeAfterSelect?: boolean | undefined;
|
562
|
-
size?: string | undefined;
|
563
|
-
view?: string | undefined;
|
564
|
-
} & {
|
565
|
-
labelPlacement?: "outer" | undefined;
|
566
|
-
hasPlaceholder?: undefined;
|
154
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
567
155
|
} & {
|
568
156
|
readOnly?: boolean | undefined;
|
569
157
|
disabled?: true | undefined;
|
@@ -576,46 +164,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
576
164
|
targetAmount?: number | undefined;
|
577
165
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
578
166
|
} & {
|
579
|
-
required: true;
|
580
167
|
requiredPlacement?: "right" | "left" | undefined;
|
581
|
-
optional?: false | undefined;
|
582
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
583
|
-
items: ItemOption[];
|
584
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
585
|
-
label?: string | undefined;
|
586
|
-
placeholder?: string | undefined;
|
587
|
-
helperText?: string | undefined;
|
588
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
589
|
-
textBefore?: string | undefined;
|
590
|
-
textAfter?: string | undefined;
|
591
|
-
variant?: "normal" | "tight" | undefined;
|
592
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
593
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
594
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
595
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
596
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
597
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
598
|
-
closeAfterSelect?: boolean | undefined;
|
599
|
-
size?: string | undefined;
|
600
|
-
view?: string | undefined;
|
601
|
-
} & {
|
602
|
-
labelPlacement?: "outer" | undefined;
|
603
|
-
hasPlaceholder?: undefined;
|
604
|
-
} & {
|
605
|
-
readOnly?: boolean | undefined;
|
606
|
-
disabled?: true | undefined;
|
607
|
-
alwaysOpened?: false | undefined;
|
608
|
-
} & {
|
609
|
-
multiple: true;
|
610
|
-
value?: string[] | undefined;
|
611
|
-
onChange?: ((value: string[]) => void) | undefined;
|
612
|
-
isTargetAmount?: true | undefined;
|
613
|
-
targetAmount?: number | undefined;
|
614
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
615
168
|
} & {
|
169
|
+
optional?: true | undefined;
|
616
170
|
required?: false | undefined;
|
617
|
-
requiredPlacement?: undefined;
|
618
|
-
optional?: boolean | 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;
|
@@ -635,9 +187,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
635
187
|
closeAfterSelect?: boolean | undefined;
|
636
188
|
size?: string | undefined;
|
637
189
|
view?: string | undefined;
|
638
|
-
|
639
|
-
labelPlacement?: "outer" | undefined;
|
640
|
-
hasPlaceholder?: undefined;
|
190
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
641
191
|
} & {
|
642
192
|
readOnly?: true | undefined;
|
643
193
|
disabled?: boolean | undefined;
|
@@ -650,8 +200,9 @@ 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[];
|
@@ -672,9 +223,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
672
223
|
closeAfterSelect?: boolean | undefined;
|
673
224
|
size?: string | undefined;
|
674
225
|
view?: string | undefined;
|
675
|
-
|
676
|
-
labelPlacement?: "outer" | undefined;
|
677
|
-
hasPlaceholder?: undefined;
|
226
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
678
227
|
} & {
|
679
228
|
readOnly?: true | undefined;
|
680
229
|
disabled?: boolean | undefined;
|
@@ -687,9 +236,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
687
236
|
targetAmount?: undefined;
|
688
237
|
renderValue?: undefined;
|
689
238
|
} & {
|
239
|
+
requiredPlacement?: "right" | "left" | undefined;
|
240
|
+
} & {
|
241
|
+
optional?: true | undefined;
|
690
242
|
required?: false | undefined;
|
691
|
-
requiredPlacement?: undefined;
|
692
|
-
optional?: boolean | 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;
|
@@ -709,9 +259,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
709
259
|
closeAfterSelect?: boolean | undefined;
|
710
260
|
size?: string | undefined;
|
711
261
|
view?: string | undefined;
|
712
|
-
|
713
|
-
labelPlacement?: "outer" | undefined;
|
714
|
-
hasPlaceholder?: undefined;
|
262
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
715
263
|
} & {
|
716
264
|
readOnly?: true | undefined;
|
717
265
|
disabled?: boolean | undefined;
|
@@ -724,8 +272,9 @@ 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[];
|
@@ -746,9 +295,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
746
295
|
closeAfterSelect?: boolean | undefined;
|
747
296
|
size?: string | undefined;
|
748
297
|
view?: string | undefined;
|
749
|
-
|
750
|
-
labelPlacement?: "outer" | undefined;
|
751
|
-
hasPlaceholder?: undefined;
|
298
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
752
299
|
} & {
|
753
300
|
readOnly?: true | undefined;
|
754
301
|
disabled?: boolean | undefined;
|
@@ -761,9 +308,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
761
308
|
targetAmount?: number | undefined;
|
762
309
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
763
310
|
} & {
|
311
|
+
requiredPlacement?: "right" | "left" | undefined;
|
312
|
+
} & {
|
313
|
+
optional?: true | undefined;
|
764
314
|
required?: false | undefined;
|
765
|
-
requiredPlacement?: undefined;
|
766
|
-
optional?: boolean | 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;
|
@@ -783,9 +331,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
783
331
|
closeAfterSelect?: boolean | undefined;
|
784
332
|
size?: string | undefined;
|
785
333
|
view?: string | undefined;
|
786
|
-
|
787
|
-
labelPlacement?: "outer" | undefined;
|
788
|
-
hasPlaceholder?: undefined;
|
334
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
789
335
|
} & {
|
790
336
|
readOnly?: false | undefined;
|
791
337
|
disabled?: false | undefined;
|
@@ -798,8 +344,9 @@ 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[];
|
@@ -820,9 +367,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
820
367
|
closeAfterSelect?: boolean | undefined;
|
821
368
|
size?: string | undefined;
|
822
369
|
view?: string | undefined;
|
823
|
-
|
824
|
-
labelPlacement?: "outer" | undefined;
|
825
|
-
hasPlaceholder?: undefined;
|
370
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
826
371
|
} & {
|
827
372
|
readOnly?: false | undefined;
|
828
373
|
disabled?: false | undefined;
|
@@ -835,9 +380,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
835
380
|
targetAmount?: undefined;
|
836
381
|
renderValue?: undefined;
|
837
382
|
} & {
|
383
|
+
requiredPlacement?: "right" | "left" | undefined;
|
384
|
+
} & {
|
385
|
+
optional?: true | undefined;
|
838
386
|
required?: false | undefined;
|
839
|
-
requiredPlacement?: undefined;
|
840
|
-
optional?: boolean | 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;
|
@@ -857,9 +403,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
857
403
|
closeAfterSelect?: boolean | undefined;
|
858
404
|
size?: string | undefined;
|
859
405
|
view?: string | undefined;
|
860
|
-
|
861
|
-
labelPlacement?: "outer" | undefined;
|
862
|
-
hasPlaceholder?: undefined;
|
406
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
863
407
|
} & {
|
864
408
|
readOnly?: false | undefined;
|
865
409
|
disabled?: false | undefined;
|
@@ -872,8 +416,9 @@ 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[];
|
@@ -894,9 +439,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
894
439
|
closeAfterSelect?: boolean | undefined;
|
895
440
|
size?: string | undefined;
|
896
441
|
view?: string | undefined;
|
897
|
-
|
898
|
-
labelPlacement?: "outer" | undefined;
|
899
|
-
hasPlaceholder?: undefined;
|
442
|
+
labelPlacement?: "outer" | "inner" | 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
|
} & {
|
455
|
+
requiredPlacement?: "right" | "left" | undefined;
|
456
|
+
} & {
|
457
|
+
optional?: true | undefined;
|
912
458
|
required?: false | undefined;
|
913
|
-
requiredPlacement?: undefined;
|
914
|
-
optional?: boolean | 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>;
|