@storybook/nextjs 10.5.0-alpha.3 → 10.5.0-alpha.5

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 (24) hide show
  1. package/dist/_node-chunks/{chunk-TVCRKOMF.js → chunk-CGQ4V2BV.js} +7 -7
  2. package/dist/_node-chunks/{chunk-HQSVB7OI.js → chunk-IE6TAXPP.js} +7 -7
  3. package/dist/_node-chunks/{chunk-QEEYP7VR.js → chunk-VYLOLJK2.js} +6 -6
  4. package/dist/_node-chunks/{configureNextFont-44FETPDY.js → configureNextFont-2YQXHNWK.js} +6 -6
  5. package/dist/_node-chunks/{loader-725USWNA.js → loader-W5SZB3IY.js} +8 -8
  6. package/dist/_node-chunks/{loader-RB6DY27A.js → loader-YXME5LDH.js} +8 -8
  7. package/dist/_node-chunks/{utils-DQZZUA6U.js → utils-AQGVETL5.js} +8 -8
  8. package/dist/_node-chunks/{webpack-4THZICIK.js → webpack-3TSP5IYR.js} +8 -8
  9. package/dist/_node-chunks/{webpack-3L4UJF5P.js → webpack-54J4BOZA.js} +8 -8
  10. package/dist/_node-chunks/{webpack-WJ434TIG.js → webpack-OTGOQY5P.js} +6 -6
  11. package/dist/_node-chunks/{webpack-L6Y34H7K.js → webpack-RIXBZCK5.js} +6 -6
  12. package/dist/_node-chunks/{webpack-CDTO4PS5.js → webpack-RV4TM4K7.js} +6 -6
  13. package/dist/_node-chunks/{webpack-EJOFYHEX.js → webpack-V4FQFMOA.js} +6 -6
  14. package/dist/_node-chunks/{webpack-UHZHITXR.js → webpack-VJAGHVPZ.js} +9 -9
  15. package/dist/_node-chunks/{webpack-4AUWWTGQ.js → webpack-VW46A7JO.js} +7 -7
  16. package/dist/export-mocks/index.js +9 -9
  17. package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +6 -6
  18. package/dist/index.js +1 -1
  19. package/dist/node/index.js +6 -6
  20. package/dist/preset.js +9 -9
  21. package/dist/swc/next-swc-loader-patch.js +6 -6
  22. package/package.json +5 -5
  23. package/template/cli/js/Button.stories.js +1 -1
  24. package/template/cli/ts/Button.stories.ts +1 -1
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  addScopedAlias,
14
14
  getNextjsVersion,
15
15
  setAlias
16
- } from "./chunk-HQSVB7OI.js";
16
+ } from "./chunk-IE6TAXPP.js";
17
17
 
18
18
  // src/compatibility/compatibility-map.ts
19
19
  import semver from "semver";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  resolvePackageDir
14
- } from "./chunk-QEEYP7VR.js";
14
+ } from "./chunk-VYLOLJK2.js";
15
15
 
16
16
  // src/utils.ts
17
17
  import { readFileSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  getNodeModulesExcludeRegex
14
- } from "./chunk-HQSVB7OI.js";
15
- import "./chunk-QEEYP7VR.js";
14
+ } from "./chunk-IE6TAXPP.js";
15
+ import "./chunk-VYLOLJK2.js";
16
16
 
17
17
  // src/swc/loader.ts
18
18
  import { join } from "node:path";
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  getNodeModulesExcludeRegex
14
- } from "./chunk-HQSVB7OI.js";
15
- import "./chunk-QEEYP7VR.js";
14
+ } from "./chunk-IE6TAXPP.js";
15
+ import "./chunk-VYLOLJK2.js";
16
16
 
17
17
  // src/babel/loader.ts
18
18
  import { fileURLToPath } from "node:url";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -18,8 +18,8 @@ import {
18
18
  resolveNextConfig,
19
19
  scopedResolve,
20
20
  setAlias
21
- } from "./chunk-HQSVB7OI.js";
22
- import "./chunk-QEEYP7VR.js";
21
+ } from "./chunk-IE6TAXPP.js";
22
+ import "./chunk-VYLOLJK2.js";
23
23
  export {
24
24
  addScopedAlias,
25
25
  configureRuntimeNextjsVersionResolution,
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  getNextjsVersion
14
- } from "./chunk-HQSVB7OI.js";
15
- import "./chunk-QEEYP7VR.js";
14
+ } from "./chunk-IE6TAXPP.js";
15
+ import "./chunk-VYLOLJK2.js";
16
16
 
17
17
  // src/images/webpack.ts
18
18
  import { fileURLToPath } from "node:url";
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  addScopedAlias
14
- } from "./chunk-HQSVB7OI.js";
15
- import "./chunk-QEEYP7VR.js";
14
+ } from "./chunk-IE6TAXPP.js";
15
+ import "./chunk-VYLOLJK2.js";
16
16
 
17
17
  // src/styledJsx/webpack.ts
