@salutejs/plasma-web 1.468.0-canary.1632.12235091027.0 → 1.468.0-canary.1635.12250520641.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -676,7 +676,7 @@ true: PolymorphicClassName;
676
676
  };
677
677
  }> & ((BaseProps & Omit<{
678
678
  titleCaption?: ReactNode;
679
- leftHelper?: ReactNode;
679
+ leftHelper?: string | undefined;
680
680
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
681
681
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
682
682
  textBefore?: string | undefined;
@@ -706,7 +706,7 @@ chipView?: undefined;
706
706
  chipValidator?: undefined;
707
707
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
708
708
  titleCaption?: ReactNode;
709
- leftHelper?: ReactNode;
709
+ leftHelper?: string | undefined;
710
710
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
711
711
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
712
712
  textBefore?: string | undefined;
@@ -738,7 +738,7 @@ view?: string | undefined;
738
738
  }) | undefined;
739
739
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
740
740
  titleCaption?: ReactNode;
741
- leftHelper?: ReactNode;
741
+ leftHelper?: string | undefined;
742
742
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
743
743
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
744
744
  textBefore?: string | undefined;
@@ -768,7 +768,7 @@ chipView?: undefined;
768
768
  chipValidator?: undefined;
769
769
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
770
770
  titleCaption?: ReactNode;
771
- leftHelper?: ReactNode;
771
+ leftHelper?: string | undefined;
772
772
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
773
773
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
774
774
  textBefore?: string | undefined;
@@ -800,7 +800,7 @@ view?: string | undefined;
800
800
  }) | undefined;
801
801
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
802
802
  titleCaption?: ReactNode;
803
- leftHelper?: ReactNode;
803
+ leftHelper?: string | undefined;
804
804
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
805
805
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
806
806
  textBefore?: string | undefined;
@@ -830,7 +830,7 @@ chipView?: undefined;
830
830
  chipValidator?: undefined;
831
831
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
832
832
  titleCaption?: ReactNode;
833
- leftHelper?: ReactNode;
833
+ leftHelper?: string | undefined;
834
834
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
835
835
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
836
836
  textBefore?: string | undefined;
@@ -862,7 +862,7 @@ view?: string | undefined;
862
862
  }) | undefined;
863
863
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
864
864
  titleCaption?: ReactNode;
865
- leftHelper?: ReactNode;
865
+ leftHelper?: string | undefined;
866
866
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
867
867
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
868
868
  textBefore?: string | undefined;
@@ -892,7 +892,7 @@ chipView?: undefined;
892
892
  chipValidator?: undefined;
893
893
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
894
894
  titleCaption?: ReactNode;
895
- leftHelper?: ReactNode;
895
+ leftHelper?: string | undefined;
896
896
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
897
897
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
898
898
  textBefore?: string | undefined;
@@ -1898,6 +1898,7 @@ default: PolymorphicClassName;
1898
1898
  variant?: "normal" | "tight" | undefined;
1899
1899
  portal?: string | React_2.RefObject<HTMLElement> | undefined;
1900
1900
  renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined;
1901
+ zIndex?: Property.ZIndex | undefined;
1901
1902
  onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
1902
1903
  listOverflow?: Property.Overflow | undefined;
1903
1904
  listHeight?: Property.Height<string | number> | undefined;
@@ -2364,7 +2365,7 @@ readOnly?: boolean | undefined;
2364
2365
  disabled?: boolean | undefined;
2365
2366
  } & {
2366
2367
  titleCaption?: ReactNode;
2367
- leftHelper?: ReactNode;
2368
+ leftHelper?: string | undefined;
2368
2369
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2369
2370
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2370
2371
  textBefore?: string | undefined;
@@ -2440,7 +2441,7 @@ readOnly?: boolean | undefined;
2440
2441
  disabled?: boolean | undefined;
2441
2442
  } & {
2442
2443
  titleCaption?: ReactNode;
2443
- leftHelper?: ReactNode;
2444
+ leftHelper?: string | undefined;
2444
2445
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2445
2446
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2446
2447
  textBefore?: string | undefined;
@@ -2518,7 +2519,7 @@ readOnly?: boolean | undefined;
2518
2519
  disabled?: boolean | undefined;
2519
2520
  } & {
2520
2521
  titleCaption?: ReactNode;
2521
- leftHelper?: ReactNode;
2522
+ leftHelper?: string | undefined;
2522
2523
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2523
2524
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2524
2525
  textBefore?: string | undefined;
@@ -2594,7 +2595,7 @@ readOnly?: boolean | undefined;
2594
2595
  disabled?: boolean | undefined;
2595
2596
  } & {
2596
2597
  titleCaption?: ReactNode;
2597
- leftHelper?: ReactNode;
2598
+ leftHelper?: string | undefined;
2598
2599
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2599
2600
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2600
2601
  textBefore?: string | undefined;
@@ -2672,7 +2673,7 @@ readOnly?: boolean | undefined;
2672
2673
  disabled?: boolean | undefined;
2673
2674
  } & {
2674
2675
  titleCaption?: ReactNode;
2675
- leftHelper?: ReactNode;
2676
+ leftHelper?: string | undefined;
2676
2677
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2677
2678
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2678
2679
  textBefore?: string | undefined;
@@ -2748,7 +2749,7 @@ readOnly?: boolean | undefined;
2748
2749
  disabled?: boolean | undefined;
2749
2750
  } & {
2750
2751
  titleCaption?: ReactNode;
2751
- leftHelper?: ReactNode;
2752
+ leftHelper?: string | undefined;
2752
2753
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2753
2754
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2754
2755
  textBefore?: string | undefined;
@@ -2826,7 +2827,7 @@ readOnly?: boolean | undefined;
2826
2827
  disabled?: boolean | undefined;
2827
2828
  } & {
2828
2829
  titleCaption?: ReactNode;
2829
- leftHelper?: ReactNode;
2830
+ leftHelper?: string | undefined;
2830
2831
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2831
2832
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2832
2833
  textBefore?: string | undefined;
@@ -2902,7 +2903,7 @@ readOnly?: boolean | undefined;
2902
2903
  disabled?: boolean | undefined;
2903
2904
  } & {
2904
2905
  titleCaption?: ReactNode;
2905
- leftHelper?: ReactNode;
2906
+ leftHelper?: string | undefined;
2906
2907
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2907
2908
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2908
2909
  textBefore?: string | undefined;
@@ -3791,7 +3792,7 @@ titleCaption?: ReactNode;
3791
3792
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3792
3793
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3793
3794
  helperText?: string | undefined;
3794
- leftHelper?: ReactNode;
3795
+ leftHelper?: string | undefined;
3795
3796
  rightHelper?: string | undefined;
3796
3797
  leftHelperPlacement?: "outer" | "inner" | undefined;
3797
3798
  } & {
@@ -3834,7 +3835,7 @@ titleCaption?: ReactNode;
3834
3835
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3835
3836
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3836
3837
  helperText?: string | undefined;
3837
- leftHelper?: ReactNode;
3838
+ leftHelper?: string | undefined;
3838
3839
  rightHelper?: string | undefined;
3839
3840
  leftHelperPlacement?: "outer" | "inner" | undefined;
3840
3841
  } & {
@@ -3877,7 +3878,7 @@ titleCaption?: ReactNode;
3877
3878
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3878
3879
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3879
3880
  helperText?: string | undefined;
3880
- leftHelper?: ReactNode;
3881
+ leftHelper?: string | undefined;
3881
3882
  rightHelper?: string | undefined;
3882
3883
  leftHelperPlacement?: "outer" | "inner" | undefined;
3883
3884
  } & {
@@ -3920,7 +3921,7 @@ titleCaption?: ReactNode;
3920
3921
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3921
3922
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3922
3923
  helperText?: string | undefined;
3923
- leftHelper?: ReactNode;
3924
+ leftHelper?: string | undefined;
3924
3925
  rightHelper?: string | undefined;
3925
3926
  leftHelperPlacement?: "outer" | "inner" | undefined;
3926
3927
  } & {
@@ -3963,7 +3964,7 @@ titleCaption?: ReactNode;
3963
3964
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3964
3965
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3965
3966
  helperText?: string | undefined;
3966
- leftHelper?: ReactNode;
3967
+ leftHelper?: string | undefined;
3967
3968
  rightHelper?: string | undefined;
3968
3969
  leftHelperPlacement?: "outer" | "inner" | undefined;
3969
3970
  } & {
@@ -4006,7 +4007,7 @@ titleCaption?: ReactNode;
4006
4007
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
4007
4008
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
4008
4009
  helperText?: string | undefined;
4009
- leftHelper?: ReactNode;
4010
+ leftHelper?: string | undefined;
4010
4011
  rightHelper?: string | undefined;
4011
4012
  leftHelperPlacement?: "outer" | "inner" | undefined;
4012
4013
  } & {
@@ -4049,7 +4050,7 @@ titleCaption?: ReactNode;
4049
4050
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
4050
4051
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
4051
4052
  helperText?: string | undefined;
4052
- leftHelper?: ReactNode;
4053
+ leftHelper?: string | undefined;
4053
4054
  rightHelper?: string | undefined;
4054
4055
  leftHelperPlacement?: "outer" | "inner" | undefined;
4055
4056
  } & {
@@ -4092,7 +4093,7 @@ titleCaption?: ReactNode;
4092
4093
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
4093
4094
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
4094
4095
  helperText?: string | undefined;
4095
- leftHelper?: ReactNode;
4096
+ leftHelper?: string | undefined;
4096
4097
  rightHelper?: string | undefined;
4097
4098
  leftHelperPlacement?: "outer" | "inner" | undefined;
4098
4099
  } & {
@@ -24,7 +24,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
24
24
  };
