@storybook/nextjs 10.0.7 → 10.0.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.
Files changed (24) hide show
  1. package/dist/_node-chunks/{chunk-QEFQQ46T.js → chunk-FXNGXI6I.js} +97 -189
  2. package/dist/_node-chunks/{chunk-H72F5F4G.js → chunk-GCIDCQT6.js} +8 -8
  3. package/dist/_node-chunks/chunk-NWJO5WZQ.js +17 -0
  4. package/dist/_node-chunks/{chunk-2WCHQZCV.js → chunk-QDXPRJDF.js} +8 -8
  5. package/dist/_node-chunks/{configureNextFont-546A2YEQ.js → configureNextFont-57ELI2PJ.js} +7 -7
  6. package/dist/_node-chunks/{loader-VYWHCQPR.js → loader-FI4VTNZB.js} +9 -9
  7. package/dist/_node-chunks/{loader-PWYQRTSK.js → loader-UORNK5N3.js} +9 -9
  8. package/dist/_node-chunks/{utils-CMEAV67V.js → utils-TFXSI6DB.js} +9 -9
  9. package/dist/_node-chunks/{webpack-RIIERKZ6.js → webpack-62VPW55T.js} +7 -7
  10. package/dist/_node-chunks/{webpack-JFPOJG6Z.js → webpack-ADCLH6NV.js} +7 -7
  11. package/dist/_node-chunks/webpack-CFZOZBDY.js +26 -0
  12. package/dist/_node-chunks/{webpack-4NTQNVPR.js → webpack-DUSSVMQV.js} +10 -10
  13. package/dist/_node-chunks/{webpack-5XQCY3RC.js → webpack-MBJQ64XS.js} +8 -8
  14. package/dist/_node-chunks/{webpack-XOIGSCMP.js → webpack-PR7M5BYT.js} +9 -9
  15. package/dist/_node-chunks/{webpack-SEWVSVEG.js → webpack-TDKZWNHG.js} +7 -7
  16. package/dist/_node-chunks/{webpack-4QEH5GF6.js → webpack-ZKVVZXWU.js} +7 -7
  17. package/dist/export-mocks/index.js +10 -10
  18. package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +7 -7
  19. package/dist/node/index.js +7 -7
  20. package/dist/preset.js +21 -21
  21. package/dist/swc/next-swc-loader-patch.js +7 -7
  22. package/package.json +6 -6
  23. package/dist/_node-chunks/chunk-WIDYOPQP.js +0 -17
  24. package/dist/_node-chunks/webpack-2WITOUCZ.js +0 -26
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "./chunk-WIDYOPQP.js";
14
+ } from "./chunk-NWJO5WZQ.js";
15
15
 
16
16
  // ../../core/src/shared/utils/module.ts
17
17
  import { fileURLToPath, pathToFileURL } from "node:url";
