@salutejs/plasma-web 1.584.0-canary.2002.15300192913.0 → 1.584.0-canary.2006.15549711826.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/CHANGELOG.md +134 -3101
- package/components/Accordion/Accordion.d.ts +9 -10
- package/components/Attach/Attach.d.ts +158 -159
- package/components/Autocomplete/Autocomplete.d.ts +344 -345
- package/components/Avatar/Avatar.d.ts +46 -47
- package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
- package/components/Badge/Badge.d.ts +40 -41
- package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
- package/components/Button/Button.d.ts +35 -36
- package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/components/Carousel/Carousel.d.ts +2 -3
- package/components/Cell/Cell.d.ts +19 -20
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +0 -1
- package/components/ChipGroup/ChipGroup.d.ts +0 -1
- package/components/CodeField/CodeField.d.ts +18 -19
- package/components/Combobox/Combobox.config.js +8 -8
- package/components/Combobox/Combobox.d.ts +977 -953
- package/components/Combobox/Legacy/Combobox.d.ts +36 -37
- package/components/Counter/Counter.d.ts +0 -1
- package/components/DatePicker/DatePicker.d.ts +52 -54
- package/components/Divider/Divider.d.ts +0 -1
- package/components/Drawer/Drawer.d.ts +18 -19
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +15 -16
- package/components/Editable/Editable.d.ts +0 -1
- package/components/EmptyState/EmptyState.d.ts +0 -1
- package/components/Flow/Flow.d.ts +1 -2
- package/components/Grid/Grid.d.ts +0 -1
- package/components/IconButton/IconButton.d.ts +35 -36
- package/components/Image/Image.d.ts +3 -4
- package/components/Indicator/Indicator.d.ts +0 -1
- package/components/Link/Link.d.ts +0 -1
- package/components/LinkButton/LinkButton.d.ts +8 -9
- package/components/List/List.d.ts +4 -5
- package/components/Mask/Mask.d.ts +224 -225
- package/components/Note/Note.d.ts +11 -12
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +38 -39
- package/components/Pagination/Pagination.d.ts +0 -1
- package/components/Popover/Popover.d.ts +0 -1
- package/components/Price/Price.d.ts +0 -1
- package/components/Progress/Progress.d.ts +0 -1
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +105 -106
- package/components/Rating/Rating.d.ts +13 -14
- package/components/Segment/Segment.d.ts +8 -9
- package/components/Select/Select.config.js +14 -14
- package/components/Select/Select.d.ts +247 -244
- package/components/Sheet/Sheet.d.ts +0 -1
- package/components/Skeleton/Skeleton.d.ts +4 -5
- package/components/Slider/Slider.d.ts +96 -105
- package/components/Steps/Steps.d.ts +0 -1
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Table/Table.config.js +3 -3
- package/components/Table/Table.d.ts +0 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +5 -7
- package/components/TextArea/TextArea.config.js +4 -4
- package/components/TextArea/TextArea.d.ts +205 -206
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +261 -269
- package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
- package/components/Toast/Toast.d.ts +0 -1
- package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
- package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
- package/components/Toolbar/Toolbar.d.ts +5 -6
- package/components/Tree/Tree.d.ts +0 -1
- package/components/Typography/Old/index.d.ts +36 -37
- package/components/Typography/Typography.d.ts +204 -205
- package/css/cjs/components/Combobox/Combobox.config.js +1 -1
- package/css/cjs/components/Combobox/Combobox.config.js.map +1 -1
- package/css/cjs/components/Combobox/{Combobox.config_i068pn.css → Combobox.config_16vxdhl.css} +8 -8
- package/css/cjs/components/Combobox/Combobox.css +14 -14
- package/css/cjs/components/Select/Select.config.js +1 -1
- package/css/cjs/components/Select/Select.config.js.map +1 -1
- package/css/{es/components/Select/Select.config_1kk8sph.css → cjs/components/Select/Select.config_14aqv25.css} +14 -14
- package/css/cjs/components/Select/Select.css +23 -23
- package/css/cjs/components/Table/Table.config.js +1 -1
- package/css/cjs/components/Table/Table.config.js.map +1 -1
- package/css/cjs/components/Table/Table.config_11seey5.css +5 -0
- package/css/cjs/components/Table/Table.css +5 -5
- package/css/cjs/components/TextArea/TextArea.config.js +1 -1
- package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
- package/css/{es/components/TextArea/TextArea.config_si8t6e.css → cjs/components/TextArea/TextArea.config_ww37fs.css} +4 -4
- package/css/cjs/components/TextArea/TextArea.css +14 -14
- package/css/cjs/index.css +59 -59
- package/css/es/components/Combobox/Combobox.config.js +1 -1
- package/css/es/components/Combobox/Combobox.config.js.map +1 -1
- package/css/es/components/Combobox/{Combobox.config_i068pn.css → Combobox.config_16vxdhl.css} +8 -8
- package/css/es/components/Combobox/Combobox.css +14 -14
- package/css/es/components/Select/Select.config.js +1 -1
- package/css/es/components/Select/Select.config.js.map +1 -1
- package/css/{cjs/components/Select/Select.config_1kk8sph.css → es/components/Select/Select.config_14aqv25.css} +14 -14
- package/css/es/components/Select/Select.css +23 -23
- package/css/es/components/Table/Table.config.js +1 -1
- package/css/es/components/Table/Table.config.js.map +1 -1
- package/css/es/components/Table/Table.config_11seey5.css +5 -0
- package/css/es/components/Table/Table.css +5 -5
- package/css/es/components/TextArea/TextArea.config.js +1 -1
- package/css/es/components/TextArea/TextArea.config.js.map +1 -1
- package/css/{cjs/components/TextArea/TextArea.config_si8t6e.css → es/components/TextArea/TextArea.config_ww37fs.css} +4 -4
- package/css/es/components/TextArea/TextArea.css +14 -14
- package/css/es/index.css +59 -59
- package/es/components/Combobox/Combobox.config.js +8 -8
- package/es/components/Select/Select.config.js +14 -14
- package/es/components/Table/Table.config.js +3 -3
- package/es/components/TextArea/TextArea.config.js +4 -4
- package/mixins/index.d.ts +1 -2
- package/package.json +12 -12
- package/css/cjs/components/Table/Table.config_lk2ssy.css +0 -5
- package/css/es/components/Table/Table.config_lk2ssy.css +0 -5
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
|
3
2
|
view: {
|
4
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -64,17 +63,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
64
63
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
65
64
|
};
|
66
65
|
}>, (import("react").HTMLAttributes<HTMLDivElement> & {
|
67
|
-
size?: string
|
68
|
-
name?: string
|
69
|
-
url?: string
|
70
|
-
customText?: string
|
71
|
-
status?: "active" | "inactive"
|
72
|
-
isScalable?: boolean
|
73
|
-
focused?: boolean
|
74
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels
|
75
|
-
hasExtra?: boolean
|
76
|
-
type?: "badge" | "counter"
|
77
|
-
extraPlacement?: "top-
|
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-left" | "top-right" | "bottom-left" | "bottom-right";
|
78
77
|
} & {
|
79
78
|
badgeView?: string | undefined;
|
80
79
|
pilled?: boolean | undefined;
|
@@ -88,17 +87,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
88
87
|
count?: undefined;
|
89
88
|
maxCount?: undefined;
|
90
89
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
91
|
-
size?: string
|
92
|
-
name?: string
|
93
|
-
url?: string
|
94
|
-
customText?: string
|
95
|
-
status?: "active" | "inactive"
|
96
|
-
isScalable?: boolean
|
97
|
-
focused?: boolean
|
98
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels
|
99
|
-
hasExtra?: boolean
|
100
|
-
type?: "badge" | "counter"
|
101
|
-
extraPlacement?: "top-
|
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-left" | "top-right" | "bottom-left" | "bottom-right";
|
102
101
|
} & {
|
103
102
|
counterView?: string | undefined;
|
104
103
|
count?: number | undefined;
|
@@ -108,7 +107,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
108
107
|
pilled?: undefined;
|
109
108
|
text?: undefined;
|
110
109
|
contentLeft?: undefined;
|
111
|
-
contentRight?: undefined;
|
110
|
+
contentRight?: never | undefined;
|
112
111
|
customColor?: undefined;
|
113
112
|
customBackgroundColor?: undefined;
|
114
113
|
} & import("react").RefAttributes<HTMLDivElement>)>;
|
@@ -145,17 +144,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
145
144
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
146
145
|
};
|
147
146
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
148
|
-
size?: string
|
149
|
-
name?: string
|
150
|
-
url?: string
|
151
|
-
customText?: string
|
152
|
-
status?: "active" | "inactive"
|
153
|
-
isScalable?: boolean
|
154
|
-
focused?: boolean
|
155
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels
|
156
|
-
hasExtra?: boolean
|
157
|
-
type?: "badge" | "counter"
|
158
|
-
extraPlacement?: "top-
|
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-left" | "top-right" | "bottom-left" | "bottom-right";
|
159
158
|
} & {
|
160
159
|
badgeView?: string | undefined;
|
161
160
|
pilled?: boolean | undefined;
|
@@ -169,17 +168,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
169
168
|
count?: undefined;
|
170
169
|
maxCount?: undefined;
|
171
170
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
172
|
-
size?: string
|
173
|
-
name?: string
|
174
|
-
url?: string
|
175
|
-
customText?: string
|
176
|
-
status?: "active" | "inactive"
|
177
|
-
isScalable?: boolean
|
178
|
-
focused?: boolean
|
179
|
-
statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels
|
180
|
-
hasExtra?: boolean
|
181
|
-
type?: "badge" | "counter"
|
182
|
-
extraPlacement?: "top-
|
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-left" | "top-right" | "bottom-left" | "bottom-right";
|
183
182
|
} & {
|
184
183
|
counterView?: string | undefined;
|
185
184
|
count?: number | undefined;
|
@@ -189,7 +188,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
189
188
|
pilled?: undefined;
|
190
189
|
text?: undefined;
|
191
190
|
contentLeft?: undefined;
|
192
|
-
contentRight?: undefined;
|
191
|
+
contentRight?: never | undefined;
|
193
192
|
customColor?: undefined;
|
194
193
|
customBackgroundColor?: undefined;
|
195
194
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
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> & {
|
3
|
-
children:
|
2
|
+
children: React.ReactNode;
|
4
3
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Компонент Badge.
|
4
3
|
*/
|
@@ -29,59 +28,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
29
28
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
29
|
};
|
31
30
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
32
|
-
text?: string
|
33
|
-
customColor?: string
|
34
|
-
customBackgroundColor?: string
|
35
|
-
maxWidth?: import("
|
36
|
-
size?: string
|
37
|
-
view?: string
|
31
|
+
text?: string;
|
32
|
+
customColor?: string;
|
33
|
+
customBackgroundColor?: string;
|
34
|
+
maxWidth?: import("react").CSSProperties["width"];
|
35
|
+
size?: string;
|
36
|
+
view?: string;
|
38
37
|
} & {
|
39
38
|
contentLeft?: import("react").ReactNode;
|
40
|
-
contentRight?:
|
39
|
+
contentRight?: never;
|
41
40
|
} & {
|
42
|
-
clear?: true
|
43
|
-
pilled?:
|
44
|
-
transparent?:
|
41
|
+
clear?: true;
|
42
|
+
pilled?: never;
|
43
|
+
transparent?: never;
|
45
44
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
46
|
-
text?: string
|
47
|
-
customColor?: string
|
48
|
-
customBackgroundColor?: string
|
49
|
-
maxWidth?: import("
|
50
|
-
size?: string
|
51
|
-
view?: string
|
45
|
+
text?: string;
|
46
|
+
customColor?: string;
|
47
|
+
customBackgroundColor?: string;
|
48
|
+
maxWidth?: import("react").CSSProperties["width"];
|
49
|
+
size?: string;
|
50
|
+
view?: string;
|
52
51
|
} & {
|
53
52
|
contentLeft?: import("react").ReactNode;
|
54
|
-
contentRight?:
|
53
|
+
contentRight?: never;
|
55
54
|
} & {
|
56
|
-
pilled?: boolean
|
57
|
-
transparent?: boolean
|
58
|
-
clear?:
|
55
|
+
pilled?: boolean;
|
56
|
+
transparent?: boolean;
|
57
|
+
clear?: never;
|
59
58
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
60
|
-
text?: string
|
61
|
-
customColor?: string
|
62
|
-
customBackgroundColor?: string
|
63
|
-
maxWidth?: import("
|
64
|
-
size?: string
|
65
|
-
view?: string
|
59
|
+
text?: string;
|
60
|
+
customColor?: string;
|
61
|
+
customBackgroundColor?: string;
|
62
|
+
maxWidth?: import("react").CSSProperties["width"];
|
63
|
+
size?: string;
|
64
|
+
view?: string;
|
66
65
|
} & {
|
67
|
-
contentLeft?:
|
66
|
+
contentLeft?: never;
|
68
67
|
contentRight?: import("react").ReactNode;
|
69
68
|
} & {
|
70
|
-
clear?: true
|
71
|
-
pilled?:
|
72
|
-
transparent?:
|
69
|
+
clear?: true;
|
70
|
+
pilled?: never;
|
71
|
+
transparent?: never;
|
73
72
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
74
|
-
text?: string
|
75
|
-
customColor?: string
|
76
|
-
customBackgroundColor?: string
|
77
|
-
maxWidth?: import("
|
78
|
-
size?: string
|
79
|
-
view?: string
|
73
|
+
text?: string;
|
74
|
+
customColor?: string;
|
75
|
+
customBackgroundColor?: string;
|
76
|
+
maxWidth?: import("react").CSSProperties["width"];
|
77
|
+
size?: string;
|
78
|
+
view?: string;
|
80
79
|
} & {
|
81
|
-
contentLeft?:
|
80
|
+
contentLeft?: never;
|
82
81
|
contentRight?: import("react").ReactNode;
|
83
82
|
} & {
|
84
|
-
pilled?: boolean
|
85
|
-
transparent?: boolean
|
86
|
-
clear?:
|
83
|
+
pilled?: boolean;
|
84
|
+
transparent?: boolean;
|
85
|
+
clear?: never;
|
87
86
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Breadcrumbs
|
4
3
|
*/
|
@@ -13,9 +12,9 @@ export declare const Breadcrumbs: import("react").FunctionComponent<import("@sal
|
|
13
12
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
13
|
};
|
15
14
|
}> & import("react").HTMLAttributes<HTMLDivElement> & {
|
16
|
-
view?: string
|
17
|
-
size?: string
|
15
|
+
view?: string;
|
16
|
+
size?: string;
|
18
17
|
separator?: import("react").ReactNode;
|
19
18
|
items: import("@salutejs/plasma-new-hope/types/components/Breadcrumbs/Breadcrumbs.types").BreadcrumbsItem[];
|
20
|
-
showItems?: number
|
19
|
+
showItems?: number;
|
21
20
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Компонент Button.
|
4
3
|
*/
|
@@ -40,46 +39,46 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
|
|
40
39
|
filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
41
40
|
fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
42
41
|
};
|
43
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
44
|
-
text?: string
|
42
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
43
|
+
text?: string;
|
45
44
|
contentLeft?: import("react").ReactNode;
|
46
|
-
contentPlacing?:
|
47
|
-
isLoading?: boolean
|
45
|
+
contentPlacing?: "default" | "relaxed";
|
46
|
+
isLoading?: boolean;
|
48
47
|
loader?: import("react").ReactNode;
|
49
|
-
stretch?: boolean
|
50
|
-
stretching?:
|
51
|
-
square?: boolean
|
52
|
-
focused?: boolean
|
53
|
-
disabled?: boolean
|
54
|
-
pin?: "
|
55
|
-
view?: string
|
56
|
-
size?: string
|
57
|
-
outlined?: boolean
|
58
|
-
shiftLeft?: boolean
|
59
|
-
shiftRight?: boolean
|
60
|
-
blur?: "
|
48
|
+
stretch?: boolean;
|
49
|
+
stretching?: "fixed" | "auto" | "filled";
|
50
|
+
square?: boolean;
|
51
|
+
focused?: boolean;
|
52
|
+
disabled?: boolean;
|
53
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
54
|
+
view?: string;
|
55
|
+
size?: string;
|
56
|
+
outlined?: boolean;
|
57
|
+
shiftLeft?: boolean;
|
58
|
+
shiftRight?: boolean;
|
59
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
61
60
|
} & {
|
62
|
-
value?: string | number
|
63
|
-
contentRight?:
|
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
|
65
|
-
text?: string
|
61
|
+
value?: string | number;
|
62
|
+
contentRight?: never;
|
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;
|
66
65
|
contentLeft?: import("react").ReactNode;
|
67
|
-
contentPlacing?:
|
68
|
-
isLoading?: boolean
|
66
|
+
contentPlacing?: "default" | "relaxed";
|
67
|
+
isLoading?: boolean;
|
69
68
|
loader?: import("react").ReactNode;
|
70
|
-
stretch?: boolean
|
71
|
-
stretching?:
|
72
|
-
square?: boolean
|
73
|
-
focused?: boolean
|
74
|
-
disabled?: boolean
|
75
|
-
pin?: "
|
76
|
-
view?: string
|
77
|
-
size?: string
|
78
|
-
outlined?: boolean
|
79
|
-
shiftLeft?: boolean
|
80
|
-
shiftRight?: boolean
|
81
|
-
blur?: "
|
69
|
+
stretch?: boolean;
|
70
|
+
stretching?: "fixed" | "auto" | "filled";
|
71
|
+
square?: boolean;
|
72
|
+
focused?: boolean;
|
73
|
+
disabled?: boolean;
|
74
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
75
|
+
view?: string;
|
76
|
+
size?: string;
|
77
|
+
outlined?: boolean;
|
78
|
+
shiftLeft?: boolean;
|
79
|
+
shiftRight?: boolean;
|
80
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
82
81
|
} & {
|
83
|
-
value?:
|
82
|
+
value?: never;
|
84
83
|
contentRight?: import("react").ReactNode;
|
85
84
|
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
@@ -1,11 +1,7 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Группа кнопок.
|
4
3
|
*/
|
5
4
|
export declare const ButtonGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
6
|
-
/**
|
7
|
-
* Группа кнопок.
|
8
|
-
*/
|
9
5
|
view: {
|
10
6
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
7
|
primary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
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"> & {
|
3
|
-
ariaLive?: "off" | "polite"
|
4
|
-
isDragScrollDisabled?: boolean
|
2
|
+
ariaLive?: "off" | "polite";
|
3
|
+
isDragScrollDisabled?: boolean;
|
5
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Кнопка.
|
4
3
|
*/
|
@@ -13,33 +12,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
|
|
13
12
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
13
|
};
|
15
14
|
}> & (({
|
16
|
-
size?: string
|
17
|
-
view?: string
|
15
|
+
size?: string;
|
16
|
+
view?: string;
|
18
17
|
contentLeft?: import("react").ReactNode;
|
19
18
|
contentRight?: import("react").ReactNode;
|
20
|
-
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp
|
21
|
-
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp
|
22
|
-
stretching?: "fixed" | "
|
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" | "filled" | "auto";
|
23
22
|
content?: import("react").ReactNode;
|
24
|
-
description?: string
|
23
|
+
description?: string;
|
25
24
|
} & {
|
26
|
-
title?: string
|
27
|
-
subtitle?: string
|
28
|
-
label?: string
|
29
|
-
children?:
|
25
|
+
title?: string;
|
26
|
+
subtitle?: string;
|
27
|
+
label?: string;
|
28
|
+
children?: never;
|
30
29
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
|
31
|
-
size?: string
|
32
|
-
view?: string
|
30
|
+
size?: string;
|
31
|
+
view?: string;
|
33
32
|
contentLeft?: import("react").ReactNode;
|
34
33
|
contentRight?: import("react").ReactNode;
|
35
|
-
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp
|
36
|
-
alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp
|
37
|
-
stretching?: "fixed" | "
|
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" | "filled" | "auto";
|
38
37
|
content?: import("react").ReactNode;
|
39
|
-
description?: string
|
38
|
+
description?: string;
|
40
39
|
} & {
|
41
|
-
title?:
|
42
|
-
subtitle?:
|
43
|
-
label?:
|
40
|
+
title?: never;
|
41
|
+
subtitle?: never;
|
42
|
+
label?: never;
|
44
43
|
children?: import("react").ReactNode;
|
45
44
|
} & 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
|
26
|
+
export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
|
27
27
|
/**
|
28
28
|
* Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
|
29
29
|
*/
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const CodeField: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
2
|
view: {
|
4
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -15,22 +14,22 @@ export declare const CodeField: import("react").FunctionComponent<import("@salut
|
|
15
14
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
15
|
};
|
17
16
|
}> & {
|
18
|
-
value?: string
|
19
|
-
placeholder?: string
|
20
|
-
autoFocus?: boolean
|
21
|
-
codeLength?: 4 | 5 | 6
|
22
|
-
caption?:
|
23
|
-
captionAlign?: "
|
24
|
-
width?: string | number
|
25
|
-
shape?: "default" | "segmented"
|
26
|
-
view?: string
|
27
|
-
size?: string
|
28
|
-
disabled?: boolean
|
29
|
-
isError?: boolean
|
30
|
-
setIsError?:
|
31
|
-
allowedSymbols?: string | RegExp
|
32
|
-
itemErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").ItemErrorBehavior
|
33
|
-
codeErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").CodeErrorBehavior
|
34
|
-
onChange?: (
|
35
|
-
onFullCodeEnter?: (
|
17
|
+
value?: string;
|
18
|
+
placeholder?: string;
|
19
|
+
autoFocus?: boolean;
|
20
|
+
codeLength?: 4 | 5 | 6;
|
21
|
+
caption?: React.ReactNode;
|
22
|
+
captionAlign?: "left" | "center";
|
23
|
+
width?: string | number;
|
24
|
+
shape?: "default" | "segmented";
|
25
|
+
view?: string;
|
26
|
+
size?: string;
|
27
|
+
disabled?: boolean;
|
28
|
+
isError?: boolean;
|
29
|
+
setIsError?: React.Dispatch<React.SetStateAction<boolean>>;
|
30
|
+
allowedSymbols?: string | RegExp;
|
31
|
+
itemErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").ItemErrorBehavior;
|
32
|
+
codeErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").CodeErrorBehavior;
|
33
|
+
onChange?: (value: string) => void;
|
34
|
+
onFullCodeEnter?: (code: string) => void;
|
36
35
|
} & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;
|