@salutejs/sdds-serv 0.314.1-canary.2054.15968685472.0 → 0.314.1-canary.2055.15970067600.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/components/Tour/Tour.config.d.ts +14 -0
- package/components/Tour/Tour.config.js +22 -0
- package/components/Tour/Tour.config.js.map +1 -0
- package/components/Tour/Tour.config_emlbg6.css +2 -0
- package/components/Tour/Tour.css +2 -0
- package/components/Tour/Tour.d.ts +8 -0
- package/components/Tour/Tour.js +12 -0
- package/components/Tour/Tour.js.map +1 -0
- package/components/Tour/index.d.ts +2 -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 +1 -0
- 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 +1 -0
- package/es/components/Tour/Tour.config.js +18 -0
- package/es/components/Tour/Tour.config.js.map +1 -0
- package/es/components/Tour/Tour.config_emlbg6.css +2 -0
- package/es/components/Tour/Tour.css +2 -0
- package/es/components/Tour/Tour.js +8 -0
- package/es/components/Tour/Tour.js.map +1 -0
- package/es/index.css +3 -0
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +2 -0
- package/package.json +6 -6
- package/styled-components/cjs/components/Tour/Tour.config.js +56 -0
- package/styled-components/cjs/components/Tour/Tour.js +14 -0
- package/styled-components/cjs/components/Tour/index.js +11 -0
- package/styled-components/cjs/index.js +1 -0
- package/styled-components/es/components/Tour/Tour.config.js +46 -0
- package/styled-components/es/components/Tour/Tour.js +4 -0
- package/styled-components/es/components/Tour/index.js +1 -0
- package/styled-components/es/index.js +1 -0
@@ -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,22 @@
|
|
1
|
+
require('./Tour.config_emlbg6.css');
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'accent',
|
9
|
+
size: 's'
|
10
|
+
},
|
11
|
+
variations: {
|
12
|
+
view: {
|
13
|
+
"default": "d174dabd"
|
14
|
+
},
|
15
|
+
size: {
|
16
|
+
s: "s12zmmsr"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
};
|
20
|
+
|
21
|
+
exports.config = config;
|
22
|
+
//# sourceMappingURL=Tour.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.config.js","sources":["../../src-css/components/Tour/Tour.config.ts"],"sourcesContent":["import { tourTokens, css } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'accent',\n size: 's',\n },\n variations: {\n view: {\n default: css``,\n },\n size: {\n s: css`\n ${tourTokens.cardPadding}: 0.75rem;\n ${tourTokens.cardRadius}: 0.75rem;\n ${tourTokens.highlightRadius}: 0.75rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,QAAQ;AACdC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,UAAA;KACV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AAKL,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -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,12 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
+
var Tour_config = require('./Tour.config.js');
|
7
|
+
|
8
|
+
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.tourConfig, Tour_config.config);
|
9
|
+
var Tour = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
10
|
+
|
11
|
+
exports.Tour = Tour;
|
12
|
+
//# sourceMappingURL=Tour.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.js","sources":["../../src-css/components/Tour/Tour.ts"],"sourcesContent":["import { tourConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Tour.config';\n\nconst mergedConfig = mergeConfig(tourConfig, config);\n\nexport const Tour = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","tourConfig","config","Tour","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
|
@@ -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
@@ -73,6 +73,7 @@ _export_star(require("./components/CodeField"), exports);
|
|
73
73
|
_export_star(require("./components/CodeInput"), exports);
|
74
74
|
_export_star(require("./components/List"), exports);
|
75
75
|
_export_star(require("./components/Carousel"), exports);
|
76
|
+
_export_star(require("./components/Tour"), exports);
|
76
77
|
_export_star(require("./mixins"), exports);
|
77
78
|
_export_star(require("./tokens"), exports);
|
78
79
|
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
@@ -0,0 +1,18 @@
|
|
1
|
+
import './Tour.config_emlbg6.css';
|
2
|
+
var config = {
|
3
|
+
defaults: {
|
4
|
+
view: 'accent',
|
5
|
+
size: 's'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
view: {
|
9
|
+
"default": "d174dabd"
|
10
|
+
},
|
11
|
+
size: {
|
12
|
+
s: "s12zmmsr"
|
13
|
+
}
|
14
|
+
}
|
15
|
+
};
|
16
|
+
|
17
|
+
export { config };
|
18
|
+
//# sourceMappingURL=Tour.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.config.js","sources":["../../../src-css/components/Tour/Tour.config.ts"],"sourcesContent":["import { tourTokens, css } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'accent',\n size: 's',\n },\n variations: {\n view: {\n default: css``,\n },\n size: {\n s: css`\n ${tourTokens.cardPadding}: 0.75rem;\n ${tourTokens.cardRadius}: 0.75rem;\n ${tourTokens.highlightRadius}: 0.75rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,QAAQ;AACdC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,UAAA;KACV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AAKL,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { component, mergeConfig, tourConfig } from '@salutejs/plasma-new-hope';
|
2
|
+
import { config } from './Tour.config.js';
|
3
|
+
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(tourConfig, config);
|
5
|
+
var Tour = /*#__PURE__*/component(mergedConfig);
|
6
|
+
|
7
|
+
export { Tour };
|
8
|
+
//# sourceMappingURL=Tour.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.js","sources":["../../../src-css/components/Tour/Tour.ts"],"sourcesContent":["import { tourConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Tour.config';\n\nconst mergedConfig = mergeConfig(tourConfig, config);\n\nexport const Tour = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","tourConfig","config","Tour","component"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,EAAEC,MAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,SAAS,CAACL,YAAY;;;;"}
|
package/es/index.css
CHANGED
@@ -701,6 +701,9 @@
|
|
701
701
|
.Tooltip_config_19fazns_mof1lw0__1c02ba0c{--plasma-tooltip-padding-top:0.6875rem;--plasma-tooltip-padding-right:0.875rem;--plasma-tooltip-padding-bottom:0.6875rem;--plasma-tooltip-padding-left:0.875rem;--plasma-tooltip-min-height:2.5rem;--plasma-tooltip-border-radius:0.625rem;--plasma-tooltip-text-font-family:var(--plasma-typo-body-s-font-family);--plasma-tooltip-text-font-size:var(--plasma-typo-body-s-font-size);--plasma-tooltip-text-font-style:var(--plasma-typo-body-s-font-style);--plasma-tooltip-text-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-tooltip-content-left-margin:0.375rem;--plasma-tooltip-arrow-mask-width:1.25rem;--plasma-tooltip-arrow-mask-height:1.25rem;--plasma-tooltip-arrow-mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");--plasma-tooltip-arrow-height:0.5rem;--plasma-tooltip-arrow-edge-margin:0.625rem;--plasma-tooltip-arrow-background:var(--surface-solid-card-brightness);}
|
702
702
|
.Tooltip_config_19fazns_dawvnm3__1c02ba0c{--plasma-tooltip-background-color:var(--surface-solid-card-brightness);--plasma-tooltip-box-shadow:0px 4px 12px 0px rgba(0,0,0,0.16),0px 1px 4px 0px rgba(0,0,0,0.08);--plasma-tooltip-color:var(--text-primary);}
|
703
703
|
|
704
|
+
|
705
|
+
.Tour_config_emlbg6_s12zmmsr__9b0aa5b5{--plasma-tour-card-padding:0.75rem;--plasma-tour-card-radius:0.75rem;--plasma-tour-highlight-radius:0.75rem;}
|
706
|
+
|
704
707
|
.Tree_config_1iqqtu9_de6q557__6bfe4b26{--plasma-tree-icon-folder-color:var(--text-secondary);--plasma-tree-arrow-color:var(--text-secondary);--plasma-tree-arrow-color-hover:var(--text-secondary-hover);--plasma-tree-arrow-color-active:var(--text-secondary-active);--plasma-tree-color:var(--text-secondary);--plasma-tree-color-selected:var(--text-primary);--plasma-tree-item-background-color:var(--surface-transparent-secondary);--plasma-tree-item-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-tree-item-background-color-active:var(--surface-transparent-secondary-active);--plasma-tree-checkbox-border-color:var(--text-secondary);--plasma-tree-checkbox-background-color:var(--text-accent);--plasma-tree-item-disabled-opacity:0.4;--plasma-tree-item-disabled-border-color:var(--text-secondary);--plasma-tree-item-disabled-color:var(--text-secondary);}
|
705
708
|
.Tree_config_1iqqtu9_l1adci4f__6bfe4b26{--plasma-tree-item-height:3.5rem;--plasma-tree-item-padding:1rem;--plasma-tree-item-padding-tight:0.375rem;--plasma-tree-item-indent:2rem;--plasma-tree-item-border-radius:0.75rem;--plasma-tree-item-top:0.25rem;--plasma-tree-item-bottom:0.25rem;--plasma-tree-icon-folder-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin-inverted:0 0 0 0.5rem;--plasma-tree-switcher-size:1.5rem;--plasma-tree-checkbox-margin:0 0.5rem 0 0;--plasma-tree-checkbox-size:1.5rem;--plasma-tree-checkbox-inner-size:1.25rem;--plasma-tree-checkbox-border-radius:0.375rem;--plasma-tree-font-family:var(--plasma-typo-body-l-font-family);--plasma-tree-font-size:var(--plasma-typo-body-l-font-size);--plasma-tree-font-style:var(--plasma-typo-body-l-font-style);--plasma-tree-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tree-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tree-line-height:var(--plasma-typo-body-l-line-height);}
|
706
709
|
.Tree_config_1iqqtu9_mtlwm4v__6bfe4b26{--plasma-tree-item-height:3rem;--plasma-tree-item-padding:0.875rem;--plasma-tree-item-padding-tight:0.375rem;--plasma-tree-item-indent:2rem;--plasma-tree-item-border-radius:0.625rem;--plasma-tree-item-top:0.25rem;--plasma-tree-item-bottom:0.25rem;--plasma-tree-icon-folder-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin-inverted:0 0 0 0.5rem;--plasma-tree-switcher-size:1.5rem;--plasma-tree-checkbox-margin:0 0.5rem 0 0;--plasma-tree-checkbox-size:1.5rem;--plasma-tree-checkbox-inner-size:1.25rem;--plasma-tree-checkbox-border-radius:0.375rem;--plasma-tree-font-family:var(--plasma-typo-body-m-font-family);--plasma-tree-font-size:var(--plasma-typo-body-m-font-size);--plasma-tree-font-style:var(--plasma-typo-body-m-font-style);--plasma-tree-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tree-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tree-line-height:var(--plasma-typo-body-m-line-height);}
|
package/es/index.js
CHANGED
@@ -65,6 +65,7 @@ export { TextFieldGroup } from './components/TextFieldGroup/TextFieldGroup.js';
|
|
65
65
|
export { Toast, ToastProvider } from './components/Toast/Toast.js';
|
66
66
|
export { Toolbar, ToolbarDivider } from './components/Toolbar/Toolbar.js';
|
67
67
|
export { Tooltip } from './components/Tooltip/Tooltip.js';
|
68
|
+
export { Tour } from './components/Tour/Tour.js';
|
68
69
|
export { Tree } from './components/Tree/Tree.js';
|
69
70
|
export { BodyL, BodyM, BodyS, BodyXS, BodyXXS, DsplL, DsplM, DsplS, H1, H2, H3, H4, H5, TextL, TextM, TextS, TextXS } from './components/Typography/Typography.js';
|
70
71
|
export { ViewContainer } from './components/ViewContainer/ViewContainer.js';
|
package/es/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
@@ -69,6 +69,7 @@ var TextFieldGroup = require('./components/TextFieldGroup/TextFieldGroup.js');
|
|
69
69
|
var Toast = require('./components/Toast/Toast.js');
|
70
70
|
var Toolbar = require('./components/Toolbar/Toolbar.js');
|
71
71
|
var Tooltip = require('./components/Tooltip/Tooltip.js');
|
72
|
+
var Tour = require('./components/Tour/Tour.js');
|
72
73
|
var Tree = require('./components/Tree/Tree.js');
|
73
74
|
var Typography = require('./components/Typography/Typography.js');
|
74
75
|
var ViewContainer = require('./components/ViewContainer/ViewContainer.js');
|
@@ -358,6 +359,7 @@ exports.ToastProvider = Toast.ToastProvider;
|
|
358
359
|
exports.Toolbar = Toolbar.Toolbar;
|
359
360
|
exports.ToolbarDivider = Toolbar.ToolbarDivider;
|
360
361
|
exports.Tooltip = Tooltip.Tooltip;
|
362
|
+
exports.Tour = Tour.Tour;
|
361
363
|
exports.Tree = Tree.Tree;
|
362
364
|
exports.BodyL = Typography.BodyL;
|
363
365
|
exports.BodyM = Typography.BodyM;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-serv",
|
3
|
-
"version": "0.314.1-canary.
|
3
|
+
"version": "0.314.1-canary.2055.15970067600.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS SERV web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"directory": "packages/sdds-serv"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@salutejs/plasma-new-hope": "0.327.1-canary.
|
35
|
+
"@salutejs/plasma-new-hope": "0.327.1-canary.2055.15970067600.0",
|
36
36
|
"@salutejs/sdds-themes": "0.39.0"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|
@@ -63,10 +63,10 @@
|
|
63
63
|
"@rollup/plugin-commonjs": "^25.0.4",
|
64
64
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
65
65
|
"@salutejs/plasma-colors": "0.15.0",
|
66
|
-
"@salutejs/plasma-core": "1.199.0",
|
67
|
-
"@salutejs/plasma-cy-utils": "0.130.0",
|
66
|
+
"@salutejs/plasma-core": "1.199.1-canary.2055.15970067600.0",
|
67
|
+
"@salutejs/plasma-cy-utils": "0.130.1-canary.2055.15970067600.0",
|
68
68
|
"@salutejs/plasma-icons": "1.219.0",
|
69
|
-
"@salutejs/plasma-sb-utils": "0.200.0",
|
69
|
+
"@salutejs/plasma-sb-utils": "0.200.1-canary.2055.15970067600.0",
|
70
70
|
"@storybook/addon-docs": "7.6.17",
|
71
71
|
"@storybook/addon-essentials": "7.6.17",
|
72
72
|
"@storybook/addons": "7.6.17",
|
@@ -137,5 +137,5 @@
|
|
137
137
|
"sideEffects": [
|
138
138
|
"*.css"
|
139
139
|
],
|
140
|
-
"gitHead": "
|
140
|
+
"gitHead": "2392d6c85c431c3eca884dedd447912688488732"
|
141
141
|
}
|
@@ -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,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);
|
@@ -73,6 +73,7 @@ _export_star(require("./components/CodeField"), exports);
|
|
73
73
|
_export_star(require("./components/CodeInput"), exports);
|
74
74
|
_export_star(require("./components/List"), exports);
|
75
75
|
_export_star(require("./components/Carousel"), exports);
|
76
|
+
_export_star(require("./components/Tour"), exports);
|
76
77
|
_export_star(require("./mixins"), exports);
|
77
78
|
_export_star(require("./tokens"), exports);
|
78
79
|
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/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';
|