@storybook/nextjs 7.6.0-alpha.5 → 7.6.0-alpha.6

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,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { a as Addon_StoryContext } from '../index.d-ed8c343e.js';
2
+ import { a as Addon_StoryContext } from '../index.d-d2ee8cf2.js';
3
3
  import 'file-system-cache';
4
4
  import '@babel/core';
5
5
  import 'http';
@@ -3035,19 +3035,19 @@ interface TestBuildFlags {
3035
3035
  /**
3036
3036
  * The package @storybook/blocks will be excluded from the bundle, even when imported in e.g. the preview.
3037
3037
  */
3038
- emptyBlocks?: boolean;
3038
+ disableBlocks?: boolean;
3039
3039
  /**
3040
- * Disable all addons
3040
+ * Disable specific addons
3041
3041
  */
3042
- removeNonFastAddons?: boolean;
3042
+ disabledAddons?: string[];
3043
3043
  /**
3044
3044
  * Filter out .mdx stories entries
3045
3045
  */
3046
- removeMDXEntries?: boolean;
3046
+ disableMDXEntries?: boolean;
3047
3047
  /**
3048
3048
  * Override autodocs to be disabled
3049
3049
  */
3050
- removeAutoDocs?: boolean;
3050
+ disableAutoDocs?: boolean;
3051
3051
  /**
3052
3052
  * Override docgen to be disabled.
3053
3053
  */
@@ -3061,9 +3061,9 @@ interface TestBuildFlags {
3061
3061
  */
3062
3062
  disableTreeShaking?: boolean;
3063
3063
  /**
3064
- * Compile/Optimize with SWC.
3064
+ * Minify with ESBuild when using webpack.
3065
3065
  */
3066
- optimizeCompilation?: boolean;
3066
+ esbuildMinify?: boolean;
3067
3067
  }
3068
3068
  interface TestBuildConfig {
3069
3069
  test?: TestBuildFlags;
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, O as Options } from './index.d-ed8c343e.js';
1
+ import { P as PresetProperty, O as Options } from './index.d-d2ee8cf2.js';
2
2
  import { TransformOptions } from '@babel/core';
3
3
  import { StorybookConfig } from './index.js';
4
4
  import 'file-system-cache';
package/dist/preview.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Addon_DecoratorFunction } from './index.d-ed8c343e.js';
1
+ import { A as Addon_DecoratorFunction } from './index.d-d2ee8cf2.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/nextjs",
3
- "version": "7.6.0-alpha.5",
3
+ "version": "7.6.0-alpha.6",
4
4
  "description": "Storybook for Next.js",
5
5
  "keywords": [
6
6
  "storybook",
@@ -87,14 +87,14 @@
87
87
  "@babel/preset-react": "^7.22.15",
88
88
  "@babel/preset-typescript": "^7.23.2",
89
89
  "@babel/runtime": "^7.23.2",
90
- "@storybook/addon-actions": "7.6.0-alpha.5",
91
- "@storybook/builder-webpack5": "7.6.0-alpha.5",
92
- "@storybook/core-common": "7.6.0-alpha.5",
93
- "@storybook/core-events": "7.6.0-alpha.5",
94
- "@storybook/node-logger": "7.6.0-alpha.5",
95
- "@storybook/preset-react-webpack": "7.6.0-alpha.5",
96
- "@storybook/preview-api": "7.6.0-alpha.5",
97
- "@storybook/react": "7.6.0-alpha.5",
90
+ "@storybook/addon-actions": "7.6.0-alpha.6",
91
+ "@storybook/builder-webpack5": "7.6.0-alpha.6",
92
+ "@storybook/core-common": "7.6.0-alpha.6",
93
+ "@storybook/core-events": "7.6.0-alpha.6",
94
+ "@storybook/node-logger": "7.6.0-alpha.6",
95
+ "@storybook/preset-react-webpack": "7.6.0-alpha.6",
96
+ "@storybook/preview-api": "7.6.0-alpha.6",
97
+ "@storybook/react": "7.6.0-alpha.6",
98
98
  "@types/node": "^18.0.0",
99
99
  "css-loader": "^6.7.3",
100
100
  "find-up": "^5.0.0",