@storybook/react 6.5.0-alpha.46 → 6.5.0-alpha.47

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,6 +1,6 @@
1
- import { ComponentType } from 'react';
2
- import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
3
- import { StoryFnReactReturnType } from './types';
1
+ import type { ComponentType } from 'react';
2
+ import type { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
3
+ import type { StoryFnReactReturnType } from './types';
4
4
  export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
5
5
  export declare type ReactFramework = {
6
6
  component: ComponentType<any>;
@@ -1,5 +1,5 @@
1
- import { JSXElementConstructor } from 'react';
2
- import { Args } from '@storybook/csf';
1
+ import type { JSXElementConstructor } from 'react';
2
+ import type { Args } from '@storybook/csf';
3
3
  import type { StoryObj } from './types-6-0';
4
4
  import type { ComponentStoryObj } from './types-6-3';
5
5
  export type { StoryFn, StoryObj, Meta } from './types-6-0';
@@ -1,3 +1,3 @@
1
- import { LoadOptions } from '@storybook/core-common';
1
+ import type { LoadOptions } from '@storybook/core-common';
2
2
  declare const _default: LoadOptions;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { StorybookConfig } from '@storybook/core-common';
1
+ import type { StorybookConfig } from '@storybook/core-common';
2
2
  export declare const config: StorybookConfig['config'];
3
3
  export declare const addons: StorybookConfig['addons'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react",
3
- "version": "6.5.0-alpha.46",
3
+ "version": "6.5.0-alpha.47",
4
4
  "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -49,14 +49,14 @@
49
49
  "@babel/preset-flow": "^7.12.1",
50
50
  "@babel/preset-react": "^7.12.10",
51
51
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
52
- "@storybook/addons": "6.5.0-alpha.46",
53
- "@storybook/core": "6.5.0-alpha.46",
54
- "@storybook/core-common": "6.5.0-alpha.46",
52
+ "@storybook/addons": "6.5.0-alpha.47",
53
+ "@storybook/core": "6.5.0-alpha.47",
54
+ "@storybook/core-common": "6.5.0-alpha.47",
55
55
  "@storybook/csf": "0.0.2--canary.87bc651.0",
56
- "@storybook/node-logger": "6.5.0-alpha.46",
56
+ "@storybook/node-logger": "6.5.0-alpha.47",
57
57
  "@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
58
58
  "@storybook/semver": "^7.3.2",
59
- "@storybook/store": "6.5.0-alpha.46",
59
+ "@storybook/store": "6.5.0-alpha.47",
60
60
  "@types/node": "^14.14.20 || ^16.0.0",
61
61
  "@types/webpack-env": "^1.16.0",
62
62
  "babel-plugin-add-react-displayname": "^0.0.5",
@@ -73,7 +73,7 @@
73
73
  "webpack": ">=4.43.0 <6.0.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@storybook/client-api": "6.5.0-alpha.46",
76
+ "@storybook/client-api": "6.5.0-alpha.47",
77
77
  "@types/prompts": "^2.0.9",
78
78
  "webpack": "4"
79
79
  },
@@ -108,6 +108,6 @@
108
108
  "publishConfig": {
109
109
  "access": "public"
110
110
  },
111
- "gitHead": "a64dc8426d21a70970728878c3bba0ac0a377a48",
111
+ "gitHead": "e848de5c5d389fcb452d85f7ebdfc27f1e3c10c4",
112
112
  "sbmodern": "dist/modern/client/index.js"
113
113
  }
package/types/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { StorybookConfig as BaseConfig } from '@storybook/core-common';
1
+ import type { StorybookConfig as BaseConfig } from '@storybook/core-common';
2
2
 
3
3
  /**
4
4
  * The interface for Storybook configuration in `main.ts` files.