@@ -27,7 +27,6 @@ var kTypes = /* @__PURE__ */ new Set([
27
27
  "function",
28
28
  "number",
29
29
  "object",
30
- // Accept 'Function' and 'Object' as alternative to the lower cased version.
31
30
  "Function",
32
31
  "Object",
33
32
  "boolean",
@@ -54,8 +53,6 @@ function makeNodeErrorWithCode(Base, key) {
54
53
  if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit;
55
54
  const message = getMessage(key, parameters, error);
56
55
  Object.defineProperties(error, {
57
- // Note: no need to implement `kIsNodeError` symbol, would be hard,
58
- // probably.
59
56
  message: {
60
57
  value: message,
61
58
  enumerable: false,
@@ -63,7 +60,6 @@ function makeNodeErrorWithCode(Base, key) {
63
60
  configurable: true
64
61
  },
65
62
  toString: {
66
- /** @this {Error} */
67
63
  value() {
68
64
  return `${this.name} [${key}]: ${this.message}`;
69
65
  },
@@ -80,15 +76,11 @@ function makeNodeErrorWithCode(Base, key) {
80
76
  __name(makeNodeErrorWithCode, "makeNodeErrorWithCode");
81
77
  function isErrorStackTraceLimitWritable() {
82
78
  try {
83
- if (v8.startupSnapshot.isBuildingSnapshot()) {
84
- return false;
85
- }
79
+ if (v8.startupSnapshot.isBuildingSnapshot()) return false;
86
80
  } catch {
87
81
  }
88
82
  const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
89
- if (desc === void 0) {
90
- return Object.isExtensible(Error);
91
- }
83
+ if (desc === void 0) return Object.isExtensible(Error);
92
84
  return own$1.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
93
85
  }
94
86
  __name(isErrorStackTraceLimitWritable, "isErrorStackTraceLimitWritable");
@@ -110,219 +102,135 @@ var captureLargerStackTrace = hideStackFrames(function(error) {
110
102
  });
111
103
  function getMessage(key, parameters, self) {
112
104
  const message = messages.get(key);
113
- assert(message !== void 0, "expected `message` to be found");
105
+ assert.ok(message !== void 0, "expected `message` to be found");
114
106
  if (typeof message === "function") {
115
- assert(
116
- message.length <= parameters.length,
117
- // Default options do not count.
118
- `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`
119
- );
107
+ assert.ok(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
120
108
  return Reflect.apply(message, self, parameters);
121
109
  }
122
110
  const regex = /%[dfijoOs]/g;
123
111
  let expectedLength = 0;
124
112
  while (regex.exec(message) !== null) expectedLength++;
125
- assert(
126
- expectedLength === parameters.length,
127
- `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`
128
- );
113
+ assert.ok(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
129
114
  if (parameters.length === 0) return message;
130
115
  parameters.unshift(message);
131
116
  return Reflect.apply(format, null, parameters);
132
117
  }
133
118
  __name(getMessage, "getMessage");
134
119
  function determineSpecificType(value) {
135
- if (value === null || value === void 0) {
136
- return String(value);
137
- }
138
- if (typeof value === "function" && value.name) {
139
- return `function ${value.name}`;
140
- }
120
+ if (value === null || value === void 0) return String(value);
121
+ if (typeof value === "function" && value.name) return `function ${value.name}`;
141
122
  if (typeof value === "object") {
142
- if (value.constructor && value.constructor.name) {
143
- return `an instance of ${value.constructor.name}`;
144
- }
123
+ if (value.constructor && value.constructor.name) return `an instance of ${value.constructor.name}`;
145
124
  return `${inspect(value, { depth: -1 })}`;
146
125
  }
147
126
  let inspected = inspect(value, { colors: false });
148
- if (inspected.length > 28) {
149
- inspected = `${inspected.slice(0, 25)}...`;
150
- }
127
+ if (inspected.length > 28) inspected = `${inspected.slice(0, 25)}...`;
151
128
  return `type ${typeof value} (${inspected})`;
152
129
  }
153
130
  __name(determineSpecificType, "determineSpecificType");
154
- createError(
155
- "ERR_INVALID_ARG_TYPE",
156
- (name, expected, actual) => {
157
- assert(typeof name === "string", "'name' must be a string");
158
- if (!Array.isArray(expected)) {
159
- expected = [expected];
160
- }
161
- let message = "The ";
162
- if (name.endsWith(" argument")) {
163
- message += `${name} `;
164
- } else {
165
- const type = name.includes(".") ? "property" : "argument";
166
- message += `"${name}" ${type} `;
167
- }
168
- message += "must be ";
169
- const types = [];
170
- const instances = [];
171
- const other = [];
172
- for (const value of expected) {
173
- assert(
174
- typeof value === "string",
175
- "All expected entries have to be of type string"
176
- );
177
- if (kTypes.has(value)) {
178
- types.push(value.toLowerCase());
179
- } else if (classRegExp.exec(value) === null) {
180
- assert(
181
- value !== "object",
182
- 'The value "object" should be written as "Object"'
183
- );
184
- other.push(value);
185
- } else {
186
- instances.push(value);
187
- }
188
- }
189
- if (instances.length > 0) {
190
- const pos = types.indexOf("object");
191
- if (pos !== -1) {
192
- types.slice(pos, 1);
193
- instances.push("Object");
194
- }
195
- }
196
- if (types.length > 0) {
197
- message += `${types.length > 1 ? "one of type" : "of type"} ${formatList(
198
- types,
199
- "or"
200
- )}`;
201
- if (instances.length > 0 || other.length > 0) message += " or ";
202
- }
203
- if (instances.length > 0) {
204
- message += `an instance of ${formatList(instances, "or")}`;
205
- if (other.length > 0) message += " or ";
206
- }
207
- if (other.length > 0) {
208
- if (other.length > 1) {
209
- message += `one of ${formatList(other, "or")}`;
210
- } else {
211
- if (other[0]?.toLowerCase() !== other[0]) message += "an ";
212
- message += `${other[0]}`;
213
- }
131
+ var ERR_INVALID_ARG_TYPE = createError("ERR_INVALID_ARG_TYPE", (name, expected, actual) => {
132
+ assert.ok(typeof name === "string", "'name' must be a string");
133
+ if (!Array.isArray(expected)) expected = [expected];
134
+ let message = "The ";
135
+ if (name.endsWith(" argument")) message += `${name} `;
136
+ else {
137
+ const type = name.includes(".") ? "property" : "argument";
138
+ message += `"${name}" ${type} `;
139
+ }
140
+ message += "must be ";
141
+ const types = [];
142
+ const instances = [];
143
+ const other = [];
144
+ for (const value of expected) {
145
+ assert.ok(typeof value === "string", "All expected entries have to be of type string");
146
+ if (kTypes.has(value)) types.push(value.toLowerCase());
147
+ else if (classRegExp.exec(value) === null) {
148
+ assert.ok(value !== "object", 'The value "object" should be written as "Object"');
149
+ other.push(value);
150
+ } else instances.push(value);
151
+ }
152
+ if (instances.length > 0) {
153
+ const pos = types.indexOf("object");
154
+ if (pos !== -1) {
155
+ types.slice(pos, 1);
156
+ instances.push("Object");
214
157
  }
215
- message += `. Received ${determineSpecificType(actual)}`;
216
- return message;
217
- },
218
- TypeError
219
- );
158
+ }
159
+ if (types.length > 0) {
160
+ message += `${types.length > 1 ? "one of type" : "of type"} ${formatList(types, "or")}`;
161
+ if (instances.length > 0 || other.length > 0) message += " or ";
162
+ }
163
+ if (instances.length > 0) {
164
+ message += `an instance of ${formatList(instances, "or")}`;
165
+ if (other.length > 0) message += " or ";
166
+ }
167
+ if (other.length > 0) if (other.length > 1) message += `one of ${formatList(other, "or")}`;
168
+ else {
169
+ if (other[0]?.toLowerCase() !== other[0]) message += "an ";
170
+ message += `${other[0]}`;
171
+ }
172
+ message += `. Received ${determineSpecificType(actual)}`;
173
+ return message;
174
+ }, TypeError);
220
175
  var ERR_INVALID_MODULE_SPECIFIER = createError(
221
176
  "ERR_INVALID_MODULE_SPECIFIER",
222
177
  /**
223
- * @param {string} request
224
- * @param {string} reason
225
- * @param {string} [base]
226
- */
178
+ * @param {string} request
179
+ * @param {string} reason
180
+ * @param {string} [base]
181
+ */
227
182
  (request, reason, base) => {
228
183
  return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ""}`;
229
184
  },
230
185
  TypeError
231
186
  );
232
- var ERR_INVALID_PACKAGE_CONFIG = createError(
233
- "ERR_INVALID_PACKAGE_CONFIG",
234
- (path2, base, message) => {
235
- return `Invalid package config ${path2}${base ? ` while importing ${base}` : ""}${message ? `. ${message}` : ""}`;
236
- },
237
- Error
238
- );
239
- var ERR_INVALID_PACKAGE_TARGET = createError(
240
- "ERR_INVALID_PACKAGE_TARGET",
241
- (packagePath, key, target, isImport = false, base) => {
242
- const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
243
- if (key === ".") {
244
- assert(isImport === false);
245
- return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
246
- }
247
- return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(
248
- target
249
- )} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
250
- },
251
- Error
252
- );
253
- var ERR_MODULE_NOT_FOUND = createError(
254
- "ERR_MODULE_NOT_FOUND",
255
- (path2, base, exactUrl = false) => {
256
- return `Cannot find ${exactUrl ? "module" : "package"} '${path2}' imported from ${base}`;
257
- },
258
- Error
259
- );
260
- createError(
261
- "ERR_NETWORK_IMPORT_DISALLOWED",
262
- "import of '%s' by %s is not supported: %s",
263
- Error
264
- );
265
- var ERR_PACKAGE_IMPORT_NOT_DEFINED = createError(
266
- "ERR_PACKAGE_IMPORT_NOT_DEFINED",
267
- (specifier, packagePath, base) => {
268
- return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath || ""}package.json` : ""} imported from ${base}`;
269
- },
270
- TypeError
271
- );
187
+ var ERR_INVALID_PACKAGE_CONFIG = createError("ERR_INVALID_PACKAGE_CONFIG", (path$1, base, message) => {
188
+ return `Invalid package config ${path$1}${base ? ` while importing ${base}` : ""}${message ? `. ${message}` : ""}`;
189
+ }, Error);
190
+ var ERR_INVALID_PACKAGE_TARGET = createError("ERR_INVALID_PACKAGE_TARGET", (packagePath, key, target, isImport = false, base) => {
191
+ const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
192
+ if (key === ".") {
193
+ assert.ok(isImport === false);
194
+ return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
195
+ }
196
+ return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
197
+ }, Error);
198
+ var ERR_MODULE_NOT_FOUND = createError("ERR_MODULE_NOT_FOUND", (path$1, base, exactUrl = false) => {
199
+ return `Cannot find ${exactUrl ? "module" : "package"} '${path$1}' imported from ${base}`;
200
+ }, Error);
201
+ var ERR_NETWORK_IMPORT_DISALLOWED = createError("ERR_NETWORK_IMPORT_DISALLOWED", "import of '%s' by %s is not supported: %s", Error);
202
+ var ERR_PACKAGE_IMPORT_NOT_DEFINED = createError("ERR_PACKAGE_IMPORT_NOT_DEFINED", (specifier, packagePath, base) => {
203
+ return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath || ""}package.json` : ""} imported from ${base}`;
204
+ }, TypeError);
272
205
  var ERR_PACKAGE_PATH_NOT_EXPORTED = createError(
273
206
  "ERR_PACKAGE_PATH_NOT_EXPORTED",
274
207
  /**
275
- * @param {string} packagePath
276
- * @param {string} subpath
277
- * @param {string} [base]
278
- */
208
+ * @param {string} packagePath
209
+ * @param {string} subpath
210
+ * @param {string} [base]
211
+ */
279
212
  (packagePath, subpath, base) => {
280
- if (subpath === ".")
281
- return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
213
+ if (subpath === ".") return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
282
214
  return `Package subpath '${subpath}' is not defined by "exports" in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
283
215
  },
284
216
  Error
285
217
  );
286
- var ERR_UNSUPPORTED_DIR_IMPORT = createError(
287
- "ERR_UNSUPPORTED_DIR_IMPORT",
288
- "Directory import '%s' is not supported resolving ES modules imported from %s",
289
- Error
290
- );
291
- var ERR_UNSUPPORTED_RESOLVE_REQUEST = createError(
292
- "ERR_UNSUPPORTED_RESOLVE_REQUEST",
293
- 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',
294
- TypeError
295
- );
296
- var ERR_UNKNOWN_FILE_EXTENSION = createError(
297
- "ERR_UNKNOWN_FILE_EXTENSION",
298
- (extension, path2) => {
299
- return `Unknown file extension "${extension}" for ${path2}`;
300
- },
301
- TypeError
302
- );
303
- createError(
304
- "ERR_INVALID_ARG_VALUE",
305
- (name, value, reason = "is invalid") => {
306
- let inspected = inspect(value);
307
- if (inspected.length > 128) {
308
- inspected = `${inspected.slice(0, 128)}...`;
309
- }
310
- const type = name.includes(".") ? "property" : "argument";
311
- return `The ${type} '${name}' ${reason}. Received ${inspected}`;
312
- },
313
- TypeError
314
- // Note: extra classes have been shaken out.
315
- // , RangeError
316
- );
218
+ var ERR_UNSUPPORTED_DIR_IMPORT = createError("ERR_UNSUPPORTED_DIR_IMPORT", "Directory import '%s' is not supported resolving ES modules imported from %s", Error);
219
+ var ERR_UNSUPPORTED_RESOLVE_REQUEST = createError("ERR_UNSUPPORTED_RESOLVE_REQUEST", 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.', TypeError);
220
+ var ERR_UNKNOWN_FILE_EXTENSION = createError("ERR_UNKNOWN_FILE_EXTENSION", (extension, path$1) => {
221
+ return `Unknown file extension "${extension}" for ${path$1}`;
222
+ }, TypeError);
223
+ var ERR_INVALID_ARG_VALUE = createError("ERR_INVALID_ARG_VALUE", (name, value, reason = "is invalid") => {
224
+ let inspected = inspect(value);
225
+ if (inspected.length > 128) inspected = `${inspected.slice(0, 128)}...`;
226
+ return `The ${name.includes(".") ? "property" : "argument"} '${name}' ${reason}. Received ${inspected}`;
227
+ }, TypeError);
317
228
  var hasOwnProperty$1 = {}.hasOwnProperty;
318
229
  var hasOwnProperty = {}.hasOwnProperty;
319
230
  var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
320
231
  var own = {}.hasOwnProperty;
321
232
  var isWindows = (() => process.platform === "win32")();
322
- var globalCache = (() => (
323
- // eslint-disable-next-line unicorn/no-unreadable-iife
324
- globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map()
325
- ))();
233
+ var globalCache = (() => globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map())();
326
234
 
327
235
  // ../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
328
236
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,10 +13,10 @@ import {
13
13
  addScopedAlias,
14
14
  getNextjsVersion,
15
15
  setAlias
16
- } from "./chunk-2WCHQZCV.js";
16
+ } from "./chunk-QDXPRJDF.js";
17
17
  import {
18
18
  __name
19
- } from "./chunk-WIDYOPQP.js";
19
+ } from "./chunk-NWJO5WZQ.js";
20
20
 
21
21
  // src/compatibility/compatibility-map.ts
22
22
  import semver from "semver";
@@ -0,0 +1,17 @@
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+ var __defProp = Object.defineProperty;
13
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
14
+
15
+ export {
16
+ __name
17
+ };
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-QEFQQ46T.js";
14
+ } from "./chunk-FXNGXI6I.js";
15
15
  import {
16
16
  __name
17
- } from "./chunk-WIDYOPQP.js";
17
+ } from "./chunk-NWJO5WZQ.js";
18
18
 
19
19
  // src/utils.ts
20
20
  import { readFileSync } from "node:fs";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "./chunk-WIDYOPQP.js";
14
+ } from "./chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/font/webpack/configureNextFont.ts
17
17
  function configureNextFont(baseConfig, isSWC) {
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-2WCHQZCV.js";
15
- import "./chunk-QEFQQ46T.js";
14
+ } from "./chunk-QDXPRJDF.js";
15
+ import "./chunk-FXNGXI6I.js";
16
16
  import {
17
17
  __name
18
- } from "./chunk-WIDYOPQP.js";
18
+ } from "./chunk-NWJO5WZQ.js";
19
19
 
20
20
  // src/swc/loader.ts
21
21
  import { join } from "node:path";
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-2WCHQZCV.js";
15
- import "./chunk-QEFQQ46T.js";
14
+ } from "./chunk-QDXPRJDF.js";
15
+ import "./chunk-FXNGXI6I.js";
16
16
  import {
17
17
  __name
18
- } from "./chunk-WIDYOPQP.js";
18
+ } from "./chunk-NWJO5WZQ.js";
19
19
 
20
20
  // src/babel/loader.ts
21
21
  import { fileURLToPath } from "node:url";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -18,9 +18,9 @@ import {
18
18
  resolveNextConfig,
19
19
  scopedResolve,
20
20
  setAlias
21
- } from "./chunk-2WCHQZCV.js";
22
- import "./chunk-QEFQQ46T.js";
23
- import "./chunk-WIDYOPQP.js";
21
+ } from "./chunk-QDXPRJDF.js";
22
+ import "./chunk-FXNGXI6I.js";
23
+ import "./chunk-NWJO5WZQ.js";
24
24
  export {
25
25
  addScopedAlias,
26
26
  configureRuntimeNextjsVersionResolution,
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "./chunk-WIDYOPQP.js";
14
+ } from "./chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/fastRefresh/webpack.ts
17
17
  import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "./chunk-WIDYOPQP.js";