25
25
  }> & ((import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
26
26
  titleCaption?: import("react").ReactNode;
27
- leftHelper?: import("react").ReactNode;
27
+ leftHelper?: string | undefined;
28
28
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
29
29
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
30
30
  textBefore?: string | undefined;
@@ -54,7 +54,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
54
54
  chipValidator?: undefined;
55
55
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
56
56
  titleCaption?: import("react").ReactNode;
57
- leftHelper?: import("react").ReactNode;
57
+ leftHelper?: string | undefined;
58
58
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
59
59
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
60
60
  textBefore?: string | undefined;
@@ -86,7 +86,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
86
86
  }) | undefined;
87
87
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
88
88
  titleCaption?: import("react").ReactNode;
89
- leftHelper?: import("react").ReactNode;
89
+ leftHelper?: string | undefined;
90
90
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
91
91
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
92
  textBefore?: string | undefined;
@@ -116,7 +116,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
116
116
  chipValidator?: undefined;
117
117
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
118
118
  titleCaption?: import("react").ReactNode;
119
- leftHelper?: import("react").ReactNode;
119
+ leftHelper?: string | undefined;
120
120
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
121
121
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
122
122
  textBefore?: string | undefined;
@@ -148,7 +148,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
148
148
  }) | undefined;
149
149
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
150
150
  titleCaption?: import("react").ReactNode;
151
- leftHelper?: import("react").ReactNode;
151
+ leftHelper?: string | undefined;
152
152
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
153
153
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
154
154
  textBefore?: string | undefined;
@@ -178,7 +178,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
178
178
  chipValidator?: undefined;
179
179
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
180
180
  titleCaption?: import("react").ReactNode;
181
- leftHelper?: import("react").ReactNode;
181
+ leftHelper?: string | undefined;
182
182
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
183
183
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
184
184
  textBefore?: string | undefined;
@@ -210,7 +210,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
210
210
  }) | undefined;
211
211
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
212
212
  titleCaption?: import("react").ReactNode;
213
- leftHelper?: import("react").ReactNode;
213
+ leftHelper?: string | undefined;
214
214
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
215
215
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
216
216
  textBefore?: string | undefined;
@@ -240,7 +240,7 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
240
240
  chipValidator?: undefined;
241
241
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
242
242
  titleCaption?: import("react").ReactNode;
243
- leftHelper?: import("react").ReactNode;
243
+ leftHelper?: string | undefined;
244
244
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
245
245
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
246
246
  textBefore?: string | undefined;
@@ -35,6 +35,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
35
35
  textBefore?: string | undefined;
36
36
  textAfter?: string | undefined;
37
37
  variant?: "normal" | "tight" | undefined;
38
+ zIndex?: import("csstype").Property.ZIndex | undefined;
38
39
  listOverflow?: import("csstype").Property.Overflow | undefined;
39
40
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
40
41
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -67,6 +68,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
67
68
  textBefore?: string | undefined;
68
69
  textAfter?: string | undefined;
69
70
  variant?: "normal" | "tight" | undefined;
71
+ zIndex?: import("csstype").Property.ZIndex | undefined;
70
72
  listOverflow?: import("csstype").Property.Overflow | undefined;
71
73
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
72
74
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -99,6 +101,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
99
101
  textBefore?: string | undefined;
100
102
  textAfter?: string | undefined;
101
103
  variant?: "normal" | "tight" | undefined;
104
+ zIndex?: import("csstype").Property.ZIndex | undefined;
102
105
  listOverflow?: import("csstype").Property.Overflow | undefined;
103
106
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
104
107
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -131,6 +134,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
131
134
  textBefore?: string | undefined;
132
135
  textAfter?: string | undefined;
133
136
  variant?: "normal" | "tight" | undefined;
137
+ zIndex?: import("csstype").Property.ZIndex | undefined;
134
138
  listOverflow?: import("csstype").Property.Overflow | undefined;
135
139
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
136
140
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -163,6 +167,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
163
167
  textBefore?: string | undefined;
164
168
  textAfter?: string | undefined;
165
169
  variant?: "normal" | "tight" | undefined;
170
+ zIndex?: import("csstype").Property.ZIndex | undefined;
166
171
  listOverflow?: import("csstype").Property.Overflow | undefined;
167
172
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
168
173
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -195,6 +200,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
195
200
  textBefore?: string | undefined;
196
201
  textAfter?: string | undefined;
197
202
  variant?: "normal" | "tight" | undefined;
203
+ zIndex?: import("csstype").Property.ZIndex | undefined;
198
204
  listOverflow?: import("csstype").Property.Overflow | undefined;
199
205
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
200
206
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -227,6 +233,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
227
233
  textBefore?: string | undefined;
228
234
  textAfter?: string | undefined;
229
235
  variant?: "normal" | "tight" | undefined;
236
+ zIndex?: import("csstype").Property.ZIndex | undefined;
230
237
  listOverflow?: import("csstype").Property.Overflow | undefined;
231
238
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
232
239
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -259,6 +266,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
259
266
  textBefore?: string | undefined;
260
267
  textAfter?: string | undefined;
261
268
  variant?: "normal" | "tight" | undefined;
269
+ zIndex?: import("csstype").Property.ZIndex | undefined;
262
270
  listOverflow?: import("csstype").Property.Overflow | undefined;
263
271
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
264
272
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -291,6 +299,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
291
299
  textBefore?: string | undefined;
292
300
  textAfter?: string | undefined;
293
301
  variant?: "normal" | "tight" | undefined;
302
+ zIndex?: import("csstype").Property.ZIndex | undefined;
294
303
  listOverflow?: import("csstype").Property.Overflow | undefined;
295
304
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
296
305
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -323,6 +332,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
323
332
  textBefore?: string | undefined;
324
333
  textAfter?: string | undefined;
325
334
  variant?: "normal" | "tight" | undefined;
335
+ zIndex?: import("csstype").Property.ZIndex | undefined;
326
336
  listOverflow?: import("csstype").Property.Overflow | undefined;
327
337
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
328
338
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -355,6 +365,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
355
365
  textBefore?: string | undefined;
356
366
  textAfter?: string | undefined;
357
367
  variant?: "normal" | "tight" | undefined;
368
+ zIndex?: import("csstype").Property.ZIndex | undefined;
358
369
  listOverflow?: import("csstype").Property.Overflow | undefined;
359
370
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
360
371
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -387,6 +398,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
387
398
  textBefore?: string | undefined;
388
399
  textAfter?: string | undefined;
