@salutejs/sdds-finportal 0.162.0-canary.1550.11768426274.0 → 0.162.0-canary.1552.11776095169.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +552 -72
- package/components/Combobox/Combobox.d.ts +504 -24
- package/components/Combobox/index.d.ts +504 -24
- package/components/Select/Select.config.d.ts +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +35 -42
- package/components/Tabs/index.d.ts +1 -1
- package/es/components/Select/Select.config.js +22 -30
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +552 -72
@@ -35,7 +35,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
35
35
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
36
36
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
37
37
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
38
|
-
portal?:
|
38
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
39
39
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
40
40
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
41
41
|
closeAfterSelect?: boolean | undefined;
|
@@ -47,8 +47,10 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
47
47
|
disabled?: true | undefined;
|
48
48
|
alwaysOpened?: false | undefined;
|
49
49
|
} & {
|
50
|
+
name?: undefined;
|
50
51
|
multiple?: false | undefined;
|
51
52
|
value?: string | undefined;
|
53
|
+
defaultValue?: undefined;
|
52
54
|
onChange?: ((value: string) => void) | undefined;
|
53
55
|
isTargetAmount?: false | undefined;
|
54
56
|
targetAmount?: undefined;
|
@@ -58,7 +60,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
58
60
|
} & {
|
59
61
|
required: true;
|
60
62
|
optional?: false | undefined;
|
61
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
63
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
62
64
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
63
65
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
64
66
|
label?: string | undefined;
|
@@ -71,7 +73,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
71
73
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
72
74
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
73
75
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
74
|
-
portal?:
|
76
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
75
77
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
76
78
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
77
79
|
closeAfterSelect?: boolean | undefined;
|
@@ -83,8 +85,10 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
83
85
|
disabled?: true | undefined;
|
84
86
|
alwaysOpened?: false | undefined;
|
85
87
|
} & {
|
88
|
+
name?: undefined;
|
86
89
|
multiple?: false | undefined;
|
87
90
|
value?: string | undefined;
|
91
|
+
defaultValue?: undefined;
|
88
92
|
onChange?: ((value: string) => void) | undefined;
|
89
93
|
isTargetAmount?: false | undefined;
|
90
94
|
targetAmount?: undefined;
|
@@ -94,7 +98,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
94
98
|
} & {
|
95
99
|
optional?: true | undefined;
|
96
100
|
required?: false | undefined;
|
97
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
101
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
98
102
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
99
103
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
100
104
|
label?: string | undefined;
|
@@ -107,7 +111,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
107
111
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
108
112
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
109
113
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
110
|
-
portal?:
|
114
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
111
115
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
112
116
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
113
117
|
closeAfterSelect?: boolean | undefined;
|
@@ -121,16 +125,170 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
121
125
|
} & {
|
122
126
|
multiple: true;
|
123
127
|
value?: string[] | undefined;
|
128
|
+
defaultValue?: string[] | undefined;
|
129
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
130
|
+
isTargetAmount?: false | undefined;
|
131
|
+
targetAmount?: undefined;
|
132
|
+
renderValue?: undefined;
|
133
|
+
name: string;
|
134
|
+
} & {
|
135
|
+
requiredPlacement?: "right" | "left" | undefined;
|
136
|
+
} & {
|
137
|
+
required: true;
|
138
|
+
optional?: false | undefined;
|
139
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
140
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
141
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
142
|
+
label?: string | undefined;
|
143
|
+
placeholder?: string | undefined;
|
144
|
+
helperText?: string | undefined;
|
145
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
146
|
+
textBefore?: string | undefined;
|
147
|
+
textAfter?: string | undefined;
|
148
|
+
variant?: "normal" | "tight" | undefined;
|
149
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
150
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
151
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
152
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
153
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
154
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
155
|
+
closeAfterSelect?: boolean | undefined;
|
156
|
+
size?: string | undefined;
|
157
|
+
view?: string | undefined;
|
158
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
159
|
+
} & {
|
160
|
+
readOnly?: boolean | undefined;
|
161
|
+
disabled?: true | undefined;
|
162
|
+
alwaysOpened?: false | undefined;
|
163
|
+
} & {
|
164
|
+
multiple: true;
|
165
|
+
value?: string[] | undefined;
|
166
|
+
defaultValue?: string[] | undefined;
|
167
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
168
|
+
isTargetAmount?: false | undefined;
|
169
|
+
targetAmount?: undefined;
|
170
|
+
renderValue?: undefined;
|
171
|
+
name: string;
|
172
|
+
} & {
|
173
|
+
requiredPlacement?: "right" | "left" | undefined;
|
174
|
+
} & {
|
175
|
+
optional?: true | undefined;
|
176
|
+
required?: false | undefined;
|
177
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
178
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
179
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
180
|
+
label?: string | undefined;
|
181
|
+
placeholder?: string | undefined;
|
182
|
+
helperText?: string | undefined;
|
183
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
184
|
+
textBefore?: string | undefined;
|
185
|
+
textAfter?: string | undefined;
|
186
|
+
variant?: "normal" | "tight" | undefined;
|
187
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
188
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
189
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
190
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
191
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
192
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
193
|
+
closeAfterSelect?: boolean | undefined;
|
194
|
+
size?: string | undefined;
|
195
|
+
view?: string | undefined;
|
196
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
197
|
+
} & {
|
198
|
+
readOnly?: boolean | undefined;
|
199
|
+
disabled?: true | undefined;
|
200
|
+
alwaysOpened?: false | undefined;
|
201
|
+
} & {
|
202
|
+
multiple?: false | undefined;
|
203
|
+
value?: string | undefined;
|
204
|
+
defaultValue?: string | undefined;
|
205
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
206
|
+
isTargetAmount?: false | undefined;
|
207
|
+
targetAmount?: undefined;
|
208
|
+
renderValue?: undefined;
|
209
|
+
name: string;
|
210
|
+
} & {
|
211
|
+
requiredPlacement?: "right" | "left" | undefined;
|
212
|
+
} & {
|
213
|
+
required: true;
|
214
|
+
optional?: false | undefined;
|
215
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
216
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
217
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
218
|
+
label?: string | undefined;
|
219
|
+
placeholder?: string | undefined;
|
220
|
+
helperText?: string | undefined;
|
221
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
222
|
+
textBefore?: string | undefined;
|
223
|
+
textAfter?: string | undefined;
|
224
|
+
variant?: "normal" | "tight" | undefined;
|
225
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
226
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
227
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
228
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
229
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
230
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
231
|
+
closeAfterSelect?: boolean | undefined;
|
232
|
+
size?: string | undefined;
|
233
|
+
view?: string | undefined;
|
234
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
235
|
+
} & {
|
236
|
+
readOnly?: boolean | undefined;
|
237
|
+
disabled?: true | undefined;
|
238
|
+
alwaysOpened?: false | undefined;
|
239
|
+
} & {
|
240
|
+
multiple?: false | undefined;
|
241
|
+
value?: string | undefined;
|
242
|
+
defaultValue?: string | undefined;
|
243
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
244
|
+
isTargetAmount?: false | undefined;
|
245
|
+
targetAmount?: undefined;
|
246
|
+
renderValue?: undefined;
|
247
|
+
name: string;
|
248
|
+
} & {
|
249
|
+
requiredPlacement?: "right" | "left" | undefined;
|
250
|
+
} & {
|
251
|
+
optional?: true | undefined;
|
252
|
+
required?: false | undefined;
|
253
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
254
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
255
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
256
|
+
label?: string | undefined;
|
257
|
+
placeholder?: string | undefined;
|
258
|
+
helperText?: string | undefined;
|
259
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
260
|
+
textBefore?: string | undefined;
|
261
|
+
textAfter?: string | undefined;
|
262
|
+
variant?: "normal" | "tight" | undefined;
|
263
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
264
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
265
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
266
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
267
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
268
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
269
|
+
closeAfterSelect?: boolean | undefined;
|
270
|
+
size?: string | undefined;
|
271
|
+
view?: string | undefined;
|
272
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
273
|
+
} & {
|
274
|
+
readOnly?: boolean | undefined;
|
275
|
+
disabled?: true | undefined;
|
276
|
+
alwaysOpened?: false | undefined;
|
277
|
+
} & {
|
278
|
+
multiple: true;
|
279
|
+
value?: string[] | undefined;
|
280
|
+
defaultValue?: undefined;
|
124
281
|
onChange?: ((value: string[]) => void) | undefined;
|
125
282
|
isTargetAmount?: true | undefined;
|
126
283
|
targetAmount?: number | undefined;
|
127
284
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
285
|
+
name?: undefined;
|
128
286
|
} & {
|
129
287
|
requiredPlacement?: "right" | "left" | undefined;
|
130
288
|
} & {
|
131
289
|
required: true;
|
132
290
|
optional?: false | undefined;
|
133
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
291
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
134
292
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
135
293
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
136
294
|
label?: string | undefined;
|
@@ -143,7 +301,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
143
301
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
144
302
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
145
303
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
146
|
-
portal?:
|
304
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
147
305
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
148
306
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
149
307
|
closeAfterSelect?: boolean | undefined;
|
@@ -157,16 +315,18 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
157
315
|
} & {
|
158
316
|
multiple: true;
|
159
317
|
value?: string[] | undefined;
|
318
|
+
defaultValue?: undefined;
|
160
319
|
onChange?: ((value: string[]) => void) | undefined;
|
161
320
|
isTargetAmount?: true | undefined;
|
162
321
|
targetAmount?: number | undefined;
|
163
322
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
323
|
+
name?: undefined;
|
164
324
|
} & {
|
165
325
|
requiredPlacement?: "right" | "left" | undefined;
|
166
326
|
} & {
|
167
327
|
optional?: true | undefined;
|
168
328
|
required?: false | undefined;
|
169
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
329
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
170
330
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
171
331
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
172
332
|
label?: string | undefined;
|
@@ -179,7 +339,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
179
339
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
180
340
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
181
341
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
182
|
-
portal?:
|
342
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
183
343
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
184
344
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
185
345
|
closeAfterSelect?: boolean | undefined;
|
@@ -191,8 +351,10 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
191
351
|
disabled?: boolean | undefined;
|
192
352
|
alwaysOpened?: false | undefined;
|
193
353
|
} & {
|
354
|
+
name?: undefined;
|
194
355
|
multiple?: false | undefined;
|
195
356
|
value?: string | undefined;
|
357
|
+
defaultValue?: undefined;
|
196
358
|
onChange?: ((value: string) => void) | undefined;
|
197
359
|
isTargetAmount?: false | undefined;
|
198
360
|
targetAmount?: undefined;
|
@@ -202,7 +364,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
202
364
|
} & {
|
203
365
|
required: true;
|
204
366
|
optional?: false | undefined;
|
205
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
367
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
206
368
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
207
369
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
208
370
|
label?: string | undefined;
|
@@ -215,7 +377,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
215
377
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
216
378
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
217
379
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
218
|
-
portal?:
|
380
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
219
381
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
220
382
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
221
383
|
closeAfterSelect?: boolean | undefined;
|
@@ -227,8 +389,10 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
227
389
|
disabled?: boolean | undefined;
|
228
390
|
alwaysOpened?: false | undefined;
|
229
391
|
} & {
|
392
|
+
name?: undefined;
|
230
393
|
multiple?: false | undefined;
|
231
394
|
value?: string | undefined;
|
395
|
+
defaultValue?: undefined;
|
232
396
|
onChange?: ((value: string) => void) | undefined;
|
233
397
|
isTargetAmount?: false | undefined;
|
234
398
|
targetAmount?: undefined;
|
@@ -238,7 +402,83 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
238
402
|
} & {
|
239
403
|
optional?: true | undefined;
|
240
404
|
required?: false | undefined;
|
241
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
405
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
406
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
407
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
408
|
+
label?: string | undefined;
|
409
|
+
placeholder?: string | undefined;
|
410
|
+
helperText?: string | undefined;
|
411
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
412
|
+
textBefore?: string | undefined;
|
413
|
+
textAfter?: string | undefined;
|
414
|
+
variant?: "normal" | "tight" | undefined;
|
415
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
416
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
417
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
418
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
419
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
420
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
421
|
+
closeAfterSelect?: boolean | undefined;
|
422
|
+
size?: string | undefined;
|
423
|
+
view?: string | undefined;
|
424
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
425
|
+
} & {
|
426
|
+
readOnly?: true | undefined;
|
427
|
+
disabled?: boolean | undefined;
|
428
|
+
alwaysOpened?: false | undefined;
|
429
|
+
} & {
|
430
|
+
multiple: true;
|
431
|
+
value?: string[] | undefined;
|
432
|
+
defaultValue?: string[] | undefined;
|
433
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
434
|
+
isTargetAmount?: false | undefined;
|
435
|
+
targetAmount?: undefined;
|
436
|
+
renderValue?: undefined;
|
437
|
+
name: string;
|
438
|
+
} & {
|
439
|
+
requiredPlacement?: "right" | "left" | undefined;
|
440
|
+
} & {
|
441
|
+
required: true;
|
442
|
+
optional?: false | undefined;
|
443
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
444
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
445
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
446
|
+
label?: string | undefined;
|
447
|
+
placeholder?: string | undefined;
|
448
|
+
helperText?: string | undefined;
|
449
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
450
|
+
textBefore?: string | undefined;
|
451
|
+
textAfter?: string | undefined;
|
452
|
+
variant?: "normal" | "tight" | undefined;
|
453
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
454
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
455
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
456
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
457
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
458
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
459
|
+
closeAfterSelect?: boolean | undefined;
|
460
|
+
size?: string | undefined;
|
461
|
+
view?: string | undefined;
|
462
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
463
|
+
} & {
|
464
|
+
readOnly?: true | undefined;
|
465
|
+
disabled?: boolean | undefined;
|
466
|
+
alwaysOpened?: false | undefined;
|
467
|
+
} & {
|
468
|
+
multiple: true;
|
469
|
+
value?: string[] | undefined;
|
470
|
+
defaultValue?: string[] | undefined;
|
471
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
472
|
+
isTargetAmount?: false | undefined;
|
473
|
+
targetAmount?: undefined;
|
474
|
+
renderValue?: undefined;
|
475
|
+
name: string;
|
476
|
+
} & {
|
477
|
+
requiredPlacement?: "right" | "left" | undefined;
|
478
|
+
} & {
|
479
|
+
optional?: true | undefined;
|
480
|
+
required?: false | undefined;
|
481
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
242
482
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
243
483
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
244
484
|
label?: string | undefined;
|
@@ -251,7 +491,83 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
251
491
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
252
492
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
253
493
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
254
|
-
portal?:
|
494
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
495
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
496
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
497
|
+
closeAfterSelect?: boolean | undefined;
|
498
|
+
size?: string | undefined;
|
499
|
+
view?: string | undefined;
|
500
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
501
|
+
} & {
|
502
|
+
readOnly?: true | undefined;
|
503
|
+
disabled?: boolean | undefined;
|
504
|
+
alwaysOpened?: false | undefined;
|
505
|
+
} & {
|
506
|
+
multiple?: false | undefined;
|
507
|
+
value?: string | undefined;
|
508
|
+
defaultValue?: string | undefined;
|
509
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
510
|
+
isTargetAmount?: false | undefined;
|
511
|
+
targetAmount?: undefined;
|
512
|
+
renderValue?: undefined;
|
513
|
+
name: string;
|
514
|
+
} & {
|
515
|
+
requiredPlacement?: "right" | "left" | undefined;
|
516
|
+
} & {
|
517
|
+
required: true;
|
518
|
+
optional?: false | undefined;
|
519
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
520
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
521
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
522
|
+
label?: string | undefined;
|
523
|
+
placeholder?: string | undefined;
|
524
|
+
helperText?: string | undefined;
|
525
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
526
|
+
textBefore?: string | undefined;
|
527
|
+
textAfter?: string | undefined;
|
528
|
+
variant?: "normal" | "tight" | undefined;
|
529
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
530
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
531
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
532
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
533
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
534
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
535
|
+
closeAfterSelect?: boolean | undefined;
|
536
|
+
size?: string | undefined;
|
537
|
+
view?: string | undefined;
|
538
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
539
|
+
} & {
|
540
|
+
readOnly?: true | undefined;
|
541
|
+
disabled?: boolean | undefined;
|
542
|
+
alwaysOpened?: false | undefined;
|
543
|
+
} & {
|
544
|
+
multiple?: false | undefined;
|
545
|
+
value?: string | undefined;
|
546
|
+
defaultValue?: string | undefined;
|
547
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
548
|
+
isTargetAmount?: false | undefined;
|
549
|
+
targetAmount?: undefined;
|
550
|
+
renderValue?: undefined;
|
551
|
+
name: string;
|
552
|
+
} & {
|
553
|
+
requiredPlacement?: "right" | "left" | undefined;
|
554
|
+
} & {
|
555
|
+
optional?: true | undefined;
|
556
|
+
required?: false | undefined;
|
557
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
558
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
559
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
560
|
+
label?: string | undefined;
|
561
|
+
placeholder?: string | undefined;
|
562
|
+
helperText?: string | undefined;
|
563
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
564
|
+
textBefore?: string | undefined;
|
565
|
+
textAfter?: string | undefined;
|
566
|
+
variant?: "normal" | "tight" | undefined;
|
567
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
568
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
569
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
570
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
255
571
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
256
572
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
257
573
|
closeAfterSelect?: boolean | undefined;
|
@@ -265,16 +581,18 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
265
581
|
} & {
|
266
582
|
multiple: true;
|
267
583
|
value?: string[] | undefined;
|
584
|
+
defaultValue?: undefined;
|
268
585
|
onChange?: ((value: string[]) => void) | undefined;
|
269
586
|
isTargetAmount?: true | undefined;
|
270
587
|
targetAmount?: number | undefined;
|
271
588
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
589
|
+
name?: undefined;
|
272
590
|
} & {
|
273
591
|
requiredPlacement?: "right" | "left" | undefined;
|
274
592
|
} & {
|
275
593
|
required: true;
|
276
594
|
optional?: false | undefined;
|
277
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
595
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
278
596
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
279
597
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
280
598
|
label?: string | undefined;
|
@@ -287,7 +605,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
287
605
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
288
606
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
289
607
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
290
|
-
portal?:
|
608
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
291
609
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
292
610
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
293
611
|
closeAfterSelect?: boolean | undefined;
|
@@ -301,16 +619,18 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
301
619
|
} & {
|
302
620
|
multiple: true;
|
303
621
|
value?: string[] | undefined;
|
622
|
+
defaultValue?: undefined;
|
304
623
|
onChange?: ((value: string[]) => void) | undefined;
|
305
624
|
isTargetAmount?: true | undefined;
|
306
625
|
targetAmount?: number | undefined;
|
307
626
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
627
|
+
name?: undefined;
|
308
628
|
} & {
|
309
629
|
requiredPlacement?: "right" | "left" | undefined;
|
310
630
|
} & {
|
311
631
|
optional?: true | undefined;
|
312
632
|
required?: false | undefined;
|
313
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
633
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
314
634
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
315
635
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
316
636
|
label?: string | undefined;
|
@@ -323,7 +643,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
323
643
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
324
644
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
325
645
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
326
|
-
portal?:
|
646
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
327
647
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
328
648
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
329
649
|
closeAfterSelect?: boolean | undefined;
|
@@ -335,8 +655,10 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
335
655
|
disabled?: false | undefined;
|
336
656
|
alwaysOpened?: true | undefined;
|
337
657
|
} & {
|
658
|
+
name?: undefined;
|
338
659
|
multiple?: false | undefined;
|
339
660
|
value?: string | undefined;
|
661
|
+
defaultValue?: undefined;
|
340
662
|
onChange?: ((value: string) => void) | undefined;
|
341
663
|
isTargetAmount?: false | undefined;
|
342
664
|
targetAmount?: undefined;
|
@@ -346,7 +668,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
346
668
|
} & {
|
347
669
|
required: true;
|
348
670
|
optional?: false | undefined;
|
349
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
671
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
350
672
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
351
673
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
352
674
|
label?: string | undefined;
|
@@ -359,7 +681,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
359
681
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
360
682
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
361
683
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
362
|
-
portal?:
|
684
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
363
685
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
364
686
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
365
687
|
closeAfterSelect?: boolean | undefined;
|
@@ -371,8 +693,10 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
371
693
|
disabled?: false | undefined;
|
372
694
|
alwaysOpened?: true | undefined;
|
373
695
|
} & {
|
696
|
+
name?: undefined;
|
374
697
|
multiple?: false | undefined;
|
375
698
|
value?: string | undefined;
|
699
|
+
defaultValue?: undefined;
|
376
700
|
onChange?: ((value: string) => void) | undefined;
|
377
701
|
isTargetAmount?: false | undefined;
|
378
702
|
targetAmount?: undefined;
|
@@ -382,7 +706,159 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
382
706
|
} & {
|
383
707
|
optional?: true | undefined;
|
384
708
|
required?: false | undefined;
|
385
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
709
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
710
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
711
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
712
|
+
label?: string | undefined;
|
713
|
+
placeholder?: string | undefined;
|
714
|
+
helperText?: string | undefined;
|
715
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
716
|
+
textBefore?: string | undefined;
|
717
|
+
textAfter?: string | undefined;
|
718
|
+
variant?: "normal" | "tight" | undefined;
|
719
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
720
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
721
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
722
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
723
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
724
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
725
|
+
closeAfterSelect?: boolean | undefined;
|
726
|
+
size?: string | undefined;
|
727
|
+
view?: string | undefined;
|
728
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
729
|
+
} & {
|
730
|
+
readOnly?: false | undefined;
|
731
|
+
disabled?: false | undefined;
|
732
|
+
alwaysOpened?: true | undefined;
|
733
|
+
} & {
|
734
|
+
multiple: true;
|
735
|
+
value?: string[] | undefined;
|
736
|
+
defaultValue?: string[] | undefined;
|
737
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
738
|
+
isTargetAmount?: false | undefined;
|
739
|
+
targetAmount?: undefined;
|
740
|
+
renderValue?: undefined;
|
741
|
+
name: string;
|
742
|
+
} & {
|
743
|
+
requiredPlacement?: "right" | "left" | undefined;
|
744
|
+
} & {
|
745
|
+
required: true;
|
746
|
+
optional?: false | undefined;
|
747
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
748
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
749
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
750
|
+
label?: string | undefined;
|
751
|
+
placeholder?: string | undefined;
|
752
|
+
helperText?: string | undefined;
|
753
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
754
|
+
textBefore?: string | undefined;
|
755
|
+
textAfter?: string | undefined;
|
756
|
+
variant?: "normal" | "tight" | undefined;
|
757
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
758
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
759
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
760
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
761
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
762
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
763
|
+
closeAfterSelect?: boolean | undefined;
|
764
|
+
size?: string | undefined;
|
765
|
+
view?: string | undefined;
|
766
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
767
|
+
} & {
|
768
|
+
readOnly?: false | undefined;
|
769
|
+
disabled?: false | undefined;
|
770
|
+
alwaysOpened?: true | undefined;
|
771
|
+
} & {
|
772
|
+
multiple: true;
|
773
|
+
value?: string[] | undefined;
|
774
|
+
defaultValue?: string[] | undefined;
|
775
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
776
|
+
isTargetAmount?: false | undefined;
|
777
|
+
targetAmount?: undefined;
|
778
|
+
renderValue?: undefined;
|
779
|
+
name: string;
|
780
|
+
} & {
|
781
|
+
requiredPlacement?: "right" | "left" | undefined;
|
782
|
+
} & {
|
783
|
+
optional?: true | undefined;
|
784
|
+
required?: false | undefined;
|
785
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
786
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
787
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
788
|
+
label?: string | undefined;
|
789
|
+
placeholder?: string | undefined;
|
790
|
+
helperText?: string | undefined;
|
791
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
792
|
+
textBefore?: string | undefined;
|
793
|
+
textAfter?: string | undefined;
|
794
|
+
variant?: "normal" | "tight" | undefined;
|
795
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
796
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
797
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
798
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
799
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
800
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
801
|
+
closeAfterSelect?: boolean | undefined;
|
802
|
+
size?: string | undefined;
|
803
|
+
view?: string | undefined;
|
804
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
805
|
+
} & {
|
806
|
+
readOnly?: false | undefined;
|
807
|
+
disabled?: false | undefined;
|
808
|
+
alwaysOpened?: true | undefined;
|
809
|
+
} & {
|
810
|
+
multiple?: false | undefined;
|
811
|
+
value?: string | undefined;
|
812
|
+
defaultValue?: string | undefined;
|
813
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
814
|
+
isTargetAmount?: false | undefined;
|
815
|
+
targetAmount?: undefined;
|
816
|
+
renderValue?: undefined;
|
817
|
+
name: string;
|
818
|
+
} & {
|
819
|
+
requiredPlacement?: "right" | "left" | undefined;
|
820
|
+
} & {
|
821
|
+
required: true;
|
822
|
+
optional?: false | undefined;
|
823
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
824
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
825
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
826
|
+
label?: string | undefined;
|
827
|
+
placeholder?: string | undefined;
|
828
|
+
helperText?: string | undefined;
|
829
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
830
|
+
textBefore?: string | undefined;
|
831
|
+
textAfter?: string | undefined;
|
832
|
+
variant?: "normal" | "tight" | undefined;
|
833
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
834
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
835
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
836
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
837
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
838
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
839
|
+
closeAfterSelect?: boolean | undefined;
|
840
|
+
size?: string | undefined;
|
841
|
+
view?: string | undefined;
|
842
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
843
|
+
} & {
|
844
|
+
readOnly?: false | undefined;
|
845
|
+
disabled?: false | undefined;
|
846
|
+
alwaysOpened?: true | undefined;
|
847
|
+
} & {
|
848
|
+
multiple?: false | undefined;
|
849
|
+
value?: string | undefined;
|
850
|
+
defaultValue?: string | undefined;
|
851
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
852
|
+
isTargetAmount?: false | undefined;
|
853
|
+
targetAmount?: undefined;
|
854
|
+
renderValue?: undefined;
|
855
|
+
name: string;
|
856
|
+
} & {
|
857
|
+
requiredPlacement?: "right" | "left" | undefined;
|
858
|
+
} & {
|
859
|
+
optional?: true | undefined;
|
860
|
+
required?: false | undefined;
|
861
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
386
862
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
387
863
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
388
864
|
label?: string | undefined;
|
@@ -395,7 +871,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
395
871
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
396
872
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
397
873
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
398
|
-
portal?:
|
874
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
399
875
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
400
876
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
401
877
|
closeAfterSelect?: boolean | undefined;
|
@@ -409,16 +885,18 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
409
885
|
} & {
|
410
886
|
multiple: true;
|
411
887
|
value?: string[] | undefined;
|
888
|
+
defaultValue?: undefined;
|
412
889
|
onChange?: ((value: string[]) => void) | undefined;
|
413
890
|
isTargetAmount?: true | undefined;
|
414
891
|
targetAmount?: number | undefined;
|
415
892
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
893
|
+
name?: undefined;
|
416
894
|
} & {
|
417
895
|
requiredPlacement?: "right" | "left" | undefined;
|
418
896
|
} & {
|
419
897
|
required: true;
|
420
898
|
optional?: false | undefined;
|
421
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
899
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
422
900
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
423
901
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
424
902
|
label?: string | undefined;
|
@@ -431,7 +909,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
431
909
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
432
910
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
433
911
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
434
|
-
portal?:
|
912
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
435
913
|
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
436
914
|
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
437
915
|
closeAfterSelect?: boolean | undefined;
|
@@ -445,13 +923,15 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
445
923
|
} & {
|
446
924
|
multiple: true;
|
447
925
|
value?: string[] | undefined;
|
926
|
+
defaultValue?: undefined;
|
448
927
|
onChange?: ((value: string[]) => void) | undefined;
|
449
928
|
isTargetAmount?: true | undefined;
|
450
929
|
targetAmount?: number | undefined;
|
451
930
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
931
|
+
name?: undefined;
|
452
932
|
} & {
|
453
933
|
requiredPlacement?: "right" | "left" | undefined;
|
454
934
|
} & {
|
455
935
|
optional?: true | undefined;
|
456
936
|
required?: false | undefined;
|
457
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
937
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>))>;
|