@storybook/react 6.5.0-alpha.63 → 6.5.0-alpha.64
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.
|
@@ -135,7 +135,7 @@ var getReactRoot = /*#__PURE__*/function () {
|
|
|
135
135
|
return import('react-dom/client');
|
|
136
136
|
|
|
137
137
|
case 6:
|
|
138
|
-
reactDomClient = _context2.sent;
|
|
138
|
+
reactDomClient = _context2.sent.default;
|
|
139
139
|
root = reactDomClient.createRoot(el);
|
|
140
140
|
nodes.set(el, root);
|
|
141
141
|
|
|
@@ -57,9 +57,8 @@ const getReactRoot = async el => {
|
|
|
57
57
|
let root = nodes.get(el);
|
|
58
58
|
|
|
59
59
|
if (!root) {
|
|
60
|
-
// Skipping webpack's static analysis of import paths by defining the path value outside the import statement.
|
|
61
60
|
// eslint-disable-next-line import/no-unresolved
|
|
62
|
-
const reactDomClient = await import('react-dom/client');
|
|
61
|
+
const reactDomClient = (await import('react-dom/client')).default;
|
|
63
62
|
root = reactDomClient.createRoot(el);
|
|
64
63
|
nodes.set(el, root);
|
|
65
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.64",
|
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"@babel/preset-flow": "^7.12.1",
|
|
50
50
|
"@babel/preset-react": "^7.12.10",
|
|
51
51
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
52
|
-
"@storybook/addons": "6.5.0-alpha.
|
|
53
|
-
"@storybook/client-logger": "6.5.0-alpha.
|
|
54
|
-
"@storybook/core": "6.5.0-alpha.
|
|
55
|
-
"@storybook/core-common": "6.5.0-alpha.
|
|
52
|
+
"@storybook/addons": "6.5.0-alpha.64",
|
|
53
|
+
"@storybook/client-logger": "6.5.0-alpha.64",
|
|
54
|
+
"@storybook/core": "6.5.0-alpha.64",
|
|
55
|
+
"@storybook/core-common": "6.5.0-alpha.64",
|
|
56
56
|
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
|
57
|
-
"@storybook/docs-tools": "6.5.0-alpha.
|
|
58
|
-
"@storybook/node-logger": "6.5.0-alpha.
|
|
57
|
+
"@storybook/docs-tools": "6.5.0-alpha.64",
|
|
58
|
+
"@storybook/node-logger": "6.5.0-alpha.64",
|
|
59
59
|
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
|
|
60
60
|
"@storybook/semver": "^7.3.2",
|
|
61
|
-
"@storybook/store": "6.5.0-alpha.
|
|
61
|
+
"@storybook/store": "6.5.0-alpha.64",
|
|
62
62
|
"@types/estree": "^0.0.51",
|
|
63
63
|
"@types/node": "^14.14.20 || ^16.0.0",
|
|
64
64
|
"@types/webpack-env": "^1.16.0",
|
|
@@ -119,6 +119,6 @@
|
|
|
119
119
|
"publishConfig": {
|
|
120
120
|
"access": "public"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "7417a230d67b54d65caedcfb584f924b879ac9f5",
|
|
123
123
|
"sbmodern": "dist/modern/client/index.js"
|
|
124
124
|
}
|