@tramvai/module-render 2.5.0 → 2.6.2

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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +15 -15
package/README.md CHANGED
@@ -244,6 +244,14 @@ createBundle({
244
244
  myCustomLayout: CustomLayout,
245
245
  },
246
246
  });
247
+
248
+ const route = {
249
+ name: 'main',
250
+ path: '/',
251
+ config: {
252
+ layoutComponent: 'myCustomLayout',
253
+ },
254
+ };
247
255
  ```
248
256
 
249
257
  ##### Replace layoutDefault
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-render",
3
- "version": "2.5.0",
3
+ "version": "2.6.2",
4
4
  "description": "",
5
5
  "browser": "lib/browser.js",
6
6
  "main": "lib/server.js",
@@ -24,13 +24,13 @@
24
24
  "@tinkoff/htmlpagebuilder": "0.4.24",
25
25
  "@tinkoff/layout-factory": "0.2.31",
26
26
  "@tinkoff/url": "0.7.39",
27
- "@tinkoff/user-agent": "0.4.20",
28
- "@tramvai/module-client-hints": "2.5.0",
29
- "@tramvai/module-router": "2.5.0",
30
- "@tramvai/react": "2.5.0",
27
+ "@tinkoff/user-agent": "0.4.22",
28
+ "@tramvai/module-client-hints": "2.6.2",
29
+ "@tramvai/module-router": "2.6.2",
30
+ "@tramvai/react": "2.6.2",
31
31
  "@tramvai/safe-strings": "0.4.5",
32
- "@tramvai/tokens-render": "2.5.0",
33
- "@tramvai/experiments": "2.5.0",
32
+ "@tramvai/tokens-render": "2.6.2",
33
+ "@tramvai/experiments": "2.6.2",
34
34
  "@types/loadable__server": "^5.12.6",
35
35
  "node-fetch": "^2.6.1"
36
36
  },
@@ -38,14 +38,14 @@
38
38
  "@tinkoff/dippy": "0.7.44",
39
39
  "@tinkoff/utils": "^2.1.2",
40
40
  "@tinkoff/react-hooks": "0.0.27",
41
- "@tramvai/cli": "2.5.0",
42
- "@tramvai/core": "2.5.0",
43
- "@tramvai/module-common": "2.5.0",
44
- "@tramvai/state": "2.5.0",
45
- "@tramvai/test-helpers": "2.5.0",
46
- "@tramvai/tokens-common": "2.5.0",
47
- "@tramvai/tokens-router": "2.5.0",
48
- "@tramvai/tokens-server-private": "2.5.0",
41
+ "@tramvai/cli": "2.6.2",
42
+ "@tramvai/core": "2.6.2",
43
+ "@tramvai/module-common": "2.6.2",
44
+ "@tramvai/state": "2.6.2",
45
+ "@tramvai/test-helpers": "2.6.2",
46
+ "@tramvai/tokens-common": "2.6.2",
47
+ "@tramvai/tokens-router": "2.6.2",
48
+ "@tramvai/tokens-server-private": "2.6.2",
49
49
  "express": "^4.17.1",
50
50
  "prop-types": "^15.6.2",
51
51
  "react": ">=16.14.0",