@salutejs/sdds-dfa 0.175.0-canary.1546.11913646617.0 → 0.175.0-canary.1556.11929098791.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +2774 -920
- package/components/Autocomplete/Autocomplete.d.ts +3 -5
- package/components/Badge/Badge.config.js +5 -5
- package/components/Badge/Badge.d.ts +4 -61
- package/components/Combobox/Combobox.d.ts +501 -45
- package/components/DatePicker/DatePicker.d.ts +47 -1
- package/components/Dropdown/Dropdown.d.ts +28 -3
- package/components/Dropdown/Dropdown.js +10 -1
- package/components/Mask/Mask.d.ts +1246 -62
- package/components/Select/Select.d.ts +176 -4
- package/components/TextField/TextField.d.ts +717 -61
- package/es/components/Badge/Badge.config.js +5 -5
- package/es/components/Dropdown/Dropdown.js +10 -2
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +2774 -920
@@ -35,9 +35,12 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
35
35
|
target?: "textfield-like" | undefined;
|
36
36
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
37
37
|
contentLeft?: React.ReactNode;
|
38
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
39
38
|
placeholder?: string | undefined;
|
40
39
|
helperText?: string | undefined;
|
40
|
+
} & {
|
41
|
+
label?: string | undefined;
|
42
|
+
labelPlacement?: "inner" | undefined;
|
43
|
+
hasPlaceholder?: boolean | undefined;
|
41
44
|
} & {
|
42
45
|
multiselect?: false | undefined;
|
43
46
|
separator?: undefined;
|
@@ -55,7 +58,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
55
58
|
isTargetAmount?: boolean | undefined;
|
56
59
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
57
60
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
58
|
-
label?: string | undefined;
|
59
61
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
60
62
|
variant?: "normal" | "tight" | undefined;
|
61
63
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -73,9 +75,12 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
73
75
|
target?: "textfield-like" | undefined;
|
74
76
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
75
77
|
contentLeft?: React.ReactNode;
|
76
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
77
78
|
placeholder?: string | undefined;
|
78
79
|
helperText?: string | undefined;
|
80
|
+
} & {
|
81
|
+
label?: string | undefined;
|
82
|
+
labelPlacement?: "inner" | undefined;
|
83
|
+
hasPlaceholder?: boolean | undefined;
|
79
84
|
} & {
|
80
85
|
multiselect?: true | undefined;
|
81
86
|
separator?: string | undefined;
|
@@ -93,7 +98,86 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
93
98
|
isTargetAmount?: boolean | undefined;
|
94
99
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
95
100
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
101
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
102
|
+
variant?: "normal" | "tight" | undefined;
|
103
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
104
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
105
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
106
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
107
|
+
closeAfterSelect?: boolean | undefined;
|
108
|
+
size?: string | undefined;
|
109
|
+
view?: string | undefined;
|
110
|
+
chipView?: string | undefined;
|
111
|
+
status?: "warning" | "success" | "error" | undefined;
|
112
|
+
hasItems?: boolean | undefined;
|
113
|
+
isOpen?: boolean | undefined;
|
114
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
115
|
+
target?: "textfield-like" | undefined;
|
116
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
117
|
+
contentLeft?: React.ReactNode;
|
118
|
+
placeholder?: string | undefined;
|
119
|
+
helperText?: string | undefined;
|
120
|
+
} & {
|
96
121
|
label?: string | undefined;
|
122
|
+
labelPlacement?: "outer" | undefined;
|
123
|
+
hasPlaceholder?: undefined;
|
124
|
+
} & {
|
125
|
+
multiselect?: false | undefined;
|
126
|
+
separator?: undefined;
|
127
|
+
} & {
|
128
|
+
value?: any;
|
129
|
+
onChange?: ((value: any) => void) | undefined;
|
130
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
131
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
132
|
+
placeholder?: string | undefined;
|
133
|
+
helperText?: string | undefined;
|
134
|
+
disabled?: boolean | undefined;
|
135
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
136
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
137
|
+
children?: undefined;
|
138
|
+
isTargetAmount?: boolean | undefined;
|
139
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
140
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
141
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
142
|
+
variant?: "normal" | "tight" | undefined;
|
143
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
144
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
145
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
146
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
147
|
+
closeAfterSelect?: boolean | undefined;
|
148
|
+
size?: string | undefined;
|
149
|
+
view?: string | undefined;
|
150
|
+
chipView?: string | undefined;
|
151
|
+
status?: "warning" | "success" | "error" | undefined;
|
152
|
+
hasItems?: boolean | undefined;
|
153
|
+
isOpen?: boolean | undefined;
|
154
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
155
|
+
target?: "textfield-like" | undefined;
|
156
|
+
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
157
|
+
contentLeft?: React.ReactNode;
|
158
|
+
placeholder?: string | undefined;
|
159
|
+
helperText?: string | undefined;
|
160
|
+
} & {
|
161
|
+
label?: string | undefined;
|
162
|
+
labelPlacement?: "outer" | undefined;
|
163
|
+
hasPlaceholder?: undefined;
|
164
|
+
} & {
|
165
|
+
multiselect?: true | undefined;
|
166
|
+
separator?: string | undefined;
|
167
|
+
} & {
|
168
|
+
value?: any;
|
169
|
+
onChange?: ((value: any) => void) | undefined;
|
170
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
171
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
172
|
+
placeholder?: string | undefined;
|
173
|
+
helperText?: string | undefined;
|
174
|
+
disabled?: boolean | undefined;
|
175
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
176
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
177
|
+
children?: undefined;
|
178
|
+
isTargetAmount?: boolean | undefined;
|
179
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
180
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
97
181
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
98
182
|
variant?: "normal" | "tight" | undefined;
|
99
183
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -114,6 +198,10 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
114
198
|
labelPlacement?: undefined;
|
115
199
|
placeholder?: undefined;
|
116
200
|
helperText?: undefined;
|
201
|
+
} & {
|
202
|
+
label?: string | undefined;
|
203
|
+
labelPlacement?: "inner" | undefined;
|
204
|
+
hasPlaceholder?: boolean | undefined;
|
117
205
|
} & {
|
118
206
|
multiselect?: false | undefined;
|
119
207
|
separator?: undefined;
|
@@ -131,7 +219,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
131
219
|
isTargetAmount?: boolean | undefined;
|
132
220
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
133
221
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
134
|
-
label?: string | undefined;
|
135
222
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
136
223
|
variant?: "normal" | "tight" | undefined;
|
137
224
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
@@ -152,6 +239,10 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
152
239
|
labelPlacement?: undefined;
|
153
240
|
placeholder?: undefined;
|
154
241
|
helperText?: undefined;
|
242
|
+
} & {
|
243
|
+
label?: string | undefined;
|
244
|
+
labelPlacement?: "inner" | undefined;
|
245
|
+
hasPlaceholder?: boolean | undefined;
|
155
246
|
} & {
|
156
247
|
multiselect?: true | undefined;
|
157
248
|
separator?: string | undefined;
|
@@ -169,7 +260,88 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
169
260
|
isTargetAmount?: boolean | undefined;
|
170
261
|
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
171
262
|
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
263
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
264
|
+
variant?: "normal" | "tight" | undefined;
|
265
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
266
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
267
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
268
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
269
|
+
closeAfterSelect?: boolean | undefined;
|
270
|
+
size?: string | undefined;
|
271
|
+
view?: string | undefined;
|
272
|
+
chipView?: string | undefined;
|
273
|
+
status?: "warning" | "success" | "error" | undefined;
|
274
|
+
hasItems?: boolean | undefined;
|
275
|
+
isOpen?: boolean | undefined;
|
276
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
277
|
+
target: "button-like";
|
278
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
279
|
+
contentLeft?: undefined;
|
280
|
+
labelPlacement?: undefined;
|
281
|
+
placeholder?: undefined;
|
282
|
+
helperText?: undefined;
|
283
|
+
} & {
|
172
284
|
label?: string | undefined;
|
285
|
+
labelPlacement?: "outer" | undefined;
|
286
|
+
hasPlaceholder?: undefined;
|
287
|
+
} & {
|
288
|
+
multiselect?: false | undefined;
|
289
|
+
separator?: undefined;
|
290
|
+
} & {
|
291
|
+
value?: any;
|
292
|
+
onChange?: ((value: any) => void) | undefined;
|
293
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
294
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
295
|
+
placeholder?: string | undefined;
|
296
|
+
helperText?: string | undefined;
|
297
|
+
disabled?: boolean | undefined;
|
298
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
299
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
300
|
+
children?: undefined;
|
301
|
+
isTargetAmount?: boolean | undefined;
|
302
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
303
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
304
|
+
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
305
|
+
variant?: "normal" | "tight" | undefined;
|
306
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
307
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
308
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
309
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
310
|
+
closeAfterSelect?: boolean | undefined;
|
311
|
+
size?: string | undefined;
|
312
|
+
view?: string | undefined;
|
313
|
+
chipView?: string | undefined;
|
314
|
+
status?: "warning" | "success" | "error" | undefined;
|
315
|
+
hasItems?: boolean | undefined;
|
316
|
+
isOpen?: boolean | undefined;
|
317
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
318
|
+
target: "button-like";
|
319
|
+
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
320
|
+
contentLeft?: undefined;
|
321
|
+
labelPlacement?: undefined;
|
322
|
+
placeholder?: undefined;
|
323
|
+
helperText?: undefined;
|
324
|
+
} & {
|
325
|
+
label?: string | undefined;
|
326
|
+
labelPlacement?: "outer" | undefined;
|
327
|
+
hasPlaceholder?: undefined;
|
328
|
+
} & {
|
329
|
+
multiselect?: true | undefined;
|
330
|
+
separator?: string | undefined;
|
331
|
+
} & {
|
332
|
+
value?: any;
|
333
|
+
onChange?: ((value: any) => void) | undefined;
|
334
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
335
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
336
|
+
placeholder?: string | undefined;
|
337
|
+
helperText?: string | undefined;
|
338
|
+
disabled?: boolean | undefined;
|
339
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
340
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
341
|
+
children?: undefined;
|
342
|
+
isTargetAmount?: boolean | undefined;
|
343
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
344
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
173
345
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
174
346
|
variant?: "normal" | "tight" | undefined;
|
175
347
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|