@salutejs/sdds-serv 0.313.0-canary.2002.15300192913.0 → 0.313.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 +126 -1345
- package/components/Accordion/Accordion.d.ts +9 -10
- package/components/Attach/Attach.d.ts +158 -159
- package/components/Autocomplete/Autocomplete.d.ts +344 -345
- package/components/Avatar/Avatar.d.ts +46 -47
- package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
- package/components/Badge/Badge.d.ts +40 -41
- package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
- package/components/Button/Button.d.ts +71 -72
- package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/components/Card/Card.d.ts +5 -6
- package/components/Cell/Cell.d.ts +19 -20
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +0 -1
- package/components/ChipGroup/ChipGroup.d.ts +0 -1
- package/components/CodeField/CodeField.d.ts +18 -19
- package/components/Combobox/Combobox.config.js +1 -1
- package/components/Combobox/Combobox.config.js.map +1 -1
- package/components/Combobox/{Combobox.config_1pv0xv4.css → Combobox.config_2bwgte.css} +8 -8
- package/components/Combobox/Combobox.css +14 -14
- package/components/Combobox/Combobox.d.ts +975 -951
- package/components/Counter/Counter.d.ts +0 -1
- package/components/DatePicker/DatePicker.d.ts +52 -54
- package/components/Divider/Divider.d.ts +0 -1
- package/components/Drawer/Drawer.d.ts +18 -19
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropzone/Dropzone.d.ts +15 -16
- package/components/EmptyState/EmptyState.d.ts +0 -1
- package/components/Flow/Flow.d.ts +1 -2
- package/components/Grid/Grid.d.ts +0 -1
- package/components/IconButton/IconButton.d.ts +35 -36
- package/components/Image/Image.d.ts +3 -4
- package/components/Indicator/Indicator.d.ts +0 -1
- package/components/Link/Link.d.ts +1 -2
- package/components/LinkButton/LinkButton.d.ts +8 -9
- package/components/List/List.d.ts +4 -5
- package/components/Mask/Mask.d.ts +224 -225
- package/components/Note/Note.d.ts +11 -12
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +38 -39
- package/components/Pagination/Pagination.d.ts +0 -1
- package/components/Popover/Popover.d.ts +0 -1
- package/components/Price/Price.d.ts +0 -1
- package/components/Progress/Progress.d.ts +0 -1
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +105 -106
- package/components/Rating/Rating.d.ts +13 -14
- package/components/Segment/Segment.d.ts +8 -12
- package/components/Select/Select.config.js +1 -1
- package/components/Select/Select.config.js.map +1 -1
- package/components/Select/{Select.config_1bmr0a3.css → Select.config_10xjqvb.css} +14 -14
- package/components/Select/Select.css +23 -23
- package/components/Select/Select.d.ts +247 -244
- package/components/Sheet/Sheet.d.ts +0 -1
- package/components/Skeleton/Skeleton.d.ts +4 -5
- package/components/Slider/Slider.d.ts +96 -105
- package/components/Spinner/Spinner.d.ts +9 -14
- package/components/Steps/Steps.d.ts +0 -1
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Table/Table.config.js +1 -1
- package/components/Table/Table.config.js.map +1 -1
- package/components/Table/Table.config_11seey5.css +5 -0
- package/components/Table/Table.css +5 -5
- package/components/Table/Table.d.ts +0 -1
- package/components/Tabs/TabItem.d.ts +32 -32
- package/components/Tabs/Tabs.d.ts +1 -1
- package/components/TextArea/TextArea.d.ts +205 -206
- package/components/TextField/TextField.d.ts +224 -225
- package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
- package/components/Toast/Toast.d.ts +0 -1
- package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
- package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
- package/components/Toolbar/Toolbar.d.ts +5 -6
- package/components/Tree/Tree.d.ts +0 -1
- package/components/Typography/Typography.d.ts +204 -205
- package/components/ViewContainer/ViewContainer.d.ts +0 -1
- package/emotion/cjs/components/Combobox/Combobox.config.js +8 -8
- package/emotion/cjs/components/Combobox/Combobox.stories.tsx +186 -0
- package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +11 -3
- package/emotion/cjs/components/Select/Select.config.js +14 -14
- package/emotion/cjs/components/Select/Select.stories.tsx +186 -0
- package/emotion/cjs/components/Table/Table.config.js +3 -3
- package/emotion/es/components/Combobox/Combobox.config.js +8 -8
- package/emotion/es/components/Combobox/Combobox.stories.tsx +186 -0
- package/emotion/es/components/DatePicker/DatePicker.stories.tsx +11 -3
- package/emotion/es/components/Select/Select.config.js +14 -14
- package/emotion/es/components/Select/Select.stories.tsx +186 -0
- package/emotion/es/components/Table/Table.config.js +3 -3
- package/es/components/Combobox/Combobox.config.js +1 -1
- package/es/components/Combobox/Combobox.config.js.map +1 -1
- package/es/components/Combobox/{Combobox.config_1pv0xv4.css → Combobox.config_2bwgte.css} +8 -8
- package/es/components/Combobox/Combobox.css +14 -14
- package/es/components/Select/Select.config.js +1 -1
- package/es/components/Select/Select.config.js.map +1 -1
- package/es/components/Select/{Select.config_1bmr0a3.css → Select.config_10xjqvb.css} +14 -14
- package/es/components/Select/Select.css +23 -23
- package/es/components/Table/Table.config.js +1 -1
- package/es/components/Table/Table.config.js.map +1 -1
- package/es/components/Table/Table.config_11seey5.css +5 -0
- package/es/components/Table/Table.css +5 -5
- package/es/index.css +44 -44
- package/mixins/index.d.ts +1 -2
- package/package.json +8 -8
- package/styled-components/cjs/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/cjs/components/Select/Select.config.js +14 -14
- package/styled-components/cjs/components/Table/Table.config.js +3 -3
- package/styled-components/es/components/Combobox/Combobox.config.js +8 -8
- package/styled-components/es/components/Select/Select.config.js +14 -14
- package/styled-components/es/components/Table/Table.config.js +3 -3
- package/components/Table/Table.config_lk2ssy.css +0 -5
- package/es/components/Table/Table.config_lk2ssy.css +0 -5
@@ -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;
|
@@ -110,7 +109,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
110
109
|
customColor?: undefined;
|
111
110
|
customBackgroundColor?: undefined;
|
112
111
|
contentLeft?: undefined;
|
113
|
-
contentRight?: undefined;
|
112
|
+
contentRight?: never | undefined;
|
114
113
|
} & import("react").RefAttributes<HTMLDivElement>)>;
|
115
114
|
declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
116
115
|
view: {
|
@@ -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;
|
@@ -191,6 +190,6 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
191
190
|
customColor?: undefined;
|
192
191
|
customBackgroundColor?: undefined;
|
193
192
|
contentLeft?: undefined;
|
194
|
-
contentRight?: undefined;
|
193
|
+
contentRight?: never | undefined;
|
195
194
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|
196
195
|
export { Avatar, mergedConfig };
|
@@ -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
|
*/
|
@@ -28,59 +27,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
28
27
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
28
|
};
|
30
29
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
31
|
-
text?: string
|
32
|
-
customColor?: string
|
33
|
-
customBackgroundColor?: string
|
34
|
-
maxWidth?: import("
|
35
|
-
size?: string
|
36
|
-
view?: string
|
30
|
+
text?: string;
|
31
|
+
customColor?: string;
|
32
|
+
customBackgroundColor?: string;
|
33
|
+
maxWidth?: import("react").CSSProperties["width"];
|
34
|
+
size?: string;
|
35
|
+
view?: string;
|
37
36
|
} & {
|
38
37
|
contentLeft?: import("react").ReactNode;
|
39
|
-
contentRight?:
|
38
|
+
contentRight?: never;
|
40
39
|
} & {
|
41
|
-
clear?: true
|
42
|
-
pilled?:
|
43
|
-
transparent?:
|
40
|
+
clear?: true;
|
41
|
+
pilled?: never;
|
42
|
+
transparent?: never;
|
44
43
|
} & 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
|
44
|
+
text?: string;
|
45
|
+
customColor?: string;
|
46
|
+
customBackgroundColor?: string;
|
47
|
+
maxWidth?: import("react").CSSProperties["width"];
|
48
|
+
size?: string;
|
49
|
+
view?: string;
|
51
50
|
} & {
|
52
51
|
contentLeft?: import("react").ReactNode;
|
53
|
-
contentRight?:
|
52
|
+
contentRight?: never;
|
54
53
|
} & {
|
55
|
-
pilled?: boolean
|
56
|
-
transparent?: boolean
|
57
|
-
clear?:
|
54
|
+
pilled?: boolean;
|
55
|
+
transparent?: boolean;
|
56
|
+
clear?: never;
|
58
57
|
} & 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
|
58
|
+
text?: string;
|
59
|
+
customColor?: string;
|
60
|
+
customBackgroundColor?: string;
|
61
|
+
maxWidth?: import("react").CSSProperties["width"];
|
62
|
+
size?: string;
|
63
|
+
view?: string;
|
65
64
|
} & {
|
66
|
-
contentLeft?:
|
65
|
+
contentLeft?: never;
|
67
66
|
contentRight?: import("react").ReactNode;
|
68
67
|
} & {
|
69
|
-
clear?: true
|
70
|
-
pilled?:
|
71
|
-
transparent?:
|
68
|
+
clear?: true;
|
69
|
+
pilled?: never;
|
70
|
+
transparent?: never;
|
72
71
|
} & 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
|
72
|
+
text?: string;
|
73
|
+
customColor?: string;
|
74
|
+
customBackgroundColor?: string;
|
75
|
+
maxWidth?: import("react").CSSProperties["width"];
|
76
|
+
size?: string;
|
77
|
+
view?: string;
|
79
78
|
} & {
|
80
|
-
contentLeft?:
|
79
|
+
contentLeft?: never;
|
81
80
|
contentRight?: import("react").ReactNode;
|
82
81
|
} & {
|
83
|
-
pilled?: boolean
|
84
|
-
transparent?: boolean
|
85
|
-
clear?:
|
82
|
+
pilled?: boolean;
|
83
|
+
transparent?: boolean;
|
84
|
+
clear?: never;
|
86
85
|
} & 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
|
declare const ButtonComponent: 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;
|
@@ -36,50 +35,50 @@ declare const ButtonComponent: import("react").FunctionComponent<import("@salute
|
|
36
35
|
filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
37
36
|
fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
38
37
|
};
|
39
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
40
|
-
text?: string
|
38
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
39
|
+
text?: string;
|
41
40
|
contentLeft?: import("react").ReactNode;
|
42
|
-
contentPlacing?:
|
43
|
-
isLoading?: boolean
|
41
|
+
contentPlacing?: "default" | "relaxed";
|
42
|
+
isLoading?: boolean;
|
44
43
|
loader?: import("react").ReactNode;
|
45
|
-
stretch?: boolean
|
46
|
-
stretching?:
|
47
|
-
square?: boolean
|
48
|
-
focused?: boolean
|
49
|
-
disabled?: boolean
|
50
|
-
pin?: "
|
51
|
-
view?: string
|
52
|
-
size?: string
|
53
|
-
outlined?: boolean
|
54
|
-
shiftLeft?: boolean
|
55
|
-
shiftRight?: boolean
|
56
|
-
blur?: "
|
44
|
+
stretch?: boolean;
|
45
|
+
stretching?: "fixed" | "auto" | "filled";
|
46
|
+
square?: boolean;
|
47
|
+
focused?: boolean;
|
48
|
+
disabled?: boolean;
|
49
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
50
|
+
view?: string;
|
51
|
+
size?: string;
|
52
|
+
outlined?: boolean;
|
53
|
+
shiftLeft?: boolean;
|
54
|
+
shiftRight?: boolean;
|
55
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
57
56
|
} & {
|
58
|
-
value?: string | number
|
59
|
-
contentRight?:
|
60
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
61
|
-
text?: string
|
57
|
+
value?: string | number;
|
58
|
+
contentRight?: never;
|
59
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
60
|
+
text?: string;
|
62
61
|
contentLeft?: import("react").ReactNode;
|
63
|
-
contentPlacing?:
|
64
|
-
isLoading?: boolean
|
62
|
+
contentPlacing?: "default" | "relaxed";
|
63
|
+
isLoading?: boolean;
|
65
64
|
loader?: import("react").ReactNode;
|
66
|
-
stretch?: boolean
|
67
|
-
stretching?:
|
68
|
-
square?: boolean
|
69
|
-
focused?: boolean
|
70
|
-
disabled?: boolean
|
71
|
-
pin?: "
|
72
|
-
view?: string
|
73
|
-
size?: string
|
74
|
-
outlined?: boolean
|
75
|
-
shiftLeft?: boolean
|
76
|
-
shiftRight?: boolean
|
77
|
-
blur?: "
|
65
|
+
stretch?: boolean;
|
66
|
+
stretching?: "fixed" | "auto" | "filled";
|
67
|
+
square?: boolean;
|
68
|
+
focused?: boolean;
|
69
|
+
disabled?: boolean;
|
70
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
71
|
+
view?: string;
|
72
|
+
size?: string;
|
73
|
+
outlined?: boolean;
|
74
|
+
shiftLeft?: boolean;
|
75
|
+
shiftRight?: boolean;
|
76
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
78
77
|
} & {
|
79
|
-
value?:
|
78
|
+
value?: never;
|
80
79
|
contentRight?: import("react").ReactNode;
|
81
80
|
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
82
|
-
export
|
81
|
+
export type ButtonProps = typeof ButtonComponent;
|
83
82
|
/**
|
84
83
|
* Кнопка.
|
85
84
|
*/
|
@@ -120,47 +119,47 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
|
|
120
119
|
filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
121
120
|
fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
122
121
|
};
|
123
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
124
|
-
text?: string
|
122
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
123
|
+
text?: string;
|
125
124
|
contentLeft?: import("react").ReactNode;
|
126
|
-
contentPlacing?:
|
127
|
-
isLoading?: boolean
|
125
|
+
contentPlacing?: "default" | "relaxed";
|
126
|
+
isLoading?: boolean;
|
128
127
|
loader?: import("react").ReactNode;
|
129
|
-
stretch?: boolean
|
130
|
-
stretching?:
|
131
|
-
square?: boolean
|
132
|
-
focused?: boolean
|
133
|
-
disabled?: boolean
|
134
|
-
pin?: "
|
135
|
-
view?: string
|
136
|
-
size?: string
|
137
|
-
outlined?: boolean
|
138
|
-
shiftLeft?: boolean
|
139
|
-
shiftRight?: boolean
|
140
|
-
blur?: "
|
128
|
+
stretch?: boolean;
|
129
|
+
stretching?: "fixed" | "auto" | "filled";
|
130
|
+
square?: boolean;
|
131
|
+
focused?: boolean;
|
132
|
+
disabled?: boolean;
|
133
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
134
|
+
view?: string;
|
135
|
+
size?: string;
|
136
|
+
outlined?: boolean;
|
137
|
+
shiftLeft?: boolean;
|
138
|
+
shiftRight?: boolean;
|
139
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
141
140
|
} & {
|
142
|
-
value?: string | number
|
143
|
-
contentRight?:
|
144
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
145
|
-
text?: string
|
141
|
+
value?: string | number;
|
142
|
+
contentRight?: never;
|
143
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
144
|
+
text?: string;
|
146
145
|
contentLeft?: import("react").ReactNode;
|
147
|
-
contentPlacing?:
|
148
|
-
isLoading?: boolean
|
146
|
+
contentPlacing?: "default" | "relaxed";
|
147
|
+
isLoading?: boolean;
|
149
148
|
loader?: import("react").ReactNode;
|
150
|
-
stretch?: boolean
|
151
|
-
stretching?:
|
152
|
-
square?: boolean
|
153
|
-
focused?: boolean
|
154
|
-
disabled?: boolean
|
155
|
-
pin?: "
|
156
|
-
view?: string
|
157
|
-
size?: string
|
158
|
-
outlined?: boolean
|
159
|
-
shiftLeft?: boolean
|
160
|
-
shiftRight?: boolean
|
161
|
-
blur?: "
|
149
|
+
stretch?: boolean;
|
150
|
+
stretching?: "fixed" | "auto" | "filled";
|
151
|
+
square?: boolean;
|
152
|
+
focused?: boolean;
|
153
|
+
disabled?: boolean;
|
154
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
155
|
+
view?: string;
|
156
|
+
size?: string;
|
157
|
+
outlined?: boolean;
|
158
|
+
shiftLeft?: boolean;
|
159
|
+
shiftRight?: boolean;
|
160
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
162
161
|
} & {
|
163
|
-
value?:
|
162
|
+
value?: never;
|
164
163
|
contentRight?: import("react").ReactNode;
|
165
164
|
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
166
165
|
export {};
|
@@ -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
|
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { CardContent, CardInnerContent } from '@salutejs/plasma-new-hope/styled-components';
|
3
2
|
/**
|
4
3
|
* Компонент Card.
|
@@ -13,10 +12,10 @@ export declare const Card: import("react").FunctionComponent<import("@salutejs/p
|
|
13
12
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
13
|
};
|
15
14
|
}> & {
|
16
|
-
size?: string
|
17
|
-
view?: string
|
18
|
-
orientation?: "horizontal" | "vertical"
|
19
|
-
selected?: boolean
|
20
|
-
backgroundType?: "none" | "solid"
|
15
|
+
size?: string;
|
16
|
+
view?: string;
|
17
|
+
orientation?: "horizontal" | "vertical";
|
18
|
+
selected?: boolean;
|
19
|
+
backgroundType?: "none" | "solid";
|
21
20
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
22
21
|
export { CardContent, CardInnerContent };
|
@@ -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>))>;
|
@@ -22,7 +22,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
|
|
22
22
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
23
|
};
|
24
24
|
}> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
25
|
-
export
|
25
|
+
export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
|
26
26
|
/**
|
27
27
|
* Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
|
28
28
|
*/
|
@@ -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>>;
|