18
18
  var configureStyledJsx = (baseConfig) => {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,11 +12,11 @@ var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
12
12
  import {
13
13
  configureCompatibilityAliases,
14
14
  configureNextExportMocks
15
- } from "./chunk-TVCRKOMF.js";
16
- import "./chunk-HQSVB7OI.js";
15
+ } from "./chunk-CGQ4V2BV.js";
16
+ import "./chunk-IE6TAXPP.js";
17
17
  import {
18
18
  resolvePackageDir
19
- } from "./chunk-QEEYP7VR.js";
19
+ } from "./chunk-VYLOLJK2.js";
20
20
 
21
21
  // src/aliases/webpack.ts
22
22
  var configureAliases = (baseConfig) => {
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  resolvePackageDir
14
- } from "./chunk-QEEYP7VR.js";
14
+ } from "./chunk-VYLOLJK2.js";
15
15
 
16
16
  // src/css/webpack.ts
17
17
  import { readFileSync } from "node:fs";
@@ -1,19 +1,19 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  getPackageAliases
14
- } from "../_node-chunks/chunk-TVCRKOMF.js";
15
- import "../_node-chunks/chunk-HQSVB7OI.js";
16
- import "../_node-chunks/chunk-QEEYP7VR.js";
14
+ } from "../_node-chunks/chunk-CGQ4V2BV.js";
15
+ import "../_node-chunks/chunk-IE6TAXPP.js";
16
+ import "../_node-chunks/chunk-VYLOLJK2.js";
17
17
  export {
18
18
  getPackageAliases
19
19
  };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/index.js CHANGED
