@salutejs/plasma-web 1.469.0-canary.1635.12256412797.0 → 1.469.0-canary.1636.12255416011.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +24 -24
- package/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/components/Mask/Mask.d.ts +8 -8
- package/components/TextArea/TextArea.d.ts +8 -8
- package/components/TextField/TextField.d.ts +17 -22
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/package.json +3 -3
- package/temp/plasma-web.api.md +24 -24
package/api/plasma-web.api.md
CHANGED
@@ -676,7 +676,7 @@ true: PolymorphicClassName;
|
|
676
676
|
};
|
677
677
|
}> & ((BaseProps & Omit<{
|
678
678
|
titleCaption?: ReactNode;
|
679
|
-
leftHelper?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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;
|
@@ -2365,7 +2365,7 @@ readOnly?: boolean | undefined;
|
|
2365
2365
|
disabled?: boolean | undefined;
|
2366
2366
|
} & {
|
2367
2367
|
titleCaption?: ReactNode;
|
2368
|
-
leftHelper?:
|
2368
|
+
leftHelper?: string | undefined;
|
2369
2369
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2370
2370
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2371
2371
|
textBefore?: string | undefined;
|
@@ -2441,7 +2441,7 @@ readOnly?: boolean | undefined;
|
|
2441
2441
|
disabled?: boolean | undefined;
|
2442
2442
|
} & {
|
2443
2443
|
titleCaption?: ReactNode;
|
2444
|
-
leftHelper?:
|
2444
|
+
leftHelper?: string | undefined;
|
2445
2445
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2446
2446
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2447
2447
|
textBefore?: string | undefined;
|
@@ -2519,7 +2519,7 @@ readOnly?: boolean | undefined;
|
|
2519
2519
|
disabled?: boolean | undefined;
|
2520
2520
|
} & {
|
2521
2521
|
titleCaption?: ReactNode;
|
2522
|
-
leftHelper?:
|
2522
|
+
leftHelper?: string | undefined;
|
2523
2523
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2524
2524
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2525
2525
|
textBefore?: string | undefined;
|
@@ -2595,7 +2595,7 @@ readOnly?: boolean | undefined;
|
|
2595
2595
|
disabled?: boolean | undefined;
|
2596
2596
|
} & {
|
2597
2597
|
titleCaption?: ReactNode;
|
2598
|
-
leftHelper?:
|
2598
|
+
leftHelper?: string | undefined;
|
2599
2599
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2600
2600
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2601
2601
|
textBefore?: string | undefined;
|
@@ -2673,7 +2673,7 @@ readOnly?: boolean | undefined;
|
|
2673
2673
|
disabled?: boolean | undefined;
|
2674
2674
|
} & {
|
2675
2675
|
titleCaption?: ReactNode;
|
2676
|
-
leftHelper?:
|
2676
|
+
leftHelper?: string | undefined;
|
2677
2677
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2678
2678
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2679
2679
|
textBefore?: string | undefined;
|
@@ -2749,7 +2749,7 @@ readOnly?: boolean | undefined;
|
|
2749
2749
|
disabled?: boolean | undefined;
|
2750
2750
|
} & {
|
2751
2751
|
titleCaption?: ReactNode;
|
2752
|
-
leftHelper?:
|
2752
|
+
leftHelper?: string | undefined;
|
2753
2753
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2754
2754
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2755
2755
|
textBefore?: string | undefined;
|
@@ -2827,7 +2827,7 @@ readOnly?: boolean | undefined;
|
|
2827
2827
|
disabled?: boolean | undefined;
|
2828
2828
|
} & {
|
2829
2829
|
titleCaption?: ReactNode;
|
2830
|
-
leftHelper?:
|
2830
|
+
leftHelper?: string | undefined;
|
2831
2831
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2832
2832
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2833
2833
|
textBefore?: string | undefined;
|
@@ -2903,7 +2903,7 @@ readOnly?: boolean | undefined;
|
|
2903
2903
|
disabled?: boolean | undefined;
|
2904
2904
|
} & {
|
2905
2905
|
titleCaption?: ReactNode;
|
2906
|
-
leftHelper?:
|
2906
|
+
leftHelper?: string | undefined;
|
2907
2907
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2908
2908
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2909
2909
|
textBefore?: string | undefined;
|
@@ -3792,7 +3792,7 @@ titleCaption?: ReactNode;
|
|
3792
3792
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3793
3793
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3794
3794
|
helperText?: string | undefined;
|
3795
|
-
leftHelper?:
|
3795
|
+
leftHelper?: string | undefined;
|
3796
3796
|
rightHelper?: string | undefined;
|
3797
3797
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3798
3798
|
} & {
|
@@ -3835,7 +3835,7 @@ titleCaption?: ReactNode;
|
|
3835
3835
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3836
3836
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3837
3837
|
helperText?: string | undefined;
|
3838
|
-
leftHelper?:
|
3838
|
+
leftHelper?: string | undefined;
|
3839
3839
|
rightHelper?: string | undefined;
|
3840
3840
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3841
3841
|
} & {
|
@@ -3878,7 +3878,7 @@ titleCaption?: ReactNode;
|
|
3878
3878
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3879
3879
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3880
3880
|
helperText?: string | undefined;
|
3881
|
-
leftHelper?:
|
3881
|
+
leftHelper?: string | undefined;
|
3882
3882
|
rightHelper?: string | undefined;
|
3883
3883
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3884
3884
|
} & {
|
@@ -3921,7 +3921,7 @@ titleCaption?: ReactNode;
|
|
3921
3921
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3922
3922
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3923
3923
|
helperText?: string | undefined;
|
3924
|
-
leftHelper?:
|
3924
|
+
leftHelper?: string | undefined;
|
3925
3925
|
rightHelper?: string | undefined;
|
3926
3926
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3927
3927
|
} & {
|
@@ -3964,7 +3964,7 @@ titleCaption?: ReactNode;
|
|
3964
3964
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3965
3965
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3966
3966
|
helperText?: string | undefined;
|
3967
|
-
leftHelper?:
|
3967
|
+
leftHelper?: string | undefined;
|
3968
3968
|
rightHelper?: string | undefined;
|
3969
3969
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3970
3970
|
} & {
|
@@ -4007,7 +4007,7 @@ titleCaption?: ReactNode;
|
|
4007
4007
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
4008
4008
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
4009
4009
|
helperText?: string | undefined;
|
4010
|
-
leftHelper?:
|
4010
|
+
leftHelper?: string | undefined;
|
4011
4011
|
rightHelper?: string | undefined;
|
4012
4012
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
4013
4013
|
} & {
|
@@ -4050,7 +4050,7 @@ titleCaption?: ReactNode;
|
|
4050
4050
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
4051
4051
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
4052
4052
|
helperText?: string | undefined;
|
4053
|
-
leftHelper?:
|
4053
|
+
leftHelper?: string | undefined;
|
4054
4054
|
rightHelper?: string | undefined;
|
4055
4055
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
4056
4056
|
} & {
|
@@ -4093,7 +4093,7 @@ titleCaption?: ReactNode;
|
|
4093
4093
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
4094
4094
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
4095
4095
|
helperText?: string | undefined;
|
4096
|
-
leftHelper?:
|
4096
|
+
leftHelper?: string | undefined;
|
4097
4097
|
rightHelper?: string | undefined;
|
4098
4098
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
4099
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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;
|
@@ -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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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;
|
@@ -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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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;
|
52
|
-
leftHelper?:
|
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;
|
87
|
-
leftHelper?:
|
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;
|
128
|
-
leftHelper?:
|
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;
|
163
|
-
leftHelper?:
|
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;
|
204
|
-
leftHelper?:
|
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;
|
239
|
-
leftHelper?:
|
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;
|
280
|
-
leftHelper?:
|
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;
|
315
|
-
leftHelper?:
|
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 =
|
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 =
|
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,EAAAA,WAAW,EAAE,OAAO;AACpBC,EAAAA,KAAK,EAAE,OAAA;AACX,CAAC,CAAA;;AAED;AACA;AACA;AACO,IAAMC,SAAS,gBAAGC,gBAAU,CAAyC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACxF,EAAA,IACIC,MAAM,GAoBNF,KAAK,CApBLE,MAAM;IAEN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Q,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 =
|
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,EAAE,OAAO;AACpBC,EAAAA,KAAK,EAAE,OAAA;AACX,CAAC,CAAA;;AAED;AACA;AACA;AACO,IAAMC,SAAS,gBAAGC,UAAU,CAAyC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACxF,EAAA,IACIC,MAAM,GAoBNF,KAAK,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BD,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.469.0-canary.
|
3
|
+
"version": "1.469.0-canary.1636.12255416011.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.323.0-dev.0",
|
24
|
-
"@salutejs/plasma-new-hope": "0.214.0-canary.
|
24
|
+
"@salutejs/plasma-new-hope": "0.214.0-canary.1636.12255416011.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": "
|
115
|
+
"gitHead": "1f80a24f0a273cd7ef90440a3412bbae26f9ddf8"
|
116
116
|
}
|
package/temp/plasma-web.api.md
CHANGED
@@ -676,7 +676,7 @@ true: PolymorphicClassName;
|
|
676
676
|
};
|
677
677
|
}> & ((BaseProps & Omit<{
|
678
678
|
titleCaption?: ReactNode;
|
679
|
-
leftHelper?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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?:
|
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;
|
@@ -2365,7 +2365,7 @@ readOnly?: boolean | undefined;
|
|
2365
2365
|
disabled?: boolean | undefined;
|
2366
2366
|
} & {
|
2367
2367
|
titleCaption?: ReactNode;
|
2368
|
-
leftHelper?:
|
2368
|
+
leftHelper?: string | undefined;
|
2369
2369
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2370
2370
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2371
2371
|
textBefore?: string | undefined;
|
@@ -2441,7 +2441,7 @@ readOnly?: boolean | undefined;
|
|
2441
2441
|
disabled?: boolean | undefined;
|
2442
2442
|
} & {
|
2443
2443
|
titleCaption?: ReactNode;
|
2444
|
-
leftHelper?:
|
2444
|
+
leftHelper?: string | undefined;
|
2445
2445
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2446
2446
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2447
2447
|
textBefore?: string | undefined;
|
@@ -2519,7 +2519,7 @@ readOnly?: boolean | undefined;
|
|
2519
2519
|
disabled?: boolean | undefined;
|
2520
2520
|
} & {
|
2521
2521
|
titleCaption?: ReactNode;
|
2522
|
-
leftHelper?:
|
2522
|
+
leftHelper?: string | undefined;
|
2523
2523
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2524
2524
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2525
2525
|
textBefore?: string | undefined;
|
@@ -2595,7 +2595,7 @@ readOnly?: boolean | undefined;
|
|
2595
2595
|
disabled?: boolean | undefined;
|
2596
2596
|
} & {
|
2597
2597
|
titleCaption?: ReactNode;
|
2598
|
-
leftHelper?:
|
2598
|
+
leftHelper?: string | undefined;
|
2599
2599
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2600
2600
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2601
2601
|
textBefore?: string | undefined;
|
@@ -2673,7 +2673,7 @@ readOnly?: boolean | undefined;
|
|
2673
2673
|
disabled?: boolean | undefined;
|
2674
2674
|
} & {
|
2675
2675
|
titleCaption?: ReactNode;
|
2676
|
-
leftHelper?:
|
2676
|
+
leftHelper?: string | undefined;
|
2677
2677
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2678
2678
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2679
2679
|
textBefore?: string | undefined;
|
@@ -2749,7 +2749,7 @@ readOnly?: boolean | undefined;
|
|
2749
2749
|
disabled?: boolean | undefined;
|
2750
2750
|
} & {
|
2751
2751
|
titleCaption?: ReactNode;
|
2752
|
-
leftHelper?:
|
2752
|
+
leftHelper?: string | undefined;
|
2753
2753
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2754
2754
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2755
2755
|
textBefore?: string | undefined;
|
@@ -2827,7 +2827,7 @@ readOnly?: boolean | undefined;
|
|
2827
2827
|
disabled?: boolean | undefined;
|
2828
2828
|
} & {
|
2829
2829
|
titleCaption?: ReactNode;
|
2830
|
-
leftHelper?:
|
2830
|
+
leftHelper?: string | undefined;
|
2831
2831
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2832
2832
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2833
2833
|
textBefore?: string | undefined;
|
@@ -2903,7 +2903,7 @@ readOnly?: boolean | undefined;
|
|
2903
2903
|
disabled?: boolean | undefined;
|
2904
2904
|
} & {
|
2905
2905
|
titleCaption?: ReactNode;
|
2906
|
-
leftHelper?:
|
2906
|
+
leftHelper?: string | undefined;
|
2907
2907
|
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2908
2908
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2909
2909
|
textBefore?: string | undefined;
|
@@ -3792,7 +3792,7 @@ titleCaption?: ReactNode;
|
|
3792
3792
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3793
3793
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3794
3794
|
helperText?: string | undefined;
|
3795
|
-
leftHelper?:
|
3795
|
+
leftHelper?: string | undefined;
|
3796
3796
|
rightHelper?: string | undefined;
|
3797
3797
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3798
3798
|
} & {
|
@@ -3835,7 +3835,7 @@ titleCaption?: ReactNode;
|
|
3835
3835
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3836
3836
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3837
3837
|
helperText?: string | undefined;
|
3838
|
-
leftHelper?:
|
3838
|
+
leftHelper?: string | undefined;
|
3839
3839
|
rightHelper?: string | undefined;
|
3840
3840
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3841
3841
|
} & {
|
@@ -3878,7 +3878,7 @@ titleCaption?: ReactNode;
|
|
3878
3878
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3879
3879
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3880
3880
|
helperText?: string | undefined;
|
3881
|
-
leftHelper?:
|
3881
|
+
leftHelper?: string | undefined;
|
3882
3882
|
rightHelper?: string | undefined;
|
3883
3883
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3884
3884
|
} & {
|
@@ -3921,7 +3921,7 @@ titleCaption?: ReactNode;
|
|
3921
3921
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3922
3922
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3923
3923
|
helperText?: string | undefined;
|
3924
|
-
leftHelper?:
|
3924
|
+
leftHelper?: string | undefined;
|
3925
3925
|
rightHelper?: string | undefined;
|
3926
3926
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3927
3927
|
} & {
|
@@ -3964,7 +3964,7 @@ titleCaption?: ReactNode;
|
|
3964
3964
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3965
3965
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
3966
3966
|
helperText?: string | undefined;
|
3967
|
-
leftHelper?:
|
3967
|
+
leftHelper?: string | undefined;
|
3968
3968
|
rightHelper?: string | undefined;
|
3969
3969
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
3970
3970
|
} & {
|
@@ -4007,7 +4007,7 @@ titleCaption?: ReactNode;
|
|
4007
4007
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
4008
4008
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
4009
4009
|
helperText?: string | undefined;
|
4010
|
-
leftHelper?:
|
4010
|
+
leftHelper?: string | undefined;
|
4011
4011
|
rightHelper?: string | undefined;
|
4012
4012
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
4013
4013
|
} & {
|
@@ -4050,7 +4050,7 @@ titleCaption?: ReactNode;
|
|
4050
4050
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
4051
4051
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
4052
4052
|
helperText?: string | undefined;
|
4053
|
-
leftHelper?:
|
4053
|
+
leftHelper?: string | undefined;
|
4054
4054
|
rightHelper?: string | undefined;
|
4055
4055
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
4056
4056
|
} & {
|
@@ -4093,7 +4093,7 @@ titleCaption?: ReactNode;
|
|
4093
4093
|
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
4094
4094
|
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
4095
4095
|
helperText?: string | undefined;
|
4096
|
-
leftHelper?:
|
4096
|
+
leftHelper?: string | undefined;
|
4097
4097
|
rightHelper?: string | undefined;
|
4098
4098
|
leftHelperPlacement?: "outer" | "inner" | undefined;
|
4099
4099
|
} & {
|