@salutejs/sdds-cs 0.329.0-canary.2263.18100873808.0 → 0.329.0-dev.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.
@@ -55,6 +55,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
55
55
|
hasExtra?: boolean;
|
56
56
|
type?: "badge" | "counter";
|
57
57
|
extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
58
|
+
customBorderRadius?: number | string;
|
58
59
|
} & {
|
59
60
|
badgeView?: string | undefined;
|
60
61
|
pilled?: boolean | undefined;
|
@@ -80,6 +81,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
80
81
|
hasExtra?: boolean;
|
81
82
|
type?: "badge" | "counter";
|
82
83
|
extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
84
|
+
customBorderRadius?: number | string;
|
83
85
|
} & {
|
84
86
|
counterView?: string | undefined;
|
85
87
|
count?: number | undefined;
|
@@ -128,6 +130,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
128
130
|
hasExtra?: boolean;
|
129
131
|
type?: "badge" | "counter";
|
130
132
|
extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
133
|
+
customBorderRadius?: number | string;
|
131
134
|
} & {
|
132
135
|
badgeView?: string | undefined;
|
133
136
|
pilled?: boolean | undefined;
|
@@ -153,6 +156,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
153
156
|
hasExtra?: boolean;
|
154
157
|
type?: "badge" | "counter";
|
155
158
|
extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
159
|
+
customBorderRadius?: number | string;
|
156
160
|
} & {
|
157
161
|
counterView?: string | undefined;
|
158
162
|
count?: number | undefined;
|
@@ -50,7 +50,8 @@ function _templateObject1() {
|
|
50
50
|
"\n ",
|
51
51
|
": 2.5rem;\n ",
|
52
52
|
": 0.75rem;\n ",
|
53
|
-
": 0.
|
53
|
+
": 0.5rem 0.75rem;\n ",
|
54
|
+
": 0.4375rem 0.5rem;\n ",
|
54
55
|
": 1.875rem;\n ",
|
55
56
|
": 0.5rem;\n ",
|
56
57
|
": 0rem;\n ",
|
@@ -85,7 +86,7 @@ var config = {
|
|
85
86
|
default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.treeTokens.iconFolderColor, _styledcomponents.treeTokens.arrowColor, _styledcomponents.treeTokens.arrowColorHover, _styledcomponents.treeTokens.arrowColorActive, _styledcomponents.treeTokens.color, _styledcomponents.treeTokens.colorSelected, _styledcomponents.treeTokens.itemBackgroundColorSelected, _styledcomponents.treeTokens.itemBackgroundColorPrimary, _styledcomponents.treeTokens.itemBackgroundColorHover, _styledcomponents.treeTokens.itemBackgroundColorActive, _styledcomponents.treeTokens.checkboxBorderColor, _styledcomponents.treeTokens.checkboxBackgroundColor, _styledcomponents.treeTokens.itemDisabledOpacity, _styledcomponents.treeTokens.itemDisabledBorderColor, _styledcomponents.treeTokens.itemDisabledColor, _styledcomponents.treeTokens.itemDraggableBorderColor, _styledcomponents.treeTokens.itemDraggableLineColor)
|
86
87
|
},
|
87
88
|
size: {
|
88
|
-
s: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.treeTokens.itemHeight, _styledcomponents.treeTokens.itemPadding, _styledcomponents.treeTokens.itemPaddingTight, _styledcomponents.treeTokens.itemIndent, _styledcomponents.treeTokens.itemBorderRadius, _styledcomponents.treeTokens.itemTop, _styledcomponents.treeTokens.itemBottom, _styledcomponents.treeTokens.iconFolderMargin, _styledcomponents.treeTokens.switcherMargin, _styledcomponents.treeTokens.switcherMarginInverted, _styledcomponents.treeTokens.switcherSize, _styledcomponents.treeTokens.checkboxMargin, _styledcomponents.treeTokens.checkboxSize, _styledcomponents.treeTokens.checkboxInnerSize, _styledcomponents.treeTokens.checkboxBorderRadius, _styledcomponents.treeTokens.fontFamily, _styledcomponents.treeTokens.fontSize, _styledcomponents.treeTokens.fontStyle, _styledcomponents.treeTokens.fontWeight, _styledcomponents.treeTokens.letterSpacing, _styledcomponents.treeTokens.lineHeight)
|
89
|
+
s: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.treeTokens.itemHeight, _styledcomponents.treeTokens.itemBackgroundExtraOffset, _styledcomponents.treeTokens.itemPadding, _styledcomponents.treeTokens.itemPaddingTight, _styledcomponents.treeTokens.itemIndent, _styledcomponents.treeTokens.itemBorderRadius, _styledcomponents.treeTokens.itemTop, _styledcomponents.treeTokens.itemBottom, _styledcomponents.treeTokens.iconFolderMargin, _styledcomponents.treeTokens.switcherMargin, _styledcomponents.treeTokens.switcherMarginInverted, _styledcomponents.treeTokens.switcherSize, _styledcomponents.treeTokens.checkboxMargin, _styledcomponents.treeTokens.checkboxSize, _styledcomponents.treeTokens.checkboxInnerSize, _styledcomponents.treeTokens.checkboxBorderRadius, _styledcomponents.treeTokens.fontFamily, _styledcomponents.treeTokens.fontSize, _styledcomponents.treeTokens.fontStyle, _styledcomponents.treeTokens.fontWeight, _styledcomponents.treeTokens.letterSpacing, _styledcomponents.treeTokens.lineHeight)
|
89
90
|
}
|
90
91
|
}
|
91
92
|
};
|
@@ -50,7 +50,8 @@ function _templateObject1() {
|
|
50
50
|
"\n ",
|
51
51
|
": 2.5rem;\n ",
|
52
52
|
": 0.75rem;\n ",
|
53
|
-
": 0.
|
53
|
+
": 0.5rem 0.75rem;\n ",
|
54
|
+
": 0.4375rem 0.5rem;\n ",
|
54
55
|
": 1.875rem;\n ",
|
55
56
|
": 0.5rem;\n ",
|
56
57
|
": 0rem;\n ",
|
@@ -85,7 +86,7 @@ var config = {
|
|
85
86
|
default: (0, _emotion.css)(_templateObject(), _emotion.treeTokens.iconFolderColor, _emotion.treeTokens.arrowColor, _emotion.treeTokens.arrowColorHover, _emotion.treeTokens.arrowColorActive, _emotion.treeTokens.color, _emotion.treeTokens.colorSelected, _emotion.treeTokens.itemBackgroundColorSelected, _emotion.treeTokens.itemBackgroundColorPrimary, _emotion.treeTokens.itemBackgroundColorHover, _emotion.treeTokens.itemBackgroundColorActive, _emotion.treeTokens.checkboxBorderColor, _emotion.treeTokens.checkboxBackgroundColor, _emotion.treeTokens.itemDisabledOpacity, _emotion.treeTokens.itemDisabledBorderColor, _emotion.treeTokens.itemDisabledColor, _emotion.treeTokens.itemDraggableBorderColor, _emotion.treeTokens.itemDraggableLineColor)
|
86
87
|
},
|
87
88
|
size: {
|
88
|
-
s: (0, _emotion.css)(_templateObject1(), _emotion.treeTokens.itemHeight, _emotion.treeTokens.itemPadding, _emotion.treeTokens.itemPaddingTight, _emotion.treeTokens.itemIndent, _emotion.treeTokens.itemBorderRadius, _emotion.treeTokens.itemTop, _emotion.treeTokens.itemBottom, _emotion.treeTokens.iconFolderMargin, _emotion.treeTokens.switcherMargin, _emotion.treeTokens.switcherMarginInverted, _emotion.treeTokens.switcherSize, _emotion.treeTokens.checkboxMargin, _emotion.treeTokens.checkboxSize, _emotion.treeTokens.checkboxInnerSize, _emotion.treeTokens.checkboxBorderRadius, _emotion.treeTokens.fontFamily, _emotion.treeTokens.fontSize, _emotion.treeTokens.fontStyle, _emotion.treeTokens.fontWeight, _emotion.treeTokens.letterSpacing, _emotion.treeTokens.lineHeight)
|
89
|
+
s: (0, _emotion.css)(_templateObject1(), _emotion.treeTokens.itemHeight, _emotion.treeTokens.itemBackgroundExtraOffset, _emotion.treeTokens.itemPadding, _emotion.treeTokens.itemPaddingTight, _emotion.treeTokens.itemIndent, _emotion.treeTokens.itemBorderRadius, _emotion.treeTokens.itemTop, _emotion.treeTokens.itemBottom, _emotion.treeTokens.iconFolderMargin, _emotion.treeTokens.switcherMargin, _emotion.treeTokens.switcherMarginInverted, _emotion.treeTokens.switcherSize, _emotion.treeTokens.checkboxMargin, _emotion.treeTokens.checkboxSize, _emotion.treeTokens.checkboxInnerSize, _emotion.treeTokens.checkboxBorderRadius, _emotion.treeTokens.fontFamily, _emotion.treeTokens.fontSize, _emotion.treeTokens.fontStyle, _emotion.treeTokens.fontWeight, _emotion.treeTokens.letterSpacing, _emotion.treeTokens.lineHeight)
|
89
90
|
}
|
90
91
|
}
|
91
92
|
};
|
@@ -39,7 +39,8 @@ function _templateObject1() {
|
|
39
39
|
"\n ",
|
40
40
|
": 2.5rem;\n ",
|
41
41
|
": 0.75rem;\n ",
|
42
|
-
": 0.
|
42
|
+
": 0.5rem 0.75rem;\n ",
|
43
|
+
": 0.4375rem 0.5rem;\n ",
|
43
44
|
": 1.875rem;\n ",
|
44
45
|
": 0.5rem;\n ",
|
45
46
|
": 0rem;\n ",
|
@@ -75,7 +76,7 @@ export var config = {
|
|
75
76
|
default: css(_templateObject(), tokens.iconFolderColor, tokens.arrowColor, tokens.arrowColorHover, tokens.arrowColorActive, tokens.color, tokens.colorSelected, tokens.itemBackgroundColorSelected, tokens.itemBackgroundColorPrimary, tokens.itemBackgroundColorHover, tokens.itemBackgroundColorActive, tokens.checkboxBorderColor, tokens.checkboxBackgroundColor, tokens.itemDisabledOpacity, tokens.itemDisabledBorderColor, tokens.itemDisabledColor, tokens.itemDraggableBorderColor, tokens.itemDraggableLineColor)
|
76
77
|
},
|
77
78
|
size: {
|
78
|
-
s: css(_templateObject1(), tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemIndent, tokens.itemBorderRadius, tokens.itemTop, tokens.itemBottom, tokens.iconFolderMargin, tokens.switcherMargin, tokens.switcherMarginInverted, tokens.switcherSize, tokens.checkboxMargin, tokens.checkboxSize, tokens.checkboxInnerSize, tokens.checkboxBorderRadius, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight)
|
79
|
+
s: css(_templateObject1(), tokens.itemHeight, tokens.itemBackgroundExtraOffset, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemIndent, tokens.itemBorderRadius, tokens.itemTop, tokens.itemBottom, tokens.iconFolderMargin, tokens.switcherMargin, tokens.switcherMarginInverted, tokens.switcherSize, tokens.checkboxMargin, tokens.checkboxSize, tokens.checkboxInnerSize, tokens.checkboxBorderRadius, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight)
|
79
80
|
}
|
80
81
|
}
|
81
82
|
};
|
@@ -39,7 +39,8 @@ function _templateObject1() {
|
|
39
39
|
"\n ",
|
40
40
|
": 2.5rem;\n ",
|
41
41
|
": 0.75rem;\n ",
|
42
|
-
": 0.
|
42
|
+
": 0.5rem 0.75rem;\n ",
|
43
|
+
": 0.4375rem 0.5rem;\n ",
|
43
44
|
": 1.875rem;\n ",
|
44
45
|
": 0.5rem;\n ",
|
45
46
|
": 0rem;\n ",
|
@@ -75,7 +76,7 @@ export var config = {
|
|
75
76
|
default: css(_templateObject(), tokens.iconFolderColor, tokens.arrowColor, tokens.arrowColorHover, tokens.arrowColorActive, tokens.color, tokens.colorSelected, tokens.itemBackgroundColorSelected, tokens.itemBackgroundColorPrimary, tokens.itemBackgroundColorHover, tokens.itemBackgroundColorActive, tokens.checkboxBorderColor, tokens.checkboxBackgroundColor, tokens.itemDisabledOpacity, tokens.itemDisabledBorderColor, tokens.itemDisabledColor, tokens.itemDraggableBorderColor, tokens.itemDraggableLineColor)
|
76
77
|
},
|
77
78
|
size: {
|
78
|
-
s: css(_templateObject1(), tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemIndent, tokens.itemBorderRadius, tokens.itemTop, tokens.itemBottom, tokens.iconFolderMargin, tokens.switcherMargin, tokens.switcherMarginInverted, tokens.switcherSize, tokens.checkboxMargin, tokens.checkboxSize, tokens.checkboxInnerSize, tokens.checkboxBorderRadius, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight)
|
79
|
+
s: css(_templateObject1(), tokens.itemHeight, tokens.itemBackgroundExtraOffset, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemIndent, tokens.itemBorderRadius, tokens.itemTop, tokens.itemBottom, tokens.iconFolderMargin, tokens.switcherMargin, tokens.switcherMarginInverted, tokens.switcherSize, tokens.checkboxMargin, tokens.checkboxSize, tokens.checkboxInnerSize, tokens.checkboxBorderRadius, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight)
|
79
80
|
}
|
80
81
|
}
|
81
82
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.329.0-
|
3
|
+
"version": "0.329.0-dev.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.337.0-
|
33
|
+
"@salutejs/plasma-new-hope": "0.337.0-dev.0",
|
34
34
|
"@salutejs/sdds-themes": "0.47.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "89caa26ad556d5c443171d79aeb8e664f3d4e6ee"
|
127
127
|
}
|