storybook 10.4.4 → 10.4.6
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/_browser-chunks/{Color-QOVTYR6E.js → Color-QD7YEQGA.js} +3 -3
- package/dist/_browser-chunks/{WithTooltip-65CFNBJE.js → WithTooltip-7X4HQR7L.js} +2 -2
- package/dist/_browser-chunks/{chunk-XLJZ7AOP.js → chunk-56ODXYSO.js} +1 -1
- package/dist/_browser-chunks/{chunk-V5EFL4BW.js → chunk-5WKL7XVT.js} +15 -15
- package/dist/_browser-chunks/{chunk-QIIJQEST.js → chunk-CLAZSJ64.js} +2 -3
- package/dist/_browser-chunks/{chunk-V2VKKSMQ.js → chunk-DFJUYOYA.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZCFV7BZB.js → chunk-DRQKCCAG.js} +1 -1
- package/dist/_browser-chunks/{chunk-JK6U3MQW.js → chunk-EZLQBIKB.js} +3 -8
- package/dist/_browser-chunks/{chunk-A242L54C.js → chunk-IMSF75WX.js} +5 -1
- package/dist/_browser-chunks/{chunk-SI6AKD4S.js → chunk-MBRBCB77.js} +1 -4
- package/dist/_browser-chunks/{chunk-Q5RYDXT3.js → chunk-QGGIYUMM.js} +10 -10
- package/dist/_browser-chunks/{chunk-7YGTGCDG.js → chunk-SC67XZST.js} +1 -1
- package/dist/_browser-chunks/{chunk-JT6NUAUC.js → chunk-YAOKZTPL.js} +1 -1
- package/dist/_browser-chunks/{formatter-EIJCOSYU.js → formatter-L2YTDE3Q.js} +2 -2
- package/dist/_browser-chunks/{syntaxhighlighter-W7WJGI2T.js → syntaxhighlighter-RTCFPKCB.js} +3 -3
- package/dist/_node-chunks/{builder-manager-ML5UXL3U.js → builder-manager-EFOAQ5X5.js} +12 -12
- package/dist/_node-chunks/{camelcase-OQUPHNXH.js → camelcase-TYPWGZZG.js} +7 -7
- package/dist/_node-chunks/{chunk-TPRFXFAJ.js → chunk-22YRXO3N.js} +7 -7
- package/dist/_node-chunks/{chunk-SSLFYQA4.js → chunk-4BJEHQUC.js} +7 -7
- package/dist/_node-chunks/{chunk-OOFBFCWG.js → chunk-4IMGRZKL.js} +7 -7
- package/dist/_node-chunks/{chunk-XZNPZNTE.js → chunk-6GTSW2ZX.js} +9 -9
- package/dist/_node-chunks/{chunk-3FBJJ3J7.js → chunk-6U2XPXR7.js} +33 -54
- package/dist/_node-chunks/{chunk-SIHYXN6T.js → chunk-7PXKCC7D.js} +6 -6
- package/dist/_node-chunks/{chunk-OPKU3YFW.js → chunk-7PY7MENO.js} +12 -11
- package/dist/_node-chunks/{chunk-4CKOOAKX.js → chunk-BCIMUOON.js} +25 -45
- package/dist/_node-chunks/{chunk-MI22B6QL.js → chunk-BENVZPBH.js} +15 -15
- package/dist/_node-chunks/{chunk-L64YPGUF.js → chunk-CSICWVJM.js} +7 -7
- package/dist/_node-chunks/{chunk-WVKUKJCY.js → chunk-EDV266IF.js} +10 -10
- package/dist/_node-chunks/{chunk-UX445D4A.js → chunk-FLZU5ZCK.js} +6 -6
- package/dist/_node-chunks/{chunk-TQLYOGGH.js → chunk-G7NXW2C2.js} +22 -27
- package/dist/_node-chunks/{chunk-LGWDBQCF.js → chunk-JAAR4VDK.js} +6 -6
- package/dist/_node-chunks/{chunk-YELFZJ2B.js → chunk-KGFZZRED.js} +6 -6
- package/dist/_node-chunks/{chunk-FS7UJHJO.js → chunk-LXDOEXHK.js} +10 -11
- package/dist/_node-chunks/{chunk-OPPP3ZVD.js → chunk-MERCV4NE.js} +9 -9
- package/dist/_node-chunks/chunk-N6EPYZT4.js +84 -0
- package/dist/_node-chunks/{chunk-75LGFSSP.js → chunk-QCQBFARI.js} +6 -6
- package/dist/_node-chunks/{chunk-Q6DQCNHY.js → chunk-S4C5J5Z3.js} +7 -7
- package/dist/_node-chunks/{chunk-AVCEQXMX.js → chunk-SQIXCWXB.js} +6 -6
- package/dist/_node-chunks/{chunk-NMZ2FUOR.js → chunk-TX62AXZG.js} +7 -7
- package/dist/_node-chunks/{chunk-X7PI2AKG.js → chunk-VM3IK4ZX.js} +6 -6
- package/dist/_node-chunks/chunk-W6XQBXT7.js +18 -0
- package/dist/_node-chunks/{chunk-NXMYSVH6.js → chunk-WPDWCGPK.js} +14 -14
- package/dist/_node-chunks/{chunk-HT5O7ZWA.js → chunk-X45RZLRZ.js} +8 -8
- package/dist/_node-chunks/{chunk-3X73JSWN.js → chunk-YBD2A4LF.js} +10 -10
- package/dist/_node-chunks/{chunk-H3J77TM6.js → chunk-ZCVXPE34.js} +18 -9
- package/dist/_node-chunks/{chunk-ULZBLQ6I.js → chunk-ZDS4FBCU.js} +7 -7
- package/dist/_node-chunks/{chunk-DKPTV7OY.js → chunk-ZPQZ7D2P.js} +7 -7
- package/dist/_node-chunks/{globby-W5ZVMK2K.js → globby-NDTNSE6Y.js} +12 -12
- package/dist/_node-chunks/{lib-RAUDNJ5V.js → lib-KCES6IKG.js} +7 -7
- package/dist/_node-chunks/p-limit-7JFIMVJI.js +20 -0
- package/dist/_node-chunks/session-id-CXG2DP6Z.js +22 -0
- package/dist/actions/decorator.js +1 -1
- package/dist/actions/index.js +1 -1
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/channels/index.js +2 -2
- package/dist/cli/index.js +19 -19
- package/dist/client-logger/index.js +1 -1
- package/dist/common/index.js +20 -20
- package/dist/components/index.js +19 -23
- package/dist/core-events/index.js +1 -1
- package/dist/core-server/index.js +238 -238
- package/dist/core-server/presets/common-manager.js +4 -6
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +27 -27
- package/dist/csf/index.d.ts +7 -3
- package/dist/csf/index.js +25 -9
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.js +1 -1
- package/dist/instrumenter/index.js +2 -2
- package/dist/manager/globals-runtime.js +111 -146
- package/dist/manager/globals.js +1 -1
- package/dist/manager/manager-stores.js +1 -1
- package/dist/manager/runtime.js +32 -44
- package/dist/manager-api/index.js +7 -7
- package/dist/manager-errors.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/mocking-utils/mocker-runtime.js +3 -3
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +11 -11
- package/dist/oxc-parser/worker.js +11 -11
- package/dist/preview/globals.js +1 -1
- package/dist/preview/runtime.js +54 -61
- package/dist/preview-api/index.js +6 -6
- package/dist/preview-errors.js +1 -1
- package/dist/router/index.js +4 -5
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +25 -25
- package/dist/test/index.js +29 -39
- package/dist/theming/create.js +1 -1
- package/dist/theming/index.js +4 -4
- package/dist/types/index.js +3 -3
- package/dist/viewport/index.js +1 -1
- package/package.json +3 -3
- package/dist/_node-chunks/chunk-ONBWXGRU.js +0 -84
- package/dist/_node-chunks/chunk-RLSKSEJD.js +0 -18
- package/dist/_node-chunks/p-limit-RUP5WM5V.js +0 -20
- package/dist/_node-chunks/session-id-ZD2SDJCL.js +0 -22
|
@@ -5,7 +5,7 @@ import "./chunk-NZMVUW5T.js";
|
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IMSF75WX.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/color-name/index.js
|
|
11
11
|
var require_color_name = __commonJS({
|
|
@@ -611,7 +611,7 @@ function partialImpl(func, placeholder, ...partialArgs) {
|
|
|
611
611
|
};
|
|
612
612
|
return func.prototype && (partialed.prototype = Object.create(func.prototype)), partialed;
|
|
613
613
|
}
|
|
614
|
-
var placeholderSymbol = Symbol("partial.placeholder");
|
|
614
|
+
var placeholderSymbol = /* @__PURE__ */ Symbol("partial.placeholder");
|
|
615
615
|
partial.placeholder = placeholderSymbol;
|
|
616
616
|
|
|
617
617
|
// ../../node_modules/es-toolkit/dist/function/partialRight.mjs
|
|
@@ -625,7 +625,7 @@ function partialRightImpl(func, placeholder, ...partialArgs) {
|
|
|
625
625
|
};
|
|
626
626
|
return func.prototype && (partialedRight.prototype = Object.create(func.prototype)), partialedRight;
|
|
627
627
|
}
|
|
628
|
-
var placeholderSymbol2 = Symbol("partialRight.placeholder");
|
|
628
|
+
var placeholderSymbol2 = /* @__PURE__ */ Symbol("partialRight.placeholder");
|
|
629
629
|
partialRight.placeholder = placeholderSymbol2;
|
|
630
630
|
|
|
631
631
|
// ../../node_modules/es-toolkit/dist/function/retry.mjs
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-LE2LTDW3.js";
|
|
7
7
|
import {
|
|
8
8
|
require_memoizerific
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DRQKCCAG.js";
|
|
10
10
|
import {
|
|
11
11
|
__commonJS,
|
|
12
12
|
__toESM
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IMSF75WX.js";
|
|
14
14
|
|
|
15
15
|
// ../../node_modules/react-fast-compare/index.js
|
|
16
16
|
var require_react_fast_compare = __commonJS({
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-Q5EHHZ3R.js";
|
|
10
10
|
import {
|
|
11
11
|
require_main
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-56ODXYSO.js";
|
|
13
13
|
import {
|
|
14
14
|
SNIPPET_RENDERED,
|
|
15
15
|
combineParameters
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MBRBCB77.js";
|
|
17
17
|
import {
|
|
18
18
|
isEqual
|
|
19
19
|
} from "./chunk-IYCKG66Y.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-IWQGIXJS.js";
|
|
23
23
|
import {
|
|
24
24
|
require_ansi_to_html
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DFJUYOYA.js";
|
|
26
26
|
import {
|
|
27
27
|
mapValues,
|
|
28
28
|
pickBy
|
|
@@ -32,13 +32,13 @@ import {
|
|
|
32
32
|
} from "./chunk-LCHBOIHN.js";
|
|
33
33
|
import {
|
|
34
34
|
require_memoizerific
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DRQKCCAG.js";
|
|
36
36
|
import {
|
|
37
37
|
dedent
|
|
38
38
|
} from "./chunk-3LY4VQVK.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IMSF75WX.js";
|
|
42
42
|
|
|
43
43
|
// src/preview-api/modules/addons/main.ts
|
|
44
44
|
import { global } from "@storybook/global";
|
|
@@ -318,7 +318,7 @@ var makeDecorator = ({
|
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
// src/preview-api/modules/store/StoryStore.ts
|
|
321
|
-
import { getCoreAnnotations as getCoreAnnotations2 } from "storybook/internal/csf";
|
|
321
|
+
import { getCoreAnnotations as getCoreAnnotations2, hasCoreAnnotations as hasCoreAnnotations2 } from "storybook/internal/csf";
|
|
322
322
|
import {
|
|
323
323
|
CalledExtractOnStoreError,
|
|
324
324
|
MissingStoryFromCsfFileError
|
|
@@ -327,7 +327,7 @@ var import_memoizerific2 = __toESM(require_memoizerific(), 1);
|
|
|
327
327
|
|
|
328
328
|
// src/preview-api/modules/store/args.ts
|
|
329
329
|
import { once } from "storybook/internal/client-logger";
|
|
330
|
-
var INCOMPATIBLE = Symbol("incompatible"), map = (arg, argType) => {
|
|
330
|
+
var INCOMPATIBLE = /* @__PURE__ */ Symbol("incompatible"), map = (arg, argType) => {
|
|
331
331
|
let type = argType.type;
|
|
332
332
|
if (arg == null || !type || argType.mapping)
|
|
333
333
|
return arg;
|
|
@@ -395,7 +395,7 @@ var INCOMPATIBLE = Symbol("incompatible"), map = (arg, argType) => {
|
|
|
395
395
|
return allowArg();
|
|
396
396
|
let field = isArray ? `${key}[${invalidIndex}]` : key, supportedOptions = options.map((opt) => typeof opt == "string" ? `'${opt}'` : String(opt)).join(", ");
|
|
397
397
|
return once.warn(`Received illegal value for '${field}'. Supported options: ${supportedOptions}`), acc;
|
|
398
|
-
}, {}), DEEPLY_EQUAL = Symbol("Deeply equal"), deepDiff = (value, update) => {
|
|
398
|
+
}, {}), DEEPLY_EQUAL = /* @__PURE__ */ Symbol("Deeply equal"), deepDiff = (value, update) => {
|
|
399
399
|
if (typeof value != typeof update)
|
|
400
400
|
return update;
|
|
401
401
|
if (isEqual(value, update))
|
|
@@ -1121,7 +1121,7 @@ function composeConfigs(moduleExportList) {
|
|
|
1121
1121
|
|
|
1122
1122
|
// src/preview-api/modules/store/csf/portable-stories.ts
|
|
1123
1123
|
import { isExportStory as isExportStory2 } from "storybook/internal/csf";
|
|
1124
|
-
import { getCoreAnnotations } from "storybook/internal/csf";
|
|
1124
|
+
import { getCoreAnnotations, hasCoreAnnotations } from "storybook/internal/csf";
|
|
1125
1125
|
import { MountMustBeDestructuredError } from "storybook/internal/preview-errors";
|
|
1126
1126
|
|
|
1127
1127
|
// src/preview-api/modules/store/reporter-api.ts
|
|
@@ -1153,9 +1153,9 @@ function extractAnnotation(annotation) {
|
|
|
1153
1153
|
return annotation ? composeConfigs([annotation]) : {};
|
|
1154
1154
|
}
|
|
1155
1155
|
function setProjectAnnotations(projectAnnotations) {
|
|
1156
|
-
let annotations = Array.isArray(projectAnnotations) ? projectAnnotations : [projectAnnotations];
|
|
1156
|
+
let annotations = Array.isArray(projectAnnotations) ? projectAnnotations : [projectAnnotations], alreadyComposedWithCore = annotations.some((annotation) => hasCoreAnnotations(annotation));
|
|
1157
1157
|
return globalThis.globalProjectAnnotations = composeConfigs([
|
|
1158
|
-
...getCoreAnnotations(),
|
|
1158
|
+
...alreadyComposedWithCore ? [] : getCoreAnnotations(),
|
|
1159
1159
|
globalThis.defaultProjectAnnotations ?? {},
|
|
1160
1160
|
composeConfigs(annotations.map(extractAnnotation))
|
|
1161
1161
|
]), globalThis.globalProjectAnnotations ?? {};
|
|
@@ -1329,12 +1329,13 @@ async function runStory(story, context) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
1331
1331
|
// src/preview-api/modules/store/StoryStore.ts
|
|
1332
|
+
function composeProjectAnnotations(projectAnnotations) {
|
|
1333
|
+
return hasCoreAnnotations2(projectAnnotations) ? normalizeProjectAnnotations(projectAnnotations) : normalizeProjectAnnotations(composeConfigs([...getCoreAnnotations2(), projectAnnotations]));
|
|
1334
|
+
}
|
|
1332
1335
|
var CSF_CACHE_SIZE = 1e3, STORY_CACHE_SIZE = 1e4, StoryStore = class {
|
|
1333
1336
|
constructor(storyIndex, importFn, projectAnnotations) {
|
|
1334
1337
|
this.importFn = importFn;
|
|
1335
|
-
this.storyIndex = new StoryIndexStore(storyIndex), this.projectAnnotations =
|
|
1336
|
-
composeConfigs([...getCoreAnnotations2(), projectAnnotations])
|
|
1337
|
-
);
|
|
1338
|
+
this.storyIndex = new StoryIndexStore(storyIndex), this.projectAnnotations = composeProjectAnnotations(projectAnnotations);
|
|
1338
1339
|
let { initialGlobals, globalTypes } = this.projectAnnotations;
|
|
1339
1340
|
this.args = new ArgsStore(), this.userGlobals = new GlobalsStore({ globals: initialGlobals, globalTypes }), this.hooks = {}, this.cleanupCallbacks = {}, this.processCSFFileWithCache = (0, import_memoizerific2.default)(CSF_CACHE_SIZE)(processCSFFile), this.prepareMetaWithCache = (0, import_memoizerific2.default)(CSF_CACHE_SIZE)(prepareMeta), this.prepareStoryWithCache = (0, import_memoizerific2.default)(STORY_CACHE_SIZE)(prepareStory);
|
|
1340
1341
|
}
|
|
@@ -2293,7 +2294,6 @@ var DocsContext = class {
|
|
|
2293
2294
|
...resolved,
|
|
2294
2295
|
preparedMeta: this.store.preparedMetaFromCSFFile({ csfFile: resolved.csfFile })
|
|
2295
2296
|
};
|
|
2296
|
-
case "story":
|
|
2297
2297
|
default:
|
|
2298
2298
|
return resolved;
|
|
2299
2299
|
}
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-2HVKLHKJ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_picocolors_browser
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SC67XZST.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IMSF75WX.js";
|
|
16
16
|
|
|
17
17
|
// src/server-errors.ts
|
|
18
18
|
var import_picocolors = __toESM(require_picocolors_browser(), 1);
|
|
@@ -125,7 +125,6 @@ function createStatusStore({
|
|
|
125
125
|
status,
|
|
126
126
|
typeId
|
|
127
127
|
});
|
|
128
|
-
case "preview":
|
|
129
128
|
default:
|
|
130
129
|
throw new StatusTypeIdMismatchError2({
|
|
131
130
|
status,
|
|
@@ -297,12 +297,7 @@ var CHANNEL_EVENT_PREFIX = "UNIVERSAL_STORE:", ProgressState = {
|
|
|
297
297
|
this.state = event.payload, this.emitToListeners(setStateEvent, eventInfo);
|
|
298
298
|
break;
|
|
299
299
|
}
|
|
300
|
-
|
|
301
|
-
case _UniversalStore.InternalEventType.SET_STATE:
|
|
302
|
-
this.debug("handleChannelEvents: Setting state", { event }), this.state = event.payload.state;
|
|
303
|
-
break;
|
|
304
|
-
}
|
|
305
|
-
this.emitToListeners(event, { actor: eventInfo.actor });
|
|
300
|
+
event.type === _UniversalStore.InternalEventType.SET_STATE && (this.debug("handleChannelEvents: Setting state", { event }), this.state = event.payload.state), this.emitToListeners(event, { actor: eventInfo.actor });
|
|
306
301
|
}
|
|
307
302
|
debug(message, data) {
|
|
308
303
|
this.debugging && console.debug(
|
|
@@ -531,7 +526,7 @@ var require_es_object_atoms = __commonJS({
|
|
|
531
526
|
return !1;
|
|
532
527
|
if (typeof Symbol.iterator == "symbol")
|
|
533
528
|
return !0;
|
|
534
|
-
var obj = {}, sym = Symbol("test"), symObj = Object(sym);
|
|
529
|
+
var obj = {}, sym = /* @__PURE__ */ Symbol("test"), symObj = Object(sym);
|
|
535
530
|
if (typeof sym == "string" || Object.prototype.toString.call(sym) !== "[object Symbol]" || Object.prototype.toString.call(symObj) !== "[object Symbol]")
|
|
536
531
|
return !1;
|
|
537
532
|
var symVal = 42;
|
|
@@ -559,7 +554,7 @@ var require_es_object_atoms = __commonJS({
|
|
|
559
554
|
"use strict";
|
|
560
555
|
var origSymbol = typeof Symbol < "u" && Symbol, hasSymbolSham = require_shams();
|
|
561
556
|
module.exports = function() {
|
|
562
|
-
return typeof origSymbol != "function" || typeof Symbol != "function" || typeof origSymbol("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : hasSymbolSham();
|
|
557
|
+
return typeof origSymbol != "function" || typeof Symbol != "function" || typeof origSymbol("foo") != "symbol" || typeof /* @__PURE__ */ Symbol("bar") != "symbol" ? !1 : hasSymbolSham();
|
|
563
558
|
};
|
|
564
559
|
}
|
|
565
560
|
}), require_Reflect_getPrototypeOf = __commonJS({
|
|
@@ -10,7 +10,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof
|
|
|
10
10
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
11
11
|
});
|
|
12
12
|
var __commonJS = (cb, mod) => function() {
|
|
13
|
-
|
|
13
|
+
try {
|
|
14
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
+
} catch (e) {
|
|
16
|
+
throw mod = 0, e;
|
|
17
|
+
}
|
|
14
18
|
};
|
|
15
19
|
var __export = (target, all) => {
|
|
16
20
|
for (var name in all)
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__toESM
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IMSF75WX.js";
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/jsdoc-type-pratt-parser/dist/index.js
|
|
13
13
|
var require_dist = __commonJS({
|
|
@@ -2097,9 +2097,6 @@ var SIGNATURE_REGEXP = /^\(.*\) => /, convert2 = (type) => {
|
|
|
2097
2097
|
return { ...base, name: "object", value: values };
|
|
2098
2098
|
case "union":
|
|
2099
2099
|
return { ...base, name: "union", value: value.map((v) => convert2(v)) };
|
|
2100
|
-
case "instanceOf":
|
|
2101
|
-
case "element":
|
|
2102
|
-
case "elementType":
|
|
2103
2100
|
default: {
|
|
2104
2101
|
if (name?.indexOf("|") > 0)
|
|
2105
2102
|
try {
|
|
@@ -170,7 +170,7 @@ function printObjectProperties(val, config, indentation, depth, refs, printer2)
|
|
|
170
170
|
}
|
|
171
171
|
return result;
|
|
172
172
|
}
|
|
173
|
-
var asymmetricMatcher = typeof Symbol == "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621, SPACE$2 = " ", serialize$5 = (val, config, indentation, depth, refs, printer2) => {
|
|
173
|
+
var asymmetricMatcher = typeof Symbol == "function" && Symbol.for ? /* @__PURE__ */ Symbol.for("jest.asymmetricMatcher") : 1267621, SPACE$2 = " ", serialize$5 = (val, config, indentation, depth, refs, printer2) => {
|
|
174
174
|
let stringedValue = val.toString();
|
|
175
175
|
if (stringedValue === "ArrayContaining" || stringedValue === "ArrayNotContaining")
|
|
176
176
|
return ++depth > config.maxDepth ? `[${stringedValue}]` : `${stringedValue + SPACE$2}[${printListItems(val.sample, config, indentation, depth, refs, printer2)}]`;
|
|
@@ -307,7 +307,7 @@ var hasRequiredReactIs_production;
|
|
|
307
307
|
function requireReactIs_production() {
|
|
308
308
|
if (hasRequiredReactIs_production) return reactIs_production;
|
|
309
309
|
hasRequiredReactIs_production = 1;
|
|
310
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
310
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
311
311
|
function typeOf(object) {
|
|
312
312
|
if (typeof object == "object" && object !== null) {
|
|
313
313
|
var $$typeof = object.$$typeof;
|
|
@@ -402,7 +402,7 @@ function requireReactIs_development$1() {
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
405
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
406
406
|
reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE, reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE, reactIs_development$1.Element = REACT_ELEMENT_TYPE, reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE, reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE, reactIs_development$1.Lazy = REACT_LAZY_TYPE, reactIs_development$1.Memo = REACT_MEMO_TYPE, reactIs_development$1.Portal = REACT_PORTAL_TYPE, reactIs_development$1.Profiler = REACT_PROFILER_TYPE, reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE, reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE, reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE, reactIs_development$1.isContextConsumer = function(object) {
|
|
407
407
|
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
408
408
|
}, reactIs_development$1.isContextProvider = function(object) {
|
|
@@ -444,8 +444,8 @@ var hasRequiredReactIs_production_min;
|
|
|
444
444
|
function requireReactIs_production_min() {
|
|
445
445
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
446
446
|
hasRequiredReactIs_production_min = 1;
|
|
447
|
-
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f2 = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h2 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m2 = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p2 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
|
|
448
|
-
u = Symbol.for("react.module.reference");
|
|
447
|
+
var b = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), e = /* @__PURE__ */ Symbol.for("react.strict_mode"), f2 = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), h2 = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.server_context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), m2 = /* @__PURE__ */ Symbol.for("react.suspense"), n = /* @__PURE__ */ Symbol.for("react.suspense_list"), p2 = /* @__PURE__ */ Symbol.for("react.memo"), q = /* @__PURE__ */ Symbol.for("react.lazy"), t = /* @__PURE__ */ Symbol.for("react.offscreen"), u;
|
|
448
|
+
u = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
449
449
|
function v(a2) {
|
|
450
450
|
if (typeof a2 == "object" && a2 !== null) {
|
|
451
451
|
var r = a2.$$typeof;
|
|
@@ -512,8 +512,8 @@ var reactIs_development = {};
|
|
|
512
512
|
var hasRequiredReactIs_development;
|
|
513
513
|
function requireReactIs_development() {
|
|
514
514
|
return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
515
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_MODULE_REFERENCE;
|
|
516
|
-
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
515
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_SERVER_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen"), enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_MODULE_REFERENCE;
|
|
516
|
+
REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
517
517
|
function isValidElementType(type) {
|
|
518
518
|
return !!(typeof type == "string" || typeof type == "function" || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing || typeof type == "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
519
519
|
// types supported by any Flight configuration anywhere since
|
|
@@ -665,7 +665,7 @@ function getPropKeys$1(element) {
|
|
|
665
665
|
var serialize$1 = (element, config, indentation, depth, refs, printer2) => ++depth > config.maxDepth ? printElementAsLeaf(getType(element), config) : printElement(getType(element), printProps(getPropKeys$1(element), element.props, config, indentation + config.indent, depth, refs, printer2), printChildren(getChildren(element.props.children), config, indentation + config.indent, depth, refs, printer2), config, indentation), test$1 = (val) => val != null && ReactIs.isElement(val), plugin$1 = {
|
|
666
666
|
serialize: serialize$1,
|
|
667
667
|
test: test$1
|
|
668
|
-
}, testSymbol = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
|
|
668
|
+
}, testSymbol = typeof Symbol == "function" && Symbol.for ? /* @__PURE__ */ Symbol.for("react.test.json") : 245830487;
|
|
669
669
|
function getPropKeys(object) {
|
|
670
670
|
let { props } = object;
|
|
671
671
|
return props ? Object.keys(props).filter((key) => props[key] !== void 0).sort() : [];
|
|
@@ -1203,7 +1203,7 @@ function inspectHTML(element, options) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
1205
|
// ../../node_modules/loupe/lib/index.js
|
|
1206
|
-
var symbolsSupported = typeof Symbol == "function" && typeof Symbol.for == "function", chaiInspect = symbolsSupported ? Symbol.for("chai/inspect") : "@@chai/inspect", nodeInspect = Symbol.for("nodejs.util.inspect.custom"), constructorMap = /* @__PURE__ */ new WeakMap(), stringTagMap = {}, baseTypesMap = {
|
|
1206
|
+
var symbolsSupported = typeof Symbol == "function" && typeof Symbol.for == "function", chaiInspect = symbolsSupported ? /* @__PURE__ */ Symbol.for("chai/inspect") : "@@chai/inspect", nodeInspect = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), constructorMap = /* @__PURE__ */ new WeakMap(), stringTagMap = {}, baseTypesMap = {
|
|
1207
1207
|
undefined: (value, options) => options.stylize("undefined", "undefined"),
|
|
1208
1208
|
null: (value, options) => options.stylize("null", "null"),
|
|
1209
1209
|
boolean: (value, options) => options.stylize(String(value), "boolean"),
|
|
@@ -2238,7 +2238,7 @@ function diff(a2, b, options) {
|
|
|
2238
2238
|
return "";
|
|
2239
2239
|
let aType = getType3(a2), expectedType = aType, omitDifference = !1;
|
|
2240
2240
|
if (aType === "object" && typeof a2.asymmetricMatch == "function") {
|
|
2241
|
-
if (a2.$$typeof !== Symbol.for("jest.asymmetricMatcher") || typeof a2.getExpectedType != "function")
|
|
2241
|
+
if (a2.$$typeof !== /* @__PURE__ */ Symbol.for("jest.asymmetricMatcher") || typeof a2.getExpectedType != "function")
|
|
2242
2242
|
return;
|
|
2243
2243
|
expectedType = a2.getExpectedType(), omitDifference = expectedType === "string";
|
|
2244
2244
|
}
|
|
@@ -146,7 +146,7 @@ var NODES = [
|
|
|
146
146
|
], Primitive = NODES.reduce((primitive, node) => {
|
|
147
147
|
let Node = React4.forwardRef((props, forwardedRef) => {
|
|
148
148
|
let { asChild, ...primitiveProps } = props, Comp = asChild ? Slot : node;
|
|
149
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), jsx2(Comp, { ...primitiveProps, ref: forwardedRef });
|
|
149
|
+
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), jsx2(Comp, { ...primitiveProps, ref: forwardedRef });
|
|
150
150
|
});
|
|
151
151
|
return Node.displayName = `Primitive.${node}`, { ...primitive, [node]: Node };
|
|
152
152
|
}, {});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_memoizerific
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DRQKCCAG.js";
|
|
4
4
|
import {
|
|
5
5
|
dedent
|
|
6
6
|
} from "./chunk-3LY4VQVK.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IMSF75WX.js";
|
|
10
10
|
|
|
11
11
|
// src/components/components/syntaxhighlighter/formatter.ts
|
|
12
12
|
var import_memoizerific = __toESM(require_memoizerific(), 1);
|
package/dist/_browser-chunks/{syntaxhighlighter-W7WJGI2T.js → syntaxhighlighter-RTCFPKCB.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActionBar,
|
|
3
3
|
ScrollArea
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YAOKZTPL.js";
|
|
5
5
|
import {
|
|
6
6
|
_defineProperty,
|
|
7
7
|
_objectWithoutProperties
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
} from "./chunk-LE2LTDW3.js";
|
|
17
17
|
import {
|
|
18
18
|
require_memoizerific
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DRQKCCAG.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IMSF75WX.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/refractor/lang/bash.js
|
|
26
26
|
var require_bash = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jivk4nmov18 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jivk4nmov18 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jivk4nmov18 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jivk4nmov18.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jivk4nmov18.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jivk4nmov18.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7PXKCC7D.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CSICWVJM.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZDS4FBCU.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QCQBFARI.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VM3IK4ZX.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZCVXPE34.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jivk4nmov18 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jivk4nmov18 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jivk4nmov18 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jivk4nmov18.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jivk4nmov18.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jivk4nmov18.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 "./chunk-
|
|
12
|
+
import "./chunk-ZCVXPE34.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/camelcase/index.js
|
|
15
15
|
var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jivk4nmov18 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jivk4nmov18 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jivk4nmov18 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jivk4nmov18.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jivk4nmov18.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jivk4nmov18.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
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6GTSW2ZX.js";
|
|
15
15
|
|
|
16
16
|
// src/oxc-parser/parse.ts
|
|
17
17
|
import { parse as oxcRawParse } from "oxc-parser";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jivk4nmov18 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jivk4nmov18 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jivk4nmov18 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jivk4nmov18.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jivk4nmov18.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jivk4nmov18.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZCVXPE34.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/ms/index.js
|
|
18
18
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jivk4nmov18 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jivk4nmov18 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jivk4nmov18 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jivk4nmov18.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jivk4nmov18.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jivk4nmov18.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZCVXPE34.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jivk4nmov18 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jivk4nmov18 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jivk4nmov18 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jivk4nmov18.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jivk4nmov18.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jivk4nmov18.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_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZPQZ7D2P.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-S4C5J5Z3.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZCVXPE34.js";
|
|
21
21
|
|
|
22
22
|
// src/server-errors.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|