@salutejs/sdds-serv 0.323.0-canary.2216.17549652479.0 → 0.323.0-canary.2218.17560383957.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 +14 -1
- package/components/Autocomplete/Autocomplete.js.map +1 -1
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Dropdown/Dropdown.d.ts +4 -4
- package/components/Select/Select.d.ts +6 -6
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +76 -4
- package/emotion/es/components/Autocomplete/Autocomplete.js +61 -2
- package/es/components/Autocomplete/Autocomplete.js +11 -3
- package/es/components/Autocomplete/Autocomplete.js.map +1 -1
- package/package.json +3 -3
- package/styled-components/cjs/components/Autocomplete/Autocomplete.js +76 -4
- package/styled-components/es/components/Autocomplete/Autocomplete.js +61 -2
@@ -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>;
|
@@ -58,6 +57,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
58
57
|
view?: string;
|
59
58
|
emptyStateDescription?: string;
|
60
59
|
listHeight?: React.CSSProperties["height"];
|
60
|
+
listOverflow?: React.CSSProperties["overflow"];
|
61
61
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
62
62
|
readOnly?: boolean;
|
63
63
|
disabled?: true;
|
@@ -95,7 +95,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
95
95
|
textAfter?: string;
|
96
96
|
variant?: "normal" | "tight";
|
97
97
|
zIndex?: React.CSSProperties["zIndex"];
|
98
|
-
listOverflow?: React.CSSProperties["overflow"];
|
99
98
|
listMaxHeight?: React.CSSProperties["height"];
|
100
99
|
listWidth?: React.CSSProperties["width"];
|
101
100
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -112,6 +111,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
112
111
|
view?: string;
|
113
112
|
emptyStateDescription?: string;
|
114
113
|
listHeight?: React.CSSProperties["height"];
|
114
|
+
listOverflow?: React.CSSProperties["overflow"];
|
115
115
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
116
116
|
readOnly?: boolean;
|
117
117
|
disabled?: true;
|
@@ -149,7 +149,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
149
149
|
textAfter?: string;
|
150
150
|
variant?: "normal" | "tight";
|
151
151
|
zIndex?: React.CSSProperties["zIndex"];
|
152
|
-
listOverflow?: React.CSSProperties["overflow"];
|
153
152
|
listMaxHeight?: React.CSSProperties["height"];
|
154
153
|
listWidth?: React.CSSProperties["width"];
|
155
154
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -166,6 +165,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
166
165
|
view?: string;
|
167
166
|
emptyStateDescription?: string;
|
168
167
|
listHeight?: React.CSSProperties["height"];
|
168
|
+
listOverflow?: React.CSSProperties["overflow"];
|
169
169
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
170
170
|
readOnly?: boolean;
|
171
171
|
disabled?: true;
|
@@ -203,7 +203,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
203
203
|
textAfter?: string;
|
204
204
|
variant?: "normal" | "tight";
|
205
205
|
zIndex?: React.CSSProperties["zIndex"];
|
206
|
-
listOverflow?: React.CSSProperties["overflow"];
|
207
206
|
listMaxHeight?: React.CSSProperties["height"];
|
208
207
|
listWidth?: React.CSSProperties["width"];
|
209
208
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -220,6 +219,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
220
219
|
view?: string;
|
221
220
|
emptyStateDescription?: string;
|
222
221
|
listHeight?: React.CSSProperties["height"];
|
222
|
+
listOverflow?: React.CSSProperties["overflow"];
|
223
223
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
224
224
|
readOnly?: boolean;
|
225
225
|
disabled?: true;
|
@@ -257,7 +257,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
257
257
|
textAfter?: string;
|
258
258
|
variant?: "normal" | "tight";
|
259
259
|
zIndex?: React.CSSProperties["zIndex"];
|
260
|
-
listOverflow?: React.CSSProperties["overflow"];
|
261
260
|
listMaxHeight?: React.CSSProperties["height"];
|
262
261
|
listWidth?: React.CSSProperties["width"];
|
263
262
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -274,6 +273,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
274
273
|
view?: string;
|
275
274
|
emptyStateDescription?: string;
|
276
275
|
listHeight?: React.CSSProperties["height"];
|
276
|
+
listOverflow?: React.CSSProperties["overflow"];
|
277
277
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
278
278
|
readOnly?: boolean;
|
279
279
|
disabled?: true;
|
@@ -311,7 +311,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
311
311
|
textAfter?: string;
|
312
312
|
variant?: "normal" | "tight";
|
313
313
|
zIndex?: React.CSSProperties["zIndex"];
|
314
|
-
listOverflow?: React.CSSProperties["overflow"];
|
315
314
|
listMaxHeight?: React.CSSProperties["height"];
|
316
315
|
listWidth?: React.CSSProperties["width"];
|
317
316
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -328,6 +327,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
328
327
|
view?: string;
|
329
328
|
emptyStateDescription?: string;
|
330
329
|
listHeight?: React.CSSProperties["height"];
|
330
|
+
listOverflow?: React.CSSProperties["overflow"];
|
331
331
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
332
332
|
readOnly?: boolean;
|
333
333
|
disabled?: true;
|
@@ -365,7 +365,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
365
365
|
textAfter?: string;
|
366
366
|
variant?: "normal" | "tight";
|
367
367
|
zIndex?: React.CSSProperties["zIndex"];
|
368
|
-
listOverflow?: React.CSSProperties["overflow"];
|
369
368
|
listMaxHeight?: React.CSSProperties["height"];
|
370
369
|
listWidth?: React.CSSProperties["width"];
|
371
370
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -382,6 +381,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
382
381
|
view?: string;
|
383
382
|
emptyStateDescription?: string;
|
384
383
|
listHeight?: React.CSSProperties["height"];
|
384
|
+
listOverflow?: React.CSSProperties["overflow"];
|
385
385
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
386
386
|
readOnly?: boolean;
|
387
387
|
disabled?: true;
|
@@ -419,7 +419,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
419
419
|
textAfter?: string;
|
420
420
|
variant?: "normal" | "tight";
|
421
421
|
zIndex?: React.CSSProperties["zIndex"];
|
422
|
-
listOverflow?: React.CSSProperties["overflow"];
|
423
422
|
listMaxHeight?: React.CSSProperties["height"];
|
424
423
|
listWidth?: React.CSSProperties["width"];
|
425
424
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -436,6 +435,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
436
435
|
view?: string;
|
437
436
|
emptyStateDescription?: string;
|
438
437
|
listHeight?: React.CSSProperties["height"];
|
438
|
+
listOverflow?: React.CSSProperties["overflow"];
|
439
439
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
440
440
|
readOnly?: boolean;
|
441
441
|
disabled?: true;
|
@@ -473,7 +473,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
473
473
|
textAfter?: string;
|
474
474
|
variant?: "normal" | "tight";
|
475
475
|
zIndex?: React.CSSProperties["zIndex"];
|
476
|
-
listOverflow?: React.CSSProperties["overflow"];
|
477
476
|
listMaxHeight?: React.CSSProperties["height"];
|
478
477
|
listWidth?: React.CSSProperties["width"];
|
479
478
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -490,6 +489,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
490
489
|
view?: string;
|
491
490
|
emptyStateDescription?: string;
|
492
491
|
listHeight?: React.CSSProperties["height"];
|
492
|
+
listOverflow?: React.CSSProperties["overflow"];
|
493
493
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
494
494
|
readOnly?: true;
|
495
495
|
disabled?: boolean;
|
@@ -527,7 +527,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
527
527
|
textAfter?: string;
|
528
528
|
variant?: "normal" | "tight";
|
529
529
|
zIndex?: React.CSSProperties["zIndex"];
|
530
|
-
listOverflow?: React.CSSProperties["overflow"];
|
531
530
|
listMaxHeight?: React.CSSProperties["height"];
|
532
531
|
listWidth?: React.CSSProperties["width"];
|
533
532
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -544,6 +543,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
544
543
|
view?: string;
|
545
544
|
emptyStateDescription?: string;
|
546
545
|
listHeight?: React.CSSProperties["height"];
|
546
|
+
listOverflow?: React.CSSProperties["overflow"];
|
547
547
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
548
548
|
readOnly?: true;
|
549
549
|
disabled?: boolean;
|
@@ -581,7 +581,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
581
581
|
textAfter?: string;
|
582
582
|
variant?: "normal" | "tight";
|
583
583
|
zIndex?: React.CSSProperties["zIndex"];
|
584
|
-
listOverflow?: React.CSSProperties["overflow"];
|
585
584
|
listMaxHeight?: React.CSSProperties["height"];
|
586
585
|
listWidth?: React.CSSProperties["width"];
|
587
586
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -598,6 +597,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
598
597
|
view?: string;
|
599
598
|
emptyStateDescription?: string;
|
600
599
|
listHeight?: React.CSSProperties["height"];
|
600
|
+
listOverflow?: React.CSSProperties["overflow"];
|
601
601
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
602
602
|
readOnly?: true;
|
603
603
|
disabled?: boolean;
|
@@ -635,7 +635,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
635
635
|
textAfter?: string;
|
636
636
|
variant?: "normal" | "tight";
|
637
637
|
zIndex?: React.CSSProperties["zIndex"];
|
638
|
-
listOverflow?: React.CSSProperties["overflow"];
|
639
638
|
listMaxHeight?: React.CSSProperties["height"];
|
640
639
|
listWidth?: React.CSSProperties["width"];
|
641
640
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -652,6 +651,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
652
651
|
view?: string;
|
653
652
|
emptyStateDescription?: string;
|
654
653
|
listHeight?: React.CSSProperties["height"];
|
654
|
+
listOverflow?: React.CSSProperties["overflow"];
|
655
655
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
656
656
|
readOnly?: true;
|
657
657
|
disabled?: boolean;
|
@@ -689,7 +689,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
689
689
|
textAfter?: string;
|
690
690
|
variant?: "normal" | "tight";
|
691
691
|
zIndex?: React.CSSProperties["zIndex"];
|
692
|
-
listOverflow?: React.CSSProperties["overflow"];
|
693
692
|
listMaxHeight?: React.CSSProperties["height"];
|
694
693
|
listWidth?: React.CSSProperties["width"];
|
695
694
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -706,6 +705,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
706
705
|
view?: string;
|
707
706
|
emptyStateDescription?: string;
|
708
707
|
listHeight?: React.CSSProperties["height"];
|
708
|
+
listOverflow?: React.CSSProperties["overflow"];
|
709
709
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
710
710
|
readOnly?: true;
|
711
711
|
disabled?: boolean;
|
@@ -743,7 +743,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
743
743
|
textAfter?: string;
|
744
744
|
variant?: "normal" | "tight";
|
745
745
|
zIndex?: React.CSSProperties["zIndex"];
|
746
|
-
listOverflow?: React.CSSProperties["overflow"];
|
747
746
|
listMaxHeight?: React.CSSProperties["height"];
|
748
747
|
listWidth?: React.CSSProperties["width"];
|
749
748
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -760,6 +759,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
760
759
|
view?: string;
|
761
760
|
emptyStateDescription?: string;
|
762
761
|
listHeight?: React.CSSProperties["height"];
|
762
|
+
listOverflow?: React.CSSProperties["overflow"];
|
763
763
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
764
764
|
readOnly?: true;
|
765
765
|
disabled?: boolean;
|
@@ -797,7 +797,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
797
797
|
textAfter?: string;
|
798
798
|
variant?: "normal" | "tight";
|
799
799
|
zIndex?: React.CSSProperties["zIndex"];
|
800
|
-
listOverflow?: React.CSSProperties["overflow"];
|
801
800
|
listMaxHeight?: React.CSSProperties["height"];
|
802
801
|
listWidth?: React.CSSProperties["width"];
|
803
802
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -814,6 +813,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
814
813
|
view?: string;
|
815
814
|
emptyStateDescription?: string;
|
816
815
|
listHeight?: React.CSSProperties["height"];
|
816
|
+
listOverflow?: React.CSSProperties["overflow"];
|
817
817
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
818
818
|
readOnly?: true;
|
819
819
|
disabled?: boolean;
|
@@ -851,7 +851,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
851
851
|
textAfter?: string;
|
852
852
|
variant?: "normal" | "tight";
|
853
853
|
zIndex?: React.CSSProperties["zIndex"];
|
854
|
-
listOverflow?: React.CSSProperties["overflow"];
|
855
854
|
listMaxHeight?: React.CSSProperties["height"];
|
856
855
|
listWidth?: React.CSSProperties["width"];
|
857
856
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -868,6 +867,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
868
867
|
view?: string;
|
869
868
|
emptyStateDescription?: string;
|
870
869
|
listHeight?: React.CSSProperties["height"];
|
870
|
+
listOverflow?: React.CSSProperties["overflow"];
|
871
871
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
872
872
|
readOnly?: true;
|
873
873
|
disabled?: boolean;
|
@@ -905,7 +905,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
905
905
|
textAfter?: string;
|
906
906
|
variant?: "normal" | "tight";
|
907
907
|
zIndex?: React.CSSProperties["zIndex"];
|
908
|
-
listOverflow?: React.CSSProperties["overflow"];
|
909
908
|
listMaxHeight?: React.CSSProperties["height"];
|
910
909
|
listWidth?: React.CSSProperties["width"];
|
911
910
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -922,6 +921,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
922
921
|
view?: string;
|
923
922
|
emptyStateDescription?: string;
|
924
923
|
listHeight?: React.CSSProperties["height"];
|
924
|
+
listOverflow?: React.CSSProperties["overflow"];
|
925
925
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
926
926
|
readOnly?: false;
|
927
927
|
disabled?: false;
|
@@ -959,7 +959,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
959
959
|
textAfter?: string;
|
960
960
|
variant?: "normal" | "tight";
|
961
961
|
zIndex?: React.CSSProperties["zIndex"];
|
962
|
-
listOverflow?: React.CSSProperties["overflow"];
|
963
962
|
listMaxHeight?: React.CSSProperties["height"];
|
964
963
|
listWidth?: React.CSSProperties["width"];
|
965
964
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -976,6 +975,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
976
975
|
view?: string;
|
977
976
|
emptyStateDescription?: string;
|
978
977
|
listHeight?: React.CSSProperties["height"];
|
978
|
+
listOverflow?: React.CSSProperties["overflow"];
|
979
979
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
980
980
|
readOnly?: false;
|
981
981
|
disabled?: false;
|
@@ -1013,7 +1013,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1013
1013
|
textAfter?: string;
|
1014
1014
|
variant?: "normal" | "tight";
|
1015
1015
|
zIndex?: React.CSSProperties["zIndex"];
|
1016
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1017
1016
|
listMaxHeight?: React.CSSProperties["height"];
|
1018
1017
|
listWidth?: React.CSSProperties["width"];
|
1019
1018
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1030,6 +1029,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1030
1029
|
view?: string;
|
1031
1030
|
emptyStateDescription?: string;
|
1032
1031
|
listHeight?: React.CSSProperties["height"];
|
1032
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1033
1033
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1034
1034
|
readOnly?: false;
|
1035
1035
|
disabled?: false;
|
@@ -1067,7 +1067,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1067
1067
|
textAfter?: string;
|
1068
1068
|
variant?: "normal" | "tight";
|
1069
1069
|
zIndex?: React.CSSProperties["zIndex"];
|
1070
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1071
1070
|
listMaxHeight?: React.CSSProperties["height"];
|
1072
1071
|
listWidth?: React.CSSProperties["width"];
|
1073
1072
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1084,6 +1083,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1084
1083
|
view?: string;
|
1085
1084
|
emptyStateDescription?: string;
|
1086
1085
|
listHeight?: React.CSSProperties["height"];
|
1086
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1087
1087
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1088
1088
|
readOnly?: false;
|
1089
1089
|
disabled?: false;
|
@@ -1121,7 +1121,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1121
1121
|
textAfter?: string;
|
1122
1122
|
variant?: "normal" | "tight";
|
1123
1123
|
zIndex?: React.CSSProperties["zIndex"];
|
1124
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1125
1124
|
listMaxHeight?: React.CSSProperties["height"];
|
1126
1125
|
listWidth?: React.CSSProperties["width"];
|
1127
1126
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1138,6 +1137,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1138
1137
|
view?: string;
|
1139
1138
|
emptyStateDescription?: string;
|
1140
1139
|
listHeight?: React.CSSProperties["height"];
|
1140
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1141
1141
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1142
1142
|
readOnly?: false;
|
1143
1143
|
disabled?: false;
|
@@ -1175,7 +1175,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1175
1175
|
textAfter?: string;
|
1176
1176
|
variant?: "normal" | "tight";
|
1177
1177
|
zIndex?: React.CSSProperties["zIndex"];
|
1178
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1179
1178
|
listMaxHeight?: React.CSSProperties["height"];
|
1180
1179
|
listWidth?: React.CSSProperties["width"];
|
1181
1180
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1192,6 +1191,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1192
1191
|
view?: string;
|
1193
1192
|
emptyStateDescription?: string;
|
1194
1193
|
listHeight?: React.CSSProperties["height"];
|
1194
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1195
1195
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1196
1196
|
readOnly?: false;
|
1197
1197
|
disabled?: false;
|
@@ -1229,7 +1229,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1229
1229
|
textAfter?: string;
|
1230
1230
|
variant?: "normal" | "tight";
|
1231
1231
|
zIndex?: React.CSSProperties["zIndex"];
|
1232
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1233
1232
|
listMaxHeight?: React.CSSProperties["height"];
|
1234
1233
|
listWidth?: React.CSSProperties["width"];
|
1235
1234
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1246,6 +1245,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1246
1245
|
view?: string;
|
1247
1246
|
emptyStateDescription?: string;
|
1248
1247
|
listHeight?: React.CSSProperties["height"];
|
1248
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1249
1249
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1250
1250
|
readOnly?: false;
|
1251
1251
|
disabled?: false;
|
@@ -1283,7 +1283,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1283
1283
|
textAfter?: string;
|
1284
1284
|
variant?: "normal" | "tight";
|
1285
1285
|
zIndex?: React.CSSProperties["zIndex"];
|
1286
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1287
1286
|
listMaxHeight?: React.CSSProperties["height"];
|
1288
1287
|
listWidth?: React.CSSProperties["width"];
|
1289
1288
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1300,6 +1299,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1300
1299
|
view?: string;
|
1301
1300
|
emptyStateDescription?: string;
|
1302
1301
|
listHeight?: React.CSSProperties["height"];
|
1302
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1303
1303
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1304
1304
|
readOnly?: false;
|
1305
1305
|
disabled?: false;
|
@@ -22,13 +22,12 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
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<{
|
@@ -64,13 +64,12 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
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 };
|
@@ -78,7 +78,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
78
78
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
79
79
|
variant?: "normal" | "tight";
|
80
80
|
zIndex?: React.CSSProperties["zIndex"];
|
81
|
-
listOverflow?: React.CSSProperties["overflow"];
|
82
81
|
listMaxHeight?: React.CSSProperties["height"];
|
83
82
|
listWidth?: React.CSSProperties["width"];
|
84
83
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -98,6 +97,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
98
97
|
isOpen?: boolean;
|
99
98
|
listHeight?: React.CSSProperties["height"];
|
100
99
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
100
|
+
listOverflow?: React.CSSProperties["overflow"];
|
101
101
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
102
102
|
hintText: string;
|
103
103
|
hintTrigger?: "hover" | "click";
|
@@ -136,7 +136,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
136
136
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
137
137
|
variant?: "normal" | "tight";
|
138
138
|
zIndex?: React.CSSProperties["zIndex"];
|
139
|
-
listOverflow?: React.CSSProperties["overflow"];
|
140
139
|
listMaxHeight?: React.CSSProperties["height"];
|
141
140
|
listWidth?: React.CSSProperties["width"];
|
142
141
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -156,6 +155,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
156
155
|
isOpen?: boolean;
|
157
156
|
listHeight?: React.CSSProperties["height"];
|
158
157
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
158
|
+
listOverflow?: React.CSSProperties["overflow"];
|
159
159
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
160
160
|
hintTrigger?: never;
|
161
161
|
hintText?: never;
|
@@ -193,7 +193,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
193
193
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
194
194
|
variant?: "normal" | "tight";
|
195
195
|
zIndex?: React.CSSProperties["zIndex"];
|
196
|
-
listOverflow?: React.CSSProperties["overflow"];
|
197
196
|
listMaxHeight?: React.CSSProperties["height"];
|
198
197
|
listWidth?: React.CSSProperties["width"];
|
199
198
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -213,6 +212,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
213
212
|
isOpen?: boolean;
|
214
213
|
listHeight?: React.CSSProperties["height"];
|
215
214
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
215
|
+
listOverflow?: React.CSSProperties["overflow"];
|
216
216
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
217
217
|
hintTrigger?: never;
|
218
218
|
hintText?: never;
|
@@ -251,7 +251,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
251
251
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
252
252
|
variant?: "normal" | "tight";
|
253
253
|
zIndex?: React.CSSProperties["zIndex"];
|
254
|
-
listOverflow?: React.CSSProperties["overflow"];
|
255
254
|
listMaxHeight?: React.CSSProperties["height"];
|
256
255
|
listWidth?: React.CSSProperties["width"];
|
257
256
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -271,6 +270,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
271
270
|
isOpen?: boolean;
|
272
271
|
listHeight?: React.CSSProperties["height"];
|
273
272
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
273
|
+
listOverflow?: React.CSSProperties["overflow"];
|
274
274
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
275
275
|
target: "button-like";
|
276
276
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -296,7 +296,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
296
296
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
297
297
|
variant?: "normal" | "tight";
|
298
298
|
zIndex?: React.CSSProperties["zIndex"];
|
299
|
-
listOverflow?: React.CSSProperties["overflow"];
|
300
299
|
listMaxHeight?: React.CSSProperties["height"];
|
301
300
|
listWidth?: React.CSSProperties["width"];
|
302
301
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -316,6 +315,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
316
315
|
isOpen?: boolean;
|
317
316
|
listHeight?: React.CSSProperties["height"];
|
318
317
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
318
|
+
listOverflow?: React.CSSProperties["overflow"];
|
319
319
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
320
320
|
target: "button-like";
|
321
321
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -342,7 +342,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
342
342
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
343
343
|
variant?: "normal" | "tight";
|
344
344
|
zIndex?: React.CSSProperties["zIndex"];
|
345
|
-
listOverflow?: React.CSSProperties["overflow"];
|
346
345
|
listMaxHeight?: React.CSSProperties["height"];
|
347
346
|
listWidth?: React.CSSProperties["width"];
|
348
347
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -362,6 +361,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
362
361
|
isOpen?: boolean;
|
363
362
|
listHeight?: React.CSSProperties["height"];
|
364
363
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
364
|
+
listOverflow?: React.CSSProperties["overflow"];
|
365
365
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
366
366
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
367
367
|
declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
@@ -2,13 +2,85 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
function _export(target, all) {
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
7
|
+
enumerable: true,
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
9
|
+
});
|
10
|
+
}
|
11
|
+
_export(exports, {
|
12
|
+
get Autocomplete () {
|
8
13
|
return Autocomplete;
|
14
|
+
},
|
15
|
+
get AutocompleteComponent () {
|
16
|
+
return AutocompleteComponent;
|
9
17
|
}
|
10
18
|
});
|
11
19
|
var _emotion = require("@salutejs/plasma-new-hope/emotion");
|
20
|
+
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
12
21
|
var _Autocompleteconfig = require("./Autocomplete.config");
|
22
|
+
function _define_property(obj, key, value) {
|
23
|
+
if (key in obj) {
|
24
|
+
Object.defineProperty(obj, key, {
|
25
|
+
value: value,
|
26
|
+
enumerable: true,
|
27
|
+
configurable: true,
|
28
|
+
writable: true
|
29
|
+
});
|
30
|
+
} else {
|
31
|
+
obj[key] = value;
|
32
|
+
}
|
33
|
+
return obj;
|
34
|
+
}
|
35
|
+
function _interop_require_default(obj) {
|
36
|
+
return obj && obj.__esModule ? obj : {
|
37
|
+
default: obj
|
38
|
+
};
|
39
|
+
}
|
40
|
+
function _object_spread(target) {
|
41
|
+
for(var i = 1; i < arguments.length; i++){
|
42
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
43
|
+
var ownKeys = Object.keys(source);
|
44
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
45
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
46
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
47
|
+
}));
|
48
|
+
}
|
49
|
+
ownKeys.forEach(function(key) {
|
50
|
+
_define_property(target, key, source[key]);
|
51
|
+
});
|
52
|
+
}
|
53
|
+
return target;
|
54
|
+
}
|
55
|
+
function ownKeys(object, enumerableOnly) {
|
56
|
+
var keys = Object.keys(object);
|
57
|
+
if (Object.getOwnPropertySymbols) {
|
58
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
59
|
+
if (enumerableOnly) {
|
60
|
+
symbols = symbols.filter(function(sym) {
|
61
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
62
|
+
});
|
63
|
+
}
|
64
|
+
keys.push.apply(keys, symbols);
|
65
|
+
}
|
66
|
+
return keys;
|
67
|
+
}
|
68
|
+
function _object_spread_props(target, source) {
|
69
|
+
source = source != null ? source : {};
|
70
|
+
if (Object.getOwnPropertyDescriptors) {
|
71
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
72
|
+
} else {
|
73
|
+
ownKeys(Object(source)).forEach(function(key) {
|
74
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
75
|
+
});
|
76
|
+
}
|
77
|
+
return target;
|
78
|
+
}
|
13
79
|
var mergedConfig = (0, _emotion.mergeConfig)(_emotion.autocompleteConfig, _Autocompleteconfig.config);
|
14
|
-
var
|
80
|
+
var AutocompleteComponent = (0, _emotion.component)(mergedConfig);
|
81
|
+
var AutocompleteWithoutRef = function(props, ref) {
|
82
|
+
return /*#__PURE__*/ _react.default.createElement(AutocompleteComponent, _object_spread_props(_object_spread({}, props), {
|
83
|
+
ref: ref
|
84
|
+
}));
|
85
|
+
};
|
86
|
+
var Autocomplete = (0, _emotion.fixedForwardRef)(AutocompleteWithoutRef);
|