storybook 10.0.0-beta.3 → 10.0.0-beta.4
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/{builder-manager-DXAEQZJB.js → builder-manager-IKHPPPFE.js} +13 -13
- package/dist/_node-chunks/{camelcase-CMMT6PHY.js → camelcase-O2O7JODG.js} +7 -7
- package/dist/_node-chunks/{chunk-ICETGZAR.js → chunk-3J7DQ6TI.js} +7 -7
- package/dist/_node-chunks/{chunk-RUCPXDO3.js → chunk-4FMOVB65.js} +8 -8
- package/dist/_node-chunks/{chunk-EVY6P65U.js → chunk-4VGW2SQA.js} +7 -7
- package/dist/_node-chunks/{chunk-ICFGNVW7.js → chunk-5OILJTZE.js} +7 -7
- package/dist/_node-chunks/{chunk-4TGAX5W7.js → chunk-6COBULLV.js} +7 -7
- package/dist/_node-chunks/{chunk-EI44VA3U.js → chunk-7IIAUEWB.js} +8 -8
- package/dist/_node-chunks/{chunk-DNOOZ2LS.js → chunk-AC3BNULF.js} +552 -717
- package/dist/_node-chunks/{chunk-6Z44ODDR.js → chunk-AXFNB3AN.js} +7 -7
- package/dist/_node-chunks/chunk-CHJLO2LV.js +62 -0
- package/dist/_node-chunks/{chunk-PK6SVDYW.js → chunk-DCHFG5TX.js} +7 -7
- package/dist/_node-chunks/{chunk-R6TLLF24.js → chunk-FWFQ2GU7.js} +6 -6
- package/dist/_node-chunks/{chunk-3SUJKLRV.js → chunk-HAVE6SGK.js} +7 -7
- package/dist/_node-chunks/{chunk-CNKVQCQJ.js → chunk-IB5AEYPX.js} +7 -7
- package/dist/_node-chunks/{chunk-PAZJQ2GH.js → chunk-JECCFKKM.js} +7 -7
- package/dist/_node-chunks/{chunk-SHXAIHPO.js → chunk-JP4LEAXM.js} +7 -7
- package/dist/_node-chunks/chunk-JSSBBVU5.js +79 -0
- package/dist/_node-chunks/chunk-MNG223PY.js +18 -0
- package/dist/_node-chunks/{chunk-XRAB2RZN.js → chunk-MOO2Y4GI.js} +6 -6
- package/dist/_node-chunks/{chunk-7EGB7ALG.js → chunk-N3GFXZDP.js} +7 -7
- package/dist/_node-chunks/{chunk-AKW5OJ2T.js → chunk-NF3GXIEK.js} +9 -9
- package/dist/_node-chunks/{chunk-BV4J7FF6.js → chunk-NOSGJ5PL.js} +7 -7
- package/dist/_node-chunks/{chunk-WRSYICUI.js → chunk-OL2HWCBH.js} +7 -7
- package/dist/_node-chunks/{chunk-KQXC7XVZ.js → chunk-SF2IETZ2.js} +29 -81
- package/dist/_node-chunks/{chunk-LRQFELIZ.js → chunk-TBAIXCHN.js} +8 -8
- package/dist/_node-chunks/{chunk-QI3AVWUV.js → chunk-TTQRDWDJ.js} +12 -12
- package/dist/_node-chunks/{chunk-MVPVYHBT.js → chunk-TYGVOW7L.js} +7 -7
- package/dist/_node-chunks/{chunk-IA7M33LK.js → chunk-USDZSU5L.js} +7 -7
- package/dist/_node-chunks/chunk-XA4TAMUS.js +4966 -0
- package/dist/_node-chunks/{chunk-PA26PSV2.js → chunk-XT6O5CVI.js} +7 -7
- package/dist/_node-chunks/{chunk-TL5RNPZW.js → chunk-YJHXEN7U.js} +10 -10
- package/dist/_node-chunks/{chunk-5XVEWBRA.js → chunk-YRPXGWKW.js} +8 -8
- package/dist/_node-chunks/{default-browser-id-2X5XLPPS.js → default-browser-id-J4OIAAJ5.js} +7 -7
- package/dist/_node-chunks/{dist-JSBOOVQK.js → dist-BMKSKYDI.js} +9 -9
- package/dist/_node-chunks/{globby-YYTLHNUO.js → globby-DASPUXWI.js} +9 -9
- package/dist/_node-chunks/{lib-DJHADRPZ.js → lib-L6BIH4EV.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-WT6XCDU6.js → mdx-N42X6CFJ-2COTUDSL.js} +8 -8
- package/dist/_node-chunks/{p-limit-HTXI4SGX.js → p-limit-HVR3I7TJ.js} +76 -10
- package/dist/_node-chunks/{plugin-NNRMQ2YK.js → plugin-2XPSFYWZ.js} +10 -10
- package/dist/_node-chunks/{plugin-W22F3FQV.js → plugin-FZOHPRK7.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-VFNVWMAM.js → webpack-inject-mocker-runtime-plugin-FGQM2EPC.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-Q4ED2M25.js → webpack-mock-plugin-4HOAIYSX.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +8 -8
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +29 -30
- package/dist/common/index.d.ts +3 -1
- package/dist/common/index.js +23 -22
- package/dist/core-server/index.js +38 -39
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +22 -22
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +13 -14
- package/dist/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -25
- package/package.json +2 -6
- package/dist/_node-chunks/chunk-ALWVSNSK.js +0 -62
- package/dist/_node-chunks/chunk-MHNUEOON.js +0 -87
- package/dist/_node-chunks/chunk-VDFQYNPZ.js +0 -266
- package/dist/_node-chunks/chunk-WELIADWR.js +0 -2377
- package/dist/_node-chunks/chunk-YRXKNGPR.js +0 -18
|
@@ -1,48 +1,46 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bdftjtsviyb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bdftjtsviyb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bdftjtsviyb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bdftjtsviyb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bdftjtsviyb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bdftjtsviyb.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
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MNG223PY.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
|
-
resolvePathInStorybookCache
|
|
18
|
-
|
|
17
|
+
resolvePathInStorybookCache,
|
|
18
|
+
up
|
|
19
|
+
} from "./chunk-AC3BNULF.js";
|
|
19
20
|
import {
|
|
20
21
|
globalSettings
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4FMOVB65.js";
|
|
22
23
|
import {
|
|
23
24
|
execaCommand,
|
|
24
25
|
getProjectRoot
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
findUp
|
|
28
|
-
} from "./chunk-VDFQYNPZ.js";
|
|
26
|
+
} from "./chunk-XA4TAMUS.js";
|
|
29
27
|
import {
|
|
30
28
|
resolvePackageDir
|
|
31
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TBAIXCHN.js";
|
|
32
30
|
import {
|
|
33
31
|
join
|
|
34
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4VGW2SQA.js";
|
|
35
33
|
import {
|
|
36
34
|
slash
|
|
37
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OL2HWCBH.js";
|
|
38
36
|
import {
|
|
39
37
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-N3GFXZDP.js";
|
|
41
39
|
import {
|
|
42
40
|
__commonJS,
|
|
43
41
|
__name,
|
|
44
42
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MOO2Y4GI.js";
|
|
46
44
|
|
|
47
45
|
// ../node_modules/fetch-retry/index.js
|
|
48
46
|
var require_fetch_retry = __commonJS({
|
|
@@ -96,19 +94,19 @@ var require_fetch_retry = __commonJS({
|
|
|
96
94
|
throw new ArgumentError("retryOn property expects an array or function");
|
|
97
95
|
}
|
|
98
96
|
}
|
|
99
|
-
return new Promise(function(
|
|
97
|
+
return new Promise(function(resolve, reject) {
|
|
100
98
|
var wrappedFetch = /* @__PURE__ */ __name(function(attempt) {
|
|
101
99
|
var _input = typeof Request !== "undefined" && input instanceof Request ? input.clone() : input;
|
|
102
100
|
fetch2(_input, init).then(function(response) {
|
|
103
101
|
if (Array.isArray(retryOn) && retryOn.indexOf(response.status) === -1) {
|
|
104
|
-
|
|
102
|
+
resolve(response);
|
|
105
103
|
} else if (typeof retryOn === "function") {
|
|
106
104
|
try {
|
|
107
105
|
return Promise.resolve(retryOn(attempt, null, response)).then(function(retryOnResponse) {
|
|
108
106
|
if (retryOnResponse) {
|
|
109
107
|
retry2(attempt, null, response);
|
|
110
108
|
} else {
|
|
111
|
-
|
|
109
|
+
resolve(response);
|
|
112
110
|
}
|
|
113
111
|
}).catch(reject);
|
|
114
112
|
} catch (error) {
|
|
@@ -118,7 +116,7 @@ var require_fetch_retry = __commonJS({
|
|
|
118
116
|
if (attempt < retries) {
|
|
119
117
|
retry2(attempt, null, response);
|
|
120
118
|
} else {
|
|
121
|
-
|
|
119
|
+
resolve(response);
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
122
|
}).catch(function(error) {
|
|
@@ -235,7 +233,8 @@ function sanitizeError(error, pathSeparator = path.sep) {
|
|
|
235
233
|
__name(sanitizeError, "sanitizeError");
|
|
236
234
|
|
|
237
235
|
// src/telemetry/storybook-metadata.ts
|
|
238
|
-
import {
|
|
236
|
+
import { readFile } from "node:fs/promises";
|
|
237
|
+
import { dirname } from "node:path";
|
|
239
238
|
import {
|
|
240
239
|
getStorybookConfiguration,
|
|
241
240
|
getStorybookInfo,
|
|
@@ -245,57 +244,6 @@ import {
|
|
|
245
244
|
} from "storybook/internal/common";
|
|
246
245
|
import { readConfig } from "storybook/internal/csf-tools";
|
|
247
246
|
|
|
248
|
-
// ../node_modules/walk-up-path/dist/mjs/index.js
|
|
249
|
-
import { dirname, resolve } from "path";
|
|
250
|
-
var walkUp = /* @__PURE__ */ __name(function* (path3) {
|
|
251
|
-
for (path3 = resolve(path3); path3; ) {
|
|
252
|
-
yield path3;
|
|
253
|
-
const pp = dirname(path3);
|
|
254
|
-
if (pp === path3) {
|
|
255
|
-
break;
|
|
256
|
-
} else {
|
|
257
|
-
path3 = pp;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}, "walkUp");
|
|
261
|
-
|
|
262
|
-
// ../node_modules/fd-package-json/dist/esm/main.js
|
|
263
|
-
import { resolve as resolve2 } from "node:path";
|
|
264
|
-
import { stat, readFile } from "node:fs/promises";
|
|
265
|
-
async function fileExists(path3) {
|
|
266
|
-
try {
|
|
267
|
-
const stats = await stat(path3);
|
|
268
|
-
return stats.isFile();
|
|
269
|
-
} catch (_err) {
|
|
270
|
-
return false;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
__name(fileExists, "fileExists");
|
|
274
|
-
async function findPackagePath(cwd) {
|
|
275
|
-
for (const path3 of walkUp(cwd)) {
|
|
276
|
-
const packagePath = resolve2(path3, "package.json");
|
|
277
|
-
const hasPackageJson = await fileExists(packagePath);
|
|
278
|
-
if (hasPackageJson) {
|
|
279
|
-
return packagePath;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
return null;
|
|
283
|
-
}
|
|
284
|
-
__name(findPackagePath, "findPackagePath");
|
|
285
|
-
async function findPackage(cwd) {
|
|
286
|
-
const packagePath = await findPackagePath(cwd);
|
|
287
|
-
if (!packagePath) {
|
|
288
|
-
return null;
|
|
289
|
-
}
|
|
290
|
-
try {
|
|
291
|
-
const source = await readFile(packagePath, { encoding: "utf8" });
|
|
292
|
-
return JSON.parse(source);
|
|
293
|
-
} catch (_err) {
|
|
294
|
-
return null;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
__name(findPackage, "findPackage");
|
|
298
|
-
|
|
299
247
|
// src/telemetry/get-application-file-count.ts
|
|
300
248
|
import { sep } from "node:path";
|
|
301
249
|
|
|
@@ -396,7 +344,7 @@ var getActualPackageVersion = /* @__PURE__ */ __name(async (packageName) => {
|
|
|
396
344
|
}, "getActualPackageVersion");
|
|
397
345
|
var getActualPackageJson = /* @__PURE__ */ __name(async (packageName) => {
|
|
398
346
|
try {
|
|
399
|
-
let resolvedPackageJsonPath =
|
|
347
|
+
let resolvedPackageJsonPath = up({
|
|
400
348
|
cwd: fileURLToPath(import.meta.resolve(packageName, process.cwd()))
|
|
401
349
|
});
|
|
402
350
|
if (!resolvedPackageJsonPath) {
|
|
@@ -689,8 +637,8 @@ import path2 from "node:path";
|
|
|
689
637
|
import process2 from "node:process";
|
|
690
638
|
async function pathExists(path22, type) {
|
|
691
639
|
try {
|
|
692
|
-
const
|
|
693
|
-
return type === "file" ?
|
|
640
|
+
const stat = await fs.stat(path22);
|
|
641
|
+
return type === "file" ? stat.isFile() : stat.isDirectory();
|
|
694
642
|
} catch {
|
|
695
643
|
return false;
|
|
696
644
|
}
|
|
@@ -1008,7 +956,7 @@ var computeStorybookMetadata = /* @__PURE__ */ __name(async ({
|
|
|
1008
956
|
} catch (e) {
|
|
1009
957
|
}
|
|
1010
958
|
const portableStoriesFileCount = await getPortableStoriesFileCount();
|
|
1011
|
-
const applicationFileCount = await getApplicationFileCount(
|
|
959
|
+
const applicationFileCount = await getApplicationFileCount(dirname(packageJsonPath));
|
|
1012
960
|
return {
|
|
1013
961
|
...metadata,
|
|
1014
962
|
...frameworkInfo,
|
|
@@ -1023,11 +971,11 @@ var computeStorybookMetadata = /* @__PURE__ */ __name(async ({
|
|
|
1023
971
|
};
|
|
1024
972
|
}, "computeStorybookMetadata");
|
|
1025
973
|
async function getPackageJsonDetails() {
|
|
1026
|
-
const packageJsonPath =
|
|
974
|
+
const packageJsonPath = up();
|
|
1027
975
|
if (packageJsonPath) {
|
|
1028
976
|
return {
|
|
1029
977
|
packageJsonPath,
|
|
1030
|
-
packageJson: await
|
|
978
|
+
packageJson: JSON.parse(await readFile(packageJsonPath, "utf8"))
|
|
1031
979
|
};
|
|
1032
980
|
}
|
|
1033
981
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bdftjtsviyb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bdftjtsviyb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bdftjtsviyb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bdftjtsviyb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bdftjtsviyb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bdftjtsviyb.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4VGW2SQA.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MOO2Y4GI.js";
|
|
19
19
|
|
|
20
20
|
// src/shared/utils/module.ts
|
|
21
21
|
import { statSync } from "node:fs";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bdftjtsviyb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bdftjtsviyb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bdftjtsviyb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bdftjtsviyb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bdftjtsviyb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bdftjtsviyb.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
|
require_build
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DCHFG5TX.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TBAIXCHN.js";
|
|
18
18
|
import {
|
|
19
19
|
require_prompts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3J7DQ6TI.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NOSGJ5PL.js";
|
|
24
24
|
import {
|
|
25
25
|
require_picocolors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N3GFXZDP.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MOO2Y4GI.js";
|
|
31
31
|
|
|
32
32
|
// src/core-server/utils/server-statics.ts
|
|
33
33
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bdftjtsviyb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bdftjtsviyb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bdftjtsviyb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bdftjtsviyb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bdftjtsviyb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bdftjtsviyb.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MOO2Y4GI.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/balanced-match/index.js
|
|
19
19
|
var require_balanced_match = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bdftjtsviyb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bdftjtsviyb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bdftjtsviyb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bdftjtsviyb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bdftjtsviyb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bdftjtsviyb.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-
|
|
14
|
+
} from "./chunk-MOO2Y4GI.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|