@salutejs/sdds-cs 0.328.0-canary.2213.17513842134.0 → 0.328.0-canary.2213.17578011722.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>;
|
@@ -47,6 +46,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
47
46
|
view?: string;
|
48
47
|
emptyStateDescription?: string;
|
49
48
|
listHeight?: React.CSSProperties["height"];
|
49
|
+
listOverflow?: React.CSSProperties["overflow"];
|
50
50
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
51
51
|
readOnly?: boolean;
|
52
52
|
disabled?: true;
|
@@ -84,7 +84,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
84
84
|
textAfter?: string;
|
85
85
|
variant?: "normal" | "tight";
|
86
86
|
zIndex?: React.CSSProperties["zIndex"];
|
87
|
-
listOverflow?: React.CSSProperties["overflow"];
|
88
87
|
listMaxHeight?: React.CSSProperties["height"];
|
89
88
|
listWidth?: React.CSSProperties["width"];
|
90
89
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -102,6 +101,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
102
101
|
view?: string;
|
103
102
|
emptyStateDescription?: string;
|
104
103
|
listHeight?: React.CSSProperties["height"];
|
104
|
+
listOverflow?: React.CSSProperties["overflow"];
|
105
105
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
106
106
|
readOnly?: boolean;
|
107
107
|
disabled?: true;
|
@@ -139,7 +139,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
139
139
|
textAfter?: string;
|
140
140
|
variant?: "normal" | "tight";
|
141
141
|
zIndex?: React.CSSProperties["zIndex"];
|
142
|
-
listOverflow?: React.CSSProperties["overflow"];
|
143
142
|
listMaxHeight?: React.CSSProperties["height"];
|
144
143
|
listWidth?: React.CSSProperties["width"];
|
145
144
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -157,6 +156,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
157
156
|
view?: string;
|
158
157
|
emptyStateDescription?: string;
|
159
158
|
listHeight?: React.CSSProperties["height"];
|
159
|
+
listOverflow?: React.CSSProperties["overflow"];
|
160
160
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
161
161
|
readOnly?: boolean;
|
162
162
|
disabled?: true;
|
@@ -194,7 +194,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
194
194
|
textAfter?: string;
|
195
195
|
variant?: "normal" | "tight";
|
196
196
|
zIndex?: React.CSSProperties["zIndex"];
|
197
|
-
listOverflow?: React.CSSProperties["overflow"];
|
198
197
|
listMaxHeight?: React.CSSProperties["height"];
|
199
198
|
listWidth?: React.CSSProperties["width"];
|
200
199
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -212,6 +211,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
212
211
|
view?: string;
|
213
212
|
emptyStateDescription?: string;
|
214
213
|
listHeight?: React.CSSProperties["height"];
|
214
|
+
listOverflow?: React.CSSProperties["overflow"];
|
215
215
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
216
216
|
readOnly?: boolean;
|
217
217
|
disabled?: true;
|
@@ -249,7 +249,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
249
249
|
textAfter?: string;
|
250
250
|
variant?: "normal" | "tight";
|
251
251
|
zIndex?: React.CSSProperties["zIndex"];
|
252
|
-
listOverflow?: React.CSSProperties["overflow"];
|
253
252
|
listMaxHeight?: React.CSSProperties["height"];
|
254
253
|
listWidth?: React.CSSProperties["width"];
|
255
254
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -267,6 +266,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
267
266
|
view?: string;
|
268
267
|
emptyStateDescription?: string;
|
269
268
|
listHeight?: React.CSSProperties["height"];
|
269
|
+
listOverflow?: React.CSSProperties["overflow"];
|
270
270
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
271
271
|
readOnly?: boolean;
|
272
272
|
disabled?: true;
|
@@ -304,7 +304,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
304
304
|
textAfter?: string;
|
305
305
|
variant?: "normal" | "tight";
|
306
306
|
zIndex?: React.CSSProperties["zIndex"];
|
307
|
-
listOverflow?: React.CSSProperties["overflow"];
|
308
307
|
listMaxHeight?: React.CSSProperties["height"];
|
309
308
|
listWidth?: React.CSSProperties["width"];
|
310
309
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -322,6 +321,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
322
321
|
view?: string;
|
323
322
|
emptyStateDescription?: string;
|
324
323
|
listHeight?: React.CSSProperties["height"];
|
324
|
+
listOverflow?: React.CSSProperties["overflow"];
|
325
325
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
326
326
|
readOnly?: boolean;
|
327
327
|
disabled?: true;
|
@@ -359,7 +359,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
359
359
|
textAfter?: string;
|
360
360
|
variant?: "normal" | "tight";
|
361
361
|
zIndex?: React.CSSProperties["zIndex"];
|
362
|
-
listOverflow?: React.CSSProperties["overflow"];
|
363
362
|
listMaxHeight?: React.CSSProperties["height"];
|
364
363
|
listWidth?: React.CSSProperties["width"];
|
365
364
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -377,6 +376,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
377
376
|
view?: string;
|
378
377
|
emptyStateDescription?: string;
|
379
378
|
listHeight?: React.CSSProperties["height"];
|
379
|
+
listOverflow?: React.CSSProperties["overflow"];
|
380
380
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
381
381
|
readOnly?: boolean;
|
382
382
|
disabled?: true;
|
@@ -414,7 +414,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
414
414
|
textAfter?: string;
|
415
415
|
variant?: "normal" | "tight";
|
416
416
|
zIndex?: React.CSSProperties["zIndex"];
|
417
|
-
listOverflow?: React.CSSProperties["overflow"];
|
418
417
|
listMaxHeight?: React.CSSProperties["height"];
|
419
418
|
listWidth?: React.CSSProperties["width"];
|
420
419
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -432,6 +431,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
432
431
|
view?: string;
|
433
432
|
emptyStateDescription?: string;
|
434
433
|
listHeight?: React.CSSProperties["height"];
|
434
|
+
listOverflow?: React.CSSProperties["overflow"];
|
435
435
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
436
436
|
readOnly?: boolean;
|
437
437
|
disabled?: true;
|
@@ -469,7 +469,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
469
469
|
textAfter?: string;
|
470
470
|
variant?: "normal" | "tight";
|
471
471
|
zIndex?: React.CSSProperties["zIndex"];
|
472
|
-
listOverflow?: React.CSSProperties["overflow"];
|
473
472
|
listMaxHeight?: React.CSSProperties["height"];
|
474
473
|
listWidth?: React.CSSProperties["width"];
|
475
474
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -487,6 +486,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
487
486
|
view?: string;
|
488
487
|
emptyStateDescription?: string;
|
489
488
|
listHeight?: React.CSSProperties["height"];
|
489
|
+
listOverflow?: React.CSSProperties["overflow"];
|
490
490
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
491
491
|
readOnly?: true;
|
492
492
|
disabled?: boolean;
|
@@ -524,7 +524,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
524
524
|
textAfter?: string;
|
525
525
|
variant?: "normal" | "tight";
|
526
526
|
zIndex?: React.CSSProperties["zIndex"];
|
527
|
-
listOverflow?: React.CSSProperties["overflow"];
|
528
527
|
listMaxHeight?: React.CSSProperties["height"];
|
529
528
|
listWidth?: React.CSSProperties["width"];
|
530
529
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -542,6 +541,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
542
541
|
view?: string;
|
543
542
|
emptyStateDescription?: string;
|
544
543
|
listHeight?: React.CSSProperties["height"];
|
544
|
+
listOverflow?: React.CSSProperties["overflow"];
|
545
545
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
546
546
|
readOnly?: true;
|
547
547
|
disabled?: boolean;
|
@@ -579,7 +579,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
579
579
|
textAfter?: string;
|
580
580
|
variant?: "normal" | "tight";
|
581
581
|
zIndex?: React.CSSProperties["zIndex"];
|
582
|
-
listOverflow?: React.CSSProperties["overflow"];
|
583
582
|
listMaxHeight?: React.CSSProperties["height"];
|
584
583
|
listWidth?: React.CSSProperties["width"];
|
585
584
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -597,6 +596,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
597
596
|
view?: string;
|
598
597
|
emptyStateDescription?: string;
|
599
598
|
listHeight?: React.CSSProperties["height"];
|
599
|
+
listOverflow?: React.CSSProperties["overflow"];
|
600
600
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
601
601
|
readOnly?: true;
|
602
602
|
disabled?: boolean;
|
@@ -634,7 +634,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
634
634
|
textAfter?: string;
|
635
635
|
variant?: "normal" | "tight";
|
636
636
|
zIndex?: React.CSSProperties["zIndex"];
|
637
|
-
listOverflow?: React.CSSProperties["overflow"];
|
638
637
|
listMaxHeight?: React.CSSProperties["height"];
|
639
638
|
listWidth?: React.CSSProperties["width"];
|
640
639
|
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>;
|
@@ -707,6 +706,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
707
706
|
view?: string;
|
708
707
|
emptyStateDescription?: string;
|
709
708
|
listHeight?: React.CSSProperties["height"];
|
709
|
+
listOverflow?: React.CSSProperties["overflow"];
|
710
710
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
711
711
|
readOnly?: true;
|
712
712
|
disabled?: boolean;
|
@@ -744,7 +744,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
744
744
|
textAfter?: string;
|
745
745
|
variant?: "normal" | "tight";
|
746
746
|
zIndex?: React.CSSProperties["zIndex"];
|
747
|
-
listOverflow?: React.CSSProperties["overflow"];
|
748
747
|
listMaxHeight?: React.CSSProperties["height"];
|
749
748
|
listWidth?: React.CSSProperties["width"];
|
750
749
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -762,6 +761,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
762
761
|
view?: string;
|
763
762
|
emptyStateDescription?: string;
|
764
763
|
listHeight?: React.CSSProperties["height"];
|
764
|
+
listOverflow?: React.CSSProperties["overflow"];
|
765
765
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
766
766
|
readOnly?: true;
|
767
767
|
disabled?: boolean;
|
@@ -799,7 +799,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
799
799
|
textAfter?: string;
|
800
800
|
variant?: "normal" | "tight";
|
801
801
|
zIndex?: React.CSSProperties["zIndex"];
|
802
|
-
listOverflow?: React.CSSProperties["overflow"];
|
803
802
|
listMaxHeight?: React.CSSProperties["height"];
|
804
803
|
listWidth?: React.CSSProperties["width"];
|
805
804
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -817,6 +816,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
817
816
|
view?: string;
|
818
817
|
emptyStateDescription?: string;
|
819
818
|
listHeight?: React.CSSProperties["height"];
|
819
|
+
listOverflow?: React.CSSProperties["overflow"];
|
820
820
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
821
821
|
readOnly?: true;
|
822
822
|
disabled?: boolean;
|
@@ -854,7 +854,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
854
854
|
textAfter?: string;
|
855
855
|
variant?: "normal" | "tight";
|
856
856
|
zIndex?: React.CSSProperties["zIndex"];
|
857
|
-
listOverflow?: React.CSSProperties["overflow"];
|
858
857
|
listMaxHeight?: React.CSSProperties["height"];
|
859
858
|
listWidth?: React.CSSProperties["width"];
|
860
859
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -872,6 +871,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
872
871
|
view?: string;
|
873
872
|
emptyStateDescription?: string;
|
874
873
|
listHeight?: React.CSSProperties["height"];
|
874
|
+
listOverflow?: React.CSSProperties["overflow"];
|
875
875
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
876
876
|
readOnly?: true;
|
877
877
|
disabled?: boolean;
|
@@ -909,7 +909,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
909
909
|
textAfter?: string;
|
910
910
|
variant?: "normal" | "tight";
|
911
911
|
zIndex?: React.CSSProperties["zIndex"];
|
912
|
-
listOverflow?: React.CSSProperties["overflow"];
|
913
912
|
listMaxHeight?: React.CSSProperties["height"];
|
914
913
|
listWidth?: React.CSSProperties["width"];
|
915
914
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -927,6 +926,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
927
926
|
view?: string;
|
928
927
|
emptyStateDescription?: string;
|
929
928
|
listHeight?: React.CSSProperties["height"];
|
929
|
+
listOverflow?: React.CSSProperties["overflow"];
|
930
930
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
931
931
|
readOnly?: false;
|
932
932
|
disabled?: false;
|
@@ -964,7 +964,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
964
964
|
textAfter?: string;
|
965
965
|
variant?: "normal" | "tight";
|
966
966
|
zIndex?: React.CSSProperties["zIndex"];
|
967
|
-
listOverflow?: React.CSSProperties["overflow"];
|
968
967
|
listMaxHeight?: React.CSSProperties["height"];
|
969
968
|
listWidth?: React.CSSProperties["width"];
|
970
969
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -982,6 +981,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
982
981
|
view?: string;
|
983
982
|
emptyStateDescription?: string;
|
984
983
|
listHeight?: React.CSSProperties["height"];
|
984
|
+
listOverflow?: React.CSSProperties["overflow"];
|
985
985
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
986
986
|
readOnly?: false;
|
987
987
|
disabled?: false;
|
@@ -1019,7 +1019,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1019
1019
|
textAfter?: string;
|
1020
1020
|
variant?: "normal" | "tight";
|
1021
1021
|
zIndex?: React.CSSProperties["zIndex"];
|
1022
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1023
1022
|
listMaxHeight?: React.CSSProperties["height"];
|
1024
1023
|
listWidth?: React.CSSProperties["width"];
|
1025
1024
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1037,6 +1036,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1037
1036
|
view?: string;
|
1038
1037
|
emptyStateDescription?: string;
|
1039
1038
|
listHeight?: React.CSSProperties["height"];
|
1039
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1040
1040
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1041
1041
|
readOnly?: false;
|
1042
1042
|
disabled?: false;
|
@@ -1074,7 +1074,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1074
1074
|
textAfter?: string;
|
1075
1075
|
variant?: "normal" | "tight";
|
1076
1076
|
zIndex?: React.CSSProperties["zIndex"];
|
1077
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1078
1077
|
listMaxHeight?: React.CSSProperties["height"];
|
1079
1078
|
listWidth?: React.CSSProperties["width"];
|
1080
1079
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1092,6 +1091,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1092
1091
|
view?: string;
|
1093
1092
|
emptyStateDescription?: string;
|
1094
1093
|
listHeight?: React.CSSProperties["height"];
|
1094
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1095
1095
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1096
1096
|
readOnly?: false;
|
1097
1097
|
disabled?: false;
|
@@ -1129,7 +1129,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1129
1129
|
textAfter?: string;
|
1130
1130
|
variant?: "normal" | "tight";
|
1131
1131
|
zIndex?: React.CSSProperties["zIndex"];
|
1132
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1133
1132
|
listMaxHeight?: React.CSSProperties["height"];
|
1134
1133
|
listWidth?: React.CSSProperties["width"];
|
1135
1134
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1147,6 +1146,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1147
1146
|
view?: string;
|
1148
1147
|
emptyStateDescription?: string;
|
1149
1148
|
listHeight?: React.CSSProperties["height"];
|
1149
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1150
1150
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1151
1151
|
readOnly?: false;
|
1152
1152
|
disabled?: false;
|
@@ -1184,7 +1184,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1184
1184
|
textAfter?: string;
|
1185
1185
|
variant?: "normal" | "tight";
|
1186
1186
|
zIndex?: React.CSSProperties["zIndex"];
|
1187
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1188
1187
|
listMaxHeight?: React.CSSProperties["height"];
|
1189
1188
|
listWidth?: React.CSSProperties["width"];
|
1190
1189
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1202,6 +1201,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1202
1201
|
view?: string;
|
1203
1202
|
emptyStateDescription?: string;
|
1204
1203
|
listHeight?: React.CSSProperties["height"];
|
1204
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1205
1205
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1206
1206
|
readOnly?: false;
|
1207
1207
|
disabled?: false;
|
@@ -1239,7 +1239,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1239
1239
|
textAfter?: string;
|
1240
1240
|
variant?: "normal" | "tight";
|
1241
1241
|
zIndex?: React.CSSProperties["zIndex"];
|
1242
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1243
1242
|
listMaxHeight?: React.CSSProperties["height"];
|
1244
1243
|
listWidth?: React.CSSProperties["width"];
|
1245
1244
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1257,6 +1256,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1257
1256
|
view?: string;
|
1258
1257
|
emptyStateDescription?: string;
|
1259
1258
|
listHeight?: React.CSSProperties["height"];
|
1259
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1260
1260
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1261
1261
|
readOnly?: false;
|
1262
1262
|
disabled?: false;
|
@@ -1294,7 +1294,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1294
1294
|
textAfter?: string;
|
1295
1295
|
variant?: "normal" | "tight";
|
1296
1296
|
zIndex?: React.CSSProperties["zIndex"];
|
1297
|
-
listOverflow?: React.CSSProperties["overflow"];
|
1298
1297
|
listMaxHeight?: React.CSSProperties["height"];
|
1299
1298
|
listWidth?: React.CSSProperties["width"];
|
1300
1299
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -1312,6 +1311,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1312
1311
|
view?: string;
|
1313
1312
|
emptyStateDescription?: string;
|
1314
1313
|
listHeight?: React.CSSProperties["height"];
|
1314
|
+
listOverflow?: React.CSSProperties["overflow"];
|
1315
1315
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1316
1316
|
readOnly?: false;
|
1317
1317
|
disabled?: false;
|
@@ -12,13 +12,12 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
12
12
|
alwaysOpened?: boolean;
|
13
13
|
children?: React.ReactNode;
|
14
14
|
itemRole?: string;
|
15
|
-
onHover?: (index: number) => void;
|
15
|
+
onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
|
16
16
|
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
17
17
|
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
18
18
|
openByRightClick?: boolean;
|
19
19
|
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
20
20
|
offset?: [number, number];
|
21
|
-
listOverflow?: React.CSSProperties["overflow"];
|
22
21
|
listMaxHeight?: React.CSSProperties["height"];
|
23
22
|
listWidth?: React.CSSProperties["width"];
|
24
23
|
hasArrow?: boolean;
|
@@ -36,6 +35,7 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
36
35
|
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
37
36
|
listHeight?: React.CSSProperties["height"];
|
38
37
|
hoverIndex?: number;
|
38
|
+
listOverflow?: React.CSSProperties["overflow"];
|
39
39
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
40
40
|
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
41
41
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "size" | "view"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
@@ -50,13 +50,12 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
50
50
|
alwaysOpened?: boolean;
|
51
51
|
children?: React.ReactNode;
|
52
52
|
itemRole?: string;
|
53
|
-
onHover?: (index: number) => void;
|
53
|
+
onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
|
54
54
|
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
55
55
|
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
56
56
|
openByRightClick?: boolean;
|
57
57
|
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
58
58
|
offset?: [number, number];
|
59
|
-
listOverflow?: React.CSSProperties["overflow"];
|
60
59
|
listMaxHeight?: React.CSSProperties["height"];
|
61
60
|
listWidth?: React.CSSProperties["width"];
|
62
61
|
hasArrow?: boolean;
|
@@ -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>;
|
@@ -79,6 +78,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
79
78
|
isOpen?: boolean;
|
80
79
|
listHeight?: React.CSSProperties["height"];
|
81
80
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
81
|
+
listOverflow?: React.CSSProperties["overflow"];
|
82
82
|
} & 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 & {
|
83
83
|
hintText: string;
|
84
84
|
hintTrigger?: "hover" | "click";
|
@@ -117,7 +117,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
117
117
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
118
118
|
variant?: "normal" | "tight";
|
119
119
|
zIndex?: React.CSSProperties["zIndex"];
|
120
|
-
listOverflow?: React.CSSProperties["overflow"];
|
121
120
|
listMaxHeight?: React.CSSProperties["height"];
|
122
121
|
listWidth?: React.CSSProperties["width"];
|
123
122
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -138,6 +137,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
138
137
|
isOpen?: boolean;
|
139
138
|
listHeight?: React.CSSProperties["height"];
|
140
139
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
140
|
+
listOverflow?: React.CSSProperties["overflow"];
|
141
141
|
} & 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 & {
|
142
142
|
hintTrigger?: never;
|
143
143
|
hintText?: never;
|
@@ -175,7 +175,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
175
175
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
176
176
|
variant?: "normal" | "tight";
|
177
177
|
zIndex?: React.CSSProperties["zIndex"];
|
178
|
-
listOverflow?: React.CSSProperties["overflow"];
|
179
178
|
listMaxHeight?: React.CSSProperties["height"];
|
180
179
|
listWidth?: React.CSSProperties["width"];
|
181
180
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -196,6 +195,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
196
195
|
isOpen?: boolean;
|
197
196
|
listHeight?: React.CSSProperties["height"];
|
198
197
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
198
|
+
listOverflow?: React.CSSProperties["overflow"];
|
199
199
|
} & 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 & {
|
200
200
|
hintTrigger?: never;
|
201
201
|
hintText?: never;
|
@@ -234,7 +234,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
234
234
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
235
235
|
variant?: "normal" | "tight";
|
236
236
|
zIndex?: React.CSSProperties["zIndex"];
|
237
|
-
listOverflow?: React.CSSProperties["overflow"];
|
238
237
|
listMaxHeight?: React.CSSProperties["height"];
|
239
238
|
listWidth?: React.CSSProperties["width"];
|
240
239
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -255,6 +254,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
255
254
|
isOpen?: boolean;
|
256
255
|
listHeight?: React.CSSProperties["height"];
|
257
256
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
257
|
+
listOverflow?: React.CSSProperties["overflow"];
|
258
258
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
259
259
|
target: "button-like";
|
260
260
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -280,7 +280,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
280
280
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
281
281
|
variant?: "normal" | "tight";
|
282
282
|
zIndex?: React.CSSProperties["zIndex"];
|
283
|
-
listOverflow?: React.CSSProperties["overflow"];
|
284
283
|
listMaxHeight?: React.CSSProperties["height"];
|
285
284
|
listWidth?: React.CSSProperties["width"];
|
286
285
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -301,6 +300,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
301
300
|
isOpen?: boolean;
|
302
301
|
listHeight?: React.CSSProperties["height"];
|
303
302
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
303
|
+
listOverflow?: React.CSSProperties["overflow"];
|
304
304
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
305
305
|
target: "button-like";
|
306
306
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
@@ -327,7 +327,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
327
327
|
placement?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacement | Array<import("@salutejs/plasma-new-hope/types/components/Select/Select.types").SelectPlacementBasic>;
|
328
328
|
variant?: "normal" | "tight";
|
329
329
|
zIndex?: React.CSSProperties["zIndex"];
|
330
|
-
listOverflow?: React.CSSProperties["overflow"];
|
331
330
|
listMaxHeight?: React.CSSProperties["height"];
|
332
331
|
listWidth?: React.CSSProperties["width"];
|
333
332
|
portal?: string | React.RefObject<HTMLElement>;
|
@@ -348,6 +347,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
348
347
|
isOpen?: boolean;
|
349
348
|
listHeight?: React.CSSProperties["height"];
|
350
349
|
onScrollBottom?: (e: React.UIEvent<HTMLElement>) => void;
|
350
|
+
listOverflow?: React.CSSProperties["overflow"];
|
351
351
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
352
352
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
353
353
|
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);
|