@salutejs/plasma-web 1.571.1-canary.1868.14054564913.0 → 1.572.0-canary.1870.14062223595.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/api/plasma-web.api.md +1490 -1488
  2. package/components/Accordion/Accordion.d.ts +10 -9
  3. package/components/Attach/Attach.d.ts +159 -158
  4. package/components/Autocomplete/Autocomplete.d.ts +193 -192
  5. package/components/Avatar/Avatar.d.ts +47 -46
  6. package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
  7. package/components/Badge/Badge.d.ts +41 -40
  8. package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
  9. package/components/Button/Button.d.ts +36 -35
  10. package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
  11. package/components/Cell/Cell.d.ts +20 -19
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +1 -0
  14. package/components/ChipGroup/ChipGroup.d.ts +1 -0
  15. package/components/Combobox/Combobox.d.ts +953 -953
  16. package/components/Combobox/Legacy/Combobox.d.ts +37 -36
  17. package/components/Counter/Counter.d.ts +1 -0
  18. package/components/DatePicker/DatePicker.d.ts +51 -50
  19. package/components/Divider/Divider.d.ts +1 -0
  20. package/components/Drawer/Drawer.d.ts +19 -18
  21. package/components/Dropdown/Dropdown.d.ts +52 -52
  22. package/components/Dropdown/components/DropdownItem.d.ts +14 -14
  23. package/components/Dropzone/Dropzone.d.ts +16 -15
  24. package/components/Editable/Editable.d.ts +1 -0
  25. package/components/EmptyState/EmptyState.d.ts +1 -0
  26. package/components/Flow/Flow.d.ts +2 -1
  27. package/components/Grid/Grid.d.ts +1 -0
  28. package/components/IconButton/IconButton.d.ts +36 -35
  29. package/components/Image/Image.d.ts +4 -3
  30. package/components/Indicator/Indicator.d.ts +1 -0
  31. package/components/Link/Link.d.ts +1 -0
  32. package/components/LinkButton/LinkButton.d.ts +9 -8
  33. package/components/Mask/Mask.d.ts +225 -224
  34. package/components/Note/Note.d.ts +10 -9
  35. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  36. package/components/NumberInput/NumberInput.d.ts +39 -38
  37. package/components/Pagination/Pagination.d.ts +1 -0
  38. package/components/Popover/Popover.d.ts +1 -0
  39. package/components/Price/Price.d.ts +1 -0
  40. package/components/Progress/Progress.d.ts +1 -0
  41. package/components/Radiobox/Radiobox.d.ts +1 -1
  42. package/components/Range/Range.d.ts +106 -105
  43. package/components/Rating/Rating.d.ts +14 -13
  44. package/components/Segment/Segment.d.ts +9 -8
  45. package/components/Select/Select.d.ts +244 -244
  46. package/components/Sheet/Sheet.d.ts +1 -0
  47. package/components/Skeleton/Skeleton.d.ts +5 -4
  48. package/components/Slider/Slider.d.ts +113 -104
  49. package/components/Steps/Steps.d.ts +1 -0
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Tabs/TabItem.d.ts +14 -14
  52. package/components/Tabs/Tabs.d.ts +7 -5
  53. package/components/TextArea/TextArea.d.ts +206 -205
  54. package/components/TextArea/index.d.ts +4 -4
  55. package/components/TextField/TextField.d.ts +269 -261
  56. package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
  57. package/components/Toast/Toast.d.ts +1 -0
  58. package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
  59. package/components/Toolbar/Toolbar.d.ts +6 -5
  60. package/components/Tree/Tree.d.ts +1 -0
  61. package/components/Typography/Old/index.d.ts +10 -9
  62. package/components/Typography/Typography.d.ts +52 -51
  63. package/mixins/index.d.ts +2 -1
  64. package/package.json +11 -11
  65. package/temp/plasma-web.api.md +1490 -1488
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Поле ввода многострочного текста.
3
4
  */
@@ -29,37 +30,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
29
30
  disabled: {
30
31
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
31
32
  };
