@salutejs/sdds-cs 0.320.0-canary.1983.15896947411.0 → 0.320.0-canary.2010.15868816016.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.
@@ -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,2 @@
1
+ export { Tour } from './Tour';
2
+ export type { TourProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -0,0 +1,11 @@
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.Tour;
9
+ }
10
+ });
11
+ var _Tour = require("./Tour");
@@ -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);
@@ -0,0 +1,11 @@
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.Tour;
9
+ }
10
+ });
11
+ var _Tour = require("./Tour");
@@ -67,6 +67,7 @@ _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);
70
71
  _export_star(require("./mixins"), exports);
71
72
  _export_star(require("./tokens"), exports);
72
73
  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,4 @@
1
+ import { tourConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
2
+ import { config } from './Tour.config';
3
+ var mergedConfig = mergeConfig(tourConfig, config);
4
+ export var Tour = component(mergedConfig);
@@ -0,0 +1 @@
1
+ export { Tour } from './Tour';
@@ -63,5 +63,6 @@ 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';
66
67
  export * from './mixins';
67
68
  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,4 @@
1
+ import { tourConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { config } from './Tour.config';
3
+ var mergedConfig = mergeConfig(tourConfig, config);
4
+ export var Tour = component(mergedConfig);
@@ -0,0 +1 @@
1
+ export { Tour } from './Tour';
package/es/index.js CHANGED
@@ -63,5 +63,6 @@ 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';
66
67
  export * from './mixins';
67
68
  export * from './tokens';
package/index.d.ts CHANGED
@@ -63,5 +63,6 @@ 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';
66
67
  export * from './mixins';
67
68
  export * from './tokens';
package/index.js CHANGED
@@ -67,6 +67,7 @@ _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);
70
71
  _export_star(require("./mixins"), exports);
71
72
  _export_star(require("./tokens"), exports);
72
73
  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.1983.15896947411.0",
3
+ "version": "0.320.0-canary.2010.15868816016.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.1983.15896947411.0",
34
- "@salutejs/sdds-themes": "0.40.0-canary.1983.15896947411.0"
33
+ "@salutejs/plasma-new-hope": "0.328.0-canary.2010.15868816016.0",
34
+ "@salutejs/sdds-themes": "0.39.0-dev.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.200.0-canary.1983.15896947411.0",
58
- "@salutejs/plasma-cy-utils": "0.131.0-canary.1983.15896947411.0",
57
+ "@salutejs/plasma-core": "1.199.0-dev.0",
58
+ "@salutejs/plasma-cy-utils": "0.130.0-dev.0",
59
59
  "@salutejs/plasma-icons": "1.219.0-dev.0",
60
- "@salutejs/plasma-sb-utils": "0.201.0-canary.1983.15896947411.0",
60
+ "@salutejs/plasma-sb-utils": "0.200.0-dev.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": "7ec4cf245e0ca7320d5f44220ac121c73d8db6d9"
126
+ "gitHead": "bfc47c5b0f879ba4e1fe07871d8ae973230e61ff"
127
127
  }