@storybook/server 7.0.0-alpha.34 → 7.0.0-alpha.35

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -9
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as lib_store_dist_types from 'lib/store/dist/types';
2
- import * as lib_client_api_dist_types_ClientApi from 'lib/client-api/dist/types/ClientApi';
1
+ import * as lib_store_dist from 'lib/store/dist';
2
+ import * as lib_client_api_dist from 'lib/client-api/dist';
3
3
  import * as _storybook_csf from '@storybook/csf';
4
4
  export { ArgTypes, Args, Parameters, StoryContext } from '@storybook/csf';
5
5
  import * as _storybook_addons from '@storybook/addons';
@@ -17,15 +17,15 @@ interface ClientApi extends ClientStoryApi<ServerFramework['storyResult']> {
17
17
  }
18
18
  declare const storiesOf: ClientApi['storiesOf'];
19
19
  declare const configure: ClientApi['configure'];
20
- declare const addDecorator: (() => never) | ((decorator: _storybook_csf.DecoratorFunction<ServerFramework, _storybook_addons.Args>) => void);
21
- declare const addParameters: (() => never) | (({ globals, globalTypes, ...parameters }: _storybook_csf.Parameters & {
20
+ declare const addDecorator: ((...args: any[]) => never) | ((decorator: _storybook_csf.DecoratorFunction<ServerFramework, _storybook_addons.Args>) => void);
21
+ declare const addParameters: ((...args: any[]) => never) | (({ globals, globalTypes, ...parameters }: _storybook_csf.Parameters & {
22
22
  globals?: _storybook_csf.Globals;
23
23
  globalTypes?: _storybook_csf.GlobalTypes;
24
24
  }) => void);
25
- declare const clearDecorators: (() => never) | (() => void);
26
- declare const setAddon: (() => never) | ((addon: any) => void);
27
- declare const getStorybook: (() => never) | (() => lib_client_api_dist_types_ClientApi.GetStorybookKind<ServerFramework>[]);
28
- declare const raw: (() => never) | (() => lib_store_dist_types.BoundStory<ServerFramework>[]);
29
- declare const forceReRender: (() => never) | (() => void);
25
+ declare const clearDecorators: ((...args: any[]) => never) | (() => void);
26
+ declare const setAddon: ((...args: any[]) => never) | ((addon: any) => void);
27
+ declare const getStorybook: ((...args: any[]) => never) | (() => lib_client_api_dist.GetStorybookKind<ServerFramework>[]);
28
+ declare const raw: ((...args: any[]) => never) | (() => lib_store_dist.BoundStory<ServerFramework>[]);
29
+ declare const forceReRender: () => void;
30
30
 
31
31
  export { addDecorator, addParameters, clearDecorators, configure, forceReRender, getStorybook, raw, setAddon, storiesOf };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/server",
3
- "version": "7.0.0-alpha.34",
3
+ "version": "7.0.0-alpha.35",
4
4
  "description": "Storybook Server renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -50,11 +50,11 @@
50
50
  "prep": "../../../scripts/prepare/bundle.ts"
51
51
  },
52
52
  "dependencies": {
53
- "@storybook/addons": "7.0.0-alpha.34",
54
- "@storybook/core-client": "7.0.0-alpha.34",
53
+ "@storybook/addons": "7.0.0-alpha.35",
54
+ "@storybook/core-client": "7.0.0-alpha.35",
55
55
  "@storybook/csf": "0.0.2--canary.0899bb7.0",
56
- "@storybook/preview-web": "7.0.0-alpha.34",
57
- "@storybook/store": "7.0.0-alpha.34",
56
+ "@storybook/preview-web": "7.0.0-alpha.35",
57
+ "@storybook/store": "7.0.0-alpha.35",
58
58
  "global": "^4.4.0",
59
59
  "react": "16.14.0",
60
60
  "react-dom": "16.14.0",
@@ -76,5 +76,5 @@
76
76
  ],
77
77
  "platform": "browser"
78
78
  },
79
- "gitHead": "fc90fc875462421c1faa35862ac4bc436de8e75f"
79
+ "gitHead": "d8972df8c6c1c4716131a856751f5914acddaad1"
80
80
  }