@salutejs/plasma-web 1.584.0-canary.1983.15343210393.0 → 1.584.0-canary.1983.15486466373.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 (102) hide show
  1. package/components/Accordion/Accordion.d.ts +9 -10
  2. package/components/Attach/Attach.d.ts +158 -159
  3. package/components/Autocomplete/Autocomplete.d.ts +344 -345
  4. package/components/Avatar/Avatar.d.ts +46 -47
  5. package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
  6. package/components/Badge/Badge.d.ts +40 -41
  7. package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  8. package/components/Button/Button.d.ts +35 -36
  9. package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  10. package/components/Carousel/Carousel.d.ts +2 -3
  11. package/components/Cell/Cell.d.ts +19 -20
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +0 -1
  14. package/components/ChipGroup/ChipGroup.d.ts +0 -1
  15. package/components/CodeField/CodeField.d.ts +18 -19
  16. package/components/Combobox/Combobox.config.js +8 -8
  17. package/components/Combobox/Combobox.d.ts +977 -953
  18. package/components/Combobox/Legacy/Combobox.d.ts +36 -37
  19. package/components/Counter/Counter.d.ts +0 -1
  20. package/components/DatePicker/DatePicker.d.ts +53 -54
  21. package/components/Divider/Divider.d.ts +0 -1
  22. package/components/Drawer/Drawer.d.ts +18 -19
  23. package/components/Dropdown/Dropdown.d.ts +52 -52
  24. package/components/Dropdown/components/DropdownItem.d.ts +14 -14
  25. package/components/Dropzone/Dropzone.d.ts +15 -16
  26. package/components/Editable/Editable.d.ts +0 -1
  27. package/components/EmptyState/EmptyState.d.ts +0 -1
  28. package/components/Flow/Flow.d.ts +1 -2
  29. package/components/Grid/Grid.d.ts +0 -1
  30. package/components/IconButton/IconButton.d.ts +35 -36
  31. package/components/Image/Image.d.ts +3 -4
  32. package/components/Indicator/Indicator.d.ts +0 -1
  33. package/components/Link/Link.d.ts +0 -1
  34. package/components/LinkButton/LinkButton.d.ts +8 -9
  35. package/components/List/List.d.ts +4 -5
  36. package/components/Mask/Mask.d.ts +224 -225
  37. package/components/Note/Note.d.ts +11 -12
  38. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  39. package/components/NumberInput/NumberInput.d.ts +38 -39
  40. package/components/Pagination/Pagination.d.ts +0 -1
  41. package/components/Popover/Popover.d.ts +0 -1
  42. package/components/Price/Price.d.ts +0 -1
  43. package/components/Progress/Progress.d.ts +0 -1
  44. package/components/Radiobox/Radiobox.d.ts +1 -1
  45. package/components/Range/Range.d.ts +105 -106
  46. package/components/Rating/Rating.d.ts +13 -14
  47. package/components/Segment/Segment.d.ts +8 -9
  48. package/components/Select/Select.config.js +14 -14
  49. package/components/Select/Select.d.ts +247 -244
  50. package/components/Sheet/Sheet.d.ts +0 -1
  51. package/components/Skeleton/Skeleton.d.ts +4 -5
  52. package/components/Slider/Slider.d.ts +96 -105
  53. package/components/Steps/Steps.d.ts +0 -1
  54. package/components/Switch/Switch.d.ts +1 -1
  55. package/components/Table/Table.config.js +3 -3
  56. package/components/Table/Table.d.ts +0 -1
  57. package/components/Tabs/TabItem.d.ts +14 -14
  58. package/components/Tabs/Tabs.d.ts +5 -7
  59. package/components/TextArea/TextArea.d.ts +205 -206
  60. package/components/TextArea/index.d.ts +4 -4
  61. package/components/TextField/TextField.d.ts +261 -269
  62. package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
  63. package/components/Toast/Toast.d.ts +0 -1
  64. package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
  65. package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
  66. package/components/Toolbar/Toolbar.d.ts +5 -6
  67. package/components/Tree/Tree.d.ts +0 -1
  68. package/components/Typography/Old/index.d.ts +36 -37
  69. package/components/Typography/Typography.d.ts +204 -205
  70. package/css/cjs/components/Combobox/Combobox.config.js +1 -1
  71. package/css/cjs/components/Combobox/Combobox.config.js.map +1 -1
  72. package/css/cjs/components/Combobox/{Combobox.config_i068pn.css → Combobox.config_16vxdhl.css} +8 -8
  73. package/css/cjs/components/Combobox/Combobox.css +14 -14
  74. package/css/cjs/components/Select/Select.config.js +1 -1
  75. package/css/cjs/components/Select/Select.config.js.map +1 -1
  76. package/css/cjs/components/Select/{Select.config_1kk8sph.css → Select.config_14aqv25.css} +14 -14
  77. package/css/cjs/components/Select/Select.css +23 -23
  78. package/css/cjs/components/Table/Table.config.js +1 -1
  79. package/css/cjs/components/Table/Table.config.js.map +1 -1
  80. package/css/cjs/components/Table/Table.config_11seey5.css +5 -0
  81. package/css/cjs/components/Table/Table.css +5 -5
  82. package/css/cjs/index.css +44 -44
  83. package/css/es/components/Combobox/Combobox.config.js +1 -1
  84. package/css/es/components/Combobox/Combobox.config.js.map +1 -1
  85. package/css/es/components/Combobox/{Combobox.config_i068pn.css → Combobox.config_16vxdhl.css} +8 -8
  86. package/css/es/components/Combobox/Combobox.css +14 -14
  87. package/css/es/components/Select/Select.config.js +1 -1
  88. package/css/es/components/Select/Select.config.js.map +1 -1
  89. package/css/es/components/Select/{Select.config_1kk8sph.css → Select.config_14aqv25.css} +14 -14
  90. package/css/es/components/Select/Select.css +23 -23
  91. package/css/es/components/Table/Table.config.js +1 -1
  92. package/css/es/components/Table/Table.config.js.map +1 -1
  93. package/css/es/components/Table/Table.config_11seey5.css +5 -0
  94. package/css/es/components/Table/Table.css +5 -5
  95. package/css/es/index.css +44 -44
  96. package/es/components/Combobox/Combobox.config.js +8 -8
  97. package/es/components/Select/Select.config.js +14 -14
  98. package/es/components/Table/Table.config.js +3 -3
  99. package/mixins/index.d.ts +1 -2
  100. package/package.json +11 -11
  101. package/css/cjs/components/Table/Table.config_lk2ssy.css +0 -5
  102. package/css/es/components/Table/Table.config_lk2ssy.css +0 -5
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Поле ввода многострочного текста.
4
3
  */
