@storybook/nextjs 11.0.0-beta.1 → 11.0.0-beta.3
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/_node-chunks/{chunk-53VKQRA2.js → chunk-DCS5S7IB.js} +7 -7
- package/dist/_node-chunks/{chunk-FRAB6YDI.js → chunk-GQKWZNAS.js} +6 -6
- package/dist/_node-chunks/{chunk-NUEKOKPO.js → chunk-OLZWTDQZ.js} +6 -6
- package/dist/_node-chunks/{configureNextFont-5QZ5DXY5.js → configureNextFont-4QMTBMSA.js} +6 -6
- package/dist/_node-chunks/{loader-MSGUOKNU.js → loader-LOSORGJO.js} +8 -8
- package/dist/_node-chunks/{loader-G3FSYUZV.js → loader-UX5ZVPKU.js} +8 -8
- package/dist/_node-chunks/{utils-4QXS4A7Z.js → utils-S6XU3LSO.js} +8 -8
- package/dist/_node-chunks/{webpack-WWGPSPKL.js → webpack-DCYWUHPO.js} +6 -6
- package/dist/_node-chunks/{webpack-FE2GDUVK.js → webpack-FXJYA7YH.js} +8 -8
- package/dist/_node-chunks/{webpack-FMYF24W2.js → webpack-J7XEHFPE.js} +6 -6
- package/dist/_node-chunks/{webpack-4RSXULMT.js → webpack-NRY3IOMA.js} +6 -6
- package/dist/_node-chunks/{webpack-6PVR5Z4D.js → webpack-P52ORMRA.js} +6 -6
- package/dist/_node-chunks/webpack-TDQC6NM7.js +23 -0
- package/dist/_node-chunks/{webpack-FPQI2HTU.js → webpack-TXYKWM32.js} +6 -6
- package/dist/_node-chunks/{webpack-Z5TBZ5ID.js → webpack-V5SINNEC.js} +6 -6
- package/dist/export-mocks/index.js +7 -7
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +6 -6
- package/dist/index.js +10 -9
- package/dist/node/index.js +6 -6
- package/dist/preset.js +9 -9
- package/dist/swc/next-swc-loader-patch.js +6 -6
- package/package.json +5 -5
- package/dist/_node-chunks/webpack-WZKDL2CB.js +0 -23
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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-GQKWZNAS.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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-DCS5S7IB.js";
|
|
15
|
+
import "./chunk-GQKWZNAS.js";
|
|
16
16
|
|
|
17
17
|
// src/swc/loader.ts
|
|
18
18
|
import { join } from "node:path";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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-DCS5S7IB.js";
|
|
15
|
+
import "./chunk-GQKWZNAS.js";
|
|
16
16
|
|
|
17
17
|
// src/babel/loader.ts
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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-DCS5S7IB.js";
|
|
22
|
+
import "./chunk-GQKWZNAS.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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
|
configureNextExportMocks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OLZWTDQZ.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GQKWZNAS.js";
|
|
18
18
|
|
|
19
19
|
// src/aliases/webpack.ts
|
|
20
20
|
var configureAliases = (baseConfig) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
addScopedAlias
|
|
14
|
+
} from "./chunk-DCS5S7IB.js";
|
|
15
|
+
import "./chunk-GQKWZNAS.js";
|
|
16
|
+
|
|
17
|
+
// src/styledJsx/webpack.ts
|
|
18
|
+
var configureStyledJsx = (baseConfig) => {
|
|
19
|
+
addScopedAlias(baseConfig, "styled-jsx");
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
configureStyledJsx
|
|
23
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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-
|
|
14
|
+
} from "../_node-chunks/chunk-OLZWTDQZ.js";
|
|
15
15
|
export {
|
|
16
16
|
getPackageAliases
|
|
17
17
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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
|
@@ -6500,22 +6500,23 @@ function generateCode(ast, compact = !1) {
|
|
|
6500
6500
|
return (0, import_escodegen.generate)(ast, compact ? COMPACT_OPTIONS : PRETTY_OPTIONS);
|
|
6501
6501
|
}
|
|
6502
6502
|
function generateObjectCode(ast, compact = !1) {
|
|
6503
|
-
return compact ?
|
|
6504
|
-
}
|
|
6505
|
-
function generateCompactObjectCode(ast) {
|
|
6506
|
-
let result = generateCode(ast, !0);
|
|
6507
|
-
return result.endsWith(" }") || (result = `${result.slice(0, -1)} }`), result;
|
|
6503
|
+
return compact ? generateCompactCode(ast) : generateCode(ast);
|
|
6508
6504
|
}
|
|
6509
6505
|
function generateArrayCode(ast, compact = !1) {
|
|
6510
|
-
return compact ?
|
|
6506
|
+
return compact ? generateCompactCode(ast) : generateMultilineArrayCode(ast);
|
|
6511
6507
|
}
|
|
6512
6508
|
function generateMultilineArrayCode(ast) {
|
|
6513
6509
|
let result = generateCode(ast);
|
|
6514
6510
|
return result.endsWith(" }]") && (result = dedent(result)), result;
|
|
6515
6511
|
}
|
|
6516
|
-
function
|
|
6517
|
-
|
|
6518
|
-
|
|
6512
|
+
function generateCompactCode(ast) {
|
|
6513
|
+
return ast.type === "ArrayExpression" ? `[${ast.elements.map(generateCompactCode).join(", ")}]` : ast.type === "ObjectExpression" ? `{ ${ast.properties.map(generateCompactProperty).join(", ")} }` : generateCode(ast, !0);
|
|
6514
|
+
}
|
|
6515
|
+
function generateCompactProperty(property) {
|
|
6516
|
+
if (property.type !== "Property" || property.kind !== "init" || property.method || property.shorthand)
|
|
6517
|
+
return generateCode(property, !0);
|
|
6518
|
+
let key = generateCode(property.key, !0);
|
|
6519
|
+
return `${property.computed ? `[${key}]` : key}: ${generateCompactCode(property.value)}`;
|
|
6519
6520
|
}
|
|
6520
6521
|
|
|
6521
6522
|
// ../../renderers/react/src/docs/lib/inspection/acornParser.ts
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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-DCS5S7IB.js";
|
|
17
|
+
import "./_node-chunks/chunk-GQKWZNAS.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -553,7 +553,7 @@ var addons = [
|
|
|
553
553
|
baseConfig,
|
|
554
554
|
nextConfigPath,
|
|
555
555
|
webpackInstance
|
|
556
|
-
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-
|
|
556
|
+
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-4QMTBMSA.js"), { configureRuntimeNextjsVersionResolution } = await import("./_node-chunks/utils-S6XU3LSO.js"), { configureImports } = await import("./_node-chunks/webpack-TXYKWM32.js"), { configureCss } = await import("./_node-chunks/webpack-P52ORMRA.js"), { configureImages } = await import("./_node-chunks/webpack-NRY3IOMA.js"), { configureStyledJsx } = await import("./_node-chunks/webpack-TDQC6NM7.js"), { configureNodePolyfills } = await import("./_node-chunks/webpack-V5SINNEC.js"), { configureAliases } = await import("./_node-chunks/webpack-FXJYA7YH.js"), { configureFastRefresh } = await import("./_node-chunks/webpack-DCYWUHPO.js"), { configureRSC } = await import("./_node-chunks/webpack-J7XEHFPE.js"), { configureSWCLoader } = await import("./_node-chunks/loader-LOSORGJO.js"), { configureBabelLoader } = await import("./_node-chunks/loader-UX5ZVPKU.js"), hasBabelConfig = !!findBabelConfigFile(getProjectRoot()), isDevelopment = options.configType !== "PRODUCTION", useSWC = nextConfig.experimental?.forceSwcTransforms || !hasBabelConfig;
|
|
557
557
|
return configureNextFont(baseConfig, useSWC), configureRuntimeNextjsVersionResolution(baseConfig), configureImports({ baseConfig, configDir: options.configDir }), configureCss(baseConfig, nextConfig), configureImages(baseConfig, nextConfig), configureStyledJsx(baseConfig), configureNodePolyfills(baseConfig, webpackInstance), 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;
|
|
558
558
|
};
|
|
559
559
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9pnltxwgg2 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9pnltxwgg2 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9pnltxwgg2 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9pnltxwgg2.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9pnltxwgg2.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9pnltxwgg2.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": "11.0.0-beta.
|
|
3
|
+
"version": "11.0.0-beta.3",
|
|
4
4
|
"description": "Storybook for Next.js: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"@babel/preset-typescript": "^7.28.5",
|
|
102
102
|
"@babel/runtime": "^7.28.4",
|
|
103
103
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
104
|
-
"@storybook/builder-webpack5": "11.0.0-beta.
|
|
105
|
-
"@storybook/preset-react-webpack": "11.0.0-beta.
|
|
106
|
-
"@storybook/react": "11.0.0-beta.
|
|
104
|
+
"@storybook/builder-webpack5": "11.0.0-beta.3",
|
|
105
|
+
"@storybook/preset-react-webpack": "11.0.0-beta.3",
|
|
106
|
+
"@storybook/react": "11.0.0-beta.3",
|
|
107
107
|
"@types/semver": "^7.7.1",
|
|
108
108
|
"babel-loader": "^9.1.3",
|
|
109
109
|
"browserify-zlib": "^0.2.0",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"react-docgen": "^8.0.2",
|
|
149
149
|
"react-docgen-typescript": "^2.2.2",
|
|
150
150
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
151
|
-
"storybook": "^11.0.0-beta.
|
|
151
|
+
"storybook": "^11.0.0-beta.3",
|
|
152
152
|
"typescript": "^5.9.0 || ^6.0.0 || ^7.0.0",
|
|
153
153
|
"webpack": "^5.0.0"
|
|
154
154
|
},
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_ndzflwu2zot from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_ndzflwu2zot from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_ndzflwu2zot from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_ndzflwu2zot.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_ndzflwu2zot.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_ndzflwu2zot.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
addScopedAlias
|
|
14
|
-
} from "./chunk-53VKQRA2.js";
|
|
15
|
-
import "./chunk-FRAB6YDI.js";
|
|
16
|
-
|
|
17
|
-
// src/styledJsx/webpack.ts
|
|
18
|
-
var configureStyledJsx = (baseConfig) => {
|
|
19
|
-
addScopedAlias(baseConfig, "styled-jsx");
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
configureStyledJsx
|
|
23
|
-
};
|