@@ -7232,7 +7232,7 @@ var defaultFunctionValue = inlineFunction, formatFunction = (function(fn, option
7232
7232
  var usedValue = hasValue ? value : defaultValue, useBooleanShorthandSyntax = options.useBooleanShorthandSyntax, tabStop = options.tabStop, formattedPropValue = formatPropValue(usedValue, inline, lvl, options), attributeFormattedInline = " ", attributeFormattedMultiline = `
7233
7233
  `.concat(spacer(lvl + 1, tabStop)), isMultilineAttribute = formattedPropValue.includes(`
7234
7234
  `);
7235
- return useBooleanShorthandSyntax && formattedPropValue === "{false}" && !hasDefaultValue ? (attributeFormattedInline = "", attributeFormattedMultiline = "") : useBooleanShorthandSyntax && formattedPropValue === "{true}" ? (attributeFormattedInline += "".concat(name), attributeFormattedMultiline += "".concat(name)) : (attributeFormattedInline += "".concat(name, "=").concat(formattedPropValue), attributeFormattedMultiline += "".concat(name, "=").concat(formattedPropValue)), {
7235
+ return useBooleanShorthandSyntax && formattedPropValue === "{true}" ? (attributeFormattedInline += "".concat(name), attributeFormattedMultiline += "".concat(name)) : (attributeFormattedInline += "".concat(name, "=").concat(formattedPropValue), attributeFormattedMultiline += "".concat(name, "=").concat(formattedPropValue)), {
7236
7236
  attributeFormattedInline,
7237
7237
  attributeFormattedMultiline,
7238
7238
  isMultilineAttribute
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,8 +13,8 @@ import {
13
13
  addScopedAlias,
14
14
  isNextVersionGte,
15
15
  resolveNextConfig
16
- } from "./_node-chunks/chunk-HQSVB7OI.js";
17
- import "./_node-chunks/chunk-QEEYP7VR.js";
16
+ } from "./_node-chunks/chunk-IE6TAXPP.js";
17
+ import "./_node-chunks/chunk-VYLOLJK2.js";
18
18
 
19
19
  // src/preset.ts
20
20
  import { existsSync } from "node:fs";
@@ -546,7 +546,7 @@ var addons = [
546
546
  let { nextConfigPath } = await options.presets.apply("frameworkOptions"), nextConfig = await configureConfig({
547
547
  baseConfig,
548
548
  nextConfigPath
549
- }), { configureNextFont } = await import("./_node-chunks/configureNextFont-44FETPDY.js"), { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-DQZZUA6U.js"), { configureImports } = await import("./_node-chunks/webpack-WJ434TIG.js"), { configureCss } = await import("./_node-chunks/webpack-4AUWWTGQ.js"), { configureImages } = await import("./_node-chunks/webpack-4THZICIK.js"), { configureStyledJsx } = await import("./_node-chunks/webpack-3L4UJF5P.js"), { configureNodePolyfills } = await import("./_node-chunks/webpack-EJOFYHEX.js"), { configureAliases } = await import("./_node-chunks/webpack-UHZHITXR.js"), { configureFastRefresh } = await import("./_node-chunks/webpack-L6Y34H7K.js"), { configureRSC } = await import("./_node-chunks/webpack-CDTO4PS5.js"), { configureSWCLoader } = await import("./_node-chunks/loader-725USWNA.js"), { configureBabelLoader } = await import("./_node-chunks/loader-RB6DY27A.js"), babelRCPath = join(getProjectRoot(), ".babelrc"), babelConfigPath = join(getProjectRoot(), "babel.config.js"), hasBabelConfig = existsSync(babelRCPath) || existsSync(babelConfigPath), nextjsVersion = getNextjsVersion(), isDevelopment = options.configType !== "PRODUCTION", useSWC = semver.gte(nextjsVersion, "14.0.0") && (nextConfig.experimental?.forceSwcTransforms || !hasBabelConfig);
549
+ }), { configureNextFont } = await import("./_node-chunks/configureNextFont-2YQXHNWK.js"), { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-AQGVETL5.js"), { configureImports } = await import("./_node-chunks/webpack-OTGOQY5P.js"), { configureCss } = await import("./_node-chunks/webpack-VW46A7JO.js"), { configureImages } = await import("./_node-chunks/webpack-3TSP5IYR.js"), { configureStyledJsx } = await import("./_node-chunks/webpack-54J4BOZA.js"), { configureNodePolyfills } = await import("./_node-chunks/webpack-V4FQFMOA.js"), { configureAliases } = await import("./_node-chunks/webpack-VJAGHVPZ.js"), { configureFastRefresh } = await import("./_node-chunks/webpack-RIXBZCK5.js"), { configureRSC } = await import("./_node-chunks/webpack-RV4TM4K7.js"), { configureSWCLoader } = await import("./_node-chunks/loader-W5SZB3IY.js"), { configureBabelLoader } = await import("./_node-chunks/loader-YXME5LDH.js"), babelRCPath = join(getProjectRoot(), ".babelrc"), babelConfigPath = join(getProjectRoot(), "babel.config.js"), hasBabelConfig = existsSync(babelRCPath) || existsSync(babelConfigPath), nextjsVersion = getNextjsVersion(), isDevelopment = options.configType !== "PRODUCTION", useSWC = semver.gte(nextjsVersion, "14.0.0") && (nextConfig.experimental?.forceSwcTransforms || !hasBabelConfig);
550
550
  return configureNextFont(baseConfig, useSWC), configureRuntimeNextjsVersionResolution(baseConfig), configureImports({ baseConfig, configDir: options.configDir }), configureCss(baseConfig, nextConfig), configureImages(baseConfig, nextConfig), configureStyledJsx(baseConfig), configureNodePolyfills(baseConfig), configureAliases(baseConfig), isDevelopment && configureFastRefresh(baseConfig), options.features?.experimentalRSC && configureRSC(baseConfig), useSWC ? (logger.info("Using SWC as compiler"), await configureSWCLoader(baseConfig, options, nextConfig)) : (logger.info("Using Babel as compiler"), await configureBabelLoader(baseConfig, options, nextConfig)), baseConfig;
551
551
  };
552
552
  export {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5xpbpsxhiv3 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5xpbpsxhiv3 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_4wtzekhepk3 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_4wtzekhepk3 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_4wtzekhepk3 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5xpbpsxhiv3.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5xpbpsxhiv3.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5xpbpsxhiv3.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_4wtzekhepk3.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_4wtzekhepk3.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_4wtzekhepk3.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/nextjs",
3
- "version": "10.5.0-alpha.3",
3
+ "version": "10.5.0-alpha.5",
4
4
  "description": "Storybook for Next.js: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -102,9 +102,9 @@
102
102
  "@babel/preset-typescript": "^7.28.5",
103
103
  "@babel/runtime": "^7.28.4",
104
104
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
105
- "@storybook/builder-webpack5": "10.5.0-alpha.3",
106
- "@storybook/preset-react-webpack": "10.5.0-alpha.3",
107
- "@storybook/react": "10.5.0-alpha.3",
105
+ "@storybook/builder-webpack5": "10.5.0-alpha.5",
106
+ "@storybook/preset-react-webpack": "10.5.0-alpha.5",
107
+ "@storybook/react": "10.5.0-alpha.5",
108
108
  "@types/semver": "^7.7.1",
109
109
  "babel-loader": "^9.1.3",
110
110
  "css-loader": "^6.7.3",
@@ -140,7 +140,7 @@
140
140
  "next": "^14.1.0 || ^15.0.0 || ^16.0.0",
141
141
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
142
142
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
143
- "storybook": "^10.5.0-alpha.3",
143
+ "storybook": "^10.5.0-alpha.5",
144
144
  "webpack": "^5.0.0"
145
145
  },
146
146
  "peerDependenciesMeta": {
@@ -12,7 +12,7 @@ export default {
12
12
  },
13
13
  // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
14
14
  tags: ['autodocs'],
15
- // More on argTypes: https://storybook.js.org/docs/api/argtypes
15
+ // More on argTypes: https://storybook.js.org/docs/api/arg-types
16
16
  argTypes: {
17
17
  backgroundColor: { control: 'color' },
18
18
  },
@@ -14,7 +14,7 @@ const meta = {
14
14
  },
15
15
  // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
16
16
  tags: ['autodocs'],
17
- // More on argTypes: https://storybook.js.org/docs/api/argtypes
17
+ // More on argTypes: https://storybook.js.org/docs/api/arg-types
18
18
  argTypes: {
19
19
  backgroundColor: { control: 'color' },
20
20
  },