@tramvai/tokens-render 6.82.36 → 6.82.38
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/lib/slots.d.ts +4 -0
- package/lib/slots.es.js +5 -1
- package/lib/slots.js +5 -0
- package/package.json +3 -3
package/lib/slots.d.ts
CHANGED
|
@@ -4,12 +4,16 @@ export declare const HEAD_CORE_STYLES: "head:core-styles";
|
|
|
4
4
|
export declare const HEAD_WEBPACK_RUNTIME: "head:webpack-runtime";
|
|
5
5
|
export declare const HEAD_POLYFILLS: "head:polyfills";
|
|
6
6
|
export declare const HEAD_CORE_SCRIPTS: "head:core-scripts";
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated prefer BODY_DYNAMIC_SCRIPTS and async=true for microfrontends scripts
|
|
9
|
+
*/
|
|
7
10
|
export declare const HEAD_DYNAMIC_SCRIPTS: "head:dynamic-scripts";
|
|
8
11
|
export declare const HEAD_ANALYTICS: "head:analytics";
|
|
9
12
|
export declare const HEAD_ICONS: "head:icons";
|
|
10
13
|
export declare const BODY_START: "body:start";
|
|
11
14
|
export declare const REACT_RENDER: "react:render";
|
|
12
15
|
export declare const BODY_END: "body:end";
|
|
16
|
+
export declare const BODY_DYNAMIC_SCRIPTS: "body:dynamic-scripts";
|
|
13
17
|
export declare const BODY_TAIL_ANALYTICS: "body:tail:analytics";
|
|
14
18
|
export declare const BODY_TAIL: "body:tail";
|
|
15
19
|
//# sourceMappingURL=slots.d.ts.map
|
package/lib/slots.es.js
CHANGED
|
@@ -4,13 +4,17 @@ const HEAD_CORE_STYLES = 'head:core-styles';
|
|
|
4
4
|
const HEAD_WEBPACK_RUNTIME = 'head:webpack-runtime';
|
|
5
5
|
const HEAD_POLYFILLS = 'head:polyfills';
|
|
6
6
|
const HEAD_CORE_SCRIPTS = 'head:core-scripts';
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated prefer BODY_DYNAMIC_SCRIPTS and async=true for microfrontends scripts
|
|
9
|
+
*/
|
|
7
10
|
const HEAD_DYNAMIC_SCRIPTS = 'head:dynamic-scripts';
|
|
8
11
|
const HEAD_ANALYTICS = 'head:analytics';
|
|
9
12
|
const HEAD_ICONS = 'head:icons';
|
|
10
13
|
const BODY_START = 'body:start';
|
|
11
14
|
const REACT_RENDER = 'react:render';
|
|
12
15
|
const BODY_END = 'body:end';
|
|
16
|
+
const BODY_DYNAMIC_SCRIPTS = 'body:dynamic-scripts';
|
|
13
17
|
const BODY_TAIL_ANALYTICS = 'body:tail:analytics';
|
|
14
18
|
const BODY_TAIL = 'body:tail';
|
|
15
19
|
|
|
16
|
-
export { BODY_END, BODY_START, BODY_TAIL, BODY_TAIL_ANALYTICS, HEAD_ANALYTICS, HEAD_CORE_SCRIPTS, HEAD_CORE_STYLES, HEAD_DYNAMIC_SCRIPTS, HEAD_ICONS, HEAD_META, HEAD_PERFORMANCE, HEAD_POLYFILLS, HEAD_WEBPACK_RUNTIME, REACT_RENDER };
|
|
20
|
+
export { BODY_DYNAMIC_SCRIPTS, BODY_END, BODY_START, BODY_TAIL, BODY_TAIL_ANALYTICS, HEAD_ANALYTICS, HEAD_CORE_SCRIPTS, HEAD_CORE_STYLES, HEAD_DYNAMIC_SCRIPTS, HEAD_ICONS, HEAD_META, HEAD_PERFORMANCE, HEAD_POLYFILLS, HEAD_WEBPACK_RUNTIME, REACT_RENDER };
|
package/lib/slots.js
CHANGED
|
@@ -8,15 +8,20 @@ const HEAD_CORE_STYLES = 'head:core-styles';
|
|
|
8
8
|
const HEAD_WEBPACK_RUNTIME = 'head:webpack-runtime';
|
|
9
9
|
const HEAD_POLYFILLS = 'head:polyfills';
|
|
10
10
|
const HEAD_CORE_SCRIPTS = 'head:core-scripts';
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated prefer BODY_DYNAMIC_SCRIPTS and async=true for microfrontends scripts
|
|
13
|
+
*/
|
|
11
14
|
const HEAD_DYNAMIC_SCRIPTS = 'head:dynamic-scripts';
|
|
12
15
|
const HEAD_ANALYTICS = 'head:analytics';
|
|
13
16
|
const HEAD_ICONS = 'head:icons';
|
|
14
17
|
const BODY_START = 'body:start';
|
|
15
18
|
const REACT_RENDER = 'react:render';
|
|
16
19
|
const BODY_END = 'body:end';
|
|
20
|
+
const BODY_DYNAMIC_SCRIPTS = 'body:dynamic-scripts';
|
|
17
21
|
const BODY_TAIL_ANALYTICS = 'body:tail:analytics';
|
|
18
22
|
const BODY_TAIL = 'body:tail';
|
|
19
23
|
|
|
24
|
+
exports.BODY_DYNAMIC_SCRIPTS = BODY_DYNAMIC_SCRIPTS;
|
|
20
25
|
exports.BODY_END = BODY_END;
|
|
21
26
|
exports.BODY_START = BODY_START;
|
|
22
27
|
exports.BODY_TAIL = BODY_TAIL;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tokens-render",
|
|
3
|
-
"version": "6.82.
|
|
3
|
+
"version": "6.82.38",
|
|
4
4
|
"description": "Tramvai tokens for @tramvai/module-render",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"watch": "tsc -w"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tramvai/react": "6.82.
|
|
21
|
+
"@tramvai/react": "6.82.38"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tinkoff/htmlpagebuilder": "0.9.
|
|
24
|
+
"@tinkoff/htmlpagebuilder": "0.9.4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@tinkoff/dippy": "^1.0.0",
|