@storybook/nextjs 10.5.6 → 10.5.8
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-DY6EYN3Z.js → chunk-6GBZ4Z3O.js} +7 -7
- package/dist/_node-chunks/{chunk-NAQFCUD3.js → chunk-NC3RBLEF.js} +6 -6
- package/dist/_node-chunks/{chunk-ZW4F7O5E.js → chunk-TLQA6YIC.js} +7 -7
- package/dist/_node-chunks/{configureNextFont-U3XKSEAC.js → configureNextFont-ZFFOK7UF.js} +6 -6
- package/dist/_node-chunks/{loader-HACCDX5G.js → loader-FTIGC46T.js} +8 -8
- package/dist/_node-chunks/{loader-72AOX2IF.js → loader-PV3EFWY4.js} +8 -8
- package/dist/_node-chunks/{utils-D4WAMUFI.js → utils-3UV2IKPO.js} +8 -8
- package/dist/_node-chunks/{webpack-DGK3Z2YD.js → webpack-AGGTTERL.js} +9 -9
- package/dist/_node-chunks/{webpack-UB7KMEX5.js → webpack-GCSBT27W.js} +6 -6
- package/dist/_node-chunks/{webpack-IZW7C6KU.js → webpack-J3TX73UP.js} +6 -6
- package/dist/_node-chunks/{webpack-KVMQPNID.js → webpack-UPKRXU6Y.js} +6 -6
- package/dist/_node-chunks/{webpack-SRHMUV5U.js → webpack-URWFT2RJ.js} +6 -6
- package/dist/_node-chunks/{webpack-FOWGMS4W.js → webpack-VC352ESC.js} +8 -8
- package/dist/_node-chunks/{webpack-4TBLOKNQ.js → webpack-XY6DHKWN.js} +8 -8
- package/dist/_node-chunks/{webpack-ODZBFSNZ.js → webpack-ZMVFDUH3.js} +7 -7
- package/dist/chunk-BT78ae2q.d.ts +54 -0
- package/dist/chunk-Crpg_HiB.d.ts +310 -0
- package/dist/export-mocks/cache/index.d.ts +10 -319
- package/dist/export-mocks/headers/index.d.ts +31 -337
- package/dist/export-mocks/index.js +9 -9
- package/dist/export-mocks/link/index.d.ts +6 -314
- package/dist/export-mocks/navigation/index.d.ts +19 -33
- package/dist/export-mocks/router/index.d.ts +28 -37
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +6 -6
- package/dist/index.d.ts +12 -62
- package/dist/node/index.d.ts +4 -27
- package/dist/node/index.js +6 -6
- package/dist/preset.js +9 -9
- package/dist/preview.d.ts +12 -11
- package/dist/swc/next-swc-loader-patch.js +6 -6
- package/package.json +5 -5
package/dist/preview.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { Addon_DecoratorFunction, Addon_LoaderFunction } from
|
|
1
|
+
import { Addon_DecoratorFunction, Addon_LoaderFunction } from "storybook/internal/types";
|
|
2
2
|
|
|
3
|
+
//#region code/frameworks/nextjs/.dts-emit/code/frameworks/nextjs/src/preview.d.ts
|
|
3
4
|
declare const decorators: Addon_DecoratorFunction<any>[];
|
|
4
5
|
declare const loaders: Addon_LoaderFunction;
|
|
5
6
|
declare const parameters: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
7
|
+
docs: {
|
|
8
|
+
source: {
|
|
9
|
+
excludeDecorators: boolean;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
};
|
|
12
|
+
react: {
|
|
13
|
+
rootOptions: {
|
|
14
|
+
onCaughtError(error: unknown): void;
|
|
15
15
|
};
|
|
16
|
+
};
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
-
export { decorators, loaders, parameters };
|
|
18
|
+
//#endregion
|
|
19
|
+
export { decorators, loaders, parameters };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1rqeiwparsb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1rqeiwparsb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1rqeiwparsb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1rqeiwparsb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1rqeiwparsb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1rqeiwparsb.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.
|
|
3
|
+
"version": "10.5.8",
|
|
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.
|
|
106
|
-
"@storybook/preset-react-webpack": "10.5.
|
|
107
|
-
"@storybook/react": "10.5.
|
|
105
|
+
"@storybook/builder-webpack5": "10.5.8",
|
|
106
|
+
"@storybook/preset-react-webpack": "10.5.8",
|
|
107
|
+
"@storybook/react": "10.5.8",
|
|
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.
|
|
143
|
+
"storybook": "^10.5.8",
|
|
144
144
|
"webpack": "^5.0.0"
|
|
145
145
|
},
|
|
146
146
|
"peerDependenciesMeta": {
|