14
+ } from "./chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/rsc/webpack.ts
17
17
  import { fileURLToPath } from "node:url";
@@ -0,0 +1,26 @@
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-QDXPRJDF.js";
15
+ import "./chunk-FXNGXI6I.js";
16
+ import {
17
+ __name
18
+ } from "./chunk-NWJO5WZQ.js";
19
+
20
+ // src/styledJsx/webpack.ts
21
+ var configureStyledJsx = /* @__PURE__ */ __name((baseConfig) => {
22
+ addScopedAlias(baseConfig, "styled-jsx");
23
+ }, "configureStyledJsx");
24
+ export {
25
+ configureStyledJsx
26
+ };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,14 +12,14 @@ var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
12
12
  import {
13
13
  configureCompatibilityAliases,
14
14
  configureNextExportMocks
15
- } from "./chunk-H72F5F4G.js";
16
- import "./chunk-2WCHQZCV.js";
15
+ } from "./chunk-GCIDCQT6.js";
16
+ import "./chunk-QDXPRJDF.js";
17
17
  import {
18
18
  resolvePackageDir
19
- } from "./chunk-QEFQQ46T.js";
19
+ } from "./chunk-FXNGXI6I.js";
20
20
  import {
21
21
  __name
22
- } from "./chunk-WIDYOPQP.js";
22
+ } from "./chunk-NWJO5WZQ.js";
23
23
 
