@storybook/react 7.0.0-beta.13 → 7.0.0-beta.14
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/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _storybook_types from '@storybook/types';
|
|
|
2
2
|
import { Addon_ClientStoryApi, Addon_Loadable, Args, ComponentAnnotations, AnnotatedStoryFn, ArgsStoryFn, ArgsFromMeta, StoryAnnotations, DecoratorFunction, StrictArgs, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations, ComposedStory, Store_CSFExports, StoriesWithPartialProps } from '@storybook/types';
|
|
3
3
|
export { ArgTypes, Args, Parameters, StrictArgs } from '@storybook/types';
|
|
4
4
|
import { R as ReactRenderer, S as StoryFnReactReturnType } from './types-0a347bb9.js';
|
|
5
|
-
export { R as ReactRenderer } from './types-0a347bb9.js';
|
|
6
5
|
import { ComponentType, ComponentProps, JSXElementConstructor } from 'react';
|
|
7
6
|
import { Simplify, SetOptional } from 'type-fest';
|
|
8
7
|
|
|
@@ -190,4 +189,4 @@ declare function composeStory<TArgs extends Args = Args>(story: ComposedStory<Re
|
|
|
190
189
|
*/
|
|
191
190
|
declare function composeStories<TModule extends Store_CSFExports<ReactRenderer>>(csfExports: TModule, projectAnnotations?: ProjectAnnotations<ReactRenderer>): Omit<StoriesWithPartialProps<ReactRenderer, TModule>, keyof Store_CSFExports<_storybook_types.Renderer, Args>>;
|
|
192
191
|
|
|
193
|
-
export { ComponentMeta, ComponentStory, ComponentStoryFn, ComponentStoryObj, Decorator, DecoratorFn, Loader, Meta, Story, StoryContext, StoryFn, StoryObj, composeStories, composeStory, configure, forceReRender, raw, setGlobalConfig, setProjectAnnotations, storiesOf };
|
|
192
|
+
export { ComponentMeta, ComponentStory, ComponentStoryFn, ComponentStoryObj, Decorator, DecoratorFn, Loader, Meta, ReactRenderer, Story, StoryContext, StoryFn, StoryObj, composeStories, composeStory, configure, forceReRender, raw, setGlobalConfig, setProjectAnnotations, storiesOf };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.14",
|
|
4
4
|
"description": "Storybook React renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@storybook/client-logger": "7.0.0-beta.
|
|
56
|
-
"@storybook/core-client": "7.0.0-beta.
|
|
57
|
-
"@storybook/docs-tools": "7.0.0-beta.
|
|
55
|
+
"@storybook/client-logger": "7.0.0-beta.14",
|
|
56
|
+
"@storybook/core-client": "7.0.0-beta.14",
|
|
57
|
+
"@storybook/docs-tools": "7.0.0-beta.14",
|
|
58
58
|
"@storybook/global": "^5.0.0",
|
|
59
|
-
"@storybook/preview-api": "7.0.0-beta.
|
|
60
|
-
"@storybook/types": "7.0.0-beta.
|
|
59
|
+
"@storybook/preview-api": "7.0.0-beta.14",
|
|
60
|
+
"@storybook/types": "7.0.0-beta.14",
|
|
61
61
|
"@types/estree": "^0.0.51",
|
|
62
62
|
"@types/node": "^16.0.0",
|
|
63
63
|
"acorn": "^7.4.1",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
],
|
|
103
103
|
"platform": "browser"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "c3b2e8fe2517ba2d7630e260de0fd1ad86cafeb6"
|
|
106
106
|
}
|
|
@@ -3,8 +3,8 @@ import { Header } from './Header';
|
|
|
3
3
|
export default {
|
|
4
4
|
title: 'Example/Header',
|
|
5
5
|
component: Header,
|
|
6
|
-
// This component will have an automatically generated
|
|
7
|
-
tags: ['
|
|
6
|
+
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
|
|
7
|
+
tags: ['autodocs'],
|
|
8
8
|
parameters: {
|
|
9
9
|
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
|
10
10
|
layout: 'fullscreen',
|
|
@@ -4,8 +4,8 @@ import { Header } from './Header';
|
|
|
4
4
|
const meta = {
|
|
5
5
|
title: 'Example/Header',
|
|
6
6
|
component: Header,
|
|
7
|
-
// This component will have an automatically generated
|
|
8
|
-
tags: ['
|
|
7
|
+
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
|
|
8
|
+
tags: ['autodocs'],
|
|
9
9
|
parameters: {
|
|
10
10
|
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
|
11
11
|
layout: 'fullscreen',
|