@salutejs/sdds-cs 0.317.0-canary.1991.15252784001.0 → 0.317.0-canary.1992.15255012441.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 +10 -9
- package/components/Attach/Attach.d.ts +159 -158
- package/components/Autocomplete/Autocomplete.d.ts +353 -352
- package/components/Avatar/Avatar.d.ts +47 -46
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
- package/components/Badge/Badge.d.ts +41 -40
- package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
- package/components/Button/Button.d.ts +71 -71
- package/components/ButtonGroup/ButtonGroup.d.ts +1 -0
- package/components/Card/Card.d.ts +6 -5
- package/components/Cell/Cell.d.ts +20 -19
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.d.ts +1 -0
- package/components/Combobox/Combobox.d.ts +951 -951
- package/components/Counter/Counter.d.ts +1 -0
- package/components/DatePicker/DatePicker.d.ts +54 -53
- package/components/Divider/Divider.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +19 -18
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropzone/Dropzone.d.ts +16 -15
- package/components/EmptyState/EmptyState.d.ts +1 -0
- package/components/Flow/Flow.d.ts +2 -1
- package/components/Grid/Grid.d.ts +1 -0
- package/components/IconButton/IconButton.d.ts +36 -35
- package/components/Image/Image.d.ts +4 -3
- package/components/Indicator/Indicator.d.ts +1 -0
- package/components/Link/Link.d.ts +2 -1
- package/components/Mask/Mask.d.ts +225 -224
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +39 -38
- package/components/Pagination/Pagination.d.ts +1 -0
- package/components/Popover/Popover.d.ts +1 -0
- package/components/Price/Price.d.ts +1 -0
- package/components/Progress/Progress.d.ts +1 -0
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +106 -105
- package/components/Rating/Rating.d.ts +14 -13
- package/components/Segment/Segment.d.ts +9 -8
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +1 -0
- package/components/Skeleton/Skeleton.d.ts +5 -4
- package/components/Slider/Slider.d.ts +105 -96
- package/components/Spinner/Spinner.d.ts +14 -9
- package/components/Steps/Steps.d.ts +1 -0
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Table/Table.d.ts +1 -0
- package/components/Tabs/TabItem.d.ts +23 -23
- package/components/Tabs/Tabs.d.ts +1 -1
- package/components/TextArea/TextArea.d.ts +206 -205
- package/components/TextField/TextField.d.ts +225 -224
- package/components/Toast/Toast.d.ts +1 -0
- package/components/ToastNew/ToastNew.d.ts +1 -1
- package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
- package/components/Tokens/Typography/Typography.styles.d.ts +24 -23
- package/components/Toolbar/Toolbar.d.ts +6 -5
- package/components/Tree/Tree.d.ts +1 -0
- package/components/Typography/Typography.d.ts +205 -204
- package/components/ViewContainer/ViewContainer.d.ts +1 -0
- package/mixins/index.d.ts +2 -1
- package/package.json +8 -8
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Поле ввода текста.
|
3
4
|
*/
|
@@ -29,299 +30,299 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
29
30
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
31
|
};
|
31
32
|
}> & (({
|
32
|
-
size?: string;
|
33
|
-
view?: string;
|
34
|
-
readOnly?: boolean;
|
35
|
-
disabled?: boolean;
|
33
|
+
size?: string | undefined;
|
34
|
+
view?: string | undefined;
|
35
|
+
readOnly?: boolean | undefined;
|
36
|
+
disabled?: boolean | undefined;
|
36
37
|
} & {
|
37
38
|
titleCaption?: import("react").ReactNode;
|
38
39
|
leftHelper?: import("react").ReactNode;
|
39
|
-
contentLeft?:
|
40
|
-
contentRight?:
|
41
|
-
textBefore?: string;
|
42
|
-
textAfter?: string;
|
43
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
40
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
41
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
42
|
+
textBefore?: string | undefined;
|
43
|
+
textAfter?: string | undefined;
|
44
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
44
45
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
45
|
-
clear?: boolean;
|
46
|
-
hasDivider?: boolean;
|
46
|
+
clear?: boolean | undefined;
|
47
|
+
hasDivider?: boolean | undefined;
|
47
48
|
} & {
|
48
49
|
hintText: string;
|
49
|
-
hintTrigger?: "
|
50
|
-
hintView?: string;
|
51
|
-
hintSize?: string;
|
50
|
+
hintTrigger?: "click" | "hover" | undefined;
|
51
|
+
hintView?: string | undefined;
|
52
|
+
hintSize?: string | undefined;
|
52
53
|
hintTargetIcon?: import("react").ReactNode;
|
53
|
-
hintTargetPlacement?: "
|
54
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
55
|
-
hintHasArrow?: boolean;
|
56
|
-
hintOffset?: [number, number];
|
57
|
-
hintWidth?: string;
|
54
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
55
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
56
|
+
hintHasArrow?: boolean | undefined;
|
57
|
+
hintOffset?: [number, number] | undefined;
|
58
|
+
hintWidth?: string | undefined;
|
58
59
|
hintContentLeft?: import("react").ReactNode;
|
59
60
|
} & {
|
60
|
-
chips?:
|
61
|
-
onChangeChips?:
|
62
|
-
enumerationType?: "plain";
|
63
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
64
|
-
chipType?:
|
65
|
-
chipView?:
|
66
|
-
chipValidator?:
|
61
|
+
chips?: undefined;
|
62
|
+
onChangeChips?: undefined;
|
63
|
+
enumerationType?: "plain" | undefined;
|
64
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
65
|
+
chipType?: undefined;
|
66
|
+
chipView?: undefined;
|
67
|
+
chipValidator?: undefined;
|
67
68
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
68
|
-
size?: string;
|
69
|
-
view?: string;
|
70
|
-
readOnly?: boolean;
|
71
|
-
disabled?: boolean;
|
69
|
+
size?: string | undefined;
|
70
|
+
view?: string | undefined;
|
71
|
+
readOnly?: boolean | undefined;
|
72
|
+
disabled?: boolean | undefined;
|
72
73
|
} & {
|
73
74
|
titleCaption?: import("react").ReactNode;
|
74
75
|
leftHelper?: import("react").ReactNode;
|
75
|
-
contentLeft?:
|
76
|
-
contentRight?:
|
77
|
-
textBefore?: string;
|
78
|
-
textAfter?: string;
|
79
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
76
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
77
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
78
|
+
textBefore?: string | undefined;
|
79
|
+
textAfter?: string | undefined;
|
80
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
80
81
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
81
|
-
clear?: boolean;
|
82
|
-
hasDivider?: boolean;
|
82
|
+
clear?: boolean | undefined;
|
83
|
+
hasDivider?: boolean | undefined;
|
83
84
|
} & {
|
84
85
|
hintText: string;
|
85
|
-
hintTrigger?: "
|
86
|
-
hintView?: string;
|
87
|
-
hintSize?: string;
|
86
|
+
hintTrigger?: "click" | "hover" | undefined;
|
87
|
+
hintView?: string | undefined;
|
88
|
+
hintSize?: string | undefined;
|
88
89
|
hintTargetIcon?: import("react").ReactNode;
|
89
|
-
hintTargetPlacement?: "
|
90
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
91
|
-
hintHasArrow?: boolean;
|
92
|
-
hintOffset?: [number, number];
|
93
|
-
hintWidth?: string;
|
90
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
91
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
92
|
+
hintHasArrow?: boolean | undefined;
|
93
|
+
hintOffset?: [number, number] | undefined;
|
94
|
+
hintWidth?: string | undefined;
|
94
95
|
hintContentLeft?: import("react").ReactNode;
|
95
96
|
} & {
|
96
97
|
enumerationType: "chip";
|
97
|
-
onSearch?:
|
98
|
-
chips?:
|
99
|
-
onChangeChips?: (value:
|
100
|
-
chipType?: "
|
101
|
-
chipView?: string;
|
102
|
-
chipValidator?: (value: string) => {
|
103
|
-
view?: string;
|
104
|
-
};
|
98
|
+
onSearch?: undefined;
|
99
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
100
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
101
|
+
chipType?: "text" | "default" | undefined;
|
102
|
+
chipView?: string | undefined;
|
103
|
+
chipValidator?: ((value: string) => {
|
104
|
+
view?: string | undefined;
|
105
|
+
}) | undefined;
|
105
106
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
106
|
-
size?: string;
|
107
|
-
view?: string;
|
108
|
-
readOnly?: boolean;
|
109
|
-
disabled?: boolean;
|
107
|
+
size?: string | undefined;
|
108
|
+
view?: string | undefined;
|
109
|
+
readOnly?: boolean | undefined;
|
110
|
+
disabled?: boolean | undefined;
|
110
111
|
} & {
|
111
112
|
titleCaption?: import("react").ReactNode;
|
112
113
|
leftHelper?: import("react").ReactNode;
|
113
|
-
contentLeft?:
|
114
|
-
contentRight?:
|
115
|
-
textBefore?: string;
|
116
|
-
textAfter?: string;
|
117
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
114
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
115
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
116
|
+
textBefore?: string | undefined;
|
117
|
+
textAfter?: string | undefined;
|
118
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
118
119
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
119
|
-
clear?: boolean;
|
120
|
-
hasDivider?: boolean;
|
120
|
+
clear?: boolean | undefined;
|
121
|
+
hasDivider?: boolean | undefined;
|
121
122
|
} & {
|
122
|
-
hintTrigger?:
|
123
|
-
hintText?:
|
124
|
-
hintView?:
|
125
|
-
hintSize?:
|
126
|
-
hintTargetIcon?:
|
127
|
-
hintTargetPlacement?:
|
128
|
-
hintPlacement?:
|
129
|
-
hintHasArrow?:
|
130
|
-
hintOffset?:
|
131
|
-
hintWidth?:
|
132
|
-
hintContentLeft?:
|
123
|
+
hintTrigger?: undefined;
|
124
|
+
hintText?: undefined;
|
125
|
+
hintView?: undefined;
|
126
|
+
hintSize?: undefined;
|
127
|
+
hintTargetIcon?: undefined;
|
128
|
+
hintTargetPlacement?: undefined;
|
129
|
+
hintPlacement?: undefined;
|
130
|
+
hintHasArrow?: undefined;
|
131
|
+
hintOffset?: undefined;
|
132
|
+
hintWidth?: undefined;
|
133
|
+
hintContentLeft?: undefined;
|
133
134
|
} & {
|
134
|
-
chips?:
|
135
|
-
onChangeChips?:
|
136
|
-
enumerationType?: "plain";
|
137
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
138
|
-
chipType?:
|
139
|
-
chipView?:
|
140
|
-
chipValidator?:
|
135
|
+
chips?: undefined;
|
136
|
+
onChangeChips?: undefined;
|
137
|
+
enumerationType?: "plain" | undefined;
|
138
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
139
|
+
chipType?: undefined;
|
140
|
+
chipView?: undefined;
|
141
|
+
chipValidator?: undefined;
|
141
142
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
|
-
size?: string;
|
143
|
-
view?: string;
|
144
|
-
readOnly?: boolean;
|
145
|
-
disabled?: boolean;
|
143
|
+
size?: string | undefined;
|
144
|
+
view?: string | undefined;
|
145
|
+
readOnly?: boolean | undefined;
|
146
|
+
disabled?: boolean | undefined;
|
146
147
|
} & {
|
147
148
|
titleCaption?: import("react").ReactNode;
|
148
149
|
leftHelper?: import("react").ReactNode;
|
149
|
-
contentLeft?:
|
150
|
-
contentRight?:
|
151
|
-
textBefore?: string;
|
152
|
-
textAfter?: string;
|
153
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
150
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
151
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
152
|
+
textBefore?: string | undefined;
|
153
|
+
textAfter?: string | undefined;
|
154
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
154
155
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
155
|
-
clear?: boolean;
|
156
|
-
hasDivider?: boolean;
|
156
|
+
clear?: boolean | undefined;
|
157
|
+
hasDivider?: boolean | undefined;
|
157
158
|
} & {
|
158
|
-
hintTrigger?:
|
159
|
-
hintText?:
|
160
|
-
hintView?:
|
161
|
-
hintSize?:
|
162
|
-
hintTargetIcon?:
|
163
|
-
hintTargetPlacement?:
|
164
|
-
hintPlacement?:
|
165
|
-
hintHasArrow?:
|
166
|
-
hintOffset?:
|
167
|
-
hintWidth?:
|
168
|
-
hintContentLeft?:
|
159
|
+
hintTrigger?: undefined;
|
160
|
+
hintText?: undefined;
|
161
|
+
hintView?: undefined;
|
162
|
+
hintSize?: undefined;
|
163
|
+
hintTargetIcon?: undefined;
|
164
|
+
hintTargetPlacement?: undefined;
|
165
|
+
hintPlacement?: undefined;
|
166
|
+
hintHasArrow?: undefined;
|
167
|
+
hintOffset?: undefined;
|
168
|
+
hintWidth?: undefined;
|
169
|
+
hintContentLeft?: undefined;
|
169
170
|
} & {
|
170
171
|
enumerationType: "chip";
|
171
|
-
onSearch?:
|
172
|
-
chips?:
|
173
|
-
onChangeChips?: (value:
|
174
|
-
chipType?: "
|
175
|
-
chipView?: string;
|
176
|
-
chipValidator?: (value: string) => {
|
177
|
-
view?: string;
|
178
|
-
};
|
172
|
+
onSearch?: undefined;
|
173
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
174
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
175
|
+
chipType?: "text" | "default" | undefined;
|
176
|
+
chipView?: string | undefined;
|
177
|
+
chipValidator?: ((value: string) => {
|
178
|
+
view?: string | undefined;
|
179
|
+
}) | undefined;
|
179
180
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
180
|
-
size?: string;
|
181
|
-
view?: string;
|
182
|
-
readOnly?: boolean;
|
183
|
-
disabled?: boolean;
|
181
|
+
size?: string | undefined;
|
182
|
+
view?: string | undefined;
|
183
|
+
readOnly?: boolean | undefined;
|
184
|
+
disabled?: boolean | undefined;
|
184
185
|
} & {
|
185
186
|
titleCaption?: import("react").ReactNode;
|
186
187
|
leftHelper?: import("react").ReactNode;
|
187
|
-
contentLeft?:
|
188
|
-
contentRight?:
|
189
|
-
textBefore?: string;
|
190
|
-
textAfter?: string;
|
191
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
188
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
189
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
190
|
+
textBefore?: string | undefined;
|
191
|
+
textAfter?: string | undefined;
|
192
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
192
193
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
193
|
-
clear?: false;
|
194
|
-
hasDivider?:
|
194
|
+
clear?: false | undefined;
|
195
|
+
hasDivider?: undefined;
|
195
196
|
} & {
|
196
197
|
hintText: string;
|
197
|
-
hintTrigger?: "
|
198
|
-
hintView?: string;
|
199
|
-
hintSize?: string;
|
198
|
+
hintTrigger?: "click" | "hover" | undefined;
|
199
|
+
hintView?: string | undefined;
|
200
|
+
hintSize?: string | undefined;
|
200
201
|
hintTargetIcon?: import("react").ReactNode;
|
201
|
-
hintTargetPlacement?: "
|
202
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
203
|
-
hintHasArrow?: boolean;
|
204
|
-
hintOffset?: [number, number];
|
205
|
-
hintWidth?: string;
|
202
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
203
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
204
|
+
hintHasArrow?: boolean | undefined;
|
205
|
+
hintOffset?: [number, number] | undefined;
|
206
|
+
hintWidth?: string | undefined;
|
206
207
|
hintContentLeft?: import("react").ReactNode;
|
207
208
|
} & {
|
208
|
-
chips?:
|
209
|
-
onChangeChips?:
|
210
|
-
enumerationType?: "plain";
|
211
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
212
|
-
chipType?:
|
213
|
-
chipView?:
|
214
|
-
chipValidator?:
|
209
|
+
chips?: undefined;
|
210
|
+
onChangeChips?: undefined;
|
211
|
+
enumerationType?: "plain" | undefined;
|
212
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
213
|
+
chipType?: undefined;
|
214
|
+
chipView?: undefined;
|
215
|
+
chipValidator?: undefined;
|
215
216
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
216
|
-
size?: string;
|
217
|
-
view?: string;
|
218
|
-
readOnly?: boolean;
|
219
|
-
disabled?: boolean;
|
217
|
+
size?: string | undefined;
|
218
|
+
view?: string | undefined;
|
219
|
+
readOnly?: boolean | undefined;
|
220
|
+
disabled?: boolean | undefined;
|
220
221
|
} & {
|
221
222
|
titleCaption?: import("react").ReactNode;
|
222
223
|
leftHelper?: import("react").ReactNode;
|
223
|
-
contentLeft?:
|
224
|
-
contentRight?:
|
225
|
-
textBefore?: string;
|
226
|
-
textAfter?: string;
|
227
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
224
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
225
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
226
|
+
textBefore?: string | undefined;
|
227
|
+
textAfter?: string | undefined;
|
228
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
228
229
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
229
|
-
clear?: false;
|
230
|
-
hasDivider?:
|
230
|
+
clear?: false | undefined;
|
231
|
+
hasDivider?: undefined;
|
231
232
|
} & {
|
232
233
|
hintText: string;
|
233
|
-
hintTrigger?: "
|
234
|
-
hintView?: string;
|
235
|
-
hintSize?: string;
|
234
|
+
hintTrigger?: "click" | "hover" | undefined;
|
235
|
+
hintView?: string | undefined;
|
236
|
+
hintSize?: string | undefined;
|
236
237
|
hintTargetIcon?: import("react").ReactNode;
|
237
|
-
hintTargetPlacement?: "
|
238
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
239
|
-
hintHasArrow?: boolean;
|
240
|
-
hintOffset?: [number, number];
|
241
|
-
hintWidth?: string;
|
238
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
239
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
240
|
+
hintHasArrow?: boolean | undefined;
|
241
|
+
hintOffset?: [number, number] | undefined;
|
242
|
+
hintWidth?: string | undefined;
|
242
243
|
hintContentLeft?: import("react").ReactNode;
|
243
244
|
} & {
|
244
245
|
enumerationType: "chip";
|
245
|
-
onSearch?:
|
246
|
-
chips?:
|
247
|
-
onChangeChips?: (value:
|
248
|
-
chipType?: "
|
249
|
-
chipView?: string;
|
250
|
-
chipValidator?: (value: string) => {
|
251
|
-
view?: string;
|
252
|
-
};
|
246
|
+
onSearch?: undefined;
|
247
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
248
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
249
|
+
chipType?: "text" | "default" | undefined;
|
250
|
+
chipView?: string | undefined;
|
251
|
+
chipValidator?: ((value: string) => {
|
252
|
+
view?: string | undefined;
|
253
|
+
}) | undefined;
|
253
254
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
254
|
-
size?: string;
|
255
|
-
view?: string;
|
256
|
-
readOnly?: boolean;
|
257
|
-
disabled?: boolean;
|
255
|
+
size?: string | undefined;
|
256
|
+
view?: string | undefined;
|
257
|
+
readOnly?: boolean | undefined;
|
258
|
+
disabled?: boolean | undefined;
|
258
259
|
} & {
|
259
260
|
titleCaption?: import("react").ReactNode;
|
260
261
|
leftHelper?: import("react").ReactNode;
|
261
|
-
contentLeft?:
|
262
|
-
contentRight?:
|
263
|
-
textBefore?: string;
|
264
|
-
textAfter?: string;
|
265
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
262
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
263
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
264
|
+
textBefore?: string | undefined;
|
265
|
+
textAfter?: string | undefined;
|
266
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
266
267
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
267
|
-
clear?: false;
|
268
|
-
hasDivider?:
|
268
|
+
clear?: false | undefined;
|
269
|
+
hasDivider?: undefined;
|
269
270
|
} & {
|
270
|
-
hintTrigger?:
|
271
|
-
hintText?:
|
272
|
-
hintView?:
|
273
|
-
hintSize?:
|
274
|
-
hintTargetIcon?:
|
275
|
-
hintTargetPlacement?:
|
276
|
-
hintPlacement?:
|
277
|
-
hintHasArrow?:
|
278
|
-
hintOffset?:
|
279
|
-
hintWidth?:
|
280
|
-
hintContentLeft?:
|
271
|
+
hintTrigger?: undefined;
|
272
|
+
hintText?: undefined;
|
273
|
+
hintView?: undefined;
|
274
|
+
hintSize?: undefined;
|
275
|
+
hintTargetIcon?: undefined;
|
276
|
+
hintTargetPlacement?: undefined;
|
277
|
+
hintPlacement?: undefined;
|
278
|
+
hintHasArrow?: undefined;
|
279
|
+
hintOffset?: undefined;
|
280
|
+
hintWidth?: undefined;
|
281
|
+
hintContentLeft?: undefined;
|
281
282
|
} & {
|
282
|
-
chips?:
|
283
|
-
onChangeChips?:
|
284
|
-
enumerationType?: "plain";
|
285
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
286
|
-
chipType?:
|
287
|
-
chipView?:
|
288
|
-
chipValidator?:
|
283
|
+
chips?: undefined;
|
284
|
+
onChangeChips?: undefined;
|
285
|
+
enumerationType?: "plain" | undefined;
|
286
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
287
|
+
chipType?: undefined;
|
288
|
+
chipView?: undefined;
|
289
|
+
chipValidator?: undefined;
|
289
290
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
290
|
-
size?: string;
|
291
|
-
view?: string;
|
292
|
-
readOnly?: boolean;
|
293
|
-
disabled?: boolean;
|
291
|
+
size?: string | undefined;
|
292
|
+
view?: string | undefined;
|
293
|
+
readOnly?: boolean | undefined;
|
294
|
+
disabled?: boolean | undefined;
|
294
295
|
} & {
|
295
296
|
titleCaption?: import("react").ReactNode;
|
296
297
|
leftHelper?: import("react").ReactNode;
|
297
|
-
contentLeft?:
|
298
|
-
contentRight?:
|
299
|
-
textBefore?: string;
|
300
|
-
textAfter?: string;
|
301
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
298
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
299
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
300
|
+
textBefore?: string | undefined;
|
301
|
+
textAfter?: string | undefined;
|
302
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
302
303
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
303
|
-
clear?: false;
|
304
|
-
hasDivider?:
|
304
|
+
clear?: false | undefined;
|
305
|
+
hasDivider?: undefined;
|
305
306
|
} & {
|
306
|
-
hintTrigger?:
|
307
|
-
hintText?:
|
308
|
-
hintView?:
|
309
|
-
hintSize?:
|
310
|
-
hintTargetIcon?:
|
311
|
-
hintTargetPlacement?:
|
312
|
-
hintPlacement?:
|
313
|
-
hintHasArrow?:
|
314
|
-
hintOffset?:
|
315
|
-
hintWidth?:
|
316
|
-
hintContentLeft?:
|
307
|
+
hintTrigger?: undefined;
|
308
|
+
hintText?: undefined;
|
309
|
+
hintView?: undefined;
|
310
|
+
hintSize?: undefined;
|
311
|
+
hintTargetIcon?: undefined;
|
312
|
+
hintTargetPlacement?: undefined;
|
313
|
+
hintPlacement?: undefined;
|
314
|
+
hintHasArrow?: undefined;
|
315
|
+
hintOffset?: undefined;
|
316
|
+
hintWidth?: undefined;
|
317
|
+
hintContentLeft?: undefined;
|
317
318
|
} & {
|
318
319
|
enumerationType: "chip";
|
319
|
-
onSearch?:
|
320
|
-
chips?:
|
321
|
-
onChangeChips?: (value:
|
322
|
-
chipType?: "
|
323
|
-
chipView?: string;
|
324
|
-
chipValidator?: (value: string) => {
|
325
|
-
view?: string;
|
326
|
-
};
|
320
|
+
onSearch?: undefined;
|
321
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
322
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
323
|
+
chipType?: "text" | "default" | undefined;
|
324
|
+
chipView?: string | undefined;
|
325
|
+
chipValidator?: ((value: string) => {
|
326
|
+
view?: string | undefined;
|
327
|
+
}) | undefined;
|
327
328
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -11,6 +11,6 @@ export declare const ToastContainer: import("react").FunctionComponent<import("@
|
|
11
11
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
12
|
};
|
13
13
|
}> & import("@salutejs/plasma-new-hope/types/components/Toast/ToastNew/ToastNew.types").ToastContainerProps & import("react").RefAttributes<HTMLDivElement>>;
|
14
|
-
type ShowToastType = (text: string, options?: Omit<ShowToastPlasmaOptions, 'view' | 'size' | 'pilled'> & Pick<ComponentProps<typeof ToastContainer>, 'view' | 'size' | 'pilled'>) => void;
|
14
|
+
declare type ShowToastType = (text: string, options?: Omit<ShowToastPlasmaOptions, 'view' | 'size' | 'pilled'> & Pick<ComponentProps<typeof ToastContainer>, 'view' | 'size' | 'pilled'>) => void;
|
15
15
|
declare const showToast: ShowToastType;
|
16
16
|
export { showToast };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const ColorTokensWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
2
3
|
export declare const SubthemeSwitcher: import("styled-components").StyledComponent<"div", any, {}, never>;
|
3
4
|
export declare const StyledSegmentItem: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
@@ -16,34 +17,34 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
16
17
|
};
|
17
18
|
}> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
18
19
|
value: string;
|
19
|
-
id?: string;
|
20
|
-
label?:
|
21
|
-
pilled?: boolean;
|
22
|
-
customHandleSelect?: (e: import("react").MouseEvent<HTMLButtonElement>) => void;
|
23
|
-
size?: string;
|
24
|
-
view?: string;
|
25
|
-
contentLeft?:
|
26
|
-
contentRight?:
|
20
|
+
id?: string | undefined;
|
21
|
+
label?: import("react").ReactNode;
|
22
|
+
pilled?: boolean | undefined;
|
23
|
+
customHandleSelect?: ((e: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
24
|
+
size?: string | undefined;
|
25
|
+
view?: string | undefined;
|
26
|
+
contentLeft?: import("react").ReactNode;
|
27
|
+
contentRight?: import("react").ReactNode;
|
27
28
|
} & import("react").RefAttributes<HTMLLabelElement>>, any, {}, never>;
|
28
29
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
29
30
|
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
30
31
|
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
32
|
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
32
|
-
value?: boolean;
|
33
|
-
type?: "clear" | "arrow" | "sign";
|
34
|
-
contentLeft?:
|
35
|
-
alignWithTitle?: boolean;
|
36
|
-
contentRight?:
|
37
|
-
pin?:
|
38
|
-
title?:
|
39
|
-
children:
|
40
|
-
onChange?: (index: number, value: boolean) => void;
|
41
|
-
onClick?: (index: number, value: boolean) => void;
|
42
|
-
disabled?: boolean;
|
43
|
-
opened?: boolean;
|
44
|
-
eventKey?: number;
|
45
|
-
index?: number;
|
46
|
-
view?: string;
|
33
|
+
value?: boolean | undefined;
|
34
|
+
type?: "clear" | "arrow" | "sign" | undefined;
|
35
|
+
contentLeft?: import("react").ReactNode;
|
36
|
+
alignWithTitle?: boolean | undefined;
|
37
|
+
contentRight?: import("react").ReactNode;
|
38
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
39
|
+
title?: import("react").ReactNode;
|
40
|
+
children: import("react").ReactNode;
|
41
|
+
onChange?: ((index: number, value: boolean) => void) | undefined;
|
42
|
+
onClick?: ((index: number, value: boolean) => void) | undefined;
|
43
|
+
disabled?: boolean | undefined;
|
44
|
+
opened?: boolean | undefined;
|
45
|
+
eventKey?: number | undefined;
|
46
|
+
index?: number | undefined;
|
47
|
+
view?: string | undefined;
|
47
48
|
} & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
48
49
|
export declare const TokenInfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
49
50
|
export declare const ColorTokenDataWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
@@ -51,6 +52,6 @@ export declare const StateDataWrapper: import("styled-components").StyledCompone
|
|
51
52
|
export declare const OpacityPart: import("styled-components").StyledComponent<"span", any, {}, never>;
|
52
53
|
export declare const TokenInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
53
54
|
export declare const ColorCircle: import("styled-components").StyledComponent<"div", any, {
|
54
|
-
background?: string;
|
55
|
-
disableShadow?: boolean;
|
55
|
+
background?: string | undefined;
|
56
|
+
disableShadow?: boolean | undefined;
|
56
57
|
}, never>;
|