@salutejs/plasma-web 1.499.1-canary.1712.12884408335.0 → 1.500.0-canary.1706.12883718367.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +32 -9
- package/components/Autocomplete/Autocomplete.config.d.ts +7 -0
- package/components/Autocomplete/Autocomplete.config.js +18 -11
- package/components/Autocomplete/Autocomplete.d.ts +15 -0
- package/components/Combobox/Combobox.config.d.ts +7 -0
- package/components/Combobox/Combobox.config.js +18 -11
- package/components/Combobox/Combobox.d.ts +739 -24
- package/components/Drawer/Drawer.d.ts +1 -1
- package/components/Mask/Mask.d.ts +8 -0
- package/components/Select/Select.config.d.ts +7 -0
- package/components/Select/Select.config.js +17 -10
- package/components/Select/Select.d.ts +139 -4
- package/components/Slider/Slider.d.ts +8 -8
- package/components/TextArea/TextArea.config.js +4 -4
- package/components/TextField/TextField.config.js +4 -4
- package/components/TextField/TextField.d.ts +20 -12
- package/css/cjs/components/Autocomplete/Autocomplete.config.js +10 -3
- package/css/cjs/components/Autocomplete/Autocomplete.config.js.map +1 -1
- package/css/cjs/components/Autocomplete/Autocomplete.config_rmdsck.css +15 -0
- package/css/cjs/components/Autocomplete/Autocomplete.css +14 -11
- package/css/cjs/components/Combobox/Combobox.config.js +10 -3
- package/css/cjs/components/Combobox/Combobox.config.js.map +1 -1
- package/css/cjs/components/Combobox/Combobox.config_1j8qw9y.css +15 -0
- package/css/cjs/components/Combobox/Combobox.css +14 -11
- package/css/cjs/components/Mask/Mask.css +20 -20
- package/css/cjs/components/Select/Select.config.js +9 -2
- package/css/cjs/components/Select/Select.config.js.map +1 -1
- package/css/cjs/components/Select/Select.config_9l6dh2.css +23 -0
- package/css/cjs/components/Select/Select.css +22 -19
- package/css/cjs/components/TextArea/TextArea.config.js +1 -1
- package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
- package/css/{es/components/TextArea/TextArea.config_1xy99im.css → cjs/components/TextArea/TextArea.config_9zu63a.css} +4 -4
- package/css/cjs/components/TextArea/TextArea.css +13 -13
- package/css/cjs/components/TextField/TextField.config.js +1 -1
- package/css/cjs/components/TextField/TextField.config.js.map +1 -1
- package/css/{es/components/TextField/TextField.config_1y01acd.css → cjs/components/TextField/TextField.config_ou8zf6.css} +4 -4
- package/css/cjs/index.css +90 -81
- package/css/es/components/Autocomplete/Autocomplete.config.js +10 -3
- package/css/es/components/Autocomplete/Autocomplete.config.js.map +1 -1
- package/css/es/components/Autocomplete/Autocomplete.config_rmdsck.css +15 -0
- package/css/es/components/Autocomplete/Autocomplete.css +14 -11
- package/css/es/components/Combobox/Combobox.config.js +10 -3
- package/css/es/components/Combobox/Combobox.config.js.map +1 -1
- package/css/es/components/Combobox/Combobox.config_1j8qw9y.css +15 -0
- package/css/es/components/Combobox/Combobox.css +14 -11
- package/css/es/components/Mask/Mask.css +20 -20
- package/css/es/components/Select/Select.config.js +9 -2
- package/css/es/components/Select/Select.config.js.map +1 -1
- package/css/es/components/Select/Select.config_9l6dh2.css +23 -0
- package/css/es/components/Select/Select.css +22 -19
- package/css/es/components/TextArea/TextArea.config.js +1 -1
- package/css/es/components/TextArea/TextArea.config.js.map +1 -1
- package/css/{cjs/components/TextArea/TextArea.config_1xy99im.css → es/components/TextArea/TextArea.config_9zu63a.css} +4 -4
- package/css/es/components/TextArea/TextArea.css +13 -13
- package/css/es/components/TextField/TextField.config.js +1 -1
- package/css/es/components/TextField/TextField.config.js.map +1 -1
- package/css/{cjs/components/TextField/TextField.config_1y01acd.css → es/components/TextField/TextField.config_ou8zf6.css} +4 -4
- package/css/es/index.css +90 -81
- package/es/components/Autocomplete/Autocomplete.config.js +18 -11
- package/es/components/Combobox/Combobox.config.js +18 -11
- package/es/components/Select/Select.config.js +17 -10
- package/es/components/TextArea/TextArea.config.js +4 -4
- package/es/components/TextField/TextField.config.js +4 -4
- package/package.json +6 -6
- package/temp/plasma-web.api.md +32 -9
- package/css/cjs/components/Autocomplete/Autocomplete.config_kzk332.css +0 -12
- package/css/cjs/components/Combobox/Combobox.config_12tsur6.css +0 -12
- package/css/cjs/components/Select/Select.config_73tyzz.css +0 -20
- package/css/es/components/Autocomplete/Autocomplete.config_kzk332.css +0 -12
- package/css/es/components/Combobox/Combobox.config_12tsur6.css +0 -12
- package/css/es/components/Select/Select.config_73tyzz.css +0 -20
@@ -20,6 +20,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
20
20
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
21
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
22
|
};
|
23
|
+
hintView: {
|
24
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
+
};
|
26
|
+
hintSize: {
|
27
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
28
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
+
};
|
23
30
|
disabled: {
|
24
31
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
32
|
};
|
@@ -28,7 +35,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
28
35
|
};
|
29
36
|
}> & (({
|
30
37
|
items: ItemOption[];
|
31
|
-
placement?: ("top" | "
|
38
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
32
39
|
placeholder?: string | undefined;
|
33
40
|
helperText?: string | undefined;
|
34
41
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -61,9 +68,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
61
68
|
isTargetAmount?: false | undefined;
|
62
69
|
targetAmount?: undefined;
|
63
70
|
renderValue?: undefined;
|
64
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
71
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
72
|
+
hintText: string;
|
73
|
+
hintTrigger?: "hover" | "click" | undefined;
|
74
|
+
hintView?: string | undefined;
|
75
|
+
hintSize?: string | undefined;
|
76
|
+
hintTargetIcon?: React.ReactNode;
|
77
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
78
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
79
|
+
hintHasArrow?: boolean | undefined;
|
80
|
+
hintOffset?: [number, number] | undefined;
|
81
|
+
hintWidth?: string | undefined;
|
82
|
+
hintContentLeft?: React.ReactNode;
|
83
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
65
84
|
items: ItemOption[];
|
66
|
-
placement?: ("top" | "
|
85
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
86
|
+
placeholder?: string | undefined;
|
87
|
+
helperText?: string | undefined;
|
88
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
89
|
+
textBefore?: string | undefined;
|
90
|
+
textAfter?: string | undefined;
|
91
|
+
variant?: "normal" | "tight" | undefined;
|
92
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
93
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
94
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
95
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
96
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
97
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
98
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
99
|
+
closeAfterSelect?: boolean | undefined;
|
100
|
+
beforeList?: React.ReactNode;
|
101
|
+
afterList?: React.ReactNode;
|
102
|
+
size?: string | undefined;
|
103
|
+
view?: string | undefined;
|
104
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
105
|
+
readOnly?: boolean | undefined;
|
106
|
+
disabled?: true | undefined;
|
107
|
+
alwaysOpened?: false | undefined;
|
108
|
+
} & {
|
109
|
+
name?: undefined;
|
110
|
+
defaultValue?: undefined;
|
111
|
+
} & {
|
112
|
+
multiple?: false | undefined;
|
113
|
+
value?: string | undefined;
|
114
|
+
onChange?: ((value: string) => void) | undefined;
|
115
|
+
isTargetAmount?: false | undefined;
|
116
|
+
targetAmount?: undefined;
|
117
|
+
renderValue?: undefined;
|
118
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
119
|
+
hintTrigger?: undefined;
|
120
|
+
hintText?: undefined;
|
121
|
+
hintView?: undefined;
|
122
|
+
hintSize?: undefined;
|
123
|
+
hintTargetIcon?: undefined;
|
124
|
+
hintTargetPlacement?: undefined;
|
125
|
+
hintPlacement?: undefined;
|
126
|
+
hintHasArrow?: undefined;
|
127
|
+
hintOffset?: undefined;
|
128
|
+
hintWidth?: undefined;
|
129
|
+
hintContentLeft?: undefined;
|
130
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
131
|
+
items: ItemOption[];
|
132
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
67
133
|
placeholder?: string | undefined;
|
68
134
|
helperText?: string | undefined;
|
69
135
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -96,9 +162,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
96
162
|
isTargetAmount?: false | undefined;
|
97
163
|
targetAmount?: undefined;
|
98
164
|
renderValue?: undefined;
|
99
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
165
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
166
|
+
hintText: string;
|
167
|
+
hintTrigger?: "hover" | "click" | undefined;
|
168
|
+
hintView?: string | undefined;
|
169
|
+
hintSize?: string | undefined;
|
170
|
+
hintTargetIcon?: React.ReactNode;
|
171
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
172
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
173
|
+
hintHasArrow?: boolean | undefined;
|
174
|
+
hintOffset?: [number, number] | undefined;
|
175
|
+
hintWidth?: string | undefined;
|
176
|
+
hintContentLeft?: React.ReactNode;
|
177
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
100
178
|
items: ItemOption[];
|
101
|
-
placement?: ("top" | "
|
179
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
180
|
+
placeholder?: string | undefined;
|
181
|
+
helperText?: string | undefined;
|
182
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
183
|
+
textBefore?: string | undefined;
|
184
|
+
textAfter?: string | undefined;
|
185
|
+
variant?: "normal" | "tight" | undefined;
|
186
|
+
zIndex?: import("csstype").Property.ZIndex | 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?: string | React.RefObject<HTMLElement> | undefined;
|
191
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
192
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
193
|
+
closeAfterSelect?: boolean | undefined;
|
194
|
+
beforeList?: React.ReactNode;
|
195
|
+
afterList?: React.ReactNode;
|
196
|
+
size?: string | undefined;
|
197
|
+
view?: string | undefined;
|
198
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
199
|
+
readOnly?: boolean | undefined;
|
200
|
+
disabled?: true | undefined;
|
201
|
+
alwaysOpened?: false | undefined;
|
202
|
+
} & {
|
203
|
+
name: string;
|
204
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
205
|
+
} & {
|
206
|
+
multiple?: false | undefined;
|
207
|
+
defaultValue?: string | undefined;
|
208
|
+
value?: undefined;
|
209
|
+
isTargetAmount?: false | undefined;
|
210
|
+
targetAmount?: undefined;
|
211
|
+
renderValue?: undefined;
|
212
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
213
|
+
hintTrigger?: undefined;
|
214
|
+
hintText?: undefined;
|
215
|
+
hintView?: undefined;
|
216
|
+
hintSize?: undefined;
|
217
|
+
hintTargetIcon?: undefined;
|
218
|
+
hintTargetPlacement?: undefined;
|
219
|
+
hintPlacement?: undefined;
|
220
|
+
hintHasArrow?: undefined;
|
221
|
+
hintOffset?: undefined;
|
222
|
+
hintWidth?: undefined;
|
223
|
+
hintContentLeft?: undefined;
|
224
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
225
|
+
items: ItemOption[];
|
226
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
102
227
|
placeholder?: string | undefined;
|
103
228
|
helperText?: string | undefined;
|
104
229
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -131,9 +256,115 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
131
256
|
isTargetAmount?: true | undefined;
|
132
257
|
targetAmount?: number | undefined;
|
133
258
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
134
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
259
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
260
|
+
hintText: string;
|
261
|
+
hintTrigger?: "hover" | "click" | undefined;
|
262
|
+
hintView?: string | undefined;
|
263
|
+
hintSize?: string | undefined;
|
264
|
+
hintTargetIcon?: React.ReactNode;
|
265
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
266
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
267
|
+
hintHasArrow?: boolean | undefined;
|
268
|
+
hintOffset?: [number, number] | undefined;
|
269
|
+
hintWidth?: string | undefined;
|
270
|
+
hintContentLeft?: React.ReactNode;
|
271
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
135
272
|
items: ItemOption[];
|
136
|
-
placement?: ("top" | "
|
273
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
274
|
+
placeholder?: string | undefined;
|
275
|
+
helperText?: string | undefined;
|
276
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
277
|
+
textBefore?: string | undefined;
|
278
|
+
textAfter?: string | undefined;
|
279
|
+
variant?: "normal" | "tight" | undefined;
|
280
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
281
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
282
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
283
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
284
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
285
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
286
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
287
|
+
closeAfterSelect?: boolean | undefined;
|
288
|
+
beforeList?: React.ReactNode;
|
289
|
+
afterList?: React.ReactNode;
|
290
|
+
size?: string | undefined;
|
291
|
+
view?: string | undefined;
|
292
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
293
|
+
readOnly?: boolean | undefined;
|
294
|
+
disabled?: true | undefined;
|
295
|
+
alwaysOpened?: false | undefined;
|
296
|
+
} & {
|
297
|
+
name?: undefined;
|
298
|
+
defaultValue?: undefined;
|
299
|
+
} & {
|
300
|
+
multiple: true;
|
301
|
+
value?: string[] | undefined;
|
302
|
+
onChange?: ((value: string[]) => void) | undefined;
|
303
|
+
isTargetAmount?: true | undefined;
|
304
|
+
targetAmount?: number | undefined;
|
305
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
306
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
307
|
+
hintTrigger?: undefined;
|
308
|
+
hintText?: undefined;
|
309
|
+
hintView?: undefined;
|
310
|
+
hintSize?: undefined;
|
311
|
+
hintTargetIcon?: undefined;
|
312
|
+
hintTargetPlacement?: undefined;
|
313
|
+
hintPlacement?: undefined;
|
314
|
+
hintHasArrow?: undefined;
|
315
|
+
hintOffset?: undefined;
|
316
|
+
hintWidth?: undefined;
|
317
|
+
hintContentLeft?: undefined;
|
318
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
319
|
+
items: ItemOption[];
|
320
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
321
|
+
placeholder?: string | undefined;
|
322
|
+
helperText?: string | undefined;
|
323
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
324
|
+
textBefore?: string | undefined;
|
325
|
+
textAfter?: string | undefined;
|
326
|
+
variant?: "normal" | "tight" | undefined;
|
327
|
+
zIndex?: import("csstype").Property.ZIndex | 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?: string | React.RefObject<HTMLElement> | undefined;
|
332
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
333
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
334
|
+
closeAfterSelect?: boolean | undefined;
|
335
|
+
beforeList?: React.ReactNode;
|
336
|
+
afterList?: React.ReactNode;
|
337
|
+
size?: string | undefined;
|
338
|
+
view?: string | undefined;
|
339
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
340
|
+
readOnly?: boolean | undefined;
|
341
|
+
disabled?: true | undefined;
|
342
|
+
alwaysOpened?: false | undefined;
|
343
|
+
} & {
|
344
|
+
name: string;
|
345
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
346
|
+
} & {
|
347
|
+
multiple: true;
|
348
|
+
defaultValue?: string[] | undefined;
|
349
|
+
value?: undefined;
|
350
|
+
isTargetAmount?: true | undefined;
|
351
|
+
targetAmount?: number | undefined;
|
352
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
353
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
354
|
+
hintText: string;
|
355
|
+
hintTrigger?: "hover" | "click" | undefined;
|
356
|
+
hintView?: string | undefined;
|
357
|
+
hintSize?: string | undefined;
|
358
|
+
hintTargetIcon?: React.ReactNode;
|
359
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
360
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
361
|
+
hintHasArrow?: boolean | undefined;
|
362
|
+
hintOffset?: [number, number] | undefined;
|
363
|
+
hintWidth?: string | undefined;
|
364
|
+
hintContentLeft?: React.ReactNode;
|
365
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
366
|
+
items: ItemOption[];
|
367
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
137
368
|
placeholder?: string | undefined;
|
138
369
|
helperText?: string | undefined;
|
139
370
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -166,9 +397,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
166
397
|
isTargetAmount?: true | undefined;
|
167
398
|
targetAmount?: number | undefined;
|
168
399
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
169
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
400
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
401
|
+
hintTrigger?: undefined;
|
402
|
+
hintText?: undefined;
|
403
|
+
hintView?: undefined;
|
404
|
+
hintSize?: undefined;
|
405
|
+
hintTargetIcon?: undefined;
|
406
|
+
hintTargetPlacement?: undefined;
|
407
|
+
hintPlacement?: undefined;
|
408
|
+
hintHasArrow?: undefined;
|
409
|
+
hintOffset?: undefined;
|
410
|
+
hintWidth?: undefined;
|
411
|
+
hintContentLeft?: undefined;
|
412
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
413
|
+
items: ItemOption[];
|
414
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
415
|
+
placeholder?: string | undefined;
|
416
|
+
helperText?: string | undefined;
|
417
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
418
|
+
textBefore?: string | undefined;
|
419
|
+
textAfter?: string | undefined;
|
420
|
+
variant?: "normal" | "tight" | undefined;
|
421
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
422
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
423
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
424
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
425
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
426
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
427
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
428
|
+
closeAfterSelect?: boolean | undefined;
|
429
|
+
beforeList?: React.ReactNode;
|
430
|
+
afterList?: React.ReactNode;
|
431
|
+
size?: string | undefined;
|
432
|
+
view?: string | undefined;
|
433
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
434
|
+
readOnly?: true | undefined;
|
435
|
+
disabled?: boolean | undefined;
|
436
|
+
alwaysOpened?: false | undefined;
|
437
|
+
} & {
|
438
|
+
name?: undefined;
|
439
|
+
defaultValue?: undefined;
|
440
|
+
} & {
|
441
|
+
multiple?: false | undefined;
|
442
|
+
value?: string | undefined;
|
443
|
+
onChange?: ((value: string) => void) | undefined;
|
444
|
+
isTargetAmount?: false | undefined;
|
445
|
+
targetAmount?: undefined;
|
446
|
+
renderValue?: undefined;
|
447
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
448
|
+
hintText: string;
|
449
|
+
hintTrigger?: "hover" | "click" | undefined;
|
450
|
+
hintView?: string | undefined;
|
451
|
+
hintSize?: string | undefined;
|
452
|
+
hintTargetIcon?: React.ReactNode;
|
453
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
454
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
455
|
+
hintHasArrow?: boolean | undefined;
|
456
|
+
hintOffset?: [number, number] | undefined;
|
457
|
+
hintWidth?: string | undefined;
|
458
|
+
hintContentLeft?: React.ReactNode;
|
459
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
170
460
|
items: ItemOption[];
|
171
|
-
placement?: ("top" | "
|
461
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
172
462
|
placeholder?: string | undefined;
|
173
463
|
helperText?: string | undefined;
|
174
464
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -201,9 +491,21 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
201
491
|
isTargetAmount?: false | undefined;
|
202
492
|
targetAmount?: undefined;
|
203
493
|
renderValue?: undefined;
|
204
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
494
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
495
|
+
hintTrigger?: undefined;
|
496
|
+
hintText?: undefined;
|
497
|
+
hintView?: undefined;
|
498
|
+
hintSize?: undefined;
|
499
|
+
hintTargetIcon?: undefined;
|
500
|
+
hintTargetPlacement?: undefined;
|
501
|
+
hintPlacement?: undefined;
|
502
|
+
hintHasArrow?: undefined;
|
503
|
+
hintOffset?: undefined;
|
504
|
+
hintWidth?: undefined;
|
505
|
+
hintContentLeft?: undefined;
|
506
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
205
507
|
items: ItemOption[];
|
206
|
-
placement?: ("top" | "
|
508
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
207
509
|
placeholder?: string | undefined;
|
208
510
|
helperText?: string | undefined;
|
209
511
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -236,9 +538,115 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
236
538
|
isTargetAmount?: false | undefined;
|
237
539
|
targetAmount?: undefined;
|
238
540
|
renderValue?: undefined;
|
239
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
541
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
542
|
+
hintText: string;
|
543
|
+
hintTrigger?: "hover" | "click" | undefined;
|
544
|
+
hintView?: string | undefined;
|
545
|
+
hintSize?: string | undefined;
|
546
|
+
hintTargetIcon?: React.ReactNode;
|
547
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
548
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
549
|
+
hintHasArrow?: boolean | undefined;
|
550
|
+
hintOffset?: [number, number] | undefined;
|
551
|
+
hintWidth?: string | undefined;
|
552
|
+
hintContentLeft?: React.ReactNode;
|
553
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
240
554
|
items: ItemOption[];
|
241
|
-
placement?: ("top" | "
|
555
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
556
|
+
placeholder?: string | undefined;
|
557
|
+
helperText?: string | undefined;
|
558
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
559
|
+
textBefore?: string | undefined;
|
560
|
+
textAfter?: string | undefined;
|
561
|
+
variant?: "normal" | "tight" | undefined;
|
562
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
563
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
564
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
565
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
566
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
567
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
568
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
569
|
+
closeAfterSelect?: boolean | undefined;
|
570
|
+
beforeList?: React.ReactNode;
|
571
|
+
afterList?: React.ReactNode;
|
572
|
+
size?: string | undefined;
|
573
|
+
view?: string | undefined;
|
574
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
575
|
+
readOnly?: true | undefined;
|
576
|
+
disabled?: boolean | undefined;
|
577
|
+
alwaysOpened?: false | undefined;
|
578
|
+
} & {
|
579
|
+
name: string;
|
580
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
581
|
+
} & {
|
582
|
+
multiple?: false | undefined;
|
583
|
+
defaultValue?: string | undefined;
|
584
|
+
value?: undefined;
|
585
|
+
isTargetAmount?: false | undefined;
|
586
|
+
targetAmount?: undefined;
|
587
|
+
renderValue?: undefined;
|
588
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
589
|
+
hintTrigger?: undefined;
|
590
|
+
hintText?: undefined;
|
591
|
+
hintView?: undefined;
|
592
|
+
hintSize?: undefined;
|
593
|
+
hintTargetIcon?: undefined;
|
594
|
+
hintTargetPlacement?: undefined;
|
595
|
+
hintPlacement?: undefined;
|
596
|
+
hintHasArrow?: undefined;
|
597
|
+
hintOffset?: undefined;
|
598
|
+
hintWidth?: undefined;
|
599
|
+
hintContentLeft?: undefined;
|
600
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
601
|
+
items: ItemOption[];
|
602
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
603
|
+
placeholder?: string | undefined;
|
604
|
+
helperText?: string | undefined;
|
605
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
606
|
+
textBefore?: string | undefined;
|
607
|
+
textAfter?: string | undefined;
|
608
|
+
variant?: "normal" | "tight" | undefined;
|
609
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
610
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
611
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
612
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
613
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
614
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
615
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
616
|
+
closeAfterSelect?: boolean | undefined;
|
617
|
+
beforeList?: React.ReactNode;
|
618
|
+
afterList?: React.ReactNode;
|
619
|
+
size?: string | undefined;
|
620
|
+
view?: string | undefined;
|
621
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
622
|
+
readOnly?: true | undefined;
|
623
|
+
disabled?: boolean | undefined;
|
624
|
+
alwaysOpened?: false | undefined;
|
625
|
+
} & {
|
626
|
+
name?: undefined;
|
627
|
+
defaultValue?: undefined;
|
628
|
+
} & {
|
629
|
+
multiple: true;
|
630
|
+
value?: string[] | undefined;
|
631
|
+
onChange?: ((value: string[]) => void) | undefined;
|
632
|
+
isTargetAmount?: true | undefined;
|
633
|
+
targetAmount?: number | undefined;
|
634
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
635
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
636
|
+
hintText: string;
|
637
|
+
hintTrigger?: "hover" | "click" | undefined;
|
638
|
+
hintView?: string | undefined;
|
639
|
+
hintSize?: string | undefined;
|
640
|
+
hintTargetIcon?: React.ReactNode;
|
641
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
642
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
643
|
+
hintHasArrow?: boolean | undefined;
|
644
|
+
hintOffset?: [number, number] | undefined;
|
645
|
+
hintWidth?: string | undefined;
|
646
|
+
hintContentLeft?: React.ReactNode;
|
647
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
648
|
+
items: ItemOption[];
|
649
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
242
650
|
placeholder?: string | undefined;
|
243
651
|
helperText?: string | undefined;
|
244
652
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -271,9 +679,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
271
679
|
isTargetAmount?: true | undefined;
|
272
680
|
targetAmount?: number | undefined;
|
273
681
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
274
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
682
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
683
|
+
hintTrigger?: undefined;
|
684
|
+
hintText?: undefined;
|
685
|
+
hintView?: undefined;
|
686
|
+
hintSize?: undefined;
|
687
|
+
hintTargetIcon?: undefined;
|
688
|
+
hintTargetPlacement?: undefined;
|
689
|
+
hintPlacement?: undefined;
|
690
|
+
hintHasArrow?: undefined;
|
691
|
+
hintOffset?: undefined;
|
692
|
+
hintWidth?: undefined;
|
693
|
+
hintContentLeft?: undefined;
|
694
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
695
|
+
items: ItemOption[];
|
696
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
697
|
+
placeholder?: string | undefined;
|
698
|
+
helperText?: string | undefined;
|
699
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
700
|
+
textBefore?: string | undefined;
|
701
|
+
textAfter?: string | undefined;
|
702
|
+
variant?: "normal" | "tight" | undefined;
|
703
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
704
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
705
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
706
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
707
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
708
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
709
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
710
|
+
closeAfterSelect?: boolean | undefined;
|
711
|
+
beforeList?: React.ReactNode;
|
712
|
+
afterList?: React.ReactNode;
|
713
|
+
size?: string | undefined;
|
714
|
+
view?: string | undefined;
|
715
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
716
|
+
readOnly?: true | undefined;
|
717
|
+
disabled?: boolean | undefined;
|
718
|
+
alwaysOpened?: false | undefined;
|
719
|
+
} & {
|
720
|
+
name: string;
|
721
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
722
|
+
} & {
|
723
|
+
multiple: true;
|
724
|
+
defaultValue?: string[] | undefined;
|
725
|
+
value?: undefined;
|
726
|
+
isTargetAmount?: true | undefined;
|
727
|
+
targetAmount?: number | undefined;
|
728
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
729
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
730
|
+
hintText: string;
|
731
|
+
hintTrigger?: "hover" | "click" | undefined;
|
732
|
+
hintView?: string | undefined;
|
733
|
+
hintSize?: string | undefined;
|
734
|
+
hintTargetIcon?: React.ReactNode;
|
735
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
736
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
737
|
+
hintHasArrow?: boolean | undefined;
|
738
|
+
hintOffset?: [number, number] | undefined;
|
739
|
+
hintWidth?: string | undefined;
|
740
|
+
hintContentLeft?: React.ReactNode;
|
741
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
275
742
|
items: ItemOption[];
|
276
|
-
placement?: ("top" | "
|
743
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
277
744
|
placeholder?: string | undefined;
|
278
745
|
helperText?: string | undefined;
|
279
746
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -306,9 +773,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
306
773
|
isTargetAmount?: true | undefined;
|
307
774
|
targetAmount?: number | undefined;
|
308
775
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
309
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
776
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
777
|
+
hintTrigger?: undefined;
|
778
|
+
hintText?: undefined;
|
779
|
+
hintView?: undefined;
|
780
|
+
hintSize?: undefined;
|
781
|
+
hintTargetIcon?: undefined;
|
782
|
+
hintTargetPlacement?: undefined;
|
783
|
+
hintPlacement?: undefined;
|
784
|
+
hintHasArrow?: undefined;
|
785
|
+
hintOffset?: undefined;
|
786
|
+
hintWidth?: undefined;
|
787
|
+
hintContentLeft?: undefined;
|
788
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
789
|
+
items: ItemOption[];
|
790
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
791
|
+
placeholder?: string | undefined;
|
792
|
+
helperText?: string | undefined;
|
793
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
794
|
+
textBefore?: string | undefined;
|
795
|
+
textAfter?: string | undefined;
|
796
|
+
variant?: "normal" | "tight" | undefined;
|
797
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
798
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
799
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
800
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
801
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
802
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
803
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
804
|
+
closeAfterSelect?: boolean | undefined;
|
805
|
+
beforeList?: React.ReactNode;
|
806
|
+
afterList?: React.ReactNode;
|
807
|
+
size?: string | undefined;
|
808
|
+
view?: string | undefined;
|
809
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
810
|
+
readOnly?: false | undefined;
|
811
|
+
disabled?: false | undefined;
|
812
|
+
alwaysOpened?: true | undefined;
|
813
|
+
} & {
|
814
|
+
name?: undefined;
|
815
|
+
defaultValue?: undefined;
|
816
|
+
} & {
|
817
|
+
multiple?: false | undefined;
|
818
|
+
value?: string | undefined;
|
819
|
+
onChange?: ((value: string) => void) | undefined;
|
820
|
+
isTargetAmount?: false | undefined;
|
821
|
+
targetAmount?: undefined;
|
822
|
+
renderValue?: undefined;
|
823
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
824
|
+
hintText: string;
|
825
|
+
hintTrigger?: "hover" | "click" | undefined;
|
826
|
+
hintView?: string | undefined;
|
827
|
+
hintSize?: string | undefined;
|
828
|
+
hintTargetIcon?: React.ReactNode;
|
829
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
830
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
831
|
+
hintHasArrow?: boolean | undefined;
|
832
|
+
hintOffset?: [number, number] | undefined;
|
833
|
+
hintWidth?: string | undefined;
|
834
|
+
hintContentLeft?: React.ReactNode;
|
835
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
310
836
|
items: ItemOption[];
|
311
|
-
placement?: ("top" | "
|
837
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
312
838
|
placeholder?: string | undefined;
|
313
839
|
helperText?: string | undefined;
|
314
840
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -341,9 +867,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
341
867
|
isTargetAmount?: false | undefined;
|
342
868
|
targetAmount?: undefined;
|
343
869
|
renderValue?: undefined;
|
344
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
870
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
871
|
+
hintTrigger?: undefined;
|
872
|
+
hintText?: undefined;
|
873
|
+
hintView?: undefined;
|
874
|
+
hintSize?: undefined;
|
875
|
+
hintTargetIcon?: undefined;
|
876
|
+
hintTargetPlacement?: undefined;
|
877
|
+
hintPlacement?: undefined;
|
878
|
+
hintHasArrow?: undefined;
|
879
|
+
hintOffset?: undefined;
|
880
|
+
hintWidth?: undefined;
|
881
|
+
hintContentLeft?: undefined;
|
882
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
883
|
+
items: ItemOption[];
|
884
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
885
|
+
placeholder?: string | undefined;
|
886
|
+
helperText?: string | undefined;
|
887
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
888
|
+
textBefore?: string | undefined;
|
889
|
+
textAfter?: string | undefined;
|
890
|
+
variant?: "normal" | "tight" | undefined;
|
891
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
892
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
893
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
894
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
895
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
896
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
897
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
898
|
+
closeAfterSelect?: boolean | undefined;
|
899
|
+
beforeList?: React.ReactNode;
|
900
|
+
afterList?: React.ReactNode;
|
901
|
+
size?: string | undefined;
|
902
|
+
view?: string | undefined;
|
903
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
904
|
+
readOnly?: false | undefined;
|
905
|
+
disabled?: false | undefined;
|
906
|
+
alwaysOpened?: true | undefined;
|
907
|
+
} & {
|
908
|
+
name: string;
|
909
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
910
|
+
} & {
|
911
|
+
multiple?: false | undefined;
|
912
|
+
defaultValue?: string | undefined;
|
913
|
+
value?: undefined;
|
914
|
+
isTargetAmount?: false | undefined;
|
915
|
+
targetAmount?: undefined;
|
916
|
+
renderValue?: undefined;
|
917
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
918
|
+
hintText: string;
|
919
|
+
hintTrigger?: "hover" | "click" | undefined;
|
920
|
+
hintView?: string | undefined;
|
921
|
+
hintSize?: string | undefined;
|
922
|
+
hintTargetIcon?: React.ReactNode;
|
923
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
924
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
925
|
+
hintHasArrow?: boolean | undefined;
|
926
|
+
hintOffset?: [number, number] | undefined;
|
927
|
+
hintWidth?: string | undefined;
|
928
|
+
hintContentLeft?: React.ReactNode;
|
929
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
345
930
|
items: ItemOption[];
|
346
|
-
placement?: ("top" | "
|
931
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
347
932
|
placeholder?: string | undefined;
|
348
933
|
helperText?: string | undefined;
|
349
934
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -376,9 +961,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
376
961
|
isTargetAmount?: false | undefined;
|
377
962
|
targetAmount?: undefined;
|
378
963
|
renderValue?: undefined;
|
379
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
964
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
965
|
+
hintTrigger?: undefined;
|
966
|
+
hintText?: undefined;
|
967
|
+
hintView?: undefined;
|
968
|
+
hintSize?: undefined;
|
969
|
+
hintTargetIcon?: undefined;
|
970
|
+
hintTargetPlacement?: undefined;
|
971
|
+
hintPlacement?: undefined;
|
972
|
+
hintHasArrow?: undefined;
|
973
|
+
hintOffset?: undefined;
|
974
|
+
hintWidth?: undefined;
|
975
|
+
hintContentLeft?: undefined;
|
976
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
977
|
+
items: ItemOption[];
|
978
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
979
|
+
placeholder?: string | undefined;
|
980
|
+
helperText?: string | undefined;
|
981
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
982
|
+
textBefore?: string | undefined;
|
983
|
+
textAfter?: string | undefined;
|
984
|
+
variant?: "normal" | "tight" | undefined;
|
985
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
986
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
987
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
988
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
989
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
990
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
991
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
992
|
+
closeAfterSelect?: boolean | undefined;
|
993
|
+
beforeList?: React.ReactNode;
|
994
|
+
afterList?: React.ReactNode;
|
995
|
+
size?: string | undefined;
|
996
|
+
view?: string | undefined;
|
997
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
998
|
+
readOnly?: false | undefined;
|
999
|
+
disabled?: false | undefined;
|
1000
|
+
alwaysOpened?: true | undefined;
|
1001
|
+
} & {
|
1002
|
+
name?: undefined;
|
1003
|
+
defaultValue?: undefined;
|
1004
|
+
} & {
|
1005
|
+
multiple: true;
|
1006
|
+
value?: string[] | undefined;
|
1007
|
+
onChange?: ((value: string[]) => void) | undefined;
|
1008
|
+
isTargetAmount?: true | undefined;
|
1009
|
+
targetAmount?: number | undefined;
|
1010
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1011
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1012
|
+
hintText: string;
|
1013
|
+
hintTrigger?: "hover" | "click" | undefined;
|
1014
|
+
hintView?: string | undefined;
|
1015
|
+
hintSize?: string | undefined;
|
1016
|
+
hintTargetIcon?: React.ReactNode;
|
1017
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1018
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1019
|
+
hintHasArrow?: boolean | undefined;
|
1020
|
+
hintOffset?: [number, number] | undefined;
|
1021
|
+
hintWidth?: string | undefined;
|
1022
|
+
hintContentLeft?: React.ReactNode;
|
1023
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
380
1024
|
items: ItemOption[];
|
381
|
-
placement?: ("top" | "
|
1025
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
382
1026
|
placeholder?: string | undefined;
|
383
1027
|
helperText?: string | undefined;
|
384
1028
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -411,9 +1055,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
411
1055
|
isTargetAmount?: true | undefined;
|
412
1056
|
targetAmount?: number | undefined;
|
413
1057
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
414
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
1058
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1059
|
+
hintTrigger?: undefined;
|
1060
|
+
hintText?: undefined;
|
1061
|
+
hintView?: undefined;
|
1062
|
+
hintSize?: undefined;
|
1063
|
+
hintTargetIcon?: undefined;
|
1064
|
+
hintTargetPlacement?: undefined;
|
1065
|
+
hintPlacement?: undefined;
|
1066
|
+
hintHasArrow?: undefined;
|
1067
|
+
hintOffset?: undefined;
|
1068
|
+
hintWidth?: undefined;
|
1069
|
+
hintContentLeft?: undefined;
|
1070
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1071
|
+
items: ItemOption[];
|
1072
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1073
|
+
placeholder?: string | undefined;
|
1074
|
+
helperText?: string | undefined;
|
1075
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1076
|
+
textBefore?: string | undefined;
|
1077
|
+
textAfter?: string | undefined;
|
1078
|
+
variant?: "normal" | "tight" | undefined;
|
1079
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1080
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1081
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1082
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1083
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1084
|
+
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1085
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1086
|
+
closeAfterSelect?: boolean | undefined;
|
1087
|
+
beforeList?: React.ReactNode;
|
1088
|
+
afterList?: React.ReactNode;
|
1089
|
+
size?: string | undefined;
|
1090
|
+
view?: string | undefined;
|
1091
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1092
|
+
readOnly?: false | undefined;
|
1093
|
+
disabled?: false | undefined;
|
1094
|
+
alwaysOpened?: true | undefined;
|
1095
|
+
} & {
|
1096
|
+
name: string;
|
1097
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
1098
|
+
} & {
|
1099
|
+
multiple: true;
|
1100
|
+
defaultValue?: string[] | undefined;
|
1101
|
+
value?: undefined;
|
1102
|
+
isTargetAmount?: true | undefined;
|
1103
|
+
targetAmount?: number | undefined;
|
1104
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
1105
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1106
|
+
hintText: string;
|
1107
|
+
hintTrigger?: "hover" | "click" | undefined;
|
1108
|
+
hintView?: string | undefined;
|
1109
|
+
hintSize?: string | undefined;
|
1110
|
+
hintTargetIcon?: React.ReactNode;
|
1111
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1112
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1113
|
+
hintHasArrow?: boolean | undefined;
|
1114
|
+
hintOffset?: [number, number] | undefined;
|
1115
|
+
hintWidth?: string | undefined;
|
1116
|
+
hintContentLeft?: React.ReactNode;
|
1117
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
415
1118
|
items: ItemOption[];
|
416
|
-
placement?: ("top" | "
|
1119
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
417
1120
|
placeholder?: string | undefined;
|
418
1121
|
helperText?: string | undefined;
|
419
1122
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -446,7 +1149,19 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
446
1149
|
isTargetAmount?: true | undefined;
|
447
1150
|
targetAmount?: number | undefined;
|
448
1151
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
449
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
1152
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1153
|
+
hintTrigger?: undefined;
|
1154
|
+
hintText?: undefined;
|
1155
|
+
hintView?: undefined;
|
1156
|
+
hintSize?: undefined;
|
1157
|
+
hintTargetIcon?: undefined;
|
1158
|
+
hintTargetPlacement?: undefined;
|
1159
|
+
hintPlacement?: undefined;
|
1160
|
+
hintHasArrow?: undefined;
|
1161
|
+
hintOffset?: undefined;
|
1162
|
+
hintWidth?: undefined;
|
1163
|
+
hintContentLeft?: undefined;
|
1164
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
450
1165
|
declare type PropsFromConfig = keyof typeof config['variations'];
|
451
1166
|
declare type PropsOld = ComponentProps<typeof ComboboxOld> & {
|
452
1167
|
items?: never;
|