@storybook/addon-docs 6.4.0-rc.4 → 6.4.0-rc.8

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.
@@ -234,7 +234,9 @@ var StoryTable = function StoryTable(props) {
234
234
  resetArgs = _useArgs2[2];
235
235
 
236
236
  if (!story) return /*#__PURE__*/_react.default.createElement(_components.ArgsTable, {
237
- isLoading: true
237
+ isLoading: true,
238
+ updateArgs: updateArgs,
239
+ resetArgs: resetArgs
238
240
  });
239
241
  var argTypes = (0, _store.filterArgTypes)(story.argTypes, include, exclude);
240
242
  var mainLabel = (0, _utils.getComponentName)(component) || 'Story';
@@ -186,7 +186,9 @@ export var StoryTable = function StoryTable(props) {
186
186
  resetArgs = _useArgs2[2];
187
187
 
188
188
  if (!story) return /*#__PURE__*/React.createElement(PureArgsTable, {
189
- isLoading: true
189
+ isLoading: true,
190
+ updateArgs: updateArgs,
191
+ resetArgs: resetArgs
190
192
  });
191
193
  var argTypes = filterArgTypes(story.argTypes, include, exclude);
192
194
  var mainLabel = getComponentName(component) || 'Story';
@@ -140,7 +140,9 @@ export const StoryTable = props => {
140
140
 
141
141
  let [args, updateArgs, resetArgs] = useArgs(storyId, context);
142
142
  if (!story) return /*#__PURE__*/React.createElement(PureArgsTable, {
143
- isLoading: true
143
+ isLoading: true,
144
+ updateArgs: updateArgs,
145
+ resetArgs: resetArgs
144
146
  });
145
147
  const argTypes = filterArgTypes(story.argTypes, include, exclude);
146
148
  const mainLabel = getComponentName(component) || 'Story';
@@ -1,3 +1,3 @@
1
1
  import { PartialStoryFn, StoryContext } from '@storybook/csf';
2
2
  import { WebComponentsFramework } from '@storybook/web-components';
3
- export declare function sourceDecorator(storyFn: PartialStoryFn<WebComponentsFramework>, context: StoryContext<WebComponentsFramework>): string | Node | import("lit-html").TemplateResult<1 | 2>;
3
+ export declare function sourceDecorator(storyFn: PartialStoryFn<WebComponentsFramework>, context: StoryContext<WebComponentsFramework>): WebComponentsFramework['storyResult'];
@@ -1,3 +1,3 @@
1
1
  import { PartialStoryFn, StoryContext } from '@storybook/csf';
2
2
  import { WebComponentsFramework } from '@storybook/web-components';
3
- export declare function sourceDecorator(storyFn: PartialStoryFn<WebComponentsFramework>, context: StoryContext<WebComponentsFramework>): string | Node | import("lit-html").TemplateResult<1 | 2>;
3
+ export declare function sourceDecorator(storyFn: PartialStoryFn<WebComponentsFramework>, context: StoryContext<WebComponentsFramework>): WebComponentsFramework['storyResult'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "6.4.0-rc.4",
3
+ "version": "6.4.0-rc.8",
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.4.0-rc.4",
67
- "@storybook/api": "6.4.0-rc.4",
68
- "@storybook/builder-webpack4": "6.4.0-rc.4",
69
- "@storybook/client-logger": "6.4.0-rc.4",
70
- "@storybook/components": "6.4.0-rc.4",
71
- "@storybook/core": "6.4.0-rc.4",
72
- "@storybook/core-events": "6.4.0-rc.4",
66
+ "@storybook/addons": "6.4.0-rc.8",
67
+ "@storybook/api": "6.4.0-rc.8",
68
+ "@storybook/builder-webpack4": "6.4.0-rc.8",
69
+ "@storybook/client-logger": "6.4.0-rc.8",
70
+ "@storybook/components": "6.4.0-rc.8",
71
+ "@storybook/core": "6.4.0-rc.8",
72
+ "@storybook/core-events": "6.4.0-rc.8",
73
73
  "@storybook/csf": "0.0.2--canary.87bc651.0",
74
- "@storybook/csf-tools": "6.4.0-rc.4",
75
- "@storybook/node-logger": "6.4.0-rc.4",
76
- "@storybook/postinstall": "6.4.0-rc.4",
77
- "@storybook/preview-web": "6.4.0-rc.4",
78
- "@storybook/source-loader": "6.4.0-rc.4",
79
- "@storybook/store": "6.4.0-rc.4",
80
- "@storybook/theming": "6.4.0-rc.4",
74
+ "@storybook/csf-tools": "6.4.0-rc.8",
75
+ "@storybook/node-logger": "6.4.0-rc.8",
76
+ "@storybook/postinstall": "6.4.0-rc.8",
77
+ "@storybook/preview-web": "6.4.0-rc.8",
78
+ "@storybook/source-loader": "6.4.0-rc.8",
79
+ "@storybook/store": "6.4.0-rc.8",
80
+ "@storybook/theming": "6.4.0-rc.8",
81
81
  "acorn": "^7.4.1",
82
82
  "acorn-jsx": "^5.3.1",
83
83
  "acorn-walk": "^7.2.0",
@@ -106,11 +106,11 @@
106
106
  "@babel/core": "^7.12.10",
107
107
  "@emotion/core": "^10.1.1",
108
108
  "@emotion/styled": "^10.0.27",
109
- "@storybook/angular": "6.4.0-rc.4",
110
- "@storybook/html": "6.4.0-rc.4",
111
- "@storybook/react": "6.4.0-rc.4",
112
- "@storybook/vue": "6.4.0-rc.4",
113
- "@storybook/web-components": "6.4.0-rc.4",
109
+ "@storybook/angular": "6.4.0-rc.8",
110
+ "@storybook/html": "6.4.0-rc.8",
111
+ "@storybook/react": "6.4.0-rc.8",
112
+ "@storybook/vue": "6.4.0-rc.8",
113
+ "@storybook/web-components": "6.4.0-rc.8",
114
114
  "@types/cross-spawn": "^6.0.2",
115
115
  "@types/doctrine": "^0.0.3",
116
116
  "@types/enzyme": "^3.10.8",
@@ -126,8 +126,8 @@
126
126
  "fs-extra": "^9.0.1",
127
127
  "jest": "^26.6.3",
128
128
  "jest-specific-snapshot": "^4.0.0",
129
- "lit-element": "^3.0.0-rc.2",
130
- "lit-html": "^2.0.0-rc.3",
129
+ "lit-element": "^3.0.2",
130
+ "lit-html": "^2.0.2",
131
131
  "require-from-string": "^2.0.2",
132
132
  "rxjs": "^6.6.3",
133
133
  "styled-components": "^5.2.1",
@@ -140,14 +140,14 @@
140
140
  "zone.js": "^0.11.3"
141
141
  },
142
142
  "peerDependencies": {
143
- "@storybook/angular": "6.4.0-rc.4",
144
- "@storybook/html": "6.4.0-rc.4",
145
- "@storybook/react": "6.4.0-rc.4",
146
- "@storybook/vue": "6.4.0-rc.4",
147
- "@storybook/vue3": "6.4.0-rc.4",
148
- "@storybook/web-components": "6.4.0-rc.4",
149
- "lit": "^2.0.0-rc.1",
150
- "lit-html": "^1.4.1 || ^2.0.0-rc.3",
143
+ "@storybook/angular": "6.4.0-rc.8",
144
+ "@storybook/html": "6.4.0-rc.8",
145
+ "@storybook/react": "6.4.0-rc.8",
146
+ "@storybook/vue": "6.4.0-rc.8",
147
+ "@storybook/vue3": "6.4.0-rc.8",
148
+ "@storybook/web-components": "6.4.0-rc.8",
149
+ "lit": "^2.0.0",
150
+ "lit-html": "^1.4.1 || ^2.0.0",
151
151
  "react": "^16.8.0 || ^17.0.0",
152
152
  "react-dom": "^16.8.0 || ^17.0.0",
153
153
  "svelte": "^3.31.2",
@@ -202,7 +202,7 @@
202
202
  "publishConfig": {
203
203
  "access": "public"
204
204
  },
205
- "gitHead": "43653ad69c8c10840e3f35a831ed8bd36b9c90dd",
205
+ "gitHead": "0be6dde43b848e310e705a4354c6c8abe0431448",
206
206
  "sbmodern": "dist/modern/index.js",
207
207
  "storybook": {
208
208
  "displayName": "Docs",