@salutejs/sdds-dfa 0.178.1-canary.1569.11973386056.0 → 0.179.0-canary.1556.11999996386.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,9 @@ 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
- labelPlacement?: "outer" | "inner" | undefined;
46
+ } & {
47
+ labelPlacement: "inner";
48
+ hasPlaceholder?: boolean | undefined;
47
49
  } & {
48
50
  readOnly?: boolean | undefined;
49
51
  disabled?: true | undefined;
@@ -55,10 +57,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
55
57
  isTargetAmount?: false | undefined;
56
58
  targetAmount?: undefined;
57
59
  renderValue?: undefined;
58
- } & {
59
- requiredPlacement?: "right" | "left" | undefined;
60
60
  } & {
61
61
  required: true;
62
+ requiredPlacement?: "right" | "left" | undefined;
62
63
  optional?: false | undefined;
63
64
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
64
65
  items: ItemOption[];
@@ -79,7 +80,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
79
80
  closeAfterSelect?: boolean | undefined;
80
81
  size?: string | undefined;
81
82
  view?: string | undefined;
82
- labelPlacement?: "outer" | "inner" | undefined;
83
+ } & {
84
+ labelPlacement: "inner";
85
+ hasPlaceholder?: boolean | undefined;
83
86
  } & {
84
87
  readOnly?: boolean | undefined;
85
88
  disabled?: true | undefined;
@@ -92,10 +95,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
92
95
  targetAmount?: undefined;
93
96
  renderValue?: undefined;
94
97
  } & {
95
- requiredPlacement?: "right" | "left" | undefined;
96
- } & {
97
- optional?: true | undefined;
98
98
  required?: false | undefined;
99
+ requiredPlacement?: undefined;
100
+ optional?: boolean | undefined;
99
101
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
100
102
  items: ItemOption[];
101
103
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
@@ -115,7 +117,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
115
117
  closeAfterSelect?: boolean | undefined;
116
118
  size?: string | undefined;
117
119
  view?: string | undefined;
118
- labelPlacement?: "outer" | "inner" | undefined;
120
+ } & {
121
+ labelPlacement: "inner";
122
+ hasPlaceholder?: boolean | undefined;
119
123
  } & {
120
124
  readOnly?: boolean | undefined;
121
125
  disabled?: true | undefined;
@@ -127,10 +131,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
127
131
  isTargetAmount?: true | undefined;
128
132
  targetAmount?: number | undefined;
129
133
  renderValue?: ((item: ItemOption) => string) | undefined;
130
- } & {
131
- requiredPlacement?: "right" | "left" | undefined;
132
134
  } & {
133
135
  required: true;
136
+ requiredPlacement?: "right" | "left" | undefined;
134
137
  optional?: false | undefined;
135
138
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
136
139
  items: ItemOption[];
@@ -151,7 +154,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
151
154
  closeAfterSelect?: boolean | undefined;
152
155
  size?: string | undefined;
153
156
  view?: string | undefined;
154
- labelPlacement?: "outer" | "inner" | undefined;
157
+ } & {
158
+ labelPlacement: "inner";
159
+ hasPlaceholder?: boolean | undefined;
155
160
  } & {
156
161
  readOnly?: boolean | undefined;
157
162
  disabled?: true | undefined;
@@ -164,10 +169,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
164
169
  targetAmount?: number | undefined;
165
170
  renderValue?: ((item: ItemOption) => string) | undefined;
166
171
  } & {
167
- requiredPlacement?: "right" | "left" | undefined;
168
- } & {
169
- optional?: true | undefined;
170
172
  required?: false | undefined;
173
+ requiredPlacement?: undefined;
174
+ optional?: boolean | undefined;
171
175
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
172
176
  items: ItemOption[];
173
177
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
@@ -187,7 +191,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
187
191
  closeAfterSelect?: boolean | undefined;
188
192
  size?: string | undefined;
189
193
  view?: string | undefined;
190
- labelPlacement?: "outer" | "inner" | undefined;
194
+ } & {
195
+ labelPlacement: "inner";
196
+ hasPlaceholder?: boolean | undefined;
191
197
  } & {
192
198
  readOnly?: true | undefined;
193
199
  disabled?: boolean | undefined;
@@ -199,10 +205,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
199
205
  isTargetAmount?: false | undefined;
200
206
  targetAmount?: undefined;
201
207
  renderValue?: undefined;
202
- } & {
203
- requiredPlacement?: "right" | "left" | undefined;
204
208
  } & {
205
209
  required: true;
210
+ requiredPlacement?: "right" | "left" | undefined;
206
211
  optional?: false | undefined;
207
212
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
208
213
  items: ItemOption[];
@@ -223,7 +228,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
223
228
  closeAfterSelect?: boolean | undefined;
224
229
  size?: string | undefined;
225
230
  view?: string | undefined;
226
- labelPlacement?: "outer" | "inner" | undefined;
231
+ } & {
232
+ labelPlacement: "inner";
233
+ hasPlaceholder?: boolean | undefined;
227
234
  } & {
228
235
  readOnly?: true | undefined;
229
236
  disabled?: boolean | undefined;
@@ -236,10 +243,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
236
243
  targetAmount?: undefined;
237
244
  renderValue?: undefined;
238
245
  } & {
239
- requiredPlacement?: "right" | "left" | undefined;
240
- } & {
241
- optional?: true | undefined;
242
246
  required?: false | undefined;
247
+ requiredPlacement?: undefined;
248
+ optional?: boolean | undefined;
243
249
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
244
250
  items: ItemOption[];
245
251
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
@@ -259,7 +265,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
259
265
  closeAfterSelect?: boolean | undefined;
260
266
  size?: string | undefined;
261
267
  view?: string | undefined;
262
- labelPlacement?: "outer" | "inner" | undefined;
268
+ } & {
269
+ labelPlacement: "inner";
270
+ hasPlaceholder?: boolean | undefined;
263
271
  } & {
264
272
  readOnly?: true | undefined;
265
273
  disabled?: boolean | undefined;
@@ -271,10 +279,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
271
279
  isTargetAmount?: true | undefined;
272
280
  targetAmount?: number | undefined;
273
281
  renderValue?: ((item: ItemOption) => string) | undefined;
274
- } & {
275
- requiredPlacement?: "right" | "left" | undefined;
276
282
  } & {
277
283
  required: true;
284
+ requiredPlacement?: "right" | "left" | undefined;
278
285
  optional?: false | undefined;
279
286
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
280
287
  items: ItemOption[];
@@ -295,7 +302,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
295
302
  closeAfterSelect?: boolean | undefined;
296
303
  size?: string | undefined;
297
304
  view?: string | undefined;
298
- labelPlacement?: "outer" | "inner" | undefined;
305
+ } & {
306
+ labelPlacement: "inner";
307
+ hasPlaceholder?: boolean | undefined;
299
308
  } & {
300
309
  readOnly?: true | undefined;
301
310
  disabled?: boolean | undefined;
@@ -308,10 +317,83 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
308
317
  targetAmount?: number | undefined;
309
318
  renderValue?: ((item: ItemOption) => string) | undefined;
310
319
  } & {
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;
311
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;
312
393
  } & {
313
- optional?: true | undefined;
314
394
  required?: false | undefined;
395
+ requiredPlacement?: undefined;
396
+ optional?: boolean | undefined;
315
397
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
316
398
  items: ItemOption[];
317
399
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
@@ -331,11 +413,235 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
331
413
  closeAfterSelect?: boolean | undefined;
332
414
  size?: string | undefined;
333
415
  view?: string | undefined;
334
- labelPlacement?: "outer" | "inner" | undefined;
416
+ } & {
417
+ labelPlacement: "inner";
418
+ hasPlaceholder?: boolean | undefined;
335
419
  } & {
336
420
  readOnly?: false | undefined;
337
421
  disabled?: false | undefined;
338
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
+ 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
+ } & {
505
+ required: true;
506
+ 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
+ label?: string | undefined;
512
+ placeholder?: string | undefined;
513
+ helperText?: string | undefined;
514
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
515
+ textBefore?: string | undefined;
516
+ textAfter?: string | undefined;
517
+ variant?: "normal" | "tight" | undefined;
518
+ listOverflow?: import("csstype").Property.Overflow | undefined;
519
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
520
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
521
+ portal?: string | React.RefObject<HTMLElement> | undefined;
522
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
523
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
524
+ closeAfterSelect?: boolean | undefined;
525
+ size?: string | undefined;
526
+ 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;
567
+ } & {
568
+ readOnly?: boolean | undefined;
569
+ disabled?: true | undefined;
570
+ alwaysOpened?: false | undefined;
571
+ } & {
572
+ multiple: true;
573
+ value?: string[] | undefined;
574
+ onChange?: ((value: string[]) => void) | undefined;
575
+ isTargetAmount?: true | undefined;
576
+ targetAmount?: number | undefined;
577
+ renderValue?: ((item: ItemOption) => string) | undefined;
578
+ } & {
579
+ required: true;
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
+ 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
+ } & {
616
+ required?: false | undefined;
617
+ requiredPlacement?: undefined;
618
+ optional?: boolean | undefined;
619
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
620
+ items: ItemOption[];
621
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
622
+ label?: string | undefined;
623
+ placeholder?: string | undefined;
624
+ helperText?: string | undefined;
625
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
626
+ textBefore?: string | undefined;
627
+ textAfter?: string | undefined;
628
+ variant?: "normal" | "tight" | undefined;
629
+ listOverflow?: import("csstype").Property.Overflow | undefined;
630
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
631
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
632
+ portal?: string | React.RefObject<HTMLElement> | undefined;
633
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
634
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
635
+ closeAfterSelect?: boolean | undefined;
636
+ size?: string | undefined;
637
+ view?: string | undefined;
638
+ } & {
639
+ labelPlacement?: "outer" | undefined;
640
+ hasPlaceholder?: undefined;
641
+ } & {
642
+ readOnly?: true | undefined;
643
+ disabled?: boolean | undefined;
644
+ alwaysOpened?: false | undefined;
339
645
  } & {
340
646
  multiple?: false | undefined;
341
647
  value?: string | undefined;
@@ -344,9 +650,82 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
344
650
  targetAmount?: undefined;
345
651
  renderValue?: undefined;
346
652
  } & {
653
+ required: true;
347
654
  requiredPlacement?: "right" | "left" | undefined;
655
+ optional?: false | undefined;
656
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
657
+ items: ItemOption[];
658
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
659
+ label?: string | undefined;
660
+ placeholder?: string | undefined;
661
+ helperText?: string | undefined;
662
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
663
+ textBefore?: string | undefined;
664
+ textAfter?: string | undefined;
665
+ variant?: "normal" | "tight" | undefined;
666
+ listOverflow?: import("csstype").Property.Overflow | undefined;
667
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
668
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
669
+ portal?: string | React.RefObject<HTMLElement> | undefined;
670
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
671
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
672
+ closeAfterSelect?: boolean | undefined;
673
+ size?: string | undefined;
674
+ view?: string | undefined;
675
+ } & {
676
+ labelPlacement?: "outer" | undefined;
677
+ hasPlaceholder?: undefined;
678
+ } & {
679
+ readOnly?: true | undefined;
680
+ disabled?: boolean | undefined;
681
+ alwaysOpened?: false | undefined;
682
+ } & {
683
+ multiple?: false | undefined;
684
+ value?: string | undefined;
685
+ onChange?: ((value: string) => void) | undefined;
686
+ isTargetAmount?: false | undefined;
687
+ targetAmount?: undefined;
688
+ renderValue?: undefined;
689
+ } & {
690
+ required?: false | undefined;
691
+ requiredPlacement?: undefined;
692
+ optional?: boolean | undefined;
693
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
694
+ items: ItemOption[];
695
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
696
+ label?: string | undefined;
697
+ placeholder?: string | undefined;
698
+ helperText?: string | undefined;
699
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
700
+ textBefore?: string | undefined;
701
+ textAfter?: string | undefined;
702
+ variant?: "normal" | "tight" | undefined;
703
+ listOverflow?: import("csstype").Property.Overflow | undefined;
704
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
705
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
706
+ portal?: string | React.RefObject<HTMLElement> | undefined;
707
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
708
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
709
+ closeAfterSelect?: boolean | undefined;
710
+ size?: string | undefined;
711
+ view?: string | undefined;
712
+ } & {
713
+ labelPlacement?: "outer" | undefined;
714
+ hasPlaceholder?: undefined;
715
+ } & {
716
+ readOnly?: true | undefined;
717
+ disabled?: boolean | undefined;
718
+ alwaysOpened?: false | undefined;
719
+ } & {
720
+ multiple: true;
721
+ value?: string[] | undefined;
722
+ onChange?: ((value: string[]) => void) | undefined;
723
+ isTargetAmount?: true | undefined;
724
+ targetAmount?: number | undefined;
725
+ renderValue?: ((item: ItemOption) => string) | undefined;
348
726
  } & {
349
727
  required: true;
728
+ requiredPlacement?: "right" | "left" | undefined;
350
729
  optional?: false | undefined;
351
730
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
352
731
  items: ItemOption[];
@@ -367,7 +746,46 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
367
746
  closeAfterSelect?: boolean | undefined;
368
747
  size?: string | undefined;
369
748
  view?: string | undefined;
370
- labelPlacement?: "outer" | "inner" | undefined;
749
+ } & {
750
+ labelPlacement?: "outer" | undefined;
751
+ hasPlaceholder?: undefined;
752
+ } & {
753
+ readOnly?: true | undefined;
754
+ disabled?: boolean | undefined;
755
+ alwaysOpened?: false | undefined;
756
+ } & {
757
+ multiple: true;
758
+ value?: string[] | undefined;
759
+ onChange?: ((value: string[]) => void) | undefined;
760
+ isTargetAmount?: true | undefined;
761
+ targetAmount?: number | undefined;
762
+ renderValue?: ((item: ItemOption) => string) | undefined;
763
+ } & {
764
+ required?: false | undefined;
765
+ requiredPlacement?: undefined;
766
+ optional?: boolean | undefined;
767
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
768
+ items: ItemOption[];
769
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
770
+ label?: string | undefined;
771
+ placeholder?: string | undefined;
772
+ helperText?: string | undefined;
773
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
774
+ textBefore?: string | undefined;
775
+ textAfter?: string | undefined;
776
+ variant?: "normal" | "tight" | undefined;
777
+ listOverflow?: import("csstype").Property.Overflow | undefined;
778
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
779
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
780
+ portal?: string | React.RefObject<HTMLElement> | undefined;
781
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
782
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
783
+ closeAfterSelect?: boolean | undefined;
784
+ size?: string | undefined;
785
+ view?: string | undefined;
786
+ } & {
787
+ labelPlacement?: "outer" | undefined;
788
+ hasPlaceholder?: undefined;
371
789
  } & {
372
790
  readOnly?: false | undefined;
373
791
  disabled?: false | undefined;
@@ -380,10 +798,46 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
380
798
  targetAmount?: undefined;
381
799
  renderValue?: undefined;
382
800
  } & {
801
+ required: true;
383
802
  requiredPlacement?: "right" | "left" | undefined;
803
+ optional?: false | undefined;
804
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
805
+ items: ItemOption[];
806
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
807
+ label?: string | undefined;
808
+ placeholder?: string | undefined;
809
+ helperText?: string | undefined;
810
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
811
+ textBefore?: string | undefined;
812
+ textAfter?: string | undefined;
813
+ variant?: "normal" | "tight" | undefined;
814
+ listOverflow?: import("csstype").Property.Overflow | undefined;
815
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
816
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
817
+ portal?: string | React.RefObject<HTMLElement> | undefined;
818
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
819
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
820
+ closeAfterSelect?: boolean | undefined;
821
+ size?: string | undefined;
822
+ view?: string | undefined;
823
+ } & {
824
+ labelPlacement?: "outer" | undefined;
825
+ hasPlaceholder?: undefined;
826
+ } & {
827
+ readOnly?: false | undefined;
828
+ disabled?: false | undefined;
829
+ alwaysOpened?: true | undefined;
830
+ } & {
831
+ multiple?: false | undefined;
832
+ value?: string | undefined;
833
+ onChange?: ((value: string) => void) | undefined;
834
+ isTargetAmount?: false | undefined;
835
+ targetAmount?: undefined;
836
+ renderValue?: undefined;
384
837
  } & {
385
- optional?: true | undefined;
386
838
  required?: false | undefined;
839
+ requiredPlacement?: undefined;
840
+ optional?: boolean | 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;
@@ -403,7 +857,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
403
857
  closeAfterSelect?: boolean | undefined;
404
858
  size?: string | undefined;
405
859
  view?: string | undefined;
406
- labelPlacement?: "outer" | "inner" | undefined;
860
+ } & {
861
+ labelPlacement?: "outer" | undefined;
862
+ hasPlaceholder?: undefined;
407
863
  } & {
408
864
  readOnly?: false | undefined;
409
865
  disabled?: false | undefined;
@@ -415,10 +871,9 @@ 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[];
@@ -439,7 +894,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
439
894
  closeAfterSelect?: boolean | undefined;
440
895
  size?: string | undefined;
441
896
  view?: string | undefined;
442
- labelPlacement?: "outer" | "inner" | undefined;
897
+ } & {
898
+ labelPlacement?: "outer" | undefined;
899
+ hasPlaceholder?: 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
  } & {
455
- requiredPlacement?: "right" | "left" | undefined;
456
- } & {
457
- optional?: true | undefined;
458
912
  required?: false | undefined;
913
+ requiredPlacement?: undefined;
914
+ optional?: boolean | 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>;