389
400
  variant?: "normal" | "tight" | undefined;
401
+ zIndex?: import("csstype").Property.ZIndex | undefined;
390
402
  listOverflow?: import("csstype").Property.Overflow | undefined;
391
403
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
392
404
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -30,6 +30,7 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
30
30
  variant?: "normal" | "tight" | undefined;
31
31
  portal?: string | React.RefObject<HTMLElement> | undefined;
32
32
  renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
33
+ zIndex?: import("csstype").Property.ZIndex | undefined;
33
34
  onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
34
35
  listOverflow?: import("csstype").Property.Overflow | undefined;
35
36
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
@@ -47,7 +47,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
47
47
  disabled?: boolean | undefined;
48
48
  } & {
49
49
  titleCaption?: import("react").ReactNode;
50
- leftHelper?: import("react").ReactNode;
50
+ leftHelper?: string | undefined;
51
51
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
52
52
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
53
53
  textBefore?: string | undefined;
@@ -123,7 +123,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
123
123
  disabled?: boolean | undefined;
124
124
  } & {
125
125
  titleCaption?: import("react").ReactNode;
126
- leftHelper?: import("react").ReactNode;
126
+ leftHelper?: string | undefined;
127
127
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
128
128
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
129
129
  textBefore?: string | undefined;
@@ -201,7 +201,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
201
201
  disabled?: boolean | undefined;
202
202
  } & {
203
203
  titleCaption?: import("react").ReactNode;
204
- leftHelper?: import("react").ReactNode;
204
+ leftHelper?: string | undefined;
205
205
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
206
206
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
207
207
  textBefore?: string | undefined;
@@ -277,7 +277,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
277
277
  disabled?: boolean | undefined;
278
278
  } & {
279
279
  titleCaption?: import("react").ReactNode;
280
- leftHelper?: import("react").ReactNode;
280
+ leftHelper?: string | undefined;
281
281
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
282
282
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
283
283
  textBefore?: string | undefined;
@@ -355,7 +355,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
355
355
  disabled?: boolean | undefined;
356
356
  } & {
357
357
  titleCaption?: import("react").ReactNode;
358
- leftHelper?: import("react").ReactNode;
358
+ leftHelper?: string | undefined;
359
359
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
360
360
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
361
361
  textBefore?: string | undefined;
@@ -431,7 +431,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
431
431
  disabled?: boolean | undefined;
432
432
  } & {
433
433
  titleCaption?: import("react").ReactNode;
434
- leftHelper?: import("react").ReactNode;
434
+ leftHelper?: string | undefined;
435
435
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
436
436
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
437
437
  textBefore?: string | undefined;
@@ -509,7 +509,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
509
509
  disabled?: boolean | undefined;
510
510
  } & {
511
511
  titleCaption?: import("react").ReactNode;
512
- leftHelper?: import("react").ReactNode;
512
+ leftHelper?: string | undefined;
513
513
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
514
514
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
515
515
  textBefore?: string | undefined;
@@ -585,7 +585,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
585
585
  disabled?: boolean | undefined;
586
586
  } & {
587
587
  titleCaption?: import("react").ReactNode;
588
- leftHelper?: import("react").ReactNode;
588
+ leftHelper?: string | undefined;
589
589
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
590
590
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
591
591
  textBefore?: string | undefined;
@@ -57,6 +57,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
57
57
  placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
58
58
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
59
59
  variant?: "normal" | "tight" | undefined;
60
+ zIndex?: import("csstype").Property.ZIndex | undefined;
60
61
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
61
62
  portal?: string | React.RefObject<HTMLElement> | undefined;
62
63
  renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
@@ -96,6 +97,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
96
97
  placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
97
98
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
98
99
  variant?: "normal" | "tight" | undefined;
100
+ zIndex?: import("csstype").Property.ZIndex | undefined;
99
101
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
100
102
  portal?: string | React.RefObject<HTMLElement> | undefined;
101
103
  renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
@@ -135,6 +137,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
135
137
  placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
136
138
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
137
139
  variant?: "normal" | "tight" | undefined;
140
+ zIndex?: import("csstype").Property.ZIndex | undefined;
138
141
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
139
142
  portal?: string | React.RefObject<HTMLElement> | undefined;
140
143
  renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
@@ -174,6 +177,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
174
177
  placement?: ("top" | "right" | "bottom" | "left" | "auto") | ("top" | "right" | "bottom" | "left")[] | undefined;
175
178
  onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
176
179
  variant?: "normal" | "tight" | undefined;
180
+ zIndex?: import("csstype").Property.ZIndex | undefined;
177
181
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
178
182
  portal?: string | React.RefObject<HTMLElement> | undefined;
179
183
  renderValue?: ((item: DropdownNodeSelect) => string) | undefined;
@@ -37,7 +37,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
37
37
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
38
38
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
39
39
  helperText?: string | undefined;
40
- leftHelper?: import("react").ReactNode;
40
+ leftHelper?: string | undefined;
41
41
  rightHelper?: string | undefined;
42
42
  leftHelperPlacement?: "outer" | "inner" | undefined;
43
43
  } & {
@@ -80,7 +80,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
80
80
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
81
81
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
82
82
  helperText?: string | undefined;
83
- leftHelper?: import("react").ReactNode;
83
+ leftHelper?: string | undefined;
84
84
  rightHelper?: string | undefined;
85
85
  leftHelperPlacement?: "outer" | "inner" | undefined;
86
86
  } & {
@@ -123,7 +123,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
123
123
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
124
124
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
125
125
  helperText?: string | undefined;
126
- leftHelper?: import("react").ReactNode;
126
+ leftHelper?: string | undefined;
127
127
  rightHelper?: string | undefined;
128
128
  leftHelperPlacement?: "outer" | "inner" | undefined;
129
129
  } & {
@@ -166,7 +166,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
166
166
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
167
167
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
168
168
  helperText?: string | undefined;
169
- leftHelper?: import("react").ReactNode;
169
+ leftHelper?: string | undefined;
170
170
  rightHelper?: string | undefined;
171
171
  leftHelperPlacement?: "outer" | "inner" | undefined;
172
172
  } & {
@@ -209,7 +209,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
209
209
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
210
210
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
211
211
  helperText?: string | undefined;
212
- leftHelper?: import("react").ReactNode;
212
+ leftHelper?: string | undefined;
213
213
  rightHelper?: string | undefined;
214
214
  leftHelperPlacement?: "outer" | "inner" | undefined;
215
215
  } & {
@@ -252,7 +252,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
252
252
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
253
253
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
254
254
  helperText?: string | undefined;
255
- leftHelper?: import("react").ReactNode;
255
+ leftHelper?: string | undefined;
256
256
  rightHelper?: string | undefined;
257
257
  leftHelperPlacement?: "outer" | "inner" | undefined;
258
258
  } & {
@@ -295,7 +295,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
295
295
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
296
296
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
297
297
  helperText?: string | undefined;
298
- leftHelper?: import("react").ReactNode;
298
+ leftHelper?: string | undefined;
299
299
  rightHelper?: string | undefined;
300
300
  leftHelperPlacement?: "outer" | "inner" | undefined;
301
301
  } & {
@@ -338,7 +338,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
338
338
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
339
339
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
340
340
  helperText?: string | undefined;
341
- leftHelper?: import("react").ReactNode;
341
+ leftHelper?: string | undefined;
342
342
  rightHelper?: string | undefined;
343
343
  leftHelperPlacement?: "outer" | "inner" | undefined;
344
344
  } & {
@@ -48,8 +48,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
48
48
  readOnly?: boolean | undefined;
49
49
  disabled?: boolean | undefined;
50
50
  } & {
51
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
52
- leftHelper?: React.ReactNode;
51
+ titleCaption?: React.ReactNode;
52
+ leftHelper?: string | undefined;
53
53
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
54
54
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
55
55
  textBefore?: string | undefined;
@@ -83,8 +83,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
83
83
  readOnly?: boolean | undefined;
84
84
  disabled?: boolean | undefined;
85
85
  } & {
86
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
87
- leftHelper?: React.ReactNode;
86
+ titleCaption?: React.ReactNode;
87
+ leftHelper?: string | undefined;
88
88
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
89
89
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
90
90
  textBefore?: string | undefined;
@@ -124,8 +124,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
124
124
  readOnly?: boolean | undefined;
125
125
  disabled?: boolean | undefined;
126
126
  } & {
127
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
128
- leftHelper?: React.ReactNode;
127
+ titleCaption?: React.ReactNode;
128
+ leftHelper?: string | undefined;
129
129
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
130
130
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
131
131
  textBefore?: string | undefined;
@@ -159,8 +159,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
159
159
  readOnly?: boolean | undefined;
160
160
  disabled?: boolean | undefined;
161
161
  } & {
162
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
163
- leftHelper?: React.ReactNode;
162
+ titleCaption?: React.ReactNode;
163
+ leftHelper?: string | undefined;
164
164
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
165
165
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
166
166
  textBefore?: string | undefined;
@@ -200,8 +200,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
200
200
  readOnly?: boolean | undefined;
201
201
  disabled?: boolean | undefined;
202
202
  } & {
203
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
204
- leftHelper?: React.ReactNode;
203
+ titleCaption?: React.ReactNode;
204
+ leftHelper?: string | undefined;
205
205
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
206
206
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
207
207
  textBefore?: string | undefined;
@@ -235,8 +235,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
235
235
  readOnly?: boolean | undefined;
236
236
  disabled?: boolean | undefined;
237
237
  } & {
238
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
239
- leftHelper?: React.ReactNode;
238
+ titleCaption?: React.ReactNode;
239
+ leftHelper?: string | undefined;
240
240
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
241
241
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
242
242
  textBefore?: string | undefined;
@@ -276,8 +276,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
276
276
  readOnly?: boolean | undefined;
277
277
  disabled?: boolean | undefined;
278
278
  } & {
279
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
280
- leftHelper?: React.ReactNode;
279
+ titleCaption?: React.ReactNode;
280
+ leftHelper?: string | undefined;
281
281
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
282
282
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
283
283
  textBefore?: string | undefined;
@@ -311,8 +311,8 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
311
311
  readOnly?: boolean | undefined;
312
312
  disabled?: boolean | undefined;
313
313
  } & {
314
- titleCaption?: React.ReactNode; /** TODO: #1064 Remove In plasma-2.0 */
315
- leftHelper?: React.ReactNode;
314
+ titleCaption?: React.ReactNode;
315
+ leftHelper?: string | undefined;
316
316
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
317
317
  contentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
318
318
  textBefore?: string | undefined;
@@ -423,12 +423,7 @@ declare type HintProps = {
423
423
  hintWidth?: never;
424
424
  hintContentLeft?: never;
425
425
  };
426
- declare type TextFieldProps = Omit<TextFieldPropsOld, 'helperText'> & {
427
- /**
428
- * Подсказка для поля ввода.
429
- */
430
- helperText?: ReactNode;
431
- } & ClearProps & HintProps;
426
+ declare type TextFieldProps = TextFieldPropsOld & ClearProps & HintProps;
432
427
  export declare type CustomTextFieldProps = TextFieldProps & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'chipType' | 'onChangeChips' | 'titleCaption' | 'labelPlacement' | 'keepPlaceholder' | 'required' | 'requiredPlacement' | 'optional' | 'chipView' | 'chipValidator'>;
433
428
  /**
434
429
  * Поле ввода текста.
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sources":["../../../../src-css/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode } from 'react';\nimport type { TextFieldProps as TextFieldPropsOld } from '@salutejs/plasma-hope';\nimport { textFieldConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { PopoverPlacement, PopoverPlacementBasic } from '@salutejs/plasma-new-hope';\n\nimport { config } from './TextField.config';\n\nconst mergedConfig = mergeConfig(textFieldConfig, config);\nexport const TextFieldComponent = component(mergedConfig);\n\ntype newHopeTextFieldProps = React.ComponentProps<typeof TextFieldComponent>;\n\ntype ClearProps =\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: boolean;\n /**\n * отобразить ли divider\n */\n hasDivider?: boolean;\n }\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: false;\n /**\n * отобразить ли divider\n */\n hasDivider?: never;\n };\n\ntype HintProps =\n | {\n /**\n * Текст тултипа\n */\n hintText: string;\n /**\n * Способ открытия тултипа - наведение или клик мышью\n */\n hintTrigger?: 'hover' | 'click';\n /**\n * Вид тултипа\n */\n hintView?: 'default';\n /**\n * Размер тултипа\n */\n hintSize?: 's' | 'm';\n /**\n * Элемент, рядом с которым произойдет вызов всплывающего окна.\n * Если свойство не задано, применится иконка по умолчанию.\n */\n hintTarget?: ReactNode;\n /**\n * Направление раскрытия тултипа.\n */\n hintPlacement?: PopoverPlacement | Array<PopoverPlacementBasic>;\n /**\n * Видимость стрелки (хвоста).\n */\n hintHasArrow?: boolean;\n /**\n * Отступ окна относительно элемента, у которого оно вызвано.\n * @default\n * [0, 8]\n */\n hintOffset?: [number, number];\n /**\n * Ширина окна (в rem).\n */\n hintWidth?: string;\n /**\n * Слот для контента слева, например `Icon`.\n */\n hintContentLeft?: ReactNode;\n }\n | {\n hintTrigger?: never;\n hintText?: never;\n hintView?: never;\n hintSize?: never;\n hintTarget?: never;\n hintPlacement?: never;\n hintHasArrow?: never;\n hintOffset?: never;\n hintWidth?: never;\n hintContentLeft?: never;\n };\n\ntype TextFieldProps = Omit<TextFieldPropsOld, 'helperText'> & {\n /**\n * Подсказка для поля ввода.\n */\n helperText?: ReactNode;\n} & ClearProps &\n HintProps;\n\nexport type CustomTextFieldProps = TextFieldProps &\n Pick<\n newHopeTextFieldProps,\n | 'enumerationType'\n | 'chips'\n | 'chipType'\n | 'onChangeChips'\n | 'titleCaption'\n | 'labelPlacement'\n | 'keepPlaceholder'\n | 'required'\n | 'requiredPlacement'\n | 'optional'\n | 'chipView'\n | 'chipValidator'\n >;\n\nconst statusToView: Record<NonNullable<TextFieldProps['status']>, NonNullable<newHopeTextFieldProps['view']>> = {\n success: 'positive',\n warning: 'warning',\n error: 'negative',\n};\nconst animatedHintToLabelPlacement: Record<\n NonNullable<TextFieldProps['animatedHint']>,\n NonNullable<newHopeTextFieldProps['labelPlacement']>\n> = {\n placeholder: 'outer',\n label: 'inner',\n};\n\n/**\n * Поле ввода текста.\n */\nexport const TextField = forwardRef<HTMLInputElement, CustomTextFieldProps>((props, ref) => {\n const {\n status,\n\n label,\n keepPlaceholder,\n placeholder,\n animatedHint,\n helperText,\n hintText,\n\n enumerationType,\n chips,\n chipView,\n chipValidator,\n onSearch,\n onChangeChips,\n chipType,\n\n size = 'l',\n\n ...rest\n } = props;\n\n /** TODO: #1064 Remove In plasma-2.0 */\n /* eslint-disable no-underscore-dangle */\n const _view = status ? statusToView[status] : 'default';\n let _labelPlacement = animatedHint ? animatedHintToLabelPlacement[animatedHint] : 'outer';\n let _label = label ? String(label) : undefined;\n\n if (size !== 'l' && _labelPlacement === 'inner' && !keepPlaceholder) {\n _label = undefined;\n _labelPlacement = 'outer';\n }\n\n if (size === 'l' && animatedHint === 'placeholder' && !label) {\n _label = placeholder;\n _labelPlacement = 'inner';\n }\n\n const labelProps = {\n label: _label,\n labelPlacement: _labelPlacement,\n keepPlaceholder,\n };\n\n if (enumerationType === 'chip') {\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"chip\"\n chips={chips}\n chipView={chipView}\n chipValidator={chipValidator}\n hintText={String(hintText || '')}\n onChangeChips={onChangeChips}\n chipType={chipType}\n />\n );\n }\n\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n label={_label}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"plain\"\n hintText={String(hintText || '')}\n onSearch={onSearch}\n />\n );\n});\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","config","TextFieldComponent","component","statusToView","success","warning","error","animatedHintToLabelPlacement","placeholder","label","TextField","forwardRef","props","ref","status","keepPlaceholder","animatedHint","helperText","hintText","enumerationType","chips","chipView","chipValidator","onSearch","onChangeChips","chipType","_props$size","size","rest","_objectWithoutProperties","_excluded","_view","_labelPlacement","_label","String","undefined","labelProps","labelPlacement","React","createElement","_extends","view","leftHelper"],"mappings":";;;;;;;;;;AAOA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,6BAAe,EAAEC,uBAAM,CAAC,CAAA;IAC5CC,kBAAkB,gBAAGC,uBAAS,CAACL,YAAY,EAAC;AA8GzD,IAAMM,YAAuG,GAAG;AAC5GC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,KAAK,EAAE,UAAA;AACX,CAAC,CAAA;A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IAAAA,IAAI,EAAEV,KAAM;AACZtB,IAAAA,KAAK,EAAEwB,MAAO;AACdN,IAAAA,IAAI,EAAEA,IAAK;AACXnB,IAAAA,WAAW,EAAEA,WAAY;AACzBkC,IAAAA,UAAU,EAAEzB,UAAW;AACvBJ,IAAAA,GAAG,EAAEA,GAAI;AACTM,IAAAA,eAAe,EAAC,OAAO;AACvBD,IAAAA,QAAQ,EAAEgB,MAAM,CAAChB,QAAQ,IAAI,EAAE,CAAE;AACjCK,IAAAA,QAAQ,EAAEA,QAAAA;AAAS,GAAA,CACtB,CAAC,CAAA;AAEV,CAAC;;;;;"}
1
+ {"version":3,"file":"TextField.js","sources":["../../../../src-css/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode } from 'react';\nimport type { TextFieldProps as TextFieldPropsOld } from '@salutejs/plasma-hope';\nimport { textFieldConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { PopoverPlacement, PopoverPlacementBasic } from '@salutejs/plasma-new-hope';\n\nimport { config } from './TextField.config';\n\nconst mergedConfig = mergeConfig(textFieldConfig, config);\nexport const TextFieldComponent = component(mergedConfig);\n\ntype newHopeTextFieldProps = React.ComponentProps<typeof TextFieldComponent>;\n\ntype ClearProps =\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: boolean;\n /**\n * отобразить ли divider\n */\n hasDivider?: boolean;\n }\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: false;\n /**\n * отобразить ли divider\n */\n hasDivider?: never;\n };\n\ntype HintProps =\n | {\n /**\n * Текст тултипа\n */\n hintText: string;\n /**\n * Способ открытия тултипа - наведение или клик мышью\n */\n hintTrigger?: 'hover' | 'click';\n /**\n * Вид тултипа\n */\n hintView?: 'default';\n /**\n * Размер тултипа\n */\n hintSize?: 's' | 'm';\n /**\n * Элемент, рядом с которым произойдет вызов всплывающего окна.\n * Если свойство не задано, применится иконка по умолчанию.\n */\n hintTarget?: ReactNode;\n /**\n * Направление раскрытия тултипа.\n */\n hintPlacement?: PopoverPlacement | Array<PopoverPlacementBasic>;\n /**\n * Видимость стрелки (хвоста).\n */\n hintHasArrow?: boolean;\n /**\n * Отступ окна относительно элемента, у которого оно вызвано.\n * @default\n * [0, 8]\n */\n hintOffset?: [number, number];\n /**\n * Ширина окна (в rem).\n */\n hintWidth?: string;\n /**\n * Слот для контента слева, например `Icon`.\n */\n hintContentLeft?: ReactNode;\n }\n | {\n hintTrigger?: never;\n hintText?: never;\n hintView?: never;\n hintSize?: never;\n hintTarget?: never;\n hintPlacement?: never;\n hintHasArrow?: never;\n hintOffset?: never;\n hintWidth?: never;\n hintContentLeft?: never;\n };\n\ntype TextFieldProps = TextFieldPropsOld & ClearProps & HintProps;\n\nexport type CustomTextFieldProps = TextFieldProps &\n Pick<\n newHopeTextFieldProps,\n | 'enumerationType'\n | 'chips'\n | 'chipType'\n | 'onChangeChips'\n | 'titleCaption'\n | 'labelPlacement'\n | 'keepPlaceholder'\n | 'required'\n | 'requiredPlacement'\n | 'optional'\n | 'chipView'\n | 'chipValidator'\n >;\n\nconst statusToView: Record<NonNullable<TextFieldProps['status']>, NonNullable<newHopeTextFieldProps['view']>> = {\n success: 'positive',\n warning: 'warning',\n error: 'negative',\n};\nconst animatedHintToLabelPlacement: Record<\n NonNullable<TextFieldProps['animatedHint']>,\n NonNullable<newHopeTextFieldProps['labelPlacement']>\n> = {\n placeholder: 'outer',\n label: 'inner',\n};\n\n/**\n * Поле ввода текста.\n */\nexport const TextField = forwardRef<HTMLInputElement, CustomTextFieldProps>((props, ref) => {\n const {\n status,\n\n label,\n keepPlaceholder,\n placeholder,\n animatedHint,\n helperText,\n hintText,\n\n enumerationType,\n chips,\n chipView,\n chipValidator,\n onSearch,\n onChangeChips,\n chipType,\n\n size = 'l',\n\n ...rest\n } = props;\n\n /** TODO: #1064 Remove In plasma-2.0 */\n /* eslint-disable no-underscore-dangle */\n const _view = status ? statusToView[status] : 'default';\n let _labelPlacement = animatedHint ? animatedHintToLabelPlacement[animatedHint] : 'outer';\n let _label = label ? String(label) : undefined;\n\n if (size !== 'l' && _labelPlacement === 'inner' && !keepPlaceholder) {\n _label = undefined;\n _labelPlacement = 'outer';\n }\n\n if (size === 'l' && animatedHint === 'placeholder' && !label) {\n _label = placeholder;\n _labelPlacement = 'inner';\n }\n\n const labelProps = {\n label: _label,\n labelPlacement: _labelPlacement,\n keepPlaceholder,\n };\n\n if (enumerationType === 'chip') {\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"chip\"\n chips={chips}\n chipView={chipView}\n chipValidator={chipValidator}\n hintText={String(hintText || '')}\n onChangeChips={onChangeChips}\n chipType={chipType}\n />\n );\n }\n\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n label={_label}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"plain\"\n hintText={String(hintText || '')}\n onSearch={onSearch}\n />\n );\n});\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","config","TextFieldComponent","component","statusToView","success","warning","error","animatedHintToLabelPlacement","placeholder","label","TextField","forwardRef","props","ref","status","keepPlaceholder","animatedHint","helperText","hintText","enumerationType","chips","chipView","chipValidator","onSearch","onChangeChips","chipType","_props$size","size","rest","_objectWithoutProperties","_excluded","_view","_labelPlacement","_label","String","undefined","labelProps","labelPlacement","React","createElement","_extends","view","leftHelper"],"mappings":";;;;;;;;;;AAOA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,6BAAe,EAAEC,uBAAM,CAAC,CAAA;IAC5CC,kBAAkB,gBAAGC,uBAAS,CAACL,YAAY,EAAC;AAwGzD,IAAMM,YAAuG,GAAG;AAC5GC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,KAAK,EAAE,UAAA;AACX,CAAC,CAAA;AACD,IAAMC,4BAGL,GAAG;AACAC,EAA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IAAAA,KAAK,EAAEwB,MAAO;AACdN,IAAAA,IAAI,EAAEA,IAAK;AACXnB,IAAAA,WAAW,EAAEA,WAAY;AACzBkC,IAAAA,UAAU,EAAEzB,UAAW;AACvBJ,IAAAA,GAAG,EAAEA,GAAI;AACTM,IAAAA,eAAe,EAAC,OAAO;AACvBD,IAAAA,QAAQ,EAAEgB,MAAM,CAAChB,QAAQ,IAAI,EAAE,CAAE;AACjCK,IAAAA,QAAQ,EAAEA,QAAAA;AAAS,GAAA,CACtB,CAAC,CAAA;AAEV,CAAC;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sources":["../../../../src-css/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode } from 'react';\nimport type { TextFieldProps as TextFieldPropsOld } from '@salutejs/plasma-hope';\nimport { textFieldConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { PopoverPlacement, PopoverPlacementBasic } from '@salutejs/plasma-new-hope';\n\nimport { config } from './TextField.config';\n\nconst mergedConfig = mergeConfig(textFieldConfig, config);\nexport const TextFieldComponent = component(mergedConfig);\n\ntype newHopeTextFieldProps = React.ComponentProps<typeof TextFieldComponent>;\n\ntype ClearProps =\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: boolean;\n /**\n * отобразить ли divider\n */\n hasDivider?: boolean;\n }\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: false;\n /**\n * отобразить ли divider\n */\n hasDivider?: never;\n };\n\ntype HintProps =\n | {\n /**\n * Текст тултипа\n */\n hintText: string;\n /**\n * Способ открытия тултипа - наведение или клик мышью\n */\n hintTrigger?: 'hover' | 'click';\n /**\n * Вид тултипа\n */\n hintView?: 'default';\n /**\n * Размер тултипа\n */\n hintSize?: 's' | 'm';\n /**\n * Элемент, рядом с которым произойдет вызов всплывающего окна.\n * Если свойство не задано, применится иконка по умолчанию.\n */\n hintTarget?: ReactNode;\n /**\n * Направление раскрытия тултипа.\n */\n hintPlacement?: PopoverPlacement | Array<PopoverPlacementBasic>;\n /**\n * Видимость стрелки (хвоста).\n */\n hintHasArrow?: boolean;\n /**\n * Отступ окна относительно элемента, у которого оно вызвано.\n * @default\n * [0, 8]\n */\n hintOffset?: [number, number];\n /**\n * Ширина окна (в rem).\n */\n hintWidth?: string;\n /**\n * Слот для контента слева, например `Icon`.\n */\n hintContentLeft?: ReactNode;\n }\n | {\n hintTrigger?: never;\n hintText?: never;\n hintView?: never;\n hintSize?: never;\n hintTarget?: never;\n hintPlacement?: never;\n hintHasArrow?: never;\n hintOffset?: never;\n hintWidth?: never;\n hintContentLeft?: never;\n };\n\ntype TextFieldProps = Omit<TextFieldPropsOld, 'helperText'> & {\n /**\n * Подсказка для поля ввода.\n */\n helperText?: ReactNode;\n} & ClearProps &\n HintProps;\n\nexport type CustomTextFieldProps = TextFieldProps &\n Pick<\n newHopeTextFieldProps,\n | 'enumerationType'\n | 'chips'\n | 'chipType'\n | 'onChangeChips'\n | 'titleCaption'\n | 'labelPlacement'\n | 'keepPlaceholder'\n | 'required'\n | 'requiredPlacement'\n | 'optional'\n | 'chipView'\n | 'chipValidator'\n >;\n\nconst statusToView: Record<NonNullable<TextFieldProps['status']>, NonNullable<newHopeTextFieldProps['view']>> = {\n success: 'positive',\n warning: 'warning',\n error: 'negative',\n};\nconst animatedHintToLabelPlacement: Record<\n NonNullable<TextFieldProps['animatedHint']>,\n NonNullable<newHopeTextFieldProps['labelPlacement']>\n> = {\n placeholder: 'outer',\n label: 'inner',\n};\n\n/**\n * Поле ввода текста.\n */\nexport const TextField = forwardRef<HTMLInputElement, CustomTextFieldProps>((props, ref) => {\n const {\n status,\n\n label,\n keepPlaceholder,\n placeholder,\n animatedHint,\n helperText,\n hintText,\n\n enumerationType,\n chips,\n chipView,\n chipValidator,\n onSearch,\n onChangeChips,\n chipType,\n\n size = 'l',\n\n ...rest\n } = props;\n\n /** TODO: #1064 Remove In plasma-2.0 */\n /* eslint-disable no-underscore-dangle */\n const _view = status ? statusToView[status] : 'default';\n let _labelPlacement = animatedHint ? animatedHintToLabelPlacement[animatedHint] : 'outer';\n let _label = label ? String(label) : undefined;\n\n if (size !== 'l' && _labelPlacement === 'inner' && !keepPlaceholder) {\n _label = undefined;\n _labelPlacement = 'outer';\n }\n\n if (size === 'l' && animatedHint === 'placeholder' && !label) {\n _label = placeholder;\n _labelPlacement = 'inner';\n }\n\n const labelProps = {\n label: _label,\n labelPlacement: _labelPlacement,\n keepPlaceholder,\n };\n\n if (enumerationType === 'chip') {\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"chip\"\n chips={chips}\n chipView={chipView}\n chipValidator={chipValidator}\n hintText={String(hintText || '')}\n onChangeChips={onChangeChips}\n chipType={chipType}\n />\n );\n }\n\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n label={_label}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"plain\"\n hintText={String(hintText || '')}\n onSearch={onSearch}\n />\n );\n});\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","config","TextFieldComponent","component","statusToView","success","warning","error","animatedHintToLabelPlacement","placeholder","label","TextField","forwardRef","props","ref","status","keepPlaceholder","animatedHint","helperText","hintText","enumerationType","chips","chipView","chipValidator","onSearch","onChangeChips","chipType","_props$size","size","rest","_objectWithoutProperties","_excluded","_view","_labelPlacement","_label","String","undefined","labelProps","labelPlacement","React","createElement","_extends","view","leftHelper"],"mappings":";;;;;;AAOA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,EAAEC,MAAM,CAAC,CAAA;IAC5CC,kBAAkB,gBAAGC,SAAS,CAACL,YAAY,EAAC;AA8GzD,IAAMM,YAAuG,GAAG;AAC5GC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,KAAK,EAAE,UAAA;AACX,CAAC,CAAA;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AAA,IAAI,EAAEV,KAAM;AACZtB,IAAAA,KAAK,EAAEwB,MAAO;AACdN,IAAAA,IAAI,EAAEA,IAAK;AACXnB,IAAAA,WAAW,EAAEA,WAAY;AACzBkC,IAAAA,UAAU,EAAEzB,UAAW;AACvBJ,IAAAA,GAAG,EAAEA,GAAI;AACTM,IAAAA,eAAe,EAAC,OAAO;AACvBD,IAAAA,QAAQ,EAAEgB,MAAM,CAAChB,QAAQ,IAAI,EAAE,CAAE;AACjCK,IAAAA,QAAQ,EAAEA,QAAAA;AAAS,GAAA,CACtB,CAAC,CAAA;AAEV,CAAC;;;;"}
1
+ {"version":3,"file":"TextField.js","sources":["../../../../src-css/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode } from 'react';\nimport type { TextFieldProps as TextFieldPropsOld } from '@salutejs/plasma-hope';\nimport { textFieldConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { PopoverPlacement, PopoverPlacementBasic } from '@salutejs/plasma-new-hope';\n\nimport { config } from './TextField.config';\n\nconst mergedConfig = mergeConfig(textFieldConfig, config);\nexport const TextFieldComponent = component(mergedConfig);\n\ntype newHopeTextFieldProps = React.ComponentProps<typeof TextFieldComponent>;\n\ntype ClearProps =\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: boolean;\n /**\n * отобразить ли divider\n */\n hasDivider?: boolean;\n }\n | {\n /**\n * view применяется с clear-токенами\n */\n clear?: false;\n /**\n * отобразить ли divider\n */\n hasDivider?: never;\n };\n\ntype HintProps =\n | {\n /**\n * Текст тултипа\n */\n hintText: string;\n /**\n * Способ открытия тултипа - наведение или клик мышью\n */\n hintTrigger?: 'hover' | 'click';\n /**\n * Вид тултипа\n */\n hintView?: 'default';\n /**\n * Размер тултипа\n */\n hintSize?: 's' | 'm';\n /**\n * Элемент, рядом с которым произойдет вызов всплывающего окна.\n * Если свойство не задано, применится иконка по умолчанию.\n */\n hintTarget?: ReactNode;\n /**\n * Направление раскрытия тултипа.\n */\n hintPlacement?: PopoverPlacement | Array<PopoverPlacementBasic>;\n /**\n * Видимость стрелки (хвоста).\n */\n hintHasArrow?: boolean;\n /**\n * Отступ окна относительно элемента, у которого оно вызвано.\n * @default\n * [0, 8]\n */\n hintOffset?: [number, number];\n /**\n * Ширина окна (в rem).\n */\n hintWidth?: string;\n /**\n * Слот для контента слева, например `Icon`.\n */\n hintContentLeft?: ReactNode;\n }\n | {\n hintTrigger?: never;\n hintText?: never;\n hintView?: never;\n hintSize?: never;\n hintTarget?: never;\n hintPlacement?: never;\n hintHasArrow?: never;\n hintOffset?: never;\n hintWidth?: never;\n hintContentLeft?: never;\n };\n\ntype TextFieldProps = TextFieldPropsOld & ClearProps & HintProps;\n\nexport type CustomTextFieldProps = TextFieldProps &\n Pick<\n newHopeTextFieldProps,\n | 'enumerationType'\n | 'chips'\n | 'chipType'\n | 'onChangeChips'\n | 'titleCaption'\n | 'labelPlacement'\n | 'keepPlaceholder'\n | 'required'\n | 'requiredPlacement'\n | 'optional'\n | 'chipView'\n | 'chipValidator'\n >;\n\nconst statusToView: Record<NonNullable<TextFieldProps['status']>, NonNullable<newHopeTextFieldProps['view']>> = {\n success: 'positive',\n warning: 'warning',\n error: 'negative',\n};\nconst animatedHintToLabelPlacement: Record<\n NonNullable<TextFieldProps['animatedHint']>,\n NonNullable<newHopeTextFieldProps['labelPlacement']>\n> = {\n placeholder: 'outer',\n label: 'inner',\n};\n\n/**\n * Поле ввода текста.\n */\nexport const TextField = forwardRef<HTMLInputElement, CustomTextFieldProps>((props, ref) => {\n const {\n status,\n\n label,\n keepPlaceholder,\n placeholder,\n animatedHint,\n helperText,\n hintText,\n\n enumerationType,\n chips,\n chipView,\n chipValidator,\n onSearch,\n onChangeChips,\n chipType,\n\n size = 'l',\n\n ...rest\n } = props;\n\n /** TODO: #1064 Remove In plasma-2.0 */\n /* eslint-disable no-underscore-dangle */\n const _view = status ? statusToView[status] : 'default';\n let _labelPlacement = animatedHint ? animatedHintToLabelPlacement[animatedHint] : 'outer';\n let _label = label ? String(label) : undefined;\n\n if (size !== 'l' && _labelPlacement === 'inner' && !keepPlaceholder) {\n _label = undefined;\n _labelPlacement = 'outer';\n }\n\n if (size === 'l' && animatedHint === 'placeholder' && !label) {\n _label = placeholder;\n _labelPlacement = 'inner';\n }\n\n const labelProps = {\n label: _label,\n labelPlacement: _labelPlacement,\n keepPlaceholder,\n };\n\n if (enumerationType === 'chip') {\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"chip\"\n chips={chips}\n chipView={chipView}\n chipValidator={chipValidator}\n hintText={String(hintText || '')}\n onChangeChips={onChangeChips}\n chipType={chipType}\n />\n );\n }\n\n return (\n <TextFieldComponent\n {...rest}\n {...labelProps}\n view={_view}\n label={_label}\n size={size}\n placeholder={placeholder}\n leftHelper={helperText}\n ref={ref}\n enumerationType=\"plain\"\n hintText={String(hintText || '')}\n onSearch={onSearch}\n />\n );\n});\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","config","TextFieldComponent","component","statusToView","success","warning","error","animatedHintToLabelPlacement","placeholder","label","TextField","forwardRef","props","ref","status","keepPlaceholder","animatedHint","helperText","hintText","enumerationType","chips","chipView","chipValidator","onSearch","onChangeChips","chipType","_props$size","size","rest","_objectWithoutProperties","_excluded","_view","_labelPlacement","_label","String","undefined","labelProps","labelPlacement","React","createElement","_extends","view","leftHelper"],"mappings":";;;;;;AAOA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,EAAEC,MAAM,CAAC,CAAA;IAC5CC,kBAAkB,gBAAGC,SAAS,CAACL,YAAY,EAAC;AAwGzD,IAAMM,YAAuG,GAAG;AAC5GC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,KAAK,EAAE,UAAA;AACX,CAAC,CAAA;AACD,IAAMC,4BAGL,GAAG;AACAC,EAAAA,WAAW,EAA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EwB,MAAO;AACdN,IAAAA,IAAI,EAAEA,IAAK;AACXnB,IAAAA,WAAW,EAAEA,WAAY;AACzBkC,IAAAA,UAAU,EAAEzB,UAAW;AACvBJ,IAAAA,GAAG,EAAEA,GAAI;AACTM,IAAAA,eAAe,EAAC,OAAO;AACvBD,IAAAA,QAAQ,EAAEgB,MAAM,CAAChB,QAAQ,IAAI,EAAE,CAAE;AACjCK,IAAAA,QAAQ,EAAEA,QAAAA;AAAS,GAAA,CACtB,CAAC,CAAA;AAEV,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.468.0-canary.1632.12235091027.0",
3
+ "version": "1.468.0-canary.1635.12250520641.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@salutejs/plasma-core": "1.187.0",
23
23
  "@salutejs/plasma-hope": "1.322.0",
24
- "@salutejs/plasma-new-hope": "0.213.0-canary.1632.12235091027.0",
24
+ "@salutejs/plasma-new-hope": "0.213.0-canary.1635.12250520641.0",
25
25
  "@salutejs/plasma-themes": "0.23.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.43.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.54.0",
@@ -112,5 +112,5 @@
112
112
  "Fanil Zubairov"
113
113
  ],
114
114
  "sideEffects": false,
115
- "gitHead": "ce8c142571f236c53784fb03e82e777912cd7e71"
115
+ "gitHead": "aee2332d2b3c409cae14a37bc28c014613a9ab52"
116
116
  }
