@salutejs/sdds-cs 0.329.0-canary.2263.18100873808.0 → 0.329.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 CHANGED
@@ -1,3 +1,57 @@
1
+ ## 0.328.1 (19 сентября 2025)
2
+
3
+ ## Функциональные изменения в компонентах
4
+
5
+ ### Avatar
6
+
7
+ * Исправлен `type` для свойства `shape`
8
+
9
+ ### What/why changed
10
+
11
+ <!-- GITHUB_RELEASE PR BODY: canary-version -->
12
+
13
+ <details>
14
+ <summary>📦 Published PR as canary version: <code>Canary Versions</code></summary>
15
+ <br />
16
+
17
+ :sparkles: Test out this PR locally via:
18
+
19
+ ```bash
20
+ npm install @salutejs/plasma-asdk@0.350.1-canary.2246.17847852413.0
21
+ npm install @salutejs/plasma-b2c@1.592.1-canary.2246.17847852413.0
22
+ npm install @salutejs/plasma-giga@0.319.1-canary.2246.17847852413.0
23
+ npm install @salutejs/plasma-new-hope@0.336.1-canary.2246.17847852413.0
24
+ npm install @salutejs/plasma-web@1.594.1-canary.2246.17847852413.0
25
+ npm install @salutejs/sdds-bizcom@0.324.1-canary.2246.17847852413.0
26
+ npm install @salutejs/sdds-crm@0.323.1-canary.2246.17847852413.0
27
+ npm install @salutejs/sdds-cs@0.328.1-canary.2246.17847852413.0
28
+ npm install @salutejs/sdds-dfa@0.322.1-canary.2246.17847852413.0
29
+ npm install @salutejs/sdds-finai@0.315.1-canary.2246.17847852413.0
30
+ npm install @salutejs/sdds-insol@0.319.1-canary.2246.17847852413.0
31
+ npm install @salutejs/sdds-netology@0.323.1-canary.2246.17847852413.0
32
+ npm install @salutejs/sdds-scan@0.322.1-canary.2246.17847852413.0
33
+ npm install @salutejs/sdds-serv@0.323.1-canary.2246.17847852413.0
34
+ # or
35
+ yarn add @salutejs/plasma-asdk@0.350.1-canary.2246.17847852413.0
36
+ yarn add @salutejs/plasma-b2c@1.592.1-canary.2246.17847852413.0
37
+ yarn add @salutejs/plasma-giga@0.319.1-canary.2246.17847852413.0
38
+ yarn add @salutejs/plasma-new-hope@0.336.1-canary.2246.17847852413.0
39
+ yarn add @salutejs/plasma-web@1.594.1-canary.2246.17847852413.0
40
+ yarn add @salutejs/sdds-bizcom@0.324.1-canary.2246.17847852413.0
41
+ yarn add @salutejs/sdds-crm@0.323.1-canary.2246.17847852413.0
42
+ yarn add @salutejs/sdds-cs@0.328.1-canary.2246.17847852413.0
43
+ yarn add @salutejs/sdds-dfa@0.322.1-canary.2246.17847852413.0
44
+ yarn add @salutejs/sdds-finai@0.315.1-canary.2246.17847852413.0
45
+ yarn add @salutejs/sdds-insol@0.319.1-canary.2246.17847852413.0
46
+ yarn add @salutejs/sdds-netology@0.323.1-canary.2246.17847852413.0
47
+ yarn add @salutejs/sdds-scan@0.322.1-canary.2246.17847852413.0
48
+ yarn add @salutejs/sdds-serv@0.323.1-canary.2246.17847852413.0
49
+ ```
50
+
51
+ </details>
52
+ <!-- GITHUB_RELEASE PR BODY: canary-version -->
53
+
54
+
1
55
  ## 0.328.0 (18 сентября 2025)
2
56
 
3
57
  ## Функциональные изменения в компонентах
@@ -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.25rem;\n ",
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.25rem;\n ",
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.25rem;\n ",
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.25rem;\n ",
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-canary.2263.18100873808.0",
3
+ "version": "0.329.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-canary.2263.18100873808.0",
33
+ "@salutejs/plasma-new-hope": "0.337.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": "be72acdead2889aa4b3899392bbc5f6197b77769"
126
+ "gitHead": "6d1f46197e73a5fe0f4cea759dabf0af2595bc0e"
127
127
  }