storybook 10.2.0-alpha.8 → 10.2.0-alpha.9
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-2XASU3VS.js → builder-manager-FTCODGJP.js} +12 -12
- package/dist/_node-chunks/{camelcase-KIWRHB2G.js → camelcase-5XDKQT3J.js} +7 -7
- package/dist/_node-chunks/{chunk-5BRYY6XB.js → chunk-33XC4R6P.js} +9 -9
- package/dist/_node-chunks/{chunk-MLYPMYG5.js → chunk-3DPKKQ6P.js} +6 -6
- package/dist/_node-chunks/{chunk-5GRHJJHD.js → chunk-3Y5VHKPI.js} +9 -9
- package/dist/_node-chunks/{chunk-2KSITKBI.js → chunk-6ABJZZWS.js} +7 -7
- package/dist/_node-chunks/{chunk-LEZENLG7.js → chunk-6SH5SI6S.js} +7 -7
- package/dist/_node-chunks/{chunk-LOXLI4XT.js → chunk-73GYSTNZ.js} +6 -6
- package/dist/_node-chunks/{chunk-DYQ6QR45.js → chunk-BQX766MA.js} +13 -13
- package/dist/_node-chunks/{chunk-WKC523P7.js → chunk-CO7N5AG7.js} +7 -7
- package/dist/_node-chunks/{chunk-COGO4JMD.js → chunk-D4TCQXIF.js} +7 -7
- package/dist/_node-chunks/{chunk-6TJUL42C.js → chunk-FGI35IGB.js} +12 -12
- package/dist/_node-chunks/chunk-GXQRT5M6.js +61 -0
- package/dist/_node-chunks/{chunk-Q6WPGVIW.js → chunk-IIBBQZLT.js} +6 -6
- package/dist/_node-chunks/{chunk-7B4JYHGV.js → chunk-LB74XOLW.js} +6 -6
- package/dist/_node-chunks/{chunk-TTGXODEY.js → chunk-LRBEW57O.js} +7 -7
- package/dist/_node-chunks/{chunk-3TW66YXG.js → chunk-MOQRBTWA.js} +6 -6
- package/dist/_node-chunks/{chunk-IJ34563N.js → chunk-MWWAQ5S4.js} +20 -20
- package/dist/_node-chunks/{chunk-S7FIFCTX.js → chunk-NYUFS6LX.js} +10 -10
- package/dist/_node-chunks/{chunk-2OC7H5MZ.js → chunk-OUDQWDHY.js} +7 -7
- package/dist/_node-chunks/chunk-PRNP2HO6.js +23 -0
- package/dist/_node-chunks/{chunk-5WQXPM6D.js → chunk-PZCWRKQE.js} +6 -6
- package/dist/_node-chunks/{chunk-DTM4A3DJ.js → chunk-RF3L36MK.js} +12 -12
- package/dist/_node-chunks/{chunk-JWL5NLJU.js → chunk-SBPB3VWI.js} +6 -6
- package/dist/_node-chunks/{chunk-ZKB7MQRR.js → chunk-SPOUBCPJ.js} +8 -8
- package/dist/_node-chunks/chunk-VKMYOVNS.js +18 -0
- package/dist/_node-chunks/{chunk-3K6P75SS.js → chunk-WTQGSYRO.js} +7 -7
- package/dist/_node-chunks/{chunk-VJFHZL2T.js → chunk-XZ6V3G6J.js} +8 -9
- package/dist/_node-chunks/{chunk-UNHOAAXU.js → chunk-YN6FEZAF.js} +7 -7
- package/dist/_node-chunks/{dist-GICI6ZHU.js → dist-YRSVYE5A.js} +9 -9
- package/dist/_node-chunks/{globby-FWMT4OOQ.js → globby-AXGFF6I5.js} +9 -9
- package/dist/_node-chunks/{lib-YCGXIMW5.js → lib-ESB7KQ6D.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-CRGM5LTU.js → mdx-N42X6CFJ-XXQ6YIDF.js} +8 -8
- package/dist/_node-chunks/{p-limit-UJIYI4QT.js → p-limit-P6ND7SUA.js} +7 -7
- 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/cli/index.js +18 -18
- package/dist/common/index.js +22 -22
- package/dist/core-server/index.d.ts +3 -1
- package/dist/core-server/index.js +3001 -3007
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +42 -26
- 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/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +22 -22
- package/dist/types/index.d.ts +3 -2
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-2ANLCK4Y.js +0 -18
- package/dist/_node-chunks/chunk-UFXCGC4W.js +0 -23
- package/dist/_node-chunks/chunk-X4YDIHYE.js +0 -61
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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
|
glob
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-WTQGSYRO.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-73GYSTNZ.js";
|
|
18
|
+
import "../../_node-chunks/chunk-PZCWRKQE.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-FGI35IGB.js";
|
|
13
13
|
import {
|
|
14
14
|
AbortError,
|
|
15
15
|
after,
|
|
@@ -32,41 +32,41 @@ import {
|
|
|
32
32
|
sendTelemetryError,
|
|
33
33
|
throttle,
|
|
34
34
|
unary
|
|
35
|
-
} from "../../_node-chunks/chunk-
|
|
36
|
-
import "../../_node-chunks/chunk-
|
|
37
|
-
import "../../_node-chunks/chunk-
|
|
38
|
-
import "../../_node-chunks/chunk-
|
|
35
|
+
} from "../../_node-chunks/chunk-BQX766MA.js";
|
|
36
|
+
import "../../_node-chunks/chunk-PRNP2HO6.js";
|
|
37
|
+
import "../../_node-chunks/chunk-6SH5SI6S.js";
|
|
38
|
+
import "../../_node-chunks/chunk-IIBBQZLT.js";
|
|
39
39
|
import {
|
|
40
40
|
globalSettings
|
|
41
|
-
} from "../../_node-chunks/chunk-
|
|
41
|
+
} from "../../_node-chunks/chunk-3Y5VHKPI.js";
|
|
42
42
|
import {
|
|
43
43
|
invariant
|
|
44
|
-
} from "../../_node-chunks/chunk-
|
|
44
|
+
} from "../../_node-chunks/chunk-MOQRBTWA.js";
|
|
45
|
+
import "../../_node-chunks/chunk-3DPKKQ6P.js";
|
|
45
46
|
import {
|
|
46
47
|
resolvePackageDir
|
|
47
|
-
} from "../../_node-chunks/chunk-
|
|
48
|
-
import "../../_node-chunks/chunk-MLYPMYG5.js";
|
|
48
|
+
} from "../../_node-chunks/chunk-OUDQWDHY.js";
|
|
49
49
|
import {
|
|
50
50
|
isAbsolute,
|
|
51
51
|
join
|
|
52
|
-
} from "../../_node-chunks/chunk-
|
|
52
|
+
} from "../../_node-chunks/chunk-LB74XOLW.js";
|
|
53
53
|
import {
|
|
54
54
|
loadConfig
|
|
55
|
-
} from "../../_node-chunks/chunk-
|
|
55
|
+
} from "../../_node-chunks/chunk-XZ6V3G6J.js";
|
|
56
56
|
import {
|
|
57
57
|
require_dist
|
|
58
|
-
} from "../../_node-chunks/chunk-
|
|
59
|
-
import "../../_node-chunks/chunk-
|
|
60
|
-
import "../../_node-chunks/chunk-
|
|
58
|
+
} from "../../_node-chunks/chunk-LRBEW57O.js";
|
|
59
|
+
import "../../_node-chunks/chunk-33XC4R6P.js";
|
|
60
|
+
import "../../_node-chunks/chunk-D4TCQXIF.js";
|
|
61
61
|
import {
|
|
62
62
|
require_picocolors
|
|
63
|
-
} from "../../_node-chunks/chunk-
|
|
63
|
+
} from "../../_node-chunks/chunk-6ABJZZWS.js";
|
|
64
64
|
import {
|
|
65
65
|
__commonJS,
|
|
66
66
|
__export,
|
|
67
67
|
__require,
|
|
68
68
|
__toESM
|
|
69
|
-
} from "../../_node-chunks/chunk-
|
|
69
|
+
} from "../../_node-chunks/chunk-PZCWRKQE.js";
|
|
70
70
|
|
|
71
71
|
// ../../node_modules/shell-quote/quote.js
|
|
72
72
|
var require_quote = __commonJS({
|
|
@@ -492,7 +492,7 @@ var require_launch_editor = __commonJS({
|
|
|
492
492
|
// src/core-server/presets/common-preset.ts
|
|
493
493
|
import { existsSync as existsSync3 } from "node:fs";
|
|
494
494
|
import { readFile as readFile3 } from "node:fs/promises";
|
|
495
|
-
import { optionalEnvToBoolean } from "storybook/internal/common";
|
|
495
|
+
import { normalizeStories, optionalEnvToBoolean } from "storybook/internal/common";
|
|
496
496
|
import {
|
|
497
497
|
JsPackageManagerFactory,
|
|
498
498
|
getDirectoryFromWorkingDir,
|
|
@@ -501,6 +501,7 @@ import {
|
|
|
501
501
|
loadEnvs,
|
|
502
502
|
removeAddon as removeAddonBase
|
|
503
503
|
} from "storybook/internal/common";
|
|
504
|
+
import { StoryIndexGenerator } from "storybook/internal/core-server";
|
|
504
505
|
import { readCsf as readCsf2 } from "storybook/internal/csf-tools";
|
|
505
506
|
import { logger as logger4 } from "storybook/internal/node-logger";
|
|
506
507
|
import { telemetry as telemetry8 } from "storybook/internal/telemetry";
|
|
@@ -533,7 +534,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
|
|
|
533
534
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
534
535
|
|
|
535
536
|
// src/core-server/utils/get-component-variable-name.ts
|
|
536
|
-
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-
|
|
537
|
+
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-5XDKQT3J.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
|
|
537
538
|
|
|
538
539
|
// src/core-server/utils/new-story-templates/csf-factory-template.ts
|
|
539
540
|
async function getCsfFactoryTemplateForNewStoryFile(data) {
|
|
@@ -798,7 +799,7 @@ async function searchFiles({
|
|
|
798
799
|
ignoredFiles = IGNORED_FILES,
|
|
799
800
|
fileExtensions = FILE_EXTENSIONS
|
|
800
801
|
}) {
|
|
801
|
-
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
802
|
+
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-AXGFF6I5.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
|
|
802
803
|
`**/*${searchQuery}*.${fileExtensionsPattern}`,
|
|
803
804
|
`**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
|
|
804
805
|
];
|
|
@@ -5786,7 +5787,21 @@ var interpolate = (string, data = {}) => Object.entries(data).reduce((acc, [k, v
|
|
|
5786
5787
|
}, managerEntries = async (existing) => [
|
|
5787
5788
|
join(resolvePackageDir("storybook"), "dist/core-server/presets/common-manager.js"),
|
|
5788
5789
|
...existing || []
|
|
5789
|
-
]
|
|
5790
|
+
], storyIndexGeneratorPromise, storyIndexGenerator = async (_, options) => storyIndexGeneratorPromise || (storyIndexGeneratorPromise = (async () => {
|
|
5791
|
+
let workingDir = process.cwd(), configDir = options.configDir, stories = await options.presets.apply("stories"), normalizedStories = normalizeStories(stories, {
|
|
5792
|
+
configDir,
|
|
5793
|
+
workingDir
|
|
5794
|
+
}), [indexers, docs] = await Promise.all([
|
|
5795
|
+
options.presets.apply("experimental_indexers", []),
|
|
5796
|
+
options.presets.apply("docs")
|
|
5797
|
+
]), generator = new StoryIndexGenerator(normalizedStories, {
|
|
5798
|
+
workingDir,
|
|
5799
|
+
configDir,
|
|
5800
|
+
indexers,
|
|
5801
|
+
docs
|
|
5802
|
+
});
|
|
5803
|
+
return await generator.initialize(), generator;
|
|
5804
|
+
})(), storyIndexGeneratorPromise);
|
|
5790
5805
|
export {
|
|
5791
5806
|
babel,
|
|
5792
5807
|
core,
|
|
@@ -5805,6 +5820,7 @@ export {
|
|
|
5805
5820
|
previewHead,
|
|
5806
5821
|
resolvedReact,
|
|
5807
5822
|
staticDirs,
|
|
5823
|
+
storyIndexGenerator,
|
|
5808
5824
|
title,
|
|
5809
5825
|
typescript
|
|
5810
5826
|
};
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -38,9 +38,9 @@ import {
|
|
|
38
38
|
vitestTransform,
|
|
39
39
|
writeConfig,
|
|
40
40
|
writeCsf
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
42
|
-
import "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-XZ6V3G6J.js";
|
|
42
|
+
import "../_node-chunks/chunk-LRBEW57O.js";
|
|
43
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
44
44
|
export {
|
|
45
45
|
BadMetaError,
|
|
46
46
|
ConfigFile,
|
|
@@ -66335,7 +66335,7 @@ init_dist();
|
|
|
66335
66335
|
var import_memoizerific8 = __toESM(require_memoizerific(), 1), import_semver = __toESM(require_semver2(), 1);
|
|
66336
66336
|
|
|
66337
66337
|
// src/manager-api/version.ts
|
|
66338
|
-
var version = "10.2.0-alpha.
|
|
66338
|
+
var version = "10.2.0-alpha.9";
|
|
66339
66339
|
|
|
66340
66340
|
// src/manager-api/modules/versions.ts
|
|
66341
66341
|
var { VERSIONCHECK } = scope, getVersionCheckData = (0, import_memoizerific8.default)(1)(() => {
|
|
@@ -2338,7 +2338,7 @@ import { global as global8 } from "@storybook/global";
|
|
|
2338
2338
|
import semver from "semver";
|
|
2339
2339
|
|
|
2340
2340
|
// src/manager-api/version.ts
|
|
2341
|
-
var version = "10.2.0-alpha.
|
|
2341
|
+
var version = "10.2.0-alpha.9";
|
|
2342
2342
|
|
|
2343
2343
|
// src/manager-api/modules/versions.ts
|
|
2344
2344
|
var { VERSIONCHECK } = global8, getVersionCheckData = (0, import_memoizerific2.default)(1)(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
join,
|
|
17
17
|
normalize,
|
|
18
18
|
resolve
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-LB74XOLW.js";
|
|
20
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
23
23
|
var comma = 44, semicolon = 59, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
once,
|
|
23
23
|
prompt,
|
|
24
24
|
protectUrls
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-SPOUBCPJ.js";
|
|
26
|
+
import "../_node-chunks/chunk-6ABJZZWS.js";
|
|
27
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
28
28
|
var export_instance = import_npmlog.default;
|
|
29
29
|
export {
|
|
30
30
|
CLI_COLORS,
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -46,13 +46,13 @@ import {
|
|
|
46
46
|
WebpackCompilationError,
|
|
47
47
|
WebpackInvocationError,
|
|
48
48
|
WebpackMissingStatsError
|
|
49
|
-
} from "./_node-chunks/chunk-
|
|
49
|
+
} from "./_node-chunks/chunk-NYUFS6LX.js";
|
|
50
50
|
import {
|
|
51
51
|
StorybookError
|
|
52
|
-
} from "./_node-chunks/chunk-
|
|
53
|
-
import "./_node-chunks/chunk-
|
|
54
|
-
import "./_node-chunks/chunk-
|
|
55
|
-
import "./_node-chunks/chunk-
|
|
52
|
+
} from "./_node-chunks/chunk-IIBBQZLT.js";
|
|
53
|
+
import "./_node-chunks/chunk-LRBEW57O.js";
|
|
54
|
+
import "./_node-chunks/chunk-6ABJZZWS.js";
|
|
55
|
+
import "./_node-chunks/chunk-PZCWRKQE.js";
|
|
56
56
|
export {
|
|
57
57
|
AddonVitestPostinstallConfigUpdateError,
|
|
58
58
|
AddonVitestPostinstallError,
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -25,22 +25,22 @@ import {
|
|
|
25
25
|
sanitizeAddonName,
|
|
26
26
|
sanitizeError,
|
|
27
27
|
telemetry
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
30
|
-
import "../_node-chunks/chunk-
|
|
31
|
-
import "../_node-chunks/chunk-
|
|
32
|
-
import "../_node-chunks/chunk-
|
|
33
|
-
import "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
37
|
-
import "../_node-chunks/chunk-
|
|
38
|
-
import "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
40
|
-
import "../_node-chunks/chunk-
|
|
41
|
-
import "../_node-chunks/chunk-
|
|
42
|
-
import "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-RF3L36MK.js";
|
|
29
|
+
import "../_node-chunks/chunk-VKMYOVNS.js";
|
|
30
|
+
import "../_node-chunks/chunk-MWWAQ5S4.js";
|
|
31
|
+
import "../_node-chunks/chunk-GXQRT5M6.js";
|
|
32
|
+
import "../_node-chunks/chunk-CO7N5AG7.js";
|
|
33
|
+
import "../_node-chunks/chunk-SPOUBCPJ.js";
|
|
34
|
+
import "../_node-chunks/chunk-3Y5VHKPI.js";
|
|
35
|
+
import "../_node-chunks/chunk-MOQRBTWA.js";
|
|
36
|
+
import "../_node-chunks/chunk-3DPKKQ6P.js";
|
|
37
|
+
import "../_node-chunks/chunk-OUDQWDHY.js";
|
|
38
|
+
import "../_node-chunks/chunk-LB74XOLW.js";
|
|
39
|
+
import "../_node-chunks/chunk-WTQGSYRO.js";
|
|
40
|
+
import "../_node-chunks/chunk-73GYSTNZ.js";
|
|
41
|
+
import "../_node-chunks/chunk-LRBEW57O.js";
|
|
42
|
+
import "../_node-chunks/chunk-6ABJZZWS.js";
|
|
43
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
44
44
|
export {
|
|
45
45
|
ErrorCollector,
|
|
46
46
|
addToGlobalContext,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2124,8 +2124,8 @@ interface IndexInputStats {
|
|
|
2124
2124
|
}
|
|
2125
2125
|
/** The base input for indexing a story or docs entry. */
|
|
2126
2126
|
type BaseIndexInput = {
|
|
2127
|
-
/** The file to import from e.g. the story file. */
|
|
2128
|
-
importPath
|
|
2127
|
+
/** The file to import from e.g. the story file. Defaults to the fileName arg passed to createIndex */
|
|
2128
|
+
importPath?: Path;
|
|
2129
2129
|
/** The raw path/package of the file that provides meta.component, if one exists */
|
|
2130
2130
|
rawComponentPath?: Path;
|
|
2131
2131
|
/** The name of the export to import. */
|
|
@@ -2617,6 +2617,7 @@ interface StorybookConfigRaw {
|
|
|
2617
2617
|
babelDefault?: any;
|
|
2618
2618
|
previewAnnotations?: Entry[];
|
|
2619
2619
|
experimental_indexers?: Indexer[];
|
|
2620
|
+
storyIndexGenerator?: StoryIndexGenerator;
|
|
2620
2621
|
experimental_devServer?: ServerApp;
|
|
2621
2622
|
docs?: DocsOptions;
|
|
2622
2623
|
previewHead?: string;
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_3bfbtrdgjix from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_3bfbtrdgjix from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_3bfbtrdgjix from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_3bfbtrdgjix.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_3bfbtrdgjix.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_3bfbtrdgjix.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
// package.json
|
|
14
|
-
var version = "10.2.0-alpha.8";
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
version
|
|
18
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_3bfbtrdgjix from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_3bfbtrdgjix from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_3bfbtrdgjix from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_3bfbtrdgjix.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_3bfbtrdgjix.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_3bfbtrdgjix.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
any
|
|
14
|
-
} from "./chunk-3TW66YXG.js";
|
|
15
|
-
|
|
16
|
-
// src/cli/detect.ts
|
|
17
|
-
async function detectPnp() {
|
|
18
|
-
return !!any([".pnp.js", ".pnp.cjs"]);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
detectPnp
|
|
23
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_3bfbtrdgjix from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_3bfbtrdgjix from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_3bfbtrdgjix from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_3bfbtrdgjix.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_3bfbtrdgjix.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_3bfbtrdgjix.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
// src/common/versions.ts
|
|
14
|
-
var versions_default = {
|
|
15
|
-
"@storybook/addon-a11y": "10.2.0-alpha.8",
|
|
16
|
-
"@storybook/addon-docs": "10.2.0-alpha.8",
|
|
17
|
-
"@storybook/addon-links": "10.2.0-alpha.8",
|
|
18
|
-
"@storybook/addon-onboarding": "10.2.0-alpha.8",
|
|
19
|
-
"storybook-addon-pseudo-states": "10.2.0-alpha.8",
|
|
20
|
-
"@storybook/addon-themes": "10.2.0-alpha.8",
|
|
21
|
-
"@storybook/addon-vitest": "10.2.0-alpha.8",
|
|
22
|
-
"@storybook/builder-vite": "10.2.0-alpha.8",
|
|
23
|
-
"@storybook/builder-webpack5": "10.2.0-alpha.8",
|
|
24
|
-
storybook: "10.2.0-alpha.8",
|
|
25
|
-
"@storybook/angular": "10.2.0-alpha.8",
|
|
26
|
-
"@storybook/ember": "10.2.0-alpha.8",
|
|
27
|
-
"@storybook/html-vite": "10.2.0-alpha.8",
|
|
28
|
-
"@storybook/nextjs": "10.2.0-alpha.8",
|
|
29
|
-
"@storybook/nextjs-vite": "10.2.0-alpha.8",
|
|
30
|
-
"@storybook/preact-vite": "10.2.0-alpha.8",
|
|
31
|
-
"@storybook/react-native-web-vite": "10.2.0-alpha.8",
|
|
32
|
-
"@storybook/react-vite": "10.2.0-alpha.8",
|
|
33
|
-
"@storybook/react-webpack5": "10.2.0-alpha.8",
|
|
34
|
-
"@storybook/server-webpack5": "10.2.0-alpha.8",
|
|
35
|
-
"@storybook/svelte-vite": "10.2.0-alpha.8",
|
|
36
|
-
"@storybook/sveltekit": "10.2.0-alpha.8",
|
|
37
|
-
"@storybook/vue3-vite": "10.2.0-alpha.8",
|
|
38
|
-
"@storybook/web-components-vite": "10.2.0-alpha.8",
|
|
39
|
-
sb: "10.2.0-alpha.8",
|
|
40
|
-
"@storybook/cli": "10.2.0-alpha.8",
|
|
41
|
-
"@storybook/codemod": "10.2.0-alpha.8",
|
|
42
|
-
"@storybook/core-webpack": "10.2.0-alpha.8",
|
|
43
|
-
"create-storybook": "10.2.0-alpha.8",
|
|
44
|
-
"@storybook/csf-plugin": "10.2.0-alpha.8",
|
|
45
|
-
"eslint-plugin-storybook": "10.2.0-alpha.8",
|
|
46
|
-
"@storybook/react-dom-shim": "10.2.0-alpha.8",
|
|
47
|
-
"@storybook/preset-create-react-app": "10.2.0-alpha.8",
|
|
48
|
-
"@storybook/preset-react-webpack": "10.2.0-alpha.8",
|
|
49
|
-
"@storybook/preset-server-webpack": "10.2.0-alpha.8",
|
|
50
|
-
"@storybook/html": "10.2.0-alpha.8",
|
|
51
|
-
"@storybook/preact": "10.2.0-alpha.8",
|
|
52
|
-
"@storybook/react": "10.2.0-alpha.8",
|
|
53
|
-
"@storybook/server": "10.2.0-alpha.8",
|
|
54
|
-
"@storybook/svelte": "10.2.0-alpha.8",
|
|
55
|
-
"@storybook/vue3": "10.2.0-alpha.8",
|
|
56
|
-
"@storybook/web-components": "10.2.0-alpha.8"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export {
|
|
60
|
-
versions_default
|
|
61
|
-
};
|