@salutejs/plasma-web 1.410.0-canary.1451.11123209424.0 → 1.410.0-canary.1459.11144116576.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/api/plasma-web.api.md +9 -194
  2. package/components/Mask/Mask.d.ts +2 -189
  3. package/components/TextArea/TextArea.config.d.ts +8 -2
  4. package/components/TextArea/TextArea.config.js +19 -13
  5. package/components/TextArea/index.d.ts +69 -11
  6. package/components/TextField/TextField.config.d.ts +10 -0
  7. package/components/TextField/TextField.config.js +21 -11
  8. package/components/TextField/TextField.d.ts +71 -133
  9. package/components/TextField/TextField.js +7 -1
  10. package/css/cjs/components/Mask/Mask.css +17 -11
  11. package/css/cjs/components/Mask/Mask.js.map +1 -1
  12. package/css/cjs/components/TextArea/TextArea.config.js +10 -4
  13. package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  14. package/css/cjs/components/TextArea/TextArea.config_x2q794.css +15 -0
  15. package/css/cjs/components/TextArea/TextArea.css +15 -11
  16. package/css/cjs/components/TextField/TextField.config.js +13 -3
  17. package/css/cjs/components/TextField/TextField.config.js.map +1 -1
  18. package/css/cjs/components/TextField/TextField.config_154a2c1.css +18 -0
  19. package/css/cjs/components/TextField/TextField.js +7 -1
  20. package/css/cjs/components/TextField/TextField.js.map +1 -1
  21. package/css/cjs/index.css +34 -24
  22. package/css/es/components/Mask/Mask.css +17 -11
  23. package/css/es/components/Mask/Mask.js.map +1 -1
  24. package/css/es/components/TextArea/TextArea.config.js +10 -4
  25. package/css/es/components/TextArea/TextArea.config.js.map +1 -1
  26. package/css/es/components/TextArea/TextArea.config_x2q794.css +15 -0
  27. package/css/es/components/TextArea/TextArea.css +15 -11
  28. package/css/es/components/TextField/TextField.config.js +13 -3
  29. package/css/es/components/TextField/TextField.config.js.map +1 -1
  30. package/css/es/components/TextField/TextField.config_154a2c1.css +18 -0
  31. package/css/es/components/TextField/TextField.js +7 -1
  32. package/css/es/components/TextField/TextField.js.map +1 -1
  33. package/css/es/index.css +34 -24
  34. package/es/components/TextArea/TextArea.config.js +19 -13
  35. package/es/components/TextField/TextField.config.js +21 -11
  36. package/es/components/TextField/TextField.js +7 -1
  37. package/package.json +3 -3
  38. package/temp/plasma-web.api.md +9 -194
  39. package/css/cjs/components/TextArea/TextArea.config_tqsldq.css +0 -11
  40. package/css/cjs/components/TextField/TextField.config_1sbw8b3.css +0 -12
  41. package/css/es/components/TextArea/TextArea.config_tqsldq.css +0 -11
  42. package/css/es/components/TextField/TextField.config_1sbw8b3.css +0 -12
@@ -153,7 +153,6 @@ import { InputHTMLAttributes } from '@salutejs/plasma-core';
153
153
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
154
154
  import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
155
155
  import { JSXElementConstructor } from 'react';
156
- import { KeyboardEvent as KeyboardEvent_2 } from 'react';
157
156
  import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
158
157
  import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
159
158
  import { List } from '@salutejs/plasma-hope';
@@ -189,6 +188,9 @@ import { PickOptional } from '@salutejs/plasma-core';
189
188
  import { PinProps } from '@salutejs/plasma-core';
190
189
  import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
191
190
  import { PopoverPlacement } from '@salutejs/plasma-new-hope/styled-components';
191
+ import type { PopoverPlacement as PopoverPlacement_2 } from '@salutejs/plasma-new-hope';
192
+ import type { PopoverPlacementBasic } from '@salutejs/plasma-new-hope';
193
+ import type { PopoverPlacementBasic as PopoverPlacementBasic_2 } from '@salutejs/plasma-new-hope/styled-components';
192
194
  import { PopoverProps } from '@salutejs/plasma-new-hope/styled-components';
193
195
  import { PopoverTrigger } from '@salutejs/plasma-new-hope/styled-components';
194
196
  import { Popup } from '@salutejs/plasma-hope';
