@storybook/nextjs 10.4.4 → 10.4.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.
- package/dist/_browser-chunks/{chunk-A242L54C.js → chunk-IMSF75WX.js} +5 -1
- package/dist/_browser-chunks/{chunk-BFMHNVB2.js → chunk-MPD4I4WS.js} +1 -1
- package/dist/_browser-chunks/{react-18-J5XOSXHX.js → react-18-V22CCOOF.js} +1 -1
- package/dist/_node-chunks/{chunk-JNHMBGRZ.js → chunk-OHTL4UQO.js} +6 -6
- package/dist/_node-chunks/{chunk-YHLYCTXP.js → chunk-OJKY74MY.js} +7 -7
- package/dist/_node-chunks/{chunk-AZBIPX2W.js → chunk-VM2M2M4G.js} +7 -7
- package/dist/_node-chunks/{configureNextFont-WJM5EXH4.js → configureNextFont-Q5ZN72VA.js} +6 -6
- package/dist/_node-chunks/{loader-UVFY4PWO.js → loader-MGDR45IE.js} +8 -8
- package/dist/_node-chunks/{loader-VH3SPJEG.js → loader-QD2AW5HQ.js} +8 -8
- package/dist/_node-chunks/{utils-226N3GW7.js → utils-VHSUVKTG.js} +8 -8
- package/dist/_node-chunks/{webpack-JQJWLTLZ.js → webpack-5G7GPDQZ.js} +9 -9
- package/dist/_node-chunks/{webpack-FZLBZPSL.js → webpack-65LBWXP3.js} +6 -6
- package/dist/_node-chunks/{webpack-KI7ZZGKV.js → webpack-7RFQWWNB.js} +6 -6
- package/dist/_node-chunks/{webpack-ZRYFYMCV.js → webpack-C7DEIBTV.js} +7 -7
- package/dist/_node-chunks/{webpack-DM7SNTPL.js → webpack-U2V43JT4.js} +6 -6
- package/dist/_node-chunks/{webpack-2N6VHNKL.js → webpack-WIWUVSLQ.js} +8 -8
- package/dist/_node-chunks/{webpack-K5L7KDXB.js → webpack-WXMRH2Z6.js} +6 -6
- package/dist/_node-chunks/{webpack-P77F7KYA.js → webpack-ZUO4BW3G.js} +8 -8
- package/dist/compatibility/draft-mode.compat.js +1 -1
- package/dist/export-mocks/cache/index.js +1 -1
- package/dist/export-mocks/headers/index.js +1 -1
- package/dist/export-mocks/index.js +9 -9
- package/dist/export-mocks/link/index.js +1 -1
- package/dist/export-mocks/navigation/index.js +1 -1
- package/dist/export-mocks/router/index.js +1 -1
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +6 -6
- package/dist/image-context.js +1 -1
- package/dist/images/next-image.js +1 -1
- package/dist/images/next-legacy-image.js +1 -1
- package/dist/index.js +11 -16
- package/dist/next-image-loader-stub.js +1 -1
- package/dist/node/index.js +6 -6
- package/dist/preset.js +9 -9
- package/dist/preview.js +2 -2
- package/dist/rsc/server-only.js +1 -1
- package/dist/swc/next-swc-loader-patch.js +6 -6
- package/package.json +5 -5
|
@@ -10,7 +10,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof
|
|
|
10
10
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
11
11
|
});
|
|
12
12
|
var __commonJS = (cb, mod) => function() {
|
|
13
|
-
|
|
13
|
+
try {
|
|
14
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
+
} catch (e) {
|
|
16
|
+
throw mod = 0, e;
|
|
17
|
+
}
|
|
14
18
|
};
|
|
15
19
|
var __export = (target, all) => {
|
|
16
20
|
for (var name in all)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
16
|
+
} from "./chunk-VM2M2M4G.js";
|
|
17
17
|
|
|
18
18
|
// src/compatibility/compatibility-map.ts
|
|
19
19
|
import semver from "semver";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
14
|
+
} from "./chunk-OHTL4UQO.js";
|
|
15
15
|
|
|
16
16
|
// src/utils.ts
|
|
17
17
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VM2M2M4G.js";
|
|
15
|
+
import "./chunk-OHTL4UQO.js";
|
|
16
16
|
|
|
17
17
|
// src/babel/loader.ts
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VM2M2M4G.js";
|
|
15
|
+
import "./chunk-OHTL4UQO.js";
|
|
16
16
|
|
|
17
17
|
// src/swc/loader.ts
|
|
18
18
|
import { join } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-VM2M2M4G.js";
|
|
22
|
+
import "./chunk-OHTL4UQO.js";
|
|
23
23
|
export {
|
|
24
24
|
addScopedAlias,
|
|
25
25
|
configureRuntimeNextjsVersionResolution,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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_2eydg5elem1.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
configureCompatibilityAliases,
|
|
14
14
|
configureNextExportMocks
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-OJKY74MY.js";
|
|
16
|
+
import "./chunk-VM2M2M4G.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OHTL4UQO.js";
|
|
20
20
|
|
|
21
21
|
// src/aliases/webpack.ts
|
|
22
22
|
var configureAliases = (baseConfig) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
14
|
+
} from "./chunk-OHTL4UQO.js";
|
|
15
15
|
|
|
16
16
|
// src/css/webpack.ts
|
|
17
17
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VM2M2M4G.js";
|
|
15
|
+
import "./chunk-OHTL4UQO.js";
|
|
16
16
|
|
|
17
17
|
// src/images/webpack.ts
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VM2M2M4G.js";
|
|
15
|
+
import "./chunk-OHTL4UQO.js";
|
|
16
16
|
|
|
17
17
|
// src/styledJsx/webpack.ts
|
|
18
18
|
var configureStyledJsx = (baseConfig) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-OJKY74MY.js";
|
|
15
|
+
import "../_node-chunks/chunk-VM2M2M4G.js";
|
|
16
|
+
import "../_node-chunks/chunk-OHTL4UQO.js";
|
|
17
17
|
export {
|
|
18
18
|
getPackageAliases
|
|
19
19
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/image-context.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
preview_exports
|
|
3
|
-
} from "./_browser-chunks/chunk-
|
|
3
|
+
} from "./_browser-chunks/chunk-MPD4I4WS.js";
|
|
4
4
|
import {
|
|
5
5
|
__commonJS,
|
|
6
6
|
__export,
|
|
7
7
|
__toESM
|
|
8
|
-
} from "./_browser-chunks/chunk-
|
|
8
|
+
} from "./_browser-chunks/chunk-IMSF75WX.js";
|
|
9
9
|
|
|
10
10
|
// ../../../node_modules/estraverse/estraverse.js
|
|
11
11
|
var require_estraverse = __commonJS({
|
|
@@ -5968,8 +5968,8 @@ var require_dist = __commonJS({
|
|
|
5968
5968
|
var require_react_is_production_min = __commonJS({
|
|
5969
5969
|
"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
5970
5970
|
"use strict";
|
|
5971
|
-
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
|
|
5972
|
-
u = Symbol.for("react.module.reference");
|
|
5971
|
+
var b = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), e = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.server_context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), n = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), q = /* @__PURE__ */ Symbol.for("react.lazy"), t = /* @__PURE__ */ Symbol.for("react.offscreen"), u;
|
|
5972
|
+
u = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
5973
5973
|
function v(a) {
|
|
5974
5974
|
if (typeof a == "object" && a !== null) {
|
|
5975
5975
|
var r = a.$$typeof;
|
|
@@ -6067,8 +6067,8 @@ var require_react_is_development = __commonJS({
|
|
|
6067
6067
|
"use strict";
|
|
6068
6068
|
process.env.NODE_ENV !== "production" && (function() {
|
|
6069
6069
|
"use strict";
|
|
6070
|
-
var enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_MODULE_REFERENCE;
|
|
6071
|
-
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
6070
|
+
var enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_SERVER_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen"), REACT_MODULE_REFERENCE;
|
|
6071
|
+
REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
6072
6072
|
function isValidElementType(type) {
|
|
6073
6073
|
return !!(typeof type == "string" || typeof type == "function" || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing || typeof type == "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
6074
6074
|
// types supported by any Flight configuration anywhere since
|
|
@@ -6309,7 +6309,7 @@ async function renderToCanvas({
|
|
|
6309
6309
|
showException,
|
|
6310
6310
|
forceRemount
|
|
6311
6311
|
}, canvasElement) {
|
|
6312
|
-
let { renderElement, unmountElement } = await import("./_browser-chunks/react-18-
|
|
6312
|
+
let { renderElement, unmountElement } = await import("./_browser-chunks/react-18-V22CCOOF.js"), Story = unboundStoryFn, content = storyContext.parameters.__isPortableStory ? React3.createElement(Story, { ...storyContext }) : React3.createElement(ErrorBoundary, { key: storyContext.id, showMain, showException }, React3.createElement(Story, { ...storyContext })), element = Wrapper ? React3.createElement(Wrapper, null, content) : content;
|
|
6313
6313
|
forceRemount && unmountElement(canvasElement);
|
|
6314
6314
|
let act = await getAct({ disableAct: storyContext.viewMode === "docs" });
|
|
6315
6315
|
return await new Promise(async (resolve, reject) => {
|
|
@@ -6411,7 +6411,7 @@ import {
|
|
|
6411
6411
|
} from "storybook/internal/docs-tools";
|
|
6412
6412
|
|
|
6413
6413
|
// ../../renderers/react/src/docs/lib/componentTypes.ts
|
|
6414
|
-
var isMemo = (component) => component.$$typeof === Symbol.for("react.memo");
|
|
6414
|
+
var isMemo = (component) => component.$$typeof === /* @__PURE__ */ Symbol.for("react.memo");
|
|
6415
6415
|
|
|
6416
6416
|
// ../../renderers/react/src/docs/lib/defaultValues/createDefaultValue.ts
|
|
6417
6417
|
import {
|
|
@@ -6854,14 +6854,9 @@ function parse(value) {
|
|
|
6854
6854
|
};
|
|
6855
6855
|
if (ast.body[0] != null) {
|
|
6856
6856
|
let rootNode = ast.body[0];
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
expressionResult != null && (parsingResult = expressionResult);
|
|
6861
|
-
break;
|
|
6862
|
-
}
|
|
6863
|
-
default:
|
|
6864
|
-
break;
|
|
6857
|
+
if (rootNode.type === "ExpressionStatement") {
|
|
6858
|
+
let expressionResult = parseExpression(rootNode.expression);
|
|
6859
|
+
expressionResult != null && (parsingResult = expressionResult);
|
|
6865
6860
|
}
|
|
6866
6861
|
}
|
|
6867
6862
|
return parsingResult;
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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-
|
|
17
|
-
import "./_node-chunks/chunk-
|
|
16
|
+
} from "./_node-chunks/chunk-VM2M2M4G.js";
|
|
17
|
+
import "./_node-chunks/chunk-OHTL4UQO.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-
|
|
549
|
+
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-Q5ZN72VA.js"), { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-VHSUVKTG.js"), { configureImports } = await import("./_node-chunks/webpack-7RFQWWNB.js"), { configureCss } = await import("./_node-chunks/webpack-C7DEIBTV.js"), { configureImages } = await import("./_node-chunks/webpack-WIWUVSLQ.js"), { configureStyledJsx } = await import("./_node-chunks/webpack-ZUO4BW3G.js"), { configureNodePolyfills } = await import("./_node-chunks/webpack-WXMRH2Z6.js"), { configureAliases } = await import("./_node-chunks/webpack-5G7GPDQZ.js"), { configureFastRefresh } = await import("./_node-chunks/webpack-U2V43JT4.js"), { configureRSC } = await import("./_node-chunks/webpack-65LBWXP3.js"), { configureSWCLoader } = await import("./_node-chunks/loader-QD2AW5HQ.js"), { configureBabelLoader } = await import("./_node-chunks/loader-MGDR45IE.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 {
|
package/dist/preview.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
decorators,
|
|
3
3
|
loaders,
|
|
4
4
|
parameters
|
|
5
|
-
} from "./_browser-chunks/chunk-
|
|
6
|
-
import "./_browser-chunks/chunk-
|
|
5
|
+
} from "./_browser-chunks/chunk-MPD4I4WS.js";
|
|
6
|
+
import "./_browser-chunks/chunk-IMSF75WX.js";
|
|
7
7
|
export {
|
|
8
8
|
decorators,
|
|
9
9
|
loaders,
|
package/dist/rsc/server-only.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xfs5xruo24b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xfs5xruo24b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xfs5xruo24b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xfs5xruo24b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xfs5xruo24b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xfs5xruo24b.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.4.
|
|
3
|
+
"version": "10.4.6",
|
|
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.4.
|
|
106
|
-
"@storybook/preset-react-webpack": "10.4.
|
|
107
|
-
"@storybook/react": "10.4.
|
|
105
|
+
"@storybook/builder-webpack5": "10.4.6",
|
|
106
|
+
"@storybook/preset-react-webpack": "10.4.6",
|
|
107
|
+
"@storybook/react": "10.4.6",
|
|
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.4.
|
|
143
|
+
"storybook": "^10.4.6",
|
|
144
144
|
"webpack": "^5.0.0"
|
|
145
145
|
},
|
|
146
146
|
"peerDependenciesMeta": {
|