@salutejs/sdds-cs 0.329.0-canary.2237.17801180282.0 → 0.329.0-canary.2237.17941275054.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 +122 -0
- package/components/Avatar/Avatar.d.ts +4 -4
- package/components/Chip/Chip.config.js +6 -3
- package/components/Combobox/Combobox.config.js +2 -2
- package/emotion/cjs/components/Chip/Chip.config.js +6 -3
- package/emotion/cjs/components/Combobox/Combobox.config.js +2 -2
- package/emotion/es/components/Chip/Chip.config.js +6 -3
- package/emotion/es/components/Combobox/Combobox.config.js +2 -2
- package/es/components/Chip/Chip.config.js +6 -3
- package/es/components/Combobox/Combobox.config.js +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,125 @@
|
|
1
|
+
## 0.328.0 (18 сентября 2025)
|
2
|
+
|
3
|
+
## Функциональные изменения в компонентах
|
4
|
+
|
5
|
+
### Drawer
|
6
|
+
|
7
|
+
* исправлен баг, при котором `unmount` компонента не очищал свойство `overflow` у `body`;
|
8
|
+
|
9
|
+
[PR](https://github.com/salute-developers/plasma/pull/2208)
|
10
|
+
|
11
|
+
* добавлена возможность задавать кастомные анимации в компоненте
|
12
|
+
|
13
|
+
[PR](https://github.com/salute-developers/plasma/pull/2222)
|
14
|
+
|
15
|
+
### Autocomplete
|
16
|
+
|
17
|
+
* добавлен дженерик для гибкой настройки `SuggestionItem`;
|
18
|
+
|
19
|
+
[PR](https://github.com/salute-developers/plasma/pull/2211)
|
20
|
+
|
21
|
+
### Dropdown
|
22
|
+
|
23
|
+
* в коллбэк `onHover` добавлен вторым аргументом `item` наведенного элемента;
|
24
|
+
|
25
|
+
[PR](https://github.com/salute-developers/plasma/pull/2212)
|
26
|
+
|
27
|
+
### Select, Combobox
|
28
|
+
|
29
|
+
* добавлено свойство `mode` со значениями `default` и `radio`;
|
30
|
+
|
31
|
+
[PR](https://github.com/salute-developers/plasma/pull/2213)
|
32
|
+
|
33
|
+
### Engine
|
34
|
+
|
35
|
+
* добавлена проверка свойств на nullable значения. Например если значение для свойства типа `view` или `size` будет указано, как `undefined`, то применится значение по-умолчанию, взятое из конфигурации компонента.
|
36
|
+
|
37
|
+
[PR](https://github.com/salute-developers/plasma/pull/2202)
|
38
|
+
|
39
|
+
### CodeField
|
40
|
+
|
41
|
+
* добавлена поддержка чтения OTP из смс
|
42
|
+
|
43
|
+
* исправлен `controlled` вариант компонента
|
44
|
+
|
45
|
+
[PR](https://github.com/salute-developers/plasma/pull/2210)
|
46
|
+
|
47
|
+
### Combobox, Select
|
48
|
+
|
49
|
+
* переработана логика работы с disabled-элементами. Теперь взаимодействие с ними изнутри компонента невозможно;
|
50
|
+
|
51
|
+
[PR](https://github.com/salute-developers/plasma/pull/2220)
|
52
|
+
|
53
|
+
* при закрытии выпадающего списка происходит скролл всех чипов в начало.
|
54
|
+
|
55
|
+
[PR](https://github.com/salute-developers/plasma/pull/2231)
|
56
|
+
|
57
|
+
### Combobox, Select, Dropdown
|
58
|
+
|
59
|
+
* разработан функционал, позволяющий корректно позиционировать вложенные выпадающие списки в контейнерах со скроллом;
|
60
|
+
|
61
|
+
[PR](https://github.com/salute-developers/plasma/pull/2205)
|
62
|
+
|
63
|
+
### Range
|
64
|
+
|
65
|
+
* добавлен размер `xl`
|
66
|
+
|
67
|
+
[PR](https://github.com/salute-developers/plasma/pull/2227)
|
68
|
+
|
69
|
+
### DatePicker
|
70
|
+
|
71
|
+
* удален автофокус инпута при закрытии выпадающего календаря
|
72
|
+
* исправлен вызов `callback` внутри `onBlur`
|
73
|
+
|
74
|
+
[PR](https://github.com/salute-developers/plasma/pull/2216)
|
75
|
+
|
76
|
+
### Popover
|
77
|
+
|
78
|
+
* исправлена генерация `id` портала
|
79
|
+
|
80
|
+
[PR](https://github.com/salute-developers/plasma/pull/2216)
|
81
|
+
|
82
|
+
### Pagination
|
83
|
+
|
84
|
+
* Добавлен пропс `helperText`
|
85
|
+
|
86
|
+
[PR](https://github.com/salute-developers/plasma/pull/2163)
|
87
|
+
|
88
|
+
### Switch
|
89
|
+
|
90
|
+
* Добавлен новый параметр `singleLine`, который влияет на перенос строки текста `label`
|
91
|
+
|
92
|
+
[PR](https://github.com/salute-developers/plasma/pull/2224)
|
93
|
+
|
94
|
+
### Tree
|
95
|
+
|
96
|
+
* добавлен DragAndDrop
|
97
|
+
|
98
|
+
[PR](https://github.com/salute-developers/plasma/pull/2214)
|
99
|
+
|
100
|
+
### Attach
|
101
|
+
|
102
|
+
* добавлен обработчик `onClick`
|
103
|
+
|
104
|
+
* добавлена возможность скрывать кнопку после прикрепления файла, с помощью `hideButtonOnAttach`
|
105
|
+
|
106
|
+
[PR](https://github.com/salute-developers/plasma/pull/2228)
|
107
|
+
|
108
|
+
### Avatar
|
109
|
+
|
110
|
+
* Добавлен новый параметр `shape`
|
111
|
+
|
112
|
+
* Обновлены тесты и документация
|
113
|
+
|
114
|
+
[PR](https://github.com/salute-developers/plasma/pull/2209)
|
115
|
+
|
116
|
+
### Skeleton
|
117
|
+
|
118
|
+
* Добавлено новое значение для `view` - `lighter`
|
119
|
+
|
120
|
+
[PR](https://github.com/salute-developers/plasma/pull/2238)
|
121
|
+
|
122
|
+
|
1
123
|
## 0.327.0 (4 сентября 2025)
|
2
124
|
|
3
125
|
## Функциональные изменения в компонентах
|
@@ -43,7 +43,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
43
43
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
44
44
|
};
|
45
45
|
}>, (import("react").HTMLAttributes<HTMLDivElement> & {
|
46
|
-
shape?:
|
46
|
+
shape?: string;
|
47
47
|
size?: string;
|
48
48
|
name?: string;
|
49
49
|
url?: string;
|
@@ -68,7 +68,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
|
|
68
68
|
count?: undefined;
|
69
69
|
maxCount?: undefined;
|
70
70
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
71
|
-
shape?:
|
71
|
+
shape?: string;
|
72
72
|
size?: string;
|
73
73
|
name?: string;
|
74
74
|
url?: string;
|
@@ -116,7 +116,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
116
116
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
117
117
|
};
|
118
118
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
119
|
-
shape?:
|
119
|
+
shape?: string;
|
120
120
|
size?: string;
|
121
121
|
name?: string;
|
122
122
|
url?: string;
|
@@ -141,7 +141,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
|
|
141
141
|
count?: undefined;
|
142
142
|
maxCount?: undefined;
|
143
143
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
144
|
-
shape?:
|
144
|
+
shape?: string;
|
145
145
|
size?: string;
|
146
146
|
name?: string;
|
147
147
|
url?: string;
|
@@ -33,6 +33,7 @@ function _templateObject() {
|
|
33
33
|
": var(--surface-solid-card);\n ",
|
34
34
|
": var(--text-primary);\n ",
|
35
35
|
": var(--text-accent);\n ",
|
36
|
+
": var(--text-accent-hover);\n ",
|
36
37
|
": var(--text-accent);\n "
|
37
38
|
]);
|
38
39
|
_templateObject = function _templateObject() {
|
@@ -54,6 +55,7 @@ function _templateObject1() {
|
|
54
55
|
": var(--surface-solid-primary);\n ",
|
55
56
|
": var(--text-primary);\n ",
|
56
57
|
": var(--text-accent);\n ",
|
58
|
+
": var(--text-accent-hover);\n ",
|
57
59
|
": var(--text-accent);\n "
|
58
60
|
]);
|
59
61
|
_templateObject1 = function _templateObject() {
|
@@ -75,6 +77,7 @@ function _templateObject2() {
|
|
75
77
|
": var(--surface-accent);\n ",
|
76
78
|
": var(--on-dark-text-primary);\n\n ",
|
77
79
|
": var(--on-dark-text-primary);\n ",
|
80
|
+
": var(--on-dark-text-primary-hover);\n ",
|
78
81
|
": var(--on-dark-text-primary);\n "
|
79
82
|
]);
|
80
83
|
_templateObject2 = function _templateObject() {
|
@@ -154,9 +157,9 @@ var config = {
|
|
154
157
|
},
|
155
158
|
variations: {
|
156
159
|
view: {
|
157
|
-
default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.leftContentColor),
|
158
|
-
secondary: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.leftContentColor),
|
159
|
-
accent: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.leftContentColor)
|
160
|
+
default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
|
161
|
+
secondary: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor),
|
162
|
+
accent: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.chipTokens.color, _styledcomponents.chipTokens.background, _styledcomponents.chipTokens.colorHover, _styledcomponents.chipTokens.backgroundHover, _styledcomponents.chipTokens.colorActive, _styledcomponents.chipTokens.backgroundActive, _styledcomponents.chipTokens.backgroundReadOnly, _styledcomponents.chipTokens.colorReadOnly, _styledcomponents.chipTokens.backgroundReadOnlyHover, _styledcomponents.chipTokens.colorReadOnlyHover, _styledcomponents.chipTokens.closeIconColor, _styledcomponents.chipTokens.closeIconColorHover, _styledcomponents.chipTokens.leftContentColor)
|
160
163
|
},
|
161
164
|
size: {
|
162
165
|
s: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.chipTokens.borderRadius, _styledcomponents.chipTokens.pilledBorderRadius, _styledcomponents.chipTokens.width, _styledcomponents.chipTokens.height, _styledcomponents.chipTokens.padding, _styledcomponents.chipTokens.fontFamily, _styledcomponents.chipTokens.fontSize, _styledcomponents.chipTokens.fontStyle, _styledcomponents.chipTokens.fontWeight, _styledcomponents.chipTokens.letterSpacing, _styledcomponents.chipTokens.lineHeight, _styledcomponents.chipTokens.leftContentMarginLeft, _styledcomponents.chipTokens.leftContentMarginRight, _styledcomponents.chipTokens.rightContentMarginLeft, _styledcomponents.chipTokens.rightContentMarginRight, _styledcomponents.chipTokens.clearContentMarginLeft, _styledcomponents.chipTokens.clearContentMarginRight, _styledcomponents.chipTokens.closeIconSize),
|
@@ -48,7 +48,7 @@ function _templateObject() {
|
|
48
48
|
": var(--surface-negative);\n ",
|
49
49
|
": var(--text-tertiary);\n\n ",
|
50
50
|
": var(--text-secondary);\n ",
|
51
|
-
": var(--text-
|
51
|
+
": var(--text-secondary-hover);\n ",
|
52
52
|
": var(--text-primary);\n ",
|
53
53
|
": var(--surface-transparent-secondary);\n ",
|
54
54
|
": var(--text-primary);\n ",
|
@@ -105,7 +105,7 @@ function _templateObject1() {
|
|
105
105
|
": var(--surface-negative);\n ",
|
106
106
|
": var(--text-tertiary);\n\n ",
|
107
107
|
": var(--text-secondary);\n ",
|
108
|
-
": var(--text-
|
108
|
+
": var(--text-secondary-hover);\n ",
|
109
109
|
": var(--text-primary);\n ",
|
110
110
|
": var(--surface-transparent-secondary);\n ",
|
111
111
|
": var(--text-primary);\n ",
|
@@ -33,6 +33,7 @@ function _templateObject() {
|
|
33
33
|
": var(--surface-solid-card);\n ",
|
34
34
|
": var(--text-primary);\n ",
|
35
35
|
": var(--text-accent);\n ",
|
36
|
+
": var(--text-accent-hover);\n ",
|
36
37
|
": var(--text-accent);\n "
|
37
38
|
]);
|
38
39
|
_templateObject = function _templateObject() {
|
@@ -54,6 +55,7 @@ function _templateObject1() {
|
|
54
55
|
": var(--surface-solid-primary);\n ",
|
55
56
|
": var(--text-primary);\n ",
|
56
57
|
": var(--text-accent);\n ",
|
58
|
+
": var(--text-accent-hover);\n ",
|
57
59
|
": var(--text-accent);\n "
|
58
60
|
]);
|
59
61
|
_templateObject1 = function _templateObject() {
|
@@ -75,6 +77,7 @@ function _templateObject2() {
|
|
75
77
|
": var(--surface-accent);\n ",
|
76
78
|
": var(--on-dark-text-primary);\n\n ",
|
77
79
|
": var(--on-dark-text-primary);\n ",
|
80
|
+
": var(--on-dark-text-primary-hover);\n ",
|
78
81
|
": var(--on-dark-text-primary);\n "
|
79
82
|
]);
|
80
83
|
_templateObject2 = function _templateObject() {
|
@@ -154,9 +157,9 @@ var config = {
|
|
154
157
|
},
|
155
158
|
variations: {
|
156
159
|
view: {
|
157
|
-
default: (0, _emotion.css)(_templateObject(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.leftContentColor),
|
158
|
-
secondary: (0, _emotion.css)(_templateObject1(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.leftContentColor),
|
159
|
-
accent: (0, _emotion.css)(_templateObject2(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.leftContentColor)
|
160
|
+
default: (0, _emotion.css)(_templateObject(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
|
161
|
+
secondary: (0, _emotion.css)(_templateObject1(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor),
|
162
|
+
accent: (0, _emotion.css)(_templateObject2(), _emotion.chipTokens.color, _emotion.chipTokens.background, _emotion.chipTokens.colorHover, _emotion.chipTokens.backgroundHover, _emotion.chipTokens.colorActive, _emotion.chipTokens.backgroundActive, _emotion.chipTokens.backgroundReadOnly, _emotion.chipTokens.colorReadOnly, _emotion.chipTokens.backgroundReadOnlyHover, _emotion.chipTokens.colorReadOnlyHover, _emotion.chipTokens.closeIconColor, _emotion.chipTokens.closeIconColorHover, _emotion.chipTokens.leftContentColor)
|
160
163
|
},
|
161
164
|
size: {
|
162
165
|
s: (0, _emotion.css)(_templateObject3(), _emotion.chipTokens.borderRadius, _emotion.chipTokens.pilledBorderRadius, _emotion.chipTokens.width, _emotion.chipTokens.height, _emotion.chipTokens.padding, _emotion.chipTokens.fontFamily, _emotion.chipTokens.fontSize, _emotion.chipTokens.fontStyle, _emotion.chipTokens.fontWeight, _emotion.chipTokens.letterSpacing, _emotion.chipTokens.lineHeight, _emotion.chipTokens.leftContentMarginLeft, _emotion.chipTokens.leftContentMarginRight, _emotion.chipTokens.rightContentMarginLeft, _emotion.chipTokens.rightContentMarginRight, _emotion.chipTokens.clearContentMarginLeft, _emotion.chipTokens.clearContentMarginRight, _emotion.chipTokens.closeIconSize),
|
@@ -48,7 +48,7 @@ function _templateObject() {
|
|
48
48
|
": var(--surface-negative);\n ",
|
49
49
|
": var(--text-tertiary);\n\n ",
|
50
50
|
": var(--text-secondary);\n ",
|
51
|
-
": var(--text-
|
51
|
+
": var(--text-secondary-hover);\n ",
|
52
52
|
": var(--text-primary);\n ",
|
53
53
|
": var(--surface-transparent-secondary);\n ",
|
54
54
|
": var(--text-primary);\n ",
|
@@ -105,7 +105,7 @@ function _templateObject1() {
|
|
105
105
|
": var(--surface-negative);\n ",
|
106
106
|
": var(--text-tertiary);\n\n ",
|
107
107
|
": var(--text-secondary);\n ",
|
108
|
-
": var(--text-
|
108
|
+
": var(--text-secondary-hover);\n ",
|
109
109
|
": var(--text-primary);\n ",
|
110
110
|
": var(--surface-transparent-secondary);\n ",
|
111
111
|
": var(--text-primary);\n ",
|
@@ -22,6 +22,7 @@ function _templateObject() {
|
|
22
22
|
": var(--surface-solid-card);\n ",
|
23
23
|
": var(--text-primary);\n ",
|
24
24
|
": var(--text-accent);\n ",
|
25
|
+
": var(--text-accent-hover);\n ",
|
25
26
|
": var(--text-accent);\n "
|
26
27
|
]);
|
27
28
|
_templateObject = function _templateObject() {
|
@@ -43,6 +44,7 @@ function _templateObject1() {
|
|
43
44
|
": var(--surface-solid-primary);\n ",
|
44
45
|
": var(--text-primary);\n ",
|
45
46
|
": var(--text-accent);\n ",
|
47
|
+
": var(--text-accent-hover);\n ",
|
46
48
|
": var(--text-accent);\n "
|
47
49
|
]);
|
48
50
|
_templateObject1 = function _templateObject() {
|
@@ -64,6 +66,7 @@ function _templateObject2() {
|
|
64
66
|
": var(--surface-accent);\n ",
|
65
67
|
": var(--on-dark-text-primary);\n\n ",
|
66
68
|
": var(--on-dark-text-primary);\n ",
|
69
|
+
": var(--on-dark-text-primary-hover);\n ",
|
67
70
|
": var(--on-dark-text-primary);\n "
|
68
71
|
]);
|
69
72
|
_templateObject2 = function _templateObject() {
|
@@ -144,9 +147,9 @@ export var config = {
|
|
144
147
|
},
|
145
148
|
variations: {
|
146
149
|
view: {
|
147
|
-
default: css(_templateObject(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.leftContentColor),
|
148
|
-
secondary: css(_templateObject1(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.leftContentColor),
|
149
|
-
accent: css(_templateObject2(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.leftContentColor)
|
150
|
+
default: css(_templateObject(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover, chipTokens.leftContentColor),
|
151
|
+
secondary: css(_templateObject1(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover, chipTokens.leftContentColor),
|
152
|
+
accent: css(_templateObject2(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover, chipTokens.leftContentColor)
|
150
153
|
},
|
151
154
|
size: {
|
152
155
|
s: css(_templateObject3(), chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize),
|
@@ -37,7 +37,7 @@ function _templateObject() {
|
|
37
37
|
": var(--surface-negative);\n ",
|
38
38
|
": var(--text-tertiary);\n\n ",
|
39
39
|
": var(--text-secondary);\n ",
|
40
|
-
": var(--text-
|
40
|
+
": var(--text-secondary-hover);\n ",
|
41
41
|
": var(--text-primary);\n ",
|
42
42
|
": var(--surface-transparent-secondary);\n ",
|
43
43
|
": var(--text-primary);\n ",
|
@@ -94,7 +94,7 @@ function _templateObject1() {
|
|
94
94
|
": var(--surface-negative);\n ",
|
95
95
|
": var(--text-tertiary);\n\n ",
|
96
96
|
": var(--text-secondary);\n ",
|
97
|
-
": var(--text-
|
97
|
+
": var(--text-secondary-hover);\n ",
|
98
98
|
": var(--text-primary);\n ",
|
99
99
|
": var(--surface-transparent-secondary);\n ",
|
100
100
|
": var(--text-primary);\n ",
|
@@ -22,6 +22,7 @@ function _templateObject() {
|
|
22
22
|
": var(--surface-solid-card);\n ",
|
23
23
|
": var(--text-primary);\n ",
|
24
24
|
": var(--text-accent);\n ",
|
25
|
+
": var(--text-accent-hover);\n ",
|
25
26
|
": var(--text-accent);\n "
|
26
27
|
]);
|
27
28
|
_templateObject = function _templateObject() {
|
@@ -43,6 +44,7 @@ function _templateObject1() {
|
|
43
44
|
": var(--surface-solid-primary);\n ",
|
44
45
|
": var(--text-primary);\n ",
|
45
46
|
": var(--text-accent);\n ",
|
47
|
+
": var(--text-accent-hover);\n ",
|
46
48
|
": var(--text-accent);\n "
|
47
49
|
]);
|
48
50
|
_templateObject1 = function _templateObject() {
|
@@ -64,6 +66,7 @@ function _templateObject2() {
|
|
64
66
|
": var(--surface-accent);\n ",
|
65
67
|
": var(--on-dark-text-primary);\n\n ",
|
66
68
|
": var(--on-dark-text-primary);\n ",
|
69
|
+
": var(--on-dark-text-primary-hover);\n ",
|
67
70
|
": var(--on-dark-text-primary);\n "
|
68
71
|
]);
|
69
72
|
_templateObject2 = function _templateObject() {
|
@@ -144,9 +147,9 @@ export var config = {
|
|
144
147
|
},
|
145
148
|
variations: {
|
146
149
|
view: {
|
147
|
-
default: css(_templateObject(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.leftContentColor),
|
148
|
-
secondary: css(_templateObject1(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.leftContentColor),
|
149
|
-
accent: css(_templateObject2(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.leftContentColor)
|
150
|
+
default: css(_templateObject(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover, chipTokens.leftContentColor),
|
151
|
+
secondary: css(_templateObject1(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover, chipTokens.leftContentColor),
|
152
|
+
accent: css(_templateObject2(), chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover, chipTokens.leftContentColor)
|
150
153
|
},
|
151
154
|
size: {
|
152
155
|
s: css(_templateObject3(), chipTokens.borderRadius, chipTokens.pilledBorderRadius, chipTokens.width, chipTokens.height, chipTokens.padding, chipTokens.fontFamily, chipTokens.fontSize, chipTokens.fontStyle, chipTokens.fontWeight, chipTokens.letterSpacing, chipTokens.lineHeight, chipTokens.leftContentMarginLeft, chipTokens.leftContentMarginRight, chipTokens.rightContentMarginLeft, chipTokens.rightContentMarginRight, chipTokens.clearContentMarginLeft, chipTokens.clearContentMarginRight, chipTokens.closeIconSize),
|
@@ -37,7 +37,7 @@ function _templateObject() {
|
|
37
37
|
": var(--surface-negative);\n ",
|
38
38
|
": var(--text-tertiary);\n\n ",
|
39
39
|
": var(--text-secondary);\n ",
|
40
|
-
": var(--text-
|
40
|
+
": var(--text-secondary-hover);\n ",
|
41
41
|
": var(--text-primary);\n ",
|
42
42
|
": var(--surface-transparent-secondary);\n ",
|
43
43
|
": var(--text-primary);\n ",
|
@@ -94,7 +94,7 @@ function _templateObject1() {
|
|
94
94
|
": var(--surface-negative);\n ",
|
95
95
|
": var(--text-tertiary);\n\n ",
|
96
96
|
": var(--text-secondary);\n ",
|
97
|
-
": var(--text-
|
97
|
+
": var(--text-secondary-hover);\n ",
|
98
98
|
": var(--text-primary);\n ",
|
99
99
|
": var(--surface-transparent-secondary);\n ",
|
100
100
|
": var(--text-primary);\n ",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.329.0-canary.2237.
|
3
|
+
"version": "0.329.0-canary.2237.17941275054.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.2237.
|
33
|
+
"@salutejs/plasma-new-hope": "0.337.0-canary.2237.17941275054.0",
|
34
34
|
"@salutejs/sdds-themes": "0.47.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
@@ -54,10 +54,10 @@
|
|
54
54
|
"@microsoft/api-extractor": "7.38.3",
|
55
55
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
56
56
|
"@salutejs/plasma-colors": "0.16.0",
|
57
|
-
"@salutejs/plasma-core": "1.208.0
|
58
|
-
"@salutejs/plasma-cy-utils": "0.138.0
|
59
|
-
"@salutejs/plasma-icons": "1.224.0
|
60
|
-
"@salutejs/plasma-sb-utils": "0.208.0
|
57
|
+
"@salutejs/plasma-core": "1.208.0",
|
58
|
+
"@salutejs/plasma-cy-utils": "0.138.0",
|
59
|
+
"@salutejs/plasma-icons": "1.224.0",
|
60
|
+
"@salutejs/plasma-sb-utils": "0.208.0",
|
61
61
|
"@storybook/addon-docs": "8.6.14",
|
62
62
|
"@storybook/addon-essentials": "8.6.14",
|
63
63
|
"@storybook/manager-api": "8.6.14",
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "c178db52ca24dd52091e42d978f02cf19a7ff214"
|
127
127
|
}
|