@storybook/react 7.0.0-alpha.44 → 7.0.0-alpha.45
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare type StoryObj<TMetaOrCmpOrArgs = Args> = TMetaOrCmpOrArgs extends {
|
|
|
37
37
|
render?: ArgsStoryFn<ReactFramework, any>;
|
|
38
38
|
component?: infer Component;
|
|
39
39
|
args?: infer DefaultArgs;
|
|
40
|
-
} ? Simplify<(Component extends ComponentType<any> ? ComponentProps<Component> : unknown) & ArgsFromMeta<ReactFramework, TMetaOrCmpOrArgs>> extends infer TArgs ? StoryAnnotations<ReactFramework, TArgs, SetOptional<TArgs, Extract<keyof TArgs, keyof (DefaultArgs & ActionArgs<TArgs>)>>> : never : TMetaOrCmpOrArgs extends ComponentType<any> ? StoryAnnotations<ReactFramework, ComponentProps<TMetaOrCmpOrArgs
|
|
40
|
+
} ? Simplify<(Component extends ComponentType<any> ? ComponentProps<Component> : unknown) & ArgsFromMeta<ReactFramework, TMetaOrCmpOrArgs>> extends infer TArgs ? StoryAnnotations<ReactFramework, TArgs, SetOptional<TArgs, Extract<keyof TArgs, keyof (DefaultArgs & ActionArgs<TArgs>)>>> : never : TMetaOrCmpOrArgs extends ComponentType<any> ? StoryAnnotations<ReactFramework, ComponentProps<TMetaOrCmpOrArgs>> : StoryAnnotations<ReactFramework, TMetaOrCmpOrArgs>;
|
|
41
41
|
declare type ActionArgs<RArgs> = {
|
|
42
42
|
[P in keyof RArgs as ((...args: any[]) => void) extends RArgs[P] ? P : never]: RArgs[P];
|
|
43
43
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as a}from"./chunk-UWO3SUKR.mjs";import A from"global";var{window:p}=A;p&&(p.STORYBOOK_ENV="react");import{start as c}from"@storybook/core-client";var m="react",n=c(a,{render:e}),k=(o,t)=>n.clientApi.storiesOf(o,t).addParameters({framework:m}),x=(...o)=>n.configure(m,...o),
|
|
1
|
+
import{a as e,b as a}from"./chunk-UWO3SUKR.mjs";import A from"global";var{window:p}=A;p&&(p.STORYBOOK_ENV="react");import{start as c}from"@storybook/core-client";var m="react",n=c(a,{render:e}),k=(o,t)=>n.clientApi.storiesOf(o,t).addParameters({framework:m}),x=(...o)=>n.configure(m,...o),w=n.forceReRender,O=n.clientApi.raw;import{composeStory as y,composeStories as g,setProjectAnnotations as d}from"@storybook/store";import{deprecate as S}from"@storybook/client-logger";function C(o){d(o)}function E(o){S("setGlobalConfig is deprecated. Use setProjectAnnotations instead."),C(o)}var f={render:e};function l(o,t,s,i){return y(o,t,s,f,i)}function b(o,t){return g(o,t,l)}module?.hot?.decline();export{b as composeStories,l as composeStory,x as configure,w as forceReRender,O as raw,E as setGlobalConfig,C as setProjectAnnotations,k as storiesOf};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.45",
|
|
4
4
|
"description": "Storybook React renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@storybook/addons": "7.0.0-alpha.
|
|
55
|
-
"@storybook/client-logger": "7.0.0-alpha.
|
|
56
|
-
"@storybook/core-client": "7.0.0-alpha.
|
|
57
|
-
"@storybook/docs-tools": "7.0.0-alpha.
|
|
58
|
-
"@storybook/store": "7.0.0-alpha.
|
|
59
|
-
"@storybook/types": "7.0.0-alpha.
|
|
54
|
+
"@storybook/addons": "7.0.0-alpha.45",
|
|
55
|
+
"@storybook/client-logger": "7.0.0-alpha.45",
|
|
56
|
+
"@storybook/core-client": "7.0.0-alpha.45",
|
|
57
|
+
"@storybook/docs-tools": "7.0.0-alpha.45",
|
|
58
|
+
"@storybook/store": "7.0.0-alpha.45",
|
|
59
|
+
"@storybook/types": "7.0.0-alpha.45",
|
|
60
60
|
"@types/estree": "^0.0.51",
|
|
61
61
|
"@types/node": "^16.0.0",
|
|
62
62
|
"acorn": "^7.4.1",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
],
|
|
104
104
|
"platform": "browser"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "3ef14366115c56c1d45c0359ff681cc47ed50532"
|
|
107
107
|
}
|