@storybook/addon-docs 6.4.0-rc.5 → 6.4.0-rc.6
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/dist/cjs/blocks/ArgsTable.js +3 -1
- package/dist/esm/blocks/ArgsTable.js +3 -1
- package/dist/modern/blocks/ArgsTable.js +3 -1
- package/dist/ts3.4/frameworks/web-components/sourceDecorator.d.ts +1 -1
- package/dist/ts3.9/frameworks/web-components/sourceDecorator.d.ts +1 -1
- package/package.json +31 -31
|
@@ -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>):
|
|
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>):
|
|
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.
|
|
3
|
+
"version": "6.4.0-rc.6",
|
|
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.
|
|
67
|
-
"@storybook/api": "6.4.0-rc.
|
|
68
|
-
"@storybook/builder-webpack4": "6.4.0-rc.
|
|
69
|
-
"@storybook/client-logger": "6.4.0-rc.
|
|
70
|
-
"@storybook/components": "6.4.0-rc.
|
|
71
|
-
"@storybook/core": "6.4.0-rc.
|
|
72
|
-
"@storybook/core-events": "6.4.0-rc.
|
|
66
|
+
"@storybook/addons": "6.4.0-rc.6",
|
|
67
|
+
"@storybook/api": "6.4.0-rc.6",
|
|
68
|
+
"@storybook/builder-webpack4": "6.4.0-rc.6",
|
|
69
|
+
"@storybook/client-logger": "6.4.0-rc.6",
|
|
70
|
+
"@storybook/components": "6.4.0-rc.6",
|
|
71
|
+
"@storybook/core": "6.4.0-rc.6",
|
|
72
|
+
"@storybook/core-events": "6.4.0-rc.6",
|
|
73
73
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
74
|
-
"@storybook/csf-tools": "6.4.0-rc.
|
|
75
|
-
"@storybook/node-logger": "6.4.0-rc.
|
|
76
|
-
"@storybook/postinstall": "6.4.0-rc.
|
|
77
|
-
"@storybook/preview-web": "6.4.0-rc.
|
|
78
|
-
"@storybook/source-loader": "6.4.0-rc.
|
|
79
|
-
"@storybook/store": "6.4.0-rc.
|
|
80
|
-
"@storybook/theming": "6.4.0-rc.
|
|
74
|
+
"@storybook/csf-tools": "6.4.0-rc.6",
|
|
75
|
+
"@storybook/node-logger": "6.4.0-rc.6",
|
|
76
|
+
"@storybook/postinstall": "6.4.0-rc.6",
|
|
77
|
+
"@storybook/preview-web": "6.4.0-rc.6",
|
|
78
|
+
"@storybook/source-loader": "6.4.0-rc.6",
|
|
79
|
+
"@storybook/store": "6.4.0-rc.6",
|
|
80
|
+
"@storybook/theming": "6.4.0-rc.6",
|
|
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.
|
|
110
|
-
"@storybook/html": "6.4.0-rc.
|
|
111
|
-
"@storybook/react": "6.4.0-rc.
|
|
112
|
-
"@storybook/vue": "6.4.0-rc.
|
|
113
|
-
"@storybook/web-components": "6.4.0-rc.
|
|
109
|
+
"@storybook/angular": "6.4.0-rc.6",
|
|
110
|
+
"@storybook/html": "6.4.0-rc.6",
|
|
111
|
+
"@storybook/react": "6.4.0-rc.6",
|
|
112
|
+
"@storybook/vue": "6.4.0-rc.6",
|
|
113
|
+
"@storybook/web-components": "6.4.0-rc.6",
|
|
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.
|
|
130
|
-
"lit-html": "^2.0.
|
|
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.
|
|
144
|
-
"@storybook/html": "6.4.0-rc.
|
|
145
|
-
"@storybook/react": "6.4.0-rc.
|
|
146
|
-
"@storybook/vue": "6.4.0-rc.
|
|
147
|
-
"@storybook/vue3": "6.4.0-rc.
|
|
148
|
-
"@storybook/web-components": "6.4.0-rc.
|
|
149
|
-
"lit": "^2.0.0
|
|
150
|
-
"lit-html": "^1.4.1 || ^2.0.0
|
|
143
|
+
"@storybook/angular": "6.4.0-rc.6",
|
|
144
|
+
"@storybook/html": "6.4.0-rc.6",
|
|
145
|
+
"@storybook/react": "6.4.0-rc.6",
|
|
146
|
+
"@storybook/vue": "6.4.0-rc.6",
|
|
147
|
+
"@storybook/vue3": "6.4.0-rc.6",
|
|
148
|
+
"@storybook/web-components": "6.4.0-rc.6",
|
|
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": "
|
|
205
|
+
"gitHead": "b2afbb87f07d81f5c3830748490f6dca84d8e470",
|
|
206
206
|
"sbmodern": "dist/modern/index.js",
|
|
207
207
|
"storybook": {
|
|
208
208
|
"displayName": "Docs",
|