@storybook/addon-docs 6.5.0-alpha.46 → 6.5.0-alpha.47
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/Story.js +2 -22
- package/dist/cjs/frameworks/common/preset.js +5 -6
- package/dist/esm/blocks/Story.js +2 -22
- package/dist/esm/frameworks/common/preset.js +2 -3
- package/dist/esm/frameworks/vue3/prepareForInline.js +2 -2
- package/dist/modern/blocks/Story.js +2 -24
- package/dist/modern/frameworks/common/preset.js +2 -4
- package/dist/modern/frameworks/vue3/prepareForInline.js +2 -2
- package/dist/ts3.9/blocks/DocsContext.d.ts +2 -2
- package/dist/ts3.9/blocks/enhanceSource.d.ts +2 -2
- package/dist/ts3.9/blocks/useStory.d.ts +2 -2
- package/dist/ts3.9/frameworks/angular/compodoc.d.ts +2 -2
- package/dist/ts3.9/frameworks/angular/sourceDecorator.d.ts +2 -2
- package/dist/ts3.9/frameworks/html/sourceDecorator.d.ts +2 -2
- package/dist/ts3.9/frameworks/react/config.d.ts +2 -2
- package/dist/ts3.9/frameworks/react/extractArgTypes.d.ts +1 -1
- package/dist/ts3.9/frameworks/svelte/extractArgTypes.d.ts +2 -2
- package/dist/ts3.9/frameworks/svelte/sourceDecorator.d.ts +1 -1
- package/dist/ts3.9/frameworks/vue/extractArgTypes.d.ts +1 -1
- package/dist/ts3.9/frameworks/vue/prepareForInline.d.ts +2 -2
- package/dist/ts3.9/frameworks/vue/sourceDecorator.d.ts +2 -2
- package/dist/ts3.9/frameworks/vue3/extractArgTypes.d.ts +1 -1
- package/dist/ts3.9/frameworks/vue3/prepareForInline.d.ts +2 -2
- package/dist/ts3.9/frameworks/web-components/custom-elements.d.ts +1 -1
- package/dist/ts3.9/frameworks/web-components/sourceDecorator.d.ts +2 -2
- package/dist/ts3.9/lib/convert/flow/convert.d.ts +2 -2
- package/dist/ts3.9/lib/convert/proptypes/convert.d.ts +2 -2
- package/dist/ts3.9/lib/convert/typescript/convert.d.ts +2 -2
- package/dist/ts3.9/lib/docgen/types.d.ts +3 -3
- package/package.json +27 -27
package/dist/cjs/blocks/Story.js
CHANGED
|
@@ -181,28 +181,8 @@ var Story = function Story(props) {
|
|
|
181
181
|
var cleanup;
|
|
182
182
|
|
|
183
183
|
if (story && storyRef.current) {
|
|
184
|
-
var
|
|
185
|
-
|
|
186
|
-
title = story.title,
|
|
187
|
-
name = story.name;
|
|
188
|
-
var renderContext = {
|
|
189
|
-
componentId: componentId,
|
|
190
|
-
title: title,
|
|
191
|
-
kind: title,
|
|
192
|
-
id: id,
|
|
193
|
-
name: name,
|
|
194
|
-
story: name,
|
|
195
|
-
// TODO what to do when these fail?
|
|
196
|
-
showMain: function showMain() {},
|
|
197
|
-
showError: function showError() {},
|
|
198
|
-
showException: function showException() {}
|
|
199
|
-
};
|
|
200
|
-
cleanup = context.renderStoryToElement({
|
|
201
|
-
story: story,
|
|
202
|
-
renderContext: renderContext,
|
|
203
|
-
element: storyRef.current,
|
|
204
|
-
viewMode: 'docs'
|
|
205
|
-
});
|
|
184
|
+
var element = storyRef.current;
|
|
185
|
+
cleanup = context.renderStoryToElement(story, element);
|
|
206
186
|
setShowLoader(false);
|
|
207
187
|
}
|
|
208
188
|
|
|
@@ -51,6 +51,8 @@ var _remarkExternalLinks = _interopRequireDefault(require("remark-external-links
|
|
|
51
51
|
|
|
52
52
|
var _global = _interopRequireDefault(require("global"));
|
|
53
53
|
|
|
54
|
+
var _nodeLogger = require("@storybook/node-logger");
|
|
55
|
+
|
|
54
56
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
55
57
|
|
|
56
58
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
@@ -69,11 +71,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
69
71
|
|
|
70
72
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
71
73
|
|
|
72
|
-
var _console = console,
|
|
73
|
-
log = _console.log; // for frameworks that are not working with react, we need to configure
|
|
74
|
-
// the jsx to transpile mdx, for now there will be a flag for that
|
|
75
|
-
// for more complex solutions we can find alone that we need to add '@babel/plugin-transform-react-jsx'
|
|
76
|
-
|
|
77
74
|
function createBabelOptions(_ref) {
|
|
78
75
|
var babelOptions = _ref.babelOptions,
|
|
79
76
|
mdxBabelOptions = _ref.mdxBabelOptions,
|
|
@@ -154,7 +151,9 @@ function _webpack() {
|
|
|
154
151
|
remarkPlugins: [_remarkSlug.default, _remarkExternalLinks.default]
|
|
155
152
|
};
|
|
156
153
|
mdxVersion = (_global$FEATURES = _global.default.FEATURES) !== null && _global$FEATURES !== void 0 && _global$FEATURES.previewMdx2 ? 'MDX2' : 'MDX1';
|
|
157
|
-
|
|
154
|
+
|
|
155
|
+
_nodeLogger.logger.info("Addon-docs: using ".concat(mdxVersion));
|
|
156
|
+
|
|
158
157
|
mdxLoader = (_global$FEATURES2 = _global.default.FEATURES) !== null && _global$FEATURES2 !== void 0 && _global$FEATURES2.previewMdx2 ? require.resolve('@storybook/mdx2-csf/loader') : require.resolve('@storybook/mdx1-csf/loader'); // set `sourceLoaderOptions` to `null` to disable for manual configuration
|
|
159
158
|
|
|
160
159
|
sourceLoader = sourceLoaderOptions ? [{
|
package/dist/esm/blocks/Story.js
CHANGED
|
@@ -125,28 +125,8 @@ var Story = function Story(props) {
|
|
|
125
125
|
var cleanup;
|
|
126
126
|
|
|
127
127
|
if (story && storyRef.current) {
|
|
128
|
-
var
|
|
129
|
-
|
|
130
|
-
title = story.title,
|
|
131
|
-
name = story.name;
|
|
132
|
-
var renderContext = {
|
|
133
|
-
componentId: componentId,
|
|
134
|
-
title: title,
|
|
135
|
-
kind: title,
|
|
136
|
-
id: id,
|
|
137
|
-
name: name,
|
|
138
|
-
story: name,
|
|
139
|
-
// TODO what to do when these fail?
|
|
140
|
-
showMain: function showMain() {},
|
|
141
|
-
showError: function showError() {},
|
|
142
|
-
showException: function showException() {}
|
|
143
|
-
};
|
|
144
|
-
cleanup = context.renderStoryToElement({
|
|
145
|
-
story: story,
|
|
146
|
-
renderContext: renderContext,
|
|
147
|
-
element: storyRef.current,
|
|
148
|
-
viewMode: 'docs'
|
|
149
|
-
});
|
|
128
|
+
var element = storyRef.current;
|
|
129
|
+
cleanup = context.renderStoryToElement(story, element);
|
|
150
130
|
setShowLoader(false);
|
|
151
131
|
}
|
|
152
132
|
|
|
@@ -39,8 +39,7 @@ import path from 'path';
|
|
|
39
39
|
import remarkSlug from 'remark-slug';
|
|
40
40
|
import remarkExternalLinks from 'remark-external-links';
|
|
41
41
|
import global from 'global';
|
|
42
|
-
|
|
43
|
-
log = _console.log; // for frameworks that are not working with react, we need to configure
|
|
42
|
+
import { logger } from '@storybook/node-logger'; // for frameworks that are not working with react, we need to configure
|
|
44
43
|
// the jsx to transpile mdx, for now there will be a flag for that
|
|
45
44
|
// for more complex solutions we can find alone that we need to add '@babel/plugin-transform-react-jsx'
|
|
46
45
|
|
|
@@ -124,7 +123,7 @@ function _webpack() {
|
|
|
124
123
|
remarkPlugins: [remarkSlug, remarkExternalLinks]
|
|
125
124
|
};
|
|
126
125
|
mdxVersion = (_global$FEATURES = global.FEATURES) !== null && _global$FEATURES !== void 0 && _global$FEATURES.previewMdx2 ? 'MDX2' : 'MDX1';
|
|
127
|
-
|
|
126
|
+
logger.info("Addon-docs: using ".concat(mdxVersion));
|
|
128
127
|
mdxLoader = (_global$FEATURES2 = global.FEATURES) !== null && _global$FEATURES2 !== void 0 && _global$FEATURES2.previewMdx2 ? require.resolve('@storybook/mdx2-csf/loader') : require.resolve('@storybook/mdx1-csf/loader'); // set `sourceLoaderOptions` to `null` to disable for manual configuration
|
|
129
128
|
|
|
130
129
|
sourceLoader = sourceLoaderOptions ? [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
|
-
import { app } from '@storybook/vue3';
|
|
4
|
-
|
|
3
|
+
import { app } from '@storybook/vue3';
|
|
4
|
+
// This is cast as `any` to workaround type errors caused by Vue 2 types
|
|
5
5
|
var _ref = Vue,
|
|
6
6
|
render = _ref.render,
|
|
7
7
|
h = _ref.h;
|
|
@@ -95,30 +95,8 @@ const Story = props => {
|
|
|
95
95
|
let cleanup;
|
|
96
96
|
|
|
97
97
|
if (story && storyRef.current) {
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
id,
|
|
101
|
-
title,
|
|
102
|
-
name
|
|
103
|
-
} = story;
|
|
104
|
-
const renderContext = {
|
|
105
|
-
componentId,
|
|
106
|
-
title,
|
|
107
|
-
kind: title,
|
|
108
|
-
id,
|
|
109
|
-
name,
|
|
110
|
-
story: name,
|
|
111
|
-
// TODO what to do when these fail?
|
|
112
|
-
showMain: () => {},
|
|
113
|
-
showError: () => {},
|
|
114
|
-
showException: () => {}
|
|
115
|
-
};
|
|
116
|
-
cleanup = context.renderStoryToElement({
|
|
117
|
-
story,
|
|
118
|
-
renderContext,
|
|
119
|
-
element: storyRef.current,
|
|
120
|
-
viewMode: 'docs'
|
|
121
|
-
});
|
|
98
|
+
const element = storyRef.current;
|
|
99
|
+
cleanup = context.renderStoryToElement(story, element);
|
|
122
100
|
setShowLoader(false);
|
|
123
101
|
}
|
|
124
102
|
|
|
@@ -2,9 +2,7 @@ import path from 'path';
|
|
|
2
2
|
import remarkSlug from 'remark-slug';
|
|
3
3
|
import remarkExternalLinks from 'remark-external-links';
|
|
4
4
|
import global from 'global';
|
|
5
|
-
|
|
6
|
-
log
|
|
7
|
-
} = console; // for frameworks that are not working with react, we need to configure
|
|
5
|
+
import { logger } from '@storybook/node-logger'; // for frameworks that are not working with react, we need to configure
|
|
8
6
|
// the jsx to transpile mdx, for now there will be a flag for that
|
|
9
7
|
// for more complex solutions we can find alone that we need to add '@babel/plugin-transform-react-jsx'
|
|
10
8
|
|
|
@@ -59,7 +57,7 @@ export async function webpack(webpackConfig = {}, options) {
|
|
|
59
57
|
remarkPlugins: [remarkSlug, remarkExternalLinks]
|
|
60
58
|
};
|
|
61
59
|
const mdxVersion = (_global$FEATURES = global.FEATURES) !== null && _global$FEATURES !== void 0 && _global$FEATURES.previewMdx2 ? 'MDX2' : 'MDX1';
|
|
62
|
-
|
|
60
|
+
logger.info(`Addon-docs: using ${mdxVersion}`);
|
|
63
61
|
const mdxLoader = (_global$FEATURES2 = global.FEATURES) !== null && _global$FEATURES2 !== void 0 && _global$FEATURES2.previewMdx2 ? require.resolve('@storybook/mdx2-csf/loader') : require.resolve('@storybook/mdx1-csf/loader'); // set `sourceLoaderOptions` to `null` to disable for manual configuration
|
|
64
62
|
|
|
65
63
|
const sourceLoader = sourceLoaderOptions ? [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as Vue from 'vue';
|
|
3
|
-
import { app } from '@storybook/vue3';
|
|
4
|
-
|
|
3
|
+
import { app } from '@storybook/vue3';
|
|
4
|
+
// This is cast as `any` to workaround type errors caused by Vue 2 types
|
|
5
5
|
const {
|
|
6
6
|
render,
|
|
7
7
|
h
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from 'react';
|
|
2
|
-
import { DocsContextProps } from '@storybook/preview-web';
|
|
3
|
-
import { AnyFramework } from '@storybook/csf';
|
|
2
|
+
import type { DocsContextProps } from '@storybook/preview-web';
|
|
3
|
+
import type { AnyFramework } from '@storybook/csf';
|
|
4
4
|
export type { DocsContextProps };
|
|
5
5
|
export declare const DocsContext: Context<DocsContextProps<AnyFramework>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Parameters } from '@storybook/addons';
|
|
2
|
-
import { Story } from '@storybook/store';
|
|
1
|
+
import type { Parameters } from '@storybook/addons';
|
|
2
|
+
import type { Story } from '@storybook/store';
|
|
3
3
|
export declare const enhanceSource: (story: Story<any>) => Parameters;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StoryId, AnyFramework } from '@storybook/csf';
|
|
2
|
-
import { Story } from '@storybook/store';
|
|
1
|
+
import type { StoryId, AnyFramework } from '@storybook/csf';
|
|
2
|
+
import type { Story } from '@storybook/store';
|
|
3
3
|
import { DocsContextProps } from './DocsContext';
|
|
4
4
|
export declare function useStory<TFramework extends AnyFramework = AnyFramework>(storyId: StoryId, context: DocsContextProps<TFramework>): Story<TFramework> | void;
|
|
5
5
|
export declare function useStories<TFramework extends AnyFramework = AnyFramework>(storyIds: StoryId[], context: DocsContextProps<TFramework>): (Story<TFramework> | void)[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArgTypes } from '@storybook/api';
|
|
2
|
-
import { Class, CompodocJson, Component, Injectable, Method, Pipe, Property, Directive } from './types';
|
|
1
|
+
import type { ArgTypes } from '@storybook/api';
|
|
2
|
+
import type { Class, CompodocJson, Component, Injectable, Method, Pipe, Property, Directive } from './types';
|
|
3
3
|
export declare const isMethod: (methodOrProp: Method | Property) => methodOrProp is Method;
|
|
4
4
|
export declare const setCompodocJson: (compodocJson: CompodocJson) => void;
|
|
5
5
|
export declare const getCompodocJson: () => CompodocJson;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PartialStoryFn } from '@storybook/csf';
|
|
2
|
-
import { StoryContext, AngularFramework } from '@storybook/angular';
|
|
1
|
+
import type { PartialStoryFn } from '@storybook/csf';
|
|
2
|
+
import type { StoryContext, AngularFramework } from '@storybook/angular';
|
|
3
3
|
export declare const skipSourceRender: (context: StoryContext) => any;
|
|
4
4
|
/**
|
|
5
5
|
* Angular source decorator.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PartialStoryFn, StoryContext } from '@storybook/csf';
|
|
2
|
-
import { HtmlFramework } from '@storybook/html';
|
|
1
|
+
import type { PartialStoryFn, StoryContext } from '@storybook/csf';
|
|
2
|
+
import type { HtmlFramework } from '@storybook/html';
|
|
3
3
|
export declare function sourceDecorator(storyFn: PartialStoryFn<HtmlFramework>, context: StoryContext<HtmlFramework>): import("@storybook/html/dist/ts3.9/client/preview/types").StoryFnHtmlReturnType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PartialStoryFn } from '@storybook/csf';
|
|
2
|
-
import { ReactFramework } from '@storybook/react';
|
|
1
|
+
import type { PartialStoryFn } from '@storybook/csf';
|
|
2
|
+
import type { ReactFramework } from '@storybook/react';
|
|
3
3
|
import { extractComponentDescription } from '../../lib/docgen';
|
|
4
4
|
export declare const parameters: {
|
|
5
5
|
docs: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ArgTypesExtractor } from '../../lib/docgen';
|
|
1
|
+
import type { ArgTypesExtractor } from '../../lib/docgen';
|
|
2
2
|
export declare const extractArgTypes: ArgTypesExtractor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StrictArgTypes } from '@storybook/csf';
|
|
1
|
+
import type { StrictArgTypes } from '@storybook/csf';
|
|
2
2
|
import type { SvelteComponentDoc } from 'sveltedoc-parser/typings';
|
|
3
|
-
import { ArgTypesExtractor } from '../../lib/docgen';
|
|
3
|
+
import type { ArgTypesExtractor } from '../../lib/docgen';
|
|
4
4
|
export declare const extractArgTypes: ArgTypesExtractor;
|
|
5
5
|
export declare const createArgTypes: (docgen: SvelteComponentDoc) => StrictArgTypes<import("@storybook/csf").Args>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ArgTypesExtractor } from '../../lib/docgen';
|
|
1
|
+
import type { ArgTypesExtractor } from '../../lib/docgen';
|
|
2
2
|
export declare const extractArgTypes: ArgTypesExtractor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StoryContext, PartialStoryFn } from '@storybook/csf';
|
|
3
|
-
import { VueFramework } from '@storybook/vue';
|
|
2
|
+
import type { StoryContext, PartialStoryFn } from '@storybook/csf';
|
|
3
|
+
import type { VueFramework } from '@storybook/vue';
|
|
4
4
|
export declare const prepareForInline: (storyFn: PartialStoryFn<VueFramework>, { args }: StoryContext<VueFramework>) => React.DetailedReactHTMLElement<null, HTMLElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StoryContext } from '@storybook/csf';
|
|
2
|
-
import { VueFramework } from '@storybook/vue';
|
|
1
|
+
import type { StoryContext } from '@storybook/csf';
|
|
2
|
+
import type { VueFramework } from '@storybook/vue';
|
|
3
3
|
export declare const skipSourceRender: (context: StoryContext<VueFramework>) => any;
|
|
4
4
|
export declare const sourceDecorator: (storyFn: any, context: StoryContext<VueFramework>) => any;
|
|
5
5
|
export declare function vnodeToString(vnode: Vue.VNode): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ArgTypesExtractor } from '../../lib/docgen';
|
|
1
|
+
import type { ArgTypesExtractor } from '../../lib/docgen';
|
|
2
2
|
export declare const extractArgTypes: ArgTypesExtractor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StoryContext, PartialStoryFn } from '@storybook/csf';
|
|
3
|
-
import { VueFramework } from '@storybook/vue3';
|
|
2
|
+
import type { StoryContext, PartialStoryFn } from '@storybook/csf';
|
|
3
|
+
import type { VueFramework } from '@storybook/vue3';
|
|
4
4
|
export declare const prepareForInline: (storyFn: PartialStoryFn<VueFramework>, { args }: StoryContext<VueFramework>) => React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PartialStoryFn, StoryContext } from '@storybook/csf';
|
|
2
|
-
import { WebComponentsFramework } from '@storybook/web-components';
|
|
1
|
+
import type { PartialStoryFn, StoryContext } from '@storybook/csf';
|
|
2
|
+
import type { WebComponentsFramework } from '@storybook/web-components';
|
|
3
3
|
export declare function sourceDecorator(storyFn: PartialStoryFn<WebComponentsFramework>, context: StoryContext<WebComponentsFramework>): WebComponentsFramework['storyResult'];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SBType } from '@storybook/csf';
|
|
2
|
-
import { FlowType } from './types';
|
|
1
|
+
import type { SBType } from '@storybook/csf';
|
|
2
|
+
import type { FlowType } from './types';
|
|
3
3
|
export declare const convert: (type: FlowType) => SBType | void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SBType } from '@storybook/csf';
|
|
2
|
-
import { PTType } from './types';
|
|
1
|
+
import type { SBType } from '@storybook/csf';
|
|
2
|
+
import type { PTType } from './types';
|
|
3
3
|
export declare const convert: (type: PTType) => SBType | any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SBType } from '@storybook/csf';
|
|
2
|
-
import { TSType } from './types';
|
|
1
|
+
import type { SBType } from '@storybook/csf';
|
|
2
|
+
import type { TSType } from './types';
|
|
3
3
|
export declare const convert: (type: TSType) => SBType | void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StrictArgTypes } from '@storybook/csf';
|
|
2
|
-
import { PropDef } from './PropDef';
|
|
3
|
-
import { Component } from '../../blocks/types';
|
|
1
|
+
import type { StrictArgTypes } from '@storybook/csf';
|
|
2
|
+
import type { PropDef } from './PropDef';
|
|
3
|
+
import type { Component } from '../../blocks/types';
|
|
4
4
|
export declare type PropsExtractor = (component: Component) => {
|
|
5
5
|
rows?: PropDef[];
|
|
6
6
|
} | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-docs",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.47",
|
|
4
4
|
"description": "Document component usage and properties in Markdown",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -62,22 +62,22 @@
|
|
|
62
62
|
"@babel/preset-env": "^7.12.11",
|
|
63
63
|
"@jest/transform": "^26.6.2",
|
|
64
64
|
"@mdx-js/react": "^1.6.22",
|
|
65
|
-
"@storybook/addons": "6.5.0-alpha.
|
|
66
|
-
"@storybook/api": "6.5.0-alpha.
|
|
67
|
-
"@storybook/builder-webpack4": "6.5.0-alpha.
|
|
68
|
-
"@storybook/client-logger": "6.5.0-alpha.
|
|
69
|
-
"@storybook/components": "6.5.0-alpha.
|
|
70
|
-
"@storybook/core": "6.5.0-alpha.
|
|
71
|
-
"@storybook/core-events": "6.5.0-alpha.
|
|
65
|
+
"@storybook/addons": "6.5.0-alpha.47",
|
|
66
|
+
"@storybook/api": "6.5.0-alpha.47",
|
|
67
|
+
"@storybook/builder-webpack4": "6.5.0-alpha.47",
|
|
68
|
+
"@storybook/client-logger": "6.5.0-alpha.47",
|
|
69
|
+
"@storybook/components": "6.5.0-alpha.47",
|
|
70
|
+
"@storybook/core": "6.5.0-alpha.47",
|
|
71
|
+
"@storybook/core-events": "6.5.0-alpha.47",
|
|
72
72
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
73
|
-
"@storybook/csf-tools": "6.5.0-alpha.
|
|
73
|
+
"@storybook/csf-tools": "6.5.0-alpha.47",
|
|
74
74
|
"@storybook/mdx1-csf": "canary",
|
|
75
|
-
"@storybook/node-logger": "6.5.0-alpha.
|
|
76
|
-
"@storybook/postinstall": "6.5.0-alpha.
|
|
77
|
-
"@storybook/preview-web": "6.5.0-alpha.
|
|
78
|
-
"@storybook/source-loader": "6.5.0-alpha.
|
|
79
|
-
"@storybook/store": "6.5.0-alpha.
|
|
80
|
-
"@storybook/theming": "6.5.0-alpha.
|
|
75
|
+
"@storybook/node-logger": "6.5.0-alpha.47",
|
|
76
|
+
"@storybook/postinstall": "6.5.0-alpha.47",
|
|
77
|
+
"@storybook/preview-web": "6.5.0-alpha.47",
|
|
78
|
+
"@storybook/source-loader": "6.5.0-alpha.47",
|
|
79
|
+
"@storybook/store": "6.5.0-alpha.47",
|
|
80
|
+
"@storybook/theming": "6.5.0-alpha.47",
|
|
81
81
|
"acorn": "^7.4.1",
|
|
82
82
|
"acorn-jsx": "^5.3.1",
|
|
83
83
|
"acorn-walk": "^7.2.0",
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
"@babel/core": "^7.12.10",
|
|
106
106
|
"@emotion/core": "^10.3.1",
|
|
107
107
|
"@emotion/styled": "^10.0.27",
|
|
108
|
-
"@storybook/angular": "6.5.0-alpha.
|
|
109
|
-
"@storybook/html": "6.5.0-alpha.
|
|
108
|
+
"@storybook/angular": "6.5.0-alpha.47",
|
|
109
|
+
"@storybook/html": "6.5.0-alpha.47",
|
|
110
110
|
"@storybook/mdx2-csf": "canary",
|
|
111
|
-
"@storybook/react": "6.5.0-alpha.
|
|
112
|
-
"@storybook/vue": "6.5.0-alpha.
|
|
113
|
-
"@storybook/web-components": "6.5.0-alpha.
|
|
111
|
+
"@storybook/react": "6.5.0-alpha.47",
|
|
112
|
+
"@storybook/vue": "6.5.0-alpha.47",
|
|
113
|
+
"@storybook/web-components": "6.5.0-alpha.47",
|
|
114
114
|
"@types/cross-spawn": "^6.0.2",
|
|
115
115
|
"@types/doctrine": "^0.0.3",
|
|
116
116
|
"@types/estree": "^0.0.44",
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
"zone.js": "^0.11.3"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
|
-
"@storybook/angular": "6.5.0-alpha.
|
|
139
|
-
"@storybook/html": "6.5.0-alpha.
|
|
138
|
+
"@storybook/angular": "6.5.0-alpha.47",
|
|
139
|
+
"@storybook/html": "6.5.0-alpha.47",
|
|
140
140
|
"@storybook/mdx2-csf": "*",
|
|
141
|
-
"@storybook/react": "6.5.0-alpha.
|
|
142
|
-
"@storybook/vue": "6.5.0-alpha.
|
|
143
|
-
"@storybook/vue3": "6.5.0-alpha.
|
|
144
|
-
"@storybook/web-components": "6.5.0-alpha.
|
|
141
|
+
"@storybook/react": "6.5.0-alpha.47",
|
|
142
|
+
"@storybook/vue": "6.5.0-alpha.47",
|
|
143
|
+
"@storybook/vue3": "6.5.0-alpha.47",
|
|
144
|
+
"@storybook/web-components": "6.5.0-alpha.47",
|
|
145
145
|
"lit": "^2.0.0",
|
|
146
146
|
"lit-html": "^1.4.1 || ^2.0.0",
|
|
147
147
|
"react": "^16.8.0 || ^17.0.0",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"publishConfig": {
|
|
214
214
|
"access": "public"
|
|
215
215
|
},
|
|
216
|
-
"gitHead": "
|
|
216
|
+
"gitHead": "e848de5c5d389fcb452d85f7ebdfc27f1e3c10c4",
|
|
217
217
|
"sbmodern": "dist/modern/index.js",
|
|
218
218
|
"storybook": {
|
|
219
219
|
"displayName": "Docs",
|