24
24
  // src/aliases/webpack.ts
25
25
  var configureAliases = /* @__PURE__ */ __name((baseConfig) => {
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-QEFQQ46T.js";
14
+ } from "./chunk-FXNGXI6I.js";
15
15
  import {
16
16
  __name
17
- } from "./chunk-WIDYOPQP.js";
17
+ } from "./chunk-NWJO5WZQ.js";
18
18
 
19
19
  // src/css/webpack.ts
20
20
  import { readFileSync } from "node:fs";
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-2WCHQZCV.js";
15
- import "./chunk-QEFQQ46T.js";
14
+ } from "./chunk-QDXPRJDF.js";
15
+ import "./chunk-FXNGXI6I.js";
16
16
  import {
17
17
  __name
18
- } from "./chunk-WIDYOPQP.js";
18
+ } from "./chunk-NWJO5WZQ.js";
19
19
 
20
20
  // src/images/webpack.ts
21
21
  import { fileURLToPath } from "node:url";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "./chunk-WIDYOPQP.js";
14
+ } from "./chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/imports/webpack.ts
17
17
  import { loadConfig } from "tsconfig-paths";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "./chunk-WIDYOPQP.js";
14
+ } from "./chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/nodePolyfills/webpack.ts
17
17
  import NodePolyfillPlugin from "node-polyfill-webpack-plugin";
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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-H72F5F4G.js";
15
- import "../_node-chunks/chunk-2WCHQZCV.js";
16
- import "../_node-chunks/chunk-QEFQQ46T.js";
17
- import "../_node-chunks/chunk-WIDYOPQP.js";
14
+ } from "../_node-chunks/chunk-GCIDCQT6.js";
15
+ import "../_node-chunks/chunk-QDXPRJDF.js";
16
+ import "../_node-chunks/chunk-FXNGXI6I.js";
17
+ import "../_node-chunks/chunk-NWJO5WZQ.js";
18
18
  export {
19
19
  getPackageAliases
20
20
  };
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "../../../_node-chunks/chunk-WIDYOPQP.js";
14
+ } from "../../../_node-chunks/chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/font/webpack/loader/storybook-nextjs-font-loader.ts
17
17
  import { sep } from "node:path";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "../_node-chunks/chunk-WIDYOPQP.js";
