@salutejs/sdds-cs 0.320.0-canary.2047.15885229046.0 → 0.320.0-canary.2048.15921758556.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 +56 -0
- package/components/Mask/Mask.d.ts +3 -0
- package/components/Tour/Tour.config.d.ts +14 -0
- package/components/Tour/Tour.config.js +56 -0
- package/components/Tour/Tour.d.ts +8 -0
- package/components/Tour/Tour.js +14 -0
- package/components/Tour/index.d.ts +2 -0
- package/components/Tour/index.js +11 -0
- package/emotion/cjs/components/Tour/Tour.config.js +56 -0
- package/emotion/cjs/components/Tour/Tour.js +14 -0
- package/emotion/cjs/components/Tour/index.js +11 -0
- package/emotion/cjs/index.js +2 -0
- package/emotion/es/components/Mask/Mask.js +3 -1
- package/emotion/es/components/Tour/Tour.config.js +46 -0
- package/emotion/es/components/Tour/Tour.js +4 -0
- package/emotion/es/components/Tour/index.js +1 -0
- package/emotion/es/index.js +2 -0
- package/es/components/Mask/Mask.js +3 -1
- package/es/components/Tour/Tour.config.js +46 -0
- package/es/components/Tour/Tour.js +4 -0
- package/es/components/Tour/index.js +1 -0
- package/es/index.js +2 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,59 @@
|
|
1
|
+
## 0.319.0 (26 июня 2025)
|
2
|
+
|
3
|
+
## Функциональные изменения в компонентах
|
4
|
+
|
5
|
+
### Tree
|
6
|
+
|
7
|
+
* исправлен баг, из-за которого в некоторых случаях не отображался цвет выделенного элемента;
|
8
|
+
|
9
|
+
[PR](https://github.com/salute-developers/plasma/pull/2038)
|
10
|
+
|
11
|
+
### Combobox
|
12
|
+
|
13
|
+
* исправлен баг, из-за которого label в таргете не обновлялся при обновлении списка `items`;
|
14
|
+
|
15
|
+
[PR](https://github.com/salute-developers/plasma/pull/2043)
|
16
|
+
|
17
|
+
### Calendar
|
18
|
+
|
19
|
+
* исправлен функционал по формированию ref на элементы календарной сетки
|
20
|
+
* добавлена возможность динамически менять `type`
|
21
|
+
|
22
|
+
**Before**:
|
23
|
+
|
24
|
+
https://github.com/user-attachments/assets/45c7c426-6d31-4fb9-bc5f-b20a2f8a4105
|
25
|
+
|
26
|
+
**After**:
|
27
|
+
|
28
|
+
https://github.com/user-attachments/assets/8a13d0ec-8d8a-4764-8305-7a3dc33887d2
|
29
|
+
|
30
|
+
[PR](https://github.com/salute-developers/plasma/pull/2024)
|
31
|
+
|
32
|
+
### Popup, Modal, Drawer
|
33
|
+
|
34
|
+
* массив элементов контекста Popup заменен на Map
|
35
|
+
|
36
|
+
* исправлен импорт safeUseId
|
37
|
+
|
38
|
+
[PR](https://github.com/salute-developers/plasma/pull/2022)
|
39
|
+
|
40
|
+
### Carousel
|
41
|
+
|
42
|
+
* появилась возможно настраивать отступ между слайдами через пропс `gap`;
|
43
|
+
|
44
|
+
* незначительные исправления и улучшения;
|
45
|
+
|
46
|
+
[PR](https://github.com/salute-developers/plasma/pull/2018)
|
47
|
+
|
48
|
+
### CodeInput
|
49
|
+
|
50
|
+
* добавлен новый компонент
|
51
|
+
|
52
|
+
<img width="764" src="https://github.com/user-attachments/assets/aaf5c046-9229-475f-aa5d-312533d5d5f6" />
|
53
|
+
|
54
|
+
[PR](https://github.com/salute-developers/plasma/pull/1973)
|
55
|
+
|
56
|
+
|
1
57
|
## 0.318.0 (11 июня 2025)
|
2
58
|
|
3
59
|
## Функциональные изменения в компонентах
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
};
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
};
|
10
|
+
size: {
|
11
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "config", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return config;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
|
12
|
+
function _tagged_template_literal(strings, raw) {
|
13
|
+
if (!raw) {
|
14
|
+
raw = strings.slice(0);
|
15
|
+
}
|
16
|
+
return Object.freeze(Object.defineProperties(strings, {
|
17
|
+
raw: {
|
18
|
+
value: Object.freeze(raw)
|
19
|
+
}
|
20
|
+
}));
|
21
|
+
}
|
22
|
+
function _templateObject() {
|
23
|
+
var data = _tagged_template_literal([
|
24
|
+
""
|
25
|
+
]);
|
26
|
+
_templateObject = function _templateObject() {
|
27
|
+
return data;
|
28
|
+
};
|
29
|
+
return data;
|
30
|
+
}
|
31
|
+
function _templateObject1() {
|
32
|
+
var data = _tagged_template_literal([
|
33
|
+
"\n ",
|
34
|
+
": 0.75rem;\n ",
|
35
|
+
": 0.75rem;\n ",
|
36
|
+
": 0.75rem;\n "
|
37
|
+
]);
|
38
|
+
_templateObject1 = function _templateObject() {
|
39
|
+
return data;
|
40
|
+
};
|
41
|
+
return data;
|
42
|
+
}
|
43
|
+
var config = {
|
44
|
+
defaults: {
|
45
|
+
view: 'accent',
|
46
|
+
size: 's'
|
47
|
+
},
|
48
|
+
variations: {
|
49
|
+
view: {
|
50
|
+
default: (0, _styledcomponents.css)(_templateObject())
|
51
|
+
},
|
52
|
+
size: {
|
53
|
+
s: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.tourTokens.cardPadding, _styledcomponents.tourTokens.cardRadius, _styledcomponents.tourTokens.highlightRadius)
|
54
|
+
}
|
55
|
+
}
|
56
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const Tour: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
2
|
+
view: {
|
3
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
4
|
+
};
|
5
|
+
size: {
|
6
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
};
|
8
|
+
}> & import("@salutejs/plasma-new-hope/styled-components").TourProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "Tour", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return Tour;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
|
12
|
+
var _Tourconfig = require("./Tour.config");
|
13
|
+
var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.tourConfig, _Tourconfig.config);
|
14
|
+
var Tour = (0, _styledcomponents.component)(mergedConfig);
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "config", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return config;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _emotion = require("@salutejs/plasma-new-hope/emotion");
|
12
|
+
function _tagged_template_literal(strings, raw) {
|
13
|
+
if (!raw) {
|
14
|
+
raw = strings.slice(0);
|
15
|
+
}
|
16
|
+
return Object.freeze(Object.defineProperties(strings, {
|
17
|
+
raw: {
|
18
|
+
value: Object.freeze(raw)
|
19
|
+
}
|
20
|
+
}));
|
21
|
+
}
|
22
|
+
function _templateObject() {
|
23
|
+
var data = _tagged_template_literal([
|
24
|
+
""
|
25
|
+
]);
|
26
|
+
_templateObject = function _templateObject() {
|
27
|
+
return data;
|
28
|
+
};
|
29
|
+
return data;
|
30
|
+
}
|
31
|
+
function _templateObject1() {
|
32
|
+
var data = _tagged_template_literal([
|
33
|
+
"\n ",
|
34
|
+
": 0.75rem;\n ",
|
35
|
+
": 0.75rem;\n ",
|
36
|
+
": 0.75rem;\n "
|
37
|
+
]);
|
38
|
+
_templateObject1 = function _templateObject() {
|
39
|
+
return data;
|
40
|
+
};
|
41
|
+
return data;
|
42
|
+
}
|
43
|
+
var config = {
|
44
|
+
defaults: {
|
45
|
+
view: 'accent',
|
46
|
+
size: 's'
|
47
|
+
},
|
48
|
+
variations: {
|
49
|
+
view: {
|
50
|
+
default: (0, _emotion.css)(_templateObject())
|
51
|
+
},
|
52
|
+
size: {
|
53
|
+
s: (0, _emotion.css)(_templateObject1(), _emotion.tourTokens.cardPadding, _emotion.tourTokens.cardRadius, _emotion.tourTokens.highlightRadius)
|
54
|
+
}
|
55
|
+
}
|
56
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "Tour", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return Tour;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _emotion = require("@salutejs/plasma-new-hope/emotion");
|
12
|
+
var _Tourconfig = require("./Tour.config");
|
13
|
+
var mergedConfig = (0, _emotion.mergeConfig)(_emotion.tourConfig, _Tourconfig.config);
|
14
|
+
var Tour = (0, _emotion.component)(mergedConfig);
|
package/emotion/cjs/index.js
CHANGED
@@ -67,6 +67,8 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
67
67
|
_export_star(require("./components/Table"), exports);
|
68
68
|
_export_star(require("./components/ToastNew"), exports);
|
69
69
|
_export_star(require("./components/Carousel"), exports);
|
70
|
+
_export_star(require("./components/Tour"), exports);
|
71
|
+
_export_star(require("./components/Rating"), exports);
|
70
72
|
_export_star(require("./mixins"), exports);
|
71
73
|
_export_star(require("./tokens"), exports);
|
72
74
|
function _export_star(from, to) {
|
@@ -0,0 +1,46 @@
|
|
1
|
+
function _tagged_template_literal(strings, raw) {
|
2
|
+
if (!raw) {
|
3
|
+
raw = strings.slice(0);
|
4
|
+
}
|
5
|
+
return Object.freeze(Object.defineProperties(strings, {
|
6
|
+
raw: {
|
7
|
+
value: Object.freeze(raw)
|
8
|
+
}
|
9
|
+
}));
|
10
|
+
}
|
11
|
+
function _templateObject() {
|
12
|
+
var data = _tagged_template_literal([
|
13
|
+
""
|
14
|
+
]);
|
15
|
+
_templateObject = function _templateObject() {
|
16
|
+
return data;
|
17
|
+
};
|
18
|
+
return data;
|
19
|
+
}
|
20
|
+
function _templateObject1() {
|
21
|
+
var data = _tagged_template_literal([
|
22
|
+
"\n ",
|
23
|
+
": 0.75rem;\n ",
|
24
|
+
": 0.75rem;\n ",
|
25
|
+
": 0.75rem;\n "
|
26
|
+
]);
|
27
|
+
_templateObject1 = function _templateObject() {
|
28
|
+
return data;
|
29
|
+
};
|
30
|
+
return data;
|
31
|
+
}
|
32
|
+
import { tourTokens, css } from '@salutejs/plasma-new-hope/emotion';
|
33
|
+
export var config = {
|
34
|
+
defaults: {
|
35
|
+
view: 'accent',
|
36
|
+
size: 's'
|
37
|
+
},
|
38
|
+
variations: {
|
39
|
+
view: {
|
40
|
+
default: css(_templateObject())
|
41
|
+
},
|
42
|
+
size: {
|
43
|
+
s: css(_templateObject1(), tourTokens.cardPadding, tourTokens.cardRadius, tourTokens.highlightRadius)
|
44
|
+
}
|
45
|
+
}
|
46
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Tour } from './Tour';
|
package/emotion/es/index.js
CHANGED
@@ -63,5 +63,7 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
+
export * from './components/Tour';
|
67
|
+
export * from './components/Rating';
|
66
68
|
export * from './mixins';
|
67
69
|
export * from './tokens';
|
@@ -0,0 +1,46 @@
|
|
1
|
+
function _tagged_template_literal(strings, raw) {
|
2
|
+
if (!raw) {
|
3
|
+
raw = strings.slice(0);
|
4
|
+
}
|
5
|
+
return Object.freeze(Object.defineProperties(strings, {
|
6
|
+
raw: {
|
7
|
+
value: Object.freeze(raw)
|
8
|
+
}
|
9
|
+
}));
|
10
|
+
}
|
11
|
+
function _templateObject() {
|
12
|
+
var data = _tagged_template_literal([
|
13
|
+
""
|
14
|
+
]);
|
15
|
+
_templateObject = function _templateObject() {
|
16
|
+
return data;
|
17
|
+
};
|
18
|
+
return data;
|
19
|
+
}
|
20
|
+
function _templateObject1() {
|
21
|
+
var data = _tagged_template_literal([
|
22
|
+
"\n ",
|
23
|
+
": 0.75rem;\n ",
|
24
|
+
": 0.75rem;\n ",
|
25
|
+
": 0.75rem;\n "
|
26
|
+
]);
|
27
|
+
_templateObject1 = function _templateObject() {
|
28
|
+
return data;
|
29
|
+
};
|
30
|
+
return data;
|
31
|
+
}
|
32
|
+
import { tourTokens, css } from '@salutejs/plasma-new-hope/styled-components';
|
33
|
+
export var config = {
|
34
|
+
defaults: {
|
35
|
+
view: 'accent',
|
36
|
+
size: 's'
|
37
|
+
},
|
38
|
+
variations: {
|
39
|
+
view: {
|
40
|
+
default: css(_templateObject())
|
41
|
+
},
|
42
|
+
size: {
|
43
|
+
s: css(_templateObject1(), tourTokens.cardPadding, tourTokens.cardRadius, tourTokens.highlightRadius)
|
44
|
+
}
|
45
|
+
}
|
46
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Tour } from './Tour';
|
package/es/index.js
CHANGED
@@ -63,5 +63,7 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
+
export * from './components/Tour';
|
67
|
+
export * from './components/Rating';
|
66
68
|
export * from './mixins';
|
67
69
|
export * from './tokens';
|
package/index.d.ts
CHANGED
@@ -63,5 +63,7 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
+
export * from './components/Tour';
|
67
|
+
export * from './components/Rating';
|
66
68
|
export * from './mixins';
|
67
69
|
export * from './tokens';
|
package/index.js
CHANGED
@@ -67,6 +67,8 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
67
67
|
_export_star(require("./components/Table"), exports);
|
68
68
|
_export_star(require("./components/ToastNew"), exports);
|
69
69
|
_export_star(require("./components/Carousel"), exports);
|
70
|
+
_export_star(require("./components/Tour"), exports);
|
71
|
+
_export_star(require("./components/Rating"), exports);
|
70
72
|
_export_star(require("./mixins"), exports);
|
71
73
|
_export_star(require("./tokens"), exports);
|
72
74
|
function _export_star(from, to) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.320.0-canary.
|
3
|
+
"version": "0.320.0-canary.2048.15921758556.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.328.0-canary.
|
34
|
-
"@salutejs/sdds-themes": "0.39.0
|
33
|
+
"@salutejs/plasma-new-hope": "0.328.0-canary.2048.15921758556.0",
|
34
|
+
"@salutejs/sdds-themes": "0.39.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
37
37
|
"@emotion/react": ">=11",
|
@@ -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.15.0",
|
57
|
-
"@salutejs/plasma-core": "1.
|
58
|
-
"@salutejs/plasma-cy-utils": "0.
|
59
|
-
"@salutejs/plasma-icons": "1.219.0
|
60
|
-
"@salutejs/plasma-sb-utils": "0.
|
57
|
+
"@salutejs/plasma-core": "1.200.0-canary.2048.15921758556.0",
|
58
|
+
"@salutejs/plasma-cy-utils": "0.131.0-canary.2048.15921758556.0",
|
59
|
+
"@salutejs/plasma-icons": "1.219.0",
|
60
|
+
"@salutejs/plasma-sb-utils": "0.201.0-canary.2048.15921758556.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": "c03957953ae01a1f794607de9aa6f152d501abb0"
|
127
127
|
}
|