@salutejs/plasma-web 1.583.0-canary.1991.15252784001.0 → 1.583.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 +345 -344
- 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/Carousel/Carousel.d.ts +3 -2
- 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 +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/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 +12 -11
- 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/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 +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/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/Old/index.d.ts +37 -36
- package/components/Typography/Typography.d.ts +205 -204
- package/mixins/index.d.ts +2 -1
- package/package.json +12 -12
@@ -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>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Компонент Badge.
|
3
4
|
*/
|
@@ -28,59 +29,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
28
29
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
30
|
};
|
30
31
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
31
|
-
text?: string;
|
32
|
-
customColor?: string;
|
33
|
-
customBackgroundColor?: string;
|
34
|
-
maxWidth?: import("
|
35
|
-
size?: string;
|
36
|
-
view?: string;
|
32
|
+
text?: string | undefined;
|
33
|
+
customColor?: string | undefined;
|
34
|
+
customBackgroundColor?: string | undefined;
|
35
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
36
|
+
size?: string | undefined;
|
37
|
+
view?: string | undefined;
|
37
38
|
} & {
|
38
39
|
contentLeft?: import("react").ReactNode;
|
39
|
-
contentRight?:
|
40
|
+
contentRight?: undefined;
|
40
41
|
} & {
|
41
|
-
clear?: true;
|
42
|
-
pilled?:
|
43
|
-
transparent?:
|
42
|
+
clear?: true | undefined;
|
43
|
+
pilled?: undefined;
|
44
|
+
transparent?: undefined;
|
44
45
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
45
|
-
text?: string;
|
46
|
-
customColor?: string;
|
47
|
-
customBackgroundColor?: string;
|
48
|
-
maxWidth?: import("
|
49
|
-
size?: string;
|
50
|
-
view?: string;
|
46
|
+
text?: string | undefined;
|
47
|
+
customColor?: string | undefined;
|
48
|
+
customBackgroundColor?: string | undefined;
|
49
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
50
|
+
size?: string | undefined;
|
51
|
+
view?: string | undefined;
|
51
52
|
} & {
|
52
53
|
contentLeft?: import("react").ReactNode;
|
53
|
-
contentRight?:
|
54
|
+
contentRight?: undefined;
|
54
55
|
} & {
|
55
|
-
pilled?: boolean;
|
56
|
-
transparent?: boolean;
|
57
|
-
clear?:
|
56
|
+
pilled?: boolean | undefined;
|
57
|
+
transparent?: boolean | undefined;
|
58
|
+
clear?: undefined;
|
58
59
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
59
|
-
text?: string;
|
60
|
-
customColor?: string;
|
61
|
-
customBackgroundColor?: string;
|
62
|
-
maxWidth?: import("
|
63
|
-
size?: string;
|
64
|
-
view?: string;
|
60
|
+
text?: string | undefined;
|
61
|
+
customColor?: string | undefined;
|
62
|
+
customBackgroundColor?: string | undefined;
|
63
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
64
|
+
size?: string | undefined;
|
65
|
+
view?: string | undefined;
|
65
66
|
} & {
|
66
|
-
contentLeft?:
|
67
|
+
contentLeft?: undefined;
|
67
68
|
contentRight?: import("react").ReactNode;
|
68
69
|
} & {
|
69
|
-
clear?: true;
|
70
|
-
pilled?:
|
71
|
-
transparent?:
|
70
|
+
clear?: true | undefined;
|
71
|
+
pilled?: undefined;
|
72
|
+
transparent?: undefined;
|
72
73
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
73
|
-
text?: string;
|
74
|
-
customColor?: string;
|
75
|
-
customBackgroundColor?: string;
|
76
|
-
maxWidth?: import("
|
77
|
-
size?: string;
|
78
|
-
view?: string;
|
74
|
+
text?: string | undefined;
|
75
|
+
customColor?: string | undefined;
|
76
|
+
customBackgroundColor?: string | undefined;
|
77
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
78
|
+
size?: string | undefined;
|
79
|
+
view?: string | undefined;
|
79
80
|
} & {
|
80
|
-
contentLeft?:
|
81
|
+
contentLeft?: undefined;
|
81
82
|
contentRight?: import("react").ReactNode;
|
82
83
|
} & {
|
83
|
-
pilled?: boolean;
|
84
|
-
transparent?: boolean;
|
85
|
-
clear?:
|
84
|
+
pilled?: boolean | undefined;
|
85
|
+
transparent?: boolean | undefined;
|
86
|
+
clear?: undefined;
|
86
87
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Breadcrumbs
|
3
4
|
*/
|
@@ -12,9 +13,9 @@ export declare const Breadcrumbs: import("react").FunctionComponent<import("@sal
|
|
12
13
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
14
|
};
|
14
15
|
}> & import("react").HTMLAttributes<HTMLDivElement> & {
|
15
|
-
view?: string;
|
16
|
-
size?: string;
|
16
|
+
view?: string | undefined;
|
17
|
+
size?: string | undefined;
|
17
18
|
separator?: import("react").ReactNode;
|
18
19
|
items: import("@salutejs/plasma-new-hope/types/components/Breadcrumbs/Breadcrumbs.types").BreadcrumbsItem[];
|
19
|
-
showItems?: number;
|
20
|
+
showItems?: number | undefined;
|
20
21
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Компонент Button.
|
3
4
|
*/
|
@@ -39,46 +40,46 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
|
|
39
40
|
filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
40
41
|
fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
41
42
|
};
|
42
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
43
|
-
text?: string;
|
43
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
|
44
|
+
text?: string | undefined;
|
44
45
|
contentLeft?: import("react").ReactNode;
|
45
|
-
contentPlacing?: "default" | "relaxed";
|
46
|
-
isLoading?: boolean;
|
46
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
47
|
+
isLoading?: boolean | undefined;
|
47
48
|
loader?: import("react").ReactNode;
|
48
|
-
stretch?: boolean;
|
49
|
-
stretching?: "fixed" | "auto" | "filled";
|
50
|
-
square?: boolean;
|
51
|
-
focused?: boolean;
|
52
|
-
disabled?: boolean;
|
53
|
-
pin?:
|
54
|
-
view?: string;
|
55
|
-
size?: string;
|
56
|
-
outlined?: boolean;
|
57
|
-
shiftLeft?: boolean;
|
58
|
-
shiftRight?: boolean;
|
59
|
-
blur?:
|
49
|
+
stretch?: boolean | undefined;
|
50
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
51
|
+
square?: boolean | undefined;
|
52
|
+
focused?: boolean | undefined;
|
53
|
+
disabled?: boolean | undefined;
|
54
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
55
|
+
view?: string | undefined;
|
56
|
+
size?: string | undefined;
|
57
|
+
outlined?: boolean | undefined;
|
58
|
+
shiftLeft?: boolean | undefined;
|
59
|
+
shiftRight?: boolean | undefined;
|
60
|
+
blur?: "small" | "medium" | "large" | undefined;
|
60
61
|
} & {
|
61
|
-
value?: string | number;
|
62
|
-
contentRight?:
|
63
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
64
|
-
text?: string;
|
62
|
+
value?: string | number | undefined;
|
63
|
+
contentRight?: undefined;
|
64
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
|
65
|
+
text?: string | undefined;
|
65
66
|
contentLeft?: import("react").ReactNode;
|
66
|
-
contentPlacing?: "default" | "relaxed";
|
67
|
-
isLoading?: boolean;
|
67
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
68
|
+
isLoading?: boolean | undefined;
|
68
69
|
loader?: import("react").ReactNode;
|
69
|
-
stretch?: boolean;
|
70
|
-
stretching?: "fixed" | "auto" | "filled";
|
71
|
-
square?: boolean;
|
72
|
-
focused?: boolean;
|
73
|
-
disabled?: boolean;
|
74
|
-
pin?:
|
75
|
-
view?: string;
|
76
|
-
size?: string;
|
77
|
-
outlined?: boolean;
|
78
|
-
shiftLeft?: boolean;
|
79
|
-
shiftRight?: boolean;
|
80
|
-
blur?:
|
70
|
+
stretch?: boolean | undefined;
|
71
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
72
|
+
square?: boolean | undefined;
|
73
|
+
focused?: boolean | undefined;
|
74
|
+
disabled?: boolean | undefined;
|
75
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
76
|
+
view?: string | undefined;
|
77
|
+
size?: string | undefined;
|
78
|
+
outlined?: boolean | undefined;
|
79
|
+
shiftLeft?: boolean | undefined;
|
80
|
+
shiftRight?: boolean | undefined;
|
81
|
+
blur?: "small" | "medium" | "large" | undefined;
|
81
82
|
} & {
|
82
|
-
value?:
|
83
|
+
value?: undefined;
|
83
84
|
contentRight?: import("react").ReactNode;
|
84
85
|
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
@@ -1,7 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Группа кнопок.
|
3
4
|
*/
|
4
5
|
export declare const ButtonGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
6
|
+
/**
|
7
|
+
* Группа кнопок.
|
8
|
+
*/
|
5
9
|
view: {
|
6
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
11
|
primary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -1,4 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const Carousel: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & Omit<import("@salutejs/plasma-new-hope/types/components/Carousel/Carousel.types").BasicProps & (import("@salutejs/plasma-new-hope/types/components/Carousel/Carousel.types").DetectionProps | import("@salutejs/plasma-new-hope/types/components/Carousel/Carousel.types").NoDetectionProps), "axis" | "animatedScrollByIndex" | "throttleMs" | "debounceMs"> & {
|
2
|
-
ariaLive?: "off" | "polite";
|
3
|
-
isDragScrollDisabled?: boolean;
|
3
|
+
ariaLive?: "off" | "polite" | undefined;
|
4
|
+
isDragScrollDisabled?: boolean | undefined;
|
4
5
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Кнопка.
|
3
4
|
*/
|
@@ -12,33 +13,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
|
|
12
13
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
14
|
};
|
14
15
|
}> & (({
|
15
|
-
size?: string;
|
16
|
-
view?: string;
|
16
|
+
size?: string | undefined;
|
17
|
+
view?: string | undefined;
|
17
18
|
contentLeft?: import("react").ReactNode;
|
18
19
|
contentRight?: import("react").ReactNode;
|
19
|
-
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
|
20
|
-
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
|
21
|
-
stretching?: "fixed" | "
|
20
|
+
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
21
|
+
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
22
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
22
23
|
content?: import("react").ReactNode;
|
23
|
-
description?: string;
|
24
|
+
description?: string | undefined;
|
24
25
|
} & {
|
25
|
-
title?: string;
|
26
|
-
subtitle?: string;
|
27
|
-
label?: string;
|
28
|
-
children?:
|
26
|
+
title?: string | undefined;
|
27
|
+
subtitle?: string | undefined;
|
28
|
+
label?: string | undefined;
|
29
|
+
children?: undefined;
|
29
30
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
|
30
|
-
size?: string;
|
31
|
-
view?: string;
|
31
|
+
size?: string | undefined;
|
32
|
+
view?: string | undefined;
|
32
33
|
contentLeft?: import("react").ReactNode;
|
33
34
|
contentRight?: import("react").ReactNode;
|
34
|
-
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
|
35
|
-
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
|
36
|
-
stretching?: "fixed" | "
|
35
|
+
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
36
|
+
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
37
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
37
38
|
content?: import("react").ReactNode;
|
38
|
-
description?: string;
|
39
|
+
description?: string | undefined;
|
39
40
|
} & {
|
40
|
-
title?:
|
41
|
-
subtitle?:
|
42
|
-
label?:
|
41
|
+
title?: undefined;
|
42
|
+
subtitle?: undefined;
|
43
|
+
label?: undefined;
|
43
44
|
children?: import("react").ReactNode;
|
44
45
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
|
@@ -23,7 +23,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
|
|
23
23
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
24
|
};
|
25
25
|
}> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
26
|
-
export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
|
26
|
+
export declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
|
27
27
|
/**
|
28
28
|
* Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
|
29
29
|
*/
|