32
- }> & ((Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
33
- status?: "" | "success" | "warning" | "error";
34
- label?: string;
35
- labelPlacement?: "inner" | "outer";
33
+ }> & ((Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
34
+ status?: "" | "warning" | "success" | "error" | undefined;
35
+ label?: string | undefined;
36
+ labelPlacement?: "outer" | "inner" | undefined;
36
37
  titleCaption?: import("react").ReactNode;
37
- contentRight?: React.ReactElement;
38
- resize?: "none" | "both" | "horizontal" | "vertical";
39
- helperText?: string;
38
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
39
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
40
+ helperText?: string | undefined;
40
41
  leftHelper?: import("react").ReactNode;
41
42
  rightHelper?: import("react").ReactNode;
42
- leftHelperPlacement?: "inner" | "outer";
43
+ leftHelperPlacement?: "outer" | "inner" | undefined;
43
44
  } & {
44
- required?: boolean;
45
- requiredPlacement?: "left" | "right";
46
- optional?: boolean;
47
- hasRequiredIndicator?: boolean;
45
+ required?: boolean | undefined;
46
+ requiredPlacement?: "right" | "left" | undefined;
47
+ optional?: boolean | undefined;
48
+ hasRequiredIndicator?: boolean | undefined;
48
49
  } & {
49
50
  hintText: string;
50
- hintTrigger?: "hover" | "click";
51
- hintOpened?: boolean;
52
- hintView?: string;
53
- hintSize?: string;
51
+ hintTrigger?: "hover" | "click" | undefined;
52
+ hintOpened?: boolean | undefined;
53
+ hintView?: string | undefined;
54
+ hintSize?: string | undefined;
54
55
  hintTargetIcon?: import("react").ReactNode;
55
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
56
- hintHasArrow?: boolean;
57
- hintOffset?: [number, number];
58
- hintWidth?: string;
56
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
57
+ hintHasArrow?: boolean | undefined;
58
+ hintOffset?: [number, number] | undefined;
59
+ hintWidth?: string | undefined;
59
60
  hintContentLeft?: import("react").ReactNode;
60
61
  } & {
61
- size?: string;
62
- view?: string;
62
+ size?: string | undefined;
63
+ view?: string | undefined;
63
64
  } & {
64
65
  autoResize?: boolean | undefined;
65
66
  maxAuto?: number | undefined;
@@ -73,40 +74,40 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
73
74
  } & {
74
75
  clear?: undefined;
75
76
  hasDivider?: undefined;
76
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
77
- status?: "" | "success" | "warning" | "error";
78
- label?: string;
79
- labelPlacement?: "inner" | "outer";
77
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
78
+ status?: "" | "warning" | "success" | "error" | undefined;
79
+ label?: string | undefined;
80
+ labelPlacement?: "outer" | "inner" | undefined;
80
81
  titleCaption?: import("react").ReactNode;
81
- contentRight?: React.ReactElement;
82
- resize?: "none" | "both" | "horizontal" | "vertical";
83
- helperText?: string;
82
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
83
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
84
+ helperText?: string | undefined;
84
85
  leftHelper?: import("react").ReactNode;
85
86
  rightHelper?: import("react").ReactNode;
86
- leftHelperPlacement?: "inner" | "outer";
87
+ leftHelperPlacement?: "outer" | "inner" | undefined;
87
88
  } & {
88
- required?: boolean;
89
- requiredPlacement?: "left" | "right";
90
- optional?: boolean;
91
- hasRequiredIndicator?: boolean;
89
+ required?: boolean | undefined;
90
+ requiredPlacement?: "right" | "left" | undefined;
91
+ optional?: boolean | undefined;
92
+ hasRequiredIndicator?: boolean | undefined;
92
93
  } & {
93
94
  hintText: string;
94
- hintTrigger?: "hover" | "click";
95
- hintOpened?: boolean;
96
- hintView?: string;
97
- hintSize?: string;
95
+ hintTrigger?: "hover" | "click" | undefined;
96
+ hintOpened?: boolean | undefined;
97
+ hintView?: string | undefined;
98
+ hintSize?: string | undefined;
98
99
  hintTargetIcon?: import("react").ReactNode;
99
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
100
- hintHasArrow?: boolean;
101
- hintOffset?: [number, number];
102
- hintWidth?: string;
100
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
101
+ hintHasArrow?: boolean | undefined;
102
+ hintOffset?: [number, number] | undefined;
103
+ hintWidth?: string | undefined;
103
104
  hintContentLeft?: import("react").ReactNode;
104
105
  } & {
105
- size?: string;
106
- view?: string;
106
+ size?: string | undefined;
107
+ view?: string | undefined;
107
108
  } & {
108
- height?: (number | string) | undefined;
109
- width?: (number | string) | undefined;
109
+ height?: string | number | undefined;
110
+ width?: string | number | undefined;
110
111
  } & {
111
112
  autoResize?: undefined;
112
113
  maxAuto?: undefined;
@@ -117,37 +118,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
117
118
  } & {
118
119
  clear?: undefined;
119
120
  hasDivider?: undefined;
120
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
121
- status?: "" | "success" | "warning" | "error";
122
- label?: string;
123
- labelPlacement?: "inner" | "outer";
121
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
122
+ status?: "" | "warning" | "success" | "error" | undefined;
123
+ label?: string | undefined;
124
+ labelPlacement?: "outer" | "inner" | undefined;
124
125
  titleCaption?: import("react").ReactNode;
125
- contentRight?: React.ReactElement;
126
- resize?: "none" | "both" | "horizontal" | "vertical";
127
- helperText?: string;
126
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
127
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
128
+ helperText?: string | undefined;
128
129
  leftHelper?: import("react").ReactNode;
129
130
  rightHelper?: import("react").ReactNode;
130
- leftHelperPlacement?: "inner" | "outer";
131
+ leftHelperPlacement?: "outer" | "inner" | undefined;
131
132
  } & {
132
- required?: boolean;
133
- requiredPlacement?: "left" | "right";
134
- optional?: boolean;
135
- hasRequiredIndicator?: boolean;
133
+ required?: boolean | undefined;
134
+ requiredPlacement?: "right" | "left" | undefined;
135
+ optional?: boolean | undefined;
136
+ hasRequiredIndicator?: boolean | undefined;
136
137
  } & {
137
138
  hintText: string;
138
- hintTrigger?: "hover" | "click";
139
- hintOpened?: boolean;
140
- hintView?: string;
141
- hintSize?: string;
139
+ hintTrigger?: "hover" | "click" | undefined;
140
+ hintOpened?: boolean | undefined;
141
+ hintView?: string | undefined;
142
+ hintSize?: string | undefined;
142
143
  hintTargetIcon?: import("react").ReactNode;
143
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
144
- hintHasArrow?: boolean;
145
- hintOffset?: [number, number];
146
- hintWidth?: string;
144
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
145
+ hintHasArrow?: boolean | undefined;
146
+ hintOffset?: [number, number] | undefined;
147
+ hintWidth?: string | undefined;
147
148
  hintContentLeft?: import("react").ReactNode;
148
149
  } & {
149
- size?: string;
150
- view?: string;
150
+ size?: string | undefined;
151
+ view?: string | undefined;
151
152
  } & {
152
153
  rows?: number | undefined;
153
154
  cols?: number | undefined;
@@ -161,37 +162,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
161
162
  } & {
162
163
  clear?: undefined;
163
164
  hasDivider?: undefined;
164
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
165
- status?: "" | "success" | "warning" | "error";
166
- label?: string;
167
- labelPlacement?: "inner" | "outer";
165
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
166
+ status?: "" | "warning" | "success" | "error" | undefined;
167
+ label?: string | undefined;
168
+ labelPlacement?: "outer" | "inner" | undefined;
168
169
  titleCaption?: import("react").ReactNode;
169
- contentRight?: React.ReactElement;
170
- resize?: "none" | "both" | "horizontal" | "vertical";
171
- helperText?: string;
170
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
171
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
172
+ helperText?: string | undefined;
172
173
  leftHelper?: import("react").ReactNode;
173
174
  rightHelper?: import("react").ReactNode;
174
- leftHelperPlacement?: "inner" | "outer";
175
+ leftHelperPlacement?: "outer" | "inner" | undefined;
175
176
  } & {
176
- required?: boolean;
177
- requiredPlacement?: "left" | "right";
178
- optional?: boolean;
179
- hasRequiredIndicator?: boolean;
177
+ required?: boolean | undefined;
178
+ requiredPlacement?: "right" | "left" | undefined;
179
+ optional?: boolean | undefined;
180
+ hasRequiredIndicator?: boolean | undefined;
180
181
  } & {
181
182
  hintText: string;
182
- hintTrigger?: "hover" | "click";
183
- hintOpened?: boolean;
184
- hintView?: string;
185
- hintSize?: string;
183
+ hintTrigger?: "hover" | "click" | undefined;
184
+ hintOpened?: boolean | undefined;
185
+ hintView?: string | undefined;
186
+ hintSize?: string | undefined;
186
187
  hintTargetIcon?: import("react").ReactNode;
187
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
188
- hintHasArrow?: boolean;
189
- hintOffset?: [number, number];
190
- hintWidth?: string;
188
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
189
+ hintHasArrow?: boolean | undefined;
190
+ hintOffset?: [number, number] | undefined;
191
+ hintWidth?: string | undefined;
191
192
  hintContentLeft?: import("react").ReactNode;
192
193
  } & {
193
- size?: string;
194
- view?: string;
194
+ size?: string | undefined;
195
+ view?: string | undefined;
195
196
  } & {
196
197
  clear?: true | undefined;
197
198
  hasDivider?: boolean | undefined;
@@ -205,37 +206,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
205
206
  } & {
206
207
  height?: undefined;
207
208
  width?: undefined;
208
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
209
- status?: "" | "success" | "warning" | "error";
210
- label?: string;
211
- labelPlacement?: "inner" | "outer";
209
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
210
+ status?: "" | "warning" | "success" | "error" | undefined;
211
+ label?: string | undefined;
212
+ labelPlacement?: "outer" | "inner" | undefined;
212
213
  titleCaption?: import("react").ReactNode;
213
- contentRight?: React.ReactElement;
214
- resize?: "none" | "both" | "horizontal" | "vertical";
215
- helperText?: string;
214
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
215
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
216
+ helperText?: string | undefined;
216
217
  leftHelper?: import("react").ReactNode;
217
218
  rightHelper?: import("react").ReactNode;
218
- leftHelperPlacement?: "inner" | "outer";
219
- } & {
220
- required?: boolean;
221
- requiredPlacement?: "left" | "right";
222
- optional?: boolean;
223
- hasRequiredIndicator?: boolean;
224
- } & {
225
- hintText?: never;
226
- hintOpened?: never;
227
- hintTrigger?: never;
228
- hintView?: never;
229
- hintSize?: never;
230
- hintTargetIcon?: never;
231
- hintPlacement?: never;
232
- hintHasArrow?: never;
233
- hintOffset?: never;
234
- hintWidth?: never;
235
- hintContentLeft?: never;
236
- } & {
237
- size?: string;
238
- view?: string;
219
+ leftHelperPlacement?: "outer" | "inner" | undefined;
220
+ } & {
221
+ required?: boolean | undefined;
222
+ requiredPlacement?: "right" | "left" | undefined;
223
+ optional?: boolean | undefined;
224
+ hasRequiredIndicator?: boolean | undefined;
225
+ } & {
226
+ hintText?: undefined;
227
+ hintOpened?: undefined;
228
+ hintTrigger?: undefined;
229
+ hintView?: undefined;
230
+ hintSize?: undefined;
231
+ hintTargetIcon?: undefined;
232
+ hintPlacement?: undefined;
233
+ hintHasArrow?: undefined;
234
+ hintOffset?: undefined;
235
+ hintWidth?: undefined;
236
+ hintContentLeft?: undefined;
237
+ } & {
238
+ size?: string | undefined;
239
+ view?: string | undefined;
239
240
  } & {
240
241
  autoResize?: boolean | undefined;
241
242
  maxAuto?: number | undefined;
@@ -249,40 +250,40 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
249
250
  } & {
250
251
  clear?: undefined;
251
252
  hasDivider?: undefined;
252
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
253
- status?: "" | "success" | "warning" | "error";
254
- label?: string;
255
- labelPlacement?: "inner" | "outer";
253
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
254
+ status?: "" | "warning" | "success" | "error" | undefined;
255
+ label?: string | undefined;
256
+ labelPlacement?: "outer" | "inner" | undefined;
256
257
  titleCaption?: import("react").ReactNode;
257
- contentRight?: React.ReactElement;
258
- resize?: "none" | "both" | "horizontal" | "vertical";
259
- helperText?: string;
258
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
259
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
260
+ helperText?: string | undefined;
260
261
  leftHelper?: import("react").ReactNode;
261
262
  rightHelper?: import("react").ReactNode;
262
- leftHelperPlacement?: "inner" | "outer";
263
- } & {
264
- required?: boolean;
265
- requiredPlacement?: "left" | "right";
266
- optional?: boolean;
267
- hasRequiredIndicator?: boolean;
268
- } & {
269
- hintText?: never;
270
- hintOpened?: never;
271
- hintTrigger?: never;
272
- hintView?: never;
273
- hintSize?: never;
274
- hintTargetIcon?: never;
275
- hintPlacement?: never;
276
- hintHasArrow?: never;
277
- hintOffset?: never;
278
- hintWidth?: never;
279
- hintContentLeft?: never;
280
- } & {
281
- size?: string;
282
- view?: string;
283
- } & {
284
- height?: (number | string) | undefined;
285
- width?: (number | string) | undefined;
263
+ leftHelperPlacement?: "outer" | "inner" | undefined;
264
+ } & {
265
+ required?: boolean | undefined;
266
+ requiredPlacement?: "right" | "left" | undefined;
267
+ optional?: boolean | undefined;
268
+ hasRequiredIndicator?: boolean | undefined;
269
+ } & {
270
+ hintText?: undefined;
271
+ hintOpened?: undefined;
272
+ hintTrigger?: undefined;
273
+ hintView?: undefined;
274
+ hintSize?: undefined;
275
+ hintTargetIcon?: undefined;
276
+ hintPlacement?: undefined;
277
+ hintHasArrow?: undefined;
278
+ hintOffset?: undefined;
279
+ hintWidth?: undefined;
280
+ hintContentLeft?: undefined;
281
+ } & {
282
+ size?: string | undefined;
283
+ view?: string | undefined;
284
+ } & {
285
+ height?: string | number | undefined;
286
+ width?: string | number | undefined;
286
287
  } & {
287
288
  autoResize?: undefined;
288
289
  maxAuto?: undefined;
@@ -293,37 +294,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
293
294
  } & {
294
295
  clear?: undefined;
295
296
  hasDivider?: undefined;
296
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
297
- status?: "" | "success" | "warning" | "error";
298
- label?: string;
299
- labelPlacement?: "inner" | "outer";
297
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
298
+ status?: "" | "warning" | "success" | "error" | undefined;
299
+ label?: string | undefined;
300
+ labelPlacement?: "outer" | "inner" | undefined;
300
301
  titleCaption?: import("react").ReactNode;
301
- contentRight?: React.ReactElement;
302
- resize?: "none" | "both" | "horizontal" | "vertical";
303
- helperText?: string;
302
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
303
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
304
+ helperText?: string | undefined;
304
305
  leftHelper?: import("react").ReactNode;
305
306
  rightHelper?: import("react").ReactNode;
306
- leftHelperPlacement?: "inner" | "outer";
307
- } & {
308
- required?: boolean;
309
- requiredPlacement?: "left" | "right";
310
- optional?: boolean;
311
- hasRequiredIndicator?: boolean;
312
- } & {
313
- hintText?: never;
314
- hintOpened?: never;
315
- hintTrigger?: never;
316
- hintView?: never;
317
- hintSize?: never;
318
- hintTargetIcon?: never;
319
- hintPlacement?: never;
320
- hintHasArrow?: never;
321
- hintOffset?: never;
322
- hintWidth?: never;
323
- hintContentLeft?: never;
324
- } & {
325
- size?: string;
326
- view?: string;
307
+ leftHelperPlacement?: "outer" | "inner" | undefined;
308
+ } & {
309
+ required?: boolean | undefined;
310
+ requiredPlacement?: "right" | "left" | undefined;
311
+ optional?: boolean | undefined;
312
+ hasRequiredIndicator?: boolean | undefined;
313
+ } & {
314
+ hintText?: undefined;
315
+ hintOpened?: undefined;
316
+ hintTrigger?: undefined;
317
+ hintView?: undefined;
318
+ hintSize?: undefined;
319
+ hintTargetIcon?: undefined;
320
+ hintPlacement?: undefined;
321
+ hintHasArrow?: undefined;
322
+ hintOffset?: undefined;
323
+ hintWidth?: undefined;
324
+ hintContentLeft?: undefined;
325
+ } & {
326
+ size?: string | undefined;
327
+ view?: string | undefined;
327
328
  } & {
328
329
  rows?: number | undefined;
329
330
  cols?: number | undefined;
@@ -337,37 +338,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
337
338
  } & {
338
339
  clear?: undefined;
339
340
  hasDivider?: undefined;
340
- } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "cols" | "rows"> & {
341
- status?: "" | "success" | "warning" | "error";
342
- label?: string;
343
- labelPlacement?: "inner" | "outer";
341
+ } & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
342
+ status?: "" | "warning" | "success" | "error" | undefined;
343
+ label?: string | undefined;
344
+ labelPlacement?: "outer" | "inner" | undefined;
344
345
  titleCaption?: import("react").ReactNode;
345
- contentRight?: React.ReactElement;
346
- resize?: "none" | "both" | "horizontal" | "vertical";
347
- helperText?: string;
346
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
347
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
348
+ helperText?: string | undefined;
348
349
  leftHelper?: import("react").ReactNode;
349
350
  rightHelper?: import("react").ReactNode;
350
- leftHelperPlacement?: "inner" | "outer";
351
- } & {
352
- required?: boolean;
353
- requiredPlacement?: "left" | "right";
354
- optional?: boolean;
355
- hasRequiredIndicator?: boolean;
356
- } & {
357
- hintText?: never;
358
- hintOpened?: never;
359
- hintTrigger?: never;
360
- hintView?: never;
361
- hintSize?: never;
362
- hintTargetIcon?: never;
363
- hintPlacement?: never;
364
- hintHasArrow?: never;
365
- hintOffset?: never;
366
- hintWidth?: never;
367
- hintContentLeft?: never;
368
- } & {
369
- size?: string;
370
- view?: string;
351
+ leftHelperPlacement?: "outer" | "inner" | undefined;
352
+ } & {
353
+ required?: boolean | undefined;
354
+ requiredPlacement?: "right" | "left" | undefined;
355
+ optional?: boolean | undefined;
356
+ hasRequiredIndicator?: boolean | undefined;
357
+ } & {
358
+ hintText?: undefined;
359
+ hintOpened?: undefined;
360
+ hintTrigger?: undefined;
361
+ hintView?: undefined;
362
+ hintSize?: undefined;
363
+ hintTargetIcon?: undefined;
364
+ hintPlacement?: undefined;
365
+ hintHasArrow?: undefined;
366
+ hintOffset?: undefined;
367
+ hintWidth?: undefined;
368
+ hintContentLeft?: undefined;
369
+ } & {
370
+ size?: string | undefined;
371
+ view?: string | undefined;
371
372
  } & {
372
373
  clear?: true | undefined;
373
374
  hasDivider?: boolean | undefined;
@@ -4,8 +4,8 @@ import type { ReactNode } from 'react';
4
4
  import React from 'react';
5
5
  import { TextArea } from './TextArea';
6
6
  export { TextArea };
7
- type newHopeTextAreaProps = React.ComponentProps<typeof TextArea>;
8
- type HintProps = {
7
+ declare type newHopeTextAreaProps = React.ComponentProps<typeof TextArea>;
8
+ declare type HintProps = {
9
9
  /**
10
10
  * Текст тултипа
11
11
  */
@@ -66,7 +66,7 @@ type HintProps = {
66
66
  hintWidth?: never;
67
67
  hintContentLeft?: never;
68
68
  };
69
- type ClearProps = {
69
+ declare type ClearProps = {
70
70
  /**
71
71
  * view применяется с clear-токенами
72
72
  */
@@ -85,4 +85,4 @@ type ClearProps = {
85
85
  */
86
86
  hasDivider?: never;
87
87
  };
88
- export type TextAreaProps = TextAreaPropsBase & Pick<newHopeTextAreaProps, 'title' | 'titleCaption' | 'required' | 'requiredPlacement' | 'optional'> & ClearProps & HintProps;
88
+ export declare type TextAreaProps = TextAreaPropsBase & Pick<newHopeTextAreaProps, 'title' | 'titleCaption' | 'required' | 'requiredPlacement' | 'optional'> & ClearProps & HintProps;