@salutejs/sdds-serv 0.323.0-canary.2213.17494099813.0 → 0.323.0-canary.2213.17563910419.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 +12 -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>;
|
@@ -59,6 +58,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
59
58
|
view?: string;
|
60
59
|
emptyStateDescription?: string;
|
61
60
|
listHeight?: React.CSSProperties["height"];
|
61
|
+
listOverflow?: React.CSSProperties["overflow"];
|
62
62
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
63
63
|
readOnly?: boolean;
|
64
64
|
disabled?: true;
|
@@ -96,7 +96,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
96
96
|
textAfter?: string;
|
97
97
|
variant?: "normal" | "tight";
|
98
98
|
zIndex?: React.CSSProperties["zIndex"];
|
99
|
-
listOverflow?: React.CSSProperties["overflow"];
|
100
99
|
listMaxHeight?: React.CSSProperties["height"];
|
101
100
|
listWidth?: React.CSSProperties["width"];
|
102
101
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -114,6 +113,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
114
113
|
view?: string;
|
115
114
|
emptyStateDescription?: string;
|
116
115
|
listHeight?: React.CSSProperties["height"];
|
116
|
+
listOverflow?: React.CSSProperties["overflow"];
|
117
117
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
118
118
|
readOnly?: boolean;
|
119
119
|
disabled?: true;
|
@@ -151,7 +151,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
151
151
|
textAfter?: string;
|
152
152
|
variant?: "normal" | "tight";
|
153
153
|
zIndex?: React.CSSProperties["zIndex"];
|
154
|
-
listOverflow?: React.CSSProperties["overflow"];
|
155
154
|
listMaxHeight?: React.CSSProperties["height"];
|
156
155
|
listWidth?: React.CSSProperties["width"];
|
157
156
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -169,6 +168,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
169
168
|
view?: string;
|
170
169
|
emptyStateDescription?: string;
|
171
170
|
listHeight?: React.CSSProperties["height"];
|
171
|
+
listOverflow?: React.CSSProperties["overflow"];
|
172
172
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
173
173
|
readOnly?: boolean;
|
174
174
|
disabled?: true;
|
@@ -206,7 +206,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
206
206
|
textAfter?: string;
|
207
207
|
variant?: "normal" | "tight";
|
208
208
|
zIndex?: React.CSSProperties["zIndex"];
|
209
|
-
listOverflow?: React.CSSProperties["overflow"];
|
210
209
|
listMaxHeight?: React.CSSProperties["height"];
|
211
210
|
listWidth?: React.CSSProperties["width"];
|
212
211
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -224,6 +223,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
224
223
|
view?: string;
|
225
224
|
emptyStateDescription?: string;
|
226
225
|
listHeight?: React.CSSProperties["height"];
|
226
|
+
listOverflow?: React.CSSProperties["overflow"];
|
227
227
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
228
228
|
readOnly?: boolean;
|
229
229
|
disabled?: true;
|
@@ -261,7 +261,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
261
261
|
textAfter?: string;
|
262
262
|
variant?: "normal" | "tight";
|
263
263
|
zIndex?: React.CSSProperties["zIndex"];
|
264
|
-
listOverflow?: React.CSSProperties["overflow"];
|
265
264
|
listMaxHeight?: React.CSSProperties["height"];
|
266
265
|
listWidth?: React.CSSProperties["width"];
|
267
266
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -279,6 +278,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
279
278
|
view?: string;
|
280
279
|
emptyStateDescription?: string;
|
281
280
|
listHeight?: React.CSSProperties["height"];
|
281
|
+
listOverflow?: React.CSSProperties["overflow"];
|
282
282
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
283
283
|
readOnly?: boolean;
|
284
284
|
disabled?: true;
|
@@ -316,7 +316,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
316
316
|
textAfter?: string;
|
317
317
|
variant?: "normal" | "tight";
|
318
318
|
zIndex?: React.CSSProperties["zIndex"];
|
319
|
-
listOverflow?: React.CSSProperties["overflow"];
|
320
319
|
listMaxHeight?: React.CSSProperties["height"];
|
321
320
|
listWidth?: React.CSSProperties["width"];
|
322
321
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -334,6 +333,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
334
333
|
view?: string;
|
335
334
|
emptyStateDescription?: string;
|
336
335
|
listHeight?: React.CSSProperties["height"];
|
336
|
+
listOverflow?: React.CSSProperties["overflow"];
|
337
337
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
338
338
|
readOnly?: boolean;
|
339
339
|
disabled?: true;
|
@@ -371,7 +371,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
371
371
|
textAfter?: string;
|
372
372
|
variant?: "normal" | "tight";
|
373
373
|
zIndex?: React.CSSProperties["zIndex"];
|
374
|
-
listOverflow?: React.CSSProperties["overflow"];
|
375
374
|
listMaxHeight?: React.CSSProperties["height"];
|
376
375
|
listWidth?: React.CSSProperties["width"];
|
377
376
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -389,6 +388,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
389
388
|
view?: string;
|
390
389
|
emptyStateDescription?: string;
|
391
390
|
listHeight?: React.CSSProperties["height"];
|
391
|
+
listOverflow?: React.CSSProperties["overflow"];
|
392
392
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
393
393
|
readOnly?: boolean;
|
394
394
|
disabled?: true;
|
@@ -426,7 +426,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
426
426
|
textAfter?: string;
|
427
427
|
variant?: "normal" | "tight";
|
428
428
|
zIndex?: React.CSSProperties["zIndex"];
|
429
|
-
listOverflow?: React.CSSProperties["overflow"];
|
430
429
|
listMaxHeight?: React.CSSProperties["height"];
|
431
430
|
listWidth?: React.CSSProperties["width"];
|
432
431
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -444,6 +443,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
444
443
|
view?: string;
|
445
444
|
emptyStateDescription?: string;
|
446
445
|
listHeight?: React.CSSProperties["height"];
|
446
|
+
listOverflow?: React.CSSProperties["overflow"];
|
447
447
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
448
448
|
readOnly?: boolean;
|
449
449
|
disabled?: true;
|
@@ -481,7 +481,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
481
481
|
textAfter?: string;
|
482
482
|
variant?: "normal" | "tight";
|
483
483
|
zIndex?: React.CSSProperties["zIndex"];
|
484
|
-
listOverflow?: React.CSSProperties["overflow"];
|
485
484
|
listMaxHeight?: React.CSSProperties["height"];
|
486
485
|
listWidth?: React.CSSProperties["width"];
|
487
486
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -499,6 +498,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
499
498
|
view?: string;
|
500
499
|
emptyStateDescription?: string;
|
501
500
|
listHeight?: React.CSSProperties["height"];
|
501
|
+
listOverflow?: React.CSSProperties["overflow"];
|
502
502
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
503
503
|
readOnly?: true;
|
504
504
|
disabled?: boolean;
|
@@ -536,7 +536,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
536
536
|
textAfter?: string;
|
537
537
|
variant?: "normal" | "tight";
|
538
538
|
zIndex?: React.CSSProperties["zIndex"];
|
539
|
-
listOverflow?: React.CSSProperties["overflow"];
|
540
539
|
listMaxHeight?: React.CSSProperties["height"];
|
541
540
|
listWidth?: React.CSSProperties["width"];
|
542
541
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -554,6 +553,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
554
553
|
view?: string;
|
555
554
|
emptyStateDescription?: string;
|
556
555
|
listHeight?: React.CSSProperties["height"];
|
556
|
+
listOverflow?: React.CSSProperties["overflow"];
|
557
557
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
558
558
|
readOnly?: true;
|
559
559
|
disabled?: boolean;
|
@@ -591,7 +591,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
591
591
|
textAfter?: string;
|
592
592
|
variant?: "normal" | "tight";
|
593
593
|
zIndex?: React.CSSProperties["zIndex"];
|
594
|
-
listOverflow?: React.CSSProperties["overflow"];
|
595
594
|
listMaxHeight?: React.CSSProperties["height"];
|
596
595
|
listWidth?: React.CSSProperties["width"];
|
597
596
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -609,6 +608,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
609
608
|
view?: string;
|
610
609
|
emptyStateDescription?: string;
|
611
610
|
listHeight?: React.CSSProperties["height"];
|
611
|
+
listOverflow?: React.CSSProperties["overflow"];
|
612
612
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
613
613
|
readOnly?: true;
|
614
614
|
disabled?: boolean;
|
@@ -646,7 +646,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
646
646
|
textAfter?: string;
|
647
647
|
variant?: "normal" | "tight";
|
648
648
|
zIndex?: React.CSSProperties["zIndex"];
|
649
|
-
listOverflow?: React.CSSProperties["overflow"];
|
650
649
|
listMaxHeight?: React.CSSProperties["height"];
|
651
650
|
listWidth?: React.CSSProperties["width"];
|
652
651
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -664,6 +663,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
664
663
|
view?: string;
|
665
664
|
emptyStateDescription?: string;
|
666
665
|
listHeight?: React.CSSProperties["height"];
|
666
|
+
listOverflow?: React.CSSProperties["overflow"];
|
667
667
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
668
668
|
readOnly?: true;
|
669
669
|
disabled?: boolean;
|
@@ -701,7 +701,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
701
701
|
textAfter?: string;
|
702
702
|
variant?: "normal" | "tight";
|
703
703
|
zIndex?: React.CSSProperties["zIndex"];
|
704
|
-
listOverflow?: React.CSSProperties["overflow"];
|
705
704
|
listMaxHeight?: React.CSSProperties["height"];
|
706
705
|
listWidth?: React.CSSProperties["width"];
|
707
706
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -719,6 +718,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
719
718
|
view?: string;
|
720
719
|
emptyStateDescription?: string;
|
721
720
|
listHeight?: React.CSSProperties["height"];
|
721
|
+
listOverflow?: React.CSSProperties["overflow"];
|
722
722
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
723
723
|
readOnly?: true;
|
724
724
|
disabled?: boolean;
|
@@ -756,7 +756,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
756
756
|
textAfter?: string;
|
757
757
|
variant?: "normal" | "tight";
|
758
758
|
zIndex?: React.CSSProperties["zIndex"];
|
759
|
-
listOverflow?: React.CSSProperties["overflow"];
|
760
759
|
listMaxHeight?: React.CSSProperties["height"];
|
761
760
|
listWidth?: React.CSSProperties["width"];
|
762
761
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -774,6 +773,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
774
773
|
view?: string;
|
775
774
|
emptyStateDescription?: string;
|
776
775
|
listHeight?: React.CSSProperties["height"];
|
776
|
+
listOverflow?: React.CSSProperties["overflow"];
|
777
777
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
778
778
|
readOnly?: true;
|
779
779
|
disabled?: boolean;
|
@@ -811,7 +811,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
811
811
|
textAfter?: string;
|
812
812
|
variant?: "normal" | "tight";
|
813
813
|
zIndex?: React.CSSProperties["zIndex"];
|
814
|
-
listOverflow?: React.CSSProperties["overflow"];
|
815
814
|
listMaxHeight?: React.CSSProperties["height"];
|
816
815
|
listWidth?: React.CSSProperties["width"];
|
817
816
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -829,6 +828,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
829
828
|
view?: string;
|
830
829
|
emptyStateDescription?: string;
|
831
830
|
listHeight?: React.CSSProperties["height"];
|
831
|
+
listOverflow?: React.CSSProperties["overflow"];
|
832
832
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
833
833
|
readOnly?: true;
|
834
834
|
disabled?: boolean;
|
@@ -866,7 +866,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
866
866
|
textAfter?: string;
|
867
867
|
variant?: "normal" | "tight";
|
868
868
|
zIndex?: React.CSSProperties["zIndex"];
|
869
|
-
listOverflow?: React.CSSProperties["overflow"];
|
870
869
|
listMaxHeight?: React.CSSProperties["height"];
|
871
870
|
listWidth?: React.CSSProperties["width"];
|
872
871
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -884,6 +883,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
884
883
|
view?: string;
|
885
884
|
emptyStateDescription?: string;
|
886
885
|
listHeight?: React.CSSProperties["height"];
|
886
|
+
listOverflow?: React.CSSProperties["overflow"];
|
887
887
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
888
888
|
readOnly?: true;
|
889
889
|
disabled?: boolean;
|
@@ -921,7 +921,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
921
921
|
textAfter?: string;
|
922
922
|
variant?: "normal" | "tight";
|
923
923
|
zIndex?: React.CSSProperties["zIndex"];
|
924
|
-
listOverflow?: React.CSSProperties["overflow"];
|
925
924
|
listMaxHeight?: React.CSSProperties["height"];
|
926
925
|
listWidth?: React.CSSProperties["width"];
|
927
926
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -939,6 +938,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
939
938
|
view?: string;
|
940
939
|
emptyStateDescription?: string;
|
941
940
|
listHeight?: React.CSSProperties["height"];
|
941
|
+
listOverflow?: React.CSSProperties["overflow"];
|
942
942
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
943
943
|
readOnly?: false;
|
944
944
|
disabled?: false;
|
@@ -976,7 +976,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
976
976
|
textAfter?: string;
|
977
977
|
variant?: "normal" | "tight";
|
978
978
|
zIndex?: React.CSSProperties["zIndex"];
|
979
|
-
listOverflow?: React.CSSProperties["overflow"];
|
980
979
|
listMaxHeight?: React.CSSProperties["height"];
|
981
980
|
listWidth?: React.CSSProperties["width"];
|
982
981
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -994,6 +993,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
994
993
|
view?: string;
|
995
994
|
emptyStateDescription?: string;
|
996
995
|
listHeight?: React.CSSProperties["height"];
|
996
|
+
listOverflow?: React.CSSProperties["overflow"];
|
997
997
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
998
998
|
readOnly?: false;
|
999
999
|
disabled?: false;
|
@@ -1031,7 +1031,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1031
1031
|
textAfter?: string;
|
1032
1032
|
variant?: "normal" | "tight";
|
1033
1033
|
zIndex?: React.CSSProperties["zIndex"];
|
1034
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1035
1034
|
listMaxHeight?: React.CSSProperties["height"];
|
1036
1035
|
listWidth?: React.CSSProperties["width"];
|
1037
1036
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1049,6 +1048,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1049
1048
|
view?: string;
|
1050
1049
|
emptyStateDescription?: string;
|
1051
1050
|
listHeight?: React.CSSProperties["height"];
|
1051
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1052
1052
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1053
1053
|
readOnly?: false;
|
1054
1054
|
disabled?: false;
|
@@ -1086,7 +1086,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1086
1086
|
textAfter?: string;
|
1087
1087
|
variant?: "normal" | "tight";
|
1088
1088
|
zIndex?: React.CSSProperties["zIndex"];
|
1089
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1090
1089
|
listMaxHeight?: React.CSSProperties["height"];
|
1091
1090
|
listWidth?: React.CSSProperties["width"];
|
1092
1091
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1104,6 +1103,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1104
1103
|
view?: string;
|
1105
1104
|
emptyStateDescription?: string;
|
1106
1105
|
listHeight?: React.CSSProperties["height"];
|
1106
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1107
1107
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1108
1108
|
readOnly?: false;
|
1109
1109
|
disabled?: false;
|
@@ -1141,7 +1141,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1141
1141
|
textAfter?: string;
|
1142
1142
|
variant?: "normal" | "tight";
|
1143
1143
|
zIndex?: React.CSSProperties["zIndex"];
|
1144
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1145
1144
|
listMaxHeight?: React.CSSProperties["height"];
|
1146
1145
|
listWidth?: React.CSSProperties["width"];
|
1147
1146
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1159,6 +1158,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1159
1158
|
view?: string;
|
1160
1159
|
emptyStateDescription?: string;
|
1161
1160
|
listHeight?: React.CSSProperties["height"];
|
1161
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1162
1162
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1163
1163
|
readOnly?: false;
|
1164
1164
|
disabled?: false;
|
@@ -1196,7 +1196,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1196
1196
|
textAfter?: string;
|
1197
1197
|
variant?: "normal" | "tight";
|
1198
1198
|
zIndex?: React.CSSProperties["zIndex"];
|
1199
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1200
1199
|
listMaxHeight?: React.CSSProperties["height"];
|
1201
1200
|
listWidth?: React.CSSProperties["width"];
|
1202
1201
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1214,6 +1213,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1214
1213
|
view?: string;
|
1215
1214
|
emptyStateDescription?: string;
|
1216
1215
|
listHeight?: React.CSSProperties["height"];
|
1216
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1217
1217
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1218
1218
|
readOnly?: false;
|
1219
1219
|
disabled?: false;
|
@@ -1251,7 +1251,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1251
1251
|
textAfter?: string;
|
1252
1252
|
variant?: "normal" | "tight";
|
1253
1253
|
zIndex?: React.CSSProperties["zIndex"];
|
1254
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1255
1254
|
listMaxHeight?: React.CSSProperties["height"];
|
1256
1255
|
listWidth?: React.CSSProperties["width"];
|
1257
1256
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1269,6 +1268,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1269
1268
|
view?: string;
|
1270
1269
|
emptyStateDescription?: string;
|
1271
1270
|
listHeight?: React.CSSProperties["height"];
|
1271
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1272
1272
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1273
1273
|
readOnly?: false;
|
1274
1274
|
disabled?: false;
|
@@ -1306,7 +1306,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1306
1306
|
textAfter?: string;
|
1307
1307
|
variant?: "normal" | "tight";
|
1308
1308
|
zIndex?: React.CSSProperties["zIndex"];
|
1309
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1310
1309
|
listMaxHeight?: React.CSSProperties["height"];
|
1311
1310
|
listWidth?: React.CSSProperties["width"];
|
1312
1311
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1324,6 +1323,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1324
1323
|
view?: string;
|
1325
1324
|
emptyStateDescription?: string;
|
1326
1325
|
listHeight?: React.CSSProperties["height"];
|
1326
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1327
1327
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1328
1328
|
readOnly?: false;
|
1329
1329
|
disabled?: false;
|
@@ -16,13 +16,12 @@ 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;
|
@@ -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,13 +58,12 @@ 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;
|
@@ -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>;
|
@@ -90,6 +89,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
90
89
|
virtual?: boolean;
|
91
90
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
92
91
|
onToggle?: (isOpen: boolean) => void;
|
92
|
+
mode?: "default" | "radio";
|
93
93
|
size?: string;
|
94
94
|
view?: string;
|
95
95
|
chipView?: string;
|
@@ -98,6 +98,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
98
98
|
isOpen?: boolean;
|
99
99
|
listHeight?: React.CSSProperties["height"];
|
100
100
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
101
|
+
listOverflow?: React.CSSProperties["overflow"];
|
101
102
|
} & 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
103
|
hintText: string;
|
103
104
|
hintTrigger?: "hover" | "click";
|
@@ -136,7 +137,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
136
137
|
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
138
|
variant?: "normal" | "tight";
|
138
139
|
zIndex?: React.CSSProperties["zIndex"];
|
139
|
-
listOverflow?: React.CSSProperties["overflow"];
|
140
140
|
listMaxHeight?: React.CSSProperties["height"];
|
141
141
|
listWidth?: React.CSSProperties["width"];
|
142
142
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -148,6 +148,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
148
148
|
virtual?: boolean;
|
149
149
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
150
150
|
onToggle?: (isOpen: boolean) => void;
|
151
|
+
mode?: "default" | "radio";
|
151
152
|
size?: string;
|
152
153
|
view?: string;
|
153
154
|
chipView?: string;
|
@@ -156,6 +157,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
156
157
|
isOpen?: boolean;
|
157
158
|
listHeight?: React.CSSProperties["height"];
|
158
159
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
160
|
+
listOverflow?: React.CSSProperties["overflow"];
|
159
161
|
} & 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
162
|
hintTrigger?: never;
|
161
163
|
hintText?: never;
|
@@ -193,7 +195,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
193
195
|
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
196
|
variant?: "normal" | "tight";
|
195
197
|
zIndex?: React.CSSProperties["zIndex"];
|
196
|
-
listOverflow?: React.CSSProperties["overflow"];
|
197
198
|
listMaxHeight?: React.CSSProperties["height"];
|
198
199
|
listWidth?: React.CSSProperties["width"];
|
199
200
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -205,6 +206,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
205
206
|
virtual?: boolean;
|
206
207
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
207
208
|
onToggle?: (isOpen: boolean) => void;
|
209
|
+
mode?: "default" | "radio";
|
208
210
|
size?: string;
|
209
211
|
view?: string;
|
210
212
|
chipView?: string;
|
@@ -213,6 +215,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
213
215
|
isOpen?: boolean;
|
214
216
|
listHeight?: React.CSSProperties["height"];
|
215
217
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
218
|
+
listOverflow?: React.CSSProperties["overflow"];
|
216
219
|
} & 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
220
|
hintTrigger?: never;
|
218
221
|
hintText?: never;
|
@@ -251,7 +254,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
251
254
|
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
255
|
variant?: "normal" | "tight";
|
253
256
|
zIndex?: React.CSSProperties["zIndex"];
|
254
|
-
listOverflow?: React.CSSProperties["overflow"];
|
255
257
|
listMaxHeight?: React.CSSProperties["height"];
|
256
258
|
listWidth?: React.CSSProperties["width"];
|
257
259
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -263,6 +265,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
263
265
|
virtual?: boolean;
|
264
266
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
265
267
|
onToggle?: (isOpen: boolean) => void;
|
268
|
+
mode?: "default" | "radio";
|
266
269
|
size?: string;
|
267
270
|
view?: string;
|
268
271
|
chipView?: string;
|
@@ -271,6 +274,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
271
274
|
isOpen?: boolean;
|
272
275
|
listHeight?: React.CSSProperties["height"];
|
273
276
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
277
|
+
listOverflow?: React.CSSProperties["overflow"];
|
274
278
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
275
279
|
target: "button-like";
|
276
280
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -296,7 +300,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
296
300
|
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
301
|
variant?: "normal" | "tight";
|
298
302
|
zIndex?: React.CSSProperties["zIndex"];
|
299
|
-
listOverflow?: React.CSSProperties["overflow"];
|
300
303
|
listMaxHeight?: React.CSSProperties["height"];
|
301
304
|
listWidth?: React.CSSProperties["width"];
|
302
305
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -308,6 +311,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
308
311
|
virtual?: boolean;
|
309
312
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
310
313
|
onToggle?: (isOpen: boolean) => void;
|
314
|
+
mode?: "default" | "radio";
|
311
315
|
size?: string;
|
312
316
|
view?: string;
|
313
317
|
chipView?: string;
|
@@ -316,6 +320,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
316
320
|
isOpen?: boolean;
|
317
321
|
listHeight?: React.CSSProperties["height"];
|
318
322
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
323
|
+
listOverflow?: React.CSSProperties["overflow"];
|
319
324
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
320
325
|
target: "button-like";
|
321
326
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -342,7 +347,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
342
347
|
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
348
|
variant?: "normal" | "tight";
|
344
349
|
zIndex?: React.CSSProperties["zIndex"];
|
345
|
-
listOverflow?: React.CSSProperties["overflow"];
|
346
350
|
listMaxHeight?: React.CSSProperties["height"];
|
347
351
|
listWidth?: React.CSSProperties["width"];
|
348
352
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -354,6 +358,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
354
358
|
virtual?: boolean;
|
355
359
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
356
360
|
onToggle?: (isOpen: boolean) => void;
|
361
|
+
mode?: "default" | "radio";
|
357
362
|
size?: string;
|
358
363
|
view?: string;
|
359
364
|
chipView?: string;
|
@@ -362,6 +367,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
362
367
|
isOpen?: boolean;
|
363
368
|
listHeight?: React.CSSProperties["height"];
|
364
369
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
370
|
+
listOverflow?: React.CSSProperties["overflow"];
|
365
371
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
366
372
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
367
373
|
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);
|