@salutejs/plasma-web 1.579.1-canary.1944.14709631180.0 → 1.579.1-canary.1944.14717616818.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,288 +1,2 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const Autocomplete: import("react").FunctionComponent<
|
3
|
-
view: {
|
4
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
-
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
-
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
-
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
-
};
|
9
|
-
size: {
|
10
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
-
};
|
15
|
-
labelPlacement: {
|
16
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
};
|
19
|
-
hintView: {
|
20
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
-
};
|
22
|
-
hintSize: {
|
23
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
-
};
|
26
|
-
disabled: {
|
27
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
28
|
-
};
|
29
|
-
readOnly: {
|
30
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
31
|
-
};
|
32
|
-
}> & ((import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
33
|
-
titleCaption?: import("react").ReactNode;
|
34
|
-
leftHelper?: import("react").ReactNode;
|
35
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
37
|
-
textBefore?: string | undefined;
|
38
|
-
textAfter?: string | undefined;
|
39
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
40
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
41
|
-
clear?: boolean | undefined;
|
42
|
-
hasDivider?: boolean | undefined;
|
43
|
-
} & {
|
44
|
-
hintText: string;
|
45
|
-
hintTrigger?: "hover" | "click" | undefined;
|
46
|
-
hintView?: string | undefined;
|
47
|
-
hintSize?: string | undefined;
|
48
|
-
hintTargetIcon?: import("react").ReactNode;
|
49
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
50
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
51
|
-
hintHasArrow?: boolean | undefined;
|
52
|
-
hintOffset?: [number, number] | undefined;
|
53
|
-
hintWidth?: string | undefined;
|
54
|
-
hintContentLeft?: import("react").ReactNode;
|
55
|
-
} & {
|
56
|
-
chips?: undefined;
|
57
|
-
onChangeChips?: undefined;
|
58
|
-
enumerationType?: "plain" | undefined;
|
59
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
60
|
-
chipType?: undefined;
|
61
|
-
chipView?: undefined;
|
62
|
-
chipValidator?: undefined;
|
63
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
64
|
-
titleCaption?: import("react").ReactNode;
|
65
|
-
leftHelper?: import("react").ReactNode;
|
66
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
67
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
68
|
-
textBefore?: string | undefined;
|
69
|
-
textAfter?: string | undefined;
|
70
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
71
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
72
|
-
clear?: boolean | undefined;
|
73
|
-
hasDivider?: boolean | undefined;
|
74
|
-
} & {
|
75
|
-
hintText: string;
|
76
|
-
hintTrigger?: "hover" | "click" | undefined;
|
77
|
-
hintView?: string | undefined;
|
78
|
-
hintSize?: string | undefined;
|
79
|
-
hintTargetIcon?: import("react").ReactNode;
|
80
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
81
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
82
|
-
hintHasArrow?: boolean | undefined;
|
83
|
-
hintOffset?: [number, number] | undefined;
|
84
|
-
hintWidth?: string | undefined;
|
85
|
-
hintContentLeft?: import("react").ReactNode;
|
86
|
-
} & {
|
87
|
-
enumerationType: "chip";
|
88
|
-
onSearch?: undefined;
|
89
|
-
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
90
|
-
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
91
|
-
chipType?: "default" | "text" | undefined;
|
92
|
-
chipView?: string | undefined;
|
93
|
-
chipValidator?: ((value: string) => {
|
94
|
-
view?: string | undefined;
|
95
|
-
}) | undefined;
|
96
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
97
|
-
titleCaption?: import("react").ReactNode;
|
98
|
-
leftHelper?: import("react").ReactNode;
|
99
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
100
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
101
|
-
textBefore?: string | undefined;
|
102
|
-
textAfter?: string | undefined;
|
103
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
104
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
105
|
-
clear?: boolean | undefined;
|
106
|
-
hasDivider?: boolean | undefined;
|
107
|
-
} & {
|
108
|
-
hintTrigger?: undefined;
|
109
|
-
hintText?: undefined;
|
110
|
-
hintView?: undefined;
|
111
|
-
hintSize?: undefined;
|
112
|
-
hintTargetIcon?: undefined;
|
113
|
-
hintTargetPlacement?: undefined;
|
114
|
-
hintPlacement?: undefined;
|
115
|
-
hintHasArrow?: undefined;
|
116
|
-
hintOffset?: undefined;
|
117
|
-
hintWidth?: undefined;
|
118
|
-
hintContentLeft?: undefined;
|
119
|
-
} & {
|
120
|
-
chips?: undefined;
|
121
|
-
onChangeChips?: undefined;
|
122
|
-
enumerationType?: "plain" | undefined;
|
123
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
124
|
-
chipType?: undefined;
|
125
|
-
chipView?: undefined;
|
126
|
-
chipValidator?: undefined;
|
127
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
128
|
-
titleCaption?: import("react").ReactNode;
|
129
|
-
leftHelper?: import("react").ReactNode;
|
130
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
131
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
132
|
-
textBefore?: string | undefined;
|
133
|
-
textAfter?: string | undefined;
|
134
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
135
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
136
|
-
clear?: boolean | undefined;
|
137
|
-
hasDivider?: boolean | undefined;
|
138
|
-
} & {
|
139
|
-
hintTrigger?: undefined;
|
140
|
-
hintText?: undefined;
|
141
|
-
hintView?: undefined;
|
142
|
-
hintSize?: undefined;
|
143
|
-
hintTargetIcon?: undefined;
|
144
|
-
hintTargetPlacement?: undefined;
|
145
|
-
hintPlacement?: undefined;
|
146
|
-
hintHasArrow?: undefined;
|
147
|
-
hintOffset?: undefined;
|
148
|
-
hintWidth?: undefined;
|
149
|
-
hintContentLeft?: undefined;
|
150
|
-
} & {
|
151
|
-
enumerationType: "chip";
|
152
|
-
onSearch?: undefined;
|
153
|
-
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
154
|
-
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
155
|
-
chipType?: "default" | "text" | undefined;
|
156
|
-
chipView?: string | undefined;
|
157
|
-
chipValidator?: ((value: string) => {
|
158
|
-
view?: string | undefined;
|
159
|
-
}) | undefined;
|
160
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
161
|
-
titleCaption?: import("react").ReactNode;
|
162
|
-
leftHelper?: import("react").ReactNode;
|
163
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
164
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
165
|
-
textBefore?: string | undefined;
|
166
|
-
textAfter?: string | undefined;
|
167
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
168
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
169
|
-
clear?: false | undefined;
|
170
|
-
hasDivider?: undefined;
|
171
|
-
} & {
|
172
|
-
hintText: string;
|
173
|
-
hintTrigger?: "hover" | "click" | undefined;
|
174
|
-
hintView?: string | undefined;
|
175
|
-
hintSize?: string | undefined;
|
176
|
-
hintTargetIcon?: import("react").ReactNode;
|
177
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
178
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
179
|
-
hintHasArrow?: boolean | undefined;
|
180
|
-
hintOffset?: [number, number] | undefined;
|
181
|
-
hintWidth?: string | undefined;
|
182
|
-
hintContentLeft?: import("react").ReactNode;
|
183
|
-
} & {
|
184
|
-
chips?: undefined;
|
185
|
-
onChangeChips?: undefined;
|
186
|
-
enumerationType?: "plain" | undefined;
|
187
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
188
|
-
chipType?: undefined;
|
189
|
-
chipView?: undefined;
|
190
|
-
chipValidator?: undefined;
|
191
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
192
|
-
titleCaption?: import("react").ReactNode;
|
193
|
-
leftHelper?: import("react").ReactNode;
|
194
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
195
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
196
|
-
textBefore?: string | undefined;
|
197
|
-
textAfter?: string | undefined;
|
198
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
199
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
200
|
-
clear?: false | undefined;
|
201
|
-
hasDivider?: undefined;
|
202
|
-
} & {
|
203
|
-
hintText: string;
|
204
|
-
hintTrigger?: "hover" | "click" | undefined;
|
205
|
-
hintView?: string | undefined;
|
206
|
-
hintSize?: string | undefined;
|
207
|
-
hintTargetIcon?: import("react").ReactNode;
|
208
|
-
hintTargetPlacement?: "outer" | "inner" | undefined;
|
209
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
210
|
-
hintHasArrow?: boolean | undefined;
|
211
|
-
hintOffset?: [number, number] | undefined;
|
212
|
-
hintWidth?: string | undefined;
|
213
|
-
hintContentLeft?: import("react").ReactNode;
|
214
|
-
} & {
|
215
|
-
enumerationType: "chip";
|
216
|
-
onSearch?: undefined;
|
217
|
-
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
218
|
-
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
219
|
-
chipType?: "default" | "text" | undefined;
|
220
|
-
chipView?: string | undefined;
|
221
|
-
chipValidator?: ((value: string) => {
|
222
|
-
view?: string | undefined;
|
223
|
-
}) | undefined;
|
224
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
225
|
-
titleCaption?: import("react").ReactNode;
|
226
|
-
leftHelper?: import("react").ReactNode;
|
227
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
228
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
229
|
-
textBefore?: string | undefined;
|
230
|
-
textAfter?: string | undefined;
|
231
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
232
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
233
|
-
clear?: false | undefined;
|
234
|
-
hasDivider?: undefined;
|
235
|
-
} & {
|
236
|
-
hintTrigger?: undefined;
|
237
|
-
hintText?: undefined;
|
238
|
-
hintView?: undefined;
|
239
|
-
hintSize?: undefined;
|
240
|
-
hintTargetIcon?: undefined;
|
241
|
-
hintTargetPlacement?: undefined;
|
242
|
-
hintPlacement?: undefined;
|
243
|
-
hintHasArrow?: undefined;
|
244
|
-
hintOffset?: undefined;
|
245
|
-
hintWidth?: undefined;
|
246
|
-
hintContentLeft?: undefined;
|
247
|
-
} & {
|
248
|
-
chips?: undefined;
|
249
|
-
onChangeChips?: undefined;
|
250
|
-
enumerationType?: "plain" | undefined;
|
251
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
252
|
-
chipType?: undefined;
|
253
|
-
chipView?: undefined;
|
254
|
-
chipValidator?: undefined;
|
255
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
256
|
-
titleCaption?: import("react").ReactNode;
|
257
|
-
leftHelper?: import("react").ReactNode;
|
258
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
259
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
260
|
-
textBefore?: string | undefined;
|
261
|
-
textAfter?: string | undefined;
|
262
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
263
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
264
|
-
clear?: false | undefined;
|
265
|
-
hasDivider?: undefined;
|
266
|
-
} & {
|
267
|
-
hintTrigger?: undefined;
|
268
|
-
hintText?: undefined;
|
269
|
-
hintView?: undefined;
|
270
|
-
hintSize?: undefined;
|
271
|
-
hintTargetIcon?: undefined;
|
272
|
-
hintTargetPlacement?: undefined;
|
273
|
-
hintPlacement?: undefined;
|
274
|
-
hintHasArrow?: undefined;
|
275
|
-
hintOffset?: undefined;
|
276
|
-
hintWidth?: undefined;
|
277
|
-
hintContentLeft?: undefined;
|
278
|
-
} & {
|
279
|
-
enumerationType: "chip";
|
280
|
-
onSearch?: undefined;
|
281
|
-
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
282
|
-
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
283
|
-
chipType?: "default" | "text" | undefined;
|
284
|
-
chipView?: string | undefined;
|
285
|
-
chipValidator?: ((value: string) => {
|
286
|
-
view?: string | undefined;
|
287
|
-
}) | undefined;
|
288
|
-
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>))>;
|
2
|
+
export declare const Autocomplete: import("react").FunctionComponent<any>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ComponentProps } from 'react';
|
2
|
-
import type {
|
2
|
+
import type { ComboboxItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';
|
3
3
|
import React from 'react';
|
4
4
|
import { config } from './Combobox.config';
|
5
5
|
import { Combobox as ComboboxOld } from './Legacy';
|
@@ -34,7 +34,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
34
34
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
35
35
|
};
|
36
36
|
}> & (({
|
37
|
-
items:
|
37
|
+
items: ComboboxItemOption[];
|
38
38
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
39
39
|
placeholder?: string | undefined;
|
40
40
|
helperText?: string | undefined;
|
@@ -47,8 +47,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
47
47
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
48
48
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
49
49
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
50
|
-
renderItem?: ((item:
|
51
|
-
filter?: ((item:
|
50
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
51
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
52
52
|
closeAfterSelect?: boolean | undefined;
|
53
53
|
onChangeValue?: ((value: string) => void) | undefined;
|
54
54
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -87,7 +87,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
87
87
|
hintWidth?: string | undefined;
|
88
88
|
hintContentLeft?: React.ReactNode;
|
89
89
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
90
|
-
items:
|
90
|
+
items: ComboboxItemOption[];
|
91
91
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
92
92
|
placeholder?: string | undefined;
|
93
93
|
helperText?: string | undefined;
|
@@ -100,8 +100,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
100
100
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
101
101
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
102
102
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
103
|
-
renderItem?: ((item:
|
104
|
-
filter?: ((item:
|
103
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
104
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
105
105
|
closeAfterSelect?: boolean | undefined;
|
106
106
|
onChangeValue?: ((value: string) => void) | undefined;
|
107
107
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -140,7 +140,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
140
140
|
hintWidth?: undefined;
|
141
141
|
hintContentLeft?: undefined;
|
142
142
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
143
|
-
items:
|
143
|
+
items: ComboboxItemOption[];
|
144
144
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
145
145
|
placeholder?: string | undefined;
|
146
146
|
helperText?: string | undefined;
|
@@ -153,8 +153,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
153
153
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
154
154
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
155
155
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
156
|
-
renderItem?: ((item:
|
157
|
-
filter?: ((item:
|
156
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
157
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
158
158
|
closeAfterSelect?: boolean | undefined;
|
159
159
|
onChangeValue?: ((value: string) => void) | undefined;
|
160
160
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -176,7 +176,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
176
176
|
} & {
|
177
177
|
multiple?: false | undefined;
|
178
178
|
value?: string | undefined;
|
179
|
-
onChange?: ((value: string, item:
|
179
|
+
onChange?: ((value: string, item: ComboboxItemOption | null) => void) | undefined;
|
180
180
|
isTargetAmount?: false | undefined;
|
181
181
|
targetAmount?: undefined;
|
182
182
|
renderValue?: undefined;
|
@@ -193,7 +193,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
193
193
|
hintWidth?: string | undefined;
|
194
194
|
hintContentLeft?: React.ReactNode;
|
195
195
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
196
|
-
items:
|
196
|
+
items: ComboboxItemOption[];
|
197
197
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
198
198
|
placeholder?: string | undefined;
|
199
199
|
helperText?: string | undefined;
|
@@ -206,8 +206,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
206
206
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
207
207
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
208
208
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
209
|
-
renderItem?: ((item:
|
210
|
-
filter?: ((item:
|
209
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
210
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
211
211
|
closeAfterSelect?: boolean | undefined;
|
212
212
|
onChangeValue?: ((value: string) => void) | undefined;
|
213
213
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -229,7 +229,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
229
229
|
} & {
|
230
230
|
multiple?: false | undefined;
|
231
231
|
value?: string | undefined;
|
232
|
-
onChange?: ((value: string, item:
|
232
|
+
onChange?: ((value: string, item: ComboboxItemOption | null) => void) | undefined;
|
233
233
|
isTargetAmount?: false | undefined;
|
234
234
|
targetAmount?: undefined;
|
235
235
|
renderValue?: undefined;
|
@@ -246,7 +246,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
246
246
|
hintWidth?: undefined;
|
247
247
|
hintContentLeft?: undefined;
|
248
248
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
249
|
-
items:
|
249
|
+
items: ComboboxItemOption[];
|
250
250
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
251
251
|
placeholder?: string | undefined;
|
252
252
|
helperText?: string | undefined;
|
@@ -259,8 +259,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
259
259
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
260
260
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
261
261
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
262
|
-
renderItem?: ((item:
|
263
|
-
filter?: ((item:
|
262
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
263
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
264
264
|
closeAfterSelect?: boolean | undefined;
|
265
265
|
onChangeValue?: ((value: string) => void) | undefined;
|
266
266
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -282,10 +282,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
282
282
|
} & {
|
283
283
|
multiple: true;
|
284
284
|
value?: string[] | undefined;
|
285
|
-
onChange?: ((value: string[], item:
|
285
|
+
onChange?: ((value: string[], item: ComboboxItemOption | null) => void) | undefined;
|
286
286
|
isTargetAmount?: true | undefined;
|
287
287
|
targetAmount?: number | undefined;
|
288
|
-
renderValue?: ((item:
|
288
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
289
289
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
290
290
|
hintText: string;
|
291
291
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -299,7 +299,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
299
299
|
hintWidth?: string | undefined;
|
300
300
|
hintContentLeft?: React.ReactNode;
|
301
301
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
302
|
-
items:
|
302
|
+
items: ComboboxItemOption[];
|
303
303
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
304
304
|
placeholder?: string | undefined;
|
305
305
|
helperText?: string | undefined;
|
@@ -312,8 +312,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
312
312
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
313
313
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
314
314
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
315
|
-
renderItem?: ((item:
|
316
|
-
filter?: ((item:
|
315
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
316
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
317
317
|
closeAfterSelect?: boolean | undefined;
|
318
318
|
onChangeValue?: ((value: string) => void) | undefined;
|
319
319
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -335,10 +335,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
335
335
|
} & {
|
336
336
|
multiple: true;
|
337
337
|
value?: string[] | undefined;
|
338
|
-
onChange?: ((value: string[], item:
|
338
|
+
onChange?: ((value: string[], item: ComboboxItemOption | null) => void) | undefined;
|
339
339
|
isTargetAmount?: true | undefined;
|
340
340
|
targetAmount?: number | undefined;
|
341
|
-
renderValue?: ((item:
|
341
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
342
342
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
343
343
|
hintTrigger?: undefined;
|
344
344
|
hintText?: undefined;
|
@@ -352,7 +352,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
352
352
|
hintWidth?: undefined;
|
353
353
|
hintContentLeft?: undefined;
|
354
354
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
355
|
-
items:
|
355
|
+
items: ComboboxItemOption[];
|
356
356
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
357
357
|
placeholder?: string | undefined;
|
358
358
|
helperText?: string | undefined;
|
@@ -365,8 +365,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
365
365
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
366
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
367
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
368
|
-
renderItem?: ((item:
|
369
|
-
filter?: ((item:
|
368
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
369
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
370
370
|
closeAfterSelect?: boolean | undefined;
|
371
371
|
onChangeValue?: ((value: string) => void) | undefined;
|
372
372
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -391,7 +391,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
391
391
|
value?: undefined;
|
392
392
|
isTargetAmount?: true | undefined;
|
393
393
|
targetAmount?: number | undefined;
|
394
|
-
renderValue?: ((item:
|
394
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
395
395
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
396
396
|
hintText: string;
|
397
397
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -405,7 +405,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
405
405
|
hintWidth?: string | undefined;
|
406
406
|
hintContentLeft?: React.ReactNode;
|
407
407
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
408
|
-
items:
|
408
|
+
items: ComboboxItemOption[];
|
409
409
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
410
410
|
placeholder?: string | undefined;
|
411
411
|
helperText?: string | undefined;
|
@@ -418,8 +418,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
418
418
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
419
419
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
420
420
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
421
|
-
renderItem?: ((item:
|
422
|
-
filter?: ((item:
|
421
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
422
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
423
423
|
closeAfterSelect?: boolean | undefined;
|
424
424
|
onChangeValue?: ((value: string) => void) | undefined;
|
425
425
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -444,7 +444,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
444
444
|
value?: undefined;
|
445
445
|
isTargetAmount?: true | undefined;
|
446
446
|
targetAmount?: number | undefined;
|
447
|
-
renderValue?: ((item:
|
447
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
448
448
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
449
449
|
hintTrigger?: undefined;
|
450
450
|
hintText?: undefined;
|
@@ -458,7 +458,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
458
458
|
hintWidth?: undefined;
|
459
459
|
hintContentLeft?: undefined;
|
460
460
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
461
|
-
items:
|
461
|
+
items: ComboboxItemOption[];
|
462
462
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
463
463
|
placeholder?: string | undefined;
|
464
464
|
helperText?: string | undefined;
|
@@ -471,8 +471,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
471
471
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
472
472
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
473
473
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
474
|
-
renderItem?: ((item:
|
475
|
-
filter?: ((item:
|
474
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
475
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
476
476
|
closeAfterSelect?: boolean | undefined;
|
477
477
|
onChangeValue?: ((value: string) => void) | undefined;
|
478
478
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -511,7 +511,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
511
511
|
hintWidth?: string | undefined;
|
512
512
|
hintContentLeft?: React.ReactNode;
|
513
513
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
514
|
-
items:
|
514
|
+
items: ComboboxItemOption[];
|
515
515
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
516
516
|
placeholder?: string | undefined;
|
517
517
|
helperText?: string | undefined;
|
@@ -524,8 +524,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
524
524
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
525
525
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
526
526
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
527
|
-
renderItem?: ((item:
|
528
|
-
filter?: ((item:
|
527
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
528
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
529
529
|
closeAfterSelect?: boolean | undefined;
|
530
530
|
onChangeValue?: ((value: string) => void) | undefined;
|
531
531
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -564,7 +564,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
564
564
|
hintWidth?: undefined;
|
565
565
|
hintContentLeft?: undefined;
|
566
566
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
567
|
-
items:
|
567
|
+
items: ComboboxItemOption[];
|
568
568
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
569
569
|
placeholder?: string | undefined;
|
570
570
|
helperText?: string | undefined;
|
@@ -577,8 +577,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
577
577
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
578
578
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
579
579
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
580
|
-
renderItem?: ((item:
|
581
|
-
filter?: ((item:
|
580
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
581
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
582
582
|
closeAfterSelect?: boolean | undefined;
|
583
583
|
onChangeValue?: ((value: string) => void) | undefined;
|
584
584
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -600,7 +600,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
600
600
|
} & {
|
601
601
|
multiple?: false | undefined;
|
602
602
|
value?: string | undefined;
|
603
|
-
onChange?: ((value: string, item:
|
603
|
+
onChange?: ((value: string, item: ComboboxItemOption | null) => void) | undefined;
|
604
604
|
isTargetAmount?: false | undefined;
|
605
605
|
targetAmount?: undefined;
|
606
606
|
renderValue?: undefined;
|
@@ -617,7 +617,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
617
617
|
hintWidth?: string | undefined;
|
618
618
|
hintContentLeft?: React.ReactNode;
|
619
619
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
620
|
-
items:
|
620
|
+
items: ComboboxItemOption[];
|
621
621
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
622
622
|
placeholder?: string | undefined;
|
623
623
|
helperText?: string | undefined;
|
@@ -630,8 +630,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
630
630
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
631
631
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
632
632
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
633
|
-
renderItem?: ((item:
|
634
|
-
filter?: ((item:
|
633
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
634
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
635
635
|
closeAfterSelect?: boolean | undefined;
|
636
636
|
onChangeValue?: ((value: string) => void) | undefined;
|
637
637
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -653,7 +653,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
653
653
|
} & {
|
654
654
|
multiple?: false | undefined;
|
655
655
|
value?: string | undefined;
|
656
|
-
onChange?: ((value: string, item:
|
656
|
+
onChange?: ((value: string, item: ComboboxItemOption | null) => void) | undefined;
|
657
657
|
isTargetAmount?: false | undefined;
|
658
658
|
targetAmount?: undefined;
|
659
659
|
renderValue?: undefined;
|
@@ -670,7 +670,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
670
670
|
hintWidth?: undefined;
|
671
671
|
hintContentLeft?: undefined;
|
672
672
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
673
|
-
items:
|
673
|
+
items: ComboboxItemOption[];
|
674
674
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
675
675
|
placeholder?: string | undefined;
|
676
676
|
helperText?: string | undefined;
|
@@ -683,8 +683,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
683
683
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
684
684
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
685
685
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
686
|
-
renderItem?: ((item:
|
687
|
-
filter?: ((item:
|
686
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
687
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
688
688
|
closeAfterSelect?: boolean | undefined;
|
689
689
|
onChangeValue?: ((value: string) => void) | undefined;
|
690
690
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -706,10 +706,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
706
706
|
} & {
|
707
707
|
multiple: true;
|
708
708
|
value?: string[] | undefined;
|
709
|
-
onChange?: ((value: string[], item:
|
709
|
+
onChange?: ((value: string[], item: ComboboxItemOption | null) => void) | undefined;
|
710
710
|
isTargetAmount?: true | undefined;
|
711
711
|
targetAmount?: number | undefined;
|
712
|
-
renderValue?: ((item:
|
712
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
713
713
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
714
714
|
hintText: string;
|
715
715
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -723,7 +723,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
723
723
|
hintWidth?: string | undefined;
|
724
724
|
hintContentLeft?: React.ReactNode;
|
725
725
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
726
|
-
items:
|
726
|
+
items: ComboboxItemOption[];
|
727
727
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
728
728
|
placeholder?: string | undefined;
|
729
729
|
helperText?: string | undefined;
|
@@ -736,8 +736,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
736
736
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
737
737
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
738
738
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
739
|
-
renderItem?: ((item:
|
740
|
-
filter?: ((item:
|
739
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
740
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
741
741
|
closeAfterSelect?: boolean | undefined;
|
742
742
|
onChangeValue?: ((value: string) => void) | undefined;
|
743
743
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -759,10 +759,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
759
759
|
} & {
|
760
760
|
multiple: true;
|
761
761
|
value?: string[] | undefined;
|
762
|
-
onChange?: ((value: string[], item:
|
762
|
+
onChange?: ((value: string[], item: ComboboxItemOption | null) => void) | undefined;
|
763
763
|
isTargetAmount?: true | undefined;
|
764
764
|
targetAmount?: number | undefined;
|
765
|
-
renderValue?: ((item:
|
765
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
766
766
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
767
767
|
hintTrigger?: undefined;
|
768
768
|
hintText?: undefined;
|
@@ -776,7 +776,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
776
776
|
hintWidth?: undefined;
|
777
777
|
hintContentLeft?: undefined;
|
778
778
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
779
|
-
items:
|
779
|
+
items: ComboboxItemOption[];
|
780
780
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
781
781
|
placeholder?: string | undefined;
|
782
782
|
helperText?: string | undefined;
|
@@ -789,8 +789,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
789
789
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
790
790
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
791
791
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
792
|
-
renderItem?: ((item:
|
793
|
-
filter?: ((item:
|
792
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
793
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
794
794
|
closeAfterSelect?: boolean | undefined;
|
795
795
|
onChangeValue?: ((value: string) => void) | undefined;
|
796
796
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -815,7 +815,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
815
815
|
value?: undefined;
|
816
816
|
isTargetAmount?: true | undefined;
|
817
817
|
targetAmount?: number | undefined;
|
818
|
-
renderValue?: ((item:
|
818
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
819
819
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
820
820
|
hintText: string;
|
821
821
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -829,7 +829,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
829
829
|
hintWidth?: string | undefined;
|
830
830
|
hintContentLeft?: React.ReactNode;
|
831
831
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
832
|
-
items:
|
832
|
+
items: ComboboxItemOption[];
|
833
833
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
834
834
|
placeholder?: string | undefined;
|
835
835
|
helperText?: string | undefined;
|
@@ -842,8 +842,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
842
842
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
843
843
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
844
844
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
845
|
-
renderItem?: ((item:
|
846
|
-
filter?: ((item:
|
845
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
846
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
847
847
|
closeAfterSelect?: boolean | undefined;
|
848
848
|
onChangeValue?: ((value: string) => void) | undefined;
|
849
849
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -868,7 +868,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
868
868
|
value?: undefined;
|
869
869
|
isTargetAmount?: true | undefined;
|
870
870
|
targetAmount?: number | undefined;
|
871
|
-
renderValue?: ((item:
|
871
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
872
872
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
873
873
|
hintTrigger?: undefined;
|
874
874
|
hintText?: undefined;
|
@@ -882,7 +882,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
882
882
|
hintWidth?: undefined;
|
883
883
|
hintContentLeft?: undefined;
|
884
884
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
885
|
-
items:
|
885
|
+
items: ComboboxItemOption[];
|
886
886
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
887
887
|
placeholder?: string | undefined;
|
888
888
|
helperText?: string | undefined;
|
@@ -895,8 +895,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
895
895
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
896
896
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
897
897
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
898
|
-
renderItem?: ((item:
|
899
|
-
filter?: ((item:
|
898
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
899
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
900
900
|
closeAfterSelect?: boolean | undefined;
|
901
901
|
onChangeValue?: ((value: string) => void) | undefined;
|
902
902
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -935,7 +935,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
935
935
|
hintWidth?: string | undefined;
|
936
936
|
hintContentLeft?: React.ReactNode;
|
937
937
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
938
|
-
items:
|
938
|
+
items: ComboboxItemOption[];
|
939
939
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
940
940
|
placeholder?: string | undefined;
|
941
941
|
helperText?: string | undefined;
|
@@ -948,8 +948,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
948
948
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
949
949
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
950
950
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
951
|
-
renderItem?: ((item:
|
952
|
-
filter?: ((item:
|
951
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
952
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
953
953
|
closeAfterSelect?: boolean | undefined;
|
954
954
|
onChangeValue?: ((value: string) => void) | undefined;
|
955
955
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -988,7 +988,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
988
988
|
hintWidth?: undefined;
|
989
989
|
hintContentLeft?: undefined;
|
990
990
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
991
|
-
items:
|
991
|
+
items: ComboboxItemOption[];
|
992
992
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
993
993
|
placeholder?: string | undefined;
|
994
994
|
helperText?: string | undefined;
|
@@ -1001,8 +1001,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1001
1001
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1002
1002
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1003
1003
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1004
|
-
renderItem?: ((item:
|
1005
|
-
filter?: ((item:
|
1004
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
1005
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
1006
1006
|
closeAfterSelect?: boolean | undefined;
|
1007
1007
|
onChangeValue?: ((value: string) => void) | undefined;
|
1008
1008
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -1024,7 +1024,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1024
1024
|
} & {
|
1025
1025
|
multiple?: false | undefined;
|
1026
1026
|
value?: string | undefined;
|
1027
|
-
onChange?: ((value: string, item:
|
1027
|
+
onChange?: ((value: string, item: ComboboxItemOption | null) => void) | undefined;
|
1028
1028
|
isTargetAmount?: false | undefined;
|
1029
1029
|
targetAmount?: undefined;
|
1030
1030
|
renderValue?: undefined;
|
@@ -1041,7 +1041,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1041
1041
|
hintWidth?: string | undefined;
|
1042
1042
|
hintContentLeft?: React.ReactNode;
|
1043
1043
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1044
|
-
items:
|
1044
|
+
items: ComboboxItemOption[];
|
1045
1045
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1046
1046
|
placeholder?: string | undefined;
|
1047
1047
|
helperText?: string | undefined;
|
@@ -1054,8 +1054,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1054
1054
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1055
1055
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1056
1056
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1057
|
-
renderItem?: ((item:
|
1058
|
-
filter?: ((item:
|
1057
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
1058
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
1059
1059
|
closeAfterSelect?: boolean | undefined;
|
1060
1060
|
onChangeValue?: ((value: string) => void) | undefined;
|
1061
1061
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -1077,7 +1077,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1077
1077
|
} & {
|
1078
1078
|
multiple?: false | undefined;
|
1079
1079
|
value?: string | undefined;
|
1080
|
-
onChange?: ((value: string, item:
|
1080
|
+
onChange?: ((value: string, item: ComboboxItemOption | null) => void) | undefined;
|
1081
1081
|
isTargetAmount?: false | undefined;
|
1082
1082
|
targetAmount?: undefined;
|
1083
1083
|
renderValue?: undefined;
|
@@ -1094,7 +1094,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1094
1094
|
hintWidth?: undefined;
|
1095
1095
|
hintContentLeft?: undefined;
|
1096
1096
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1097
|
-
items:
|
1097
|
+
items: ComboboxItemOption[];
|
1098
1098
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1099
1099
|
placeholder?: string | undefined;
|
1100
1100
|
helperText?: string | undefined;
|
@@ -1107,8 +1107,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1107
1107
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1108
1108
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1109
1109
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1110
|
-
renderItem?: ((item:
|
1111
|
-
filter?: ((item:
|
1110
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
1111
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
1112
1112
|
closeAfterSelect?: boolean | undefined;
|
1113
1113
|
onChangeValue?: ((value: string) => void) | undefined;
|
1114
1114
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -1130,10 +1130,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1130
1130
|
} & {
|
1131
1131
|
multiple: true;
|
1132
1132
|
value?: string[] | undefined;
|
1133
|
-
onChange?: ((value: string[], item:
|
1133
|
+
onChange?: ((value: string[], item: ComboboxItemOption | null) => void) | undefined;
|
1134
1134
|
isTargetAmount?: true | undefined;
|
1135
1135
|
targetAmount?: number | undefined;
|
1136
|
-
renderValue?: ((item:
|
1136
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
1137
1137
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1138
1138
|
hintText: string;
|
1139
1139
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -1147,7 +1147,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1147
1147
|
hintWidth?: string | undefined;
|
1148
1148
|
hintContentLeft?: React.ReactNode;
|
1149
1149
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1150
|
-
items:
|
1150
|
+
items: ComboboxItemOption[];
|
1151
1151
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1152
1152
|
placeholder?: string | undefined;
|
1153
1153
|
helperText?: string | undefined;
|
@@ -1160,8 +1160,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1160
1160
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1161
1161
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1162
1162
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1163
|
-
renderItem?: ((item:
|
1164
|
-
filter?: ((item:
|
1163
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
1164
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
1165
1165
|
closeAfterSelect?: boolean | undefined;
|
1166
1166
|
onChangeValue?: ((value: string) => void) | undefined;
|
1167
1167
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -1183,10 +1183,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1183
1183
|
} & {
|
1184
1184
|
multiple: true;
|
1185
1185
|
value?: string[] | undefined;
|
1186
|
-
onChange?: ((value: string[], item:
|
1186
|
+
onChange?: ((value: string[], item: ComboboxItemOption | null) => void) | undefined;
|
1187
1187
|
isTargetAmount?: true | undefined;
|
1188
1188
|
targetAmount?: number | undefined;
|
1189
|
-
renderValue?: ((item:
|
1189
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
1190
1190
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1191
1191
|
hintTrigger?: undefined;
|
1192
1192
|
hintText?: undefined;
|
@@ -1200,7 +1200,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1200
1200
|
hintWidth?: undefined;
|
1201
1201
|
hintContentLeft?: undefined;
|
1202
1202
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1203
|
-
items:
|
1203
|
+
items: ComboboxItemOption[];
|
1204
1204
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1205
1205
|
placeholder?: string | undefined;
|
1206
1206
|
helperText?: string | undefined;
|
@@ -1213,8 +1213,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1213
1213
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1214
1214
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1215
1215
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1216
|
-
renderItem?: ((item:
|
1217
|
-
filter?: ((item:
|
1216
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
1217
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
1218
1218
|
closeAfterSelect?: boolean | undefined;
|
1219
1219
|
onChangeValue?: ((value: string) => void) | undefined;
|
1220
1220
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -1239,7 +1239,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1239
1239
|
value?: undefined;
|
1240
1240
|
isTargetAmount?: true | undefined;
|
1241
1241
|
targetAmount?: number | undefined;
|
1242
|
-
renderValue?: ((item:
|
1242
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
1243
1243
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1244
1244
|
hintText: string;
|
1245
1245
|
hintTrigger?: "hover" | "click" | undefined;
|
@@ -1253,7 +1253,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1253
1253
|
hintWidth?: string | undefined;
|
1254
1254
|
hintContentLeft?: React.ReactNode;
|
1255
1255
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1256
|
-
items:
|
1256
|
+
items: ComboboxItemOption[];
|
1257
1257
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1258
1258
|
placeholder?: string | undefined;
|
1259
1259
|
helperText?: string | undefined;
|
@@ -1266,8 +1266,8 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1266
1266
|
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1267
1267
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1268
1268
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1269
|
-
renderItem?: ((item:
|
1270
|
-
filter?: ((item:
|
1269
|
+
renderItem?: ((item: ComboboxItemOption) => React.ReactNode) | undefined;
|
1270
|
+
filter?: ((item: ComboboxItemOption, textValue: string) => boolean) | undefined;
|
1271
1271
|
closeAfterSelect?: boolean | undefined;
|
1272
1272
|
onChangeValue?: ((value: string) => void) | undefined;
|
1273
1273
|
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
@@ -1292,7 +1292,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1292
1292
|
value?: undefined;
|
1293
1293
|
isTargetAmount?: true | undefined;
|
1294
1294
|
targetAmount?: number | undefined;
|
1295
|
-
renderValue?: ((item:
|
1295
|
+
renderValue?: ((item: ComboboxItemOption) => string) | undefined;
|
1296
1296
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1297
1297
|
hintTrigger?: undefined;
|
1298
1298
|
hintText?: undefined;
|
@@ -1310,7 +1310,7 @@ declare type PropsFromConfig = keyof typeof config['variations'];
|
|
1310
1310
|
declare type PropsOld = ComponentProps<typeof ComboboxOld> & {
|
1311
1311
|
items?: never;
|
1312
1312
|
};
|
1313
|
-
declare type PropsNew<T extends
|
1314
|
-
declare type CommonProps<T extends
|
1315
|
-
declare const Combobox: <T extends
|
1313
|
+
declare type PropsNew<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
1314
|
+
declare type CommonProps<T extends ComboboxItemOption> = PropsOld | PropsNew<T>;
|
1315
|
+
declare const Combobox: <T extends ComboboxItemOption>(props: CommonProps<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
1316
1316
|
export { Combobox };
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { ComboboxDivider, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxItem } from './Legacy';
|
2
|
-
export type { ComboboxOldProps as ComboboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
2
|
+
export type { ComboboxOldProps as ComboboxProps, ComboboxItemOption, } from '@salutejs/plasma-new-hope/styled-components';
|
3
3
|
export { Combobox } from './Combobox';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport type {
|
1
|
+
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport type { ComboboxItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';\nimport React from 'react';\n\nimport { config } from './Combobox.config';\nimport { Combobox as ComboboxOld } from './Legacy';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst ComboboxNew = component(mergedConfig);\n\ntype PropsFromConfig = keyof typeof config['variations'];\n\ntype PropsOld = ComponentProps<typeof ComboboxOld> & { items?: never };\n\ntype PropsNew<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> &\n DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;\n\ntype CommonProps<T extends ComboboxItemOption> = PropsOld | PropsNew<T>;\n\nconst ComboboxComponent = <T extends ComboboxItemOption>(\n props: CommonProps<T>,\n ref: React.ForwardedRef<HTMLInputElement>,\n) => {\n if (props.items) {\n return <ComboboxNew ref={ref} {...(props as any)} />;\n }\n\n return <ComboboxOld ref={ref} {...props} />;\n};\n\nconst Combobox = fixedForwardRef(ComboboxComponent);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxNew","component","ComboboxComponent","props","ref","items","React","createElement","_extends","ComboboxOld","Combobox","fixedForwardRef"],"mappings":";;;;;;;;;;;;;;AAaA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAW3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CACnBC,KAAqB,EACrBC,GAAyC,EACxC;EACD,IAAID,KAAK,CAACE,KAAK,EAAE;AACb,IAAA,oBAAOC,sBAAA,CAAAC,aAAA,CAACP,WAAW,EAAAQ,iCAAA,CAAA;AAACJ,MAAAA,GAAG,EAAEA,GAAAA;KAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AACxD,GAAA;AAEA,EAAA,oBAAOG,sBAAA,CAAAC,aAAA,CAACE,mBAAW,EAAAD,iCAAA,CAAA;AAACJ,IAAAA,GAAG,EAAEA,GAAAA;GAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,IAAMO,QAAQ,gBAAGC,6BAAe,CAACT,iBAAiB;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport type {
|
1
|
+
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport type { ComboboxItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';\nimport React from 'react';\n\nimport { config } from './Combobox.config';\nimport { Combobox as ComboboxOld } from './Legacy';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst ComboboxNew = component(mergedConfig);\n\ntype PropsFromConfig = keyof typeof config['variations'];\n\ntype PropsOld = ComponentProps<typeof ComboboxOld> & { items?: never };\n\ntype PropsNew<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> &\n DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;\n\ntype CommonProps<T extends ComboboxItemOption> = PropsOld | PropsNew<T>;\n\nconst ComboboxComponent = <T extends ComboboxItemOption>(\n props: CommonProps<T>,\n ref: React.ForwardedRef<HTMLInputElement>,\n) => {\n if (props.items) {\n return <ComboboxNew ref={ref} {...(props as any)} />;\n }\n\n return <ComboboxOld ref={ref} {...props} />;\n};\n\nconst Combobox = fixedForwardRef(ComboboxComponent);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxNew","component","ComboboxComponent","props","ref","items","React","createElement","_extends","ComboboxOld","Combobox","fixedForwardRef"],"mappings":";;;;;;AAaA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAW3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CACnBC,KAAqB,EACrBC,GAAyC,EACxC;EACD,IAAID,KAAK,CAACE,KAAK,EAAE;AACb,IAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACP,WAAW,EAAAQ,QAAA,CAAA;AAACJ,MAAAA,GAAG,EAAEA,GAAAA;KAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AACxD,GAAA;AAEA,EAAA,oBAAOG,KAAA,CAAAC,aAAA,CAACE,UAAW,EAAAD,QAAA,CAAA;AAACJ,IAAAA,GAAG,EAAEA,GAAAA;GAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,IAAMO,QAAQ,gBAAGC,eAAe,CAACT,iBAAiB;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.579.1-canary.1944.
|
3
|
+
"version": "1.579.1-canary.1944.14717616818.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -20,9 +20,9 @@
|
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
22
|
"@salutejs/plasma-core": "1.196.0",
|
23
|
-
"@salutejs/plasma-hope": "1.339.1-canary.1944.
|
24
|
-
"@salutejs/plasma-new-hope": "0.321.1-canary.1944.
|
25
|
-
"@salutejs/plasma-themes": "0.32.1-canary.1944.
|
23
|
+
"@salutejs/plasma-hope": "1.339.1-canary.1944.14717616818.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.321.1-canary.1944.14717616818.0",
|
25
|
+
"@salutejs/plasma-themes": "0.32.1-canary.1944.14717616818.0",
|
26
26
|
"@salutejs/plasma-tokens-b2b": "1.48.0",
|
27
27
|
"@salutejs/plasma-tokens-b2c": "0.59.0",
|
28
28
|
"@salutejs/plasma-tokens-web": "1.64.0",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"@salutejs/plasma-colors": "0.15.0",
|
52
52
|
"@salutejs/plasma-cy-utils": "0.127.0",
|
53
53
|
"@salutejs/plasma-icons": "1.217.0",
|
54
|
-
"@salutejs/plasma-sb-utils": "0.196.1-canary.1944.
|
54
|
+
"@salutejs/plasma-sb-utils": "0.196.1-canary.1944.14717616818.0",
|
55
55
|
"@storybook/addon-docs": "7.6.17",
|
56
56
|
"@storybook/addon-essentials": "7.6.17",
|
57
57
|
"@storybook/addons": "7.6.17",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"Fanil Zubairov"
|
112
112
|
],
|
113
113
|
"sideEffects": false,
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "716ec7cdc428164c5d09470b1f1dc41c16163168"
|
115
115
|
}
|