@tramvai/tokens-render 2.11.0 → 2.21.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/lib/index.d.ts CHANGED
@@ -137,3 +137,4 @@ export declare const TRAMVAI_RENDER_MODE: import("@tinkoff/dippy").BaseTokenInte
137
137
  export declare type TramvaiRenderMode = 'ssr' | 'client';
138
138
  export { ResourceSlot };
139
139
  export { StorageRecord as ResourceType };
140
+ export declare const RENDER_FLOW_AFTER_TOKEN: import("@tinkoff/dippy").MultiTokenInterface<() => Promise<void>>;
package/lib/index.es.js CHANGED
@@ -143,5 +143,8 @@ const RESOURCE_INLINE_OPTIONS = createToken('resourceInlineThreshold');
143
143
  * Experimental switcher from ssr to client-side rendering mode
144
144
  */
145
145
  const TRAMVAI_RENDER_MODE = createToken('tramvaiRenderMode');
146
+ const RENDER_FLOW_AFTER_TOKEN = createToken('render flow after', {
147
+ multi: true,
148
+ });
146
149
 
147
- export { CUSTOM_RENDER, DEFAULT_FOOTER_COMPONENT, DEFAULT_HEADER_COMPONENT, DEFAULT_LAYOUT_COMPONENT, EXTEND_RENDER, HTML_ATTRS, LAYOUT_OPTIONS, POLYFILL_CONDITION, RENDERER_CALLBACK, RENDER_MODE, RENDER_SLOTS, RESOURCES_REGISTRY, RESOURCE_INLINE_OPTIONS, slots as ResourceSlot, TRAMVAI_RENDER_MODE, USE_REACT_STRICT_MODE };
150
+ export { CUSTOM_RENDER, DEFAULT_FOOTER_COMPONENT, DEFAULT_HEADER_COMPONENT, DEFAULT_LAYOUT_COMPONENT, EXTEND_RENDER, HTML_ATTRS, LAYOUT_OPTIONS, POLYFILL_CONDITION, RENDERER_CALLBACK, RENDER_FLOW_AFTER_TOKEN, RENDER_MODE, RENDER_SLOTS, RESOURCES_REGISTRY, RESOURCE_INLINE_OPTIONS, slots as ResourceSlot, TRAMVAI_RENDER_MODE, USE_REACT_STRICT_MODE };
package/lib/index.js CHANGED
@@ -147,6 +147,9 @@ const RESOURCE_INLINE_OPTIONS = dippy.createToken('resourceInlineThreshold');
147
147
  * Experimental switcher from ssr to client-side rendering mode
148
148
  */
149
149
  const TRAMVAI_RENDER_MODE = dippy.createToken('tramvaiRenderMode');
150
+ const RENDER_FLOW_AFTER_TOKEN = dippy.createToken('render flow after', {
151
+ multi: true,
152
+ });
150
153
 
151
154
  Object.defineProperty(exports, 'ResourceType', {
152
155
  enumerable: true,
@@ -161,6 +164,7 @@ exports.HTML_ATTRS = HTML_ATTRS;
161
164
  exports.LAYOUT_OPTIONS = LAYOUT_OPTIONS;
162
165
  exports.POLYFILL_CONDITION = POLYFILL_CONDITION;
163
166
  exports.RENDERER_CALLBACK = RENDERER_CALLBACK;
167
+ exports.RENDER_FLOW_AFTER_TOKEN = RENDER_FLOW_AFTER_TOKEN;
164
168
  exports.RENDER_MODE = RENDER_MODE;
165
169
  exports.RENDER_SLOTS = RENDER_SLOTS;
166
170
  exports.RESOURCES_REGISTRY = RESOURCES_REGISTRY;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-render",
3
- "version": "2.11.0",
3
+ "version": "2.21.0",
4
4
  "description": "Tramvai tokens for @tramvai/module-render",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -19,10 +19,10 @@
19
19
  "build-for-publish": "true"
20
20
  },
21
21
  "dependencies": {
22
- "@tinkoff/htmlpagebuilder": "0.4.24"
22
+ "@tinkoff/htmlpagebuilder": "0.5.2"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tinkoff/dippy": "0.7.45",
25
+ "@tinkoff/dippy": "0.8.2",
26
26
  "react": ">=16.14.0",
27
27
  "tslib": "^2.0.3"
28
28
  },