@tramvai/tokens-render 2.28.0 → 2.29.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
@@ -134,7 +134,8 @@ export declare const RESOURCE_INLINE_OPTIONS: import("@tinkoff/dippy").BaseToken
134
134
  * Experimental switcher from ssr to client-side rendering mode
135
135
  */
136
136
  export declare const TRAMVAI_RENDER_MODE: import("@tinkoff/dippy").BaseTokenInterface<TramvaiRenderMode>;
137
- export declare type TramvaiRenderMode = 'ssr' | 'client';
137
+ export declare type TramvaiRenderMode = 'ssr' | 'client' | 'static';
138
138
  export { ResourceSlot };
139
139
  export { StorageRecord as ResourceType };
140
140
  export declare const RENDER_FLOW_AFTER_TOKEN: import("@tinkoff/dippy").MultiTokenInterface<() => Promise<void>>;
141
+ export declare const MODERN_SATISFIES_TOKEN: import("@tinkoff/dippy").BaseTokenInterface<boolean>;
package/lib/index.es.js CHANGED
@@ -146,5 +146,6 @@ const TRAMVAI_RENDER_MODE = createToken('tramvaiRenderMode');
146
146
  const RENDER_FLOW_AFTER_TOKEN = createToken('render flow after', {
147
147
  multi: true,
148
148
  });
149
+ const MODERN_SATISFIES_TOKEN = createToken('modernSatisfies');
149
150
 
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 };
151
+ export { CUSTOM_RENDER, DEFAULT_FOOTER_COMPONENT, DEFAULT_HEADER_COMPONENT, DEFAULT_LAYOUT_COMPONENT, EXTEND_RENDER, HTML_ATTRS, LAYOUT_OPTIONS, MODERN_SATISFIES_TOKEN, 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
@@ -150,6 +150,7 @@ const TRAMVAI_RENDER_MODE = dippy.createToken('tramvaiRenderMode');
150
150
  const RENDER_FLOW_AFTER_TOKEN = dippy.createToken('render flow after', {
151
151
  multi: true,
152
152
  });
153
+ const MODERN_SATISFIES_TOKEN = dippy.createToken('modernSatisfies');
153
154
 
154
155
  Object.defineProperty(exports, 'ResourceType', {
155
156
  enumerable: true,
@@ -162,6 +163,7 @@ exports.DEFAULT_LAYOUT_COMPONENT = DEFAULT_LAYOUT_COMPONENT;
162
163
  exports.EXTEND_RENDER = EXTEND_RENDER;
163
164
  exports.HTML_ATTRS = HTML_ATTRS;
164
165
  exports.LAYOUT_OPTIONS = LAYOUT_OPTIONS;
166
+ exports.MODERN_SATISFIES_TOKEN = MODERN_SATISFIES_TOKEN;
165
167
  exports.POLYFILL_CONDITION = POLYFILL_CONDITION;
166
168
  exports.RENDERER_CALLBACK = RENDERER_CALLBACK;
167
169
  exports.RENDER_FLOW_AFTER_TOKEN = RENDER_FLOW_AFTER_TOKEN;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-render",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "description": "Tramvai tokens for @tramvai/module-render",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",