14
+ } from "../_node-chunks/chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/node/index.ts
17
17
  function defineMain(config) {
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,11 +13,11 @@ import {
13
13
  addScopedAlias,
14
14
  isNextVersionGte,
15
15
  resolveNextConfig
16
- } from "./_node-chunks/chunk-2WCHQZCV.js";
17
- import "./_node-chunks/chunk-QEFQQ46T.js";
16
+ } from "./_node-chunks/chunk-QDXPRJDF.js";
17
+ import "./_node-chunks/chunk-FXNGXI6I.js";
18
18
  import {
19
19
  __name
20
- } from "./_node-chunks/chunk-WIDYOPQP.js";
20
+ } from "./_node-chunks/chunk-NWJO5WZQ.js";
21
21
 
22
22
  // src/preset.ts
23
23
  import { existsSync } from "node:fs";
@@ -786,18 +786,18 @@ var webpackFinal = /* @__PURE__ */ __name(async (baseConfig, options) => {
786
786
  baseConfig,
787
787
  nextConfigPath
788
788
  });
789
- const { configureNextFont } = await import("./_node-chunks/configureNextFont-546A2YEQ.js");
790
- const { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-CMEAV67V.js");
791
- const { configureImports } = await import("./_node-chunks/webpack-SEWVSVEG.js");
792
- const { configureCss } = await import("./_node-chunks/webpack-5XQCY3RC.js");
793
- const { configureImages } = await import("./_node-chunks/webpack-XOIGSCMP.js");
794
- const { configureStyledJsx } = await import("./_node-chunks/webpack-2WITOUCZ.js");
795
- const { configureNodePolyfills } = await import("./_node-chunks/webpack-4QEH5GF6.js");
796
- const { configureAliases } = await import("./_node-chunks/webpack-4NTQNVPR.js");
797
- const { configureFastRefresh } = await import("./_node-chunks/webpack-RIIERKZ6.js");
798
- const { configureRSC } = await import("./_node-chunks/webpack-JFPOJG6Z.js");
799
- const { configureSWCLoader } = await import("./_node-chunks/loader-VYWHCQPR.js");
800
- const { configureBabelLoader } = await import("./_node-chunks/loader-PWYQRTSK.js");
789
+ const { configureNextFont } = await import("./_node-chunks/configureNextFont-57ELI2PJ.js");
790
+ const { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-TFXSI6DB.js");
791
+ const { configureImports } = await import("./_node-chunks/webpack-TDKZWNHG.js");
792
+ const { configureCss } = await import("./_node-chunks/webpack-MBJQ64XS.js");
793
+ const { configureImages } = await import("./_node-chunks/webpack-PR7M5BYT.js");
794
+ const { configureStyledJsx } = await import("./_node-chunks/webpack-CFZOZBDY.js");
795
+ const { configureNodePolyfills } = await import("./_node-chunks/webpack-ZKVVZXWU.js");
796
+ const { configureAliases } = await import("./_node-chunks/webpack-DUSSVMQV.js");
797
+ const { configureFastRefresh } = await import("./_node-chunks/webpack-62VPW55T.js");
798
+ const { configureRSC } = await import("./_node-chunks/webpack-ADCLH6NV.js");
799
+ const { configureSWCLoader } = await import("./_node-chunks/loader-FI4VTNZB.js");
800
+ const { configureBabelLoader } = await import("./_node-chunks/loader-UORNK5N3.js");
801
801
  const babelRCPath = join(getProjectRoot(), ".babelrc");
802
802
  const babelConfigPath = join(getProjectRoot(), "babel.config.js");
803
803
  const hasBabelConfig = existsSync(babelRCPath) || existsSync(babelConfigPath);
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
1
+ import CJS_COMPAT_NODE_URL_j2dnwqniiw from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_j2dnwqniiw from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_j2dnwqniiw from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_j2dnwqniiw.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_j2dnwqniiw.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_j2dnwqniiw.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
  __name
14
- } from "../_node-chunks/chunk-WIDYOPQP.js";
14
+ } from "../_node-chunks/chunk-NWJO5WZQ.js";
15
15
 
