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