@storybook/types 8.0.0-beta.5 → 8.0.0-rc.0

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 +2 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1760,6 +1760,7 @@ interface CLIOptions {
1760
1760
  test?: boolean;
1761
1761
  debugWebpack?: boolean;
1762
1762
  webpackStatsJson?: string | boolean;
1763
+ statsJson?: string | boolean;
1763
1764
  outputDir?: string;
1764
1765
  }
1765
1766
  interface BuilderOptions {
@@ -2615,7 +2616,7 @@ interface Addon_BaseType {
2615
2616
  * This is called as a function, so if you want to use hooks,
2616
2617
  * your function needs to return a JSX.Element within which components are rendered
2617
2618
  */
2618
- render: (renderOptions: Partial<Addon_RenderOptions>) => ReactElement<any, any> | null;
2619
+ render: (props: Partial<Addon_RenderOptions>) => ReturnType<FC<Partial<Addon_RenderOptions>>>;
2619
2620
  /**
2620
2621
  * @unstable
2621
2622
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/types",
3
- "version": "8.0.0-beta.5",
3
+ "version": "8.0.0-rc.0",
4
4
  "description": "Core Storybook TS Types",
5
5
  "keywords": [
6
6
  "storybook"
@@ -44,7 +44,7 @@
44
44
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@storybook/channels": "8.0.0-beta.5",
47
+ "@storybook/channels": "8.0.0-rc.0",
48
48
  "@types/express": "^4.7.0",
49
49
  "file-system-cache": "2.3.0"
50
50
  },