@@ -277,9 +279,9 @@ import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
277
279
  import type { TextAreaProps as TextAreaProps_2 } from '@salutejs/plasma-hope';
278
280
  import { TextareaResize } from '@salutejs/plasma-core';
279
281
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
280
- import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
281
282
  import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
282
283
  import type { TextFieldProps as TextFieldProps_3 } from '@salutejs/plasma-hope';
284
+ import type { TextFieldProps as TextFieldProps_4 } from '@salutejs/plasma-new-hope/styled-components';
283
285
  import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
284
286
  import { TextFieldView } from '@salutejs/plasma-hope';
285
287
  import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
@@ -2089,195 +2091,7 @@ export { List }
2089
2091
  export { ListItem }
2090
2092
 
2091
2093
  // @public (undocumented)
2092
- export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
2093
- view: {
2094
- default: PolymorphicClassName;
2095
- positive: PolymorphicClassName;
2096
- warning: PolymorphicClassName;
2097
- negative: PolymorphicClassName;
2098
- };
2099
- size: {
2100
- l: PolymorphicClassName;
2101
- m: PolymorphicClassName;
2102
- s: PolymorphicClassName;
2103
- xs: PolymorphicClassName;
2104
- };
2105
- labelPlacement: {
2106
- inner: PolymorphicClassName;
2107
- outer: PolymorphicClassName;
2108
- };
2109
- disabled: {
2110
- true: PolymorphicClassName;
2111
- };
2112
- readOnly: {
2113
- true: PolymorphicClassName;
2114
- };
2115
- }> & {
2116
- size?: string | undefined;
2117
- view?: string | undefined;
2118
- readOnly?: boolean | undefined;
2119
- disabled?: boolean | undefined;
2120
- } & {
2121
- label?: string | undefined;
2122
- labelPlacement?: "outer" | "inner" | undefined;
2123
- leftHelper?: string | undefined;
2124
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2125
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2126
- textBefore?: string | undefined;
2127
- textAfter?: string | undefined;
2128
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2129
- } & {
2130
- requiredPlacement?: "right" | "left" | undefined;
2131
- } & {
2132
- required: true;
2133
- optional?: false | undefined;
2134
- } & {
2135
- chips?: undefined;
2136
- onChangeChips?: undefined;
2137
- enumerationType?: "plain" | undefined;
2138
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2139
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2140
- view: {
2141
- default: PolymorphicClassName;
2142
- positive: PolymorphicClassName;
2143
- warning: PolymorphicClassName;
2144
- negative: PolymorphicClassName;
2145
- };
2146
- size: {
2147
- l: PolymorphicClassName;
2148
- m: PolymorphicClassName;
2149
- s: PolymorphicClassName;
2150
- xs: PolymorphicClassName;
2151
- };
2152
- labelPlacement: {
2153
- inner: PolymorphicClassName;
2154
- outer: PolymorphicClassName;
2155
- };
2156
- disabled: {
2157
- true: PolymorphicClassName;
2158
- };
2159
- readOnly: {
2160
- true: PolymorphicClassName;
2161
- };
2162
- }> & {
2163
- size?: string | undefined;
2164
- view?: string | undefined;
2165
- readOnly?: boolean | undefined;
2166
- disabled?: boolean | undefined;
2167
- } & {
2168
- label?: string | undefined;
2169
- labelPlacement?: "outer" | "inner" | undefined;
2170
- leftHelper?: string | undefined;
2171
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2172
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2173
- textBefore?: string | undefined;
2174
- textAfter?: string | undefined;
2175
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2176
- } & {
2177
- requiredPlacement?: "right" | "left" | undefined;
2178
- } & {
2179
- required: true;
2180
- optional?: false | undefined;
2181
- } & {
2182
- enumerationType: "chip";
2183
- onSearch?: undefined;
2184
- chips?: TextFieldPrimitiveValue[] | undefined;
2185
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2186
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2187
- view: {
2188
- default: PolymorphicClassName;
2189
- positive: PolymorphicClassName;
2190
- warning: PolymorphicClassName;
2191
- negative: PolymorphicClassName;
2192
- };
2193
- size: {
2194
- l: PolymorphicClassName;
2195
- m: PolymorphicClassName;
2196
- s: PolymorphicClassName;
2197
- xs: PolymorphicClassName;
2198
- };
2199
- labelPlacement: {
2200
- inner: PolymorphicClassName;
2201
- outer: PolymorphicClassName;
2202
- };
2203
- disabled: {
2204
- true: PolymorphicClassName;
2205
- };
2206
- readOnly: {
2207
- true: PolymorphicClassName;
2208
- };
2209
- }> & {
2210
- size?: string | undefined;
2211
- view?: string | undefined;
2212
- readOnly?: boolean | undefined;
2213
- disabled?: boolean | undefined;
2214
- } & {
2215
- label?: string | undefined;
2216
- labelPlacement?: "outer" | "inner" | undefined;
2217
- leftHelper?: string | undefined;
2218
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2219
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2220
- textBefore?: string | undefined;
2221
- textAfter?: string | undefined;
2222
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2223
- } & {
2224
- requiredPlacement?: "right" | "left" | undefined;
2225
- } & {
2226
- optional?: true | undefined;
2227
- required?: false | undefined;
2228
- } & {
2229
- chips?: undefined;
2230
- onChangeChips?: undefined;
2231
- enumerationType?: "plain" | undefined;
2232
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2233
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2234
- view: {
2235
- default: PolymorphicClassName;
2236
- positive: PolymorphicClassName;
2237
- warning: PolymorphicClassName;
2238
- negative: PolymorphicClassName;
2239
- };
2240
- size: {
2241
- l: PolymorphicClassName;
2242
- m: PolymorphicClassName;
2243
- s: PolymorphicClassName;
2244
- xs: PolymorphicClassName;
2245
- };
2246
- labelPlacement: {
2247
- inner: PolymorphicClassName;
2248
- outer: PolymorphicClassName;
2249
- };
2250
- disabled: {
2251
- true: PolymorphicClassName;
2252
- };
2253
- readOnly: {
2254
- true: PolymorphicClassName;
2255
- };
2256
- }> & {
2257
- size?: string | undefined;
2258
- view?: string | undefined;
2259
- readOnly?: boolean | undefined;
2260
- disabled?: boolean | undefined;
2261
- } & {
2262
- label?: string | undefined;
2263
- labelPlacement?: "outer" | "inner" | undefined;
2264
- leftHelper?: string | undefined;
2265
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2266
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2267
- textBefore?: string | undefined;
2268
- textAfter?: string | undefined;
2269
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2270
- } & {
2271
- requiredPlacement?: "right" | "left" | undefined;
2272
- } & {
2273
- optional?: true | undefined;
2274
- required?: false | undefined;
2275
- } & {
2276
- enumerationType: "chip";
2277
- onSearch?: undefined;
2278
- chips?: TextFieldPrimitiveValue[] | undefined;
2279
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2280
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
2094
+ export const Mask: ForwardRefExoticComponent<(TextFieldProps_4 & MaskProps) & RefAttributes<HTMLInputElement>>;
2281
2095
 
2282
2096
  export { MaxLinesProps }
2283
2097
 
@@ -3035,12 +2849,13 @@ export const TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<H
3035
2849
  export { TextareaHTMLAttributes }
3036
2850
 
3037
2851
  // Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
3038
- // Warning: (ae-forgotten-export) The symbol "ClearProps" needs to be exported by the entry point index.d.ts
2852
+ // Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
3039
2853
  //
3040
2854
  // @public (undocumented)
3041
2855
  export type TextAreaProps = TextAreaProps_2 & {
3042
2856
  resize?: 'none' | 'both' | 'horizontal' | 'vertical';
3043
- } & RequiredProps & ClearProps;
2857
+ titleCaption?: ReactNode;
2858
+ } & RequiredProps & HintProps;
3044
2859
 
