@salutejs/sdds-cs 0.328.0-canary.2214.17533375543.0 → 0.328.0-canary.2214.17665690388.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Autocomplete/Autocomplete.d.ts +124 -117
- package/components/Autocomplete/Autocomplete.js +76 -4
- package/components/Combobox/Combobox.d.ts +48 -24
- package/components/Dropdown/Dropdown.d.ts +6 -6
- package/components/Select/Select.d.ts +12 -6
- package/components/Tree/Tree.config.js +4 -2
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +76 -4
- package/emotion/cjs/components/Tree/Tree.config.js +4 -2
- package/emotion/es/components/Autocomplete/Autocomplete.js +61 -2
- package/emotion/es/components/Tree/Tree.config.js +4 -2
- package/es/components/Autocomplete/Autocomplete.js +61 -2
- package/es/components/Tree/Tree.config.js +4 -2
- package/package.json +3 -3
@@ -29,7 +29,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
29
29
|
textAfter?: string;
|
30
30
|
variant?: "normal" | "tight";
|
31
31
|
zIndex?: React.CSSProperties["zIndex"];
|
32
|
-
listOverflow?: React.CSSProperties["overflow"];
|
33
32
|
listMaxHeight?: React.CSSProperties["height"];
|
34
33
|
listWidth?: React.CSSProperties["width"];
|
35
34
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -42,10 +41,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
42
41
|
beforeList?: React.ReactNode;
|
43
42
|
afterList?: React.ReactNode;
|
44
43
|
virtual?: boolean;
|
44
|
+
mode?: "default" | "radio";
|
45
45
|
size?: string;
|
46
46
|
view?: string;
|
47
47
|
emptyStateDescription?: string;
|
48
48
|
listHeight?: React.CSSProperties["height"];
|
49
|
+
listOverflow?: React.CSSProperties["overflow"];
|
49
50
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
50
51
|
readOnly?: boolean;
|
51
52
|
disabled?: true;
|
@@ -83,7 +84,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
83
84
|
textAfter?: string;
|
84
85
|
variant?: "normal" | "tight";
|
85
86
|
zIndex?: React.CSSProperties["zIndex"];
|
86
|
-
listOverflow?: React.CSSProperties["overflow"];
|
87
87
|
listMaxHeight?: React.CSSProperties["height"];
|
88
88
|
listWidth?: React.CSSProperties["width"];
|
89
89
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -96,10 +96,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
96
96
|
beforeList?: React.ReactNode;
|
97
97
|
afterList?: React.ReactNode;
|
98
98
|
virtual?: boolean;
|
99
|
+
mode?: "default" | "radio";
|
99
100
|
size?: string;
|
100
101
|
view?: string;
|
101
102
|
emptyStateDescription?: string;
|
102
103
|
listHeight?: React.CSSProperties["height"];
|
104
|
+
listOverflow?: React.CSSProperties["overflow"];
|
103
105
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
104
106
|
readOnly?: boolean;
|
105
107
|
disabled?: true;
|
@@ -137,7 +139,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
137
139
|
textAfter?: string;
|
138
140
|
variant?: "normal" | "tight";
|
139
141
|
zIndex?: React.CSSProperties["zIndex"];
|
140
|
-
listOverflow?: React.CSSProperties["overflow"];
|
141
142
|
listMaxHeight?: React.CSSProperties["height"];
|
142
143
|
listWidth?: React.CSSProperties["width"];
|
143
144
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -150,10 +151,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
150
151
|
beforeList?: React.ReactNode;
|
151
152
|
afterList?: React.ReactNode;
|
152
153
|
virtual?: boolean;
|
154
|
+
mode?: "default" | "radio";
|
153
155
|
size?: string;
|
154
156
|
view?: string;
|
155
157
|
emptyStateDescription?: string;
|
156
158
|
listHeight?: React.CSSProperties["height"];
|
159
|
+
listOverflow?: React.CSSProperties["overflow"];
|
157
160
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
158
161
|
readOnly?: boolean;
|
159
162
|
disabled?: true;
|
@@ -191,7 +194,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
191
194
|
textAfter?: string;
|
192
195
|
variant?: "normal" | "tight";
|
193
196
|
zIndex?: React.CSSProperties["zIndex"];
|
194
|
-
listOverflow?: React.CSSProperties["overflow"];
|
195
197
|
listMaxHeight?: React.CSSProperties["height"];
|
196
198
|
listWidth?: React.CSSProperties["width"];
|
197
199
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -204,10 +206,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
204
206
|
beforeList?: React.ReactNode;
|
205
207
|
afterList?: React.ReactNode;
|
206
208
|
virtual?: boolean;
|
209
|
+
mode?: "default" | "radio";
|
207
210
|
size?: string;
|
208
211
|
view?: string;
|
209
212
|
emptyStateDescription?: string;
|
210
213
|
listHeight?: React.CSSProperties["height"];
|
214
|
+
listOverflow?: React.CSSProperties["overflow"];
|
211
215
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
212
216
|
readOnly?: boolean;
|
213
217
|
disabled?: true;
|
@@ -245,7 +249,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
245
249
|
textAfter?: string;
|
246
250
|
variant?: "normal" | "tight";
|
247
251
|
zIndex?: React.CSSProperties["zIndex"];
|
248
|
-
listOverflow?: React.CSSProperties["overflow"];
|
249
252
|
listMaxHeight?: React.CSSProperties["height"];
|
250
253
|
listWidth?: React.CSSProperties["width"];
|
251
254
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -258,10 +261,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
258
261
|
beforeList?: React.ReactNode;
|
259
262
|
afterList?: React.ReactNode;
|
260
263
|
virtual?: boolean;
|
264
|
+
mode?: "default" | "radio";
|
261
265
|
size?: string;
|
262
266
|
view?: string;
|
263
267
|
emptyStateDescription?: string;
|
264
268
|
listHeight?: React.CSSProperties["height"];
|
269
|
+
listOverflow?: React.CSSProperties["overflow"];
|
265
270
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
266
271
|
readOnly?: boolean;
|
267
272
|
disabled?: true;
|
@@ -299,7 +304,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
299
304
|
textAfter?: string;
|
300
305
|
variant?: "normal" | "tight";
|
301
306
|
zIndex?: React.CSSProperties["zIndex"];
|
302
|
-
listOverflow?: React.CSSProperties["overflow"];
|
303
307
|
listMaxHeight?: React.CSSProperties["height"];
|
304
308
|
listWidth?: React.CSSProperties["width"];
|
305
309
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -312,10 +316,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
312
316
|
beforeList?: React.ReactNode;
|
313
317
|
afterList?: React.ReactNode;
|
314
318
|
virtual?: boolean;
|
319
|
+
mode?: "default" | "radio";
|
315
320
|
size?: string;
|
316
321
|
view?: string;
|
317
322
|
emptyStateDescription?: string;
|
318
323
|
listHeight?: React.CSSProperties["height"];
|
324
|
+
listOverflow?: React.CSSProperties["overflow"];
|
319
325
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
320
326
|
readOnly?: boolean;
|
321
327
|
disabled?: true;
|
@@ -353,7 +359,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
353
359
|
textAfter?: string;
|
354
360
|
variant?: "normal" | "tight";
|
355
361
|
zIndex?: React.CSSProperties["zIndex"];
|
356
|
-
listOverflow?: React.CSSProperties["overflow"];
|
357
362
|
listMaxHeight?: React.CSSProperties["height"];
|
358
363
|
listWidth?: React.CSSProperties["width"];
|
359
364
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -366,10 +371,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
366
371
|
beforeList?: React.ReactNode;
|
367
372
|
afterList?: React.ReactNode;
|
368
373
|
virtual?: boolean;
|
374
|
+
mode?: "default" | "radio";
|
369
375
|
size?: string;
|
370
376
|
view?: string;
|
371
377
|
emptyStateDescription?: string;
|
372
378
|
listHeight?: React.CSSProperties["height"];
|
379
|
+
listOverflow?: React.CSSProperties["overflow"];
|
373
380
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
374
381
|
readOnly?: boolean;
|
375
382
|
disabled?: true;
|
@@ -407,7 +414,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
407
414
|
textAfter?: string;
|
408
415
|
variant?: "normal" | "tight";
|
409
416
|
zIndex?: React.CSSProperties["zIndex"];
|
410
|
-
listOverflow?: React.CSSProperties["overflow"];
|
411
417
|
listMaxHeight?: React.CSSProperties["height"];
|
412
418
|
listWidth?: React.CSSProperties["width"];
|
413
419
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -420,10 +426,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
420
426
|
beforeList?: React.ReactNode;
|
421
427
|
afterList?: React.ReactNode;
|
422
428
|
virtual?: boolean;
|
429
|
+
mode?: "default" | "radio";
|
423
430
|
size?: string;
|
424
431
|
view?: string;
|
425
432
|
emptyStateDescription?: string;
|
426
433
|
listHeight?: React.CSSProperties["height"];
|
434
|
+
listOverflow?: React.CSSProperties["overflow"];
|
427
435
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
428
436
|
readOnly?: boolean;
|
429
437
|
disabled?: true;
|
@@ -461,7 +469,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
461
469
|
textAfter?: string;
|
462
470
|
variant?: "normal" | "tight";
|
463
471
|
zIndex?: React.CSSProperties["zIndex"];
|
464
|
-
listOverflow?: React.CSSProperties["overflow"];
|
465
472
|
listMaxHeight?: React.CSSProperties["height"];
|
466
473
|
listWidth?: React.CSSProperties["width"];
|
467
474
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -474,10 +481,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
474
481
|
beforeList?: React.ReactNode;
|
475
482
|
afterList?: React.ReactNode;
|
476
483
|
virtual?: boolean;
|
484
|
+
mode?: "default" | "radio";
|
477
485
|
size?: string;
|
478
486
|
view?: string;
|
479
487
|
emptyStateDescription?: string;
|
480
488
|
listHeight?: React.CSSProperties["height"];
|
489
|
+
listOverflow?: React.CSSProperties["overflow"];
|
481
490
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
482
491
|
readOnly?: true;
|
483
492
|
disabled?: boolean;
|
@@ -515,7 +524,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
515
524
|
textAfter?: string;
|
516
525
|
variant?: "normal" | "tight";
|
517
526
|
zIndex?: React.CSSProperties["zIndex"];
|
518
|
-
listOverflow?: React.CSSProperties["overflow"];
|
519
527
|
listMaxHeight?: React.CSSProperties["height"];
|
520
528
|
listWidth?: React.CSSProperties["width"];
|
521
529
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -528,10 +536,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
528
536
|
beforeList?: React.ReactNode;
|
529
537
|
afterList?: React.ReactNode;
|
530
538
|
virtual?: boolean;
|
539
|
+
mode?: "default" | "radio";
|
531
540
|
size?: string;
|
532
541
|
view?: string;
|
533
542
|
emptyStateDescription?: string;
|
534
543
|
listHeight?: React.CSSProperties["height"];
|
544
|
+
listOverflow?: React.CSSProperties["overflow"];
|
535
545
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
536
546
|
readOnly?: true;
|
537
547
|
disabled?: boolean;
|
@@ -569,7 +579,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
569
579
|
textAfter?: string;
|
570
580
|
variant?: "normal" | "tight";
|
571
581
|
zIndex?: React.CSSProperties["zIndex"];
|
572
|
-
listOverflow?: React.CSSProperties["overflow"];
|
573
582
|
listMaxHeight?: React.CSSProperties["height"];
|
574
583
|
listWidth?: React.CSSProperties["width"];
|
575
584
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -582,10 +591,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
582
591
|
beforeList?: React.ReactNode;
|
583
592
|
afterList?: React.ReactNode;
|
584
593
|
virtual?: boolean;
|
594
|
+
mode?: "default" | "radio";
|
585
595
|
size?: string;
|
586
596
|
view?: string;
|
587
597
|
emptyStateDescription?: string;
|
588
598
|
listHeight?: React.CSSProperties["height"];
|
599
|
+
listOverflow?: React.CSSProperties["overflow"];
|
589
600
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
590
601
|
readOnly?: true;
|
591
602
|
disabled?: boolean;
|
@@ -623,7 +634,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
623
634
|
textAfter?: string;
|
624
635
|
variant?: "normal" | "tight";
|
625
636
|
zIndex?: React.CSSProperties["zIndex"];
|
626
|
-
listOverflow?: React.CSSProperties["overflow"];
|
627
637
|
listMaxHeight?: React.CSSProperties["height"];
|
628
638
|
listWidth?: React.CSSProperties["width"];
|
629
639
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -636,10 +646,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
636
646
|
beforeList?: React.ReactNode;
|
637
647
|
afterList?: React.ReactNode;
|
638
648
|
virtual?: boolean;
|
649
|
+
mode?: "default" | "radio";
|
639
650
|
size?: string;
|
640
651
|
view?: string;
|
641
652
|
emptyStateDescription?: string;
|
642
653
|
listHeight?: React.CSSProperties["height"];
|
654
|
+
listOverflow?: React.CSSProperties["overflow"];
|
643
655
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
644
656
|
readOnly?: true;
|
645
657
|
disabled?: boolean;
|
@@ -677,7 +689,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
677
689
|
textAfter?: string;
|
678
690
|
variant?: "normal" | "tight";
|
679
691
|
zIndex?: React.CSSProperties["zIndex"];
|
680
|
-
listOverflow?: React.CSSProperties["overflow"];
|
681
692
|
listMaxHeight?: React.CSSProperties["height"];
|
682
693
|
listWidth?: React.CSSProperties["width"];
|
683
694
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -690,10 +701,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
690
701
|
beforeList?: React.ReactNode;
|
691
702
|
afterList?: React.ReactNode;
|
692
703
|
virtual?: boolean;
|
704
|
+
mode?: "default" | "radio";
|
693
705
|
size?: string;
|
694
706
|
view?: string;
|
695
707
|
emptyStateDescription?: string;
|
696
708
|
listHeight?: React.CSSProperties["height"];
|
709
|
+
listOverflow?: React.CSSProperties["overflow"];
|
697
710
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
698
711
|
readOnly?: true;
|
699
712
|
disabled?: boolean;
|
@@ -731,7 +744,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
731
744
|
textAfter?: string;
|
732
745
|
variant?: "normal" | "tight";
|
733
746
|
zIndex?: React.CSSProperties["zIndex"];
|
734
|
-
listOverflow?: React.CSSProperties["overflow"];
|
735
747
|
listMaxHeight?: React.CSSProperties["height"];
|
736
748
|
listWidth?: React.CSSProperties["width"];
|
737
749
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -744,10 +756,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
744
756
|
beforeList?: React.ReactNode;
|
745
757
|
afterList?: React.ReactNode;
|
746
758
|
virtual?: boolean;
|
759
|
+
mode?: "default" | "radio";
|
747
760
|
size?: string;
|
748
761
|
view?: string;
|
749
762
|
emptyStateDescription?: string;
|
750
763
|
listHeight?: React.CSSProperties["height"];
|
764
|
+
listOverflow?: React.CSSProperties["overflow"];
|
751
765
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
752
766
|
readOnly?: true;
|
753
767
|
disabled?: boolean;
|
@@ -785,7 +799,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
785
799
|
textAfter?: string;
|
786
800
|
variant?: "normal" | "tight";
|
787
801
|
zIndex?: React.CSSProperties["zIndex"];
|
788
|
-
listOverflow?: React.CSSProperties["overflow"];
|
789
802
|
listMaxHeight?: React.CSSProperties["height"];
|
790
803
|
listWidth?: React.CSSProperties["width"];
|
791
804
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -798,10 +811,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
798
811
|
beforeList?: React.ReactNode;
|
799
812
|
afterList?: React.ReactNode;
|
800
813
|
virtual?: boolean;
|
814
|
+
mode?: "default" | "radio";
|
801
815
|
size?: string;
|
802
816
|
view?: string;
|
803
817
|
emptyStateDescription?: string;
|
804
818
|
listHeight?: React.CSSProperties["height"];
|
819
|
+
listOverflow?: React.CSSProperties["overflow"];
|
805
820
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
806
821
|
readOnly?: true;
|
807
822
|
disabled?: boolean;
|
@@ -839,7 +854,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
839
854
|
textAfter?: string;
|
840
855
|
variant?: "normal" | "tight";
|
841
856
|
zIndex?: React.CSSProperties["zIndex"];
|
842
|
-
listOverflow?: React.CSSProperties["overflow"];
|
843
857
|
listMaxHeight?: React.CSSProperties["height"];
|
844
858
|
listWidth?: React.CSSProperties["width"];
|
845
859
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -852,10 +866,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
852
866
|
beforeList?: React.ReactNode;
|
853
867
|
afterList?: React.ReactNode;
|
854
868
|
virtual?: boolean;
|
869
|
+
mode?: "default" | "radio";
|
855
870
|
size?: string;
|
856
871
|
view?: string;
|
857
872
|
emptyStateDescription?: string;
|
858
873
|
listHeight?: React.CSSProperties["height"];
|
874
|
+
listOverflow?: React.CSSProperties["overflow"];
|
859
875
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
860
876
|
readOnly?: true;
|
861
877
|
disabled?: boolean;
|
@@ -893,7 +909,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
893
909
|
textAfter?: string;
|
894
910
|
variant?: "normal" | "tight";
|
895
911
|
zIndex?: React.CSSProperties["zIndex"];
|
896
|
-
listOverflow?: React.CSSProperties["overflow"];
|
897
912
|
listMaxHeight?: React.CSSProperties["height"];
|
898
913
|
listWidth?: React.CSSProperties["width"];
|
899
914
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -906,10 +921,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
906
921
|
beforeList?: React.ReactNode;
|
907
922
|
afterList?: React.ReactNode;
|
908
923
|
virtual?: boolean;
|
924
|
+
mode?: "default" | "radio";
|
909
925
|
size?: string;
|
910
926
|
view?: string;
|
911
927
|
emptyStateDescription?: string;
|
912
928
|
listHeight?: React.CSSProperties["height"];
|
929
|
+
listOverflow?: React.CSSProperties["overflow"];
|
913
930
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
914
931
|
readOnly?: false;
|
915
932
|
disabled?: false;
|
@@ -947,7 +964,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
947
964
|
textAfter?: string;
|
948
965
|
variant?: "normal" | "tight";
|
949
966
|
zIndex?: React.CSSProperties["zIndex"];
|
950
|
-
listOverflow?: React.CSSProperties["overflow"];
|
951
967
|
listMaxHeight?: React.CSSProperties["height"];
|
952
968
|
listWidth?: React.CSSProperties["width"];
|
953
969
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -960,10 +976,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
960
976
|
beforeList?: React.ReactNode;
|
961
977
|
afterList?: React.ReactNode;
|
962
978
|
virtual?: boolean;
|
979
|
+
mode?: "default" | "radio";
|
963
980
|
size?: string;
|
964
981
|
view?: string;
|
965
982
|
emptyStateDescription?: string;
|
966
983
|
listHeight?: React.CSSProperties["height"];
|
984
|
+
listOverflow?: React.CSSProperties["overflow"];
|
967
985
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
968
986
|
readOnly?: false;
|
969
987
|
disabled?: false;
|
@@ -1001,7 +1019,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1001
1019
|
textAfter?: string;
|
1002
1020
|
variant?: "normal" | "tight";
|
1003
1021
|
zIndex?: React.CSSProperties["zIndex"];
|
1004
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1005
1022
|
listMaxHeight?: React.CSSProperties["height"];
|
1006
1023
|
listWidth?: React.CSSProperties["width"];
|
1007
1024
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1014,10 +1031,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1014
1031
|
beforeList?: React.ReactNode;
|
1015
1032
|
afterList?: React.ReactNode;
|
1016
1033
|
virtual?: boolean;
|
1034
|
+
mode?: "default" | "radio";
|
1017
1035
|
size?: string;
|
1018
1036
|
view?: string;
|
1019
1037
|
emptyStateDescription?: string;
|
1020
1038
|
listHeight?: React.CSSProperties["height"];
|
1039
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1021
1040
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1022
1041
|
readOnly?: false;
|
1023
1042
|
disabled?: false;
|
@@ -1055,7 +1074,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1055
1074
|
textAfter?: string;
|
1056
1075
|
variant?: "normal" | "tight";
|
1057
1076
|
zIndex?: React.CSSProperties["zIndex"];
|
1058
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1059
1077
|
listMaxHeight?: React.CSSProperties["height"];
|
1060
1078
|
listWidth?: React.CSSProperties["width"];
|
1061
1079
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1068,10 +1086,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1068
1086
|
beforeList?: React.ReactNode;
|
1069
1087
|
afterList?: React.ReactNode;
|
1070
1088
|
virtual?: boolean;
|
1089
|
+
mode?: "default" | "radio";
|
1071
1090
|
size?: string;
|
1072
1091
|
view?: string;
|
1073
1092
|
emptyStateDescription?: string;
|
1074
1093
|
listHeight?: React.CSSProperties["height"];
|
1094
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1075
1095
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1076
1096
|
readOnly?: false;
|
1077
1097
|
disabled?: false;
|
@@ -1109,7 +1129,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1109
1129
|
textAfter?: string;
|
1110
1130
|
variant?: "normal" | "tight";
|
1111
1131
|
zIndex?: React.CSSProperties["zIndex"];
|
1112
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1113
1132
|
listMaxHeight?: React.CSSProperties["height"];
|
1114
1133
|
listWidth?: React.CSSProperties["width"];
|
1115
1134
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1122,10 +1141,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1122
1141
|
beforeList?: React.ReactNode;
|
1123
1142
|
afterList?: React.ReactNode;
|
1124
1143
|
virtual?: boolean;
|
1144
|
+
mode?: "default" | "radio";
|
1125
1145
|
size?: string;
|
1126
1146
|
view?: string;
|
1127
1147
|
emptyStateDescription?: string;
|
1128
1148
|
listHeight?: React.CSSProperties["height"];
|
1149
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1129
1150
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1130
1151
|
readOnly?: false;
|
1131
1152
|
disabled?: false;
|
@@ -1163,7 +1184,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1163
1184
|
textAfter?: string;
|
1164
1185
|
variant?: "normal" | "tight";
|
1165
1186
|
zIndex?: React.CSSProperties["zIndex"];
|
1166
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1167
1187
|
listMaxHeight?: React.CSSProperties["height"];
|
1168
1188
|
listWidth?: React.CSSProperties["width"];
|
1169
1189
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1176,10 +1196,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1176
1196
|
beforeList?: React.ReactNode;
|
1177
1197
|
afterList?: React.ReactNode;
|
1178
1198
|
virtual?: boolean;
|
1199
|
+
mode?: "default" | "radio";
|
1179
1200
|
size?: string;
|
1180
1201
|
view?: string;
|
1181
1202
|
emptyStateDescription?: string;
|
1182
1203
|
listHeight?: React.CSSProperties["height"];
|
1204
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1183
1205
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1184
1206
|
readOnly?: false;
|
1185
1207
|
disabled?: false;
|
@@ -1217,7 +1239,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1217
1239
|
textAfter?: string;
|
1218
1240
|
variant?: "normal" | "tight";
|
1219
1241
|
zIndex?: React.CSSProperties["zIndex"];
|
1220
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1221
1242
|
listMaxHeight?: React.CSSProperties["height"];
|
1222
1243
|
listWidth?: React.CSSProperties["width"];
|
1223
1244
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1230,10 +1251,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1230
1251
|
beforeList?: React.ReactNode;
|
1231
1252
|
afterList?: React.ReactNode;
|
1232
1253
|
virtual?: boolean;
|
1254
|
+
mode?: "default" | "radio";
|
1233
1255
|
size?: string;
|
1234
1256
|
view?: string;
|
1235
1257
|
emptyStateDescription?: string;
|
1236
1258
|
listHeight?: React.CSSProperties["height"];
|
1259
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1237
1260
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1238
1261
|
readOnly?: false;
|
1239
1262
|
disabled?: false;
|
@@ -1271,7 +1294,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1271
1294
|
textAfter?: string;
|
1272
1295
|
variant?: "normal" | "tight";
|
1273
1296
|
zIndex?: React.CSSProperties["zIndex"];
|
1274
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1275
1297
|
listMaxHeight?: React.CSSProperties["height"];
|
1276
1298
|
listWidth?: React.CSSProperties["width"];
|
1277
1299
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1284,10 +1306,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1284
1306
|
beforeList?: React.ReactNode;
|
1285
1307
|
afterList?: React.ReactNode;
|
1286
1308
|
virtual?: boolean;
|
1309
|
+
mode?: "default" | "radio";
|
1287
1310
|
size?: string;
|
1288
1311
|
view?: string;
|
1289
1312
|
emptyStateDescription?: string;
|
1290
1313
|
listHeight?: React.CSSProperties["height"];
|
1314
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1291
1315
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1292
1316
|
readOnly?: false;
|
1293
1317
|
disabled?: false;
|
@@ -12,19 +12,18 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
12
12
|
alwaysOpened?: boolean;
|
13
13
|
children?: React.ReactNode;
|
14
14
|
itemRole?: string;
|
15
|
-
onHover?: (index: number) => void;
|
15
|
+
onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
|
16
16
|
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
17
17
|
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
18
18
|
openByRightClick?: boolean;
|
19
19
|
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
20
20
|
offset?: [number, number];
|
21
|
-
listOverflow?: React.CSSProperties["overflow"];
|
22
21
|
listMaxHeight?: React.CSSProperties["height"];
|
23
22
|
listWidth?: React.CSSProperties["width"];
|
24
23
|
hasArrow?: boolean;
|
25
24
|
closeOnSelect?: boolean;
|
26
25
|
closeOnOverlayClick?: boolean;
|
27
|
-
onToggle?: (isOpen: boolean, event
|
26
|
+
onToggle?: (isOpen: boolean, event?: React.SyntheticEvent | Event) => void;
|
28
27
|
size?: string;
|
29
28
|
view?: string;
|
30
29
|
variant?: "normal" | "tight";
|
@@ -36,6 +35,7 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
36
35
|
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
37
36
|
listHeight?: React.CSSProperties["height"];
|
38
37
|
hoverIndex?: number;
|
38
|
+
listOverflow?: React.CSSProperties["overflow"];
|
39
39
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
40
40
|
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
41
41
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "size" | "view"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
@@ -50,19 +50,18 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
50
50
|
alwaysOpened?: boolean;
|
51
51
|
children?: React.ReactNode;
|
52
52
|
itemRole?: string;
|
53
|
-
onHover?: (index: number) => void;
|
53
|
+
onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
|
54
54
|
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
55
55
|
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
56
56
|
openByRightClick?: boolean;
|
57
57
|
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
58
58
|
offset?: [number, number];
|
59
|
-
listOverflow?: React.CSSProperties["overflow"];
|
60
59
|
listMaxHeight?: React.CSSProperties["height"];
|
61
60
|
listWidth?: React.CSSProperties["width"];
|
62
61
|
hasArrow?: boolean;
|
63
62
|
closeOnSelect?: boolean;
|
64
63
|
closeOnOverlayClick?: boolean;
|
65
|
-
onToggle?: (isOpen: boolean, event
|
64
|
+
onToggle?: (isOpen: boolean, event?: React.SyntheticEvent | Event) => void;
|
66
65
|
size?: string;
|
67
66
|
view?: string;
|
68
67
|
variant?: "normal" | "tight";
|
@@ -74,5 +73,6 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
74
73
|
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
75
74
|
listHeight?: React.CSSProperties["height"];
|
76
75
|
hoverIndex?: number;
|
76
|
+
listOverflow?: React.CSSProperties["overflow"];
|
77
77
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "size" | "view"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
78
78
|
export { Dropdown };
|