@salutejs/sdds-cs 0.324.0-dev.0 → 0.324.1-canary.1906.16935029864.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 +105 -0
- package/components/DatePicker/DatePicker.config.js +4 -3
- package/components/DatePicker/DatePicker.d.ts +2 -0
- package/emotion/cjs/components/DatePicker/DatePicker.config.js +4 -3
- package/emotion/es/components/DatePicker/DatePicker.config.js +4 -3
- package/es/components/DatePicker/DatePicker.config.js +4 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,108 @@
|
|
1
|
+
## 0.324.0 (7 августа 2025)
|
2
|
+
|
3
|
+
## Функциональные изменения в компонентах
|
4
|
+
|
5
|
+
### EmbedIconButton
|
6
|
+
|
7
|
+
* добавлен новый компонент
|
8
|
+
|
9
|
+
[PR](https://github.com/salute-developers/plasma/pull/2093)
|
10
|
+
|
11
|
+
### Combobox
|
12
|
+
|
13
|
+
* исправлен баг, связанный с невозможностью получить актуальное значение поля ввода после ререндера;
|
14
|
+
|
15
|
+
[PR](https://github.com/salute-developers/plasma/pull/2101)
|
16
|
+
|
17
|
+
### Segment
|
18
|
+
|
19
|
+
* добавлена логика задания максимальной ширины `SegmentItem` и обрезанию текста троеточием
|
20
|
+
|
21
|
+
[PR](https://github.com/salute-developers/plasma/pull/2110)
|
22
|
+
|
23
|
+
### Autocomplete
|
24
|
+
|
25
|
+
* добавлено свойство `zIndex`;
|
26
|
+
|
27
|
+
[PR](https://github.com/salute-developers/plasma/pull/2114)
|
28
|
+
|
29
|
+
### Tree
|
30
|
+
|
31
|
+
* добавлено свойство `autoExpandParent`, которое отвечает за автоматическое раскрытие всех родителей у элемента;
|
32
|
+
|
33
|
+
[PR](https://github.com/salute-developers/plasma/pull/2115)
|
34
|
+
|
35
|
+
### Table
|
36
|
+
|
37
|
+
* стало возможным добавлять сложные типы данных (объекты, массивы, функции) во входных данных `data`;
|
38
|
+
|
39
|
+
[PR](https://github.com/salute-developers/plasma/pull/2111)
|
40
|
+
|
41
|
+
### Chip
|
42
|
+
|
43
|
+
* добавлены токены отступов для `contentRight`
|
44
|
+
|
45
|
+
[PR](https://github.com/salute-developers/plasma/pull/2112)
|
46
|
+
|
47
|
+
### Skeleton
|
48
|
+
|
49
|
+
* исправлена типизация пропсов внутри `withSkeleton`
|
50
|
+
|
51
|
+
[PR](https://github.com/salute-developers/plasma/pull/2116)
|
52
|
+
|
53
|
+
### Notification
|
54
|
+
|
55
|
+
* Добавлена возможность указать пользовательскую иконку закрытия компонента
|
56
|
+
|
57
|
+
[PR](https://github.com/salute-developers/plasma/pull/2126)
|
58
|
+
|
59
|
+
### Attach
|
60
|
+
|
61
|
+
* Добавлен новый параметр `customIcon`
|
62
|
+
|
63
|
+
* Расширены типы файлов с вшитыми иконками `docx` , `xlsx`
|
64
|
+
|
65
|
+
[PR](https://github.com/salute-developers/plasma/pull/2123)
|
66
|
+
|
67
|
+
### Tokens
|
68
|
+
|
69
|
+
* Добавлена новая палитра `warmGray` с "тёплыми" оттенками серого
|
70
|
+
|
71
|
+
[PR](https://github.com/salute-developers/plasma/pull/2127)
|
72
|
+
|
73
|
+
### Accordion
|
74
|
+
|
75
|
+
* Исправлены отступы в соответсвии с макетами
|
76
|
+
|
77
|
+
[PR](https://github.com/salute-developers/plasma/pull/2122)
|
78
|
+
|
79
|
+
## Изменения в библиотеки
|
80
|
+
|
81
|
+
### Tabs
|
82
|
+
|
83
|
+
* исправлен токен, отвечающий за `cursor` при наведении на TabItem
|
84
|
+
|
85
|
+
[PR](https://github.com/salute-developers/plasma/pull/2103)
|
86
|
+
|
87
|
+
|
88
|
+
## 0.323.2 (30 июля 2025)
|
89
|
+
|
90
|
+
## Функциональные изменения в компонентах
|
91
|
+
|
92
|
+
### TextArea
|
93
|
+
|
94
|
+
* Сделали свойство `labelAriaHidden` опциональным
|
95
|
+
|
96
|
+
|
97
|
+
## 0.323.1 (28 июля 2025)
|
98
|
+
|
99
|
+
## Функциональные изменения в компонентах
|
100
|
+
|
101
|
+
### Combobox
|
102
|
+
|
103
|
+
* исправлен баг, связанный с невозможностью получить актуальное значение поля ввода после ререндера;
|
104
|
+
|
105
|
+
|
1
106
|
## 0.323.0 (24 июля 2025)
|
2
107
|
|
3
108
|
## Функциональные изменения в компонентах
|
@@ -234,11 +234,12 @@ function _templateObject3() {
|
|
234
234
|
var data = _tagged_template_literal([
|
235
235
|
"\n ",
|
236
236
|
": var(--surface-transparent-primary);\n ",
|
237
|
-
": var(--text-
|
238
|
-
": var(--text-secondary);\n ",
|
237
|
+
": var(--text-primary);\n ",
|
239
238
|
": var(--text-secondary);\n ",
|
240
239
|
": var(--text-secondary);\n\n ",
|
241
240
|
": var(--text-secondary);\n ",
|
241
|
+
": 0.4;\n\n ",
|
242
|
+
": var(--text-primary);\n ",
|
242
243
|
": var(--surface-transparent-primary);\n ",
|
243
244
|
": var(--text-secondary);\n "
|
244
245
|
]);
|
@@ -263,7 +264,7 @@ var config = {
|
|
263
264
|
true: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.datePickerTokens.background, _styledcomponents.datePickerTokens.borderColor, _styledcomponents.datePickerTokens.borderColorHover, _styledcomponents.datePickerTokens.borderColorFocus, _styledcomponents.datePickerTokens.borderColorSuccess, _styledcomponents.datePickerTokens.textFieldBorderColorFocus, _styledcomponents.datePickerTokens.textFieldColor, _styledcomponents.datePickerTokens.textFieldPlaceholderColor, _styledcomponents.datePickerTokens.textFieldColor, _styledcomponents.datePickerTokens.textFieldPlaceholderColor, _styledcomponents.datePickerTokens.textFieldCaretColor, _styledcomponents.datePickerTokens.textFieldBackgroundColor, _styledcomponents.datePickerTokens.labelColor)
|
264
265
|
},
|
265
266
|
readOnly: {
|
266
|
-
true: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.datePickerTokens.backgroundReadOnly, _styledcomponents.datePickerTokens.labelColorReadOnly, _styledcomponents.datePickerTokens.leftHelperColorReadOnly, _styledcomponents.datePickerTokens.dividerColorReadOnly, _styledcomponents.datePickerTokens.
|
267
|
+
true: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.datePickerTokens.backgroundReadOnly, _styledcomponents.datePickerTokens.labelColorReadOnly, _styledcomponents.datePickerTokens.leftHelperColorReadOnly, _styledcomponents.datePickerTokens.labelColor, _styledcomponents.datePickerTokens.dividerColorReadOnly, _styledcomponents.datePickerTokens.dividerOpacityReadOnly, _styledcomponents.datePickerTokens.textFieldColorReadOnly, _styledcomponents.datePickerTokens.textFieldBackgroundColorReadOnly, _styledcomponents.datePickerTokens.textFieldPlaceholderColorReadOnly)
|
267
268
|
}
|
268
269
|
}
|
269
270
|
};
|
@@ -16,6 +16,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
16
16
|
required?: boolean;
|
17
17
|
hasRequiredIndicator?: boolean;
|
18
18
|
value?: Date | string;
|
19
|
+
preserveInvalidOnBlur?: boolean;
|
19
20
|
defaultDate?: Date;
|
20
21
|
placeholder?: string;
|
21
22
|
name?: string;
|
@@ -56,6 +57,7 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
56
57
|
required?: boolean;
|
57
58
|
hasRequiredIndicator?: boolean;
|
58
59
|
value?: [import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types").DateType | string, import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types").DateType | string];
|
60
|
+
preserveInvalidOnBlur?: boolean;
|
59
61
|
defaultFirstDate?: Date;
|
60
62
|
defaultSecondDate?: Date;
|
61
63
|
name?: string;
|
@@ -234,11 +234,12 @@ function _templateObject3() {
|
|
234
234
|
var data = _tagged_template_literal([
|
235
235
|
"\n ",
|
236
236
|
": var(--surface-transparent-primary);\n ",
|
237
|
-
": var(--text-
|
238
|
-
": var(--text-secondary);\n ",
|
237
|
+
": var(--text-primary);\n ",
|
239
238
|
": var(--text-secondary);\n ",
|
240
239
|
": var(--text-secondary);\n\n ",
|
241
240
|
": var(--text-secondary);\n ",
|
241
|
+
": 0.4;\n\n ",
|
242
|
+
": var(--text-primary);\n ",
|
242
243
|
": var(--surface-transparent-primary);\n ",
|
243
244
|
": var(--text-secondary);\n "
|
244
245
|
]);
|
@@ -263,7 +264,7 @@ var config = {
|
|
263
264
|
true: (0, _emotion.css)(_templateObject2(), _emotion.datePickerTokens.background, _emotion.datePickerTokens.borderColor, _emotion.datePickerTokens.borderColorHover, _emotion.datePickerTokens.borderColorFocus, _emotion.datePickerTokens.borderColorSuccess, _emotion.datePickerTokens.textFieldBorderColorFocus, _emotion.datePickerTokens.textFieldColor, _emotion.datePickerTokens.textFieldPlaceholderColor, _emotion.datePickerTokens.textFieldColor, _emotion.datePickerTokens.textFieldPlaceholderColor, _emotion.datePickerTokens.textFieldCaretColor, _emotion.datePickerTokens.textFieldBackgroundColor, _emotion.datePickerTokens.labelColor)
|
264
265
|
},
|
265
266
|
readOnly: {
|
266
|
-
true: (0, _emotion.css)(_templateObject3(), _emotion.datePickerTokens.backgroundReadOnly, _emotion.datePickerTokens.labelColorReadOnly, _emotion.datePickerTokens.leftHelperColorReadOnly, _emotion.datePickerTokens.dividerColorReadOnly, _emotion.datePickerTokens.
|
267
|
+
true: (0, _emotion.css)(_templateObject3(), _emotion.datePickerTokens.backgroundReadOnly, _emotion.datePickerTokens.labelColorReadOnly, _emotion.datePickerTokens.leftHelperColorReadOnly, _emotion.datePickerTokens.labelColor, _emotion.datePickerTokens.dividerColorReadOnly, _emotion.datePickerTokens.dividerOpacityReadOnly, _emotion.datePickerTokens.textFieldColorReadOnly, _emotion.datePickerTokens.textFieldBackgroundColorReadOnly, _emotion.datePickerTokens.textFieldPlaceholderColorReadOnly)
|
267
268
|
}
|
268
269
|
}
|
269
270
|
};
|
@@ -223,11 +223,12 @@ function _templateObject3() {
|
|
223
223
|
var data = _tagged_template_literal([
|
224
224
|
"\n ",
|
225
225
|
": var(--surface-transparent-primary);\n ",
|
226
|
-
": var(--text-
|
227
|
-
": var(--text-secondary);\n ",
|
226
|
+
": var(--text-primary);\n ",
|
228
227
|
": var(--text-secondary);\n ",
|
229
228
|
": var(--text-secondary);\n\n ",
|
230
229
|
": var(--text-secondary);\n ",
|
230
|
+
": 0.4;\n\n ",
|
231
|
+
": var(--text-primary);\n ",
|
231
232
|
": var(--surface-transparent-primary);\n ",
|
232
233
|
": var(--text-secondary);\n "
|
233
234
|
]);
|
@@ -253,7 +254,7 @@ export var config = {
|
|
253
254
|
true: css(_templateObject2(), tokens.background, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.borderColorSuccess, tokens.textFieldBorderColorFocus, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldCaretColor, tokens.textFieldBackgroundColor, tokens.labelColor)
|
254
255
|
},
|
255
256
|
readOnly: {
|
256
|
-
true: css(_templateObject3(), tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.dividerColorReadOnly, tokens.
|
257
|
+
true: css(_templateObject3(), tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.labelColor, tokens.dividerColorReadOnly, tokens.dividerOpacityReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly)
|
257
258
|
}
|
258
259
|
}
|
259
260
|
};
|
@@ -223,11 +223,12 @@ function _templateObject3() {
|
|
223
223
|
var data = _tagged_template_literal([
|
224
224
|
"\n ",
|
225
225
|
": var(--surface-transparent-primary);\n ",
|
226
|
-
": var(--text-
|
227
|
-
": var(--text-secondary);\n ",
|
226
|
+
": var(--text-primary);\n ",
|
228
227
|
": var(--text-secondary);\n ",
|
229
228
|
": var(--text-secondary);\n\n ",
|
230
229
|
": var(--text-secondary);\n ",
|
230
|
+
": 0.4;\n\n ",
|
231
|
+
": var(--text-primary);\n ",
|
231
232
|
": var(--surface-transparent-primary);\n ",
|
232
233
|
": var(--text-secondary);\n "
|
233
234
|
]);
|
@@ -253,7 +254,7 @@ export var config = {
|
|
253
254
|
true: css(_templateObject2(), tokens.background, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.borderColorSuccess, tokens.textFieldBorderColorFocus, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldCaretColor, tokens.textFieldBackgroundColor, tokens.labelColor)
|
254
255
|
},
|
255
256
|
readOnly: {
|
256
|
-
true: css(_templateObject3(), tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.dividerColorReadOnly, tokens.
|
257
|
+
true: css(_templateObject3(), tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.labelColor, tokens.dividerColorReadOnly, tokens.dividerOpacityReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly)
|
257
258
|
}
|
258
259
|
}
|
259
260
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.324.
|
3
|
+
"version": "0.324.1-canary.1906.16935029864.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,8 +30,8 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.332.
|
34
|
-
"@salutejs/sdds-themes": "0.44.0
|
33
|
+
"@salutejs/plasma-new-hope": "0.332.1-canary.1906.16935029864.0",
|
34
|
+
"@salutejs/sdds-themes": "0.44.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
37
37
|
"@emotion/react": ">=11",
|
@@ -53,11 +53,11 @@
|
|
53
53
|
"@emotion/styled": ">=11",
|
54
54
|
"@microsoft/api-extractor": "7.38.3",
|
55
55
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
56
|
-
"@salutejs/plasma-colors": "0.16.0
|
57
|
-
"@salutejs/plasma-core": "1.204.0
|
58
|
-
"@salutejs/plasma-cy-utils": "0.134.0
|
56
|
+
"@salutejs/plasma-colors": "0.16.0",
|
57
|
+
"@salutejs/plasma-core": "1.204.0",
|
58
|
+
"@salutejs/plasma-cy-utils": "0.134.0",
|
59
59
|
"@salutejs/plasma-icons": "1.222.0",
|
60
|
-
"@salutejs/plasma-sb-utils": "0.204.0
|
60
|
+
"@salutejs/plasma-sb-utils": "0.204.0",
|
61
61
|
"@storybook/addon-docs": "7.6.17",
|
62
62
|
"@storybook/addon-essentials": "7.6.17",
|
63
63
|
"@storybook/addons": "7.6.17",
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "b2fcffe91f081d2a982237c65b46d00d77862ca7"
|
127
127
|
}
|