@salutejs/sdds-dfa 0.176.0-canary.1552.11952949201.0 → 0.176.0-canary.1556.11967620671.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +2977 -1093
- package/components/Autocomplete/Autocomplete.d.ts +3 -5
- package/components/Combobox/Combobox.d.ts +266 -314
- package/components/DatePicker/DatePicker.d.ts +47 -1
- package/components/Mask/Mask.d.ts +1238 -54
- package/components/Select/Select.d.ts +282 -14
- package/components/TextField/TextField.d.ts +709 -53
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +2977 -1093
@@ -32,17 +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;
|
44
|
+
} & {
|
45
|
+
label?: string | undefined;
|
46
|
+
labelPlacement?: "inner" | undefined;
|
47
|
+
hasPlaceholder?: boolean | undefined;
|
46
48
|
} & {
|
47
49
|
multiselect?: false | undefined;
|
48
50
|
separator?: undefined;
|
@@ -60,7 +62,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
60
62
|
isTargetAmount?: boolean | undefined;
|
61
63
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
62
64
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
63
|
-
label?: string | undefined;
|
64
65
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
65
66
|
variant?: "normal" | "tight" | undefined;
|
66
67
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -75,17 +76,19 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
75
76
|
hasItems?: boolean | undefined;
|
76
77
|
isOpen?: boolean | undefined;
|
77
78
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
78
|
-
requiredPlacement?: "right" | "left" | undefined;
|
79
|
-
} & {
|
80
79
|
required: true;
|
80
|
+
requiredPlacement?: "right" | "left" | undefined;
|
81
81
|
optional?: false | undefined;
|
82
82
|
} & {
|
83
83
|
target?: "textfield-like" | undefined;
|
84
84
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
85
85
|
contentLeft?: React.ReactNode;
|
86
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
87
86
|
placeholder?: string | undefined;
|
88
87
|
helperText?: string | undefined;
|
88
|
+
} & {
|
89
|
+
label?: string | undefined;
|
90
|
+
labelPlacement?: "inner" | undefined;
|
91
|
+
hasPlaceholder?: boolean | undefined;
|
89
92
|
} & {
|
90
93
|
multiselect?: true | undefined;
|
91
94
|
separator?: string | undefined;
|
@@ -103,7 +106,50 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
103
106
|
isTargetAmount?: boolean | undefined;
|
104
107
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
105
108
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
109
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
110
|
+
variant?: "normal" | "tight" | undefined;
|
111
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
112
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
113
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
114
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
115
|
+
closeAfterSelect?: boolean | undefined;
|
116
|
+
size?: string | undefined;
|
117
|
+
view?: string | undefined;
|
118
|
+
chipView?: string | undefined;
|
119
|
+
status?: "warning" | "success" | "error" | undefined;
|
120
|
+
hasItems?: boolean | undefined;
|
121
|
+
isOpen?: boolean | undefined;
|
122
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
123
|
+
required: true;
|
124
|
+
requiredPlacement?: "right" | "left" | undefined;
|
125
|
+
optional?: false | undefined;
|
126
|
+
} & {
|
127
|
+
target?: "textfield-like" | undefined;
|
128
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
129
|
+
contentLeft?: React.ReactNode;
|
130
|
+
placeholder?: string | undefined;
|
131
|
+
helperText?: string | undefined;
|
132
|
+
} & {
|
106
133
|
label?: string | undefined;
|
134
|
+
labelPlacement?: "outer" | undefined;
|
135
|
+
hasPlaceholder?: undefined;
|
136
|
+
} & {
|
137
|
+
multiselect?: false | undefined;
|
138
|
+
separator?: undefined;
|
139
|
+
} & {
|
140
|
+
value?: any;
|
141
|
+
onChange?: ((value: any) => void) | undefined;
|
142
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
143
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
144
|
+
placeholder?: string | undefined;
|
145
|
+
helperText?: string | undefined;
|
146
|
+
disabled?: boolean | undefined;
|
147
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
148
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
149
|
+
children?: undefined;
|
150
|
+
isTargetAmount?: boolean | undefined;
|
151
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
152
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
107
153
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
108
154
|
variant?: "normal" | "tight" | undefined;
|
109
155
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -118,17 +164,63 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
118
164
|
hasItems?: boolean | undefined;
|
119
165
|
isOpen?: boolean | undefined;
|
120
166
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
167
|
+
required: true;
|
121
168
|
requiredPlacement?: "right" | "left" | undefined;
|
169
|
+
optional?: false | undefined;
|
170
|
+
} & {
|
171
|
+
target?: "textfield-like" | undefined;
|
172
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
173
|
+
contentLeft?: React.ReactNode;
|
174
|
+
placeholder?: string | undefined;
|
175
|
+
helperText?: string | undefined;
|
176
|
+
} & {
|
177
|
+
label?: string | undefined;
|
178
|
+
labelPlacement?: "outer" | undefined;
|
179
|
+
hasPlaceholder?: undefined;
|
180
|
+
} & {
|
181
|
+
multiselect?: true | undefined;
|
182
|
+
separator?: string | undefined;
|
122
183
|
} & {
|
123
|
-
|
184
|
+
value?: any;
|
185
|
+
onChange?: ((value: any) => void) | undefined;
|
186
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
187
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
188
|
+
placeholder?: string | undefined;
|
189
|
+
helperText?: string | undefined;
|
190
|
+
disabled?: boolean | undefined;
|
191
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
192
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
193
|
+
children?: undefined;
|
194
|
+
isTargetAmount?: boolean | undefined;
|
195
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
196
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
197
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
198
|
+
variant?: "normal" | "tight" | undefined;
|
199
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
200
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
201
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
202
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
203
|
+
closeAfterSelect?: boolean | undefined;
|
204
|
+
size?: string | undefined;
|
205
|
+
view?: string | undefined;
|
206
|
+
chipView?: string | undefined;
|
207
|
+
status?: "warning" | "success" | "error" | undefined;
|
208
|
+
hasItems?: boolean | undefined;
|
209
|
+
isOpen?: boolean | undefined;
|
210
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
124
211
|
required?: false | undefined;
|
212
|
+
requiredPlacement?: undefined;
|
213
|
+
optional?: boolean | undefined;
|
125
214
|
} & {
|
126
215
|
target?: "textfield-like" | undefined;
|
127
216
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
128
217
|
contentLeft?: React.ReactNode;
|
129
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
130
218
|
placeholder?: string | undefined;
|
131
219
|
helperText?: string | undefined;
|
220
|
+
} & {
|
221
|
+
label?: string | undefined;
|
222
|
+
labelPlacement?: "inner" | undefined;
|
223
|
+
hasPlaceholder?: boolean | undefined;
|
132
224
|
} & {
|
133
225
|
multiselect?: false | undefined;
|
134
226
|
separator?: undefined;
|
@@ -146,7 +238,50 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
146
238
|
isTargetAmount?: boolean | undefined;
|
147
239
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
148
240
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
241
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
242
|
+
variant?: "normal" | "tight" | undefined;
|
243
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
244
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
245
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
246
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
247
|
+
closeAfterSelect?: boolean | undefined;
|
248
|
+
size?: string | undefined;
|
249
|
+
view?: string | undefined;
|
250
|
+
chipView?: string | undefined;
|
251
|
+
status?: "warning" | "success" | "error" | undefined;
|
252
|
+
hasItems?: boolean | undefined;
|
253
|
+
isOpen?: boolean | undefined;
|
254
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
255
|
+
required?: false | undefined;
|
256
|
+
requiredPlacement?: undefined;
|
257
|
+
optional?: boolean | undefined;
|
258
|
+
} & {
|
259
|
+
target?: "textfield-like" | undefined;
|
260
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
261
|
+
contentLeft?: React.ReactNode;
|
262
|
+
placeholder?: string | undefined;
|
263
|
+
helperText?: string | undefined;
|
264
|
+
} & {
|
149
265
|
label?: string | undefined;
|
266
|
+
labelPlacement?: "inner" | undefined;
|
267
|
+
hasPlaceholder?: boolean | undefined;
|
268
|
+
} & {
|
269
|
+
multiselect?: true | undefined;
|
270
|
+
separator?: string | undefined;
|
271
|
+
} & {
|
272
|
+
value?: any;
|
273
|
+
onChange?: ((value: any) => void) | undefined;
|
274
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
275
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
276
|
+
placeholder?: string | undefined;
|
277
|
+
helperText?: string | undefined;
|
278
|
+
disabled?: boolean | undefined;
|
279
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
280
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
281
|
+
children?: undefined;
|
282
|
+
isTargetAmount?: boolean | undefined;
|
283
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
284
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
150
285
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
151
286
|
variant?: "normal" | "tight" | undefined;
|
152
287
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -161,17 +296,63 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
161
296
|
hasItems?: boolean | undefined;
|
162
297
|
isOpen?: boolean | undefined;
|
163
298
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
164
|
-
|
299
|
+
required?: false | undefined;
|
300
|
+
requiredPlacement?: undefined;
|
301
|
+
optional?: boolean | undefined;
|
302
|
+
} & {
|
303
|
+
target?: "textfield-like" | undefined;
|
304
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
305
|
+
contentLeft?: React.ReactNode;
|
306
|
+
placeholder?: string | undefined;
|
307
|
+
helperText?: string | undefined;
|
308
|
+
} & {
|
309
|
+
label?: string | undefined;
|
310
|
+
labelPlacement?: "outer" | undefined;
|
311
|
+
hasPlaceholder?: undefined;
|
312
|
+
} & {
|
313
|
+
multiselect?: false | undefined;
|
314
|
+
separator?: undefined;
|
165
315
|
} & {
|
166
|
-
|
316
|
+
value?: any;
|
317
|
+
onChange?: ((value: any) => void) | undefined;
|
318
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
319
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
320
|
+
placeholder?: string | undefined;
|
321
|
+
helperText?: string | undefined;
|
322
|
+
disabled?: boolean | undefined;
|
323
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
324
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
325
|
+
children?: undefined;
|
326
|
+
isTargetAmount?: boolean | undefined;
|
327
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
328
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
329
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
330
|
+
variant?: "normal" | "tight" | undefined;
|
331
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
332
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
333
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
334
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
335
|
+
closeAfterSelect?: boolean | undefined;
|
336
|
+
size?: string | undefined;
|
337
|
+
view?: string | undefined;
|
338
|
+
chipView?: string | undefined;
|
339
|
+
status?: "warning" | "success" | "error" | undefined;
|
340
|
+
hasItems?: boolean | undefined;
|
341
|
+
isOpen?: boolean | undefined;
|
342
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
167
343
|
required?: false | undefined;
|
344
|
+
requiredPlacement?: undefined;
|
345
|
+
optional?: boolean | undefined;
|
168
346
|
} & {
|
169
347
|
target?: "textfield-like" | undefined;
|
170
348
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
171
349
|
contentLeft?: React.ReactNode;
|
172
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
173
350
|
placeholder?: string | undefined;
|
174
351
|
helperText?: string | undefined;
|
352
|
+
} & {
|
353
|
+
label?: string | undefined;
|
354
|
+
labelPlacement?: "outer" | undefined;
|
355
|
+
hasPlaceholder?: undefined;
|
175
356
|
} & {
|
176
357
|
multiselect?: true | undefined;
|
177
358
|
separator?: string | undefined;
|
@@ -189,7 +370,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
189
370
|
isTargetAmount?: boolean | undefined;
|
190
371
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
191
372
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
192
|
-
label?: string | undefined;
|
193
373
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
194
374
|
variant?: "normal" | "tight" | undefined;
|
195
375
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -210,6 +390,10 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
210
390
|
labelPlacement?: undefined;
|
211
391
|
placeholder?: undefined;
|
212
392
|
helperText?: undefined;
|
393
|
+
} & {
|
394
|
+
label?: string | undefined;
|
395
|
+
labelPlacement?: "inner" | undefined;
|
396
|
+
hasPlaceholder?: boolean | undefined;
|
213
397
|
} & {
|
214
398
|
multiselect?: false | undefined;
|
215
399
|
separator?: undefined;
|
@@ -227,7 +411,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
227
411
|
isTargetAmount?: boolean | undefined;
|
228
412
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
229
413
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
230
|
-
label?: string | undefined;
|
231
414
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
232
415
|
variant?: "normal" | "tight" | undefined;
|
233
416
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -248,6 +431,10 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
248
431
|
labelPlacement?: undefined;
|
249
432
|
placeholder?: undefined;
|
250
433
|
helperText?: undefined;
|
434
|
+
} & {
|
435
|
+
label?: string | undefined;
|
436
|
+
labelPlacement?: "inner" | undefined;
|
437
|
+
hasPlaceholder?: boolean | undefined;
|
251
438
|
} & {
|
252
439
|
multiselect?: true | undefined;
|
253
440
|
separator?: string | undefined;
|
@@ -265,7 +452,88 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
265
452
|
isTargetAmount?: boolean | undefined;
|
266
453
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
267
454
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
455
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
456
|
+
variant?: "normal" | "tight" | undefined;
|
457
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
458
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
459
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
460
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
461
|
+
closeAfterSelect?: boolean | undefined;
|
462
|
+
size?: string | undefined;
|
463
|
+
view?: string | undefined;
|
464
|
+
chipView?: string | undefined;
|
465
|
+
status?: "warning" | "success" | "error" | undefined;
|
466
|
+
hasItems?: boolean | undefined;
|
467
|
+
isOpen?: boolean | undefined;
|
468
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
469
|
+
target: "button-like";
|
470
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
471
|
+
contentLeft?: undefined;
|
472
|
+
labelPlacement?: undefined;
|
473
|
+
placeholder?: undefined;
|
474
|
+
helperText?: undefined;
|
475
|
+
} & {
|
476
|
+
label?: string | undefined;
|
477
|
+
labelPlacement?: "outer" | undefined;
|
478
|
+
hasPlaceholder?: undefined;
|
479
|
+
} & {
|
480
|
+
multiselect?: false | undefined;
|
481
|
+
separator?: undefined;
|
482
|
+
} & {
|
483
|
+
value?: any;
|
484
|
+
onChange?: ((value: any) => void) | undefined;
|
485
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
486
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
487
|
+
placeholder?: string | undefined;
|
488
|
+
helperText?: string | undefined;
|
489
|
+
disabled?: boolean | undefined;
|
490
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
491
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
492
|
+
children?: undefined;
|
493
|
+
isTargetAmount?: boolean | undefined;
|
494
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
495
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
496
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
497
|
+
variant?: "normal" | "tight" | undefined;
|
498
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
499
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
500
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
501
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
502
|
+
closeAfterSelect?: boolean | undefined;
|
503
|
+
size?: string | undefined;
|
504
|
+
view?: string | undefined;
|
505
|
+
chipView?: string | undefined;
|
506
|
+
status?: "warning" | "success" | "error" | undefined;
|
507
|
+
hasItems?: boolean | undefined;
|
508
|
+
isOpen?: boolean | undefined;
|
509
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
510
|
+
target: "button-like";
|
511
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
512
|
+
contentLeft?: undefined;
|
513
|
+
labelPlacement?: undefined;
|
514
|
+
placeholder?: undefined;
|
515
|
+
helperText?: undefined;
|
516
|
+
} & {
|
268
517
|
label?: string | undefined;
|
518
|
+
labelPlacement?: "outer" | undefined;
|
519
|
+
hasPlaceholder?: undefined;
|
520
|
+
} & {
|
521
|
+
multiselect?: true | undefined;
|
522
|
+
separator?: string | undefined;
|
523
|
+
} & {
|
524
|
+
value?: any;
|
525
|
+
onChange?: ((value: any) => void) | undefined;
|
526
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
527
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
528
|
+
placeholder?: string | undefined;
|
529
|
+
helperText?: string | undefined;
|
530
|
+
disabled?: boolean | undefined;
|
531
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
532
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
533
|
+
children?: undefined;
|
534
|
+
isTargetAmount?: boolean | undefined;
|
535
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
536
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
269
537
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
270
538
|
variant?: "normal" | "tight" | undefined;
|
271
539
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|