@salutejs/plasma-web 1.581.0-canary.1957.15017077529.0 → 1.581.0-dev.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.
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Autocomplete/Autocomplete.d.ts +463 -1
- package/components/Button/Button.d.ts +2 -2
- package/components/Cell/Cell.d.ts +2 -2
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Combobox/Legacy/Combobox.d.ts +4 -4
- package/components/DatePicker/DatePicker.d.ts +3 -3
- package/components/Drawer/Drawer.d.ts +2 -2
- package/components/Dropdown/components/DropdownItem.d.ts +2 -2
- package/components/Dropzone/Dropzone.d.ts +1 -1
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Image/Image.d.ts +1 -1
- package/components/Mask/Mask.d.ts +12 -12
- package/components/NumberInput/NumberInput.d.ts +2 -2
- package/components/Range/Range.d.ts +3 -3
- package/components/Rating/Rating.d.ts +1 -1
- package/components/Select/Select.d.ts +6 -6
- package/components/Skeleton/Skeleton.d.ts +2 -2
- package/components/Slider/Slider.d.ts +20 -20
- package/components/TextArea/TextArea.d.ts +8 -8
- package/components/TextField/TextField.d.ts +12 -12
- package/mixins/index.d.ts +1 -1
- package/package.json +3 -3
@@ -32,7 +32,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
32
32
|
isLoading?: boolean | undefined;
|
33
33
|
loader?: import("react").ReactNode;
|
34
34
|
stretch?: boolean | undefined;
|
35
|
-
stretching?: ("
|
35
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
36
36
|
square?: boolean | undefined;
|
37
37
|
focused?: boolean | undefined;
|
38
38
|
disabled?: boolean | undefined;
|
@@ -55,7 +55,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
55
55
|
isLoading?: boolean | undefined;
|
56
56
|
loader?: import("react").ReactNode;
|
57
57
|
stretch?: boolean | undefined;
|
58
|
-
stretching?: ("
|
58
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
59
59
|
square?: boolean | undefined;
|
60
60
|
focused?: boolean | undefined;
|
61
61
|
disabled?: boolean | undefined;
|
@@ -81,7 +81,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
81
81
|
isLoading?: boolean | undefined;
|
82
82
|
loader?: import("react").ReactNode;
|
83
83
|
stretch?: boolean | undefined;
|
84
|
-
stretching?: ("
|
84
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
85
85
|
square?: boolean | undefined;
|
86
86
|
focused?: boolean | undefined;
|
87
87
|
disabled?: boolean | undefined;
|
@@ -105,7 +105,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
105
105
|
isLoading?: boolean | undefined;
|
106
106
|
loader?: import("react").ReactNode;
|
107
107
|
stretch?: boolean | undefined;
|
108
|
-
stretching?: ("
|
108
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
109
109
|
square?: boolean | undefined;
|
110
110
|
focused?: boolean | undefined;
|
111
111
|
disabled?: boolean | undefined;
|
@@ -132,7 +132,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
132
132
|
isLoading?: boolean | undefined;
|
133
133
|
loader?: import("react").ReactNode;
|
134
134
|
stretch?: boolean | undefined;
|
135
|
-
stretching?: ("
|
135
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
136
136
|
square?: boolean | undefined;
|
137
137
|
focused?: boolean | undefined;
|
138
138
|
disabled?: boolean | undefined;
|
@@ -158,7 +158,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
158
158
|
isLoading?: boolean | undefined;
|
159
159
|
loader?: import("react").ReactNode;
|
160
160
|
stretch?: boolean | undefined;
|
161
|
-
stretching?: ("
|
161
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
162
162
|
square?: boolean | undefined;
|
163
163
|
focused?: boolean | undefined;
|
164
164
|
disabled?: boolean | undefined;
|
@@ -181,7 +181,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
181
181
|
isLoading?: boolean | undefined;
|
182
182
|
loader?: import("react").ReactNode;
|
183
183
|
stretch?: boolean | undefined;
|
184
|
-
stretching?: ("
|
184
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
185
185
|
square?: boolean | undefined;
|
186
186
|
focused?: boolean | undefined;
|
187
187
|
disabled?: boolean | undefined;
|
@@ -208,7 +208,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
208
208
|
isLoading?: boolean | undefined;
|
209
209
|
loader?: import("react").ReactNode;
|
210
210
|
stretch?: boolean | undefined;
|
211
|
-
stretching?: ("
|
211
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
212
212
|
square?: boolean | undefined;
|
213
213
|
focused?: boolean | undefined;
|
214
214
|
disabled?: boolean | undefined;
|
@@ -1,2 +1,464 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const Autocomplete: import("react").FunctionComponent<
|
2
|
+
export declare const Autocomplete: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
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
|
+
}> & (({
|
33
|
+
size?: string | undefined;
|
34
|
+
view?: string | undefined;
|
35
|
+
labelPlacement?: string | undefined;
|
36
|
+
readOnly?: boolean | undefined;
|
37
|
+
disabled?: boolean | undefined;
|
38
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
39
|
+
value?: string | undefined;
|
40
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
41
|
+
threshold?: number | undefined;
|
42
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
43
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
44
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
45
|
+
listMaxHeight?: string | undefined;
|
46
|
+
listWidth?: string | undefined;
|
47
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
48
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
49
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
50
|
+
defaultValue?: string | undefined;
|
51
|
+
beforeList?: import("react").ReactNode;
|
52
|
+
afterList?: import("react").ReactNode;
|
53
|
+
virtual?: boolean | undefined;
|
54
|
+
} & Omit<{
|
55
|
+
titleCaption?: import("react").ReactNode;
|
56
|
+
leftHelper?: import("react").ReactNode;
|
57
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
58
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
59
|
+
textBefore?: string | undefined;
|
60
|
+
textAfter?: string | undefined;
|
61
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
62
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
63
|
+
clear?: boolean | undefined;
|
64
|
+
hasDivider?: boolean | undefined;
|
65
|
+
} & {
|
66
|
+
hintText: string;
|
67
|
+
hintTrigger?: "hover" | "click" | undefined;
|
68
|
+
hintView?: string | undefined;
|
69
|
+
hintSize?: string | undefined;
|
70
|
+
hintTargetIcon?: import("react").ReactNode;
|
71
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
72
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
73
|
+
hintHasArrow?: boolean | undefined;
|
74
|
+
hintOffset?: [number, number] | undefined;
|
75
|
+
hintWidth?: string | undefined;
|
76
|
+
hintContentLeft?: import("react").ReactNode;
|
77
|
+
} & {
|
78
|
+
chips?: undefined;
|
79
|
+
onChangeChips?: undefined;
|
80
|
+
enumerationType?: "plain" | undefined;
|
81
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
82
|
+
chipType?: undefined;
|
83
|
+
chipView?: undefined;
|
84
|
+
chipValidator?: undefined;
|
85
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
86
|
+
size?: string | undefined;
|
87
|
+
view?: string | undefined;
|
88
|
+
labelPlacement?: string | undefined;
|
89
|
+
readOnly?: boolean | undefined;
|
90
|
+
disabled?: boolean | undefined;
|
91
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
92
|
+
value?: string | undefined;
|
93
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
94
|
+
threshold?: number | undefined;
|
95
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
96
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
97
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
98
|
+
listMaxHeight?: string | undefined;
|
99
|
+
listWidth?: string | undefined;
|
100
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
101
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
102
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
103
|
+
defaultValue?: string | undefined;
|
104
|
+
beforeList?: import("react").ReactNode;
|
105
|
+
afterList?: import("react").ReactNode;
|
106
|
+
virtual?: boolean | undefined;
|
107
|
+
} & Omit<{
|
108
|
+
titleCaption?: import("react").ReactNode;
|
109
|
+
leftHelper?: import("react").ReactNode;
|
110
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
111
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
112
|
+
textBefore?: string | undefined;
|
113
|
+
textAfter?: string | undefined;
|
114
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
115
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
116
|
+
clear?: boolean | undefined;
|
117
|
+
hasDivider?: boolean | undefined;
|
118
|
+
} & {
|
119
|
+
hintText: string;
|
120
|
+
hintTrigger?: "hover" | "click" | undefined;
|
121
|
+
hintView?: string | undefined;
|
122
|
+
hintSize?: string | undefined;
|
123
|
+
hintTargetIcon?: import("react").ReactNode;
|
124
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
125
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
126
|
+
hintHasArrow?: boolean | undefined;
|
127
|
+
hintOffset?: [number, number] | undefined;
|
128
|
+
hintWidth?: string | undefined;
|
129
|
+
hintContentLeft?: import("react").ReactNode;
|
130
|
+
} & {
|
131
|
+
enumerationType: "chip";
|
132
|
+
onSearch?: undefined;
|
133
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
134
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
135
|
+
chipType?: "text" | "default" | undefined;
|
136
|
+
chipView?: string | undefined;
|
137
|
+
chipValidator?: ((value: string) => {
|
138
|
+
view?: string | undefined;
|
139
|
+
}) | undefined;
|
140
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
141
|
+
size?: string | undefined;
|
142
|
+
view?: string | undefined;
|
143
|
+
labelPlacement?: string | undefined;
|
144
|
+
readOnly?: boolean | undefined;
|
145
|
+
disabled?: boolean | undefined;
|
146
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
147
|
+
value?: string | undefined;
|
148
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
149
|
+
threshold?: number | undefined;
|
150
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
151
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
152
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
153
|
+
listMaxHeight?: string | undefined;
|
154
|
+
listWidth?: string | undefined;
|
155
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
156
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
157
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
158
|
+
defaultValue?: string | undefined;
|
159
|
+
beforeList?: import("react").ReactNode;
|
160
|
+
afterList?: import("react").ReactNode;
|
161
|
+
virtual?: boolean | undefined;
|
162
|
+
} & Omit<{
|
163
|
+
titleCaption?: import("react").ReactNode;
|
164
|
+
leftHelper?: import("react").ReactNode;
|
165
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
166
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
167
|
+
textBefore?: string | undefined;
|
168
|
+
textAfter?: string | undefined;
|
169
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
170
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
171
|
+
clear?: boolean | undefined;
|
172
|
+
hasDivider?: boolean | undefined;
|
173
|
+
} & {
|
174
|
+
hintTrigger?: undefined;
|
175
|
+
hintText?: undefined;
|
176
|
+
hintView?: undefined;
|
177
|
+
hintSize?: undefined;
|
178
|
+
hintTargetIcon?: undefined;
|
179
|
+
hintTargetPlacement?: undefined;
|
180
|
+
hintPlacement?: undefined;
|
181
|
+
hintHasArrow?: undefined;
|
182
|
+
hintOffset?: undefined;
|
183
|
+
hintWidth?: undefined;
|
184
|
+
hintContentLeft?: undefined;
|
185
|
+
} & {
|
186
|
+
chips?: undefined;
|
187
|
+
onChangeChips?: undefined;
|
188
|
+
enumerationType?: "plain" | undefined;
|
189
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
190
|
+
chipType?: undefined;
|
191
|
+
chipView?: undefined;
|
192
|
+
chipValidator?: undefined;
|
193
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
194
|
+
size?: string | undefined;
|
195
|
+
view?: string | undefined;
|
196
|
+
labelPlacement?: string | undefined;
|
197
|
+
readOnly?: boolean | undefined;
|
198
|
+
disabled?: boolean | undefined;
|
199
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
200
|
+
value?: string | undefined;
|
201
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
202
|
+
threshold?: number | undefined;
|
203
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
204
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
205
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
206
|
+
listMaxHeight?: string | undefined;
|
207
|
+
listWidth?: string | undefined;
|
208
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
209
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
210
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
211
|
+
defaultValue?: string | undefined;
|
212
|
+
beforeList?: import("react").ReactNode;
|
213
|
+
afterList?: import("react").ReactNode;
|
214
|
+
virtual?: boolean | undefined;
|
215
|
+
} & Omit<{
|
216
|
+
titleCaption?: import("react").ReactNode;
|
217
|
+
leftHelper?: import("react").ReactNode;
|
218
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
219
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
220
|
+
textBefore?: string | undefined;
|
221
|
+
textAfter?: string | undefined;
|
222
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
223
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
224
|
+
clear?: boolean | undefined;
|
225
|
+
hasDivider?: boolean | undefined;
|
226
|
+
} & {
|
227
|
+
hintTrigger?: undefined;
|
228
|
+
hintText?: undefined;
|
229
|
+
hintView?: undefined;
|
230
|
+
hintSize?: undefined;
|
231
|
+
hintTargetIcon?: undefined;
|
232
|
+
hintTargetPlacement?: undefined;
|
233
|
+
hintPlacement?: undefined;
|
234
|
+
hintHasArrow?: undefined;
|
235
|
+
hintOffset?: undefined;
|
236
|
+
hintWidth?: undefined;
|
237
|
+
hintContentLeft?: undefined;
|
238
|
+
} & {
|
239
|
+
enumerationType: "chip";
|
240
|
+
onSearch?: undefined;
|
241
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
242
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
243
|
+
chipType?: "text" | "default" | undefined;
|
244
|
+
chipView?: string | undefined;
|
245
|
+
chipValidator?: ((value: string) => {
|
246
|
+
view?: string | undefined;
|
247
|
+
}) | undefined;
|
248
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
249
|
+
size?: string | undefined;
|
250
|
+
view?: string | undefined;
|
251
|
+
labelPlacement?: string | undefined;
|
252
|
+
readOnly?: boolean | undefined;
|
253
|
+
disabled?: boolean | undefined;
|
254
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
255
|
+
value?: string | undefined;
|
256
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
257
|
+
threshold?: number | undefined;
|
258
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
259
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
260
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
261
|
+
listMaxHeight?: string | undefined;
|
262
|
+
listWidth?: string | undefined;
|
263
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
264
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
265
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
266
|
+
defaultValue?: string | undefined;
|
267
|
+
beforeList?: import("react").ReactNode;
|
268
|
+
afterList?: import("react").ReactNode;
|
269
|
+
virtual?: boolean | undefined;
|
270
|
+
} & Omit<{
|
271
|
+
titleCaption?: import("react").ReactNode;
|
272
|
+
leftHelper?: import("react").ReactNode;
|
273
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
274
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
275
|
+
textBefore?: string | undefined;
|
276
|
+
textAfter?: string | undefined;
|
277
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
278
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
279
|
+
clear?: false | undefined;
|
280
|
+
hasDivider?: undefined;
|
281
|
+
} & {
|
282
|
+
hintText: string;
|
283
|
+
hintTrigger?: "hover" | "click" | undefined;
|
284
|
+
hintView?: string | undefined;
|
285
|
+
hintSize?: string | undefined;
|
286
|
+
hintTargetIcon?: import("react").ReactNode;
|
287
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
288
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
289
|
+
hintHasArrow?: boolean | undefined;
|
290
|
+
hintOffset?: [number, number] | undefined;
|
291
|
+
hintWidth?: string | undefined;
|
292
|
+
hintContentLeft?: import("react").ReactNode;
|
293
|
+
} & {
|
294
|
+
chips?: undefined;
|
295
|
+
onChangeChips?: undefined;
|
296
|
+
enumerationType?: "plain" | undefined;
|
297
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
298
|
+
chipType?: undefined;
|
299
|
+
chipView?: undefined;
|
300
|
+
chipValidator?: undefined;
|
301
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
302
|
+
size?: string | undefined;
|
303
|
+
view?: string | undefined;
|
304
|
+
labelPlacement?: string | undefined;
|
305
|
+
readOnly?: boolean | undefined;
|
306
|
+
disabled?: boolean | undefined;
|
307
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
308
|
+
value?: string | undefined;
|
309
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
310
|
+
threshold?: number | undefined;
|
311
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
312
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
313
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
314
|
+
listMaxHeight?: string | undefined;
|
315
|
+
listWidth?: string | undefined;
|
316
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
317
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
318
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
319
|
+
defaultValue?: string | undefined;
|
320
|
+
beforeList?: import("react").ReactNode;
|
321
|
+
afterList?: import("react").ReactNode;
|
322
|
+
virtual?: boolean | undefined;
|
323
|
+
} & Omit<{
|
324
|
+
titleCaption?: import("react").ReactNode;
|
325
|
+
leftHelper?: import("react").ReactNode;
|
326
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
327
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
328
|
+
textBefore?: string | undefined;
|
329
|
+
textAfter?: string | undefined;
|
330
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
331
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
332
|
+
clear?: false | undefined;
|
333
|
+
hasDivider?: undefined;
|
334
|
+
} & {
|
335
|
+
hintText: string;
|
336
|
+
hintTrigger?: "hover" | "click" | undefined;
|
337
|
+
hintView?: string | undefined;
|
338
|
+
hintSize?: string | undefined;
|
339
|
+
hintTargetIcon?: import("react").ReactNode;
|
340
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
341
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
342
|
+
hintHasArrow?: boolean | undefined;
|
343
|
+
hintOffset?: [number, number] | undefined;
|
344
|
+
hintWidth?: string | undefined;
|
345
|
+
hintContentLeft?: import("react").ReactNode;
|
346
|
+
} & {
|
347
|
+
enumerationType: "chip";
|
348
|
+
onSearch?: undefined;
|
349
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
350
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
351
|
+
chipType?: "text" | "default" | undefined;
|
352
|
+
chipView?: string | undefined;
|
353
|
+
chipValidator?: ((value: string) => {
|
354
|
+
view?: string | undefined;
|
355
|
+
}) | undefined;
|
356
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
357
|
+
size?: string | undefined;
|
358
|
+
view?: string | undefined;
|
359
|
+
labelPlacement?: string | undefined;
|
360
|
+
readOnly?: boolean | undefined;
|
361
|
+
disabled?: boolean | undefined;
|
362
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
363
|
+
value?: string | undefined;
|
364
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
365
|
+
threshold?: number | undefined;
|
366
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
367
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
368
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
369
|
+
listMaxHeight?: string | undefined;
|
370
|
+
listWidth?: string | undefined;
|
371
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
372
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
373
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
374
|
+
defaultValue?: string | undefined;
|
375
|
+
beforeList?: import("react").ReactNode;
|
376
|
+
afterList?: import("react").ReactNode;
|
377
|
+
virtual?: boolean | undefined;
|
378
|
+
} & Omit<{
|
379
|
+
titleCaption?: import("react").ReactNode;
|
380
|
+
leftHelper?: import("react").ReactNode;
|
381
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
382
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
383
|
+
textBefore?: string | undefined;
|
384
|
+
textAfter?: string | undefined;
|
385
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
386
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
387
|
+
clear?: false | undefined;
|
388
|
+
hasDivider?: undefined;
|
389
|
+
} & {
|
390
|
+
hintTrigger?: undefined;
|
391
|
+
hintText?: undefined;
|
392
|
+
hintView?: undefined;
|
393
|
+
hintSize?: undefined;
|
394
|
+
hintTargetIcon?: undefined;
|
395
|
+
hintTargetPlacement?: undefined;
|
396
|
+
hintPlacement?: undefined;
|
397
|
+
hintHasArrow?: undefined;
|
398
|
+
hintOffset?: undefined;
|
399
|
+
hintWidth?: undefined;
|
400
|
+
hintContentLeft?: undefined;
|
401
|
+
} & {
|
402
|
+
chips?: undefined;
|
403
|
+
onChangeChips?: undefined;
|
404
|
+
enumerationType?: "plain" | undefined;
|
405
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
406
|
+
chipType?: undefined;
|
407
|
+
chipView?: undefined;
|
408
|
+
chipValidator?: undefined;
|
409
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
410
|
+
size?: string | undefined;
|
411
|
+
view?: string | undefined;
|
412
|
+
labelPlacement?: string | undefined;
|
413
|
+
readOnly?: boolean | undefined;
|
414
|
+
disabled?: boolean | undefined;
|
415
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
416
|
+
value?: string | undefined;
|
417
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined;
|
418
|
+
threshold?: number | undefined;
|
419
|
+
filter?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean) | undefined;
|
420
|
+
onSuggestionSelect?: ((data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void) | undefined;
|
421
|
+
onScroll?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
422
|
+
listMaxHeight?: string | undefined;
|
423
|
+
listWidth?: string | undefined;
|
424
|
+
renderList?: ((data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[] | undefined) => import("react").ReactNode) | undefined;
|
425
|
+
renderListEnd?: (() => import("react").ReactNode) | undefined;
|
426
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => import("react").ReactNode) | undefined;
|
427
|
+
defaultValue?: string | undefined;
|
428
|
+
beforeList?: import("react").ReactNode;
|
429
|
+
afterList?: import("react").ReactNode;
|
430
|
+
virtual?: boolean | undefined;
|
431
|
+
} & Omit<{
|
432
|
+
titleCaption?: import("react").ReactNode;
|
433
|
+
leftHelper?: import("react").ReactNode;
|
434
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
435
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
436
|
+
textBefore?: string | undefined;
|
437
|
+
textAfter?: string | undefined;
|
438
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
439
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
440
|
+
clear?: false | undefined;
|
441
|
+
hasDivider?: undefined;
|
442
|
+
} & {
|
443
|
+
hintTrigger?: undefined;
|
444
|
+
hintText?: undefined;
|
445
|
+
hintView?: undefined;
|
446
|
+
hintSize?: undefined;
|
447
|
+
hintTargetIcon?: undefined;
|
448
|
+
hintTargetPlacement?: undefined;
|
449
|
+
hintPlacement?: undefined;
|
450
|
+
hintHasArrow?: undefined;
|
451
|
+
hintOffset?: undefined;
|
452
|
+
hintWidth?: undefined;
|
453
|
+
hintContentLeft?: undefined;
|
454
|
+
} & {
|
455
|
+
enumerationType: "chip";
|
456
|
+
onSearch?: undefined;
|
457
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
458
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
459
|
+
chipType?: "text" | "default" | undefined;
|
460
|
+
chipView?: string | undefined;
|
461
|
+
chipValidator?: ((value: string) => {
|
462
|
+
view?: string | undefined;
|
463
|
+
}) | undefined;
|
464
|
+
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -47,7 +47,7 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
|
|
47
47
|
isLoading?: boolean | undefined;
|
48
48
|
loader?: import("react").ReactNode;
|
49
49
|
stretch?: boolean | undefined;
|
50
|
-
stretching?: ("
|
50
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
51
51
|
square?: boolean | undefined;
|
52
52
|
focused?: boolean | undefined;
|
53
53
|
disabled?: boolean | undefined;
|
@@ -68,7 +68,7 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
|
|
68
68
|
isLoading?: boolean | undefined;
|
69
69
|
loader?: import("react").ReactNode;
|
70
70
|
stretch?: boolean | undefined;
|
71
|
-
stretching?: ("
|
71
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
72
72
|
square?: boolean | undefined;
|
73
73
|
focused?: boolean | undefined;
|
74
74
|
disabled?: boolean | undefined;
|
@@ -19,7 +19,7 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
|
|
19
19
|
contentRight?: import("react").ReactNode;
|
20
20
|
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
21
21
|
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
22
|
-
stretching?: "
|
22
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
23
23
|
content?: import("react").ReactNode;
|
24
24
|
description?: string | undefined;
|
25
25
|
} & {
|
@@ -34,7 +34,7 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
|
|
34
34
|
contentRight?: import("react").ReactNode;
|
35
35
|
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
36
36
|
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
37
|
-
stretching?: "
|
37
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
38
38
|
content?: import("react").ReactNode;
|
39
39
|
description?: string | undefined;
|
40
40
|
} & {
|