@salutejs/sdds-cs 0.233.1-canary.1701.12886851599.0 → 0.234.0-canary.1706.12887876089.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-cs.api.md +40 -16
- package/components/Autocomplete/Autocomplete.d.ts +12 -4
- package/components/Combobox/Combobox.d.ts +732 -24
- package/components/Mask/Mask.d.ts +12 -4
- package/components/Select/Select.d.ts +128 -0
- package/components/TextArea/TextArea.d.ts +4 -4
- package/components/TextField/TextField.d.ts +12 -4
- package/emotion/cjs/components/Autocomplete/Autocomplete.stories.tsx +14 -1
- package/emotion/cjs/components/Combobox/Combobox.stories.tsx +14 -1
- package/emotion/cjs/components/Select/Select.stories.tsx +14 -1
- package/emotion/cjs/components/TextArea/TextArea.stories.tsx +10 -58
- package/emotion/cjs/components/TextField/TextField.stories.tsx +11 -66
- package/emotion/es/components/Autocomplete/Autocomplete.stories.tsx +14 -1
- package/emotion/es/components/Combobox/Combobox.stories.tsx +14 -1
- package/emotion/es/components/Select/Select.stories.tsx +14 -1
- package/emotion/es/components/TextArea/TextArea.stories.tsx +10 -58
- package/emotion/es/components/TextField/TextField.stories.tsx +11 -66
- 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" | "bottom-start" | "bottom-end" | "right-start" | "right-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,9 +54,68 @@ 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 &
|
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>) | ({
|
58
70
|
items: ItemOption[];
|
59
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
71
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
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;
|
60
119
|
placeholder?: string | undefined;
|
61
120
|
helperText?: string | undefined;
|
62
121
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -89,9 +148,115 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
89
148
|
isTargetAmount?: false | undefined;
|
90
149
|
targetAmount?: undefined;
|
91
150
|
renderValue?: undefined;
|
92
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
93
258
|
items: ItemOption[];
|
94
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
259
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
95
260
|
placeholder?: string | undefined;
|
96
261
|
helperText?: string | undefined;
|
97
262
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -124,9 +289,21 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
124
289
|
isTargetAmount?: true | undefined;
|
125
290
|
targetAmount?: number | undefined;
|
126
291
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
127
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
128
305
|
items: ItemOption[];
|
129
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
306
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
130
307
|
placeholder?: string | undefined;
|
131
308
|
helperText?: string | undefined;
|
132
309
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -159,9 +336,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
159
336
|
isTargetAmount?: true | undefined;
|
160
337
|
targetAmount?: number | undefined;
|
161
338
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
162
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
163
352
|
items: ItemOption[];
|
164
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
353
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
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;
|
165
401
|
placeholder?: string | undefined;
|
166
402
|
helperText?: string | undefined;
|
167
403
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -194,9 +430,115 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
194
430
|
isTargetAmount?: false | undefined;
|
195
431
|
targetAmount?: undefined;
|
196
432
|
renderValue?: undefined;
|
197
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
198
540
|
items: ItemOption[];
|
199
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
541
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
200
542
|
placeholder?: string | undefined;
|
201
543
|
helperText?: string | undefined;
|
202
544
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -229,9 +571,21 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
229
571
|
isTargetAmount?: false | undefined;
|
230
572
|
targetAmount?: undefined;
|
231
573
|
renderValue?: undefined;
|
232
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
233
587
|
items: ItemOption[];
|
234
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
588
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
235
589
|
placeholder?: string | undefined;
|
236
590
|
helperText?: string | undefined;
|
237
591
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -264,9 +618,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
264
618
|
isTargetAmount?: true | undefined;
|
265
619
|
targetAmount?: number | undefined;
|
266
620
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
267
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
268
634
|
items: ItemOption[];
|
269
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
635
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
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;
|
270
683
|
placeholder?: string | undefined;
|
271
684
|
helperText?: string | undefined;
|
272
685
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -299,9 +712,115 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
299
712
|
isTargetAmount?: true | undefined;
|
300
713
|
targetAmount?: number | undefined;
|
301
714
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
302
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
303
822
|
items: ItemOption[];
|
304
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
823
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
305
824
|
placeholder?: string | undefined;
|
306
825
|
helperText?: string | undefined;
|
307
826
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -334,9 +853,21 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
334
853
|
isTargetAmount?: false | undefined;
|
335
854
|
targetAmount?: undefined;
|
336
855
|
renderValue?: undefined;
|
337
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
338
869
|
items: ItemOption[];
|
339
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
870
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
340
871
|
placeholder?: string | undefined;
|
341
872
|
helperText?: string | undefined;
|
342
873
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -369,9 +900,68 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
369
900
|
isTargetAmount?: false | undefined;
|
370
901
|
targetAmount?: undefined;
|
371
902
|
renderValue?: undefined;
|
372
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
373
916
|
items: ItemOption[];
|
374
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
917
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
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;
|
375
965
|
placeholder?: string | undefined;
|
376
966
|
helperText?: string | undefined;
|
377
967
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -404,9 +994,115 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
404
994
|
isTargetAmount?: true | undefined;
|
405
995
|
targetAmount?: number | undefined;
|
406
996
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
407
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>) | ({
|
408
1104
|
items: ItemOption[];
|
409
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "
|
1105
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
410
1106
|
placeholder?: string | undefined;
|
411
1107
|
helperText?: string | undefined;
|
412
1108
|
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
@@ -439,7 +1135,19 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
439
1135
|
isTargetAmount?: true | undefined;
|
440
1136
|
targetAmount?: number | undefined;
|
441
1137
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
442
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps &
|
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>))>;
|
443
1151
|
declare type PropsFromConfig = keyof typeof config['variations'];
|
444
1152
|
declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
445
1153
|
declare const Combobox: <T extends ItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|