@storybook/react 6.0.10 → 6.0.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentClass, FunctionComponent } from 'react';
|
|
2
2
|
import { Args as DefaultArgs, Annotations, BaseMeta, BaseStory } from '@storybook/addons';
|
|
3
3
|
import { StoryFnReactReturnType } from './types';
|
|
4
4
|
export { Args, ArgTypes, Parameters, StoryContext } from '@storybook/addons';
|
|
5
|
-
declare type ReactComponent =
|
|
5
|
+
declare type ReactComponent = ComponentClass<any> | FunctionComponent<any>;
|
|
6
6
|
declare type ReactReturnType = StoryFnReactReturnType;
|
|
7
7
|
/**
|
|
8
8
|
* Metadata to configure the stories for a component.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.14",
|
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/preset-flow": "^7.0.0",
|
|
38
38
|
"@babel/preset-react": "^7.0.0",
|
|
39
|
-
"@storybook/addons": "6.0.
|
|
40
|
-
"@storybook/core": "6.0.
|
|
41
|
-
"@storybook/node-logger": "6.0.
|
|
39
|
+
"@storybook/addons": "6.0.14",
|
|
40
|
+
"@storybook/core": "6.0.14",
|
|
41
|
+
"@storybook/node-logger": "6.0.14",
|
|
42
42
|
"@storybook/semver": "^7.3.2",
|
|
43
43
|
"@svgr/webpack": "^5.4.0",
|
|
44
44
|
"@types/webpack-env": "^1.15.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"webpack": "^4.43.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@storybook/client-api": "6.0.
|
|
59
|
+
"@storybook/client-api": "6.0.14",
|
|
60
60
|
"@types/node": "^14.0.10",
|
|
61
61
|
"@types/webpack": "^4.41.12"
|
|
62
62
|
},
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "717fd675c952948094fefd9d7196c5040b95c736",
|
|
75
75
|
"typesVersions": {
|
|
76
76
|
"<=3.5": {
|
|
77
77
|
"*": [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentClass, FunctionComponent } from 'react';
|
|
2
2
|
import { Args as DefaultArgs, Annotations, BaseMeta, BaseStory } from '@storybook/addons';
|
|
3
3
|
import { StoryFnReactReturnType } from './types';
|
|
4
4
|
export { Args, ArgTypes, Parameters, StoryContext } from '@storybook/addons';
|
|
5
|
-
declare type ReactComponent =
|
|
5
|
+
declare type ReactComponent = ComponentClass<any> | FunctionComponent<any>;
|
|
6
6
|
declare type ReactReturnType = StoryFnReactReturnType;
|
|
7
7
|
/**
|
|
8
8
|
* Metadata to configure the stories for a component.
|