3045
2860
  export { TextareaResize }
3046
2861
 
@@ -3096,7 +2911,7 @@ export { TextFieldGroupProps }
3096
2911
  // Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
3097
2912
  //
3098
2913
  // @public (undocumented)
3099
- export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>;
2914
+ export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips' | 'titleCaption'>;
3100
2915
 
3101
2916
  export { TextFieldView }
3102
2917
 
@@ -1,190 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
3
- view: {
4
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
5
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
6
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
8
- };
9
- size: {
10
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
- };
15
- labelPlacement: {
16
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
- };
19
- disabled: {
20
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
- };
22
- readOnly: {
23
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
- };
25
- }> & {
26
- size?: string | undefined;
27
- view?: string | undefined;
28
- readOnly?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- } & {
31
- label?: string | undefined;
32
- labelPlacement?: "outer" | "inner" | undefined;
33
- leftHelper?: string | undefined;
34
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
- textBefore?: string | undefined;
37
- textAfter?: string | undefined;
38
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
- } & {
40
- requiredPlacement?: "right" | "left" | undefined;
41
- } & {
42
- required: true;
43
- optional?: false | undefined;
44
- } & {
45
- chips?: undefined;
46
- onChangeChips?: undefined;
47
- enumerationType?: "plain" | undefined;
48
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
49
- } & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
50
- view: {
51
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
52
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
53
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
54
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
55
- };
56
- size: {
57
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
58
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
59
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
60
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
61
- };
62
- labelPlacement: {
63
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
64
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
65
- };
66
- disabled: {
67
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
68
- };
69
- readOnly: {
70
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
71
- };
72
- }> & {
73
- size?: string | undefined;
74
- view?: string | undefined;
75
- readOnly?: boolean | undefined;
76
- disabled?: boolean | undefined;
77
- } & {
78
- label?: string | undefined;
79
- labelPlacement?: "outer" | "inner" | undefined;
80
- leftHelper?: string | undefined;
81
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
82
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
83
- textBefore?: string | undefined;
84
- textAfter?: string | undefined;
85
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
86
- } & {
87
- requiredPlacement?: "right" | "left" | undefined;
88
- } & {
89
- required: true;
90
- optional?: false | undefined;
91
- } & {
92
- enumerationType: "chip";
93
- onSearch?: undefined;
94
- chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
95
- onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
96
- } & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
97
- view: {
98
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
99
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
100
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
101
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
102
- };
103
- size: {
104
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
105
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
106
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
107
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
108
- };
109
- labelPlacement: {
110
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
111
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
112
- };
113
- disabled: {
114
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
115
- };
116
- readOnly: {
117
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
118
- };
119
- }> & {
120
- size?: string | undefined;
121
- view?: string | undefined;
122
- readOnly?: boolean | undefined;
123
- disabled?: boolean | undefined;
124
- } & {
125
- label?: string | undefined;
126
- labelPlacement?: "outer" | "inner" | undefined;
127
- leftHelper?: string | undefined;
128
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
129
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
130
- textBefore?: string | undefined;
131
- textAfter?: string | undefined;
132
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
133
- } & {
134
- requiredPlacement?: "right" | "left" | undefined;
135
- } & {
136
- optional?: true | undefined;
137
- required?: false | undefined;
138
- } & {
139
- chips?: undefined;
140
- onChangeChips?: undefined;
141
- enumerationType?: "plain" | undefined;
142
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
143
- } & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
144
- view: {
145
- default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
146
- positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
147
- warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
148
- negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
149
- };
150
- size: {
151
- l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
152
- m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
153
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
154
- xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
155
- };
156
- labelPlacement: {
157
- inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
158
- outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
159
- };
160
- disabled: {
161
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
162
- };
163
- readOnly: {
164
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
165
- };
166
- }> & {
167
- size?: string | undefined;
168
- view?: string | undefined;
169
- readOnly?: boolean | undefined;
170
- disabled?: boolean | undefined;
171
- } & {
172
- label?: string | undefined;
173
- labelPlacement?: "outer" | "inner" | undefined;
174
- leftHelper?: string | undefined;
175
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
176
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
177
- textBefore?: string | undefined;
178
- textAfter?: string | undefined;
179
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
180
- } & {
181
- requiredPlacement?: "right" | "left" | undefined;
182
- } & {
183
- optional?: true | undefined;
184
- required?: false | undefined;
185
- } & {
186
- enumerationType: "chip";
187
- onSearch?: undefined;
188
- chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
189
- onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
190
- } & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
2
+ import type { TextFieldProps } from '@salutejs/plasma-new-hope/styled-components';
3
+ export declare const Mask: import("react").ForwardRefExoticComponent<(TextFieldProps & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps) & import("react").RefAttributes<HTMLInputElement>>;
@@ -21,8 +21,14 @@ export declare const config: {
21
21
  warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
22
22
  negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
23
  };
24
- clear: {
25
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
+ hintView: {
25
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
26
+ onDark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
27
+ onLight: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
28
+ };
29
+ hintSize: {
30
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
31
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
26
32
  };
27
33
  disabled: {
28
34
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;