@storybook/nextjs-vite 10.5.6 → 10.5.7

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/preview.d.ts CHANGED
@@ -1,19 +1,20 @@
1
- import { Addon_DecoratorFunction, LoaderFunction } from 'storybook/internal/types';
2
- import { ReactRenderer } from '@storybook/react';
1
+ import { Addon_DecoratorFunction, LoaderFunction } from "storybook/internal/types";
2
+ import { ReactRenderer } from "@storybook/react";
3
3
 
4
+ //#region code/frameworks/nextjs-vite/.dts-emit/code/frameworks/nextjs-vite/src/preview.d.ts
4
5
  declare const decorators: Addon_DecoratorFunction<ReactRenderer>[];
5
6
  declare const loaders: LoaderFunction<ReactRenderer>;
6
7
  declare const parameters: {
7
- docs: {
8
- source: {
9
- excludeDecorators: boolean;
10
- };
8
+ docs: {
9
+ source: {
10
+ excludeDecorators: boolean;
11
11
  };
12
- react: {
13
- rootOptions: {
14
- onCaughtError(error: unknown): void;
15
- };
12
+ };
13
+ react: {
14
+ rootOptions: {
15
+ onCaughtError(error: unknown): void;
16
16
  };
17
+ };
17
18
  };
18
-
19
- export { decorators, loaders, parameters };
19
+ //#endregion
20
+ export { decorators, loaders, parameters };
@@ -1,5 +1,6 @@
1
- import vitePluginStorybookNextJs from 'vite-plugin-storybook-nextjs';
1
+ import vitePluginStorybookNextJs from "vite-plugin-storybook-nextjs";
2
2
 
3
+ //#region code/frameworks/nextjs-vite/.dts-emit/code/frameworks/nextjs-vite/src/vite-plugin/index.d.ts
3
4
  declare const storybookNextJsPlugin: typeof vitePluginStorybookNextJs;
4
-
5
- export { storybookNextJsPlugin };
5
+ //#endregion
6
+ export { storybookNextJsPlugin };
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_8h9d64n0bz4 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8h9d64n0bz4 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8h9d64n0bz4 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_fu0fqmv6vii from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_fu0fqmv6vii from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_fu0fqmv6vii from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8h9d64n0bz4.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8h9d64n0bz4.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8h9d64n0bz4.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_fu0fqmv6vii.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_fu0fqmv6vii.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_fu0fqmv6vii.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../_node-chunks/chunk-UMGU2D5W.js";
12
+ import "../_node-chunks/chunk-67UJNVCD.js";
13
13
 
14
14
  // src/vite-plugin/index.ts
15
15
  import { createRequire } from "node:module";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/nextjs-vite",
3
- "version": "10.5.6",
3
+ "version": "10.5.7",
4
4
  "description": "Storybook for Next.js and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -88,9 +88,9 @@
88
88
  "!src/**/*"
89
89
  ],
90
90
  "dependencies": {
91
- "@storybook/builder-vite": "10.5.6",
92
- "@storybook/react": "10.5.6",
93
- "@storybook/react-vite": "10.5.6",
91
+ "@storybook/builder-vite": "10.5.7",
92
+ "@storybook/react": "10.5.7",
93
+ "@storybook/react-vite": "10.5.7",
94
94
  "styled-jsx": "5.1.6",
95
95
  "vite-plugin-storybook-nextjs": "^3.3.0"
96
96
  },
@@ -108,7 +108,7 @@
108
108
  "next": "^14.1.0 || ^15.0.0 || ^16.0.0",
109
109
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
110
110
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
111
- "storybook": "^10.5.6",
111
+ "storybook": "^10.5.7",
112
112
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
113
113
  },
114
114
  "peerDependenciesMeta": {