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