@salutejs/plasma-web 1.583.0 → 1.583.1-canary.2005.15439910438.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 +53 -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_1gkbdbf.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_1gkbdbf.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 +11 -11
- 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
|
/**
|
3
2
|
* Кнопка с иконкой.
|
4
3
|
*/
|
@@ -33,46 +32,46 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
33
32
|
focused: {
|
34
33
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
35
34
|
};
|
36
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
37
|
-
text?: string
|
35
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
36
|
+
text?: string;
|
38
37
|
contentLeft?: import("react").ReactNode;
|
39
|
-
contentPlacing?:
|
40
|
-
isLoading?: boolean
|
38
|
+
contentPlacing?: "default" | "relaxed";
|
39
|
+
isLoading?: boolean;
|
41
40
|
loader?: import("react").ReactNode;
|
42
|
-
stretch?: boolean
|
43
|
-
stretching?:
|
44
|
-
square?: boolean
|
45
|
-
focused?: boolean
|
46
|
-
disabled?: boolean
|
47
|
-
pin?: "
|
48
|
-
view?: string
|
49
|
-
size?: string
|
50
|
-
outlined?: boolean
|
51
|
-
shiftLeft?: boolean
|
52
|
-
shiftRight?: boolean
|
53
|
-
blur?: "
|
41
|
+
stretch?: boolean;
|
42
|
+
stretching?: "fixed" | "auto" | "filled";
|
43
|
+
square?: boolean;
|
44
|
+
focused?: boolean;
|
45
|
+
disabled?: boolean;
|
46
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
47
|
+
view?: string;
|
48
|
+
size?: string;
|
49
|
+
outlined?: boolean;
|
50
|
+
shiftLeft?: boolean;
|
51
|
+
shiftRight?: boolean;
|
52
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
54
53
|
} & {
|
55
|
-
value?: string | number
|
56
|
-
contentRight?:
|
57
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
58
|
-
text?: string
|
54
|
+
value?: string | number;
|
55
|
+
contentRight?: never;
|
56
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
57
|
+
text?: string;
|
59
58
|
contentLeft?: import("react").ReactNode;
|
60
|
-
contentPlacing?:
|
61
|
-
isLoading?: boolean
|
59
|
+
contentPlacing?: "default" | "relaxed";
|
60
|
+
isLoading?: boolean;
|
62
61
|
loader?: import("react").ReactNode;
|
63
|
-
stretch?: boolean
|
64
|
-
stretching?:
|
65
|
-
square?: boolean
|
66
|
-
focused?: boolean
|
67
|
-
disabled?: boolean
|
68
|
-
pin?: "
|
69
|
-
view?: string
|
70
|
-
size?: string
|
71
|
-
outlined?: boolean
|
72
|
-
shiftLeft?: boolean
|
73
|
-
shiftRight?: boolean
|
74
|
-
blur?: "
|
62
|
+
stretch?: boolean;
|
63
|
+
stretching?: "fixed" | "auto" | "filled";
|
64
|
+
square?: boolean;
|
65
|
+
focused?: boolean;
|
66
|
+
disabled?: boolean;
|
67
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
68
|
+
view?: string;
|
69
|
+
size?: string;
|
70
|
+
outlined?: boolean;
|
71
|
+
shiftLeft?: boolean;
|
72
|
+
shiftRight?: boolean;
|
73
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
75
74
|
} & {
|
76
|
-
value?:
|
75
|
+
value?: never;
|
77
76
|
contentRight?: import("react").ReactNode;
|
78
77
|
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
@@ -1,9 +1,8 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Компонент Image.
|
4
3
|
*/
|
5
4
|
export declare const Image: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").ImgHTMLAttributes<HTMLImageElement> & {
|
6
|
-
base?: "div" | "img"
|
7
|
-
ratio?: "
|
8
|
-
customRatio?: string
|
5
|
+
base?: "div" | "img";
|
6
|
+
ratio?: import("@salutejs/plasma-new-hope/styled-components").Ratio;
|
7
|
+
customRatio?: string;
|
9
8
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const LinkButton: 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;
|
@@ -20,12 +19,12 @@ export declare const LinkButton: import("react").FunctionComponent<import("@salu
|
|
20
19
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
20
|
};
|
22
21
|
}> & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & {
|
23
|
-
text?: string
|
24
|
-
contentRight?:
|
25
|
-
contentLeft?:
|
26
|
-
isLoading?: boolean
|
27
|
-
loader?:
|
28
|
-
disabled?: boolean
|
29
|
-
view?: string
|
30
|
-
size?: string
|
22
|
+
text?: string;
|
23
|
+
contentRight?: React.ReactNode;
|
24
|
+
contentLeft?: React.ReactNode;
|
25
|
+
isLoading?: boolean;
|
26
|
+
loader?: React.ReactNode;
|
27
|
+
disabled?: boolean;
|
28
|
+
view?: string;
|
29
|
+
size?: string;
|
31
30
|
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Список.
|
4
3
|
*/
|
@@ -17,8 +16,8 @@ export declare const List: import("react").FunctionComponent<import("@salutejs/p
|
|
17
16
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
17
|
};
|
19
18
|
}> & import("react").HTMLAttributes<HTMLUListElement> & {
|
20
|
-
view?: string
|
21
|
-
size?: string
|
22
|
-
variant?: "
|
23
|
-
disabled?: boolean
|
19
|
+
view?: string;
|
20
|
+
size?: string;
|
21
|
+
variant?: "tight" | "normal";
|
22
|
+
disabled?: boolean;
|
24
23
|
} & import("react").RefAttributes<HTMLUListElement>>;
|