@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.
- package/api/plasma-web.api.md +1490 -1488
- package/components/Accordion/Accordion.d.ts +10 -9
- package/components/Attach/Attach.d.ts +159 -158
- package/components/Autocomplete/Autocomplete.d.ts +193 -192
- package/components/Avatar/Avatar.d.ts +47 -46
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
- package/components/Badge/Badge.d.ts +41 -40
- package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
- package/components/Button/Button.d.ts +36 -35
- package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/components/Cell/Cell.d.ts +20 -19
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.d.ts +1 -0
- package/components/Combobox/Combobox.d.ts +953 -953
- package/components/Combobox/Legacy/Combobox.d.ts +37 -36
- package/components/Counter/Counter.d.ts +1 -0
- package/components/DatePicker/DatePicker.d.ts +51 -50
- package/components/Divider/Divider.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +19 -18
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +16 -15
- package/components/Editable/Editable.d.ts +1 -0
- package/components/EmptyState/EmptyState.d.ts +1 -0
- package/components/Flow/Flow.d.ts +2 -1
- package/components/Grid/Grid.d.ts +1 -0
- package/components/IconButton/IconButton.d.ts +36 -35
- package/components/Image/Image.d.ts +4 -3
- package/components/Indicator/Indicator.d.ts +1 -0
- package/components/Link/Link.d.ts +1 -0
- package/components/LinkButton/LinkButton.d.ts +9 -8
- package/components/Mask/Mask.d.ts +225 -224
- package/components/Note/Note.d.ts +10 -9
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +39 -38
- package/components/Pagination/Pagination.d.ts +1 -0
- package/components/Popover/Popover.d.ts +1 -0
- package/components/Price/Price.d.ts +1 -0
- package/components/Progress/Progress.d.ts +1 -0
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +106 -105
- package/components/Rating/Rating.d.ts +14 -13
- package/components/Segment/Segment.d.ts +9 -8
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +1 -0
- package/components/Skeleton/Skeleton.d.ts +5 -4
- package/components/Slider/Slider.d.ts +113 -104
- package/components/Steps/Steps.d.ts +1 -0
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +7 -5
- package/components/TextArea/TextArea.d.ts +206 -205
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +269 -261
- package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
- package/components/Toast/Toast.d.ts +1 -0
- package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
- package/components/Toolbar/Toolbar.d.ts +6 -5
- package/components/Tree/Tree.d.ts +1 -0
- package/components/Typography/Old/index.d.ts +10 -9
- package/components/Typography/Typography.d.ts +52 -51
- package/mixins/index.d.ts +2 -1
- package/package.json +11 -11
- 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" | "
|
33
|
-
status?: "" | "
|
34
|
-
label?: string;
|
35
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
43
|
+
leftHelperPlacement?: "outer" | "inner" | undefined;
|
43
44
|
} & {
|
44
|
-
required?: boolean;
|
45
|
-
requiredPlacement?: "
|
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 |
|
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" | "
|
77
|
-
status?: "" | "
|
78
|
-
label?: string;
|
79
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
87
|
+
leftHelperPlacement?: "outer" | "inner" | undefined;
|
87
88
|
} & {
|
88
|
-
required?: boolean;
|
89
|
-
requiredPlacement?: "
|
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 |
|
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?:
|
109
|
-
width?:
|
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" | "
|
121
|
-
status?: "" | "
|
122
|
-
label?: string;
|
123
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
131
|
+
leftHelperPlacement?: "outer" | "inner" | undefined;
|
131
132
|
} & {
|
132
|
-
required?: boolean;
|
133
|
-
requiredPlacement?: "
|
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 |
|
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" | "
|
165
|
-
status?: "" | "
|
166
|
-
label?: string;
|
167
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
175
|
+
leftHelperPlacement?: "outer" | "inner" | undefined;
|
175
176
|
} & {
|
176
|
-
required?: boolean;
|
177
|
-
requiredPlacement?: "
|
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 |
|
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" | "
|
209
|
-
status?: "" | "
|
210
|
-
label?: string;
|
211
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
219
|
-
} & {
|
220
|
-
required?: boolean;
|
221
|
-
requiredPlacement?: "
|
222
|
-
optional?: boolean;
|
223
|
-
hasRequiredIndicator?: boolean;
|
224
|
-
} & {
|
225
|
-
hintText?:
|
226
|
-
hintOpened?:
|
227
|
-
hintTrigger?:
|
228
|
-
hintView?:
|
229
|
-
hintSize?:
|
230
|
-
hintTargetIcon?:
|
231
|
-
hintPlacement?:
|
232
|
-
hintHasArrow?:
|
233
|
-
hintOffset?:
|
234
|
-
hintWidth?:
|
235
|
-
hintContentLeft?:
|
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" | "
|
253
|
-
status?: "" | "
|
254
|
-
label?: string;
|
255
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
263
|
-
} & {
|
264
|
-
required?: boolean;
|
265
|
-
requiredPlacement?: "
|
266
|
-
optional?: boolean;
|
267
|
-
hasRequiredIndicator?: boolean;
|
268
|
-
} & {
|
269
|
-
hintText?:
|
270
|
-
hintOpened?:
|
271
|
-
hintTrigger?:
|
272
|
-
hintView?:
|
273
|
-
hintSize?:
|
274
|
-
hintTargetIcon?:
|
275
|
-
hintPlacement?:
|
276
|
-
hintHasArrow?:
|
277
|
-
hintOffset?:
|
278
|
-
hintWidth?:
|
279
|
-
hintContentLeft?:
|
280
|
-
} & {
|
281
|
-
size?: string;
|
282
|
-
view?: string;
|
283
|
-
} & {
|
284
|
-
height?:
|
285
|
-
width?:
|
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" | "
|
297
|
-
status?: "" | "
|
298
|
-
label?: string;
|
299
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
307
|
-
} & {
|
308
|
-
required?: boolean;
|
309
|
-
requiredPlacement?: "
|
310
|
-
optional?: boolean;
|
311
|
-
hasRequiredIndicator?: boolean;
|
312
|
-
} & {
|
313
|
-
hintText?:
|
314
|
-
hintOpened?:
|
315
|
-
hintTrigger?:
|
316
|
-
hintView?:
|
317
|
-
hintSize?:
|
318
|
-
hintTargetIcon?:
|
319
|
-
hintPlacement?:
|
320
|
-
hintHasArrow?:
|
321
|
-
hintOffset?:
|
322
|
-
hintWidth?:
|
323
|
-
hintContentLeft?:
|
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" | "
|
341
|
-
status?: "" | "
|
342
|
-
label?: string;
|
343
|
-
labelPlacement?: "
|
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?:
|
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?: "
|
351
|
-
} & {
|
352
|
-
required?: boolean;
|
353
|
-
requiredPlacement?: "
|
354
|
-
optional?: boolean;
|
355
|
-
hasRequiredIndicator?: boolean;
|
356
|
-
} & {
|
357
|
-
hintText?:
|
358
|
-
hintOpened?:
|
359
|
-
hintTrigger?:
|
360
|
-
hintView?:
|
361
|
-
hintSize?:
|
362
|
-
hintTargetIcon?:
|
363
|
-
hintPlacement?:
|
364
|
-
hintHasArrow?:
|
365
|
-
hintOffset?:
|
366
|
-
hintWidth?:
|
367
|
-
hintContentLeft?:
|
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;
|