@salutejs/sdds-dfa 0.322.0-canary.2214.17533375543.0 → 0.322.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/es/components/Autocomplete/Autocomplete.js +61 -2
- package/es/components/Tree/Tree.config.js +4 -2
- package/package.json +3 -3
@@ -41,7 +41,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
41
41
|
textAfter?: string;
|
42
42
|
variant?: "normal" | "tight";
|
43
43
|
zIndex?: React.CSSProperties["zIndex"];
|
44
|
-
listOverflow?: React.CSSProperties["overflow"];
|
45
44
|
listMaxHeight?: React.CSSProperties["height"];
|
46
45
|
listWidth?: React.CSSProperties["width"];
|
47
46
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -54,10 +53,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
54
53
|
beforeList?: React.ReactNode;
|
55
54
|
afterList?: React.ReactNode;
|
56
55
|
virtual?: boolean;
|
56
|
+
mode?: "default" | "radio";
|
57
57
|
size?: string;
|
58
58
|
view?: string;
|
59
59
|
emptyStateDescription?: string;
|
60
60
|
listHeight?: React.CSSProperties["height"];
|
61
|
+
listOverflow?: React.CSSProperties["overflow"];
|
61
62
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
62
63
|
readOnly?: boolean;
|
63
64
|
disabled?: true;
|
@@ -95,7 +96,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
95
96
|
textAfter?: string;
|
96
97
|
variant?: "normal" | "tight";
|
97
98
|
zIndex?: React.CSSProperties["zIndex"];
|
98
|
-
listOverflow?: React.CSSProperties["overflow"];
|
99
99
|
listMaxHeight?: React.CSSProperties["height"];
|
100
100
|
listWidth?: React.CSSProperties["width"];
|
101
101
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -108,10 +108,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
108
108
|
beforeList?: React.ReactNode;
|
109
109
|
afterList?: React.ReactNode;
|
110
110
|
virtual?: boolean;
|
111
|
+
mode?: "default" | "radio";
|
111
112
|
size?: string;
|
112
113
|
view?: string;
|
113
114
|
emptyStateDescription?: string;
|
114
115
|
listHeight?: React.CSSProperties["height"];
|
116
|
+
listOverflow?: React.CSSProperties["overflow"];
|
115
117
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
116
118
|
readOnly?: boolean;
|
117
119
|
disabled?: true;
|
@@ -149,7 +151,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
149
151
|
textAfter?: string;
|
150
152
|
variant?: "normal" | "tight";
|
151
153
|
zIndex?: React.CSSProperties["zIndex"];
|
152
|
-
listOverflow?: React.CSSProperties["overflow"];
|
153
154
|
listMaxHeight?: React.CSSProperties["height"];
|
154
155
|
listWidth?: React.CSSProperties["width"];
|
155
156
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -162,10 +163,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
162
163
|
beforeList?: React.ReactNode;
|
163
164
|
afterList?: React.ReactNode;
|
164
165
|
virtual?: boolean;
|
166
|
+
mode?: "default" | "radio";
|
165
167
|
size?: string;
|
166
168
|
view?: string;
|
167
169
|
emptyStateDescription?: string;
|
168
170
|
listHeight?: React.CSSProperties["height"];
|
171
|
+
listOverflow?: React.CSSProperties["overflow"];
|
169
172
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
170
173
|
readOnly?: boolean;
|
171
174
|
disabled?: true;
|
@@ -203,7 +206,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
203
206
|
textAfter?: string;
|
204
207
|
variant?: "normal" | "tight";
|
205
208
|
zIndex?: React.CSSProperties["zIndex"];
|
206
|
-
listOverflow?: React.CSSProperties["overflow"];
|
207
209
|
listMaxHeight?: React.CSSProperties["height"];
|
208
210
|
listWidth?: React.CSSProperties["width"];
|
209
211
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -216,10 +218,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
216
218
|
beforeList?: React.ReactNode;
|
217
219
|
afterList?: React.ReactNode;
|
218
220
|
virtual?: boolean;
|
221
|
+
mode?: "default" | "radio";
|
219
222
|
size?: string;
|
220
223
|
view?: string;
|
221
224
|
emptyStateDescription?: string;
|
222
225
|
listHeight?: React.CSSProperties["height"];
|
226
|
+
listOverflow?: React.CSSProperties["overflow"];
|
223
227
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
224
228
|
readOnly?: boolean;
|
225
229
|
disabled?: true;
|
@@ -257,7 +261,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
257
261
|
textAfter?: string;
|
258
262
|
variant?: "normal" | "tight";
|
259
263
|
zIndex?: React.CSSProperties["zIndex"];
|
260
|
-
listOverflow?: React.CSSProperties["overflow"];
|
261
264
|
listMaxHeight?: React.CSSProperties["height"];
|
262
265
|
listWidth?: React.CSSProperties["width"];
|
263
266
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -270,10 +273,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
270
273
|
beforeList?: React.ReactNode;
|
271
274
|
afterList?: React.ReactNode;
|
272
275
|
virtual?: boolean;
|
276
|
+
mode?: "default" | "radio";
|
273
277
|
size?: string;
|
274
278
|
view?: string;
|
275
279
|
emptyStateDescription?: string;
|
276
280
|
listHeight?: React.CSSProperties["height"];
|
281
|
+
listOverflow?: React.CSSProperties["overflow"];
|
277
282
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
278
283
|
readOnly?: boolean;
|
279
284
|
disabled?: true;
|
@@ -311,7 +316,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
311
316
|
textAfter?: string;
|
312
317
|
variant?: "normal" | "tight";
|
313
318
|
zIndex?: React.CSSProperties["zIndex"];
|
314
|
-
listOverflow?: React.CSSProperties["overflow"];
|
315
319
|
listMaxHeight?: React.CSSProperties["height"];
|
316
320
|
listWidth?: React.CSSProperties["width"];
|
317
321
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -324,10 +328,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
324
328
|
beforeList?: React.ReactNode;
|
325
329
|
afterList?: React.ReactNode;
|
326
330
|
virtual?: boolean;
|
331
|
+
mode?: "default" | "radio";
|
327
332
|
size?: string;
|
328
333
|
view?: string;
|
329
334
|
emptyStateDescription?: string;
|
330
335
|
listHeight?: React.CSSProperties["height"];
|
336
|
+
listOverflow?: React.CSSProperties["overflow"];
|
331
337
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
332
338
|
readOnly?: boolean;
|
333
339
|
disabled?: true;
|
@@ -365,7 +371,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
365
371
|
textAfter?: string;
|
366
372
|
variant?: "normal" | "tight";
|
367
373
|
zIndex?: React.CSSProperties["zIndex"];
|
368
|
-
listOverflow?: React.CSSProperties["overflow"];
|
369
374
|
listMaxHeight?: React.CSSProperties["height"];
|
370
375
|
listWidth?: React.CSSProperties["width"];
|
371
376
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -378,10 +383,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
378
383
|
beforeList?: React.ReactNode;
|
379
384
|
afterList?: React.ReactNode;
|
380
385
|
virtual?: boolean;
|
386
|
+
mode?: "default" | "radio";
|
381
387
|
size?: string;
|
382
388
|
view?: string;
|
383
389
|
emptyStateDescription?: string;
|
384
390
|
listHeight?: React.CSSProperties["height"];
|
391
|
+
listOverflow?: React.CSSProperties["overflow"];
|
385
392
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
386
393
|
readOnly?: boolean;
|
387
394
|
disabled?: true;
|
@@ -419,7 +426,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
419
426
|
textAfter?: string;
|
420
427
|
variant?: "normal" | "tight";
|
421
428
|
zIndex?: React.CSSProperties["zIndex"];
|
422
|
-
listOverflow?: React.CSSProperties["overflow"];
|
423
429
|
listMaxHeight?: React.CSSProperties["height"];
|
424
430
|
listWidth?: React.CSSProperties["width"];
|
425
431
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -432,10 +438,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
432
438
|
beforeList?: React.ReactNode;
|
433
439
|
afterList?: React.ReactNode;
|
434
440
|
virtual?: boolean;
|
441
|
+
mode?: "default" | "radio";
|
435
442
|
size?: string;
|
436
443
|
view?: string;
|
437
444
|
emptyStateDescription?: string;
|
438
445
|
listHeight?: React.CSSProperties["height"];
|
446
|
+
listOverflow?: React.CSSProperties["overflow"];
|
439
447
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
440
448
|
readOnly?: boolean;
|
441
449
|
disabled?: true;
|
@@ -473,7 +481,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
473
481
|
textAfter?: string;
|
474
482
|
variant?: "normal" | "tight";
|
475
483
|
zIndex?: React.CSSProperties["zIndex"];
|
476
|
-
listOverflow?: React.CSSProperties["overflow"];
|
477
484
|
listMaxHeight?: React.CSSProperties["height"];
|
478
485
|
listWidth?: React.CSSProperties["width"];
|
479
486
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -486,10 +493,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
486
493
|
beforeList?: React.ReactNode;
|
487
494
|
afterList?: React.ReactNode;
|
488
495
|
virtual?: boolean;
|
496
|
+
mode?: "default" | "radio";
|
489
497
|
size?: string;
|
490
498
|
view?: string;
|
491
499
|
emptyStateDescription?: string;
|
492
500
|
listHeight?: React.CSSProperties["height"];
|
501
|
+
listOverflow?: React.CSSProperties["overflow"];
|
493
502
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
494
503
|
readOnly?: true;
|
495
504
|
disabled?: boolean;
|
@@ -527,7 +536,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
527
536
|
textAfter?: string;
|
528
537
|
variant?: "normal" | "tight";
|
529
538
|
zIndex?: React.CSSProperties["zIndex"];
|
530
|
-
listOverflow?: React.CSSProperties["overflow"];
|
531
539
|
listMaxHeight?: React.CSSProperties["height"];
|
532
540
|
listWidth?: React.CSSProperties["width"];
|
533
541
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -540,10 +548,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
540
548
|
beforeList?: React.ReactNode;
|
541
549
|
afterList?: React.ReactNode;
|
542
550
|
virtual?: boolean;
|
551
|
+
mode?: "default" | "radio";
|
543
552
|
size?: string;
|
544
553
|
view?: string;
|
545
554
|
emptyStateDescription?: string;
|
546
555
|
listHeight?: React.CSSProperties["height"];
|
556
|
+
listOverflow?: React.CSSProperties["overflow"];
|
547
557
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
548
558
|
readOnly?: true;
|
549
559
|
disabled?: boolean;
|
@@ -581,7 +591,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
581
591
|
textAfter?: string;
|
582
592
|
variant?: "normal" | "tight";
|
583
593
|
zIndex?: React.CSSProperties["zIndex"];
|
584
|
-
listOverflow?: React.CSSProperties["overflow"];
|
585
594
|
listMaxHeight?: React.CSSProperties["height"];
|
586
595
|
listWidth?: React.CSSProperties["width"];
|
587
596
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -594,10 +603,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
594
603
|
beforeList?: React.ReactNode;
|
595
604
|
afterList?: React.ReactNode;
|
596
605
|
virtual?: boolean;
|
606
|
+
mode?: "default" | "radio";
|
597
607
|
size?: string;
|
598
608
|
view?: string;
|
599
609
|
emptyStateDescription?: string;
|
600
610
|
listHeight?: React.CSSProperties["height"];
|
611
|
+
listOverflow?: React.CSSProperties["overflow"];
|
601
612
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
602
613
|
readOnly?: true;
|
603
614
|
disabled?: boolean;
|
@@ -635,7 +646,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
635
646
|
textAfter?: string;
|
636
647
|
variant?: "normal" | "tight";
|
637
648
|
zIndex?: React.CSSProperties["zIndex"];
|
638
|
-
listOverflow?: React.CSSProperties["overflow"];
|
639
649
|
listMaxHeight?: React.CSSProperties["height"];
|
640
650
|
listWidth?: React.CSSProperties["width"];
|
641
651
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -648,10 +658,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
648
658
|
beforeList?: React.ReactNode;
|
649
659
|
afterList?: React.ReactNode;
|
650
660
|
virtual?: boolean;
|
661
|
+
mode?: "default" | "radio";
|
651
662
|
size?: string;
|
652
663
|
view?: string;
|
653
664
|
emptyStateDescription?: string;
|
654
665
|
listHeight?: React.CSSProperties["height"];
|
666
|
+
listOverflow?: React.CSSProperties["overflow"];
|
655
667
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
656
668
|
readOnly?: true;
|
657
669
|
disabled?: boolean;
|
@@ -689,7 +701,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
689
701
|
textAfter?: string;
|
690
702
|
variant?: "normal" | "tight";
|
691
703
|
zIndex?: React.CSSProperties["zIndex"];
|
692
|
-
listOverflow?: React.CSSProperties["overflow"];
|
693
704
|
listMaxHeight?: React.CSSProperties["height"];
|
694
705
|
listWidth?: React.CSSProperties["width"];
|
695
706
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -702,10 +713,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
702
713
|
beforeList?: React.ReactNode;
|
703
714
|
afterList?: React.ReactNode;
|
704
715
|
virtual?: boolean;
|
716
|
+
mode?: "default" | "radio";
|
705
717
|
size?: string;
|
706
718
|
view?: string;
|
707
719
|
emptyStateDescription?: string;
|
708
720
|
listHeight?: React.CSSProperties["height"];
|
721
|
+
listOverflow?: React.CSSProperties["overflow"];
|
709
722
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
710
723
|
readOnly?: true;
|
711
724
|
disabled?: boolean;
|
@@ -743,7 +756,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
743
756
|
textAfter?: string;
|
744
757
|
variant?: "normal" | "tight";
|
745
758
|
zIndex?: React.CSSProperties["zIndex"];
|
746
|
-
listOverflow?: React.CSSProperties["overflow"];
|
747
759
|
listMaxHeight?: React.CSSProperties["height"];
|
748
760
|
listWidth?: React.CSSProperties["width"];
|
749
761
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -756,10 +768,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
756
768
|
beforeList?: React.ReactNode;
|
757
769
|
afterList?: React.ReactNode;
|
758
770
|
virtual?: boolean;
|
771
|
+
mode?: "default" | "radio";
|
759
772
|
size?: string;
|
760
773
|
view?: string;
|
761
774
|
emptyStateDescription?: string;
|
762
775
|
listHeight?: React.CSSProperties["height"];
|
776
|
+
listOverflow?: React.CSSProperties["overflow"];
|
763
777
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
764
778
|
readOnly?: true;
|
765
779
|
disabled?: boolean;
|
@@ -797,7 +811,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
797
811
|
textAfter?: string;
|
798
812
|
variant?: "normal" | "tight";
|
799
813
|
zIndex?: React.CSSProperties["zIndex"];
|
800
|
-
listOverflow?: React.CSSProperties["overflow"];
|
801
814
|
listMaxHeight?: React.CSSProperties["height"];
|
802
815
|
listWidth?: React.CSSProperties["width"];
|
803
816
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -810,10 +823,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
810
823
|
beforeList?: React.ReactNode;
|
811
824
|
afterList?: React.ReactNode;
|
812
825
|
virtual?: boolean;
|
826
|
+
mode?: "default" | "radio";
|
813
827
|
size?: string;
|
814
828
|
view?: string;
|
815
829
|
emptyStateDescription?: string;
|
816
830
|
listHeight?: React.CSSProperties["height"];
|
831
|
+
listOverflow?: React.CSSProperties["overflow"];
|
817
832
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
818
833
|
readOnly?: true;
|
819
834
|
disabled?: boolean;
|
@@ -851,7 +866,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
851
866
|
textAfter?: string;
|
852
867
|
variant?: "normal" | "tight";
|
853
868
|
zIndex?: React.CSSProperties["zIndex"];
|
854
|
-
listOverflow?: React.CSSProperties["overflow"];
|
855
869
|
listMaxHeight?: React.CSSProperties["height"];
|
856
870
|
listWidth?: React.CSSProperties["width"];
|
857
871
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -864,10 +878,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
864
878
|
beforeList?: React.ReactNode;
|
865
879
|
afterList?: React.ReactNode;
|
866
880
|
virtual?: boolean;
|
881
|
+
mode?: "default" | "radio";
|
867
882
|
size?: string;
|
868
883
|
view?: string;
|
869
884
|
emptyStateDescription?: string;
|
870
885
|
listHeight?: React.CSSProperties["height"];
|
886
|
+
listOverflow?: React.CSSProperties["overflow"];
|
871
887
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
872
888
|
readOnly?: true;
|
873
889
|
disabled?: boolean;
|
@@ -905,7 +921,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
905
921
|
textAfter?: string;
|
906
922
|
variant?: "normal" | "tight";
|
907
923
|
zIndex?: React.CSSProperties["zIndex"];
|
908
|
-
listOverflow?: React.CSSProperties["overflow"];
|
909
924
|
listMaxHeight?: React.CSSProperties["height"];
|
910
925
|
listWidth?: React.CSSProperties["width"];
|
911
926
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -918,10 +933,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
918
933
|
beforeList?: React.ReactNode;
|
919
934
|
afterList?: React.ReactNode;
|
920
935
|
virtual?: boolean;
|
936
|
+
mode?: "default" | "radio";
|
921
937
|
size?: string;
|
922
938
|
view?: string;
|
923
939
|
emptyStateDescription?: string;
|
924
940
|
listHeight?: React.CSSProperties["height"];
|
941
|
+
listOverflow?: React.CSSProperties["overflow"];
|
925
942
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
926
943
|
readOnly?: false;
|
927
944
|
disabled?: false;
|
@@ -959,7 +976,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
959
976
|
textAfter?: string;
|
960
977
|
variant?: "normal" | "tight";
|
961
978
|
zIndex?: React.CSSProperties["zIndex"];
|
962
|
-
listOverflow?: React.CSSProperties["overflow"];
|
963
979
|
listMaxHeight?: React.CSSProperties["height"];
|
964
980
|
listWidth?: React.CSSProperties["width"];
|
965
981
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -972,10 +988,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
972
988
|
beforeList?: React.ReactNode;
|
973
989
|
afterList?: React.ReactNode;
|
974
990
|
virtual?: boolean;
|
991
|
+
mode?: "default" | "radio";
|
975
992
|
size?: string;
|
976
993
|
view?: string;
|
977
994
|
emptyStateDescription?: string;
|
978
995
|
listHeight?: React.CSSProperties["height"];
|
996
|
+
listOverflow?: React.CSSProperties["overflow"];
|
979
997
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
980
998
|
readOnly?: false;
|
981
999
|
disabled?: false;
|
@@ -1013,7 +1031,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1013
1031
|
textAfter?: string;
|
1014
1032
|
variant?: "normal" | "tight";
|
1015
1033
|
zIndex?: React.CSSProperties["zIndex"];
|
1016
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1017
1034
|
listMaxHeight?: React.CSSProperties["height"];
|
1018
1035
|
listWidth?: React.CSSProperties["width"];
|
1019
1036
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1026,10 +1043,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1026
1043
|
beforeList?: React.ReactNode;
|
1027
1044
|
afterList?: React.ReactNode;
|
1028
1045
|
virtual?: boolean;
|
1046
|
+
mode?: "default" | "radio";
|
1029
1047
|
size?: string;
|
1030
1048
|
view?: string;
|
1031
1049
|
emptyStateDescription?: string;
|
1032
1050
|
listHeight?: React.CSSProperties["height"];
|
1051
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1033
1052
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1034
1053
|
readOnly?: false;
|
1035
1054
|
disabled?: false;
|
@@ -1067,7 +1086,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1067
1086
|
textAfter?: string;
|
1068
1087
|
variant?: "normal" | "tight";
|
1069
1088
|
zIndex?: React.CSSProperties["zIndex"];
|
1070
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1071
1089
|
listMaxHeight?: React.CSSProperties["height"];
|
1072
1090
|
listWidth?: React.CSSProperties["width"];
|
1073
1091
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1080,10 +1098,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1080
1098
|
beforeList?: React.ReactNode;
|
1081
1099
|
afterList?: React.ReactNode;
|
1082
1100
|
virtual?: boolean;
|
1101
|
+
mode?: "default" | "radio";
|
1083
1102
|
size?: string;
|
1084
1103
|
view?: string;
|
1085
1104
|
emptyStateDescription?: string;
|
1086
1105
|
listHeight?: React.CSSProperties["height"];
|
1106
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1087
1107
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1088
1108
|
readOnly?: false;
|
1089
1109
|
disabled?: false;
|
@@ -1121,7 +1141,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1121
1141
|
textAfter?: string;
|
1122
1142
|
variant?: "normal" | "tight";
|
1123
1143
|
zIndex?: React.CSSProperties["zIndex"];
|
1124
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1125
1144
|
listMaxHeight?: React.CSSProperties["height"];
|
1126
1145
|
listWidth?: React.CSSProperties["width"];
|
1127
1146
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1134,10 +1153,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1134
1153
|
beforeList?: React.ReactNode;
|
1135
1154
|
afterList?: React.ReactNode;
|
1136
1155
|
virtual?: boolean;
|
1156
|
+
mode?: "default" | "radio";
|
1137
1157
|
size?: string;
|
1138
1158
|
view?: string;
|
1139
1159
|
emptyStateDescription?: string;
|
1140
1160
|
listHeight?: React.CSSProperties["height"];
|
1161
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1141
1162
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1142
1163
|
readOnly?: false;
|
1143
1164
|
disabled?: false;
|
@@ -1175,7 +1196,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1175
1196
|
textAfter?: string;
|
1176
1197
|
variant?: "normal" | "tight";
|
1177
1198
|
zIndex?: React.CSSProperties["zIndex"];
|
1178
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1179
1199
|
listMaxHeight?: React.CSSProperties["height"];
|
1180
1200
|
listWidth?: React.CSSProperties["width"];
|
1181
1201
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1188,10 +1208,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1188
1208
|
beforeList?: React.ReactNode;
|
1189
1209
|
afterList?: React.ReactNode;
|
1190
1210
|
virtual?: boolean;
|
1211
|
+
mode?: "default" | "radio";
|
1191
1212
|
size?: string;
|
1192
1213
|
view?: string;
|
1193
1214
|
emptyStateDescription?: string;
|
1194
1215
|
listHeight?: React.CSSProperties["height"];
|
1216
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1195
1217
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1196
1218
|
readOnly?: false;
|
1197
1219
|
disabled?: false;
|
@@ -1229,7 +1251,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1229
1251
|
textAfter?: string;
|
1230
1252
|
variant?: "normal" | "tight";
|
1231
1253
|
zIndex?: React.CSSProperties["zIndex"];
|
1232
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1233
1254
|
listMaxHeight?: React.CSSProperties["height"];
|
1234
1255
|
listWidth?: React.CSSProperties["width"];
|
1235
1256
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1242,10 +1263,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1242
1263
|
beforeList?: React.ReactNode;
|
1243
1264
|
afterList?: React.ReactNode;
|
1244
1265
|
virtual?: boolean;
|
1266
|
+
mode?: "default" | "radio";
|
1245
1267
|
size?: string;
|
1246
1268
|
view?: string;
|
1247
1269
|
emptyStateDescription?: string;
|
1248
1270
|
listHeight?: React.CSSProperties["height"];
|
1271
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1249
1272
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1250
1273
|
readOnly?: false;
|
1251
1274
|
disabled?: false;
|
@@ -1283,7 +1306,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1283
1306
|
textAfter?: string;
|
1284
1307
|
variant?: "normal" | "tight";
|
1285
1308
|
zIndex?: React.CSSProperties["zIndex"];
|
1286
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1287
1309
|
listMaxHeight?: React.CSSProperties["height"];
|
1288
1310
|
listWidth?: React.CSSProperties["width"];
|
1289
1311
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1296,10 +1318,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1296
1318
|
beforeList?: React.ReactNode;
|
1297
1319
|
afterList?: React.ReactNode;
|
1298
1320
|
virtual?: boolean;
|
1321
|
+
mode?: "default" | "radio";
|
1299
1322
|
size?: string;
|
1300
1323
|
view?: string;
|
1301
1324
|
emptyStateDescription?: string;
|
1302
1325
|
listHeight?: React.CSSProperties["height"];
|
1326
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1303
1327
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1304
1328
|
readOnly?: false;
|
1305
1329
|
disabled?: false;
|
@@ -16,19 +16,18 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
16
16
|
alwaysOpened?: boolean;
|
17
17
|
children?: React.ReactNode;
|
18
18
|
itemRole?: string;
|
19
|
-
onHover?: (index: number) => void;
|
19
|
+
onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
|
20
20
|
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
21
21
|
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
22
22
|
openByRightClick?: boolean;
|
23
23
|
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
24
24
|
offset?: [number, number];
|
25
|
-
listOverflow?: React.CSSProperties["overflow"];
|
26
25
|
listMaxHeight?: React.CSSProperties["height"];
|
27
26
|
listWidth?: React.CSSProperties["width"];
|
28
27
|
hasArrow?: boolean;
|
29
28
|
closeOnSelect?: boolean;
|
30
29
|
closeOnOverlayClick?: boolean;
|
31
|
-
onToggle?: (isOpen: boolean, event
|
30
|
+
onToggle?: (isOpen: boolean, event?: React.SyntheticEvent | Event) => void;
|
32
31
|
size?: string;
|
33
32
|
view?: string;
|
34
33
|
variant?: "normal" | "tight";
|
@@ -40,6 +39,7 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
40
39
|
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
41
40
|
listHeight?: React.CSSProperties["height"];
|
42
41
|
hoverIndex?: number;
|
42
|
+
listOverflow?: React.CSSProperties["overflow"];
|
43
43
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
44
44
|
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
45
45
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "size" | "view"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
@@ -58,19 +58,18 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
58
58
|
alwaysOpened?: boolean;
|
59
59
|
children?: React.ReactNode;
|
60
60
|
itemRole?: string;
|
61
|
-
onHover?: (index: number) => void;
|
61
|
+
onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
|
62
62
|
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
63
63
|
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
64
64
|
openByRightClick?: boolean;
|
65
65
|
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
66
66
|
offset?: [number, number];
|
67
|
-
listOverflow?: React.CSSProperties["overflow"];
|
68
67
|
listMaxHeight?: React.CSSProperties["height"];
|
69
68
|
listWidth?: React.CSSProperties["width"];
|
70
69
|
hasArrow?: boolean;
|
71
70
|
closeOnSelect?: boolean;
|
72
71
|
closeOnOverlayClick?: boolean;
|
73
|
-
onToggle?: (isOpen: boolean, event
|
72
|
+
onToggle?: (isOpen: boolean, event?: React.SyntheticEvent | Event) => void;
|
74
73
|
size?: string;
|
75
74
|
view?: string;
|
76
75
|
variant?: "normal" | "tight";
|
@@ -82,5 +81,6 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
82
81
|
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
83
82
|
listHeight?: React.CSSProperties["height"];
|
84
83
|
hoverIndex?: number;
|
84
|
+
listOverflow?: React.CSSProperties["overflow"];
|
85
85
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "size" | "view"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
86
86
|
export { Dropdown };
|