@@ -676,7 +676,7 @@ true: PolymorphicClassName;
676
676
  };
677
677
  }> & ((BaseProps & Omit<{
678
678
  titleCaption?: ReactNode;
679
- leftHelper?: ReactNode;
679
+ leftHelper?: string | undefined;
680
680
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
681
681
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
682
682
  textBefore?: string | undefined;
@@ -706,7 +706,7 @@ chipView?: undefined;
706
706
  chipValidator?: undefined;
707
707
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
708
708
  titleCaption?: ReactNode;
709
- leftHelper?: ReactNode;
709
+ leftHelper?: string | undefined;
710
710
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
711
711
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
712
712
  textBefore?: string | undefined;
@@ -738,7 +738,7 @@ view?: string | undefined;
738
738
  }) | undefined;
739
739
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
740
740
  titleCaption?: ReactNode;
741
- leftHelper?: ReactNode;
741
+ leftHelper?: string | undefined;
742
742
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
743
743
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
744
744
  textBefore?: string | undefined;
@@ -768,7 +768,7 @@ chipView?: undefined;
768
768
  chipValidator?: undefined;
769
769
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
770
770
  titleCaption?: ReactNode;
771
- leftHelper?: ReactNode;
771
+ leftHelper?: string | undefined;
772
772
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
773
773
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
774
774
  textBefore?: string | undefined;
@@ -800,7 +800,7 @@ view?: string | undefined;
800
800
  }) | undefined;
