@salutejs/plasma-web 1.571.1-canary.1868.14054564913.0 → 1.572.0-canary.1870.14062223595.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/api/plasma-web.api.md +1490 -1488
- package/components/Accordion/Accordion.d.ts +10 -9
- package/components/Attach/Attach.d.ts +159 -158
- package/components/Autocomplete/Autocomplete.d.ts +193 -192
- package/components/Avatar/Avatar.d.ts +47 -46
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
- package/components/Badge/Badge.d.ts +41 -40
- package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
- package/components/Button/Button.d.ts +36 -35
- package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/components/Cell/Cell.d.ts +20 -19
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.d.ts +1 -0
- package/components/Combobox/Combobox.d.ts +953 -953
- package/components/Combobox/Legacy/Combobox.d.ts +37 -36
- package/components/Counter/Counter.d.ts +1 -0
- package/components/DatePicker/DatePicker.d.ts +51 -50
- package/components/Divider/Divider.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +19 -18
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +16 -15
- package/components/Editable/Editable.d.ts +1 -0
- package/components/EmptyState/EmptyState.d.ts +1 -0
- package/components/Flow/Flow.d.ts +2 -1
- package/components/Grid/Grid.d.ts +1 -0
- package/components/IconButton/IconButton.d.ts +36 -35
- package/components/Image/Image.d.ts +4 -3
- package/components/Indicator/Indicator.d.ts +1 -0
- package/components/Link/Link.d.ts +1 -0
- package/components/LinkButton/LinkButton.d.ts +9 -8
- package/components/Mask/Mask.d.ts +225 -224
- package/components/Note/Note.d.ts +10 -9
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +39 -38
- package/components/Pagination/Pagination.d.ts +1 -0
- package/components/Popover/Popover.d.ts +1 -0
- package/components/Price/Price.d.ts +1 -0
- package/components/Progress/Progress.d.ts +1 -0
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +106 -105
- package/components/Rating/Rating.d.ts +14 -13
- package/components/Segment/Segment.d.ts +9 -8
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +1 -0
- package/components/Skeleton/Skeleton.d.ts +5 -4
- package/components/Slider/Slider.d.ts +113 -104
- package/components/Steps/Steps.d.ts +1 -0
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +7 -5
- package/components/TextArea/TextArea.d.ts +206 -205
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +269 -261
- package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
- package/components/Toast/Toast.d.ts +1 -0
- package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
- package/components/Toolbar/Toolbar.d.ts +6 -5
- package/components/Tree/Tree.d.ts +1 -0
- package/components/Typography/Old/index.d.ts +10 -9
- package/components/Typography/Typography.d.ts +52 -51
- package/mixins/index.d.ts +2 -1
- package/package.json +11 -11
- package/temp/plasma-web.api.md +1490 -1488
@@ -35,1282 +35,1282 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
35
35
|
};
|
36
36
|
}> & (({
|
37
37
|
items: ItemOption[];
|
38
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
39
|
-
placeholder?: string;
|
40
|
-
helperText?: string;
|
41
|
-
contentLeft?: React.ReactElement;
|
42
|
-
textBefore?: string;
|
43
|
-
textAfter?: string;
|
44
|
-
variant?: "normal" | "tight";
|
45
|
-
zIndex?:
|
46
|
-
listOverflow?:
|
47
|
-
listMaxHeight?:
|
48
|
-
listWidth?:
|
49
|
-
portal?: string | React.RefObject<HTMLElement
|
38
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
39
|
+
placeholder?: string | undefined;
|
40
|
+
helperText?: string | undefined;
|
41
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
42
|
+
textBefore?: string | undefined;
|
43
|
+
textAfter?: string | undefined;
|
44
|
+
variant?: "normal" | "tight" | undefined;
|
45
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
46
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
47
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
48
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
49
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
50
50
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
51
51
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
52
|
-
closeAfterSelect?: boolean;
|
53
|
-
onChangeValue?: (value: string) => void;
|
54
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
55
|
-
onToggle?: (isOpen: boolean) => void;
|
52
|
+
closeAfterSelect?: boolean | undefined;
|
53
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
54
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
55
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
56
56
|
beforeList?: React.ReactNode;
|
57
57
|
afterList?: React.ReactNode;
|
58
|
-
virtual?: boolean;
|
59
|
-
size?: string;
|
60
|
-
view?: string;
|
61
|
-
emptyStateDescription?: string;
|
62
|
-
listHeight?:
|
58
|
+
virtual?: boolean | undefined;
|
59
|
+
size?: string | undefined;
|
60
|
+
view?: string | undefined;
|
61
|
+
emptyStateDescription?: string | undefined;
|
62
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
63
63
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
64
|
-
readOnly?: boolean;
|
65
|
-
disabled?: true;
|
66
|
-
alwaysOpened?: false;
|
64
|
+
readOnly?: boolean | undefined;
|
65
|
+
disabled?: true | undefined;
|
66
|
+
alwaysOpened?: false | undefined;
|
67
67
|
} & {
|
68
68
|
name: string;
|
69
|
-
onChange?: React.ChangeEventHandler;
|
69
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
70
70
|
} & {
|
71
|
-
multiple?: false;
|
72
|
-
defaultValue?: string;
|
73
|
-
value?:
|
74
|
-
isTargetAmount?:
|
75
|
-
targetAmount?:
|
76
|
-
renderValue?:
|
71
|
+
multiple?: false | undefined;
|
72
|
+
defaultValue?: string | undefined;
|
73
|
+
value?: undefined;
|
74
|
+
isTargetAmount?: false | undefined;
|
75
|
+
targetAmount?: undefined;
|
76
|
+
renderValue?: undefined;
|
77
77
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
78
78
|
hintText: string;
|
79
|
-
hintTrigger?: "hover" | "click";
|
80
|
-
hintView?: string;
|
81
|
-
hintSize?: string;
|
79
|
+
hintTrigger?: "hover" | "click" | undefined;
|
80
|
+
hintView?: string | undefined;
|
81
|
+
hintSize?: string | undefined;
|
82
82
|
hintTargetIcon?: React.ReactNode;
|
83
|
-
hintTargetPlacement?: "
|
84
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
85
|
-
hintHasArrow?: boolean;
|
86
|
-
hintOffset?: [number, number];
|
87
|
-
hintWidth?: string;
|
83
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
84
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
85
|
+
hintHasArrow?: boolean | undefined;
|
86
|
+
hintOffset?: [number, number] | undefined;
|
87
|
+
hintWidth?: string | undefined;
|
88
88
|
hintContentLeft?: React.ReactNode;
|
89
89
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
90
90
|
items: ItemOption[];
|
91
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
92
|
-
placeholder?: string;
|
93
|
-
helperText?: string;
|
94
|
-
contentLeft?: React.ReactElement;
|
95
|
-
textBefore?: string;
|
96
|
-
textAfter?: string;
|
97
|
-
variant?: "normal" | "tight";
|
98
|
-
zIndex?:
|
99
|
-
listOverflow?:
|
100
|
-
listMaxHeight?:
|
101
|
-
listWidth?:
|
102
|
-
portal?: string | React.RefObject<HTMLElement
|
91
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
92
|
+
placeholder?: string | undefined;
|
93
|
+
helperText?: string | undefined;
|
94
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
95
|
+
textBefore?: string | undefined;
|
96
|
+
textAfter?: string | undefined;
|
97
|
+
variant?: "normal" | "tight" | undefined;
|
98
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
99
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
100
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
101
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
102
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
103
103
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
104
104
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
105
|
-
closeAfterSelect?: boolean;
|
106
|
-
onChangeValue?: (value: string) => void;
|
107
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
108
|
-
onToggle?: (isOpen: boolean) => void;
|
105
|
+
closeAfterSelect?: boolean | undefined;
|
106
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
107
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
108
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
109
109
|
beforeList?: React.ReactNode;
|
110
110
|
afterList?: React.ReactNode;
|
111
|
-
virtual?: boolean;
|
112
|
-
size?: string;
|
113
|
-
view?: string;
|
114
|
-
emptyStateDescription?: string;
|
115
|
-
listHeight?:
|
111
|
+
virtual?: boolean | undefined;
|
112
|
+
size?: string | undefined;
|
113
|
+
view?: string | undefined;
|
114
|
+
emptyStateDescription?: string | undefined;
|
115
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
116
116
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
117
|
-
readOnly?: boolean;
|
118
|
-
disabled?: true;
|
119
|
-
alwaysOpened?: false;
|
117
|
+
readOnly?: boolean | undefined;
|
118
|
+
disabled?: true | undefined;
|
119
|
+
alwaysOpened?: false | undefined;
|
120
120
|
} & {
|
121
121
|
name: string;
|
122
|
-
onChange?: React.ChangeEventHandler;
|
122
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
123
123
|
} & {
|
124
|
-
multiple?: false;
|
125
|
-
defaultValue?: string;
|
126
|
-
value?:
|
127
|
-
isTargetAmount?:
|
128
|
-
targetAmount?:
|
129
|
-
renderValue?:
|
124
|
+
multiple?: false | undefined;
|
125
|
+
defaultValue?: string | undefined;
|
126
|
+
value?: undefined;
|
127
|
+
isTargetAmount?: false | undefined;
|
128
|
+
targetAmount?: undefined;
|
129
|
+
renderValue?: undefined;
|
130
130
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
131
|
-
hintTrigger?:
|
132
|
-
hintText?:
|
133
|
-
hintView?:
|
134
|
-
hintSize?:
|
135
|
-
hintTargetIcon?:
|
136
|
-
hintTargetPlacement?:
|
137
|
-
hintPlacement?:
|
138
|
-
hintHasArrow?:
|
139
|
-
hintOffset?:
|
140
|
-
hintWidth?:
|
141
|
-
hintContentLeft?:
|
131
|
+
hintTrigger?: undefined;
|
132
|
+
hintText?: undefined;
|
133
|
+
hintView?: undefined;
|
134
|
+
hintSize?: undefined;
|
135
|
+
hintTargetIcon?: undefined;
|
136
|
+
hintTargetPlacement?: undefined;
|
137
|
+
hintPlacement?: undefined;
|
138
|
+
hintHasArrow?: undefined;
|
139
|
+
hintOffset?: undefined;
|
140
|
+
hintWidth?: undefined;
|
141
|
+
hintContentLeft?: undefined;
|
142
142
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
143
143
|
items: ItemOption[];
|
144
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
145
|
-
placeholder?: string;
|
146
|
-
helperText?: string;
|
147
|
-
contentLeft?: React.ReactElement;
|
148
|
-
textBefore?: string;
|
149
|
-
textAfter?: string;
|
150
|
-
variant?: "normal" | "tight";
|
151
|
-
zIndex?:
|
152
|
-
listOverflow?:
|
153
|
-
listMaxHeight?:
|
154
|
-
listWidth?:
|
155
|
-
portal?: string | React.RefObject<HTMLElement
|
144
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
145
|
+
placeholder?: string | undefined;
|
146
|
+
helperText?: string | undefined;
|
147
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
148
|
+
textBefore?: string | undefined;
|
149
|
+
textAfter?: string | undefined;
|
150
|
+
variant?: "normal" | "tight" | undefined;
|
151
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
152
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
153
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
154
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
155
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
156
156
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
157
157
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
158
|
-
closeAfterSelect?: boolean;
|
159
|
-
onChangeValue?: (value: string) => void;
|
160
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
161
|
-
onToggle?: (isOpen: boolean) => void;
|
158
|
+
closeAfterSelect?: boolean | undefined;
|
159
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
160
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
161
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
162
162
|
beforeList?: React.ReactNode;
|
163
163
|
afterList?: React.ReactNode;
|
164
|
-
virtual?: boolean;
|
165
|
-
size?: string;
|
166
|
-
view?: string;
|
167
|
-
emptyStateDescription?: string;
|
168
|
-
listHeight?:
|
164
|
+
virtual?: boolean | undefined;
|
165
|
+
size?: string | undefined;
|
166
|
+
view?: string | undefined;
|
167
|
+
emptyStateDescription?: string | undefined;
|
168
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
169
169
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
170
|
-
readOnly?: boolean;
|
171
|
-
disabled?: true;
|
172
|
-
alwaysOpened?: false;
|
170
|
+
readOnly?: boolean | undefined;
|
171
|
+
disabled?: true | undefined;
|
172
|
+
alwaysOpened?: false | undefined;
|
173
173
|
} & {
|
174
|
-
name?:
|
175
|
-
defaultValue?:
|
174
|
+
name?: undefined;
|
175
|
+
defaultValue?: undefined;
|
176
176
|
} & {
|
177
|
-
multiple?: false;
|
178
|
-
value?: string;
|
177
|
+
multiple?: false | undefined;
|
178
|
+
value?: string | undefined;
|
179
179
|
onChange?: ((value: string, item: ItemOption | null) => void) | undefined;
|
180
|
-
isTargetAmount?:
|
181
|
-
targetAmount?:
|
182
|
-
renderValue?:
|
180
|
+
isTargetAmount?: false | undefined;
|
181
|
+
targetAmount?: undefined;
|
182
|
+
renderValue?: undefined;
|
183
183
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
184
184
|
hintText: string;
|
185
|
-
hintTrigger?: "hover" | "click";
|
186
|
-
hintView?: string;
|
187
|
-
hintSize?: string;
|
185
|
+
hintTrigger?: "hover" | "click" | undefined;
|
186
|
+
hintView?: string | undefined;
|
187
|
+
hintSize?: string | undefined;
|
188
188
|
hintTargetIcon?: React.ReactNode;
|
189
|
-
hintTargetPlacement?: "
|
190
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
191
|
-
hintHasArrow?: boolean;
|
192
|
-
hintOffset?: [number, number];
|
193
|
-
hintWidth?: string;
|
189
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
190
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
191
|
+
hintHasArrow?: boolean | undefined;
|
192
|
+
hintOffset?: [number, number] | undefined;
|
193
|
+
hintWidth?: string | undefined;
|
194
194
|
hintContentLeft?: React.ReactNode;
|
195
195
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
196
196
|
items: ItemOption[];
|
197
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
198
|
-
placeholder?: string;
|
199
|
-
helperText?: string;
|
200
|
-
contentLeft?: React.ReactElement;
|
201
|
-
textBefore?: string;
|
202
|
-
textAfter?: string;
|
203
|
-
variant?: "normal" | "tight";
|
204
|
-
zIndex?:
|
205
|
-
listOverflow?:
|
206
|
-
listMaxHeight?:
|
207
|
-
listWidth?:
|
208
|
-
portal?: string | React.RefObject<HTMLElement
|
197
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
198
|
+
placeholder?: string | undefined;
|
199
|
+
helperText?: string | undefined;
|
200
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
201
|
+
textBefore?: string | undefined;
|
202
|
+
textAfter?: string | undefined;
|
203
|
+
variant?: "normal" | "tight" | undefined;
|
204
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
205
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
206
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
207
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
208
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
209
209
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
210
210
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
211
|
-
closeAfterSelect?: boolean;
|
212
|
-
onChangeValue?: (value: string) => void;
|
213
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
214
|
-
onToggle?: (isOpen: boolean) => void;
|
211
|
+
closeAfterSelect?: boolean | undefined;
|
212
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
213
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
214
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
215
215
|
beforeList?: React.ReactNode;
|
216
216
|
afterList?: React.ReactNode;
|
217
|
-
virtual?: boolean;
|
218
|
-
size?: string;
|
219
|
-
view?: string;
|
220
|
-
emptyStateDescription?: string;
|
221
|
-
listHeight?:
|
217
|
+
virtual?: boolean | undefined;
|
218
|
+
size?: string | undefined;
|
219
|
+
view?: string | undefined;
|
220
|
+
emptyStateDescription?: string | undefined;
|
221
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
222
222
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
223
|
-
readOnly?: boolean;
|
224
|
-
disabled?: true;
|
225
|
-
alwaysOpened?: false;
|
223
|
+
readOnly?: boolean | undefined;
|
224
|
+
disabled?: true | undefined;
|
225
|
+
alwaysOpened?: false | undefined;
|
226
226
|
} & {
|
227
|
-
name?:
|
228
|
-
defaultValue?:
|
227
|
+
name?: undefined;
|
228
|
+
defaultValue?: undefined;
|
229
229
|
} & {
|
230
|
-
multiple?: false;
|
231
|
-
value?: string;
|
230
|
+
multiple?: false | undefined;
|
231
|
+
value?: string | undefined;
|
232
232
|
onChange?: ((value: string, item: ItemOption | null) => void) | undefined;
|
233
|
-
isTargetAmount?:
|
234
|
-
targetAmount?:
|
235
|
-
renderValue?:
|
233
|
+
isTargetAmount?: false | undefined;
|
234
|
+
targetAmount?: undefined;
|
235
|
+
renderValue?: undefined;
|
236
236
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
237
|
-
hintTrigger?:
|
238
|
-
hintText?:
|
239
|
-
hintView?:
|
240
|
-
hintSize?:
|
241
|
-
hintTargetIcon?:
|
242
|
-
hintTargetPlacement?:
|
243
|
-
hintPlacement?:
|
244
|
-
hintHasArrow?:
|
245
|
-
hintOffset?:
|
246
|
-
hintWidth?:
|
247
|
-
hintContentLeft?:
|
237
|
+
hintTrigger?: undefined;
|
238
|
+
hintText?: undefined;
|
239
|
+
hintView?: undefined;
|
240
|
+
hintSize?: undefined;
|
241
|
+
hintTargetIcon?: undefined;
|
242
|
+
hintTargetPlacement?: undefined;
|
243
|
+
hintPlacement?: undefined;
|
244
|
+
hintHasArrow?: undefined;
|
245
|
+
hintOffset?: undefined;
|
246
|
+
hintWidth?: undefined;
|
247
|
+
hintContentLeft?: undefined;
|
248
248
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
249
249
|
items: ItemOption[];
|
250
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
251
|
-
placeholder?: string;
|
252
|
-
helperText?: string;
|
253
|
-
contentLeft?: React.ReactElement;
|
254
|
-
textBefore?: string;
|
255
|
-
textAfter?: string;
|
256
|
-
variant?: "normal" | "tight";
|
257
|
-
zIndex?:
|
258
|
-
listOverflow?:
|
259
|
-
listMaxHeight?:
|
260
|
-
listWidth?:
|
261
|
-
portal?: string | React.RefObject<HTMLElement
|
250
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
251
|
+
placeholder?: string | undefined;
|
252
|
+
helperText?: string | undefined;
|
253
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
254
|
+
textBefore?: string | undefined;
|
255
|
+
textAfter?: string | undefined;
|
256
|
+
variant?: "normal" | "tight" | undefined;
|
257
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
258
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
259
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
260
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
261
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
262
262
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
263
263
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
264
|
-
closeAfterSelect?: boolean;
|
265
|
-
onChangeValue?: (value: string) => void;
|
266
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
267
|
-
onToggle?: (isOpen: boolean) => void;
|
264
|
+
closeAfterSelect?: boolean | undefined;
|
265
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
266
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
267
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
268
268
|
beforeList?: React.ReactNode;
|
269
269
|
afterList?: React.ReactNode;
|
270
|
-
virtual?: boolean;
|
271
|
-
size?: string;
|
272
|
-
view?: string;
|
273
|
-
emptyStateDescription?: string;
|
274
|
-
listHeight?:
|
270
|
+
virtual?: boolean | undefined;
|
271
|
+
size?: string | undefined;
|
272
|
+
view?: string | undefined;
|
273
|
+
emptyStateDescription?: string | undefined;
|
274
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
275
275
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
276
|
-
readOnly?: boolean;
|
277
|
-
disabled?: true;
|
278
|
-
alwaysOpened?: false;
|
276
|
+
readOnly?: boolean | undefined;
|
277
|
+
disabled?: true | undefined;
|
278
|
+
alwaysOpened?: false | undefined;
|
279
279
|
} & {
|
280
|
-
name?:
|
281
|
-
defaultValue?:
|
280
|
+
name?: undefined;
|
281
|
+
defaultValue?: undefined;
|
282
282
|
} & {
|
283
283
|
multiple: true;
|
284
|
-
value?: string[];
|
284
|
+
value?: string[] | undefined;
|
285
285
|
onChange?: ((value: string[], item: ItemOption | null) => void) | undefined;
|
286
|
-
isTargetAmount?: true;
|
287
|
-
targetAmount?: number;
|
286
|
+
isTargetAmount?: true | undefined;
|
287
|
+
targetAmount?: number | undefined;
|
288
288
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
289
289
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
290
290
|
hintText: string;
|
291
|
-
hintTrigger?: "hover" | "click";
|
292
|
-
hintView?: string;
|
293
|
-
hintSize?: string;
|
291
|
+
hintTrigger?: "hover" | "click" | undefined;
|
292
|
+
hintView?: string | undefined;
|
293
|
+
hintSize?: string | undefined;
|
294
294
|
hintTargetIcon?: React.ReactNode;
|
295
|
-
hintTargetPlacement?: "
|
296
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
297
|
-
hintHasArrow?: boolean;
|
298
|
-
hintOffset?: [number, number];
|
299
|
-
hintWidth?: string;
|
295
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
296
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
297
|
+
hintHasArrow?: boolean | undefined;
|
298
|
+
hintOffset?: [number, number] | undefined;
|
299
|
+
hintWidth?: string | undefined;
|
300
300
|
hintContentLeft?: React.ReactNode;
|
301
301
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
302
302
|
items: ItemOption[];
|
303
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
304
|
-
placeholder?: string;
|
305
|
-
helperText?: string;
|
306
|
-
contentLeft?: React.ReactElement;
|
307
|
-
textBefore?: string;
|
308
|
-
textAfter?: string;
|
309
|
-
variant?: "normal" | "tight";
|
310
|
-
zIndex?:
|
311
|
-
listOverflow?:
|
312
|
-
listMaxHeight?:
|
313
|
-
listWidth?:
|
314
|
-
portal?: string | React.RefObject<HTMLElement
|
303
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
304
|
+
placeholder?: string | undefined;
|
305
|
+
helperText?: string | undefined;
|
306
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
307
|
+
textBefore?: string | undefined;
|
308
|
+
textAfter?: string | undefined;
|
309
|
+
variant?: "normal" | "tight" | undefined;
|
310
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
311
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
312
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
313
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
314
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
315
315
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
316
316
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
317
|
-
closeAfterSelect?: boolean;
|
318
|
-
onChangeValue?: (value: string) => void;
|
319
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
320
|
-
onToggle?: (isOpen: boolean) => void;
|
317
|
+
closeAfterSelect?: boolean | undefined;
|
318
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
319
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
320
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
321
321
|
beforeList?: React.ReactNode;
|
322
322
|
afterList?: React.ReactNode;
|
323
|
-
virtual?: boolean;
|
324
|
-
size?: string;
|
325
|
-
view?: string;
|
326
|
-
emptyStateDescription?: string;
|
327
|
-
listHeight?:
|
323
|
+
virtual?: boolean | undefined;
|
324
|
+
size?: string | undefined;
|
325
|
+
view?: string | undefined;
|
326
|
+
emptyStateDescription?: string | undefined;
|
327
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
328
328
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
329
|
-
readOnly?: boolean;
|
330
|
-
disabled?: true;
|
331
|
-
alwaysOpened?: false;
|
329
|
+
readOnly?: boolean | undefined;
|
330
|
+
disabled?: true | undefined;
|
331
|
+
alwaysOpened?: false | undefined;
|
332
332
|
} & {
|
333
|
-
name?:
|
334
|
-
defaultValue?:
|
333
|
+
name?: undefined;
|
334
|
+
defaultValue?: undefined;
|
335
335
|
} & {
|
336
336
|
multiple: true;
|
337
|
-
value?: string[];
|
337
|
+
value?: string[] | undefined;
|
338
338
|
onChange?: ((value: string[], item: ItemOption | null) => void) | undefined;
|
339
|
-
isTargetAmount?: true;
|
340
|
-
targetAmount?: number;
|
339
|
+
isTargetAmount?: true | undefined;
|
340
|
+
targetAmount?: number | undefined;
|
341
341
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
342
342
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
343
|
-
hintTrigger?:
|
344
|
-
hintText?:
|
345
|
-
hintView?:
|
346
|
-
hintSize?:
|
347
|
-
hintTargetIcon?:
|
348
|
-
hintTargetPlacement?:
|
349
|
-
hintPlacement?:
|
350
|
-
hintHasArrow?:
|
351
|
-
hintOffset?:
|
352
|
-
hintWidth?:
|
353
|
-
hintContentLeft?:
|
343
|
+
hintTrigger?: undefined;
|
344
|
+
hintText?: undefined;
|
345
|
+
hintView?: undefined;
|
346
|
+
hintSize?: undefined;
|
347
|
+
hintTargetIcon?: undefined;
|
348
|
+
hintTargetPlacement?: undefined;
|
349
|
+
hintPlacement?: undefined;
|
350
|
+
hintHasArrow?: undefined;
|
351
|
+
hintOffset?: undefined;
|
352
|
+
hintWidth?: undefined;
|
353
|
+
hintContentLeft?: undefined;
|
354
354
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
355
355
|
items: ItemOption[];
|
356
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
357
|
-
placeholder?: string;
|
358
|
-
helperText?: string;
|
359
|
-
contentLeft?: React.ReactElement;
|
360
|
-
textBefore?: string;
|
361
|
-
textAfter?: string;
|
362
|
-
variant?: "normal" | "tight";
|
363
|
-
zIndex?:
|
364
|
-
listOverflow?:
|
365
|
-
listMaxHeight?:
|
366
|
-
listWidth?:
|
367
|
-
portal?: string | React.RefObject<HTMLElement
|
356
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
357
|
+
placeholder?: string | undefined;
|
358
|
+
helperText?: string | undefined;
|
359
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
360
|
+
textBefore?: string | undefined;
|
361
|
+
textAfter?: string | undefined;
|
362
|
+
variant?: "normal" | "tight" | undefined;
|
363
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
364
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
365
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
368
368
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
369
369
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
370
|
-
closeAfterSelect?: boolean;
|
371
|
-
onChangeValue?: (value: string) => void;
|
372
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
373
|
-
onToggle?: (isOpen: boolean) => void;
|
370
|
+
closeAfterSelect?: boolean | undefined;
|
371
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
372
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
373
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
374
374
|
beforeList?: React.ReactNode;
|
375
375
|
afterList?: React.ReactNode;
|
376
|
-
virtual?: boolean;
|
377
|
-
size?: string;
|
378
|
-
view?: string;
|
379
|
-
emptyStateDescription?: string;
|
380
|
-
listHeight?:
|
376
|
+
virtual?: boolean | undefined;
|
377
|
+
size?: string | undefined;
|
378
|
+
view?: string | undefined;
|
379
|
+
emptyStateDescription?: string | undefined;
|
380
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
381
381
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
382
|
-
readOnly?: boolean;
|
383
|
-
disabled?: true;
|
384
|
-
alwaysOpened?: false;
|
382
|
+
readOnly?: boolean | undefined;
|
383
|
+
disabled?: true | undefined;
|
384
|
+
alwaysOpened?: false | undefined;
|
385
385
|
} & {
|
386
386
|
name: string;
|
387
|
-
onChange?: React.ChangeEventHandler;
|
387
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
388
388
|
} & {
|
389
389
|
multiple: true;
|
390
|
-
defaultValue?: string[];
|
391
|
-
value?:
|
392
|
-
isTargetAmount?: true;
|
393
|
-
targetAmount?: number;
|
390
|
+
defaultValue?: string[] | undefined;
|
391
|
+
value?: undefined;
|
392
|
+
isTargetAmount?: true | undefined;
|
393
|
+
targetAmount?: number | undefined;
|
394
394
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
395
395
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
396
396
|
hintText: string;
|
397
|
-
hintTrigger?: "hover" | "click";
|
398
|
-
hintView?: string;
|
399
|
-
hintSize?: string;
|
397
|
+
hintTrigger?: "hover" | "click" | undefined;
|
398
|
+
hintView?: string | undefined;
|
399
|
+
hintSize?: string | undefined;
|
400
400
|
hintTargetIcon?: React.ReactNode;
|
401
|
-
hintTargetPlacement?: "
|
402
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
403
|
-
hintHasArrow?: boolean;
|
404
|
-
hintOffset?: [number, number];
|
405
|
-
hintWidth?: string;
|
401
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
402
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
403
|
+
hintHasArrow?: boolean | undefined;
|
404
|
+
hintOffset?: [number, number] | undefined;
|
405
|
+
hintWidth?: string | undefined;
|
406
406
|
hintContentLeft?: React.ReactNode;
|
407
407
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
408
408
|
items: ItemOption[];
|
409
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
410
|
-
placeholder?: string;
|
411
|
-
helperText?: string;
|
412
|
-
contentLeft?: React.ReactElement;
|
413
|
-
textBefore?: string;
|
414
|
-
textAfter?: string;
|
415
|
-
variant?: "normal" | "tight";
|
416
|
-
zIndex?:
|
417
|
-
listOverflow?:
|
418
|
-
listMaxHeight?:
|
419
|
-
listWidth?:
|
420
|
-
portal?: string | React.RefObject<HTMLElement
|
409
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
410
|
+
placeholder?: string | undefined;
|
411
|
+
helperText?: string | undefined;
|
412
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
413
|
+
textBefore?: string | undefined;
|
414
|
+
textAfter?: string | undefined;
|
415
|
+
variant?: "normal" | "tight" | undefined;
|
416
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
417
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
418
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
419
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
420
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
421
421
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
422
422
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
423
|
-
closeAfterSelect?: boolean;
|
424
|
-
onChangeValue?: (value: string) => void;
|
425
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
426
|
-
onToggle?: (isOpen: boolean) => void;
|
423
|
+
closeAfterSelect?: boolean | undefined;
|
424
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
425
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
426
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
427
427
|
beforeList?: React.ReactNode;
|
428
428
|
afterList?: React.ReactNode;
|
429
|
-
virtual?: boolean;
|
430
|
-
size?: string;
|
431
|
-
view?: string;
|
432
|
-
emptyStateDescription?: string;
|
433
|
-
listHeight?:
|
429
|
+
virtual?: boolean | undefined;
|
430
|
+
size?: string | undefined;
|
431
|
+
view?: string | undefined;
|
432
|
+
emptyStateDescription?: string | undefined;
|
433
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
434
434
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
435
|
-
readOnly?: boolean;
|
436
|
-
disabled?: true;
|
437
|
-
alwaysOpened?: false;
|
435
|
+
readOnly?: boolean | undefined;
|
436
|
+
disabled?: true | undefined;
|
437
|
+
alwaysOpened?: false | undefined;
|
438
438
|
} & {
|
439
439
|
name: string;
|
440
|
-
onChange?: React.ChangeEventHandler;
|
440
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
441
441
|
} & {
|
442
442
|
multiple: true;
|
443
|
-
defaultValue?: string[];
|
444
|
-
value?:
|
445
|
-
isTargetAmount?: true;
|
446
|
-
targetAmount?: number;
|
443
|
+
defaultValue?: string[] | undefined;
|
444
|
+
value?: undefined;
|
445
|
+
isTargetAmount?: true | undefined;
|
446
|
+
targetAmount?: number | undefined;
|
447
447
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
448
448
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
449
|
-
hintTrigger?:
|
450
|
-
hintText?:
|
451
|
-
hintView?:
|
452
|
-
hintSize?:
|
453
|
-
hintTargetIcon?:
|
454
|
-
hintTargetPlacement?:
|
455
|
-
hintPlacement?:
|
456
|
-
hintHasArrow?:
|
457
|
-
hintOffset?:
|
458
|
-
hintWidth?:
|
459
|
-
hintContentLeft?:
|
449
|
+
hintTrigger?: undefined;
|
450
|
+
hintText?: undefined;
|
451
|
+
hintView?: undefined;
|
452
|
+
hintSize?: undefined;
|
453
|
+
hintTargetIcon?: undefined;
|
454
|
+
hintTargetPlacement?: undefined;
|
455
|
+
hintPlacement?: undefined;
|
456
|
+
hintHasArrow?: undefined;
|
457
|
+
hintOffset?: undefined;
|
458
|
+
hintWidth?: undefined;
|
459
|
+
hintContentLeft?: undefined;
|
460
460
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
461
461
|
items: ItemOption[];
|
462
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
463
|
-
placeholder?: string;
|
464
|
-
helperText?: string;
|
465
|
-
contentLeft?: React.ReactElement;
|
466
|
-
textBefore?: string;
|
467
|
-
textAfter?: string;
|
468
|
-
variant?: "normal" | "tight";
|
469
|
-
zIndex?:
|
470
|
-
listOverflow?:
|
471
|
-
listMaxHeight?:
|
472
|
-
listWidth?:
|
473
|
-
portal?: string | React.RefObject<HTMLElement
|
462
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
463
|
+
placeholder?: string | undefined;
|
464
|
+
helperText?: string | undefined;
|
465
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
466
|
+
textBefore?: string | undefined;
|
467
|
+
textAfter?: string | undefined;
|
468
|
+
variant?: "normal" | "tight" | undefined;
|
469
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
470
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
471
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
472
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
473
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
474
474
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
475
475
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
476
|
-
closeAfterSelect?: boolean;
|
477
|
-
onChangeValue?: (value: string) => void;
|
478
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
479
|
-
onToggle?: (isOpen: boolean) => void;
|
476
|
+
closeAfterSelect?: boolean | undefined;
|
477
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
478
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
479
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
480
480
|
beforeList?: React.ReactNode;
|
481
481
|
afterList?: React.ReactNode;
|
482
|
-
virtual?: boolean;
|
483
|
-
size?: string;
|
484
|
-
view?: string;
|
485
|
-
emptyStateDescription?: string;
|
486
|
-
listHeight?:
|
482
|
+
virtual?: boolean | undefined;
|
483
|
+
size?: string | undefined;
|
484
|
+
view?: string | undefined;
|
485
|
+
emptyStateDescription?: string | undefined;
|
486
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
487
487
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
488
|
-
readOnly?: true;
|
489
|
-
disabled?: boolean;
|
490
|
-
alwaysOpened?: false;
|
488
|
+
readOnly?: true | undefined;
|
489
|
+
disabled?: boolean | undefined;
|
490
|
+
alwaysOpened?: false | undefined;
|
491
491
|
} & {
|
492
492
|
name: string;
|
493
|
-
onChange?: React.ChangeEventHandler;
|
493
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
494
494
|
} & {
|
495
|
-
multiple?: false;
|
496
|
-
defaultValue?: string;
|
497
|
-
value?:
|
498
|
-
isTargetAmount?:
|
499
|
-
targetAmount?:
|
500
|
-
renderValue?:
|
495
|
+
multiple?: false | undefined;
|
496
|
+
defaultValue?: string | undefined;
|
497
|
+
value?: undefined;
|
498
|
+
isTargetAmount?: false | undefined;
|
499
|
+
targetAmount?: undefined;
|
500
|
+
renderValue?: undefined;
|
501
501
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
502
502
|
hintText: string;
|
503
|
-
hintTrigger?: "hover" | "click";
|
504
|
-
hintView?: string;
|
505
|
-
hintSize?: string;
|
503
|
+
hintTrigger?: "hover" | "click" | undefined;
|
504
|
+
hintView?: string | undefined;
|
505
|
+
hintSize?: string | undefined;
|
506
506
|
hintTargetIcon?: React.ReactNode;
|
507
|
-
hintTargetPlacement?: "
|
508
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
509
|
-
hintHasArrow?: boolean;
|
510
|
-
hintOffset?: [number, number];
|
511
|
-
hintWidth?: string;
|
507
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
508
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
509
|
+
hintHasArrow?: boolean | undefined;
|
510
|
+
hintOffset?: [number, number] | undefined;
|
511
|
+
hintWidth?: string | undefined;
|
512
512
|
hintContentLeft?: React.ReactNode;
|
513
513
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
514
514
|
items: ItemOption[];
|
515
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
516
|
-
placeholder?: string;
|
517
|
-
helperText?: string;
|
518
|
-
contentLeft?: React.ReactElement;
|
519
|
-
textBefore?: string;
|
520
|
-
textAfter?: string;
|
521
|
-
variant?: "normal" | "tight";
|
522
|
-
zIndex?:
|
523
|
-
listOverflow?:
|
524
|
-
listMaxHeight?:
|
525
|
-
listWidth?:
|
526
|
-
portal?: string | React.RefObject<HTMLElement
|
515
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
516
|
+
placeholder?: string | undefined;
|
517
|
+
helperText?: string | undefined;
|
518
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
519
|
+
textBefore?: string | undefined;
|
520
|
+
textAfter?: string | undefined;
|
521
|
+
variant?: "normal" | "tight" | undefined;
|
522
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
523
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
524
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
525
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
526
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
527
527
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
528
528
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
529
|
-
closeAfterSelect?: boolean;
|
530
|
-
onChangeValue?: (value: string) => void;
|
531
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
532
|
-
onToggle?: (isOpen: boolean) => void;
|
529
|
+
closeAfterSelect?: boolean | undefined;
|
530
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
531
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
532
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
533
533
|
beforeList?: React.ReactNode;
|
534
534
|
afterList?: React.ReactNode;
|
535
|
-
virtual?: boolean;
|
536
|
-
size?: string;
|
537
|
-
view?: string;
|
538
|
-
emptyStateDescription?: string;
|
539
|
-
listHeight?:
|
535
|
+
virtual?: boolean | undefined;
|
536
|
+
size?: string | undefined;
|
537
|
+
view?: string | undefined;
|
538
|
+
emptyStateDescription?: string | undefined;
|
539
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
540
540
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
541
|
-
readOnly?: true;
|
542
|
-
disabled?: boolean;
|
543
|
-
alwaysOpened?: false;
|
541
|
+
readOnly?: true | undefined;
|
542
|
+
disabled?: boolean | undefined;
|
543
|
+
alwaysOpened?: false | undefined;
|
544
544
|
} & {
|
545
545
|
name: string;
|
546
|
-
onChange?: React.ChangeEventHandler;
|
546
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
547
547
|
} & {
|
548
|
-
multiple?: false;
|
549
|
-
defaultValue?: string;
|
550
|
-
value?:
|
551
|
-
isTargetAmount?:
|
552
|
-
targetAmount?:
|
553
|
-
renderValue?:
|
548
|
+
multiple?: false | undefined;
|
549
|
+
defaultValue?: string | undefined;
|
550
|
+
value?: undefined;
|
551
|
+
isTargetAmount?: false | undefined;
|
552
|
+
targetAmount?: undefined;
|
553
|
+
renderValue?: undefined;
|
554
554
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
555
|
-
hintTrigger?:
|
556
|
-
hintText?:
|
557
|
-
hintView?:
|
558
|
-
hintSize?:
|
559
|
-
hintTargetIcon?:
|
560
|
-
hintTargetPlacement?:
|
561
|
-
hintPlacement?:
|
562
|
-
hintHasArrow?:
|
563
|
-
hintOffset?:
|
564
|
-
hintWidth?:
|
565
|
-
hintContentLeft?:
|
555
|
+
hintTrigger?: undefined;
|
556
|
+
hintText?: undefined;
|
557
|
+
hintView?: undefined;
|
558
|
+
hintSize?: undefined;
|
559
|
+
hintTargetIcon?: undefined;
|
560
|
+
hintTargetPlacement?: undefined;
|
561
|
+
hintPlacement?: undefined;
|
562
|
+
hintHasArrow?: undefined;
|
563
|
+
hintOffset?: undefined;
|
564
|
+
hintWidth?: undefined;
|
565
|
+
hintContentLeft?: undefined;
|
566
566
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
567
567
|
items: ItemOption[];
|
568
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
569
|
-
placeholder?: string;
|
570
|
-
helperText?: string;
|
571
|
-
contentLeft?: React.ReactElement;
|
572
|
-
textBefore?: string;
|
573
|
-
textAfter?: string;
|
574
|
-
variant?: "normal" | "tight";
|
575
|
-
zIndex?:
|
576
|
-
listOverflow?:
|
577
|
-
listMaxHeight?:
|
578
|
-
listWidth?:
|
579
|
-
portal?: string | React.RefObject<HTMLElement
|
568
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
569
|
+
placeholder?: string | undefined;
|
570
|
+
helperText?: string | undefined;
|
571
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
572
|
+
textBefore?: string | undefined;
|
573
|
+
textAfter?: string | undefined;
|
574
|
+
variant?: "normal" | "tight" | undefined;
|
575
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
576
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
577
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
578
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
579
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
580
580
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
581
581
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
582
|
-
closeAfterSelect?: boolean;
|
583
|
-
onChangeValue?: (value: string) => void;
|
584
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
585
|
-
onToggle?: (isOpen: boolean) => void;
|
582
|
+
closeAfterSelect?: boolean | undefined;
|
583
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
584
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
585
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
586
586
|
beforeList?: React.ReactNode;
|
587
587
|
afterList?: React.ReactNode;
|
588
|
-
virtual?: boolean;
|
589
|
-
size?: string;
|
590
|
-
view?: string;
|
591
|
-
emptyStateDescription?: string;
|
592
|
-
listHeight?:
|
588
|
+
virtual?: boolean | undefined;
|
589
|
+
size?: string | undefined;
|
590
|
+
view?: string | undefined;
|
591
|
+
emptyStateDescription?: string | undefined;
|
592
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
593
593
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
594
|
-
readOnly?: true;
|
595
|
-
disabled?: boolean;
|
596
|
-
alwaysOpened?: false;
|
594
|
+
readOnly?: true | undefined;
|
595
|
+
disabled?: boolean | undefined;
|
596
|
+
alwaysOpened?: false | undefined;
|
597
597
|
} & {
|
598
|
-
name?:
|
599
|
-
defaultValue?:
|
598
|
+
name?: undefined;
|
599
|
+
defaultValue?: undefined;
|
600
600
|
} & {
|
601
|
-
multiple?: false;
|
602
|
-
value?: string;
|
601
|
+
multiple?: false | undefined;
|
602
|
+
value?: string | undefined;
|
603
603
|
onChange?: ((value: string, item: ItemOption | null) => void) | undefined;
|
604
|
-
isTargetAmount?:
|
605
|
-
targetAmount?:
|
606
|
-
renderValue?:
|
604
|
+
isTargetAmount?: false | undefined;
|
605
|
+
targetAmount?: undefined;
|
606
|
+
renderValue?: undefined;
|
607
607
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
608
608
|
hintText: string;
|
609
|
-
hintTrigger?: "hover" | "click";
|
610
|
-
hintView?: string;
|
611
|
-
hintSize?: string;
|
609
|
+
hintTrigger?: "hover" | "click" | undefined;
|
610
|
+
hintView?: string | undefined;
|
611
|
+
hintSize?: string | undefined;
|
612
612
|
hintTargetIcon?: React.ReactNode;
|
613
|
-
hintTargetPlacement?: "
|
614
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
615
|
-
hintHasArrow?: boolean;
|
616
|
-
hintOffset?: [number, number];
|
617
|
-
hintWidth?: string;
|
613
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
614
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
615
|
+
hintHasArrow?: boolean | undefined;
|
616
|
+
hintOffset?: [number, number] | undefined;
|
617
|
+
hintWidth?: string | undefined;
|
618
618
|
hintContentLeft?: React.ReactNode;
|
619
619
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
620
620
|
items: ItemOption[];
|
621
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
622
|
-
placeholder?: string;
|
623
|
-
helperText?: string;
|
624
|
-
contentLeft?: React.ReactElement;
|
625
|
-
textBefore?: string;
|
626
|
-
textAfter?: string;
|
627
|
-
variant?: "normal" | "tight";
|
628
|
-
zIndex?:
|
629
|
-
listOverflow?:
|
630
|
-
listMaxHeight?:
|
631
|
-
listWidth?:
|
632
|
-
portal?: string | React.RefObject<HTMLElement
|
621
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
622
|
+
placeholder?: string | undefined;
|
623
|
+
helperText?: string | undefined;
|
624
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
625
|
+
textBefore?: string | undefined;
|
626
|
+
textAfter?: string | undefined;
|
627
|
+
variant?: "normal" | "tight" | undefined;
|
628
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
629
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
630
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
631
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
632
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
633
633
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
634
634
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
635
|
-
closeAfterSelect?: boolean;
|
636
|
-
onChangeValue?: (value: string) => void;
|
637
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
638
|
-
onToggle?: (isOpen: boolean) => void;
|
635
|
+
closeAfterSelect?: boolean | undefined;
|
636
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
637
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
638
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
639
639
|
beforeList?: React.ReactNode;
|
640
640
|
afterList?: React.ReactNode;
|
641
|
-
virtual?: boolean;
|
642
|
-
size?: string;
|
643
|
-
view?: string;
|
644
|
-
emptyStateDescription?: string;
|
645
|
-
listHeight?:
|
641
|
+
virtual?: boolean | undefined;
|
642
|
+
size?: string | undefined;
|
643
|
+
view?: string | undefined;
|
644
|
+
emptyStateDescription?: string | undefined;
|
645
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
646
646
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
647
|
-
readOnly?: true;
|
648
|
-
disabled?: boolean;
|
649
|
-
alwaysOpened?: false;
|
647
|
+
readOnly?: true | undefined;
|
648
|
+
disabled?: boolean | undefined;
|
649
|
+
alwaysOpened?: false | undefined;
|
650
650
|
} & {
|
651
|
-
name?:
|
652
|
-
defaultValue?:
|
651
|
+
name?: undefined;
|
652
|
+
defaultValue?: undefined;
|
653
653
|
} & {
|
654
|
-
multiple?: false;
|
655
|
-
value?: string;
|
654
|
+
multiple?: false | undefined;
|
655
|
+
value?: string | undefined;
|
656
656
|
onChange?: ((value: string, item: ItemOption | null) => void) | undefined;
|
657
|
-
isTargetAmount?:
|
658
|
-
targetAmount?:
|
659
|
-
renderValue?:
|
657
|
+
isTargetAmount?: false | undefined;
|
658
|
+
targetAmount?: undefined;
|
659
|
+
renderValue?: undefined;
|
660
660
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
661
|
-
hintTrigger?:
|
662
|
-
hintText?:
|
663
|
-
hintView?:
|
664
|
-
hintSize?:
|
665
|
-
hintTargetIcon?:
|
666
|
-
hintTargetPlacement?:
|
667
|
-
hintPlacement?:
|
668
|
-
hintHasArrow?:
|
669
|
-
hintOffset?:
|
670
|
-
hintWidth?:
|
671
|
-
hintContentLeft?:
|
661
|
+
hintTrigger?: undefined;
|
662
|
+
hintText?: undefined;
|
663
|
+
hintView?: undefined;
|
664
|
+
hintSize?: undefined;
|
665
|
+
hintTargetIcon?: undefined;
|
666
|
+
hintTargetPlacement?: undefined;
|
667
|
+
hintPlacement?: undefined;
|
668
|
+
hintHasArrow?: undefined;
|
669
|
+
hintOffset?: undefined;
|
670
|
+
hintWidth?: undefined;
|
671
|
+
hintContentLeft?: undefined;
|
672
672
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
673
673
|
items: ItemOption[];
|
674
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
675
|
-
placeholder?: string;
|
676
|
-
helperText?: string;
|
677
|
-
contentLeft?: React.ReactElement;
|
678
|
-
textBefore?: string;
|
679
|
-
textAfter?: string;
|
680
|
-
variant?: "normal" | "tight";
|
681
|
-
zIndex?:
|
682
|
-
listOverflow?:
|
683
|
-
listMaxHeight?:
|
684
|
-
listWidth?:
|
685
|
-
portal?: string | React.RefObject<HTMLElement
|
674
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
675
|
+
placeholder?: string | undefined;
|
676
|
+
helperText?: string | undefined;
|
677
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
678
|
+
textBefore?: string | undefined;
|
679
|
+
textAfter?: string | undefined;
|
680
|
+
variant?: "normal" | "tight" | undefined;
|
681
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
682
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
683
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
684
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
685
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
686
686
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
687
687
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
688
|
-
closeAfterSelect?: boolean;
|
689
|
-
onChangeValue?: (value: string) => void;
|
690
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
691
|
-
onToggle?: (isOpen: boolean) => void;
|
688
|
+
closeAfterSelect?: boolean | undefined;
|
689
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
690
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
691
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
692
692
|
beforeList?: React.ReactNode;
|
693
693
|
afterList?: React.ReactNode;
|
694
|
-
virtual?: boolean;
|
695
|
-
size?: string;
|
696
|
-
view?: string;
|
697
|
-
emptyStateDescription?: string;
|
698
|
-
listHeight?:
|
694
|
+
virtual?: boolean | undefined;
|
695
|
+
size?: string | undefined;
|
696
|
+
view?: string | undefined;
|
697
|
+
emptyStateDescription?: string | undefined;
|
698
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
699
699
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
700
|
-
readOnly?: true;
|
701
|
-
disabled?: boolean;
|
702
|
-
alwaysOpened?: false;
|
700
|
+
readOnly?: true | undefined;
|
701
|
+
disabled?: boolean | undefined;
|
702
|
+
alwaysOpened?: false | undefined;
|
703
703
|
} & {
|
704
|
-
name?:
|
705
|
-
defaultValue?:
|
704
|
+
name?: undefined;
|
705
|
+
defaultValue?: undefined;
|
706
706
|
} & {
|
707
707
|
multiple: true;
|
708
|
-
value?: string[];
|
708
|
+
value?: string[] | undefined;
|
709
709
|
onChange?: ((value: string[], item: ItemOption | null) => void) | undefined;
|
710
|
-
isTargetAmount?: true;
|
711
|
-
targetAmount?: number;
|
710
|
+
isTargetAmount?: true | undefined;
|
711
|
+
targetAmount?: number | undefined;
|
712
712
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
713
713
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
714
714
|
hintText: string;
|
715
|
-
hintTrigger?: "hover" | "click";
|
716
|
-
hintView?: string;
|
717
|
-
hintSize?: string;
|
715
|
+
hintTrigger?: "hover" | "click" | undefined;
|
716
|
+
hintView?: string | undefined;
|
717
|
+
hintSize?: string | undefined;
|
718
718
|
hintTargetIcon?: React.ReactNode;
|
719
|
-
hintTargetPlacement?: "
|
720
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
721
|
-
hintHasArrow?: boolean;
|
722
|
-
hintOffset?: [number, number];
|
723
|
-
hintWidth?: string;
|
719
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
720
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
721
|
+
hintHasArrow?: boolean | undefined;
|
722
|
+
hintOffset?: [number, number] | undefined;
|
723
|
+
hintWidth?: string | undefined;
|
724
724
|
hintContentLeft?: React.ReactNode;
|
725
725
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
726
726
|
items: ItemOption[];
|
727
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
728
|
-
placeholder?: string;
|
729
|
-
helperText?: string;
|
730
|
-
contentLeft?: React.ReactElement;
|
731
|
-
textBefore?: string;
|
732
|
-
textAfter?: string;
|
733
|
-
variant?: "normal" | "tight";
|
734
|
-
zIndex?:
|
735
|
-
listOverflow?:
|
736
|
-
listMaxHeight?:
|
737
|
-
listWidth?:
|
738
|
-
portal?: string | React.RefObject<HTMLElement
|
727
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
728
|
+
placeholder?: string | undefined;
|
729
|
+
helperText?: string | undefined;
|
730
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
731
|
+
textBefore?: string | undefined;
|
732
|
+
textAfter?: string | undefined;
|
733
|
+
variant?: "normal" | "tight" | undefined;
|
734
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
735
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
736
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
737
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
738
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
739
739
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
740
740
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
741
|
-
closeAfterSelect?: boolean;
|
742
|
-
onChangeValue?: (value: string) => void;
|
743
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
744
|
-
onToggle?: (isOpen: boolean) => void;
|
741
|
+
closeAfterSelect?: boolean | undefined;
|
742
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
743
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
744
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
745
745
|
beforeList?: React.ReactNode;
|
746
746
|
afterList?: React.ReactNode;
|
747
|
-
virtual?: boolean;
|
748
|
-
size?: string;
|
749
|
-
view?: string;
|
750
|
-
emptyStateDescription?: string;
|
751
|
-
listHeight?:
|
747
|
+
virtual?: boolean | undefined;
|
748
|
+
size?: string | undefined;
|
749
|
+
view?: string | undefined;
|
750
|
+
emptyStateDescription?: string | undefined;
|
751
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
752
752
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
753
|
-
readOnly?: true;
|
754
|
-
disabled?: boolean;
|
755
|
-
alwaysOpened?: false;
|
753
|
+
readOnly?: true | undefined;
|
754
|
+
disabled?: boolean | undefined;
|
755
|
+
alwaysOpened?: false | undefined;
|
756
756
|
} & {
|
757
|
-
name?:
|
758
|
-
defaultValue?:
|
757
|
+
name?: undefined;
|
758
|
+
defaultValue?: undefined;
|
759
759
|
} & {
|
760
760
|
multiple: true;
|
761
|
-
value?: string[];
|
761
|
+
value?: string[] | undefined;
|
762
762
|
onChange?: ((value: string[], item: ItemOption | null) => void) | undefined;
|
763
|
-
isTargetAmount?: true;
|
764
|
-
targetAmount?: number;
|
763
|
+
isTargetAmount?: true | undefined;
|
764
|
+
targetAmount?: number | undefined;
|
765
765
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
766
766
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
767
|
-
hintTrigger?:
|
768
|
-
hintText?:
|
769
|
-
hintView?:
|
770
|
-
hintSize?:
|
771
|
-
hintTargetIcon?:
|
772
|
-
hintTargetPlacement?:
|
773
|
-
hintPlacement?:
|
774
|
-
hintHasArrow?:
|
775
|
-
hintOffset?:
|
776
|
-
hintWidth?:
|
777
|
-
hintContentLeft?:
|
767
|
+
hintTrigger?: undefined;
|
768
|
+
hintText?: undefined;
|
769
|
+
hintView?: undefined;
|
770
|
+
hintSize?: undefined;
|
771
|
+
hintTargetIcon?: undefined;
|
772
|
+
hintTargetPlacement?: undefined;
|
773
|
+
hintPlacement?: undefined;
|
774
|
+
hintHasArrow?: undefined;
|
775
|
+
hintOffset?: undefined;
|
776
|
+
hintWidth?: undefined;
|
777
|
+
hintContentLeft?: undefined;
|
778
778
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
779
779
|
items: ItemOption[];
|
780
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
781
|
-
placeholder?: string;
|
782
|
-
helperText?: string;
|
783
|
-
contentLeft?: React.ReactElement;
|
784
|
-
textBefore?: string;
|
785
|
-
textAfter?: string;
|
786
|
-
variant?: "normal" | "tight";
|
787
|
-
zIndex?:
|
788
|
-
listOverflow?:
|
789
|
-
listMaxHeight?:
|
790
|
-
listWidth?:
|
791
|
-
portal?: string | React.RefObject<HTMLElement
|
780
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
781
|
+
placeholder?: string | undefined;
|
782
|
+
helperText?: string | undefined;
|
783
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
784
|
+
textBefore?: string | undefined;
|
785
|
+
textAfter?: string | undefined;
|
786
|
+
variant?: "normal" | "tight" | undefined;
|
787
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
788
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
789
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
790
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
791
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
792
792
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
793
793
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
794
|
-
closeAfterSelect?: boolean;
|
795
|
-
onChangeValue?: (value: string) => void;
|
796
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
797
|
-
onToggle?: (isOpen: boolean) => void;
|
794
|
+
closeAfterSelect?: boolean | undefined;
|
795
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
796
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
797
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
798
798
|
beforeList?: React.ReactNode;
|
799
799
|
afterList?: React.ReactNode;
|
800
|
-
virtual?: boolean;
|
801
|
-
size?: string;
|
802
|
-
view?: string;
|
803
|
-
emptyStateDescription?: string;
|
804
|
-
listHeight?:
|
800
|
+
virtual?: boolean | undefined;
|
801
|
+
size?: string | undefined;
|
802
|
+
view?: string | undefined;
|
803
|
+
emptyStateDescription?: string | undefined;
|
804
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
805
805
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
806
|
-
readOnly?: true;
|
807
|
-
disabled?: boolean;
|
808
|
-
alwaysOpened?: false;
|
806
|
+
readOnly?: true | undefined;
|
807
|
+
disabled?: boolean | undefined;
|
808
|
+
alwaysOpened?: false | undefined;
|
809
809
|
} & {
|
810
810
|
name: string;
|
811
|
-
onChange?: React.ChangeEventHandler;
|
811
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
812
812
|
} & {
|
813
813
|
multiple: true;
|
814
|
-
defaultValue?: string[];
|
815
|
-
value?:
|
816
|
-
isTargetAmount?: true;
|
817
|
-
targetAmount?: number;
|
814
|
+
defaultValue?: string[] | undefined;
|
815
|
+
value?: undefined;
|
816
|
+
isTargetAmount?: true | undefined;
|
817
|
+
targetAmount?: number | undefined;
|
818
818
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
819
819
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
820
820
|
hintText: string;
|
821
|
-
hintTrigger?: "hover" | "click";
|
822
|
-
hintView?: string;
|
823
|
-
hintSize?: string;
|
821
|
+
hintTrigger?: "hover" | "click" | undefined;
|
822
|
+
hintView?: string | undefined;
|
823
|
+
hintSize?: string | undefined;
|
824
824
|
hintTargetIcon?: React.ReactNode;
|
825
|
-
hintTargetPlacement?: "
|
826
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
827
|
-
hintHasArrow?: boolean;
|
828
|
-
hintOffset?: [number, number];
|
829
|
-
hintWidth?: string;
|
825
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
826
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
827
|
+
hintHasArrow?: boolean | undefined;
|
828
|
+
hintOffset?: [number, number] | undefined;
|
829
|
+
hintWidth?: string | undefined;
|
830
830
|
hintContentLeft?: React.ReactNode;
|
831
831
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
832
832
|
items: ItemOption[];
|
833
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
834
|
-
placeholder?: string;
|
835
|
-
helperText?: string;
|
836
|
-
contentLeft?: React.ReactElement;
|
837
|
-
textBefore?: string;
|
838
|
-
textAfter?: string;
|
839
|
-
variant?: "normal" | "tight";
|
840
|
-
zIndex?:
|
841
|
-
listOverflow?:
|
842
|
-
listMaxHeight?:
|
843
|
-
listWidth?:
|
844
|
-
portal?: string | React.RefObject<HTMLElement
|
833
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
834
|
+
placeholder?: string | undefined;
|
835
|
+
helperText?: string | undefined;
|
836
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
837
|
+
textBefore?: string | undefined;
|
838
|
+
textAfter?: string | undefined;
|
839
|
+
variant?: "normal" | "tight" | undefined;
|
840
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
841
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
842
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
843
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
844
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
845
845
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
846
846
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
847
|
-
closeAfterSelect?: boolean;
|
848
|
-
onChangeValue?: (value: string) => void;
|
849
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
850
|
-
onToggle?: (isOpen: boolean) => void;
|
847
|
+
closeAfterSelect?: boolean | undefined;
|
848
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
849
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
850
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
851
851
|
beforeList?: React.ReactNode;
|
852
852
|
afterList?: React.ReactNode;
|
853
|
-
virtual?: boolean;
|
854
|
-
size?: string;
|
855
|
-
view?: string;
|
856
|
-
emptyStateDescription?: string;
|
857
|
-
listHeight?:
|
853
|
+
virtual?: boolean | undefined;
|
854
|
+
size?: string | undefined;
|
855
|
+
view?: string | undefined;
|
856
|
+
emptyStateDescription?: string | undefined;
|
857
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
858
858
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
859
|
-
readOnly?: true;
|
860
|
-
disabled?: boolean;
|
861
|
-
alwaysOpened?: false;
|
859
|
+
readOnly?: true | undefined;
|
860
|
+
disabled?: boolean | undefined;
|
861
|
+
alwaysOpened?: false | undefined;
|
862
862
|
} & {
|
863
863
|
name: string;
|
864
|
-
onChange?: React.ChangeEventHandler;
|
864
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
865
865
|
} & {
|
866
866
|
multiple: true;
|
867
|
-
defaultValue?: string[];
|
868
|
-
value?:
|
869
|
-
isTargetAmount?: true;
|
870
|
-
targetAmount?: number;
|
867
|
+
defaultValue?: string[] | undefined;
|
868
|
+
value?: undefined;
|
869
|
+
isTargetAmount?: true | undefined;
|
870
|
+
targetAmount?: number | undefined;
|
871
871
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
872
872
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
873
|
-
hintTrigger?:
|
874
|
-
hintText?:
|
875
|
-
hintView?:
|
876
|
-
hintSize?:
|
877
|
-
hintTargetIcon?:
|
878
|
-
hintTargetPlacement?:
|
879
|
-
hintPlacement?:
|
880
|
-
hintHasArrow?:
|
881
|
-
hintOffset?:
|
882
|
-
hintWidth?:
|
883
|
-
hintContentLeft?:
|
873
|
+
hintTrigger?: undefined;
|
874
|
+
hintText?: undefined;
|
875
|
+
hintView?: undefined;
|
876
|
+
hintSize?: undefined;
|
877
|
+
hintTargetIcon?: undefined;
|
878
|
+
hintTargetPlacement?: undefined;
|
879
|
+
hintPlacement?: undefined;
|
880
|
+
hintHasArrow?: undefined;
|
881
|
+
hintOffset?: undefined;
|
882
|
+
hintWidth?: undefined;
|
883
|
+
hintContentLeft?: undefined;
|
884
884
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
885
885
|
items: ItemOption[];
|
886
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
887
|
-
placeholder?: string;
|
888
|
-
helperText?: string;
|
889
|
-
contentLeft?: React.ReactElement;
|
890
|
-
textBefore?: string;
|
891
|
-
textAfter?: string;
|
892
|
-
variant?: "normal" | "tight";
|
893
|
-
zIndex?:
|
894
|
-
listOverflow?:
|
895
|
-
listMaxHeight?:
|
896
|
-
listWidth?:
|
897
|
-
portal?: string | React.RefObject<HTMLElement
|
886
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
887
|
+
placeholder?: string | undefined;
|
888
|
+
helperText?: string | undefined;
|
889
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
890
|
+
textBefore?: string | undefined;
|
891
|
+
textAfter?: string | undefined;
|
892
|
+
variant?: "normal" | "tight" | undefined;
|
893
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
894
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
895
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
896
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
897
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
898
898
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
899
899
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
900
|
-
closeAfterSelect?: boolean;
|
901
|
-
onChangeValue?: (value: string) => void;
|
902
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
903
|
-
onToggle?: (isOpen: boolean) => void;
|
900
|
+
closeAfterSelect?: boolean | undefined;
|
901
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
902
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
903
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
904
904
|
beforeList?: React.ReactNode;
|
905
905
|
afterList?: React.ReactNode;
|
906
|
-
virtual?: boolean;
|
907
|
-
size?: string;
|
908
|
-
view?: string;
|
909
|
-
emptyStateDescription?: string;
|
910
|
-
listHeight?:
|
906
|
+
virtual?: boolean | undefined;
|
907
|
+
size?: string | undefined;
|
908
|
+
view?: string | undefined;
|
909
|
+
emptyStateDescription?: string | undefined;
|
910
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
911
911
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
912
|
-
readOnly?: false;
|
913
|
-
disabled?: false;
|
914
|
-
alwaysOpened?: true;
|
912
|
+
readOnly?: false | undefined;
|
913
|
+
disabled?: false | undefined;
|
914
|
+
alwaysOpened?: true | undefined;
|
915
915
|
} & {
|
916
916
|
name: string;
|
917
|
-
onChange?: React.ChangeEventHandler;
|
917
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
918
918
|
} & {
|
919
|
-
multiple?: false;
|
920
|
-
defaultValue?: string;
|
921
|
-
value?:
|
922
|
-
isTargetAmount?:
|
923
|
-
targetAmount?:
|
924
|
-
renderValue?:
|
919
|
+
multiple?: false | undefined;
|
920
|
+
defaultValue?: string | undefined;
|
921
|
+
value?: undefined;
|
922
|
+
isTargetAmount?: false | undefined;
|
923
|
+
targetAmount?: undefined;
|
924
|
+
renderValue?: undefined;
|
925
925
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
926
926
|
hintText: string;
|
927
|
-
hintTrigger?: "hover" | "click";
|
928
|
-
hintView?: string;
|
929
|
-
hintSize?: string;
|
927
|
+
hintTrigger?: "hover" | "click" | undefined;
|
928
|
+
hintView?: string | undefined;
|
929
|
+
hintSize?: string | undefined;
|
930
930
|
hintTargetIcon?: React.ReactNode;
|
931
|
-
hintTargetPlacement?: "
|
932
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
933
|
-
hintHasArrow?: boolean;
|
934
|
-
hintOffset?: [number, number];
|
935
|
-
hintWidth?: string;
|
931
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
932
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
933
|
+
hintHasArrow?: boolean | undefined;
|
934
|
+
hintOffset?: [number, number] | undefined;
|
935
|
+
hintWidth?: string | undefined;
|
936
936
|
hintContentLeft?: React.ReactNode;
|
937
937
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
938
938
|
items: ItemOption[];
|
939
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
940
|
-
placeholder?: string;
|
941
|
-
helperText?: string;
|
942
|
-
contentLeft?: React.ReactElement;
|
943
|
-
textBefore?: string;
|
944
|
-
textAfter?: string;
|
945
|
-
variant?: "normal" | "tight";
|
946
|
-
zIndex?:
|
947
|
-
listOverflow?:
|
948
|
-
listMaxHeight?:
|
949
|
-
listWidth?:
|
950
|
-
portal?: string | React.RefObject<HTMLElement
|
939
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
940
|
+
placeholder?: string | undefined;
|
941
|
+
helperText?: string | undefined;
|
942
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
943
|
+
textBefore?: string | undefined;
|
944
|
+
textAfter?: string | undefined;
|
945
|
+
variant?: "normal" | "tight" | undefined;
|
946
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
947
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
948
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
949
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
950
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
951
951
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
952
952
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
953
|
-
closeAfterSelect?: boolean;
|
954
|
-
onChangeValue?: (value: string) => void;
|
955
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
956
|
-
onToggle?: (isOpen: boolean) => void;
|
953
|
+
closeAfterSelect?: boolean | undefined;
|
954
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
955
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
956
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
957
957
|
beforeList?: React.ReactNode;
|
958
958
|
afterList?: React.ReactNode;
|
959
|
-
virtual?: boolean;
|
960
|
-
size?: string;
|
961
|
-
view?: string;
|
962
|
-
emptyStateDescription?: string;
|
963
|
-
listHeight?:
|
959
|
+
virtual?: boolean | undefined;
|
960
|
+
size?: string | undefined;
|
961
|
+
view?: string | undefined;
|
962
|
+
emptyStateDescription?: string | undefined;
|
963
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
964
964
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
965
|
-
readOnly?: false;
|
966
|
-
disabled?: false;
|
967
|
-
alwaysOpened?: true;
|
965
|
+
readOnly?: false | undefined;
|
966
|
+
disabled?: false | undefined;
|
967
|
+
alwaysOpened?: true | undefined;
|
968
968
|
} & {
|
969
969
|
name: string;
|
970
|
-
onChange?: React.ChangeEventHandler;
|
970
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
971
971
|
} & {
|
972
|
-
multiple?: false;
|
973
|
-
defaultValue?: string;
|
974
|
-
value?:
|
975
|
-
isTargetAmount?:
|
976
|
-
targetAmount?:
|
977
|
-
renderValue?:
|
972
|
+
multiple?: false | undefined;
|
973
|
+
defaultValue?: string | undefined;
|
974
|
+
value?: undefined;
|
975
|
+
isTargetAmount?: false | undefined;
|
976
|
+
targetAmount?: undefined;
|
977
|
+
renderValue?: undefined;
|
978
978
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
979
|
-
hintTrigger?:
|
980
|
-
hintText?:
|
981
|
-
hintView?:
|
982
|
-
hintSize?:
|
983
|
-
hintTargetIcon?:
|
984
|
-
hintTargetPlacement?:
|
985
|
-
hintPlacement?:
|
986
|
-
hintHasArrow?:
|
987
|
-
hintOffset?:
|
988
|
-
hintWidth?:
|
989
|
-
hintContentLeft?:
|
979
|
+
hintTrigger?: undefined;
|
980
|
+
hintText?: undefined;
|
981
|
+
hintView?: undefined;
|
982
|
+
hintSize?: undefined;
|
983
|
+
hintTargetIcon?: undefined;
|
984
|
+
hintTargetPlacement?: undefined;
|
985
|
+
hintPlacement?: undefined;
|
986
|
+
hintHasArrow?: undefined;
|
987
|
+
hintOffset?: undefined;
|
988
|
+
hintWidth?: undefined;
|
989
|
+
hintContentLeft?: undefined;
|
990
990
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
991
991
|
items: ItemOption[];
|
992
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
993
|
-
placeholder?: string;
|
994
|
-
helperText?: string;
|
995
|
-
contentLeft?: React.ReactElement;
|
996
|
-
textBefore?: string;
|
997
|
-
textAfter?: string;
|
998
|
-
variant?: "normal" | "tight";
|
999
|
-
zIndex?:
|
1000
|
-
listOverflow?:
|
1001
|
-
listMaxHeight?:
|
1002
|
-
listWidth?:
|
1003
|
-
portal?: string | React.RefObject<HTMLElement
|
992
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
993
|
+
placeholder?: string | undefined;
|
994
|
+
helperText?: string | undefined;
|
995
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
996
|
+
textBefore?: string | undefined;
|
997
|
+
textAfter?: string | undefined;
|
998
|
+
variant?: "normal" | "tight" | undefined;
|
999
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1000
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1001
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1002
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1003
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1004
1004
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1005
1005
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1006
|
-
closeAfterSelect?: boolean;
|
1007
|
-
onChangeValue?: (value: string) => void;
|
1008
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
1009
|
-
onToggle?: (isOpen: boolean) => void;
|
1006
|
+
closeAfterSelect?: boolean | undefined;
|
1007
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
1008
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
1009
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
1010
1010
|
beforeList?: React.ReactNode;
|
1011
1011
|
afterList?: React.ReactNode;
|
1012
|
-
virtual?: boolean;
|
1013
|
-
size?: string;
|
1014
|
-
view?: string;
|
1015
|
-
emptyStateDescription?: string;
|
1016
|
-
listHeight?:
|
1012
|
+
virtual?: boolean | undefined;
|
1013
|
+
size?: string | undefined;
|
1014
|
+
view?: string | undefined;
|
1015
|
+
emptyStateDescription?: string | undefined;
|
1016
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1017
1017
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1018
|
-
readOnly?: false;
|
1019
|
-
disabled?: false;
|
1020
|
-
alwaysOpened?: true;
|
1018
|
+
readOnly?: false | undefined;
|
1019
|
+
disabled?: false | undefined;
|
1020
|
+
alwaysOpened?: true | undefined;
|
1021
1021
|
} & {
|
1022
|
-
name?:
|
1023
|
-
defaultValue?:
|
1022
|
+
name?: undefined;
|
1023
|
+
defaultValue?: undefined;
|
1024
1024
|
} & {
|
1025
|
-
multiple?: false;
|
1026
|
-
value?: string;
|
1025
|
+
multiple?: false | undefined;
|
1026
|
+
value?: string | undefined;
|
1027
1027
|
onChange?: ((value: string, item: ItemOption | null) => void) | undefined;
|
1028
|
-
isTargetAmount?:
|
1029
|
-
targetAmount?:
|
1030
|
-
renderValue?:
|
1028
|
+
isTargetAmount?: false | undefined;
|
1029
|
+
targetAmount?: undefined;
|
1030
|
+
renderValue?: undefined;
|
1031
1031
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1032
1032
|
hintText: string;
|
1033
|
-
hintTrigger?: "hover" | "click";
|
1034
|
-
hintView?: string;
|
1035
|
-
hintSize?: string;
|
1033
|
+
hintTrigger?: "hover" | "click" | undefined;
|
1034
|
+
hintView?: string | undefined;
|
1035
|
+
hintSize?: string | undefined;
|
1036
1036
|
hintTargetIcon?: React.ReactNode;
|
1037
|
-
hintTargetPlacement?: "
|
1038
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
1039
|
-
hintHasArrow?: boolean;
|
1040
|
-
hintOffset?: [number, number];
|
1041
|
-
hintWidth?: string;
|
1037
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1038
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1039
|
+
hintHasArrow?: boolean | undefined;
|
1040
|
+
hintOffset?: [number, number] | undefined;
|
1041
|
+
hintWidth?: string | undefined;
|
1042
1042
|
hintContentLeft?: React.ReactNode;
|
1043
1043
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1044
1044
|
items: ItemOption[];
|
1045
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1046
|
-
placeholder?: string;
|
1047
|
-
helperText?: string;
|
1048
|
-
contentLeft?: React.ReactElement;
|
1049
|
-
textBefore?: string;
|
1050
|
-
textAfter?: string;
|
1051
|
-
variant?: "normal" | "tight";
|
1052
|
-
zIndex?:
|
1053
|
-
listOverflow?:
|
1054
|
-
listMaxHeight?:
|
1055
|
-
listWidth?:
|
1056
|
-
portal?: string | React.RefObject<HTMLElement
|
1045
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1046
|
+
placeholder?: string | undefined;
|
1047
|
+
helperText?: string | undefined;
|
1048
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1049
|
+
textBefore?: string | undefined;
|
1050
|
+
textAfter?: string | undefined;
|
1051
|
+
variant?: "normal" | "tight" | undefined;
|
1052
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1053
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1054
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1055
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1056
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1057
1057
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1058
1058
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1059
|
-
closeAfterSelect?: boolean;
|
1060
|
-
onChangeValue?: (value: string) => void;
|
1061
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
1062
|
-
onToggle?: (isOpen: boolean) => void;
|
1059
|
+
closeAfterSelect?: boolean | undefined;
|
1060
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
1061
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
1062
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
1063
1063
|
beforeList?: React.ReactNode;
|
1064
1064
|
afterList?: React.ReactNode;
|
1065
|
-
virtual?: boolean;
|
1066
|
-
size?: string;
|
1067
|
-
view?: string;
|
1068
|
-
emptyStateDescription?: string;
|
1069
|
-
listHeight?:
|
1065
|
+
virtual?: boolean | undefined;
|
1066
|
+
size?: string | undefined;
|
1067
|
+
view?: string | undefined;
|
1068
|
+
emptyStateDescription?: string | undefined;
|
1069
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1070
1070
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1071
|
-
readOnly?: false;
|
1072
|
-
disabled?: false;
|
1073
|
-
alwaysOpened?: true;
|
1071
|
+
readOnly?: false | undefined;
|
1072
|
+
disabled?: false | undefined;
|
1073
|
+
alwaysOpened?: true | undefined;
|
1074
1074
|
} & {
|
1075
|
-
name?:
|
1076
|
-
defaultValue?:
|
1075
|
+
name?: undefined;
|
1076
|
+
defaultValue?: undefined;
|
1077
1077
|
} & {
|
1078
|
-
multiple?: false;
|
1079
|
-
value?: string;
|
1078
|
+
multiple?: false | undefined;
|
1079
|
+
value?: string | undefined;
|
1080
1080
|
onChange?: ((value: string, item: ItemOption | null) => void) | undefined;
|
1081
|
-
isTargetAmount?:
|
1082
|
-
targetAmount?:
|
1083
|
-
renderValue?:
|
1081
|
+
isTargetAmount?: false | undefined;
|
1082
|
+
targetAmount?: undefined;
|
1083
|
+
renderValue?: undefined;
|
1084
1084
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1085
|
-
hintTrigger?:
|
1086
|
-
hintText?:
|
1087
|
-
hintView?:
|
1088
|
-
hintSize?:
|
1089
|
-
hintTargetIcon?:
|
1090
|
-
hintTargetPlacement?:
|
1091
|
-
hintPlacement?:
|
1092
|
-
hintHasArrow?:
|
1093
|
-
hintOffset?:
|
1094
|
-
hintWidth?:
|
1095
|
-
hintContentLeft?:
|
1085
|
+
hintTrigger?: undefined;
|
1086
|
+
hintText?: undefined;
|
1087
|
+
hintView?: undefined;
|
1088
|
+
hintSize?: undefined;
|
1089
|
+
hintTargetIcon?: undefined;
|
1090
|
+
hintTargetPlacement?: undefined;
|
1091
|
+
hintPlacement?: undefined;
|
1092
|
+
hintHasArrow?: undefined;
|
1093
|
+
hintOffset?: undefined;
|
1094
|
+
hintWidth?: undefined;
|
1095
|
+
hintContentLeft?: undefined;
|
1096
1096
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1097
1097
|
items: ItemOption[];
|
1098
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1099
|
-
placeholder?: string;
|
1100
|
-
helperText?: string;
|
1101
|
-
contentLeft?: React.ReactElement;
|
1102
|
-
textBefore?: string;
|
1103
|
-
textAfter?: string;
|
1104
|
-
variant?: "normal" | "tight";
|
1105
|
-
zIndex?:
|
1106
|
-
listOverflow?:
|
1107
|
-
listMaxHeight?:
|
1108
|
-
listWidth?:
|
1109
|
-
portal?: string | React.RefObject<HTMLElement
|
1098
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1099
|
+
placeholder?: string | undefined;
|
1100
|
+
helperText?: string | undefined;
|
1101
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1102
|
+
textBefore?: string | undefined;
|
1103
|
+
textAfter?: string | undefined;
|
1104
|
+
variant?: "normal" | "tight" | undefined;
|
1105
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1106
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1107
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1108
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1109
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1110
1110
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1111
1111
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1112
|
-
closeAfterSelect?: boolean;
|
1113
|
-
onChangeValue?: (value: string) => void;
|
1114
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
1115
|
-
onToggle?: (isOpen: boolean) => void;
|
1112
|
+
closeAfterSelect?: boolean | undefined;
|
1113
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
1114
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
1115
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
1116
1116
|
beforeList?: React.ReactNode;
|
1117
1117
|
afterList?: React.ReactNode;
|
1118
|
-
virtual?: boolean;
|
1119
|
-
size?: string;
|
1120
|
-
view?: string;
|
1121
|
-
emptyStateDescription?: string;
|
1122
|
-
listHeight?:
|
1118
|
+
virtual?: boolean | undefined;
|
1119
|
+
size?: string | undefined;
|
1120
|
+
view?: string | undefined;
|
1121
|
+
emptyStateDescription?: string | undefined;
|
1122
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1123
1123
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1124
|
-
readOnly?: false;
|
1125
|
-
disabled?: false;
|
1126
|
-
alwaysOpened?: true;
|
1124
|
+
readOnly?: false | undefined;
|
1125
|
+
disabled?: false | undefined;
|
1126
|
+
alwaysOpened?: true | undefined;
|
1127
1127
|
} & {
|
1128
|
-
name?:
|
1129
|
-
defaultValue?:
|
1128
|
+
name?: undefined;
|
1129
|
+
defaultValue?: undefined;
|
1130
1130
|
} & {
|
1131
1131
|
multiple: true;
|
1132
|
-
value?: string[];
|
1132
|
+
value?: string[] | undefined;
|
1133
1133
|
onChange?: ((value: string[], item: ItemOption | null) => void) | undefined;
|
1134
|
-
isTargetAmount?: true;
|
1135
|
-
targetAmount?: number;
|
1134
|
+
isTargetAmount?: true | undefined;
|
1135
|
+
targetAmount?: number | undefined;
|
1136
1136
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1137
1137
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1138
1138
|
hintText: string;
|
1139
|
-
hintTrigger?: "hover" | "click";
|
1140
|
-
hintView?: string;
|
1141
|
-
hintSize?: string;
|
1139
|
+
hintTrigger?: "hover" | "click" | undefined;
|
1140
|
+
hintView?: string | undefined;
|
1141
|
+
hintSize?: string | undefined;
|
1142
1142
|
hintTargetIcon?: React.ReactNode;
|
1143
|
-
hintTargetPlacement?: "
|
1144
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
1145
|
-
hintHasArrow?: boolean;
|
1146
|
-
hintOffset?: [number, number];
|
1147
|
-
hintWidth?: string;
|
1143
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1144
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1145
|
+
hintHasArrow?: boolean | undefined;
|
1146
|
+
hintOffset?: [number, number] | undefined;
|
1147
|
+
hintWidth?: string | undefined;
|
1148
1148
|
hintContentLeft?: React.ReactNode;
|
1149
1149
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1150
1150
|
items: ItemOption[];
|
1151
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1152
|
-
placeholder?: string;
|
1153
|
-
helperText?: string;
|
1154
|
-
contentLeft?: React.ReactElement;
|
1155
|
-
textBefore?: string;
|
1156
|
-
textAfter?: string;
|
1157
|
-
variant?: "normal" | "tight";
|
1158
|
-
zIndex?:
|
1159
|
-
listOverflow?:
|
1160
|
-
listMaxHeight?:
|
1161
|
-
listWidth?:
|
1162
|
-
portal?: string | React.RefObject<HTMLElement
|
1151
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1152
|
+
placeholder?: string | undefined;
|
1153
|
+
helperText?: string | undefined;
|
1154
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1155
|
+
textBefore?: string | undefined;
|
1156
|
+
textAfter?: string | undefined;
|
1157
|
+
variant?: "normal" | "tight" | undefined;
|
1158
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1159
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1160
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1161
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1162
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1163
1163
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1164
1164
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1165
|
-
closeAfterSelect?: boolean;
|
1166
|
-
onChangeValue?: (value: string) => void;
|
1167
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
1168
|
-
onToggle?: (isOpen: boolean) => void;
|
1165
|
+
closeAfterSelect?: boolean | undefined;
|
1166
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
1167
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
1168
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
1169
1169
|
beforeList?: React.ReactNode;
|
1170
1170
|
afterList?: React.ReactNode;
|
1171
|
-
virtual?: boolean;
|
1172
|
-
size?: string;
|
1173
|
-
view?: string;
|
1174
|
-
emptyStateDescription?: string;
|
1175
|
-
listHeight?:
|
1171
|
+
virtual?: boolean | undefined;
|
1172
|
+
size?: string | undefined;
|
1173
|
+
view?: string | undefined;
|
1174
|
+
emptyStateDescription?: string | undefined;
|
1175
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1176
1176
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1177
|
-
readOnly?: false;
|
1178
|
-
disabled?: false;
|
1179
|
-
alwaysOpened?: true;
|
1177
|
+
readOnly?: false | undefined;
|
1178
|
+
disabled?: false | undefined;
|
1179
|
+
alwaysOpened?: true | undefined;
|
1180
1180
|
} & {
|
1181
|
-
name?:
|
1182
|
-
defaultValue?:
|
1181
|
+
name?: undefined;
|
1182
|
+
defaultValue?: undefined;
|
1183
1183
|
} & {
|
1184
1184
|
multiple: true;
|
1185
|
-
value?: string[];
|
1185
|
+
value?: string[] | undefined;
|
1186
1186
|
onChange?: ((value: string[], item: ItemOption | null) => void) | undefined;
|
1187
|
-
isTargetAmount?: true;
|
1188
|
-
targetAmount?: number;
|
1187
|
+
isTargetAmount?: true | undefined;
|
1188
|
+
targetAmount?: number | undefined;
|
1189
1189
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1190
1190
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1191
|
-
hintTrigger?:
|
1192
|
-
hintText?:
|
1193
|
-
hintView?:
|
1194
|
-
hintSize?:
|
1195
|
-
hintTargetIcon?:
|
1196
|
-
hintTargetPlacement?:
|
1197
|
-
hintPlacement?:
|
1198
|
-
hintHasArrow?:
|
1199
|
-
hintOffset?:
|
1200
|
-
hintWidth?:
|
1201
|
-
hintContentLeft?:
|
1191
|
+
hintTrigger?: undefined;
|
1192
|
+
hintText?: undefined;
|
1193
|
+
hintView?: undefined;
|
1194
|
+
hintSize?: undefined;
|
1195
|
+
hintTargetIcon?: undefined;
|
1196
|
+
hintTargetPlacement?: undefined;
|
1197
|
+
hintPlacement?: undefined;
|
1198
|
+
hintHasArrow?: undefined;
|
1199
|
+
hintOffset?: undefined;
|
1200
|
+
hintWidth?: undefined;
|
1201
|
+
hintContentLeft?: undefined;
|
1202
1202
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1203
1203
|
items: ItemOption[];
|
1204
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1205
|
-
placeholder?: string;
|
1206
|
-
helperText?: string;
|
1207
|
-
contentLeft?: React.ReactElement;
|
1208
|
-
textBefore?: string;
|
1209
|
-
textAfter?: string;
|
1210
|
-
variant?: "normal" | "tight";
|
1211
|
-
zIndex?:
|
1212
|
-
listOverflow?:
|
1213
|
-
listMaxHeight?:
|
1214
|
-
listWidth?:
|
1215
|
-
portal?: string | React.RefObject<HTMLElement
|
1204
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1205
|
+
placeholder?: string | undefined;
|
1206
|
+
helperText?: string | undefined;
|
1207
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1208
|
+
textBefore?: string | undefined;
|
1209
|
+
textAfter?: string | undefined;
|
1210
|
+
variant?: "normal" | "tight" | undefined;
|
1211
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1212
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1213
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1214
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1215
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1216
1216
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1217
1217
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1218
|
-
closeAfterSelect?: boolean;
|
1219
|
-
onChangeValue?: (value: string) => void;
|
1220
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
1221
|
-
onToggle?: (isOpen: boolean) => void;
|
1218
|
+
closeAfterSelect?: boolean | undefined;
|
1219
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
1220
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
1221
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
1222
1222
|
beforeList?: React.ReactNode;
|
1223
1223
|
afterList?: React.ReactNode;
|
1224
|
-
virtual?: boolean;
|
1225
|
-
size?: string;
|
1226
|
-
view?: string;
|
1227
|
-
emptyStateDescription?: string;
|
1228
|
-
listHeight?:
|
1224
|
+
virtual?: boolean | undefined;
|
1225
|
+
size?: string | undefined;
|
1226
|
+
view?: string | undefined;
|
1227
|
+
emptyStateDescription?: string | undefined;
|
1228
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1229
1229
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1230
|
-
readOnly?: false;
|
1231
|
-
disabled?: false;
|
1232
|
-
alwaysOpened?: true;
|
1230
|
+
readOnly?: false | undefined;
|
1231
|
+
disabled?: false | undefined;
|
1232
|
+
alwaysOpened?: true | undefined;
|
1233
1233
|
} & {
|
1234
1234
|
name: string;
|
1235
|
-
onChange?: React.ChangeEventHandler;
|
1235
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
1236
1236
|
} & {
|
1237
1237
|
multiple: true;
|
1238
|
-
defaultValue?: string[];
|
1239
|
-
value?:
|
1240
|
-
isTargetAmount?: true;
|
1241
|
-
targetAmount?: number;
|
1238
|
+
defaultValue?: string[] | undefined;
|
1239
|
+
value?: undefined;
|
1240
|
+
isTargetAmount?: true | undefined;
|
1241
|
+
targetAmount?: number | undefined;
|
1242
1242
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1243
1243
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1244
1244
|
hintText: string;
|
1245
|
-
hintTrigger?: "hover" | "click";
|
1246
|
-
hintView?: string;
|
1247
|
-
hintSize?: string;
|
1245
|
+
hintTrigger?: "hover" | "click" | undefined;
|
1246
|
+
hintView?: string | undefined;
|
1247
|
+
hintSize?: string | undefined;
|
1248
1248
|
hintTargetIcon?: React.ReactNode;
|
1249
|
-
hintTargetPlacement?: "
|
1250
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
1251
|
-
hintHasArrow?: boolean;
|
1252
|
-
hintOffset?: [number, number];
|
1253
|
-
hintWidth?: string;
|
1249
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
1250
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
1251
|
+
hintHasArrow?: boolean | undefined;
|
1252
|
+
hintOffset?: [number, number] | undefined;
|
1253
|
+
hintWidth?: string | undefined;
|
1254
1254
|
hintContentLeft?: React.ReactNode;
|
1255
1255
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
1256
1256
|
items: ItemOption[];
|
1257
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1258
|
-
placeholder?: string;
|
1259
|
-
helperText?: string;
|
1260
|
-
contentLeft?: React.ReactElement;
|
1261
|
-
textBefore?: string;
|
1262
|
-
textAfter?: string;
|
1263
|
-
variant?: "normal" | "tight";
|
1264
|
-
zIndex?:
|
1265
|
-
listOverflow?:
|
1266
|
-
listMaxHeight?:
|
1267
|
-
listWidth?:
|
1268
|
-
portal?: string | React.RefObject<HTMLElement
|
1257
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement | undefined;
|
1258
|
+
placeholder?: string | undefined;
|
1259
|
+
helperText?: string | undefined;
|
1260
|
+
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
1261
|
+
textBefore?: string | undefined;
|
1262
|
+
textAfter?: string | undefined;
|
1263
|
+
variant?: "normal" | "tight" | undefined;
|
1264
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
1265
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
1266
|
+
listMaxHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1267
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
1268
|
+
portal?: string | React.RefObject<HTMLElement> | undefined;
|
1269
1269
|
renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
|
1270
1270
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1271
|
-
closeAfterSelect?: boolean;
|
1272
|
-
onChangeValue?: (value: string) => void;
|
1273
|
-
onScroll?: (e: React.UIEvent<HTMLUListElement>) => void;
|
1274
|
-
onToggle?: (isOpen: boolean) => void;
|
1271
|
+
closeAfterSelect?: boolean | undefined;
|
1272
|
+
onChangeValue?: ((value: string) => void) | undefined;
|
1273
|
+
onScroll?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
1274
|
+
onToggle?: ((isOpen: boolean) => void) | undefined;
|
1275
1275
|
beforeList?: React.ReactNode;
|
1276
1276
|
afterList?: React.ReactNode;
|
1277
|
-
virtual?: boolean;
|
1278
|
-
size?: string;
|
1279
|
-
view?: string;
|
1280
|
-
emptyStateDescription?: string;
|
1281
|
-
listHeight?:
|
1277
|
+
virtual?: boolean | undefined;
|
1278
|
+
size?: string | undefined;
|
1279
|
+
view?: string | undefined;
|
1280
|
+
emptyStateDescription?: string | undefined;
|
1281
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
1282
1282
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
1283
|
-
readOnly?: false;
|
1284
|
-
disabled?: false;
|
1285
|
-
alwaysOpened?: true;
|
1283
|
+
readOnly?: false | undefined;
|
1284
|
+
disabled?: false | undefined;
|
1285
|
+
alwaysOpened?: true | undefined;
|
1286
1286
|
} & {
|
1287
1287
|
name: string;
|
1288
|
-
onChange?: React.ChangeEventHandler;
|
1288
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
1289
1289
|
} & {
|
1290
1290
|
multiple: true;
|
1291
|
-
defaultValue?: string[];
|
1292
|
-
value?:
|
1293
|
-
isTargetAmount?: true;
|
1294
|
-
targetAmount?: number;
|
1291
|
+
defaultValue?: string[] | undefined;
|
1292
|
+
value?: undefined;
|
1293
|
+
isTargetAmount?: true | undefined;
|
1294
|
+
targetAmount?: number | undefined;
|
1295
1295
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
1296
1296
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
1297
|
-
hintTrigger?:
|
1298
|
-
hintText?:
|
1299
|
-
hintView?:
|
1300
|
-
hintSize?:
|
1301
|
-
hintTargetIcon?:
|
1302
|
-
hintTargetPlacement?:
|
1303
|
-
hintPlacement?:
|
1304
|
-
hintHasArrow?:
|
1305
|
-
hintOffset?:
|
1306
|
-
hintWidth?:
|
1307
|
-
hintContentLeft?:
|
1297
|
+
hintTrigger?: undefined;
|
1298
|
+
hintText?: undefined;
|
1299
|
+
hintView?: undefined;
|
1300
|
+
hintSize?: undefined;
|
1301
|
+
hintTargetIcon?: undefined;
|
1302
|
+
hintTargetPlacement?: undefined;
|
1303
|
+
hintPlacement?: undefined;
|
1304
|
+
hintHasArrow?: undefined;
|
1305
|
+
hintOffset?: undefined;
|
1306
|
+
hintWidth?: undefined;
|
1307
|
+
hintContentLeft?: undefined;
|
1308
1308
|
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
1309
|
-
type PropsFromConfig = keyof typeof config['variations'];
|
1310
|
-
type PropsOld = ComponentProps<typeof ComboboxOld> & {
|
1309
|
+
declare type PropsFromConfig = keyof typeof config['variations'];
|
1310
|
+
declare type PropsOld = ComponentProps<typeof ComboboxOld> & {
|
1311
1311
|
items?: never;
|
1312
1312
|
};
|
1313
|
-
type PropsNew<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
1314
|
-
type CommonProps<T extends ItemOption> = PropsOld | PropsNew<T>;
|
1315
|
-
declare const Combobox: <T extends ItemOption>(props: CommonProps<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null;
|
1313
|
+
declare type PropsNew<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
|
1314
|
+
declare type CommonProps<T extends ItemOption> = PropsOld | PropsNew<T>;
|
1315
|
+
declare const Combobox: <T extends ItemOption>(props: CommonProps<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
1316
1316
|
export { Combobox };
|