@storybook/nextjs-vite 9.0.11 → 9.0.12
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/{chunk-A3HD6EXA.mjs → chunk-MNEUPSZC.mjs} +1 -1
- package/dist/chunk-XP5HYGXS.mjs +3 -0
- package/dist/export-mocks/cache/index.mjs +1 -1
- package/dist/export-mocks/headers/index.mjs +1 -1
- package/dist/export-mocks/navigation/index.mjs +1 -1
- package/dist/export-mocks/router/index.mjs +1 -1
- package/dist/images/decorator.mjs +1 -1
- package/dist/index.js +45 -1
- package/dist/index.mjs +49 -4
- package/dist/node/index.mjs +1 -1
- package/dist/preview.mjs +2 -2
- package/dist/{react-18-7EXJVHX2.mjs → react-18-IGIL3GJQ.mjs} +1 -1
- package/dist/vite-plugin/index.mjs +1 -1
- package/package.json +5 -5
- package/dist/chunk-H6MOWX77.mjs +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageDecorator } from './chunk-GKRSUUNG.mjs';
|
|
2
|
-
import { __export } from './chunk-
|
|
2
|
+
import { __export } from './chunk-XP5HYGXS.mjs';
|
|
3
3
|
import { createNavigation, getRouter } from '@storybook/nextjs-vite/navigation.mock';
|
|
4
4
|
import { createRouter, getRouter as getRouter$1 } from '@storybook/nextjs-vite/router.mock';
|
|
5
5
|
import { isNextRouterError } from 'next/dist/client/components/is-next-router-error';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __esm=(fn,res)=>function(){return fn&&(res=(0, fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);
|
|
2
|
+
|
|
3
|
+
export { __commonJS, __esm, __export, __toCommonJS, __toESM };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../../chunk-
|
|
1
|
+
import '../../chunk-XP5HYGXS.mjs';
|
|
2
2
|
import { fn } from 'storybook/test';
|
|
3
3
|
|
|
4
4
|
var revalidatePath=fn().mockName("next/cache::revalidatePath"),revalidateTag=fn().mockName("next/cache::revalidateTag"),unstable_cache=fn().mockName("next/cache::unstable_cache").mockImplementation(cb=>cb),unstable_noStore=fn().mockName("next/cache::unstable_noStore"),cacheExports={unstable_cache,revalidateTag,revalidatePath,unstable_noStore},cache_default=cacheExports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../../chunk-
|
|
1
|
+
import '../../chunk-XP5HYGXS.mjs';
|
|
2
2
|
import { NextjsRouterMocksNotAvailable } from 'storybook/internal/preview-errors';
|
|
3
3
|
import * as actual from 'next/dist/client/components/navigation';
|
|
4
4
|
export * from 'next/dist/client/components/navigation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../../chunk-
|
|
1
|
+
import '../../chunk-XP5HYGXS.mjs';
|
|
2
2
|
import { NextjsRouterMocksNotAvailable } from 'storybook/internal/preview-errors';
|
|
3
3
|
import * as singletonRouter from 'next/dist/client/router';
|
|
4
4
|
import singletonRouter__default from 'next/dist/client/router';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ImageDecorator } from '../chunk-GKRSUUNG.mjs';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-XP5HYGXS.mjs';
|