16
16
  // src/swc/next-swc-loader-patch.ts
17
17
  import { isAbsolute, relative } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/nextjs",
3
- "version": "10.0.7",
3
+ "version": "10.0.8",
4
4
  "description": "Storybook for Next.js: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -94,9 +94,9 @@
94
94
  "@babel/preset-typescript": "^7.24.1",
95
95
  "@babel/runtime": "^7.24.4",
96
96
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
97
- "@storybook/builder-webpack5": "10.0.7",
98
- "@storybook/preset-react-webpack": "10.0.7",
99
- "@storybook/react": "10.0.7",
97
+ "@storybook/builder-webpack5": "10.0.8",
98
+ "@storybook/preset-react-webpack": "10.0.8",
99
+ "@storybook/react": "10.0.8",
100
100
  "@types/semver": "^7.3.4",
101
101
  "babel-loader": "^9.1.3",
102
102
  "css-loader": "^6.7.3",
@@ -130,7 +130,7 @@
130
130
  "next": "^14.1.0 || ^15.0.0 || ^16.0.0",
131
131
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
132
132
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
133
- "storybook": "^10.0.7",
133
+ "storybook": "^10.0.8",
134
134
  "webpack": "^5.0.0"
135
135
  },
136
136
  "peerDependenciesMeta": {
@@ -144,5 +144,5 @@
144
144
  "publishConfig": {
145
145
  "access": "public"
146
146
  },
147
- "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae16"
147
+ "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae1l"
148
148
  }
@@ -1,17 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- var __defProp = Object.defineProperty;
13
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
14
-
15
- export {
16
- __name
17
- };
@@ -1,26 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_8mx83qdcmgm from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8mx83qdcmgm from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8mx83qdcmgm from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_8mx83qdcmgm.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8mx83qdcmgm.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8mx83qdcmgm.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-2WCHQZCV.js";
15
- import "./chunk-QEFQQ46T.js";
16
- import {
17
- __name
18
- } from "./chunk-WIDYOPQP.js";
19
-
20
- // src/styledJsx/webpack.ts
21
- var configureStyledJsx = /* @__PURE__ */ __name((baseConfig) => {
22
- addScopedAlias(baseConfig, "styled-jsx");
23
- }, "configureStyledJsx");
24
- export {
25
- configureStyledJsx
26
- };