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