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