@salutejs/plasma-web 1.571.1-canary.1868.14054564913.0 → 1.572.0-canary.1870.14062223595.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/plasma-web.api.md +1490 -1488
- package/components/Accordion/Accordion.d.ts +10 -9
- package/components/Attach/Attach.d.ts +159 -158
- package/components/Autocomplete/Autocomplete.d.ts +193 -192
- package/components/Avatar/Avatar.d.ts +47 -46
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
- package/components/Badge/Badge.d.ts +41 -40
- package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
- package/components/Button/Button.d.ts +36 -35
- package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/components/Cell/Cell.d.ts +20 -19
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.d.ts +1 -0
- package/components/Combobox/Combobox.d.ts +953 -953
- package/components/Combobox/Legacy/Combobox.d.ts +37 -36
- package/components/Counter/Counter.d.ts +1 -0
- package/components/DatePicker/DatePicker.d.ts +51 -50
- package/components/Divider/Divider.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +19 -18
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +16 -15
- package/components/Editable/Editable.d.ts +1 -0
- package/components/EmptyState/EmptyState.d.ts +1 -0
- package/components/Flow/Flow.d.ts +2 -1
- package/components/Grid/Grid.d.ts +1 -0
- package/components/IconButton/IconButton.d.ts +36 -35
- package/components/Image/Image.d.ts +4 -3
- package/components/Indicator/Indicator.d.ts +1 -0
- package/components/Link/Link.d.ts +1 -0
- package/components/LinkButton/LinkButton.d.ts +9 -8
- package/components/Mask/Mask.d.ts +225 -224
- package/components/Note/Note.d.ts +10 -9
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +39 -38
- package/components/Pagination/Pagination.d.ts +1 -0
- package/components/Popover/Popover.d.ts +1 -0
- package/components/Price/Price.d.ts +1 -0
- package/components/Progress/Progress.d.ts +1 -0
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +106 -105
- package/components/Rating/Rating.d.ts +14 -13
- package/components/Segment/Segment.d.ts +9 -8
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +1 -0
- package/components/Skeleton/Skeleton.d.ts +5 -4
- package/components/Slider/Slider.d.ts +113 -104
- package/components/Steps/Steps.d.ts +1 -0
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +7 -5
- package/components/TextArea/TextArea.d.ts +206 -205
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +269 -261
- package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
- package/components/Toast/Toast.d.ts +1 -0
- package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
- package/components/Toolbar/Toolbar.d.ts +6 -5
- package/components/Tree/Tree.d.ts +1 -0
- package/components/Typography/Old/index.d.ts +10 -9
- package/components/Typography/Typography.d.ts +52 -51
- package/mixins/index.d.ts +2 -1
- package/package.json +11 -11
- package/temp/plasma-web.api.md +1490 -1488
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const Autocomplete: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
2
3
|
view: {
|
3
4
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -31,257 +32,257 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
|
|
31
32
|
}> & ((import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
32
33
|
titleCaption?: import("react").ReactNode;
|
33
34
|
leftHelper?: import("react").ReactNode;
|
34
|
-
contentLeft?:
|
35
|
-
contentRight?:
|
36
|
-
textBefore?: string;
|
37
|
-
textAfter?: string;
|
38
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
35
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
37
|
+
textBefore?: string | undefined;
|
38
|
+
textAfter?: string | undefined;
|
39
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
39
40
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
40
|
-
clear?: boolean;
|
41
|
-
hasDivider?: boolean;
|
41
|
+
clear?: boolean | undefined;
|
42
|
+
hasDivider?: boolean | undefined;
|
42
43
|
} & {
|
43
44
|
hintText: string;
|
44
|
-
hintTrigger?: "hover" | "click";
|
45
|
-
hintView?: string;
|
46
|
-
hintSize?: string;
|
45
|
+
hintTrigger?: "hover" | "click" | undefined;
|
46
|
+
hintView?: string | undefined;
|
47
|
+
hintSize?: string | undefined;
|
47
48
|
hintTargetIcon?: import("react").ReactNode;
|
48
|
-
hintTargetPlacement?: "
|
49
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
50
|
-
hintHasArrow?: boolean;
|
51
|
-
hintOffset?: [number, number];
|
52
|
-
hintWidth?: string;
|
49
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
50
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
51
|
+
hintHasArrow?: boolean | undefined;
|
52
|
+
hintOffset?: [number, number] | undefined;
|
53
|
+
hintWidth?: string | undefined;
|
53
54
|
hintContentLeft?: import("react").ReactNode;
|
54
55
|
} & {
|
55
|
-
chips?:
|
56
|
-
onChangeChips?:
|
57
|
-
enumerationType?: "plain";
|
58
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
59
|
-
chipType?:
|
60
|
-
chipView?:
|
61
|
-
chipValidator?:
|
56
|
+
chips?: undefined;
|
57
|
+
onChangeChips?: undefined;
|
58
|
+
enumerationType?: "plain" | undefined;
|
59
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
60
|
+
chipType?: undefined;
|
61
|
+
chipView?: undefined;
|
62
|
+
chipValidator?: undefined;
|
62
63
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
63
64
|
titleCaption?: import("react").ReactNode;
|
64
65
|
leftHelper?: import("react").ReactNode;
|
65
|
-
contentLeft?:
|
66
|
-
contentRight?:
|
67
|
-
textBefore?: string;
|
68
|
-
textAfter?: string;
|
69
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
66
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
67
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
68
|
+
textBefore?: string | undefined;
|
69
|
+
textAfter?: string | undefined;
|
70
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
70
71
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
71
|
-
clear?: boolean;
|
72
|
-
hasDivider?: boolean;
|
72
|
+
clear?: boolean | undefined;
|
73
|
+
hasDivider?: boolean | undefined;
|
73
74
|
} & {
|
74
75
|
hintText: string;
|
75
|
-
hintTrigger?: "hover" | "click";
|
76
|
-
hintView?: string;
|
77
|
-
hintSize?: string;
|
76
|
+
hintTrigger?: "hover" | "click" | undefined;
|
77
|
+
hintView?: string | undefined;
|
78
|
+
hintSize?: string | undefined;
|
78
79
|
hintTargetIcon?: import("react").ReactNode;
|
79
|
-
hintTargetPlacement?: "
|
80
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
81
|
-
hintHasArrow?: boolean;
|
82
|
-
hintOffset?: [number, number];
|
83
|
-
hintWidth?: string;
|
80
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
81
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
82
|
+
hintHasArrow?: boolean | undefined;
|
83
|
+
hintOffset?: [number, number] | undefined;
|
84
|
+
hintWidth?: string | undefined;
|
84
85
|
hintContentLeft?: import("react").ReactNode;
|
85
86
|
} & {
|
86
87
|
enumerationType: "chip";
|
87
|
-
onSearch?:
|
88
|
-
chips?:
|
89
|
-
onChangeChips?: (value:
|
90
|
-
chipType?: "default" | "text";
|
91
|
-
chipView?: string;
|
92
|
-
chipValidator?: (value: string) => {
|
93
|
-
view?: string;
|
94
|
-
};
|
88
|
+
onSearch?: undefined;
|
89
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
90
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
91
|
+
chipType?: "default" | "text" | undefined;
|
92
|
+
chipView?: string | undefined;
|
93
|
+
chipValidator?: ((value: string) => {
|
94
|
+
view?: string | undefined;
|
95
|
+
}) | undefined;
|
95
96
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
96
97
|
titleCaption?: import("react").ReactNode;
|
97
98
|
leftHelper?: import("react").ReactNode;
|
98
|
-
contentLeft?:
|
99
|
-
contentRight?:
|
100
|
-
textBefore?: string;
|
101
|
-
textAfter?: string;
|
102
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
99
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
100
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
101
|
+
textBefore?: string | undefined;
|
102
|
+
textAfter?: string | undefined;
|
103
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
103
104
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
104
|
-
clear?: boolean;
|
105
|
-
hasDivider?: boolean;
|
105
|
+
clear?: boolean | undefined;
|
106
|
+
hasDivider?: boolean | undefined;
|
106
107
|
} & {
|
107
|
-
hintTrigger?:
|
108
|
-
hintText?:
|
109
|
-
hintView?:
|
110
|
-
hintSize?:
|
111
|
-
hintTargetIcon?:
|
112
|
-
hintTargetPlacement?:
|
113
|
-
hintPlacement?:
|
114
|
-
hintHasArrow?:
|
115
|
-
hintOffset?:
|
116
|
-
hintWidth?:
|
117
|
-
hintContentLeft?:
|
108
|
+
hintTrigger?: undefined;
|
109
|
+
hintText?: undefined;
|
110
|
+
hintView?: undefined;
|
111
|
+
hintSize?: undefined;
|
112
|
+
hintTargetIcon?: undefined;
|
113
|
+
hintTargetPlacement?: undefined;
|
114
|
+
hintPlacement?: undefined;
|
115
|
+
hintHasArrow?: undefined;
|
116
|
+
hintOffset?: undefined;
|
117
|
+
hintWidth?: undefined;
|
118
|
+
hintContentLeft?: undefined;
|
118
119
|
} & {
|
119
|
-
chips?:
|
120
|
-
onChangeChips?:
|
121
|
-
enumerationType?: "plain";
|
122
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
123
|
-
chipType?:
|
124
|
-
chipView?:
|
125
|
-
chipValidator?:
|
120
|
+
chips?: undefined;
|
121
|
+
onChangeChips?: undefined;
|
122
|
+
enumerationType?: "plain" | undefined;
|
123
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
124
|
+
chipType?: undefined;
|
125
|
+
chipView?: undefined;
|
126
|
+
chipValidator?: undefined;
|
126
127
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
127
128
|
titleCaption?: import("react").ReactNode;
|
128
129
|
leftHelper?: import("react").ReactNode;
|
129
|
-
contentLeft?:
|
130
|
-
contentRight?:
|
131
|
-
textBefore?: string;
|
132
|
-
textAfter?: string;
|
133
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
130
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
131
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
132
|
+
textBefore?: string | undefined;
|
133
|
+
textAfter?: string | undefined;
|
134
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
134
135
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
135
|
-
clear?: boolean;
|
136
|
-
hasDivider?: boolean;
|
136
|
+
clear?: boolean | undefined;
|
137
|
+
hasDivider?: boolean | undefined;
|
137
138
|
} & {
|
138
|
-
hintTrigger?:
|
139
|
-
hintText?:
|
140
|
-
hintView?:
|
141
|
-
hintSize?:
|
142
|
-
hintTargetIcon?:
|
143
|
-
hintTargetPlacement?:
|
144
|
-
hintPlacement?:
|
145
|
-
hintHasArrow?:
|
146
|
-
hintOffset?:
|
147
|
-
hintWidth?:
|
148
|
-
hintContentLeft?:
|
139
|
+
hintTrigger?: undefined;
|
140
|
+
hintText?: undefined;
|
141
|
+
hintView?: undefined;
|
142
|
+
hintSize?: undefined;
|
143
|
+
hintTargetIcon?: undefined;
|
144
|
+
hintTargetPlacement?: undefined;
|
145
|
+
hintPlacement?: undefined;
|
146
|
+
hintHasArrow?: undefined;
|
147
|
+
hintOffset?: undefined;
|
148
|
+
hintWidth?: undefined;
|
149
|
+
hintContentLeft?: undefined;
|
149
150
|
} & {
|
150
151
|
enumerationType: "chip";
|
151
|
-
onSearch?:
|
152
|
-
chips?:
|
153
|
-
onChangeChips?: (value:
|
154
|
-
chipType?: "default" | "text";
|
155
|
-
chipView?: string;
|
156
|
-
chipValidator?: (value: string) => {
|
157
|
-
view?: string;
|
158
|
-
};
|
152
|
+
onSearch?: undefined;
|
153
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
154
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
155
|
+
chipType?: "default" | "text" | undefined;
|
156
|
+
chipView?: string | undefined;
|
157
|
+
chipValidator?: ((value: string) => {
|
158
|
+
view?: string | undefined;
|
159
|
+
}) | undefined;
|
159
160
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
160
161
|
titleCaption?: import("react").ReactNode;
|
161
162
|
leftHelper?: import("react").ReactNode;
|
162
|
-
contentLeft?:
|
163
|
-
contentRight?:
|
164
|
-
textBefore?: string;
|
165
|
-
textAfter?: string;
|
166
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
163
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
164
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
165
|
+
textBefore?: string | undefined;
|
166
|
+
textAfter?: string | undefined;
|
167
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
167
168
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
168
|
-
clear?: false;
|
169
|
-
hasDivider?:
|
169
|
+
clear?: false | undefined;
|
170
|
+
hasDivider?: undefined;
|
170
171
|
} & {
|
171
172
|
hintText: string;
|
172
|
-
hintTrigger?: "hover" | "click";
|
173
|
-
hintView?: string;
|
174
|
-
hintSize?: string;
|
173
|
+
hintTrigger?: "hover" | "click" | undefined;
|
174
|
+
hintView?: string | undefined;
|
175
|
+
hintSize?: string | undefined;
|
175
176
|
hintTargetIcon?: import("react").ReactNode;
|
176
|
-
hintTargetPlacement?: "
|
177
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
178
|
-
hintHasArrow?: boolean;
|
179
|
-
hintOffset?: [number, number];
|
180
|
-
hintWidth?: string;
|
177
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
178
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
179
|
+
hintHasArrow?: boolean | undefined;
|
180
|
+
hintOffset?: [number, number] | undefined;
|
181
|
+
hintWidth?: string | undefined;
|
181
182
|
hintContentLeft?: import("react").ReactNode;
|
182
183
|
} & {
|
183
|
-
chips?:
|
184
|
-
onChangeChips?:
|
185
|
-
enumerationType?: "plain";
|
186
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
187
|
-
chipType?:
|
188
|
-
chipView?:
|
189
|
-
chipValidator?:
|
184
|
+
chips?: undefined;
|
185
|
+
onChangeChips?: undefined;
|
186
|
+
enumerationType?: "plain" | undefined;
|
187
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
188
|
+
chipType?: undefined;
|
189
|
+
chipView?: undefined;
|
190
|
+
chipValidator?: undefined;
|
190
191
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
191
192
|
titleCaption?: import("react").ReactNode;
|
192
193
|
leftHelper?: import("react").ReactNode;
|
193
|
-
contentLeft?:
|
194
|
-
contentRight?:
|
195
|
-
textBefore?: string;
|
196
|
-
textAfter?: string;
|
197
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
194
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
195
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
196
|
+
textBefore?: string | undefined;
|
197
|
+
textAfter?: string | undefined;
|
198
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
198
199
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
199
|
-
clear?: false;
|
200
|
-
hasDivider?:
|
200
|
+
clear?: false | undefined;
|
201
|
+
hasDivider?: undefined;
|
201
202
|
} & {
|
202
203
|
hintText: string;
|
203
|
-
hintTrigger?: "hover" | "click";
|
204
|
-
hintView?: string;
|
205
|
-
hintSize?: string;
|
204
|
+
hintTrigger?: "hover" | "click" | undefined;
|
205
|
+
hintView?: string | undefined;
|
206
|
+
hintSize?: string | undefined;
|
206
207
|
hintTargetIcon?: import("react").ReactNode;
|
207
|
-
hintTargetPlacement?: "
|
208
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
209
|
-
hintHasArrow?: boolean;
|
210
|
-
hintOffset?: [number, number];
|
211
|
-
hintWidth?: string;
|
208
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
209
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
210
|
+
hintHasArrow?: boolean | undefined;
|
211
|
+
hintOffset?: [number, number] | undefined;
|
212
|
+
hintWidth?: string | undefined;
|
212
213
|
hintContentLeft?: import("react").ReactNode;
|
213
214
|
} & {
|
214
215
|
enumerationType: "chip";
|
215
|
-
onSearch?:
|
216
|
-
chips?:
|
217
|
-
onChangeChips?: (value:
|
218
|
-
chipType?: "default" | "text";
|
219
|
-
chipView?: string;
|
220
|
-
chipValidator?: (value: string) => {
|
221
|
-
view?: string;
|
222
|
-
};
|
216
|
+
onSearch?: undefined;
|
217
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
218
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
219
|
+
chipType?: "default" | "text" | undefined;
|
220
|
+
chipView?: string | undefined;
|
221
|
+
chipValidator?: ((value: string) => {
|
222
|
+
view?: string | undefined;
|
223
|
+
}) | undefined;
|
223
224
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
224
225
|
titleCaption?: import("react").ReactNode;
|
225
226
|
leftHelper?: import("react").ReactNode;
|
226
|
-
contentLeft?:
|
227
|
-
contentRight?:
|
228
|
-
textBefore?: string;
|
229
|
-
textAfter?: string;
|
230
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
227
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
228
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
229
|
+
textBefore?: string | undefined;
|
230
|
+
textAfter?: string | undefined;
|
231
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
231
232
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
232
|
-
clear?: false;
|
233
|
-
hasDivider?:
|
233
|
+
clear?: false | undefined;
|
234
|
+
hasDivider?: undefined;
|
234
235
|
} & {
|
235
|
-
hintTrigger?:
|
236
|
-
hintText?:
|
237
|
-
hintView?:
|
238
|
-
hintSize?:
|
239
|
-
hintTargetIcon?:
|
240
|
-
hintTargetPlacement?:
|
241
|
-
hintPlacement?:
|
242
|
-
hintHasArrow?:
|
243
|
-
hintOffset?:
|
244
|
-
hintWidth?:
|
245
|
-
hintContentLeft?:
|
236
|
+
hintTrigger?: undefined;
|
237
|
+
hintText?: undefined;
|
238
|
+
hintView?: undefined;
|
239
|
+
hintSize?: undefined;
|
240
|
+
hintTargetIcon?: undefined;
|
241
|
+
hintTargetPlacement?: undefined;
|
242
|
+
hintPlacement?: undefined;
|
243
|
+
hintHasArrow?: undefined;
|
244
|
+
hintOffset?: undefined;
|
245
|
+
hintWidth?: undefined;
|
246
|
+
hintContentLeft?: undefined;
|
246
247
|
} & {
|
247
|
-
chips?:
|
248
|
-
onChangeChips?:
|
249
|
-
enumerationType?: "plain";
|
250
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
251
|
-
chipType?:
|
252
|
-
chipView?:
|
253
|
-
chipValidator?:
|
248
|
+
chips?: undefined;
|
249
|
+
onChangeChips?: undefined;
|
250
|
+
enumerationType?: "plain" | undefined;
|
251
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
252
|
+
chipType?: undefined;
|
253
|
+
chipView?: undefined;
|
254
|
+
chipValidator?: undefined;
|
254
255
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
|
255
256
|
titleCaption?: import("react").ReactNode;
|
256
257
|
leftHelper?: import("react").ReactNode;
|
257
|
-
contentLeft?:
|
258
|
-
contentRight?:
|
259
|
-
textBefore?: string;
|
260
|
-
textAfter?: string;
|
261
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
258
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
259
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
260
|
+
textBefore?: string | undefined;
|
261
|
+
textAfter?: string | undefined;
|
262
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
262
263
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
263
|
-
clear?: false;
|
264
|
-
hasDivider?:
|
264
|
+
clear?: false | undefined;
|
265
|
+
hasDivider?: undefined;
|
265
266
|
} & {
|
266
|
-
hintTrigger?:
|
267
|
-
hintText?:
|
268
|
-
hintView?:
|
269
|
-
hintSize?:
|
270
|
-
hintTargetIcon?:
|
271
|
-
hintTargetPlacement?:
|
272
|
-
hintPlacement?:
|
273
|
-
hintHasArrow?:
|
274
|
-
hintOffset?:
|
275
|
-
hintWidth?:
|
276
|
-
hintContentLeft?:
|
267
|
+
hintTrigger?: undefined;
|
268
|
+
hintText?: undefined;
|
269
|
+
hintView?: undefined;
|
270
|
+
hintSize?: undefined;
|
271
|
+
hintTargetIcon?: undefined;
|
272
|
+
hintTargetPlacement?: undefined;
|
273
|
+
hintPlacement?: undefined;
|
274
|
+
hintHasArrow?: undefined;
|
275
|
+
hintOffset?: undefined;
|
276
|
+
hintWidth?: undefined;
|
277
|
+
hintContentLeft?: undefined;
|
277
278
|
} & {
|
278
279
|
enumerationType: "chip";
|
279
|
-
onSearch?:
|
280
|
-
chips?:
|
281
|
-
onChangeChips?: (value:
|
282
|
-
chipType?: "default" | "text";
|
283
|
-
chipView?: string;
|
284
|
-
chipValidator?: (value: string) => {
|
285
|
-
view?: string;
|
286
|
-
};
|
280
|
+
onSearch?: undefined;
|
281
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
282
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
283
|
+
chipType?: "default" | "text" | undefined;
|
284
|
+
chipView?: string | undefined;
|
285
|
+
chipValidator?: ((value: string) => {
|
286
|
+
view?: string | undefined;
|
287
|
+
}) | undefined;
|
287
288
|
}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
|
2
3
|
view: {
|
3
4
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -63,17 +64,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
63
64
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
64
65
|
};
|
65
66
|
}>, (import("react").HTMLAttributes<HTMLDivElement> & {
|
66
|
-
size?: string;
|
67
|
-
name?: string;
|
68
|
-
url?: string;
|
69
|
-
customText?: string;
|
70
|
-
status?: "active" | "inactive";
|
71
|
-
isScalable?: boolean;
|
72
|
-
focused?: boolean;
|
73
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
|
74
|
-
hasExtra?: boolean;
|
75
|
-
type?: "badge" | "counter";
|
76
|
-
extraPlacement?: "top-
|
67
|
+
size?: string | undefined;
|
68
|
+
name?: string | undefined;
|
69
|
+
url?: string | undefined;
|
70
|
+
customText?: string | undefined;
|
71
|
+
status?: "active" | "inactive" | undefined;
|
72
|
+
isScalable?: boolean | undefined;
|
73
|
+
focused?: boolean | undefined;
|
74
|
+
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
75
|
+
hasExtra?: boolean | undefined;
|
76
|
+
type?: "badge" | "counter" | undefined;
|
77
|
+
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
77
78
|
} & {
|
78
79
|
badgeView?: string | undefined;
|
79
80
|
pilled?: boolean | undefined;
|
@@ -87,17 +88,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
87
88
|
count?: undefined;
|
88
89
|
maxCount?: undefined;
|
89
90
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
90
|
-
size?: string;
|
91
|
-
name?: string;
|
92
|
-
url?: string;
|
93
|
-
customText?: string;
|
94
|
-
status?: "active" | "inactive";
|
95
|
-
isScalable?: boolean;
|
96
|
-
focused?: boolean;
|
97
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
|
98
|
-
hasExtra?: boolean;
|
99
|
-
type?: "badge" | "counter";
|
100
|
-
extraPlacement?: "top-
|
91
|
+
size?: string | undefined;
|
92
|
+
name?: string | undefined;
|
93
|
+
url?: string | undefined;
|
94
|
+
customText?: string | undefined;
|
95
|
+
status?: "active" | "inactive" | undefined;
|
96
|
+
isScalable?: boolean | undefined;
|
97
|
+
focused?: boolean | undefined;
|
98
|
+
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
99
|
+
hasExtra?: boolean | undefined;
|
100
|
+
type?: "badge" | "counter" | undefined;
|
101
|
+
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
101
102
|
} & {
|
102
103
|
counterView?: string | undefined;
|
103
104
|
count?: number | undefined;
|
@@ -107,7 +108,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
107
108
|
pilled?: undefined;
|
108
109
|
text?: undefined;
|
109
110
|
contentLeft?: undefined;
|
110
|
-
contentRight?:
|
111
|
+
contentRight?: undefined;
|
111
112
|
customColor?: undefined;
|
112
113
|
customBackgroundColor?: undefined;
|
113
114
|
} & import("react").RefAttributes<HTMLDivElement>)>;
|
@@ -144,17 +145,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
144
145
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
145
146
|
};
|
146
147
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
147
|
-
size?: string;
|
148
|
-
name?: string;
|
149
|
-
url?: string;
|
150
|
-
customText?: string;
|
151
|
-
status?: "active" | "inactive";
|
152
|
-
isScalable?: boolean;
|
153
|
-
focused?: boolean;
|
154
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
|
155
|
-
hasExtra?: boolean;
|
156
|
-
type?: "badge" | "counter";
|
157
|
-
extraPlacement?: "top-
|
148
|
+
size?: string | undefined;
|
149
|
+
name?: string | undefined;
|
150
|
+
url?: string | undefined;
|
151
|
+
customText?: string | undefined;
|
152
|
+
status?: "active" | "inactive" | undefined;
|
153
|
+
isScalable?: boolean | undefined;
|
154
|
+
focused?: boolean | undefined;
|
155
|
+
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
156
|
+
hasExtra?: boolean | undefined;
|
157
|
+
type?: "badge" | "counter" | undefined;
|
158
|
+
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
158
159
|
} & {
|
159
160
|
badgeView?: string | undefined;
|
160
161
|
pilled?: boolean | undefined;
|
@@ -168,17 +169,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
168
169
|
count?: undefined;
|
169
170
|
maxCount?: undefined;
|
170
171
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
171
|
-
size?: string;
|
172
|
-
name?: string;
|
173
|
-
url?: string;
|
174
|
-
customText?: string;
|
175
|
-
status?: "active" | "inactive";
|
176
|
-
isScalable?: boolean;
|
177
|
-
focused?: boolean;
|
178
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
|
179
|
-
hasExtra?: boolean;
|
180
|
-
type?: "badge" | "counter";
|
181
|
-
extraPlacement?: "top-
|
172
|
+
size?: string | undefined;
|
173
|
+
name?: string | undefined;
|
174
|
+
url?: string | undefined;
|
175
|
+
customText?: string | undefined;
|
176
|
+
status?: "active" | "inactive" | undefined;
|
177
|
+
isScalable?: boolean | undefined;
|
178
|
+
focused?: boolean | undefined;
|
179
|
+
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
|
180
|
+
hasExtra?: boolean | undefined;
|
181
|
+
type?: "badge" | "counter" | undefined;
|
182
|
+
extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
|
182
183
|
} & {
|
183
184
|
counterView?: string | undefined;
|
184
185
|
count?: number | undefined;
|
@@ -188,7 +189,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
188
189
|
pilled?: undefined;
|
189
190
|
text?: undefined;
|
190
191
|
contentLeft?: undefined;
|
191
|
-
contentRight?:
|
192
|
+
contentRight?: undefined;
|
192
193
|
customColor?: undefined;
|
193
194
|
customBackgroundColor?: undefined;
|
194
195
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const AvatarGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & {
|
2
|
-
children:
|
3
|
+
children: import("react").ReactNode;
|
3
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|