@salutejs/sdds-dfa 0.173.0-canary.1550.11805988388.0 → 0.173.0-canary.1556.11815100174.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,43 @@ 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
+ } & {
30
46
  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;
31
67
  placeholder?: string | undefined;
32
68
  helperText?: string | undefined;
33
69
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -43,7 +79,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
43
79
  closeAfterSelect?: boolean | undefined;
44
80
  size?: string | undefined;
45
81
  view?: string | undefined;
46
- labelPlacement?: "outer" | "inner" | undefined;
82
+ } & {
83
+ label?: string | undefined;
84
+ labelPlacement: "inner";
85
+ hasInnerLabelPlaceholder?: boolean | undefined;
47
86
  } & {
48
87
  readOnly?: boolean | undefined;
49
88
  disabled?: true | undefined;
@@ -56,14 +95,49 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
56
95
  targetAmount?: undefined;
57
96
  renderValue?: undefined;
58
97
  } & {
98
+ required?: false | undefined;
59
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;
60
134
  } & {
61
135
  required: true;
136
+ requiredPlacement?: "right" | "left" | undefined;
62
137
  optional?: false | undefined;
63
138
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
64
139
  items: ItemOption[];
65
140
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
66
- label?: string | undefined;
67
141
  placeholder?: string | undefined;
68
142
  helperText?: string | undefined;
69
143
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -79,11 +153,51 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
79
153
  closeAfterSelect?: boolean | undefined;
80
154
  size?: string | undefined;
81
155
  view?: string | undefined;
82
- labelPlacement?: "outer" | "inner" | undefined;
156
+ } & {
157
+ label?: string | undefined;
158
+ labelPlacement: "inner";
159
+ hasInnerLabelPlaceholder?: boolean | undefined;
83
160
  } & {
84
161
  readOnly?: boolean | undefined;
85
162
  disabled?: true | undefined;
86
163
  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;
87
201
  } & {
88
202
  multiple?: false | undefined;
89
203
  value?: string | undefined;
@@ -92,14 +206,86 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
92
206
  targetAmount?: undefined;
93
207
  renderValue?: undefined;
94
208
  } & {
209
+ required: true;
95
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;
96
245
  } & {
97
- optional?: true | undefined;
98
246
  required?: false | undefined;
247
+ requiredPlacement?: "right" | "left" | undefined;
248
+ optional?: true | undefined;
99
249
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
100
250
  items: ItemOption[];
101
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
+ } & {
102
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;
103
289
  placeholder?: string | undefined;
104
290
  helperText?: string | undefined;
105
291
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -115,10 +301,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
115
301
  closeAfterSelect?: boolean | undefined;
116
302
  size?: string | undefined;
117
303
  view?: string | undefined;
118
- labelPlacement?: "outer" | "inner" | undefined;
119
304
  } & {
120
- readOnly?: boolean | undefined;
121
- disabled?: true | undefined;
305
+ label?: string | undefined;
306
+ labelPlacement: "inner";
307
+ hasInnerLabelPlaceholder?: boolean | undefined;
308
+ } & {
309
+ readOnly?: true | undefined;
310
+ disabled?: boolean | undefined;
122
311
  alwaysOpened?: false | undefined;
123
312
  } & {
124
313
  multiple: true;
@@ -128,14 +317,234 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
128
317
  targetAmount?: number | undefined;
129
318
  renderValue?: ((item: ItemOption) => string) | undefined;
130
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
+ } & {
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
+ 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
+ } & {
431
+ required: true;
131
432
  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
+ 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
+ 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
+ placeholder?: string | undefined;
475
+ helperText?: string | undefined;
476
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
477
+ textBefore?: string | undefined;
478
+ textAfter?: string | undefined;
479
+ variant?: "normal" | "tight" | undefined;
480
+ listOverflow?: import("csstype").Property.Overflow | undefined;
481
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
482
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
483
+ portal?: string | React.RefObject<HTMLElement> | undefined;
484
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
485
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
486
+ closeAfterSelect?: boolean | undefined;
487
+ size?: string | undefined;
488
+ view?: string | undefined;
489
+ } & {
490
+ label?: string | undefined;
491
+ labelPlacement?: "outer" | "inner" | undefined;
492
+ hasInnerLabelPlaceholder?: false | 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;
132
504
  } & {
133
505
  required: true;
506
+ requiredPlacement?: "right" | "left" | undefined;
134
507
  optional?: false | undefined;
135
508
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
136
509
  items: ItemOption[];
137
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
+ } & {
138
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
+ } & {
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
+ optional?: true | 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;
139
548
  placeholder?: string | undefined;
140
549
  helperText?: string | undefined;
141
550
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -151,7 +560,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
151
560
  closeAfterSelect?: boolean | undefined;
152
561
  size?: string | undefined;
153
562
  view?: string | undefined;
563
+ } & {
564
+ label?: string | undefined;
154
565
  labelPlacement?: "outer" | "inner" | undefined;
566
+ hasInnerLabelPlaceholder?: false | undefined;
155
567
  } & {
156
568
  readOnly?: boolean | undefined;
157
569
  disabled?: true | undefined;
@@ -164,14 +576,49 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
164
576
  targetAmount?: number | undefined;
165
577
  renderValue?: ((item: ItemOption) => string) | undefined;
166
578
  } & {
579
+ required: true;
167
580
  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
+ placeholder?: string | undefined;
586
+ helperText?: string | undefined;
587
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
588
+ textBefore?: string | undefined;
589
+ textAfter?: string | undefined;
590
+ variant?: "normal" | "tight" | undefined;
591
+ listOverflow?: import("csstype").Property.Overflow | undefined;
592
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
593
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
594
+ portal?: string | React.RefObject<HTMLElement> | undefined;
595
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
596
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
597
+ closeAfterSelect?: boolean | undefined;
598
+ size?: string | undefined;
599
+ view?: string | undefined;
600
+ } & {
601
+ label?: string | undefined;
602
+ labelPlacement?: "outer" | "inner" | undefined;
603
+ hasInnerLabelPlaceholder?: false | 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;
168
615
  } & {
169
- optional?: true | undefined;
170
616
  required?: false | undefined;
617
+ requiredPlacement?: "right" | "left" | undefined;
618
+ optional?: true | undefined;
171
619
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
172
620
  items: ItemOption[];
173
621
  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;
175
622
  placeholder?: string | undefined;
176
623
  helperText?: string | undefined;
177
624
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -187,7 +634,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
187
634
  closeAfterSelect?: boolean | undefined;
188
635
  size?: string | undefined;
189
636
  view?: string | undefined;
637
+ } & {
638
+ label?: string | undefined;
190
639
  labelPlacement?: "outer" | "inner" | undefined;
640
+ hasInnerLabelPlaceholder?: false | undefined;
191
641
  } & {
192
642
  readOnly?: true | undefined;
193
643
  disabled?: boolean | undefined;
@@ -199,15 +649,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
199
649
  isTargetAmount?: false | undefined;
200
650
  targetAmount?: undefined;
201
651
  renderValue?: undefined;
202
- } & {
203
- requiredPlacement?: "right" | "left" | undefined;
204
652
  } & {
205
653
  required: true;
654
+ requiredPlacement?: "right" | "left" | undefined;
206
655
  optional?: false | undefined;
207
656
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
208
657
  items: ItemOption[];
209
658
  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;
211
659
  placeholder?: string | undefined;
212
660
  helperText?: string | undefined;
213
661
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -223,7 +671,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
223
671
  closeAfterSelect?: boolean | undefined;
224
672
  size?: string | undefined;
225
673
  view?: string | undefined;
674
+ } & {
675
+ label?: string | undefined;
226
676
  labelPlacement?: "outer" | "inner" | undefined;
677
+ hasInnerLabelPlaceholder?: false | undefined;
227
678
  } & {
228
679
  readOnly?: true | undefined;
229
680
  disabled?: boolean | undefined;
@@ -236,14 +687,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
236
687
  targetAmount?: undefined;
237
688
  renderValue?: undefined;
238
689
  } & {
690
+ required?: false | undefined;
239
691
  requiredPlacement?: "right" | "left" | undefined;
240
- } & {
241
692
  optional?: true | undefined;
242
- required?: false | undefined;
243
693
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
244
694
  items: ItemOption[];
245
695
  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;
247
696
  placeholder?: string | undefined;
248
697
  helperText?: string | undefined;
249
698
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -259,7 +708,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
259
708
  closeAfterSelect?: boolean | undefined;
260
709
  size?: string | undefined;
261
710
  view?: string | undefined;
711
+ } & {
712
+ label?: string | undefined;
262
713
  labelPlacement?: "outer" | "inner" | undefined;
714
+ hasInnerLabelPlaceholder?: false | undefined;
263
715
  } & {
264
716
  readOnly?: true | undefined;
265
717
  disabled?: boolean | undefined;
@@ -271,15 +723,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
271
723
  isTargetAmount?: true | undefined;
272
724
  targetAmount?: number | undefined;
273
725
  renderValue?: ((item: ItemOption) => string) | undefined;
274
- } & {
275
- requiredPlacement?: "right" | "left" | undefined;
276
726
  } & {
277
727
  required: true;
728
+ requiredPlacement?: "right" | "left" | undefined;
278
729
  optional?: false | undefined;
279
730
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
280
731
  items: ItemOption[];
281
732
  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;
283
733
  placeholder?: string | undefined;
284
734
  helperText?: string | undefined;
285
735
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -295,7 +745,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
295
745
  closeAfterSelect?: boolean | undefined;
296
746
  size?: string | undefined;
297
747
  view?: string | undefined;
748
+ } & {
749
+ label?: string | undefined;
298
750
  labelPlacement?: "outer" | "inner" | undefined;
751
+ hasInnerLabelPlaceholder?: false | undefined;
299
752
  } & {
300
753
  readOnly?: true | undefined;
301
754
  disabled?: boolean | undefined;
@@ -308,14 +761,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
308
761
  targetAmount?: number | undefined;
309
762
  renderValue?: ((item: ItemOption) => string) | undefined;
310
763
  } & {
764
+ required?: false | undefined;
311
765
  requiredPlacement?: "right" | "left" | undefined;
312
- } & {
313
766
  optional?: true | undefined;
314
- required?: false | undefined;
315
767
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
316
768
  items: ItemOption[];
317
769
  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;
319
770
  placeholder?: string | undefined;
320
771
  helperText?: string | undefined;
321
772
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -331,7 +782,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
331
782
  closeAfterSelect?: boolean | undefined;
332
783
  size?: string | undefined;
333
784
  view?: string | undefined;
785
+ } & {
786
+ label?: string | undefined;
334
787
  labelPlacement?: "outer" | "inner" | undefined;
788
+ hasInnerLabelPlaceholder?: false | undefined;
335
789
  } & {
336
790
  readOnly?: false | undefined;
337
791
  disabled?: false | undefined;
@@ -343,15 +797,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
343
797
  isTargetAmount?: false | undefined;
344
798
  targetAmount?: undefined;
345
799
  renderValue?: undefined;
346
- } & {
347
- requiredPlacement?: "right" | "left" | undefined;
348
800
  } & {
349
801
  required: true;
802
+ requiredPlacement?: "right" | "left" | undefined;
350
803
  optional?: false | undefined;
351
804
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
352
805
  items: ItemOption[];
353
806
  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;
355
807
  placeholder?: string | undefined;
356
808
  helperText?: string | undefined;
357
809
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -367,7 +819,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
367
819
  closeAfterSelect?: boolean | undefined;
368
820
  size?: string | undefined;
369
821
  view?: string | undefined;
822
+ } & {
823
+ label?: string | undefined;
370
824
  labelPlacement?: "outer" | "inner" | undefined;
825
+ hasInnerLabelPlaceholder?: false | undefined;
371
826
  } & {
372
827
  readOnly?: false | undefined;
373
828
  disabled?: false | undefined;
@@ -380,14 +835,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
380
835
  targetAmount?: undefined;
381
836
  renderValue?: undefined;
382
837
  } & {
838
+ required?: false | undefined;
383
839
  requiredPlacement?: "right" | "left" | undefined;
384
- } & {
385
840
  optional?: true | undefined;
386
- required?: false | undefined;
387
841
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
388
842
  items: ItemOption[];
389
843
  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;
391
844
  placeholder?: string | undefined;
392
845
  helperText?: string | undefined;
393
846
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -403,7 +856,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
403
856
  closeAfterSelect?: boolean | undefined;
404
857
  size?: string | undefined;
405
858
  view?: string | undefined;
859
+ } & {
860
+ label?: string | undefined;
406
861
  labelPlacement?: "outer" | "inner" | undefined;
862
+ hasInnerLabelPlaceholder?: false | undefined;
407
863
  } & {
408
864
  readOnly?: false | undefined;
409
865
  disabled?: false | undefined;
@@ -415,15 +871,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
415
871
  isTargetAmount?: true | undefined;
416
872
  targetAmount?: number | undefined;
417
873
  renderValue?: ((item: ItemOption) => string) | undefined;
418
- } & {
419
- requiredPlacement?: "right" | "left" | undefined;
420
874
  } & {
421
875
  required: true;
876
+ requiredPlacement?: "right" | "left" | undefined;
422
877
  optional?: false | undefined;
423
878
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
424
879
  items: ItemOption[];
425
880
  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;
427
881
  placeholder?: string | undefined;
428
882
  helperText?: string | undefined;
429
883
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -439,7 +893,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
439
893
  closeAfterSelect?: boolean | undefined;
440
894
  size?: string | undefined;
441
895
  view?: string | undefined;
896
+ } & {
897
+ label?: string | undefined;
442
898
  labelPlacement?: "outer" | "inner" | undefined;
899
+ hasInnerLabelPlaceholder?: false | undefined;
443
900
  } & {
444
901
  readOnly?: false | undefined;
445
902
  disabled?: false | undefined;
@@ -452,10 +909,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
452
909
  targetAmount?: number | undefined;
453
910
  renderValue?: ((item: ItemOption) => string) | undefined;
454
911
  } & {
912
+ required?: false | undefined;
455
913
  requiredPlacement?: "right" | "left" | undefined;
456
- } & {
457
914
  optional?: true | undefined;
458
- required?: false | undefined;
459
915
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>))>;
460
916
  declare type PropsFromConfig = keyof typeof config['variations'];
461
917
  declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;