801
801
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
802
802
  titleCaption?: ReactNode;
803
- leftHelper?: ReactNode;
803
+ leftHelper?: string | undefined;
804
804
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
805
805
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
806
806
  textBefore?: string | undefined;
@@ -830,7 +830,7 @@ chipView?: undefined;
830
830
  chipValidator?: undefined;
831
831
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
832
832
  titleCaption?: ReactNode;
833
- leftHelper?: ReactNode;
833
+ leftHelper?: string | undefined;
834
834
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
835
835
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
836
836
  textBefore?: string | undefined;
@@ -862,7 +862,7 @@ view?: string | undefined;
862
862
  }) | undefined;
863
863
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
864
864
  titleCaption?: ReactNode;
865
- leftHelper?: ReactNode;
865
+ leftHelper?: string | undefined;
866
866
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
867
867
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
868
868
  textBefore?: string | undefined;
@@ -892,7 +892,7 @@ chipView?: undefined;
892
892
  chipValidator?: undefined;
893
893
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<InputHTMLAttributes_3<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | (BaseProps & Omit<{
894
894
  titleCaption?: ReactNode;
895
- leftHelper?: ReactNode;
895
+ leftHelper?: string | undefined;
896
896
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
897
897
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
898
898
  textBefore?: string | undefined;
@@ -1898,6 +1898,7 @@ default: PolymorphicClassName;
1898
1898
  variant?: "normal" | "tight" | undefined;
1899
1899
  portal?: string | React_2.RefObject<HTMLElement> | undefined;
1900
1900
  renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined;
1901
+ zIndex?: Property.ZIndex | undefined;
1901
1902
  onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
1902
1903
  listOverflow?: Property.Overflow | undefined;
1903
1904
  listHeight?: Property.Height<string | number> | undefined;
@@ -2364,7 +2365,7 @@ readOnly?: boolean | undefined;
2364
2365
  disabled?: boolean | undefined;
2365
2366
  } & {
2366
2367
  titleCaption?: ReactNode;
2367
- leftHelper?: ReactNode;
2368
+ leftHelper?: string | undefined;
2368
2369
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2369
2370
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2370
2371
  textBefore?: string | undefined;
@@ -2440,7 +2441,7 @@ readOnly?: boolean | undefined;
2440
2441
  disabled?: boolean | undefined;
2441
2442
  } & {
2442
2443
  titleCaption?: ReactNode;
2443
- leftHelper?: ReactNode;
2444
+ leftHelper?: string | undefined;
2444
2445
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2445
2446
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2446
2447
  textBefore?: string | undefined;
@@ -2518,7 +2519,7 @@ readOnly?: boolean | undefined;
2518
2519
  disabled?: boolean | undefined;
2519
2520
  } & {
2520
2521
  titleCaption?: ReactNode;
2521
- leftHelper?: ReactNode;
2522
+ leftHelper?: string | undefined;
2522
2523
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2523
2524
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2524
2525
  textBefore?: string | undefined;
@@ -2594,7 +2595,7 @@ readOnly?: boolean | undefined;
2594
2595
  disabled?: boolean | undefined;
2595
2596
  } & {
2596
2597
  titleCaption?: ReactNode;
2597
- leftHelper?: ReactNode;
2598
+ leftHelper?: string | undefined;
2598
2599
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2599
2600
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2600
2601
  textBefore?: string | undefined;
@@ -2672,7 +2673,7 @@ readOnly?: boolean | undefined;
2672
2673
  disabled?: boolean | undefined;
2673
2674
  } & {
2674
2675
  titleCaption?: ReactNode;
2675
- leftHelper?: ReactNode;
2676
+ leftHelper?: string | undefined;
2676
2677
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2677
2678
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2678
2679
  textBefore?: string | undefined;
@@ -2748,7 +2749,7 @@ readOnly?: boolean | undefined;
2748
2749
  disabled?: boolean | undefined;
2749
2750
  } & {
2750
2751
  titleCaption?: ReactNode;
2751
- leftHelper?: ReactNode;
2752
+ leftHelper?: string | undefined;
2752
2753
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2753
2754
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2754
2755
  textBefore?: string | undefined;
@@ -2826,7 +2827,7 @@ readOnly?: boolean | undefined;
2826
2827
  disabled?: boolean | undefined;
2827
2828
  } & {
2828
2829
  titleCaption?: ReactNode;
2829
- leftHelper?: ReactNode;
2830
+ leftHelper?: string | undefined;
2830
2831
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2831
2832
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2832
2833
  textBefore?: string | undefined;
@@ -2902,7 +2903,7 @@ readOnly?: boolean | undefined;
2902
2903
  disabled?: boolean | undefined;
2903
2904
  } & {
2904
2905
  titleCaption?: ReactNode;
2905
- leftHelper?: ReactNode;
2906
+ leftHelper?: string | undefined;
2906
2907
  contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2907
2908
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2908
2909
  textBefore?: string | undefined;
@@ -3791,7 +3792,7 @@ titleCaption?: ReactNode;
3791
3792
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3792
3793
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3793
3794
  helperText?: string | undefined;
3794
- leftHelper?: ReactNode;
3795
+ leftHelper?: string | undefined;
3795
3796
  rightHelper?: string | undefined;
3796
3797
  leftHelperPlacement?: "outer" | "inner" | undefined;
3797
3798
  } & {
@@ -3834,7 +3835,7 @@ titleCaption?: ReactNode;
3834
3835
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3835
3836
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3836
3837
  helperText?: string | undefined;
3837
- leftHelper?: ReactNode;
3838
+ leftHelper?: string | undefined;
3838
3839
  rightHelper?: string | undefined;
3839
3840
  leftHelperPlacement?: "outer" | "inner" | undefined;
3840
3841
  } & {
@@ -3877,7 +3878,7 @@ titleCaption?: ReactNode;
3877
3878
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3878
3879
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3879
3880
  helperText?: string | undefined;
3880
- leftHelper?: ReactNode;
3881
+ leftHelper?: string | undefined;
3881
3882
  rightHelper?: string | undefined;
3882
3883
  leftHelperPlacement?: "outer" | "inner" | undefined;
3883
3884
  } & {
@@ -3920,7 +3921,7 @@ titleCaption?: ReactNode;
3920
3921
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3921
3922
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3922
3923
  helperText?: string | undefined;
3923
- leftHelper?: ReactNode;
3924
+ leftHelper?: string | undefined;
3924
3925
  rightHelper?: string | undefined;
3925
3926
  leftHelperPlacement?: "outer" | "inner" | undefined;
3926
3927
  } & {
@@ -3963,7 +3964,7 @@ titleCaption?: ReactNode;
3963
3964
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3964
3965
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3965
3966
  helperText?: string | undefined;
3966
- leftHelper?: ReactNode;
3967
+ leftHelper?: string | undefined;
3967
3968
  rightHelper?: string | undefined;
3968
3969
  leftHelperPlacement?: "outer" | "inner" | undefined;
3969
3970
  } & {
@@ -4006,7 +4007,7 @@ titleCaption?: ReactNode;
4006
4007
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
4007
4008
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
4008
4009
  helperText?: string | undefined;
4009
- leftHelper?: ReactNode;
4010
+ leftHelper?: string | undefined;
4010
4011
  rightHelper?: string | undefined;
4011
4012
  leftHelperPlacement?: "outer" | "inner" | undefined;
4012
4013
  } & {
@@ -4049,7 +4050,7 @@ titleCaption?: ReactNode;
4049
4050
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
4050
4051
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
4051
4052
  helperText?: string | undefined;
4052
- leftHelper?: ReactNode;
4053
+ leftHelper?: string | undefined;
4053
4054
  rightHelper?: string | undefined;
4054
4055
  leftHelperPlacement?: "outer" | "inner" | undefined;
4055
4056
  } & {
@@ -4092,7 +4093,7 @@ titleCaption?: ReactNode;
4092
4093
  contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
4093
4094
  resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
4094
4095
  helperText?: string | undefined;
4095
- leftHelper?: ReactNode;
4096
+ leftHelper?: string | undefined;
4096
4097
  rightHelper?: string | undefined;
4097
4098
  leftHelperPlacement?: "outer" | "inner" | undefined;
4098
4099
  } & {