@salutejs/sdds-dfa 0.179.0-canary.1556.11999996386.0 → 0.179.0-canary.1558.12000013697.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +1668 -4162
- package/components/Autocomplete/Autocomplete.d.ts +39 -631
- package/components/Combobox/Combobox.d.ts +36 -492
- package/components/DatePicker/DatePicker.d.ts +1 -47
- package/components/Mask/Mask.d.ts +39 -1239
- package/components/Modal/Modal.config.js +1 -1
- package/components/Select/Select.d.ts +14 -288
- package/components/TextArea/TextArea.d.ts +32 -16
- package/components/TextField/TextField.d.ts +39 -711
- package/es/components/Modal/Modal.config.js +1 -1
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +1668 -4162
@@ -13,7 +13,7 @@ var config = exports.config = {
|
|
13
13
|
},
|
14
14
|
variations: {
|
15
15
|
view: {
|
16
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": rgba(35, 35, 35, 0.2);\n ", ": var(--overlay-soft);\n "])), _styledComponents.modalTokens.modalOverlayWithBlurColor, _styledComponents.modalTokens.modalOverlayColor)
|
16
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": rgba(35, 35, 35, 0.2);\n ", ": var(--overlay-soft);\n ", ": var(--surface-solid-card);\n ", ": 1.25rem;\n ", ": 2rem;\n ", ": 0.625rem;\n ", ": 0.375rem;\n ", ": var(--surface-accent);\n "])), _styledComponents.modalTokens.modalOverlayWithBlurColor, _styledComponents.modalTokens.modalOverlayColor, _styledComponents.modalTokens.modalBodyBackground, _styledComponents.modalTokens.modalBodyBorderRadius, _styledComponents.modalTokens.modalBodyPadding, _styledComponents.modalTokens.modalContentPadding, _styledComponents.modalTokens.modalCloseButtonRadius, _styledComponents.modalTokens.modalOutlineFocusColor)
|
17
17
|
}
|
18
18
|
}
|
19
19
|
};
|
@@ -32,19 +32,18 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
32
32
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
33
|
};
|
34
34
|
}> & (({
|
35
|
-
required: true;
|
36
35
|
requiredPlacement?: "right" | "left" | undefined;
|
36
|
+
} & {
|
37
|
+
required: true;
|
37
38
|
optional?: false | undefined;
|
38
39
|
} & {
|
39
40
|
target?: "textfield-like" | undefined;
|
40
41
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
41
42
|
contentLeft?: React.ReactNode;
|
43
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
42
44
|
placeholder?: string | undefined;
|
43
45
|
helperText?: string | undefined;
|
44
46
|
chipType?: "default" | "text" | undefined;
|
45
|
-
} & {
|
46
|
-
labelPlacement?: "inner" | undefined;
|
47
|
-
hasPlaceholder?: boolean | undefined;
|
48
47
|
} & {
|
49
48
|
multiselect?: false | undefined;
|
50
49
|
separator?: undefined;
|
@@ -53,7 +52,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
53
52
|
onChange?: ((value: any) => void) | undefined;
|
54
53
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
55
54
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
56
|
-
label?: string | undefined;
|
57
55
|
placeholder?: string | undefined;
|
58
56
|
helperText?: string | undefined;
|
59
57
|
disabled?: boolean | undefined;
|
@@ -63,51 +61,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
63
61
|
isTargetAmount?: boolean | undefined;
|
64
62
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
65
63
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
66
|
-
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
67
|
-
variant?: "normal" | "tight" | undefined;
|
68
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
69
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
70
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
71
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
72
|
-
closeAfterSelect?: boolean | undefined;
|
73
|
-
size?: string | undefined;
|
74
|
-
view?: string | undefined;
|
75
|
-
chipView?: string | undefined;
|
76
|
-
status?: "warning" | "success" | "error" | undefined;
|
77
|
-
hasItems?: boolean | undefined;
|
78
|
-
isOpen?: boolean | undefined;
|
79
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
80
|
-
required: true;
|
81
|
-
requiredPlacement?: "right" | "left" | undefined;
|
82
|
-
optional?: false | undefined;
|
83
|
-
} & {
|
84
|
-
target?: "textfield-like" | undefined;
|
85
|
-
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
86
|
-
contentLeft?: React.ReactNode;
|
87
|
-
placeholder?: string | undefined;
|
88
|
-
helperText?: string | undefined;
|
89
|
-
chipType?: "default" | "text" | undefined;
|
90
|
-
} & {
|
91
|
-
labelPlacement?: "inner" | undefined;
|
92
|
-
hasPlaceholder?: boolean | undefined;
|
93
|
-
} & {
|
94
|
-
multiselect?: true | undefined;
|
95
|
-
separator?: string | undefined;
|
96
|
-
} & {
|
97
|
-
value?: any;
|
98
|
-
onChange?: ((value: any) => void) | undefined;
|
99
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
100
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
101
64
|
label?: string | undefined;
|
102
|
-
placeholder?: string | undefined;
|
103
|
-
helperText?: string | undefined;
|
104
|
-
disabled?: boolean | undefined;
|
105
|
-
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
106
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
107
|
-
children?: undefined;
|
108
|
-
isTargetAmount?: boolean | undefined;
|
109
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
110
|
-
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
111
65
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
112
66
|
variant?: "normal" | "tight" | undefined;
|
113
67
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -122,64 +76,18 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
122
76
|
hasItems?: boolean | undefined;
|
123
77
|
isOpen?: boolean | undefined;
|
124
78
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
125
|
-
required: true;
|
126
79
|
requiredPlacement?: "right" | "left" | undefined;
|
127
|
-
optional?: false | undefined;
|
128
80
|
} & {
|
129
|
-
target?: "textfield-like" | undefined;
|
130
|
-
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
131
|
-
contentLeft?: React.ReactNode;
|
132
|
-
placeholder?: string | undefined;
|
133
|
-
helperText?: string | undefined;
|
134
|
-
chipType?: "default" | "text" | undefined;
|
135
|
-
} & {
|
136
|
-
labelPlacement?: "outer" | undefined;
|
137
|
-
hasPlaceholder?: undefined;
|
138
|
-
} & {
|
139
|
-
multiselect?: false | undefined;
|
140
|
-
separator?: undefined;
|
141
|
-
} & {
|
142
|
-
value?: any;
|
143
|
-
onChange?: ((value: any) => void) | undefined;
|
144
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
145
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
146
|
-
label?: string | undefined;
|
147
|
-
placeholder?: string | undefined;
|
148
|
-
helperText?: string | undefined;
|
149
|
-
disabled?: boolean | undefined;
|
150
|
-
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
151
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
152
|
-
children?: undefined;
|
153
|
-
isTargetAmount?: boolean | undefined;
|
154
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
155
|
-
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
156
|
-
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
157
|
-
variant?: "normal" | "tight" | undefined;
|
158
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
159
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
160
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
161
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
162
|
-
closeAfterSelect?: boolean | undefined;
|
163
|
-
size?: string | undefined;
|
164
|
-
view?: string | undefined;
|
165
|
-
chipView?: string | undefined;
|
166
|
-
status?: "warning" | "success" | "error" | undefined;
|
167
|
-
hasItems?: boolean | undefined;
|
168
|
-
isOpen?: boolean | undefined;
|
169
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
170
81
|
required: true;
|
171
|
-
requiredPlacement?: "right" | "left" | undefined;
|
172
82
|
optional?: false | undefined;
|
173
83
|
} & {
|
174
84
|
target?: "textfield-like" | undefined;
|
175
85
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
176
86
|
contentLeft?: React.ReactNode;
|
87
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
177
88
|
placeholder?: string | undefined;
|
178
89
|
helperText?: string | undefined;
|
179
90
|
chipType?: "default" | "text" | undefined;
|
180
|
-
} & {
|
181
|
-
labelPlacement?: "outer" | undefined;
|
182
|
-
hasPlaceholder?: undefined;
|
183
91
|
} & {
|
184
92
|
multiselect?: true | undefined;
|
185
93
|
separator?: string | undefined;
|
@@ -188,7 +96,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
188
96
|
onChange?: ((value: any) => void) | undefined;
|
189
97
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
190
98
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
191
|
-
label?: string | undefined;
|
192
99
|
placeholder?: string | undefined;
|
193
100
|
helperText?: string | undefined;
|
194
101
|
disabled?: boolean | undefined;
|
@@ -198,51 +105,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
198
105
|
isTargetAmount?: boolean | undefined;
|
199
106
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
200
107
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
201
|
-
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
202
|
-
variant?: "normal" | "tight" | undefined;
|
203
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
204
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
205
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
206
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
207
|
-
closeAfterSelect?: boolean | undefined;
|
208
|
-
size?: string | undefined;
|
209
|
-
view?: string | undefined;
|
210
|
-
chipView?: string | undefined;
|
211
|
-
status?: "warning" | "success" | "error" | undefined;
|
212
|
-
hasItems?: boolean | undefined;
|
213
|
-
isOpen?: boolean | undefined;
|
214
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
215
|
-
required?: false | undefined;
|
216
|
-
requiredPlacement?: undefined;
|
217
|
-
optional?: boolean | undefined;
|
218
|
-
} & {
|
219
|
-
target?: "textfield-like" | undefined;
|
220
|
-
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
221
|
-
contentLeft?: React.ReactNode;
|
222
|
-
placeholder?: string | undefined;
|
223
|
-
helperText?: string | undefined;
|
224
|
-
chipType?: "default" | "text" | undefined;
|
225
|
-
} & {
|
226
|
-
labelPlacement?: "inner" | undefined;
|
227
|
-
hasPlaceholder?: boolean | undefined;
|
228
|
-
} & {
|
229
|
-
multiselect?: false | undefined;
|
230
|
-
separator?: undefined;
|
231
|
-
} & {
|
232
|
-
value?: any;
|
233
|
-
onChange?: ((value: any) => void) | undefined;
|
234
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
235
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
236
108
|
label?: string | undefined;
|
237
|
-
placeholder?: string | undefined;
|
238
|
-
helperText?: string | undefined;
|
239
|
-
disabled?: boolean | undefined;
|
240
|
-
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
241
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
242
|
-
children?: undefined;
|
243
|
-
isTargetAmount?: boolean | undefined;
|
244
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
245
|
-
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
246
109
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
247
110
|
variant?: "normal" | "tight" | undefined;
|
248
111
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -257,64 +120,18 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
257
120
|
hasItems?: boolean | undefined;
|
258
121
|
isOpen?: boolean | undefined;
|
259
122
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
260
|
-
|
261
|
-
requiredPlacement?: undefined;
|
262
|
-
optional?: boolean | undefined;
|
263
|
-
} & {
|
264
|
-
target?: "textfield-like" | undefined;
|
265
|
-
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
266
|
-
contentLeft?: React.ReactNode;
|
267
|
-
placeholder?: string | undefined;
|
268
|
-
helperText?: string | undefined;
|
269
|
-
chipType?: "default" | "text" | undefined;
|
270
|
-
} & {
|
271
|
-
labelPlacement?: "inner" | undefined;
|
272
|
-
hasPlaceholder?: boolean | undefined;
|
273
|
-
} & {
|
274
|
-
multiselect?: true | undefined;
|
275
|
-
separator?: string | undefined;
|
123
|
+
requiredPlacement?: "right" | "left" | undefined;
|
276
124
|
} & {
|
277
|
-
|
278
|
-
onChange?: ((value: any) => void) | undefined;
|
279
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
280
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
281
|
-
label?: string | undefined;
|
282
|
-
placeholder?: string | undefined;
|
283
|
-
helperText?: string | undefined;
|
284
|
-
disabled?: boolean | undefined;
|
285
|
-
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
286
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
287
|
-
children?: undefined;
|
288
|
-
isTargetAmount?: boolean | undefined;
|
289
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
290
|
-
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
291
|
-
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
292
|
-
variant?: "normal" | "tight" | undefined;
|
293
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
294
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
295
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
296
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
297
|
-
closeAfterSelect?: boolean | undefined;
|
298
|
-
size?: string | undefined;
|
299
|
-
view?: string | undefined;
|
300
|
-
chipView?: string | undefined;
|
301
|
-
status?: "warning" | "success" | "error" | undefined;
|
302
|
-
hasItems?: boolean | undefined;
|
303
|
-
isOpen?: boolean | undefined;
|
304
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
125
|
+
optional?: true | undefined;
|
305
126
|
required?: false | undefined;
|
306
|
-
requiredPlacement?: undefined;
|
307
|
-
optional?: boolean | undefined;
|
308
127
|
} & {
|
309
128
|
target?: "textfield-like" | undefined;
|
310
129
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
311
130
|
contentLeft?: React.ReactNode;
|
131
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
312
132
|
placeholder?: string | undefined;
|
313
133
|
helperText?: string | undefined;
|
314
134
|
chipType?: "default" | "text" | undefined;
|
315
|
-
} & {
|
316
|
-
labelPlacement?: "outer" | undefined;
|
317
|
-
hasPlaceholder?: undefined;
|
318
135
|
} & {
|
319
136
|
multiselect?: false | undefined;
|
320
137
|
separator?: undefined;
|
@@ -323,7 +140,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
323
140
|
onChange?: ((value: any) => void) | undefined;
|
324
141
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
325
142
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
326
|
-
label?: string | undefined;
|
327
143
|
placeholder?: string | undefined;
|
328
144
|
helperText?: string | undefined;
|
329
145
|
disabled?: boolean | undefined;
|
@@ -333,6 +149,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
333
149
|
isTargetAmount?: boolean | undefined;
|
334
150
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
335
151
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
152
|
+
label?: string | undefined;
|
336
153
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
337
154
|
variant?: "normal" | "tight" | undefined;
|
338
155
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -347,19 +164,18 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
347
164
|
hasItems?: boolean | undefined;
|
348
165
|
isOpen?: boolean | undefined;
|
349
166
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
167
|
+
requiredPlacement?: "right" | "left" | undefined;
|
168
|
+
} & {
|
169
|
+
optional?: true | undefined;
|
350
170
|
required?: false | undefined;
|
351
|
-
requiredPlacement?: undefined;
|
352
|
-
optional?: boolean | undefined;
|
353
171
|
} & {
|
354
172
|
target?: "textfield-like" | undefined;
|
355
173
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
356
174
|
contentLeft?: React.ReactNode;
|
175
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
357
176
|
placeholder?: string | undefined;
|
358
177
|
helperText?: string | undefined;
|
359
178
|
chipType?: "default" | "text" | undefined;
|
360
|
-
} & {
|
361
|
-
labelPlacement?: "outer" | undefined;
|
362
|
-
hasPlaceholder?: undefined;
|
363
179
|
} & {
|
364
180
|
multiselect?: true | undefined;
|
365
181
|
separator?: string | undefined;
|
@@ -368,49 +184,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
368
184
|
onChange?: ((value: any) => void) | undefined;
|
369
185
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
370
186
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
371
|
-
label?: string | undefined;
|
372
|
-
placeholder?: string | undefined;
|
373
|
-
helperText?: string | undefined;
|
374
|
-
disabled?: boolean | undefined;
|
375
|
-
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
376
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
377
|
-
children?: undefined;
|
378
|
-
isTargetAmount?: boolean | undefined;
|
379
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
380
|
-
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
381
|
-
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
382
|
-
variant?: "normal" | "tight" | undefined;
|
383
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
384
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
385
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
386
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
387
|
-
closeAfterSelect?: boolean | undefined;
|
388
|
-
size?: string | undefined;
|
389
|
-
view?: string | undefined;
|
390
|
-
chipView?: string | undefined;
|
391
|
-
status?: "warning" | "success" | "error" | undefined;
|
392
|
-
hasItems?: boolean | undefined;
|
393
|
-
isOpen?: boolean | undefined;
|
394
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
395
|
-
target: "button-like";
|
396
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
397
|
-
contentLeft?: undefined;
|
398
|
-
labelPlacement?: undefined;
|
399
|
-
placeholder?: undefined;
|
400
|
-
helperText?: undefined;
|
401
|
-
chipType?: undefined;
|
402
|
-
} & {
|
403
|
-
labelPlacement?: "inner" | undefined;
|
404
|
-
hasPlaceholder?: boolean | undefined;
|
405
|
-
} & {
|
406
|
-
multiselect?: false | undefined;
|
407
|
-
separator?: undefined;
|
408
|
-
} & {
|
409
|
-
value?: any;
|
410
|
-
onChange?: ((value: any) => void) | undefined;
|
411
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
412
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
413
|
-
label?: string | undefined;
|
414
187
|
placeholder?: string | undefined;
|
415
188
|
helperText?: string | undefined;
|
416
189
|
disabled?: boolean | undefined;
|
@@ -420,48 +193,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
420
193
|
isTargetAmount?: boolean | undefined;
|
421
194
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
422
195
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
423
|
-
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
424
|
-
variant?: "normal" | "tight" | undefined;
|
425
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
426
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
427
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
428
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
429
|
-
closeAfterSelect?: boolean | undefined;
|
430
|
-
size?: string | undefined;
|
431
|
-
view?: string | undefined;
|
432
|
-
chipView?: string | undefined;
|
433
|
-
status?: "warning" | "success" | "error" | undefined;
|
434
|
-
hasItems?: boolean | undefined;
|
435
|
-
isOpen?: boolean | undefined;
|
436
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
437
|
-
target: "button-like";
|
438
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
439
|
-
contentLeft?: undefined;
|
440
|
-
labelPlacement?: undefined;
|
441
|
-
placeholder?: undefined;
|
442
|
-
helperText?: undefined;
|
443
|
-
chipType?: undefined;
|
444
|
-
} & {
|
445
|
-
labelPlacement?: "inner" | undefined;
|
446
|
-
hasPlaceholder?: boolean | undefined;
|
447
|
-
} & {
|
448
|
-
multiselect?: true | undefined;
|
449
|
-
separator?: string | undefined;
|
450
|
-
} & {
|
451
|
-
value?: any;
|
452
|
-
onChange?: ((value: any) => void) | undefined;
|
453
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
454
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
455
196
|
label?: string | undefined;
|
456
|
-
placeholder?: string | undefined;
|
457
|
-
helperText?: string | undefined;
|
458
|
-
disabled?: boolean | undefined;
|
459
|
-
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
460
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
461
|
-
children?: undefined;
|
462
|
-
isTargetAmount?: boolean | undefined;
|
463
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
464
|
-
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
465
197
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
466
198
|
variant?: "normal" | "tight" | undefined;
|
467
199
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -483,9 +215,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
483
215
|
placeholder?: undefined;
|
484
216
|
helperText?: undefined;
|
485
217
|
chipType?: undefined;
|
486
|
-
} & {
|
487
|
-
labelPlacement?: "outer" | undefined;
|
488
|
-
hasPlaceholder?: undefined;
|
489
218
|
} & {
|
490
219
|
multiselect?: false | undefined;
|
491
220
|
separator?: undefined;
|
@@ -494,7 +223,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
494
223
|
onChange?: ((value: any) => void) | undefined;
|
495
224
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
496
225
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
497
|
-
label?: string | undefined;
|
498
226
|
placeholder?: string | undefined;
|
499
227
|
helperText?: string | undefined;
|
500
228
|
disabled?: boolean | undefined;
|
@@ -504,6 +232,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
504
232
|
isTargetAmount?: boolean | undefined;
|
505
233
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
506
234
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
235
|
+
label?: string | undefined;
|
507
236
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
508
237
|
variant?: "normal" | "tight" | undefined;
|
509
238
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -525,9 +254,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
525
254
|
placeholder?: undefined;
|
526
255
|
helperText?: undefined;
|
527
256
|
chipType?: undefined;
|
528
|
-
} & {
|
529
|
-
labelPlacement?: "outer" | undefined;
|
530
|
-
hasPlaceholder?: undefined;
|
531
257
|
} & {
|
532
258
|
multiselect?: true | undefined;
|
533
259
|
separator?: string | undefined;
|
@@ -536,7 +262,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
536
262
|
onChange?: ((value: any) => void) | undefined;
|
537
263
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
538
264
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
539
|
-
label?: string | undefined;
|
540
265
|
placeholder?: string | undefined;
|
541
266
|
helperText?: string | undefined;
|
542
267
|
disabled?: boolean | undefined;
|
@@ -546,6 +271,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
546
271
|
isTargetAmount?: boolean | undefined;
|
547
272
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
548
273
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
274
|
+
label?: string | undefined;
|
549
275
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
550
276
|
variant?: "normal" | "tight" | undefined;
|
551
277
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -40,8 +40,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
40
40
|
leftHelper?: string | undefined;
|
41
41
|
rightHelper?: string | undefined;
|
42
42
|
} & {
|
43
|
-
required: true;
|
44
43
|
requiredPlacement?: "right" | "left" | undefined;
|
44
|
+
} & {
|
45
|
+
required: true;
|
45
46
|
optional?: false | undefined;
|
46
47
|
} & {
|
47
48
|
hintText: string;
|
@@ -82,8 +83,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
82
83
|
leftHelper?: string | undefined;
|
83
84
|
rightHelper?: string | undefined;
|
84
85
|
} & {
|
85
|
-
required: true;
|
86
86
|
requiredPlacement?: "right" | "left" | undefined;
|
87
|
+
} & {
|
88
|
+
required: true;
|
87
89
|
optional?: false | undefined;
|
88
90
|
} & {
|
89
91
|
hintText: string;
|
@@ -124,8 +126,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
124
126
|
leftHelper?: string | undefined;
|
125
127
|
rightHelper?: string | undefined;
|
126
128
|
} & {
|
127
|
-
required: true;
|
128
129
|
requiredPlacement?: "right" | "left" | undefined;
|
130
|
+
} & {
|
131
|
+
required: true;
|
129
132
|
optional?: false | undefined;
|
130
133
|
} & {
|
131
134
|
hintText: string;
|
@@ -166,8 +169,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
166
169
|
leftHelper?: string | undefined;
|
167
170
|
rightHelper?: string | undefined;
|
168
171
|
} & {
|
169
|
-
required: true;
|
170
172
|
requiredPlacement?: "right" | "left" | undefined;
|
173
|
+
} & {
|
174
|
+
required: true;
|
171
175
|
optional?: false | undefined;
|
172
176
|
} & {
|
173
177
|
hintText: string;
|
@@ -208,8 +212,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
208
212
|
leftHelper?: string | undefined;
|
209
213
|
rightHelper?: string | undefined;
|
210
214
|
} & {
|
211
|
-
required: true;
|
212
215
|
requiredPlacement?: "right" | "left" | undefined;
|
216
|
+
} & {
|
217
|
+
required: true;
|
213
218
|
optional?: false | undefined;
|
214
219
|
} & {
|
215
220
|
hintText?: undefined;
|
@@ -250,8 +255,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
250
255
|
leftHelper?: string | undefined;
|
251
256
|
rightHelper?: string | undefined;
|
252
257
|
} & {
|
253
|
-
required: true;
|
254
258
|
requiredPlacement?: "right" | "left" | undefined;
|
259
|
+
} & {
|
260
|
+
required: true;
|
255
261
|
optional?: false | undefined;
|
256
262
|
} & {
|
257
263
|
hintText?: undefined;
|
@@ -292,8 +298,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
292
298
|
leftHelper?: string | undefined;
|
293
299
|
rightHelper?: string | undefined;
|
294
300
|
} & {
|
295
|
-
required: true;
|
296
301
|
requiredPlacement?: "right" | "left" | undefined;
|
302
|
+
} & {
|
303
|
+
required: true;
|
297
304
|
optional?: false | undefined;
|
298
305
|
} & {
|
299
306
|
hintText?: undefined;
|
@@ -334,8 +341,9 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
334
341
|
leftHelper?: string | undefined;
|
335
342
|
rightHelper?: string | undefined;
|
336
343
|
} & {
|
337
|
-
required: true;
|
338
344
|
requiredPlacement?: "right" | "left" | undefined;
|
345
|
+
} & {
|
346
|
+
required: true;
|
339
347
|
optional?: false | undefined;
|
340
348
|
} & {
|
341
349
|
hintText?: undefined;
|
@@ -375,10 +383,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
375
383
|
helperText?: string | undefined;
|
376
384
|
leftHelper?: string | undefined;
|
377
385
|
rightHelper?: string | undefined;
|
386
|
+
} & {
|
387
|
+
requiredPlacement?: "right" | "left" | undefined;
|
378
388
|
} & {
|
379
389
|
optional?: true | undefined;
|
380
390
|
required?: false | undefined;
|
381
|
-
requiredPlacement?: undefined;
|
382
391
|
} & {
|
383
392
|
hintText: string;
|
384
393
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -417,10 +426,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
417
426
|
helperText?: string | undefined;
|
418
427
|
leftHelper?: string | undefined;
|
419
428
|
rightHelper?: string | undefined;
|
429
|
+
} & {
|
430
|
+
requiredPlacement?: "right" | "left" | undefined;
|
420
431
|
} & {
|
421
432
|
optional?: true | undefined;
|
422
433
|
required?: false | undefined;
|
423
|
-
requiredPlacement?: undefined;
|
424
434
|
} & {
|
425
435
|
hintText: string;
|
426
436
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -459,10 +469,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
459
469
|
helperText?: string | undefined;
|
460
470
|
leftHelper?: string | undefined;
|
461
471
|
rightHelper?: string | undefined;
|
472
|
+
} & {
|
473
|
+
requiredPlacement?: "right" | "left" | undefined;
|
462
474
|
} & {
|
463
475
|
optional?: true | undefined;
|
464
476
|
required?: false | undefined;
|
465
|
-
requiredPlacement?: undefined;
|
466
477
|
} & {
|
467
478
|
hintText: string;
|
468
479
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -501,10 +512,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
501
512
|
helperText?: string | undefined;
|
502
513
|
leftHelper?: string | undefined;
|
503
514
|
rightHelper?: string | undefined;
|
515
|
+
} & {
|
516
|
+
requiredPlacement?: "right" | "left" | undefined;
|
504
517
|
} & {
|
505
518
|
optional?: true | undefined;
|
506
519
|
required?: false | undefined;
|
507
|
-
requiredPlacement?: undefined;
|
508
520
|
} & {
|
509
521
|
hintText: string;
|
510
522
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -543,10 +555,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
543
555
|
helperText?: string | undefined;
|
544
556
|
leftHelper?: string | undefined;
|
545
557
|
rightHelper?: string | undefined;
|
558
|
+
} & {
|
559
|
+
requiredPlacement?: "right" | "left" | undefined;
|
546
560
|
} & {
|
547
561
|
optional?: true | undefined;
|
548
562
|
required?: false | undefined;
|
549
|
-
requiredPlacement?: undefined;
|
550
563
|
} & {
|
551
564
|
hintText?: undefined;
|
552
565
|
hintOpened?: undefined;
|
@@ -585,10 +598,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
585
598
|
helperText?: string | undefined;
|
586
599
|
leftHelper?: string | undefined;
|
587
600
|
rightHelper?: string | undefined;
|
601
|
+
} & {
|
602
|
+
requiredPlacement?: "right" | "left" | undefined;
|
588
603
|
} & {
|
589
604
|
optional?: true | undefined;
|
590
605
|
required?: false | undefined;
|
591
|
-
requiredPlacement?: undefined;
|
592
606
|
} & {
|
593
607
|
hintText?: undefined;
|
594
608
|
hintOpened?: undefined;
|
@@ -627,10 +641,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
627
641
|
helperText?: string | undefined;
|
628
642
|
leftHelper?: string | undefined;
|
629
643
|
rightHelper?: string | undefined;
|
644
|
+
} & {
|
645
|
+
requiredPlacement?: "right" | "left" | undefined;
|
630
646
|
} & {
|
631
647
|
optional?: true | undefined;
|
632
648
|
required?: false | undefined;
|
633
|
-
requiredPlacement?: undefined;
|
634
649
|
} & {
|
635
650
|
hintText?: undefined;
|
636
651
|
hintOpened?: undefined;
|
@@ -669,10 +684,11 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
669
684
|
helperText?: string | undefined;
|
670
685
|
leftHelper?: string | undefined;
|
671
686
|
rightHelper?: string | undefined;
|
687
|
+
} & {
|
688
|
+
requiredPlacement?: "right" | "left" | undefined;
|
672
689
|
} & {
|
673
690
|
optional?: true | undefined;
|
674
691
|
required?: false | undefined;
|
675
|
-
requiredPlacement?: undefined;
|
676
692
|
} & {
|
677
693
|
hintText?: undefined;
|
678
694
|
hintOpened?: undefined;
|