@@ -30,37 +29,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
30
29
  disabled: {
31
30
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
32
31
  };
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;
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";
37
36
  titleCaption?: import("react").ReactNode;
38
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
39
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
40
- helperText?: string | undefined;
37
+ contentRight?: React.ReactElement;
38
+ resize?: "none" | "both" | "horizontal" | "vertical";
39
+ helperText?: string;
41
40
  leftHelper?: import("react").ReactNode;
42
41
  rightHelper?: import("react").ReactNode;
43
- leftHelperPlacement?: "outer" | "inner" | undefined;
42
+ leftHelperPlacement?: "inner" | "outer";
44
43
  } & {
45
- required?: boolean | undefined;
46
- requiredPlacement?: "left" | "right" | undefined;
47
- optional?: boolean | undefined;
48
- hasRequiredIndicator?: boolean | undefined;
44
+ required?: boolean;
45
+ requiredPlacement?: "left" | "right";
46
+ optional?: boolean;
47
+ hasRequiredIndicator?: boolean;
49
48
  } & {
50
49
  hintText: string;
51
- hintTrigger?: "hover" | "click" | undefined;
52
- hintOpened?: boolean | undefined;
53
- hintView?: string | undefined;
54
- hintSize?: string | undefined;
50
+ hintTrigger?: "hover" | "click";
51
+ hintOpened?: boolean;
52
+ hintView?: string;
53
+ hintSize?: string;
55
54
  hintTargetIcon?: import("react").ReactNode;
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;
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;
60
59
  hintContentLeft?: import("react").ReactNode;
61
60
  } & {
62
- size?: string | undefined;
63
- view?: string | undefined;
61
+ size?: string;
62
+ view?: string;
64
63
  } & {
65
64
  autoResize?: boolean | undefined;
66
65
  maxAuto?: number | undefined;
@@ -74,40 +73,40 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
74
73
  } & {
75
74
  clear?: undefined;
76
75
  hasDivider?: undefined;
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;
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";
81
80
  titleCaption?: import("react").ReactNode;
82
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
83
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
84
- helperText?: string | undefined;
81
+ contentRight?: React.ReactElement;
82
+ resize?: "none" | "both" | "horizontal" | "vertical";
83
+ helperText?: string;
85
84
  leftHelper?: import("react").ReactNode;
86
85
  rightHelper?: import("react").ReactNode;
87
- leftHelperPlacement?: "outer" | "inner" | undefined;
86
+ leftHelperPlacement?: "inner" | "outer";
88
87
  } & {
89
- required?: boolean | undefined;
90
- requiredPlacement?: "left" | "right" | undefined;
91
- optional?: boolean | undefined;
92
- hasRequiredIndicator?: boolean | undefined;
88
+ required?: boolean;
89
+ requiredPlacement?: "left" | "right";
90
+ optional?: boolean;
91
+ hasRequiredIndicator?: boolean;
93
92
  } & {
94
93
  hintText: string;
95
- hintTrigger?: "hover" | "click" | undefined;
96
- hintOpened?: boolean | undefined;
97
- hintView?: string | undefined;
98
- hintSize?: string | undefined;
94
+ hintTrigger?: "hover" | "click";
95
+ hintOpened?: boolean;
96
+ hintView?: string;
97
+ hintSize?: string;
99
98
  hintTargetIcon?: import("react").ReactNode;
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;
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;
104
103
  hintContentLeft?: import("react").ReactNode;
105
104
  } & {
106
- size?: string | undefined;
107
- view?: string | undefined;
105
+ size?: string;
106
+ view?: string;
108
107
  } & {
109
- height?: string | number | undefined;
110
- width?: string | number | undefined;
108
+ height?: (number | string) | undefined;
109
+ width?: (number | string) | undefined;
111
110
  } & {
112
111
  autoResize?: undefined;
113
112
  maxAuto?: undefined;
@@ -118,37 +117,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
118
117
  } & {
119
118
  clear?: undefined;
120
119
  hasDivider?: undefined;
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;
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";
125
124
  titleCaption?: import("react").ReactNode;
126
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
127
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
128
- helperText?: string | undefined;
125
+ contentRight?: React.ReactElement;
126
+ resize?: "none" | "both" | "horizontal" | "vertical";
127
+ helperText?: string;
129
128
  leftHelper?: import("react").ReactNode;
130
129
  rightHelper?: import("react").ReactNode;
131
- leftHelperPlacement?: "outer" | "inner" | undefined;
130
+ leftHelperPlacement?: "inner" | "outer";
132
131
  } & {
133
- required?: boolean | undefined;
134
- requiredPlacement?: "left" | "right" | undefined;
135
- optional?: boolean | undefined;
136
- hasRequiredIndicator?: boolean | undefined;
132
+ required?: boolean;
133
+ requiredPlacement?: "left" | "right";
134
+ optional?: boolean;
135
+ hasRequiredIndicator?: boolean;
137
136
  } & {
138
137
  hintText: string;
139
- hintTrigger?: "hover" | "click" | undefined;
140
- hintOpened?: boolean | undefined;
141
- hintView?: string | undefined;
142
- hintSize?: string | undefined;
138
+ hintTrigger?: "hover" | "click";
139
+ hintOpened?: boolean;
140
+ hintView?: string;
141
+ hintSize?: string;
143
142
  hintTargetIcon?: import("react").ReactNode;
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;
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;
148
147
  hintContentLeft?: import("react").ReactNode;
149
148
  } & {
150
- size?: string | undefined;
151
- view?: string | undefined;
149
+ size?: string;
150
+ view?: string;
152
151
  } & {
153
152
  rows?: number | undefined;
154
153
  cols?: number | undefined;
@@ -162,37 +161,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
162
161
  } & {
163
162
  clear?: undefined;
164
163
  hasDivider?: undefined;
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;
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";
169
168
  titleCaption?: import("react").ReactNode;
170
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
171
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
172
- helperText?: string | undefined;
169
+ contentRight?: React.ReactElement;
170
+ resize?: "none" | "both" | "horizontal" | "vertical";
171
+ helperText?: string;
173
172
  leftHelper?: import("react").ReactNode;
174
173
  rightHelper?: import("react").ReactNode;
175
- leftHelperPlacement?: "outer" | "inner" | undefined;
174
+ leftHelperPlacement?: "inner" | "outer";
176
175
  } & {
177
- required?: boolean | undefined;
178
- requiredPlacement?: "left" | "right" | undefined;
179
- optional?: boolean | undefined;
180
- hasRequiredIndicator?: boolean | undefined;
176
+ required?: boolean;
177
+ requiredPlacement?: "left" | "right";
178
+ optional?: boolean;
179
+ hasRequiredIndicator?: boolean;
181
180
  } & {
182
181
  hintText: string;
183
- hintTrigger?: "hover" | "click" | undefined;
184
- hintOpened?: boolean | undefined;
185
- hintView?: string | undefined;
186
- hintSize?: string | undefined;
182
+ hintTrigger?: "hover" | "click";
183
+ hintOpened?: boolean;
184
+ hintView?: string;
185
+ hintSize?: string;
187
186
  hintTargetIcon?: import("react").ReactNode;
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;
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;
192
191
  hintContentLeft?: import("react").ReactNode;
193
192
  } & {
194
- size?: string | undefined;
195
- view?: string | undefined;
193
+ size?: string;
194
+ view?: string;
196
195
  } & {
197
196
  clear?: true | undefined;
198
197
  hasDivider?: boolean | undefined;
@@ -206,37 +205,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
206
205
  } & {
207
206
  height?: undefined;
208
207
  width?: undefined;
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;
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";
213
212
  titleCaption?: import("react").ReactNode;
214
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
215
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
216
- helperText?: string | undefined;
213
+ contentRight?: React.ReactElement;
214
+ resize?: "none" | "both" | "horizontal" | "vertical";
215
+ helperText?: string;
217
216
  leftHelper?: import("react").ReactNode;
218
217
  rightHelper?: import("react").ReactNode;
219
- leftHelperPlacement?: "outer" | "inner" | undefined;
220
- } & {
221
- required?: boolean | undefined;
222
- requiredPlacement?: "left" | "right" | 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;
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;
240
239
  } & {
241
240
  autoResize?: boolean | undefined;
242
241
  maxAuto?: number | undefined;
@@ -250,40 +249,40 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
250
249
  } & {
251
250
  clear?: undefined;
252
251
  hasDivider?: undefined;
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;
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";
257
256
  titleCaption?: import("react").ReactNode;
258
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
259
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
260
- helperText?: string | undefined;
257
+ contentRight?: React.ReactElement;
258
+ resize?: "none" | "both" | "horizontal" | "vertical";
259
+ helperText?: string;
261
260
  leftHelper?: import("react").ReactNode;
262
261
  rightHelper?: import("react").ReactNode;
263
- leftHelperPlacement?: "outer" | "inner" | undefined;
264
- } & {
265
- required?: boolean | undefined;
266
- requiredPlacement?: "left" | "right" | 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;
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;
287
286
  } & {
288
287
  autoResize?: undefined;
289
288
  maxAuto?: undefined;
@@ -294,37 +293,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
294
293
  } & {
295
294
  clear?: undefined;
296
295
  hasDivider?: undefined;
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;
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";
301
300
  titleCaption?: import("react").ReactNode;
302
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
303
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
304
- helperText?: string | undefined;
301
+ contentRight?: React.ReactElement;
302
+ resize?: "none" | "both" | "horizontal" | "vertical";
303
+ helperText?: string;
305
304
  leftHelper?: import("react").ReactNode;
306
305
  rightHelper?: import("react").ReactNode;
307
- leftHelperPlacement?: "outer" | "inner" | undefined;
308
- } & {
309
- required?: boolean | undefined;
310
- requiredPlacement?: "left" | "right" | 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;
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;
328
327
  } & {
329
328
  rows?: number | undefined;
330
329
  cols?: number | undefined;
@@ -338,37 +337,37 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
338
337
  } & {
339
338
  clear?: undefined;
340
339
  hasDivider?: undefined;
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;
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";
345
344
  titleCaption?: import("react").ReactNode;
346
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
347
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
348
- helperText?: string | undefined;
345
+ contentRight?: React.ReactElement;
346
+ resize?: "none" | "both" | "horizontal" | "vertical";
347
+ helperText?: string;
349
348
  leftHelper?: import("react").ReactNode;
350
349
  rightHelper?: import("react").ReactNode;
351
- leftHelperPlacement?: "outer" | "inner" | undefined;
352
- } & {
353
- required?: boolean | undefined;
354
- requiredPlacement?: "left" | "right" | 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;
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;
372
371
  } & {
373
372
  clear?: true | undefined;
374
373
  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
- declare type newHopeTextAreaProps = React.ComponentProps<typeof TextArea>;
8
- declare type HintProps = {
7
+ type newHopeTextAreaProps = React.ComponentProps<typeof TextArea>;
8
+ type HintProps = {
9
9
  /**
10
10
  * Текст тултипа
11
11
  */
@@ -66,7 +66,7 @@ declare type HintProps = {
66
66
  hintWidth?: never;
67
67
  hintContentLeft?: never;
68
68
  };
69
- declare type ClearProps = {
69
+ type ClearProps = {
70
70
  /**
71
71
  * view применяется с clear-токенами
72
72
  */
@@ -85,4 +85,4 @@ declare type ClearProps = {
85
85
  */
86
86
  hasDivider?: never;
87
87
  };
88
- export declare type TextAreaProps = TextAreaPropsBase & Pick<newHopeTextAreaProps, 'title' | 'titleCaption' | 'required' | 'requiredPlacement' | 'optional'> & ClearProps & HintProps;
88
+ export type TextAreaProps = TextAreaPropsBase & Pick<newHopeTextAreaProps, 'title' | 'titleCaption' | 'required' | 'requiredPlacement' | 'optional'> & ClearProps & HintProps;