@salutejs/sdds-cs 0.233.0-canary.1706.12883718367.0 → 0.233.1-canary.1701.12886851599.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-cs.api.md +600 -35
- package/components/Autocomplete/Autocomplete.d.ts +66 -80
- package/components/Autocomplete/Autocomplete.js +2 -11
- package/components/Combobox/Combobox.d.ts +25 -734
- package/components/Dropdown/Dropdown.config.d.ts +0 -3
- package/components/Dropdown/Dropdown.config.js +4 -7
- package/components/Dropdown/Dropdown.d.ts +0 -3
- package/components/Mask/Mask.d.ts +13 -21
- package/components/Select/Select.d.ts +1 -130
- package/components/Tabs/TabItem.d.ts +2 -2
- package/components/TextArea/TextArea.d.ts +4 -4
- package/components/TextField/TextField.d.ts +69 -83
- package/components/TextField/TextField.js +1 -10
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +2 -11
- package/emotion/cjs/components/Dropdown/Dropdown.config.js +4 -7
- package/emotion/cjs/components/Dropdown/Dropdown.stories.tsx +2 -3
- package/emotion/cjs/components/TextField/TextField.js +1 -10
- package/emotion/es/components/Autocomplete/Autocomplete.js +2 -10
- package/emotion/es/components/Dropdown/Dropdown.config.js +4 -7
- package/emotion/es/components/Dropdown/Dropdown.stories.tsx +2 -3
- package/emotion/es/components/TextField/TextField.js +2 -10
- package/es/components/Autocomplete/Autocomplete.js +2 -10
- package/es/components/Dropdown/Dropdown.config.js +4 -7
- package/es/components/TextField/TextField.js +2 -10
- package/package.json +6 -6
@@ -21,7 +21,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
21
21
|
};
|
22
22
|
}> & (({
|
23
23
|
items: ItemOption[];
|
24
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
24
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
25
25
|
placeholder?: string | undefined;
|
26
26
|
helperText?: string | undefined;
|
27
27
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -54,68 +54,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
54
54
|
isTargetAmount?: false | undefined;
|
55
55
|
targetAmount?: undefined;
|
56
56
|
renderValue?: undefined;
|
57
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
58
|
-
hintText: string;
|
59
|
-
hintTrigger?: "hover" | "click" | undefined;
|
60
|
-
hintView?: string | undefined;
|
61
|
-
hintSize?: string | undefined;
|
62
|
-
hintTargetIcon?: React.ReactNode;
|
63
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
64
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
65
|
-
hintHasArrow?: boolean | undefined;
|
66
|
-
hintOffset?: [number, number] | undefined;
|
67
|
-
hintWidth?: string | undefined;
|
68
|
-
hintContentLeft?: React.ReactNode;
|
69
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
57
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
70
58
|
items: ItemOption[];
|
71
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
72
|
-
placeholder?: string | undefined;
|
73
|
-
helperText?: string | undefined;
|
74
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
75
|
-
textBefore?: string | undefined;
|
76
|
-
textAfter?: string | undefined;
|
77
|
-
variant?: "normal" | "tight" | undefined;
|
78
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
79
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
80
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
81
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
82
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
83
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
84
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
85
|
-
closeAfterSelect?: boolean | undefined;
|
86
|
-
beforeList?: React.ReactNode;
|
87
|
-
afterList?: React.ReactNode;
|
88
|
-
size?: string | undefined;
|
89
|
-
view?: string | undefined;
|
90
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
91
|
-
readOnly?: boolean | undefined;
|
92
|
-
disabled?: true | undefined;
|
93
|
-
alwaysOpened?: false | undefined;
|
94
|
-
} & {
|
95
|
-
name?: undefined;
|
96
|
-
defaultValue?: undefined;
|
97
|
-
} & {
|
98
|
-
multiple?: false | undefined;
|
99
|
-
value?: string | undefined;
|
100
|
-
onChange?: ((value: string) => void) | undefined;
|
101
|
-
isTargetAmount?: false | undefined;
|
102
|
-
targetAmount?: undefined;
|
103
|
-
renderValue?: undefined;
|
104
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
105
|
-
hintTrigger?: undefined;
|
106
|
-
hintText?: undefined;
|
107
|
-
hintView?: undefined;
|
108
|
-
hintSize?: undefined;
|
109
|
-
hintTargetIcon?: undefined;
|
110
|
-
hintTargetPlacement?: undefined;
|
111
|
-
hintPlacement?: undefined;
|
112
|
-
hintHasArrow?: undefined;
|
113
|
-
hintOffset?: undefined;
|
114
|
-
hintWidth?: undefined;
|
115
|
-
hintContentLeft?: undefined;
|
116
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
117
|
-
items: ItemOption[];
|
118
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
59
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
119
60
|
placeholder?: string | undefined;
|
120
61
|
helperText?: string | undefined;
|
121
62
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -148,115 +89,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
148
89
|
isTargetAmount?: false | undefined;
|
149
90
|
targetAmount?: undefined;
|
150
91
|
renderValue?: undefined;
|
151
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
152
|
-
hintText: string;
|
153
|
-
hintTrigger?: "hover" | "click" | undefined;
|
154
|
-
hintView?: string | undefined;
|
155
|
-
hintSize?: string | undefined;
|
156
|
-
hintTargetIcon?: React.ReactNode;
|
157
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
158
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
159
|
-
hintHasArrow?: boolean | undefined;
|
160
|
-
hintOffset?: [number, number] | undefined;
|
161
|
-
hintWidth?: string | undefined;
|
162
|
-
hintContentLeft?: React.ReactNode;
|
163
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
164
|
-
items: ItemOption[];
|
165
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
166
|
-
placeholder?: string | undefined;
|
167
|
-
helperText?: string | undefined;
|
168
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
169
|
-
textBefore?: string | undefined;
|
170
|
-
textAfter?: string | undefined;
|
171
|
-
variant?: "normal" | "tight" | undefined;
|
172
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
173
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
174
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
175
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
176
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
177
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
178
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
179
|
-
closeAfterSelect?: boolean | undefined;
|
180
|
-
beforeList?: React.ReactNode;
|
181
|
-
afterList?: React.ReactNode;
|
182
|
-
size?: string | undefined;
|
183
|
-
view?: string | undefined;
|
184
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
185
|
-
readOnly?: boolean | undefined;
|
186
|
-
disabled?: true | undefined;
|
187
|
-
alwaysOpened?: false | undefined;
|
188
|
-
} & {
|
189
|
-
name: string;
|
190
|
-
onChange?: React.ChangeEventHandler<Element> | undefined;
|
191
|
-
} & {
|
192
|
-
multiple?: false | undefined;
|
193
|
-
defaultValue?: string | undefined;
|
194
|
-
value?: undefined;
|
195
|
-
isTargetAmount?: false | undefined;
|
196
|
-
targetAmount?: undefined;
|
197
|
-
renderValue?: undefined;
|
198
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
199
|
-
hintTrigger?: undefined;
|
200
|
-
hintText?: undefined;
|
201
|
-
hintView?: undefined;
|
202
|
-
hintSize?: undefined;
|
203
|
-
hintTargetIcon?: undefined;
|
204
|
-
hintTargetPlacement?: undefined;
|
205
|
-
hintPlacement?: undefined;
|
206
|
-
hintHasArrow?: undefined;
|
207
|
-
hintOffset?: undefined;
|
208
|
-
hintWidth?: undefined;
|
209
|
-
hintContentLeft?: undefined;
|
210
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
211
|
-
items: ItemOption[];
|
212
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
213
|
-
placeholder?: string | undefined;
|
214
|
-
helperText?: string | undefined;
|
215
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
216
|
-
textBefore?: string | undefined;
|
217
|
-
textAfter?: string | undefined;
|
218
|
-
variant?: "normal" | "tight" | undefined;
|
219
|
-
zIndex?: import("csstype").Property.ZIndex | 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?: string | React.RefObject<HTMLElement> | undefined;
|
224
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
225
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
226
|
-
closeAfterSelect?: boolean | undefined;
|
227
|
-
beforeList?: React.ReactNode;
|
228
|
-
afterList?: React.ReactNode;
|
229
|
-
size?: string | undefined;
|
230
|
-
view?: string | undefined;
|
231
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
232
|
-
readOnly?: boolean | undefined;
|
233
|
-
disabled?: true | undefined;
|
234
|
-
alwaysOpened?: false | undefined;
|
235
|
-
} & {
|
236
|
-
name?: undefined;
|
237
|
-
defaultValue?: undefined;
|
238
|
-
} & {
|
239
|
-
multiple: true;
|
240
|
-
value?: string[] | undefined;
|
241
|
-
onChange?: ((value: string[]) => void) | undefined;
|
242
|
-
isTargetAmount?: true | undefined;
|
243
|
-
targetAmount?: number | undefined;
|
244
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
245
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
246
|
-
hintText: string;
|
247
|
-
hintTrigger?: "hover" | "click" | undefined;
|
248
|
-
hintView?: string | undefined;
|
249
|
-
hintSize?: string | undefined;
|
250
|
-
hintTargetIcon?: React.ReactNode;
|
251
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
252
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
253
|
-
hintHasArrow?: boolean | undefined;
|
254
|
-
hintOffset?: [number, number] | undefined;
|
255
|
-
hintWidth?: string | undefined;
|
256
|
-
hintContentLeft?: React.ReactNode;
|
257
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
92
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
258
93
|
items: ItemOption[];
|
259
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
94
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
260
95
|
placeholder?: string | undefined;
|
261
96
|
helperText?: string | undefined;
|
262
97
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -289,21 +124,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
289
124
|
isTargetAmount?: true | undefined;
|
290
125
|
targetAmount?: number | undefined;
|
291
126
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
292
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
293
|
-
hintTrigger?: undefined;
|
294
|
-
hintText?: undefined;
|
295
|
-
hintView?: undefined;
|
296
|
-
hintSize?: undefined;
|
297
|
-
hintTargetIcon?: undefined;
|
298
|
-
hintTargetPlacement?: undefined;
|
299
|
-
hintPlacement?: undefined;
|
300
|
-
hintHasArrow?: undefined;
|
301
|
-
hintOffset?: undefined;
|
302
|
-
hintWidth?: undefined;
|
303
|
-
hintContentLeft?: undefined;
|
304
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
127
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
305
128
|
items: ItemOption[];
|
306
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
129
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
307
130
|
placeholder?: string | undefined;
|
308
131
|
helperText?: string | undefined;
|
309
132
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -336,68 +159,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
336
159
|
isTargetAmount?: true | undefined;
|
337
160
|
targetAmount?: number | undefined;
|
338
161
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
339
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
340
|
-
hintText: string;
|
341
|
-
hintTrigger?: "hover" | "click" | undefined;
|
342
|
-
hintView?: string | undefined;
|
343
|
-
hintSize?: string | undefined;
|
344
|
-
hintTargetIcon?: React.ReactNode;
|
345
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
346
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
347
|
-
hintHasArrow?: boolean | undefined;
|
348
|
-
hintOffset?: [number, number] | undefined;
|
349
|
-
hintWidth?: string | undefined;
|
350
|
-
hintContentLeft?: React.ReactNode;
|
351
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
162
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
352
163
|
items: ItemOption[];
|
353
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
354
|
-
placeholder?: string | undefined;
|
355
|
-
helperText?: string | undefined;
|
356
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
357
|
-
textBefore?: string | undefined;
|
358
|
-
textAfter?: string | undefined;
|
359
|
-
variant?: "normal" | "tight" | undefined;
|
360
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
361
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
362
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
363
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
364
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
365
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
366
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
367
|
-
closeAfterSelect?: boolean | undefined;
|
368
|
-
beforeList?: React.ReactNode;
|
369
|
-
afterList?: React.ReactNode;
|
370
|
-
size?: string | undefined;
|
371
|
-
view?: string | undefined;
|
372
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
373
|
-
readOnly?: boolean | undefined;
|
374
|
-
disabled?: true | undefined;
|
375
|
-
alwaysOpened?: false | undefined;
|
376
|
-
} & {
|
377
|
-
name: string;
|
378
|
-
onChange?: React.ChangeEventHandler<Element> | undefined;
|
379
|
-
} & {
|
380
|
-
multiple: true;
|
381
|
-
defaultValue?: string[] | undefined;
|
382
|
-
value?: undefined;
|
383
|
-
isTargetAmount?: true | undefined;
|
384
|
-
targetAmount?: number | undefined;
|
385
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
386
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
387
|
-
hintTrigger?: undefined;
|
388
|
-
hintText?: undefined;
|
389
|
-
hintView?: undefined;
|
390
|
-
hintSize?: undefined;
|
391
|
-
hintTargetIcon?: undefined;
|
392
|
-
hintTargetPlacement?: undefined;
|
393
|
-
hintPlacement?: undefined;
|
394
|
-
hintHasArrow?: undefined;
|
395
|
-
hintOffset?: undefined;
|
396
|
-
hintWidth?: undefined;
|
397
|
-
hintContentLeft?: undefined;
|
398
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
399
|
-
items: ItemOption[];
|
400
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
164
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
401
165
|
placeholder?: string | undefined;
|
402
166
|
helperText?: string | undefined;
|
403
167
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -430,115 +194,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
430
194
|
isTargetAmount?: false | undefined;
|
431
195
|
targetAmount?: undefined;
|
432
196
|
renderValue?: undefined;
|
433
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
434
|
-
hintText: string;
|
435
|
-
hintTrigger?: "hover" | "click" | undefined;
|
436
|
-
hintView?: string | undefined;
|
437
|
-
hintSize?: string | undefined;
|
438
|
-
hintTargetIcon?: React.ReactNode;
|
439
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
440
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
441
|
-
hintHasArrow?: boolean | undefined;
|
442
|
-
hintOffset?: [number, number] | undefined;
|
443
|
-
hintWidth?: string | undefined;
|
444
|
-
hintContentLeft?: React.ReactNode;
|
445
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
446
|
-
items: ItemOption[];
|
447
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
448
|
-
placeholder?: string | undefined;
|
449
|
-
helperText?: string | undefined;
|
450
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
451
|
-
textBefore?: string | undefined;
|
452
|
-
textAfter?: string | undefined;
|
453
|
-
variant?: "normal" | "tight" | undefined;
|
454
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
455
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
456
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
457
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
458
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
459
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
460
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
461
|
-
closeAfterSelect?: boolean | undefined;
|
462
|
-
beforeList?: React.ReactNode;
|
463
|
-
afterList?: React.ReactNode;
|
464
|
-
size?: string | undefined;
|
465
|
-
view?: string | undefined;
|
466
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
467
|
-
readOnly?: true | undefined;
|
468
|
-
disabled?: boolean | undefined;
|
469
|
-
alwaysOpened?: false | undefined;
|
470
|
-
} & {
|
471
|
-
name?: undefined;
|
472
|
-
defaultValue?: undefined;
|
473
|
-
} & {
|
474
|
-
multiple?: false | undefined;
|
475
|
-
value?: string | undefined;
|
476
|
-
onChange?: ((value: string) => void) | undefined;
|
477
|
-
isTargetAmount?: false | undefined;
|
478
|
-
targetAmount?: undefined;
|
479
|
-
renderValue?: undefined;
|
480
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
481
|
-
hintTrigger?: undefined;
|
482
|
-
hintText?: undefined;
|
483
|
-
hintView?: undefined;
|
484
|
-
hintSize?: undefined;
|
485
|
-
hintTargetIcon?: undefined;
|
486
|
-
hintTargetPlacement?: undefined;
|
487
|
-
hintPlacement?: undefined;
|
488
|
-
hintHasArrow?: undefined;
|
489
|
-
hintOffset?: undefined;
|
490
|
-
hintWidth?: undefined;
|
491
|
-
hintContentLeft?: undefined;
|
492
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
493
|
-
items: ItemOption[];
|
494
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
495
|
-
placeholder?: string | undefined;
|
496
|
-
helperText?: string | undefined;
|
497
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
498
|
-
textBefore?: string | undefined;
|
499
|
-
textAfter?: string | undefined;
|
500
|
-
variant?: "normal" | "tight" | undefined;
|
501
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
502
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
503
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
504
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
505
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
506
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
507
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
508
|
-
closeAfterSelect?: boolean | undefined;
|
509
|
-
beforeList?: React.ReactNode;
|
510
|
-
afterList?: React.ReactNode;
|
511
|
-
size?: string | undefined;
|
512
|
-
view?: string | undefined;
|
513
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
514
|
-
readOnly?: true | undefined;
|
515
|
-
disabled?: boolean | undefined;
|
516
|
-
alwaysOpened?: false | undefined;
|
517
|
-
} & {
|
518
|
-
name: string;
|
519
|
-
onChange?: React.ChangeEventHandler<Element> | undefined;
|
520
|
-
} & {
|
521
|
-
multiple?: false | undefined;
|
522
|
-
defaultValue?: string | undefined;
|
523
|
-
value?: undefined;
|
524
|
-
isTargetAmount?: false | undefined;
|
525
|
-
targetAmount?: undefined;
|
526
|
-
renderValue?: undefined;
|
527
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
528
|
-
hintText: string;
|
529
|
-
hintTrigger?: "hover" | "click" | undefined;
|
530
|
-
hintView?: string | undefined;
|
531
|
-
hintSize?: string | undefined;
|
532
|
-
hintTargetIcon?: React.ReactNode;
|
533
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
534
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
535
|
-
hintHasArrow?: boolean | undefined;
|
536
|
-
hintOffset?: [number, number] | undefined;
|
537
|
-
hintWidth?: string | undefined;
|
538
|
-
hintContentLeft?: React.ReactNode;
|
539
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
197
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
540
198
|
items: ItemOption[];
|
541
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
199
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
542
200
|
placeholder?: string | undefined;
|
543
201
|
helperText?: string | undefined;
|
544
202
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -571,21 +229,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
571
229
|
isTargetAmount?: false | undefined;
|
572
230
|
targetAmount?: undefined;
|
573
231
|
renderValue?: undefined;
|
574
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
575
|
-
hintTrigger?: undefined;
|
576
|
-
hintText?: undefined;
|
577
|
-
hintView?: undefined;
|
578
|
-
hintSize?: undefined;
|
579
|
-
hintTargetIcon?: undefined;
|
580
|
-
hintTargetPlacement?: undefined;
|
581
|
-
hintPlacement?: undefined;
|
582
|
-
hintHasArrow?: undefined;
|
583
|
-
hintOffset?: undefined;
|
584
|
-
hintWidth?: undefined;
|
585
|
-
hintContentLeft?: undefined;
|
586
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
232
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
587
233
|
items: ItemOption[];
|
588
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
234
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
589
235
|
placeholder?: string | undefined;
|
590
236
|
helperText?: string | undefined;
|
591
237
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -618,68 +264,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
618
264
|
isTargetAmount?: true | undefined;
|
619
265
|
targetAmount?: number | undefined;
|
620
266
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
621
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
622
|
-
hintText: string;
|
623
|
-
hintTrigger?: "hover" | "click" | undefined;
|
624
|
-
hintView?: string | undefined;
|
625
|
-
hintSize?: string | undefined;
|
626
|
-
hintTargetIcon?: React.ReactNode;
|
627
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
628
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
629
|
-
hintHasArrow?: boolean | undefined;
|
630
|
-
hintOffset?: [number, number] | undefined;
|
631
|
-
hintWidth?: string | undefined;
|
632
|
-
hintContentLeft?: React.ReactNode;
|
633
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
267
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
634
268
|
items: ItemOption[];
|
635
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
636
|
-
placeholder?: string | undefined;
|
637
|
-
helperText?: string | undefined;
|
638
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
639
|
-
textBefore?: string | undefined;
|
640
|
-
textAfter?: string | undefined;
|
641
|
-
variant?: "normal" | "tight" | undefined;
|
642
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
643
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
644
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
645
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
646
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
647
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
648
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
649
|
-
closeAfterSelect?: boolean | undefined;
|
650
|
-
beforeList?: React.ReactNode;
|
651
|
-
afterList?: React.ReactNode;
|
652
|
-
size?: string | undefined;
|
653
|
-
view?: string | undefined;
|
654
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
655
|
-
readOnly?: true | undefined;
|
656
|
-
disabled?: boolean | undefined;
|
657
|
-
alwaysOpened?: false | undefined;
|
658
|
-
} & {
|
659
|
-
name?: undefined;
|
660
|
-
defaultValue?: undefined;
|
661
|
-
} & {
|
662
|
-
multiple: true;
|
663
|
-
value?: string[] | undefined;
|
664
|
-
onChange?: ((value: string[]) => void) | undefined;
|
665
|
-
isTargetAmount?: true | undefined;
|
666
|
-
targetAmount?: number | undefined;
|
667
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
668
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
669
|
-
hintTrigger?: undefined;
|
670
|
-
hintText?: undefined;
|
671
|
-
hintView?: undefined;
|
672
|
-
hintSize?: undefined;
|
673
|
-
hintTargetIcon?: undefined;
|
674
|
-
hintTargetPlacement?: undefined;
|
675
|
-
hintPlacement?: undefined;
|
676
|
-
hintHasArrow?: undefined;
|
677
|
-
hintOffset?: undefined;
|
678
|
-
hintWidth?: undefined;
|
679
|
-
hintContentLeft?: undefined;
|
680
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
681
|
-
items: ItemOption[];
|
682
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
269
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
683
270
|
placeholder?: string | undefined;
|
684
271
|
helperText?: string | undefined;
|
685
272
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -712,115 +299,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
712
299
|
isTargetAmount?: true | undefined;
|
713
300
|
targetAmount?: number | undefined;
|
714
301
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
715
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
716
|
-
hintText: string;
|
717
|
-
hintTrigger?: "hover" | "click" | undefined;
|
718
|
-
hintView?: string | undefined;
|
719
|
-
hintSize?: string | undefined;
|
720
|
-
hintTargetIcon?: React.ReactNode;
|
721
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
722
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
723
|
-
hintHasArrow?: boolean | undefined;
|
724
|
-
hintOffset?: [number, number] | undefined;
|
725
|
-
hintWidth?: string | undefined;
|
726
|
-
hintContentLeft?: React.ReactNode;
|
727
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
728
|
-
items: ItemOption[];
|
729
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
730
|
-
placeholder?: string | undefined;
|
731
|
-
helperText?: string | undefined;
|
732
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
733
|
-
textBefore?: string | undefined;
|
734
|
-
textAfter?: string | undefined;
|
735
|
-
variant?: "normal" | "tight" | undefined;
|
736
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
737
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
738
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
739
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
740
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
741
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
742
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
743
|
-
closeAfterSelect?: boolean | undefined;
|
744
|
-
beforeList?: React.ReactNode;
|
745
|
-
afterList?: React.ReactNode;
|
746
|
-
size?: string | undefined;
|
747
|
-
view?: string | undefined;
|
748
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
749
|
-
readOnly?: true | undefined;
|
750
|
-
disabled?: boolean | undefined;
|
751
|
-
alwaysOpened?: false | undefined;
|
752
|
-
} & {
|
753
|
-
name: string;
|
754
|
-
onChange?: React.ChangeEventHandler<Element> | undefined;
|
755
|
-
} & {
|
756
|
-
multiple: true;
|
757
|
-
defaultValue?: string[] | undefined;
|
758
|
-
value?: undefined;
|
759
|
-
isTargetAmount?: true | undefined;
|
760
|
-
targetAmount?: number | undefined;
|
761
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
762
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
763
|
-
hintTrigger?: undefined;
|
764
|
-
hintText?: undefined;
|
765
|
-
hintView?: undefined;
|
766
|
-
hintSize?: undefined;
|
767
|
-
hintTargetIcon?: undefined;
|
768
|
-
hintTargetPlacement?: undefined;
|
769
|
-
hintPlacement?: undefined;
|
770
|
-
hintHasArrow?: undefined;
|
771
|
-
hintOffset?: undefined;
|
772
|
-
hintWidth?: undefined;
|
773
|
-
hintContentLeft?: undefined;
|
774
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
775
|
-
items: ItemOption[];
|
776
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
777
|
-
placeholder?: string | undefined;
|
778
|
-
helperText?: string | undefined;
|
779
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
780
|
-
textBefore?: string | undefined;
|
781
|
-
textAfter?: string | undefined;
|
782
|
-
variant?: "normal" | "tight" | undefined;
|
783
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
784
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
785
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
786
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
787
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
788
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
789
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
790
|
-
closeAfterSelect?: boolean | undefined;
|
791
|
-
beforeList?: React.ReactNode;
|
792
|
-
afterList?: React.ReactNode;
|
793
|
-
size?: string | undefined;
|
794
|
-
view?: string | undefined;
|
795
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
796
|
-
readOnly?: false | undefined;
|
797
|
-
disabled?: false | undefined;
|
798
|
-
alwaysOpened?: true | undefined;
|
799
|
-
} & {
|
800
|
-
name?: undefined;
|
801
|
-
defaultValue?: undefined;
|
802
|
-
} & {
|
803
|
-
multiple?: false | undefined;
|
804
|
-
value?: string | undefined;
|
805
|
-
onChange?: ((value: string) => void) | undefined;
|
806
|
-
isTargetAmount?: false | undefined;
|
807
|
-
targetAmount?: undefined;
|
808
|
-
renderValue?: undefined;
|
809
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
810
|
-
hintText: string;
|
811
|
-
hintTrigger?: "hover" | "click" | undefined;
|
812
|
-
hintView?: string | undefined;
|
813
|
-
hintSize?: string | undefined;
|
814
|
-
hintTargetIcon?: React.ReactNode;
|
815
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
816
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
817
|
-
hintHasArrow?: boolean | undefined;
|
818
|
-
hintOffset?: [number, number] | undefined;
|
819
|
-
hintWidth?: string | undefined;
|
820
|
-
hintContentLeft?: React.ReactNode;
|
821
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
302
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
822
303
|
items: ItemOption[];
|
823
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
304
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
824
305
|
placeholder?: string | undefined;
|
825
306
|
helperText?: string | undefined;
|
826
307
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -853,21 +334,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
853
334
|
isTargetAmount?: false | undefined;
|
854
335
|
targetAmount?: undefined;
|
855
336
|
renderValue?: undefined;
|
856
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
857
|
-
hintTrigger?: undefined;
|
858
|
-
hintText?: undefined;
|
859
|
-
hintView?: undefined;
|
860
|
-
hintSize?: undefined;
|
861
|
-
hintTargetIcon?: undefined;
|
862
|
-
hintTargetPlacement?: undefined;
|
863
|
-
hintPlacement?: undefined;
|
864
|
-
hintHasArrow?: undefined;
|
865
|
-
hintOffset?: undefined;
|
866
|
-
hintWidth?: undefined;
|
867
|
-
hintContentLeft?: undefined;
|
868
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
337
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
869
338
|
items: ItemOption[];
|
870
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
339
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
871
340
|
placeholder?: string | undefined;
|
872
341
|
helperText?: string | undefined;
|
873
342
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -900,68 +369,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
900
369
|
isTargetAmount?: false | undefined;
|
901
370
|
targetAmount?: undefined;
|
902
371
|
renderValue?: undefined;
|
903
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
904
|
-
hintText: string;
|
905
|
-
hintTrigger?: "hover" | "click" | undefined;
|
906
|
-
hintView?: string | undefined;
|
907
|
-
hintSize?: string | undefined;
|
908
|
-
hintTargetIcon?: React.ReactNode;
|
909
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
910
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
911
|
-
hintHasArrow?: boolean | undefined;
|
912
|
-
hintOffset?: [number, number] | undefined;
|
913
|
-
hintWidth?: string | undefined;
|
914
|
-
hintContentLeft?: React.ReactNode;
|
915
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
372
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
916
373
|
items: ItemOption[];
|
917
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
918
|
-
placeholder?: string | undefined;
|
919
|
-
helperText?: string | undefined;
|
920
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
921
|
-
textBefore?: string | undefined;
|
922
|
-
textAfter?: string | undefined;
|
923
|
-
variant?: "normal" | "tight" | undefined;
|
924
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
925
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
926
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
927
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
928
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
929
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
930
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
931
|
-
closeAfterSelect?: boolean | undefined;
|
932
|
-
beforeList?: React.ReactNode;
|
933
|
-
afterList?: React.ReactNode;
|
934
|
-
size?: string | undefined;
|
935
|
-
view?: string | undefined;
|
936
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
937
|
-
readOnly?: false | undefined;
|
938
|
-
disabled?: false | undefined;
|
939
|
-
alwaysOpened?: true | undefined;
|
940
|
-
} & {
|
941
|
-
name: string;
|
942
|
-
onChange?: React.ChangeEventHandler<Element> | undefined;
|
943
|
-
} & {
|
944
|
-
multiple?: false | undefined;
|
945
|
-
defaultValue?: string | undefined;
|
946
|
-
value?: undefined;
|
947
|
-
isTargetAmount?: false | undefined;
|
948
|
-
targetAmount?: undefined;
|
949
|
-
renderValue?: undefined;
|
950
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
951
|
-
hintTrigger?: undefined;
|
952
|
-
hintText?: undefined;
|
953
|
-
hintView?: undefined;
|
954
|
-
hintSize?: undefined;
|
955
|
-
hintTargetIcon?: undefined;
|
956
|
-
hintTargetPlacement?: undefined;
|
957
|
-
hintPlacement?: undefined;
|
958
|
-
hintHasArrow?: undefined;
|
959
|
-
hintOffset?: undefined;
|
960
|
-
hintWidth?: undefined;
|
961
|
-
hintContentLeft?: undefined;
|
962
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
963
|
-
items: ItemOption[];
|
964
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
374
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
965
375
|
placeholder?: string | undefined;
|
966
376
|
helperText?: string | undefined;
|
967
377
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -994,115 +404,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
994
404
|
isTargetAmount?: true | undefined;
|
995
405
|
targetAmount?: number | undefined;
|
996
406
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
997
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
998
|
-
hintText: string;
|
999
|
-
hintTrigger?: "hover" | "click" | undefined;
|
1000
|
-
hintView?: string | undefined;
|
1001
|
-
hintSize?: string | undefined;
|
1002
|
-
hintTargetIcon?: React.ReactNode;
|
1003
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1004
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1005
|
-
hintHasArrow?: boolean | undefined;
|
1006
|
-
hintOffset?: [number, number] | undefined;
|
1007
|
-
hintWidth?: string | undefined;
|
1008
|
-
hintContentLeft?: React.ReactNode;
|
1009
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1010
|
-
items: ItemOption[];
|
1011
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1012
|
-
placeholder?: string | undefined;
|
1013
|
-
helperText?: string | undefined;
|
1014
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1015
|
-
textBefore?: string | undefined;
|
1016
|
-
textAfter?: string | undefined;
|
1017
|
-
variant?: "normal" | "tight" | undefined;
|
1018
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1019
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1020
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1021
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1022
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1023
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1024
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1025
|
-
closeAfterSelect?: boolean | undefined;
|
1026
|
-
beforeList?: React.ReactNode;
|
1027
|
-
afterList?: React.ReactNode;
|
1028
|
-
size?: string | undefined;
|
1029
|
-
view?: string | undefined;
|
1030
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1031
|
-
readOnly?: false | undefined;
|
1032
|
-
disabled?: false | undefined;
|
1033
|
-
alwaysOpened?: true | undefined;
|
1034
|
-
} & {
|
1035
|
-
name?: undefined;
|
1036
|
-
defaultValue?: undefined;
|
1037
|
-
} & {
|
1038
|
-
multiple: true;
|
1039
|
-
value?: string[] | undefined;
|
1040
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1041
|
-
isTargetAmount?: true | undefined;
|
1042
|
-
targetAmount?: number | undefined;
|
1043
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1044
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1045
|
-
hintTrigger?: undefined;
|
1046
|
-
hintText?: undefined;
|
1047
|
-
hintView?: undefined;
|
1048
|
-
hintSize?: undefined;
|
1049
|
-
hintTargetIcon?: undefined;
|
1050
|
-
hintTargetPlacement?: undefined;
|
1051
|
-
hintPlacement?: undefined;
|
1052
|
-
hintHasArrow?: undefined;
|
1053
|
-
hintOffset?: undefined;
|
1054
|
-
hintWidth?: undefined;
|
1055
|
-
hintContentLeft?: undefined;
|
1056
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1057
|
-
items: ItemOption[];
|
1058
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
1059
|
-
placeholder?: string | undefined;
|
1060
|
-
helperText?: string | undefined;
|
1061
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1062
|
-
textBefore?: string | undefined;
|
1063
|
-
textAfter?: string | undefined;
|
1064
|
-
variant?: "normal" | "tight" | undefined;
|
1065
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1066
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1067
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1068
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1069
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1070
|
-
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1071
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1072
|
-
closeAfterSelect?: boolean | undefined;
|
1073
|
-
beforeList?: React.ReactNode;
|
1074
|
-
afterList?: React.ReactNode;
|
1075
|
-
size?: string | undefined;
|
1076
|
-
view?: string | undefined;
|
1077
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1078
|
-
readOnly?: false | undefined;
|
1079
|
-
disabled?: false | undefined;
|
1080
|
-
alwaysOpened?: true | undefined;
|
1081
|
-
} & {
|
1082
|
-
name: string;
|
1083
|
-
onChange?: React.ChangeEventHandler<Element> | undefined;
|
1084
|
-
} & {
|
1085
|
-
multiple: true;
|
1086
|
-
defaultValue?: string[] | undefined;
|
1087
|
-
value?: undefined;
|
1088
|
-
isTargetAmount?: true | undefined;
|
1089
|
-
targetAmount?: number | undefined;
|
1090
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1091
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1092
|
-
hintText: string;
|
1093
|
-
hintTrigger?: "hover" | "click" | undefined;
|
1094
|
-
hintView?: string | undefined;
|
1095
|
-
hintSize?: string | undefined;
|
1096
|
-
hintTargetIcon?: React.ReactNode;
|
1097
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1098
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1099
|
-
hintHasArrow?: boolean | undefined;
|
1100
|
-
hintOffset?: [number, number] | undefined;
|
1101
|
-
hintWidth?: string | undefined;
|
1102
|
-
hintContentLeft?: React.ReactNode;
|
1103
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
407
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1104
408
|
items: ItemOption[];
|
1105
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
409
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1106
410
|
placeholder?: string | undefined;
|
1107
411
|
helperText?: string | undefined;
|
1108
412
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -1135,21 +439,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1135
439
|
isTargetAmount?: true | undefined;
|
1136
440
|
targetAmount?: number | undefined;
|
1137
441
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1138
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
1139
|
-
hintTrigger?: undefined;
|
1140
|
-
hintText?: undefined;
|
1141
|
-
hintView?: undefined;
|
1142
|
-
hintSize?: undefined;
|
1143
|
-
hintTargetIcon?: undefined;
|
1144
|
-
hintTargetPlacement?: undefined;
|
1145
|
-
hintPlacement?: undefined;
|
1146
|
-
hintHasArrow?: undefined;
|
1147
|
-
hintOffset?: undefined;
|
1148
|
-
hintWidth?: undefined;
|
1149
|
-
hintContentLeft?: undefined;
|
1150
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
442
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
1151
443
|
declare type PropsFromConfig = keyof typeof config['variations'];
|
1152
|
-
declare type
|
1153
|
-
declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig | OmittedHintProps> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
444
|
+
declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
1154
445
|
declare const Combobox: <T extends ItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
1155
446
|
export { Combobox };
|