@salutejs/sdds-cs 0.328.0-canary.2216.17549652479.0 → 0.328.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 +76 -4
- 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 +61 -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>;
|
@@ -46,6 +45,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
46
45
|
view?: string;
|
47
46
|
emptyStateDescription?: string;
|
48
47
|
listHeight?: React.CSSProperties["height"];
|
48
|
+
listOverflow?: React.CSSProperties["overflow"];
|
49
49
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
50
50
|
readOnly?: boolean;
|
51
51
|
disabled?: true;
|
@@ -83,7 +83,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
83
83
|
textAfter?: string;
|
84
84
|
variant?: "normal" | "tight";
|
85
85
|
zIndex?: React.CSSProperties["zIndex"];
|
86
|
-
listOverflow?: React.CSSProperties["overflow"];
|
87
86
|
listMaxHeight?: React.CSSProperties["height"];
|
88
87
|
listWidth?: React.CSSProperties["width"];
|
89
88
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -100,6 +99,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
100
99
|
view?: string;
|
101
100
|
emptyStateDescription?: string;
|
102
101
|
listHeight?: React.CSSProperties["height"];
|
102
|
+
listOverflow?: React.CSSProperties["overflow"];
|
103
103
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
104
104
|
readOnly?: boolean;
|
105
105
|
disabled?: true;
|
@@ -137,7 +137,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
137
137
|
textAfter?: string;
|
138
138
|
variant?: "normal" | "tight";
|
139
139
|
zIndex?: React.CSSProperties["zIndex"];
|
140
|
-
listOverflow?: React.CSSProperties["overflow"];
|
141
140
|
listMaxHeight?: React.CSSProperties["height"];
|
142
141
|
listWidth?: React.CSSProperties["width"];
|
143
142
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -154,6 +153,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
154
153
|
view?: string;
|
155
154
|
emptyStateDescription?: string;
|
156
155
|
listHeight?: React.CSSProperties["height"];
|
156
|
+
listOverflow?: React.CSSProperties["overflow"];
|
157
157
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
158
158
|
readOnly?: boolean;
|
159
159
|
disabled?: true;
|
@@ -191,7 +191,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
191
191
|
textAfter?: string;
|
192
192
|
variant?: "normal" | "tight";
|
193
193
|
zIndex?: React.CSSProperties["zIndex"];
|
194
|
-
listOverflow?: React.CSSProperties["overflow"];
|
195
194
|
listMaxHeight?: React.CSSProperties["height"];
|
196
195
|
listWidth?: React.CSSProperties["width"];
|
197
196
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -208,6 +207,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
208
207
|
view?: string;
|
209
208
|
emptyStateDescription?: string;
|
210
209
|
listHeight?: React.CSSProperties["height"];
|
210
|
+
listOverflow?: React.CSSProperties["overflow"];
|
211
211
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
212
212
|
readOnly?: boolean;
|
213
213
|
disabled?: true;
|
@@ -245,7 +245,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
245
245
|
textAfter?: string;
|
246
246
|
variant?: "normal" | "tight";
|
247
247
|
zIndex?: React.CSSProperties["zIndex"];
|
248
|
-
listOverflow?: React.CSSProperties["overflow"];
|
249
248
|
listMaxHeight?: React.CSSProperties["height"];
|
250
249
|
listWidth?: React.CSSProperties["width"];
|
251
250
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -262,6 +261,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
262
261
|
view?: string;
|
263
262
|
emptyStateDescription?: string;
|
264
263
|
listHeight?: React.CSSProperties["height"];
|
264
|
+
listOverflow?: React.CSSProperties["overflow"];
|
265
265
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
266
266
|
readOnly?: boolean;
|
267
267
|
disabled?: true;
|
@@ -299,7 +299,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
299
299
|
textAfter?: string;
|
300
300
|
variant?: "normal" | "tight";
|
301
301
|
zIndex?: React.CSSProperties["zIndex"];
|
302
|
-
listOverflow?: React.CSSProperties["overflow"];
|
303
302
|
listMaxHeight?: React.CSSProperties["height"];
|
304
303
|
listWidth?: React.CSSProperties["width"];
|
305
304
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -316,6 +315,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
316
315
|
view?: string;
|
317
316
|
emptyStateDescription?: string;
|
318
317
|
listHeight?: React.CSSProperties["height"];
|
318
|
+
listOverflow?: React.CSSProperties["overflow"];
|
319
319
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
320
320
|
readOnly?: boolean;
|
321
321
|
disabled?: true;
|
@@ -353,7 +353,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
353
353
|
textAfter?: string;
|
354
354
|
variant?: "normal" | "tight";
|
355
355
|
zIndex?: React.CSSProperties["zIndex"];
|
356
|
-
listOverflow?: React.CSSProperties["overflow"];
|
357
356
|
listMaxHeight?: React.CSSProperties["height"];
|
358
357
|
listWidth?: React.CSSProperties["width"];
|
359
358
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -370,6 +369,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
370
369
|
view?: string;
|
371
370
|
emptyStateDescription?: string;
|
372
371
|
listHeight?: React.CSSProperties["height"];
|
372
|
+
listOverflow?: React.CSSProperties["overflow"];
|
373
373
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
374
374
|
readOnly?: boolean;
|
375
375
|
disabled?: true;
|
@@ -407,7 +407,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
407
407
|
textAfter?: string;
|
408
408
|
variant?: "normal" | "tight";
|
409
409
|
zIndex?: React.CSSProperties["zIndex"];
|
410
|
-
listOverflow?: React.CSSProperties["overflow"];
|
411
410
|
listMaxHeight?: React.CSSProperties["height"];
|
412
411
|
listWidth?: React.CSSProperties["width"];
|
413
412
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -424,6 +423,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
424
423
|
view?: string;
|
425
424
|
emptyStateDescription?: string;
|
426
425
|
listHeight?: React.CSSProperties["height"];
|
426
|
+
listOverflow?: React.CSSProperties["overflow"];
|
427
427
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
428
428
|
readOnly?: boolean;
|
429
429
|
disabled?: true;
|
@@ -461,7 +461,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
461
461
|
textAfter?: string;
|
462
462
|
variant?: "normal" | "tight";
|
463
463
|
zIndex?: React.CSSProperties["zIndex"];
|
464
|
-
listOverflow?: React.CSSProperties["overflow"];
|
465
464
|
listMaxHeight?: React.CSSProperties["height"];
|
466
465
|
listWidth?: React.CSSProperties["width"];
|
467
466
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -478,6 +477,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
478
477
|
view?: string;
|
479
478
|
emptyStateDescription?: string;
|
480
479
|
listHeight?: React.CSSProperties["height"];
|
480
|
+
listOverflow?: React.CSSProperties["overflow"];
|
481
481
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
482
482
|
readOnly?: true;
|
483
483
|
disabled?: boolean;
|
@@ -515,7 +515,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
515
515
|
textAfter?: string;
|
516
516
|
variant?: "normal" | "tight";
|
517
517
|
zIndex?: React.CSSProperties["zIndex"];
|
518
|
-
listOverflow?: React.CSSProperties["overflow"];
|
519
518
|
listMaxHeight?: React.CSSProperties["height"];
|
520
519
|
listWidth?: React.CSSProperties["width"];
|
521
520
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -532,6 +531,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
532
531
|
view?: string;
|
533
532
|
emptyStateDescription?: string;
|
534
533
|
listHeight?: React.CSSProperties["height"];
|
534
|
+
listOverflow?: React.CSSProperties["overflow"];
|
535
535
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
536
536
|
readOnly?: true;
|
537
537
|
disabled?: boolean;
|
@@ -569,7 +569,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
569
569
|
textAfter?: string;
|
570
570
|
variant?: "normal" | "tight";
|
571
571
|
zIndex?: React.CSSProperties["zIndex"];
|
572
|
-
listOverflow?: React.CSSProperties["overflow"];
|
573
572
|
listMaxHeight?: React.CSSProperties["height"];
|
574
573
|
listWidth?: React.CSSProperties["width"];
|
575
574
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -586,6 +585,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
586
585
|
view?: string;
|
587
586
|
emptyStateDescription?: string;
|
588
587
|
listHeight?: React.CSSProperties["height"];
|
588
|
+
listOverflow?: React.CSSProperties["overflow"];
|
589
589
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
590
590
|
readOnly?: true;
|
591
591
|
disabled?: boolean;
|
@@ -623,7 +623,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
623
623
|
textAfter?: string;
|
624
624
|
variant?: "normal" | "tight";
|
625
625
|
zIndex?: React.CSSProperties["zIndex"];
|
626
|
-
listOverflow?: React.CSSProperties["overflow"];
|
627
626
|
listMaxHeight?: React.CSSProperties["height"];
|
628
627
|
listWidth?: React.CSSProperties["width"];
|
629
628
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -640,6 +639,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
640
639
|
view?: string;
|
641
640
|
emptyStateDescription?: string;
|
642
641
|
listHeight?: React.CSSProperties["height"];
|
642
|
+
listOverflow?: React.CSSProperties["overflow"];
|
643
643
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
644
644
|
readOnly?: true;
|
645
645
|
disabled?: boolean;
|
@@ -677,7 +677,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
677
677
|
textAfter?: string;
|
678
678
|
variant?: "normal" | "tight";
|
679
679
|
zIndex?: React.CSSProperties["zIndex"];
|
680
|
-
listOverflow?: React.CSSProperties["overflow"];
|
681
680
|
listMaxHeight?: React.CSSProperties["height"];
|
682
681
|
listWidth?: React.CSSProperties["width"];
|
683
682
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -694,6 +693,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
694
693
|
view?: string;
|
695
694
|
emptyStateDescription?: string;
|
696
695
|
listHeight?: React.CSSProperties["height"];
|
696
|
+
listOverflow?: React.CSSProperties["overflow"];
|
697
697
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
698
698
|
readOnly?: true;
|
699
699
|
disabled?: boolean;
|
@@ -731,7 +731,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
731
731
|
textAfter?: string;
|
732
732
|
variant?: "normal" | "tight";
|
733
733
|
zIndex?: React.CSSProperties["zIndex"];
|
734
|
-
listOverflow?: React.CSSProperties["overflow"];
|
735
734
|
listMaxHeight?: React.CSSProperties["height"];
|
736
735
|
listWidth?: React.CSSProperties["width"];
|
737
736
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -748,6 +747,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
748
747
|
view?: string;
|
749
748
|
emptyStateDescription?: string;
|
750
749
|
listHeight?: React.CSSProperties["height"];
|
750
|
+
listOverflow?: React.CSSProperties["overflow"];
|
751
751
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
752
752
|
readOnly?: true;
|
753
753
|
disabled?: boolean;
|
@@ -785,7 +785,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
785
785
|
textAfter?: string;
|
786
786
|
variant?: "normal" | "tight";
|
787
787
|
zIndex?: React.CSSProperties["zIndex"];
|
788
|
-
listOverflow?: React.CSSProperties["overflow"];
|
789
788
|
listMaxHeight?: React.CSSProperties["height"];
|
790
789
|
listWidth?: React.CSSProperties["width"];
|
791
790
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -802,6 +801,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
802
801
|
view?: string;
|
803
802
|
emptyStateDescription?: string;
|
804
803
|
listHeight?: React.CSSProperties["height"];
|
804
|
+
listOverflow?: React.CSSProperties["overflow"];
|
805
805
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
806
806
|
readOnly?: true;
|
807
807
|
disabled?: boolean;
|
@@ -839,7 +839,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
839
839
|
textAfter?: string;
|
840
840
|
variant?: "normal" | "tight";
|
841
841
|
zIndex?: React.CSSProperties["zIndex"];
|
842
|
-
listOverflow?: React.CSSProperties["overflow"];
|
843
842
|
listMaxHeight?: React.CSSProperties["height"];
|
844
843
|
listWidth?: React.CSSProperties["width"];
|
845
844
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -856,6 +855,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
856
855
|
view?: string;
|
857
856
|
emptyStateDescription?: string;
|
858
857
|
listHeight?: React.CSSProperties["height"];
|
858
|
+
listOverflow?: React.CSSProperties["overflow"];
|
859
859
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
860
860
|
readOnly?: true;
|
861
861
|
disabled?: boolean;
|
@@ -893,7 +893,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
893
893
|
textAfter?: string;
|
894
894
|
variant?: "normal" | "tight";
|
895
895
|
zIndex?: React.CSSProperties["zIndex"];
|
896
|
-
listOverflow?: React.CSSProperties["overflow"];
|
897
896
|
listMaxHeight?: React.CSSProperties["height"];
|
898
897
|
listWidth?: React.CSSProperties["width"];
|
899
898
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -910,6 +909,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
910
909
|
view?: string;
|
911
910
|
emptyStateDescription?: string;
|
912
911
|
listHeight?: React.CSSProperties["height"];
|
912
|
+
listOverflow?: React.CSSProperties["overflow"];
|
913
913
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
914
914
|
readOnly?: false;
|
915
915
|
disabled?: false;
|
@@ -947,7 +947,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
947
947
|
textAfter?: string;
|
948
948
|
variant?: "normal" | "tight";
|
949
949
|
zIndex?: React.CSSProperties["zIndex"];
|
950
|
-
listOverflow?: React.CSSProperties["overflow"];
|
951
950
|
listMaxHeight?: React.CSSProperties["height"];
|
952
951
|
listWidth?: React.CSSProperties["width"];
|
953
952
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -964,6 +963,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
964
963
|
view?: string;
|
965
964
|
emptyStateDescription?: string;
|
966
965
|
listHeight?: React.CSSProperties["height"];
|
966
|
+
listOverflow?: React.CSSProperties["overflow"];
|
967
967
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
968
968
|
readOnly?: false;
|
969
969
|
disabled?: false;
|
@@ -1001,7 +1001,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1001
1001
|
textAfter?: string;
|
1002
1002
|
variant?: "normal" | "tight";
|
1003
1003
|
zIndex?: React.CSSProperties["zIndex"];
|
1004
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1005
1004
|
listMaxHeight?: React.CSSProperties["height"];
|
1006
1005
|
listWidth?: React.CSSProperties["width"];
|
1007
1006
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1018,6 +1017,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1018
1017
|
view?: string;
|
1019
1018
|
emptyStateDescription?: string;
|
1020
1019
|
listHeight?: React.CSSProperties["height"];
|
1020
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1021
1021
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1022
1022
|
readOnly?: false;
|
1023
1023
|
disabled?: false;
|
@@ -1055,7 +1055,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1055
1055
|
textAfter?: string;
|
1056
1056
|
variant?: "normal" | "tight";
|
1057
1057
|
zIndex?: React.CSSProperties["zIndex"];
|
1058
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1059
1058
|
listMaxHeight?: React.CSSProperties["height"];
|
1060
1059
|
listWidth?: React.CSSProperties["width"];
|
1061
1060
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1072,6 +1071,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1072
1071
|
view?: string;
|
1073
1072
|
emptyStateDescription?: string;
|
1074
1073
|
listHeight?: React.CSSProperties["height"];
|
1074
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1075
1075
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1076
1076
|
readOnly?: false;
|
1077
1077
|
disabled?: false;
|
@@ -1109,7 +1109,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1109
1109
|
textAfter?: string;
|
1110
1110
|
variant?: "normal" | "tight";
|
1111
1111
|
zIndex?: React.CSSProperties["zIndex"];
|
1112
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1113
1112
|
listMaxHeight?: React.CSSProperties["height"];
|
1114
1113
|
listWidth?: React.CSSProperties["width"];
|
1115
1114
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1126,6 +1125,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1126
1125
|
view?: string;
|
1127
1126
|
emptyStateDescription?: string;
|
1128
1127
|
listHeight?: React.CSSProperties["height"];
|
1128
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1129
1129
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1130
1130
|
readOnly?: false;
|
1131
1131
|
disabled?: false;
|
@@ -1163,7 +1163,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1163
1163
|
textAfter?: string;
|
1164
1164
|
variant?: "normal" | "tight";
|
1165
1165
|
zIndex?: React.CSSProperties["zIndex"];
|
1166
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1167
1166
|
listMaxHeight?: React.CSSProperties["height"];
|
1168
1167
|
listWidth?: React.CSSProperties["width"];
|
1169
1168
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1180,6 +1179,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1180
1179
|
view?: string;
|
1181
1180
|
emptyStateDescription?: string;
|
1182
1181
|
listHeight?: React.CSSProperties["height"];
|
1182
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1183
1183
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1184
1184
|
readOnly?: false;
|
1185
1185
|
disabled?: false;
|
@@ -1217,7 +1217,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1217
1217
|
textAfter?: string;
|
1218
1218
|
variant?: "normal" | "tight";
|
1219
1219
|
zIndex?: React.CSSProperties["zIndex"];
|
1220
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1221
1220
|
listMaxHeight?: React.CSSProperties["height"];
|
1222
1221
|
listWidth?: React.CSSProperties["width"];
|
1223
1222
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1234,6 +1233,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1234
1233
|
view?: string;
|
1235
1234
|
emptyStateDescription?: string;
|
1236
1235
|
listHeight?: React.CSSProperties["height"];
|
1236
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1237
1237
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1238
1238
|
readOnly?: false;
|
1239
1239
|
disabled?: false;
|
@@ -1271,7 +1271,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1271
1271
|
textAfter?: string;
|
1272
1272
|
variant?: "normal" | "tight";
|
1273
1273
|
zIndex?: React.CSSProperties["zIndex"];
|
1274
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1275
1274
|
listMaxHeight?: React.CSSProperties["height"];
|
1276
1275
|
listWidth?: React.CSSProperties["width"];
|
1277
1276
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1288,6 +1287,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1288
1287
|
view?: string;
|
1289
1288
|
emptyStateDescription?: string;
|
1290
1289
|
listHeight?: React.CSSProperties["height"];
|
1290
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1291
1291
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1292
1292
|
readOnly?: false;
|
1293
1293
|
disabled?: false;
|
@@ -18,13 +18,12 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
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<{
|
@@ -56,13 +56,12 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
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 };
|
@@ -58,7 +58,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
58
58
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
59
59
|
variant?: "normal" | "tight";
|
60
60
|
zIndex?: React.CSSProperties["zIndex"];
|
61
|
-
listOverflow?: React.CSSProperties["overflow"];
|
62
61
|
listMaxHeight?: React.CSSProperties["height"];
|
63
62
|
listWidth?: React.CSSProperties["width"];
|
64
63
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -78,6 +77,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
78
77
|
isOpen?: boolean;
|
79
78
|
listHeight?: React.CSSProperties["height"];
|
80
79
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
80
|
+
listOverflow?: React.CSSProperties["overflow"];
|
81
81
|
} & 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 & {
|
82
82
|
hintText: string;
|
83
83
|
hintTrigger?: "hover" | "click";
|
@@ -116,7 +116,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
116
116
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
117
117
|
variant?: "normal" | "tight";
|
118
118
|
zIndex?: React.CSSProperties["zIndex"];
|
119
|
-
listOverflow?: React.CSSProperties["overflow"];
|
120
119
|
listMaxHeight?: React.CSSProperties["height"];
|
121
120
|
listWidth?: React.CSSProperties["width"];
|
122
121
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -136,6 +135,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
136
135
|
isOpen?: boolean;
|
137
136
|
listHeight?: React.CSSProperties["height"];
|
138
137
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
138
|
+
listOverflow?: React.CSSProperties["overflow"];
|
139
139
|
} & 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 & {
|
140
140
|
hintTrigger?: never;
|
141
141
|
hintText?: never;
|
@@ -173,7 +173,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
173
173
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
174
174
|
variant?: "normal" | "tight";
|
175
175
|
zIndex?: React.CSSProperties["zIndex"];
|
176
|
-
listOverflow?: React.CSSProperties["overflow"];
|
177
176
|
listMaxHeight?: React.CSSProperties["height"];
|
178
177
|
listWidth?: React.CSSProperties["width"];
|
179
178
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -193,6 +192,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
193
192
|
isOpen?: boolean;
|
194
193
|
listHeight?: React.CSSProperties["height"];
|
195
194
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
195
|
+
listOverflow?: React.CSSProperties["overflow"];
|
196
196
|
} & 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 & {
|
197
197
|
hintTrigger?: never;
|
198
198
|
hintText?: never;
|
@@ -231,7 +231,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
231
231
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
232
232
|
variant?: "normal" | "tight";
|
233
233
|
zIndex?: React.CSSProperties["zIndex"];
|
234
|
-
listOverflow?: React.CSSProperties["overflow"];
|
235
234
|
listMaxHeight?: React.CSSProperties["height"];
|
236
235
|
listWidth?: React.CSSProperties["width"];
|
237
236
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -251,6 +250,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
251
250
|
isOpen?: boolean;
|
252
251
|
listHeight?: React.CSSProperties["height"];
|
253
252
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
253
|
+
listOverflow?: React.CSSProperties["overflow"];
|
254
254
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
255
255
|
target: "button-like";
|
256
256
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -276,7 +276,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
276
276
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
277
277
|
variant?: "normal" | "tight";
|
278
278
|
zIndex?: React.CSSProperties["zIndex"];
|
279
|
-
listOverflow?: React.CSSProperties["overflow"];
|
280
279
|
listMaxHeight?: React.CSSProperties["height"];
|
281
280
|
listWidth?: React.CSSProperties["width"];
|
282
281
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -296,6 +295,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
296
295
|
isOpen?: boolean;
|
297
296
|
listHeight?: React.CSSProperties["height"];
|
298
297
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
298
|
+
listOverflow?: React.CSSProperties["overflow"];
|
299
299
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
300
300
|
target: "button-like";
|
301
301
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -322,7 +322,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
322
322
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
323
323
|
variant?: "normal" | "tight";
|
324
324
|
zIndex?: React.CSSProperties["zIndex"];
|
325
|
-
listOverflow?: React.CSSProperties["overflow"];
|
326
325
|
listMaxHeight?: React.CSSProperties["height"];
|
327
326
|
listWidth?: React.CSSProperties["width"];
|
328
327
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -342,6 +341,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
342
341
|
isOpen?: boolean;
|
343
342
|
listHeight?: React.CSSProperties["height"];
|
344
343
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
344
|
+
listOverflow?: React.CSSProperties["overflow"];
|
345
345
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
346
346
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
347
347
|
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);
|