@storybook/addon-docs 6.5.0-alpha.1 → 6.5.0-alpha.5

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.
@@ -198,7 +198,8 @@ var Story = function Story(props) {
198
198
  cleanup = context.renderStoryToElement({
199
199
  story: story,
200
200
  renderContext: renderContext,
201
- element: storyRef.current
201
+ element: storyRef.current,
202
+ viewMode: 'docs'
202
203
  });
203
204
  setShowLoader(false);
204
205
  }
@@ -143,7 +143,8 @@ var Story = function Story(props) {
143
143
  cleanup = context.renderStoryToElement({
144
144
  story: story,
145
145
  renderContext: renderContext,
146
- element: storyRef.current
146
+ element: storyRef.current,
147
+ viewMode: 'docs'
147
148
  });
148
149
  setShowLoader(false);
149
150
  }
@@ -116,7 +116,8 @@ const Story = props => {
116
116
  cleanup = context.renderStoryToElement({
117
117
  story,
118
118
  renderContext,
119
- element: storyRef.current
119
+ element: storyRef.current,
120
+ viewMode: 'docs'
120
121
  });
121
122
  setShowLoader(false);
122
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "6.5.0-alpha.1",
3
+ "version": "6.5.0-alpha.5",
4
4
  "description": "Document component usage and properties in Markdown",
5
5
  "keywords": [
6
6
  "addon",
@@ -63,21 +63,21 @@
63
63
  "@mdx-js/loader": "^1.6.22",
64
64
  "@mdx-js/mdx": "^1.6.22",
65
65
  "@mdx-js/react": "^1.6.22",
66
- "@storybook/addons": "6.5.0-alpha.1",
67
- "@storybook/api": "6.5.0-alpha.1",
68
- "@storybook/builder-webpack4": "6.5.0-alpha.1",
69
- "@storybook/client-logger": "6.5.0-alpha.1",
70
- "@storybook/components": "6.5.0-alpha.1",
71
- "@storybook/core": "6.5.0-alpha.1",
72
- "@storybook/core-events": "6.5.0-alpha.1",
66
+ "@storybook/addons": "6.5.0-alpha.5",
67
+ "@storybook/api": "6.5.0-alpha.5",
68
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
69
+ "@storybook/client-logger": "6.5.0-alpha.5",
70
+ "@storybook/components": "6.5.0-alpha.5",
71
+ "@storybook/core": "6.5.0-alpha.5",
72
+ "@storybook/core-events": "6.5.0-alpha.5",
73
73
  "@storybook/csf": "0.0.2--canary.87bc651.0",
74
- "@storybook/csf-tools": "6.5.0-alpha.1",
75
- "@storybook/node-logger": "6.5.0-alpha.1",
76
- "@storybook/postinstall": "6.5.0-alpha.1",
77
- "@storybook/preview-web": "6.5.0-alpha.1",
78
- "@storybook/source-loader": "6.5.0-alpha.1",
79
- "@storybook/store": "6.5.0-alpha.1",
80
- "@storybook/theming": "6.5.0-alpha.1",
74
+ "@storybook/csf-tools": "6.5.0-alpha.5",
75
+ "@storybook/node-logger": "6.5.0-alpha.5",
76
+ "@storybook/postinstall": "6.5.0-alpha.5",
77
+ "@storybook/preview-web": "6.5.0-alpha.5",
78
+ "@storybook/source-loader": "6.5.0-alpha.5",
79
+ "@storybook/store": "6.5.0-alpha.5",
80
+ "@storybook/theming": "6.5.0-alpha.5",
81
81
  "acorn": "^7.4.1",
82
82
  "acorn-jsx": "^5.3.1",
83
83
  "acorn-walk": "^7.2.0",
@@ -89,7 +89,7 @@
89
89
  "html-tags": "^3.1.0",
90
90
  "js-string-escape": "^1.0.1",
91
91
  "loader-utils": "^2.0.0",
92
- "lodash": "^4.17.20",
92
+ "lodash": "^4.17.21",
93
93
  "nanoid": "^3.1.23",
94
94
  "p-limit": "^3.1.0",
95
95
  "prettier": "^2.2.1",
@@ -104,13 +104,13 @@
104
104
  "devDependencies": {
105
105
  "@angular/core": "^11.2.14",
106
106
  "@babel/core": "^7.12.10",
107
- "@emotion/core": "^10.1.1",
107
+ "@emotion/core": "^10.3.1",
108
108
  "@emotion/styled": "^10.0.27",
109
- "@storybook/angular": "6.5.0-alpha.1",
110
- "@storybook/html": "6.5.0-alpha.1",
111
- "@storybook/react": "6.5.0-alpha.1",
112
- "@storybook/vue": "6.5.0-alpha.1",
113
- "@storybook/web-components": "6.5.0-alpha.1",
109
+ "@storybook/angular": "6.5.0-alpha.5",
110
+ "@storybook/html": "6.5.0-alpha.5",
111
+ "@storybook/react": "6.5.0-alpha.5",
112
+ "@storybook/vue": "6.5.0-alpha.5",
113
+ "@storybook/web-components": "6.5.0-alpha.5",
114
114
  "@types/cross-spawn": "^6.0.2",
115
115
  "@types/doctrine": "^0.0.3",
116
116
  "@types/enzyme": "^3.10.8",
@@ -140,12 +140,12 @@
140
140
  "zone.js": "^0.11.3"
141
141
  },
142
142
  "peerDependencies": {
143
- "@storybook/angular": "6.5.0-alpha.1",
144
- "@storybook/html": "6.5.0-alpha.1",
145
- "@storybook/react": "6.5.0-alpha.1",
146
- "@storybook/vue": "6.5.0-alpha.1",
147
- "@storybook/vue3": "6.5.0-alpha.1",
148
- "@storybook/web-components": "6.5.0-alpha.1",
143
+ "@storybook/angular": "6.5.0-alpha.5",
144
+ "@storybook/html": "6.5.0-alpha.5",
145
+ "@storybook/react": "6.5.0-alpha.5",
146
+ "@storybook/vue": "6.5.0-alpha.5",
147
+ "@storybook/vue3": "6.5.0-alpha.5",
148
+ "@storybook/web-components": "6.5.0-alpha.5",
149
149
  "lit": "^2.0.0",
150
150
  "lit-html": "^1.4.1 || ^2.0.0",
151
151
  "react": "^16.8.0 || ^17.0.0",
@@ -202,7 +202,7 @@
202
202
  "publishConfig": {
203
203
  "access": "public"
204
204
  },
205
- "gitHead": "fbf6e247a099ec45c30f8594f255a088847b7957",
205
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
206
206
  "sbmodern": "dist/modern/index.js",
207
207
  "storybook": {
208
208
  "displayName": "Docs",