@storybook/react 7.0.0-beta.13 → 7.0.0-beta.15
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.15",
|
|
4
4
|
"description": "Storybook React renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
+
"node": "./dist/index.js",
|
|
24
25
|
"require": "./dist/index.js",
|
|
25
26
|
"import": "./dist/index.mjs",
|
|
26
27
|
"types": "./dist/index.d.ts"
|
|
@@ -30,11 +31,7 @@
|
|
|
30
31
|
"import": "./dist/config.mjs",
|
|
31
32
|
"types": "./dist/config.d.ts"
|
|
32
33
|
},
|
|
33
|
-
"./package.json":
|
|
34
|
-
"require": "./package.json",
|
|
35
|
-
"import": "./package.json",
|
|
36
|
-
"types": "./package.json"
|
|
37
|
-
}
|
|
34
|
+
"./package.json": "./package.json"
|
|
38
35
|
},
|
|
39
36
|
"main": "dist/index.js",
|
|
40
37
|
"module": "dist/index.mjs",
|
|
@@ -42,7 +39,6 @@
|
|
|
42
39
|
"files": [
|
|
43
40
|
"dist/**/*",
|
|
44
41
|
"template/**/*",
|
|
45
|
-
"types/**/*",
|
|
46
42
|
"README.md",
|
|
47
43
|
"*.js",
|
|
48
44
|
"*.d.ts"
|
|
@@ -52,12 +48,12 @@
|
|
|
52
48
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
53
49
|
},
|
|
54
50
|
"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.
|
|
51
|
+
"@storybook/client-logger": "7.0.0-beta.15",
|
|
52
|
+
"@storybook/core-client": "7.0.0-beta.15",
|
|
53
|
+
"@storybook/docs-tools": "7.0.0-beta.15",
|
|
58
54
|
"@storybook/global": "^5.0.0",
|
|
59
|
-
"@storybook/preview-api": "7.0.0-beta.
|
|
60
|
-
"@storybook/types": "7.0.0-beta.
|
|
55
|
+
"@storybook/preview-api": "7.0.0-beta.15",
|
|
56
|
+
"@storybook/types": "7.0.0-beta.15",
|
|
61
57
|
"@types/estree": "^0.0.51",
|
|
62
58
|
"@types/node": "^16.0.0",
|
|
63
59
|
"acorn": "^7.4.1",
|
|
@@ -102,5 +98,5 @@
|
|
|
102
98
|
],
|
|
103
99
|
"platform": "browser"
|
|
104
100
|
},
|
|
105
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "ed794f9d13e2bfe696ed2b230a3da04c203519eb"
|
|
106
102
|
}
|
|
@@ -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',
|