@salutejs/sdds-finportal 0.166.1-dev.0 → 0.167.0-canary.1550.11804452240.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +59 -234
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +82 -80
- package/components/Combobox/Combobox.js +10 -1
- package/components/Combobox/index.d.ts +1 -465
- package/components/Combobox/index.js +7 -3
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Mask/Mask.d.ts +16 -16
- package/components/Radiobox/Radiobox.d.ts +2 -2
- package/components/Select/Select.config.d.ts +15 -7
- package/components/Select/Select.config.js +29 -21
- package/components/Select/Select.d.ts +59 -50
- package/components/Select/Select.js +5 -6
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Combobox/Combobox.js +11 -2
- package/es/components/Combobox/index.js +1 -3
- package/es/components/Select/Select.config.js +30 -22
- package/es/components/Select/Select.js +5 -4
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +5453 -0
@@ -1,465 +1 @@
|
|
1
|
-
|
2
|
-
import type { ForwardedRef, ReactElement, ComponentProps } from 'react';
|
3
|
-
import { Combobox as ComboboxComponent } from './Combobox';
|
4
|
-
import { config } from './Combobox.config';
|
5
|
-
declare type PropsFromConfig = keyof typeof config['variations'];
|
6
|
-
declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
|
7
|
-
declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
8
|
-
view: {
|
9
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
-
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
};
|
14
|
-
size: {
|
15
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
|
-
};
|
20
|
-
labelPlacement: {
|
21
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
-
};
|
24
|
-
disabled: {
|
25
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
-
};
|
27
|
-
readOnly: {
|
28
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
-
};
|
30
|
-
}> & (({
|
31
|
-
items: ItemOption[];
|
32
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
33
|
-
label?: string | undefined;
|
34
|
-
placeholder?: string | undefined;
|
35
|
-
helperText?: string | undefined;
|
36
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
37
|
-
textBefore?: string | undefined;
|
38
|
-
textAfter?: string | undefined;
|
39
|
-
variant?: "normal" | "tight" | undefined;
|
40
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
41
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
43
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
44
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
45
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
46
|
-
closeAfterSelect?: boolean | undefined;
|
47
|
-
size?: string | undefined;
|
48
|
-
view?: string | undefined;
|
49
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
50
|
-
} & {
|
51
|
-
readOnly?: boolean | undefined;
|
52
|
-
disabled?: true | undefined;
|
53
|
-
alwaysOpened?: false | undefined;
|
54
|
-
} & {
|
55
|
-
multiple?: false | undefined;
|
56
|
-
value?: string | undefined;
|
57
|
-
onChange?: ((value: string) => void) | undefined;
|
58
|
-
isTargetAmount?: false | undefined;
|
59
|
-
targetAmount?: undefined;
|
60
|
-
renderValue?: undefined;
|
61
|
-
} & {
|
62
|
-
requiredPlacement?: "right" | "left" | undefined;
|
63
|
-
} & {
|
64
|
-
required: true;
|
65
|
-
optional?: false | undefined;
|
66
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
67
|
-
items: ItemOption[];
|
68
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
69
|
-
label?: string | undefined;
|
70
|
-
placeholder?: string | undefined;
|
71
|
-
helperText?: string | undefined;
|
72
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
73
|
-
textBefore?: string | undefined;
|
74
|
-
textAfter?: string | undefined;
|
75
|
-
variant?: "normal" | "tight" | undefined;
|
76
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
77
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
78
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
80
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
81
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
82
|
-
closeAfterSelect?: boolean | undefined;
|
83
|
-
size?: string | undefined;
|
84
|
-
view?: string | undefined;
|
85
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
86
|
-
} & {
|
87
|
-
readOnly?: boolean | undefined;
|
88
|
-
disabled?: true | undefined;
|
89
|
-
alwaysOpened?: false | undefined;
|
90
|
-
} & {
|
91
|
-
multiple?: false | undefined;
|
92
|
-
value?: string | undefined;
|
93
|
-
onChange?: ((value: string) => void) | undefined;
|
94
|
-
isTargetAmount?: false | undefined;
|
95
|
-
targetAmount?: undefined;
|
96
|
-
renderValue?: undefined;
|
97
|
-
} & {
|
98
|
-
requiredPlacement?: "right" | "left" | undefined;
|
99
|
-
} & {
|
100
|
-
optional?: true | undefined;
|
101
|
-
required?: false | undefined;
|
102
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
103
|
-
items: ItemOption[];
|
104
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
105
|
-
label?: string | undefined;
|
106
|
-
placeholder?: string | undefined;
|
107
|
-
helperText?: string | undefined;
|
108
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
109
|
-
textBefore?: string | undefined;
|
110
|
-
textAfter?: string | undefined;
|
111
|
-
variant?: "normal" | "tight" | undefined;
|
112
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
113
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
114
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
115
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
116
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
117
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
118
|
-
closeAfterSelect?: boolean | undefined;
|
119
|
-
size?: string | undefined;
|
120
|
-
view?: string | undefined;
|
121
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
122
|
-
} & {
|
123
|
-
readOnly?: boolean | undefined;
|
124
|
-
disabled?: true | undefined;
|
125
|
-
alwaysOpened?: false | undefined;
|
126
|
-
} & {
|
127
|
-
multiple: true;
|
128
|
-
value?: string[] | undefined;
|
129
|
-
onChange?: ((value: string[]) => void) | undefined;
|
130
|
-
isTargetAmount?: true | undefined;
|
131
|
-
targetAmount?: number | undefined;
|
132
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
133
|
-
} & {
|
134
|
-
requiredPlacement?: "right" | "left" | undefined;
|
135
|
-
} & {
|
136
|
-
required: true;
|
137
|
-
optional?: false | undefined;
|
138
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
139
|
-
items: ItemOption[];
|
140
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
141
|
-
label?: string | undefined;
|
142
|
-
placeholder?: string | undefined;
|
143
|
-
helperText?: string | undefined;
|
144
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
145
|
-
textBefore?: string | undefined;
|
146
|
-
textAfter?: string | undefined;
|
147
|
-
variant?: "normal" | "tight" | undefined;
|
148
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
149
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
150
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
151
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
152
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
153
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
154
|
-
closeAfterSelect?: boolean | undefined;
|
155
|
-
size?: string | undefined;
|
156
|
-
view?: string | undefined;
|
157
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
158
|
-
} & {
|
159
|
-
readOnly?: boolean | undefined;
|
160
|
-
disabled?: true | undefined;
|
161
|
-
alwaysOpened?: false | undefined;
|
162
|
-
} & {
|
163
|
-
multiple: true;
|
164
|
-
value?: string[] | undefined;
|
165
|
-
onChange?: ((value: string[]) => void) | undefined;
|
166
|
-
isTargetAmount?: true | undefined;
|
167
|
-
targetAmount?: number | undefined;
|
168
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
169
|
-
} & {
|
170
|
-
requiredPlacement?: "right" | "left" | undefined;
|
171
|
-
} & {
|
172
|
-
optional?: true | undefined;
|
173
|
-
required?: false | undefined;
|
174
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
175
|
-
items: ItemOption[];
|
176
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
177
|
-
label?: string | undefined;
|
178
|
-
placeholder?: string | undefined;
|
179
|
-
helperText?: string | undefined;
|
180
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
181
|
-
textBefore?: string | undefined;
|
182
|
-
textAfter?: string | undefined;
|
183
|
-
variant?: "normal" | "tight" | undefined;
|
184
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
185
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
186
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
187
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
188
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
189
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
190
|
-
closeAfterSelect?: boolean | undefined;
|
191
|
-
size?: string | undefined;
|
192
|
-
view?: string | undefined;
|
193
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
194
|
-
} & {
|
195
|
-
readOnly?: true | undefined;
|
196
|
-
disabled?: boolean | undefined;
|
197
|
-
alwaysOpened?: false | undefined;
|
198
|
-
} & {
|
199
|
-
multiple?: false | undefined;
|
200
|
-
value?: string | undefined;
|
201
|
-
onChange?: ((value: string) => void) | undefined;
|
202
|
-
isTargetAmount?: false | undefined;
|
203
|
-
targetAmount?: undefined;
|
204
|
-
renderValue?: undefined;
|
205
|
-
} & {
|
206
|
-
requiredPlacement?: "right" | "left" | undefined;
|
207
|
-
} & {
|
208
|
-
required: true;
|
209
|
-
optional?: false | undefined;
|
210
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
211
|
-
items: ItemOption[];
|
212
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
213
|
-
label?: string | undefined;
|
214
|
-
placeholder?: string | undefined;
|
215
|
-
helperText?: string | undefined;
|
216
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
217
|
-
textBefore?: string | undefined;
|
218
|
-
textAfter?: string | undefined;
|
219
|
-
variant?: "normal" | "tight" | undefined;
|
220
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
221
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
222
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
223
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
224
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
225
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
226
|
-
closeAfterSelect?: boolean | undefined;
|
227
|
-
size?: string | undefined;
|
228
|
-
view?: string | undefined;
|
229
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
230
|
-
} & {
|
231
|
-
readOnly?: true | undefined;
|
232
|
-
disabled?: boolean | undefined;
|
233
|
-
alwaysOpened?: false | undefined;
|
234
|
-
} & {
|
235
|
-
multiple?: false | undefined;
|
236
|
-
value?: string | undefined;
|
237
|
-
onChange?: ((value: string) => void) | undefined;
|
238
|
-
isTargetAmount?: false | undefined;
|
239
|
-
targetAmount?: undefined;
|
240
|
-
renderValue?: undefined;
|
241
|
-
} & {
|
242
|
-
requiredPlacement?: "right" | "left" | undefined;
|
243
|
-
} & {
|
244
|
-
optional?: true | undefined;
|
245
|
-
required?: false | undefined;
|
246
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
247
|
-
items: ItemOption[];
|
248
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
249
|
-
label?: string | undefined;
|
250
|
-
placeholder?: string | undefined;
|
251
|
-
helperText?: string | undefined;
|
252
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
253
|
-
textBefore?: string | undefined;
|
254
|
-
textAfter?: string | undefined;
|
255
|
-
variant?: "normal" | "tight" | undefined;
|
256
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
257
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
258
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
259
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
260
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
261
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
262
|
-
closeAfterSelect?: boolean | undefined;
|
263
|
-
size?: string | undefined;
|
264
|
-
view?: string | undefined;
|
265
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
266
|
-
} & {
|
267
|
-
readOnly?: true | undefined;
|
268
|
-
disabled?: boolean | undefined;
|
269
|
-
alwaysOpened?: false | undefined;
|
270
|
-
} & {
|
271
|
-
multiple: true;
|
272
|
-
value?: string[] | undefined;
|
273
|
-
onChange?: ((value: string[]) => void) | undefined;
|
274
|
-
isTargetAmount?: true | undefined;
|
275
|
-
targetAmount?: number | undefined;
|
276
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
277
|
-
} & {
|
278
|
-
requiredPlacement?: "right" | "left" | undefined;
|
279
|
-
} & {
|
280
|
-
required: true;
|
281
|
-
optional?: false | undefined;
|
282
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
283
|
-
items: ItemOption[];
|
284
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
285
|
-
label?: string | undefined;
|
286
|
-
placeholder?: string | undefined;
|
287
|
-
helperText?: string | undefined;
|
288
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
289
|
-
textBefore?: string | undefined;
|
290
|
-
textAfter?: string | undefined;
|
291
|
-
variant?: "normal" | "tight" | undefined;
|
292
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
293
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
294
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
295
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
296
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
297
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
298
|
-
closeAfterSelect?: boolean | undefined;
|
299
|
-
size?: string | undefined;
|
300
|
-
view?: string | undefined;
|
301
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
302
|
-
} & {
|
303
|
-
readOnly?: true | undefined;
|
304
|
-
disabled?: boolean | undefined;
|
305
|
-
alwaysOpened?: false | undefined;
|
306
|
-
} & {
|
307
|
-
multiple: true;
|
308
|
-
value?: string[] | undefined;
|
309
|
-
onChange?: ((value: string[]) => void) | undefined;
|
310
|
-
isTargetAmount?: true | undefined;
|
311
|
-
targetAmount?: number | undefined;
|
312
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
313
|
-
} & {
|
314
|
-
requiredPlacement?: "right" | "left" | undefined;
|
315
|
-
} & {
|
316
|
-
optional?: true | undefined;
|
317
|
-
required?: false | undefined;
|
318
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
319
|
-
items: ItemOption[];
|
320
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
321
|
-
label?: string | undefined;
|
322
|
-
placeholder?: string | undefined;
|
323
|
-
helperText?: string | undefined;
|
324
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
325
|
-
textBefore?: string | undefined;
|
326
|
-
textAfter?: string | undefined;
|
327
|
-
variant?: "normal" | "tight" | undefined;
|
328
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
329
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
330
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
331
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
332
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
333
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
334
|
-
closeAfterSelect?: boolean | undefined;
|
335
|
-
size?: string | undefined;
|
336
|
-
view?: string | undefined;
|
337
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
338
|
-
} & {
|
339
|
-
readOnly?: false | undefined;
|
340
|
-
disabled?: false | undefined;
|
341
|
-
alwaysOpened?: true | undefined;
|
342
|
-
} & {
|
343
|
-
multiple?: false | undefined;
|
344
|
-
value?: string | undefined;
|
345
|
-
onChange?: ((value: string) => void) | undefined;
|
346
|
-
isTargetAmount?: false | undefined;
|
347
|
-
targetAmount?: undefined;
|
348
|
-
renderValue?: undefined;
|
349
|
-
} & {
|
350
|
-
requiredPlacement?: "right" | "left" | undefined;
|
351
|
-
} & {
|
352
|
-
required: true;
|
353
|
-
optional?: false | undefined;
|
354
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
355
|
-
items: ItemOption[];
|
356
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
357
|
-
label?: string | undefined;
|
358
|
-
placeholder?: string | undefined;
|
359
|
-
helperText?: string | undefined;
|
360
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
361
|
-
textBefore?: string | undefined;
|
362
|
-
textAfter?: string | undefined;
|
363
|
-
variant?: "normal" | "tight" | undefined;
|
364
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
365
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
368
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
369
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
370
|
-
closeAfterSelect?: boolean | undefined;
|
371
|
-
size?: string | undefined;
|
372
|
-
view?: string | undefined;
|
373
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
374
|
-
} & {
|
375
|
-
readOnly?: false | undefined;
|
376
|
-
disabled?: false | undefined;
|
377
|
-
alwaysOpened?: true | undefined;
|
378
|
-
} & {
|
379
|
-
multiple?: false | undefined;
|
380
|
-
value?: string | undefined;
|
381
|
-
onChange?: ((value: string) => void) | undefined;
|
382
|
-
isTargetAmount?: false | undefined;
|
383
|
-
targetAmount?: undefined;
|
384
|
-
renderValue?: undefined;
|
385
|
-
} & {
|
386
|
-
requiredPlacement?: "right" | "left" | undefined;
|
387
|
-
} & {
|
388
|
-
optional?: true | undefined;
|
389
|
-
required?: false | undefined;
|
390
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
391
|
-
items: ItemOption[];
|
392
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
393
|
-
label?: string | undefined;
|
394
|
-
placeholder?: string | undefined;
|
395
|
-
helperText?: string | undefined;
|
396
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
397
|
-
textBefore?: string | undefined;
|
398
|
-
textAfter?: string | undefined;
|
399
|
-
variant?: "normal" | "tight" | undefined;
|
400
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
401
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
402
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
403
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
404
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
405
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
406
|
-
closeAfterSelect?: boolean | undefined;
|
407
|
-
size?: string | undefined;
|
408
|
-
view?: string | undefined;
|
409
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
410
|
-
} & {
|
411
|
-
readOnly?: false | undefined;
|
412
|
-
disabled?: false | undefined;
|
413
|
-
alwaysOpened?: true | undefined;
|
414
|
-
} & {
|
415
|
-
multiple: true;
|
416
|
-
value?: string[] | undefined;
|
417
|
-
onChange?: ((value: string[]) => void) | undefined;
|
418
|
-
isTargetAmount?: true | undefined;
|
419
|
-
targetAmount?: number | undefined;
|
420
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
421
|
-
} & {
|
422
|
-
requiredPlacement?: "right" | "left" | undefined;
|
423
|
-
} & {
|
424
|
-
required: true;
|
425
|
-
optional?: false | undefined;
|
426
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
427
|
-
items: ItemOption[];
|
428
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
429
|
-
label?: string | undefined;
|
430
|
-
placeholder?: string | undefined;
|
431
|
-
helperText?: string | undefined;
|
432
|
-
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
433
|
-
textBefore?: string | undefined;
|
434
|
-
textAfter?: string | undefined;
|
435
|
-
variant?: "normal" | "tight" | undefined;
|
436
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
437
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
438
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
439
|
-
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
440
|
-
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
441
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
442
|
-
closeAfterSelect?: boolean | undefined;
|
443
|
-
size?: string | undefined;
|
444
|
-
view?: string | undefined;
|
445
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
446
|
-
} & {
|
447
|
-
readOnly?: false | undefined;
|
448
|
-
disabled?: false | undefined;
|
449
|
-
alwaysOpened?: true | undefined;
|
450
|
-
} & {
|
451
|
-
multiple: true;
|
452
|
-
value?: string[] | undefined;
|
453
|
-
onChange?: ((value: string[]) => void) | undefined;
|
454
|
-
isTargetAmount?: true | undefined;
|
455
|
-
targetAmount?: number | undefined;
|
456
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
457
|
-
} & {
|
458
|
-
requiredPlacement?: "right" | "left" | undefined;
|
459
|
-
} & {
|
460
|
-
optional?: true | undefined;
|
461
|
-
required?: false | undefined;
|
462
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
463
|
-
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
464
|
-
}) => ReactElement | null;
|
465
|
-
export { Combobox };
|
1
|
+
export { Combobox } from './Combobox';
|
@@ -3,6 +3,10 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports
|
7
|
-
|
8
|
-
|
6
|
+
Object.defineProperty(exports, "Combobox", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _Combobox.Combobox;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
var _Combobox = /*#__PURE__*/require("./Combobox");
|
@@ -31,7 +31,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
31
31
|
focused: {
|
32
32
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
33
|
};
|
34
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
34
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
|
35
35
|
text?: string | undefined;
|
36
36
|
contentLeft?: import("react").ReactNode;
|
37
37
|
contentPlacing?: ("default" | "relaxed") | undefined;
|
@@ -52,7 +52,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
52
52
|
} & {
|
53
53
|
value?: string | number | undefined;
|
54
54
|
contentRight?: undefined;
|
55
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
55
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
|
56
56
|
text?: string | undefined;
|
57
57
|
contentLeft?: import("react").ReactNode;
|
58
58
|
contentPlacing?: ("default" | "relaxed") | undefined;
|