storybook 10.0.0 → 10.1.0-alpha.0
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-IIQ2ZKJA.js → builder-manager-OTO33TIA.js} +12 -12
- package/dist/_node-chunks/camelcase-HURSU73A.js +18 -0
- package/dist/_node-chunks/{chunk-B2ETRD4V.js → chunk-27W6KHQ2.js} +7 -7
- package/dist/_node-chunks/{chunk-WOYNIIQY.js → chunk-2WZNP46P.js} +8 -8
- package/dist/_node-chunks/{chunk-NP4JBQ6Q.js → chunk-3ICYWJ3N.js} +7 -7
- package/dist/_node-chunks/{chunk-PSD72R5Z.js → chunk-6C7OBGYG.js} +7 -7
- package/dist/_node-chunks/{chunk-ILHIUEFN.js → chunk-6M2IPO4E.js} +6 -6
- package/dist/_node-chunks/{chunk-APCF6BLC.js → chunk-A6T2YN75.js} +15 -15
- package/dist/_node-chunks/{chunk-AWLJD6QV.js → chunk-AITYHU22.js} +7 -7
- package/dist/_node-chunks/{chunk-6RHAE6RA.js → chunk-EFJRT54D.js} +7 -7
- package/dist/_node-chunks/{chunk-HT6COHEU.js → chunk-FDDQACQD.js} +7 -7
- package/dist/_node-chunks/{chunk-2EZNWWOJ.js → chunk-FWW4IJCM.js} +10 -10
- package/dist/_node-chunks/{chunk-DHMCBBKY.js → chunk-HHTKRAIE.js} +7 -7
- package/dist/_node-chunks/{chunk-5Q637AKX.js → chunk-HIGKW2KB.js} +7 -7
- package/dist/_node-chunks/{chunk-L5S66L55.js → chunk-HYNQ2IX4.js} +7 -7
- package/dist/_node-chunks/{chunk-KH6JWU3Y.js → chunk-L5WAZZY3.js} +7 -7
- package/dist/_node-chunks/{chunk-3QAI2NJJ.js → chunk-LOF6SIRE.js} +12 -12
- package/dist/_node-chunks/{chunk-YDJVCYQJ.js → chunk-NTAOH664.js} +9 -9
- package/dist/_node-chunks/{chunk-7FGNXYYL.js → chunk-NTB3C5XQ.js} +7 -7
- package/dist/_node-chunks/{chunk-AM7YMYAG.js → chunk-O3OJUFKU.js} +8 -8
- package/dist/_node-chunks/{chunk-5KVCO3KO.js → chunk-O4KUWXD6.js} +8 -8
- package/dist/_node-chunks/{chunk-7I57UDPV.js → chunk-OYGAWJQE.js} +7 -7
- package/dist/_node-chunks/chunk-P7ZABCRS.js +18 -0
- package/dist/_node-chunks/{chunk-XZCC7ABZ.js → chunk-Q4CZSEBO.js} +7 -7
- package/dist/_node-chunks/{chunk-6WZTLCEA.js → chunk-Q6QFW2Y7.js} +8 -8
- package/dist/_node-chunks/{chunk-ZECOO72W.js → chunk-QOI32MCO.js} +7 -7
- package/dist/_node-chunks/chunk-QWBT2XCX.js +61 -0
- package/dist/_node-chunks/{chunk-7ETUBLPB.js → chunk-RKANIOER.js} +8 -8
- package/dist/_node-chunks/{chunk-IJ4AICLD.js → chunk-RR6Q3657.js} +9 -9
- package/dist/_node-chunks/{chunk-J5PEW6E3.js → chunk-SV7ZHC5Z.js} +7 -7
- package/dist/_node-chunks/{chunk-W7DCZC64.js → chunk-VL6WDGIU.js} +6 -6
- package/dist/_node-chunks/{chunk-W6GXL2JC.js → chunk-VW3GGAQI.js} +12 -12
- package/dist/_node-chunks/{chunk-Z3LDC56S.js → chunk-XI2VU32X.js} +7 -7
- package/dist/_node-chunks/{chunk-V44UUFGH.js → chunk-YS6OLN4N.js} +7 -7
- package/dist/_node-chunks/{chunk-CXVGTDVQ.js → chunk-ZFRTME73.js} +21 -21
- package/dist/_node-chunks/{dist-WL6RBQNY.js → dist-BA2GAJJB.js} +9 -9
- package/dist/_node-chunks/{globby-EMY2E3I3.js → globby-4HAI4KJH.js} +9 -9
- package/dist/_node-chunks/{lib-4ETZCPCM.js → lib-ITRY6RT7.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-UMV2MWTH.js → mdx-N42X6CFJ-7PULFTZI.js} +8 -8
- package/dist/_node-chunks/{p-limit-UIVLT5UF.js → p-limit-63FY4KTG.js} +7 -7
- package/dist/_node-chunks/{plugin-UITTSLCA.js → plugin-2BSKCSMA.js} +10 -10
- package/dist/_node-chunks/{plugin-PZH4HK5Z.js → plugin-JEBMTDIB.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-G75H5TZH.js → webpack-inject-mocker-runtime-plugin-AZ7YPMMD.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-FK73ABOQ.js → webpack-mock-plugin-7IF6PA2O.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 +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +36 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +23 -23
- 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.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-KNOP6IZN.js +0 -18
- package/dist/_node-chunks/chunk-AHEMORUT.js +0 -18
- package/dist/_node-chunks/chunk-VXV63T56.js +0 -61
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.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
|
detectPnp
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-LOF6SIRE.js";
|
|
15
15
|
import {
|
|
16
16
|
require_pretty_hrtime
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-QOI32MCO.js";
|
|
18
18
|
import {
|
|
19
19
|
boxen,
|
|
20
20
|
require_string_width
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-2WZNP46P.js";
|
|
22
|
+
import "../_node-chunks/chunk-SV7ZHC5Z.js";
|
|
23
23
|
import {
|
|
24
24
|
StatusTypeIdMismatchError,
|
|
25
25
|
StorybookError
|
|
26
|
-
} from "../_node-chunks/chunk-
|
|
26
|
+
} from "../_node-chunks/chunk-NTAOH664.js";
|
|
27
27
|
import {
|
|
28
28
|
getErrorLevel,
|
|
29
29
|
mapStaticDir,
|
|
@@ -31,59 +31,59 @@ import {
|
|
|
31
31
|
sendTelemetryError,
|
|
32
32
|
useStatics,
|
|
33
33
|
withTelemetry
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-VW3GGAQI.js";
|
|
35
|
+
import "../_node-chunks/chunk-6C7OBGYG.js";
|
|
36
36
|
import {
|
|
37
37
|
telemetry
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-A6T2YN75.js";
|
|
39
|
+
import "../_node-chunks/chunk-P7ZABCRS.js";
|
|
40
40
|
import {
|
|
41
41
|
userOrAutoTitleFromSpecifier
|
|
42
|
-
} from "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
42
|
+
} from "../_node-chunks/chunk-ZFRTME73.js";
|
|
43
|
+
import "../_node-chunks/chunk-OYGAWJQE.js";
|
|
44
|
+
import "../_node-chunks/chunk-QWBT2XCX.js";
|
|
45
|
+
import "../_node-chunks/chunk-RKANIOER.js";
|
|
46
46
|
import {
|
|
47
47
|
optionalEnvToBoolean,
|
|
48
48
|
require_cross_spawn
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-RR6Q3657.js";
|
|
50
50
|
import {
|
|
51
51
|
up2 as up
|
|
52
|
-
} from "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
52
|
+
} from "../_node-chunks/chunk-XI2VU32X.js";
|
|
53
|
+
import "../_node-chunks/chunk-HIGKW2KB.js";
|
|
54
54
|
import {
|
|
55
55
|
invariant
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-FDDQACQD.js";
|
|
57
57
|
import {
|
|
58
58
|
importModule,
|
|
59
59
|
resolvePackageDir
|
|
60
|
-
} from "../_node-chunks/chunk-
|
|
60
|
+
} from "../_node-chunks/chunk-O3OJUFKU.js";
|
|
61
61
|
import {
|
|
62
62
|
resolve
|
|
63
|
-
} from "../_node-chunks/chunk-
|
|
63
|
+
} from "../_node-chunks/chunk-HHTKRAIE.js";
|
|
64
64
|
import {
|
|
65
65
|
require_prompts
|
|
66
|
-
} from "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
66
|
+
} from "../_node-chunks/chunk-3ICYWJ3N.js";
|
|
67
|
+
import "../_node-chunks/chunk-Q4CZSEBO.js";
|
|
68
68
|
import {
|
|
69
69
|
slash
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-L5WAZZY3.js";
|
|
71
71
|
import {
|
|
72
72
|
require_dist
|
|
73
|
-
} from "../_node-chunks/chunk-
|
|
73
|
+
} from "../_node-chunks/chunk-HYNQ2IX4.js";
|
|
74
74
|
import {
|
|
75
75
|
require_lib,
|
|
76
76
|
require_src
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-YS6OLN4N.js";
|
|
78
78
|
import {
|
|
79
79
|
require_picocolors
|
|
80
|
-
} from "../_node-chunks/chunk-
|
|
80
|
+
} from "../_node-chunks/chunk-27W6KHQ2.js";
|
|
81
81
|
import {
|
|
82
82
|
__commonJS,
|
|
83
83
|
__name,
|
|
84
84
|
__require,
|
|
85
85
|
__toESM
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-VL6WDGIU.js";
|
|
87
87
|
|
|
88
88
|
// ../node_modules/tsconfig-paths/lib/filesystem.js
|
|
89
89
|
var require_filesystem = __commonJS({
|
|
@@ -8718,7 +8718,7 @@ var StoryIndexGenerator = class _StoryIndexGenerator {
|
|
|
8718
8718
|
}
|
|
8719
8719
|
const pathToSubIndex = {};
|
|
8720
8720
|
const fullGlob = slash(join(specifier.directory, specifier.files));
|
|
8721
|
-
const { globby } = await import("../_node-chunks/globby-
|
|
8721
|
+
const { globby } = await import("../_node-chunks/globby-4HAI4KJH.js");
|
|
8722
8722
|
const files = await globby(fullGlob, {
|
|
8723
8723
|
absolute: true,
|
|
8724
8724
|
cwd: workingDir,
|
|
@@ -8976,7 +8976,7 @@ var StoryIndexGenerator = class _StoryIndexGenerator {
|
|
|
8976
8976
|
const normalizedPath = normalizeStoryPath(relativePath);
|
|
8977
8977
|
const importPath = slash(normalizedPath);
|
|
8978
8978
|
const content = await readFile(absolutePath, { encoding: "utf8" });
|
|
8979
|
-
const { analyze } = await import("../_node-chunks/dist-
|
|
8979
|
+
const { analyze } = await import("../_node-chunks/dist-BA2GAJJB.js");
|
|
8980
8980
|
const result = await analyze(content);
|
|
8981
8981
|
if (result.isTemplate) {
|
|
8982
8982
|
return false;
|
|
@@ -9319,7 +9319,7 @@ __name(print, "print");
|
|
|
9319
9319
|
// src/core-server/utils/get-builders.ts
|
|
9320
9320
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
9321
9321
|
async function getManagerBuilder() {
|
|
9322
|
-
return await import("../_node-chunks/builder-manager-
|
|
9322
|
+
return await import("../_node-chunks/builder-manager-OTO33TIA.js");
|
|
9323
9323
|
}
|
|
9324
9324
|
__name(getManagerBuilder, "getManagerBuilder");
|
|
9325
9325
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
@@ -9558,7 +9558,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
9558
9558
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
9559
9559
|
basename2(specifier.files)
|
|
9560
9560
|
);
|
|
9561
|
-
const { globby } = await import("../_node-chunks/globby-
|
|
9561
|
+
const { globby } = await import("../_node-chunks/globby-4HAI4KJH.js");
|
|
9562
9562
|
const addedFiles = await globby(slash(dirGlob), commonGlobOptions2(dirGlob));
|
|
9563
9563
|
addedFiles.forEach((filePath) => {
|
|
9564
9564
|
const fileImportPath = toImportPath(filePath);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.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-Q4CZSEBO.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-L5WAZZY3.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-VL6WDGIU.js";
|
|
21
21
|
|
|
22
22
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
23
23
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,37 +12,37 @@ var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
parseStaticDir,
|
|
14
14
|
sendTelemetryError
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-VW3GGAQI.js";
|
|
16
|
+
import "../../_node-chunks/chunk-6C7OBGYG.js";
|
|
17
17
|
import {
|
|
18
18
|
getLastEvents,
|
|
19
19
|
getSessionId
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-HIGKW2KB.js";
|
|
21
21
|
import {
|
|
22
22
|
invariant
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-FDDQACQD.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePackageDir
|
|
26
|
-
} from "../../_node-chunks/chunk-
|
|
26
|
+
} from "../../_node-chunks/chunk-O3OJUFKU.js";
|
|
27
27
|
import {
|
|
28
28
|
join
|
|
29
|
-
} from "../../_node-chunks/chunk-
|
|
30
|
-
import "../../_node-chunks/chunk-
|
|
29
|
+
} from "../../_node-chunks/chunk-HHTKRAIE.js";
|
|
30
|
+
import "../../_node-chunks/chunk-3ICYWJ3N.js";
|
|
31
31
|
import {
|
|
32
32
|
loadConfig
|
|
33
|
-
} from "../../_node-chunks/chunk-
|
|
33
|
+
} from "../../_node-chunks/chunk-Q6QFW2Y7.js";
|
|
34
34
|
import {
|
|
35
35
|
require_dist
|
|
36
|
-
} from "../../_node-chunks/chunk-
|
|
36
|
+
} from "../../_node-chunks/chunk-HYNQ2IX4.js";
|
|
37
37
|
import {
|
|
38
38
|
require_picocolors
|
|
39
|
-
} from "../../_node-chunks/chunk-
|
|
39
|
+
} from "../../_node-chunks/chunk-27W6KHQ2.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__name,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "../../_node-chunks/chunk-
|
|
45
|
+
} from "../../_node-chunks/chunk-VL6WDGIU.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/shell-quote/quote.js
|
|
48
48
|
var require_quote = __commonJS({
|
|
@@ -703,7 +703,7 @@ var import_ts_dedent = __toESM(require_dist(), 1);
|
|
|
703
703
|
|
|
704
704
|
// src/core-server/utils/get-component-variable-name.ts
|
|
705
705
|
var getComponentVariableName = /* @__PURE__ */ __name(async (name) => {
|
|
706
|
-
const camelCase = await import("../../_node-chunks/camelcase-
|
|
706
|
+
const camelCase = await import("../../_node-chunks/camelcase-HURSU73A.js");
|
|
707
707
|
const camelCased = camelCase.default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: true });
|
|
708
708
|
const sanitized = camelCased.replace(/[^a-zA-Z_$]+/, "");
|
|
709
709
|
return sanitized;
|
|
@@ -1050,7 +1050,7 @@ async function searchFiles({
|
|
|
1050
1050
|
ignoredFiles = IGNORED_FILES,
|
|
1051
1051
|
fileExtensions = FILE_EXTENSIONS
|
|
1052
1052
|
}) {
|
|
1053
|
-
const { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
1053
|
+
const { globby, isDynamicPattern } = await import("../../_node-chunks/globby-4HAI4KJH.js");
|
|
1054
1054
|
const hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd });
|
|
1055
1055
|
const hasFileExtensionRegex = /(\.[a-z]+)$/i;
|
|
1056
1056
|
const searchQueryHasExtension = hasFileExtensionRegex.test(searchQuery);
|
|
@@ -1833,8 +1833,8 @@ var viteFinal = /* @__PURE__ */ __name(async (existing, options) => {
|
|
|
1833
1833
|
if (!previewConfigPath) {
|
|
1834
1834
|
return existing;
|
|
1835
1835
|
}
|
|
1836
|
-
const { viteInjectMockerRuntime } = await import("../../_node-chunks/plugin-
|
|
1837
|
-
const { viteMockPlugin } = await import("../../_node-chunks/plugin-
|
|
1836
|
+
const { viteInjectMockerRuntime } = await import("../../_node-chunks/plugin-2BSKCSMA.js");
|
|
1837
|
+
const { viteMockPlugin } = await import("../../_node-chunks/plugin-JEBMTDIB.js");
|
|
1838
1838
|
const coreOptions = await options.presets.apply("core");
|
|
1839
1839
|
return {
|
|
1840
1840
|
...existing,
|
|
@@ -1852,8 +1852,8 @@ var webpackFinal = /* @__PURE__ */ __name(async (config, options) => {
|
|
|
1852
1852
|
if (!previewConfigPath) {
|
|
1853
1853
|
return config;
|
|
1854
1854
|
}
|
|
1855
|
-
const { WebpackMockPlugin } = await import("../../_node-chunks/webpack-mock-plugin-
|
|
1856
|
-
const { WebpackInjectMockerRuntimePlugin } = await import("../../_node-chunks/webpack-inject-mocker-runtime-plugin-
|
|
1855
|
+
const { WebpackMockPlugin } = await import("../../_node-chunks/webpack-mock-plugin-7IF6PA2O.js");
|
|
1856
|
+
const { WebpackInjectMockerRuntimePlugin } = await import("../../_node-chunks/webpack-inject-mocker-runtime-plugin-AZ7YPMMD.js");
|
|
1857
1857
|
config.plugins = config.plugins || [];
|
|
1858
1858
|
config.module.rules.push({
|
|
1859
1859
|
test: /preview\.(t|j)sx?$/,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.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
|
rewriteSbMockImportCalls
|
|
14
|
-
} from "../../../../_node-chunks/chunk-
|
|
15
|
-
import "../../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../../_node-chunks/chunk-O4KUWXD6.js";
|
|
15
|
+
import "../../../../_node-chunks/chunk-HHTKRAIE.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "../../../../_node-chunks/chunk-
|
|
18
|
+
} from "../../../../_node-chunks/chunk-VL6WDGIU.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/presets/webpack/loaders/storybook-mock-transform-loader.ts
|
|
21
21
|
import { logger } from "storybook/internal/node-logger";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.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
|
getAutomockCode
|
|
14
|
-
} from "../../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../../_node-chunks/chunk-EFJRT54D.js";
|
|
15
15
|
import {
|
|
16
16
|
babelParser
|
|
17
|
-
} from "../../../../_node-chunks/chunk-
|
|
18
|
-
import "../../../../_node-chunks/chunk-
|
|
17
|
+
} from "../../../../_node-chunks/chunk-O4KUWXD6.js";
|
|
18
|
+
import "../../../../_node-chunks/chunk-HHTKRAIE.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
|
-
} from "../../../../_node-chunks/chunk-
|
|
21
|
+
} from "../../../../_node-chunks/chunk-VL6WDGIU.js";
|
|
22
22
|
|
|
23
23
|
// src/core-server/presets/webpack/loaders/webpack-automock-loader.ts
|
|
24
24
|
function webpackAutomockLoader(source) {
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.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-Q6QFW2Y7.js";
|
|
42
|
+
import "../_node-chunks/chunk-HYNQ2IX4.js";
|
|
43
|
+
import "../_node-chunks/chunk-VL6WDGIU.js";
|
|
44
44
|
export {
|
|
45
45
|
BadMetaError,
|
|
46
46
|
ConfigFile,
|
|
@@ -82702,7 +82702,7 @@ var import_memoizerific10 = __toESM(require_memoizerific(), 1);
|
|
|
82702
82702
|
var import_semver = __toESM(require_semver2(), 1);
|
|
82703
82703
|
|
|
82704
82704
|
// src/manager-api/version.ts
|
|
82705
|
-
var version = "10.0.0";
|
|
82705
|
+
var version = "10.1.0-alpha.0";
|
|
82706
82706
|
|
|
82707
82707
|
// src/manager-api/modules/versions.ts
|
|
82708
82708
|
var { VERSIONCHECK } = scope;
|
|
@@ -393,7 +393,7 @@ interface SubState$5 {
|
|
|
393
393
|
|
|
394
394
|
declare const isMacLike: () => boolean;
|
|
395
395
|
declare const controlOrMetaSymbol: () => "⌘" | "ctrl";
|
|
396
|
-
declare const controlOrMetaKey: () => "
|
|
396
|
+
declare const controlOrMetaKey: () => "control" | "meta";
|
|
397
397
|
declare const optionOrAltSymbol: () => "⌥" | "alt";
|
|
398
398
|
declare const isShortcutTaken: (arr1: string[], arr2: string[]) => boolean;
|
|
399
399
|
type KeyboardEventLike = Pick<KeyboardEvent, 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey' | 'key' | 'code' | 'keyCode' | 'preventDefault'>;
|
|
@@ -3262,7 +3262,7 @@ import { global as global8 } from "@storybook/global";
|
|
|
3262
3262
|
import semver from "semver";
|
|
3263
3263
|
|
|
3264
3264
|
// src/manager-api/version.ts
|
|
3265
|
-
var version = "10.0.0";
|
|
3265
|
+
var version = "10.1.0-alpha.0";
|
|
3266
3266
|
|
|
3267
3267
|
// src/manager-api/modules/versions.ts
|
|
3268
3268
|
var { VERSIONCHECK } = global8;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.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_pretty_hrtime
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-QOI32MCO.js";
|
|
15
15
|
import {
|
|
16
16
|
ansi_styles_default,
|
|
17
17
|
boxen,
|
|
18
18
|
require_string_width,
|
|
19
19
|
stripAnsi
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-2WZNP46P.js";
|
|
21
|
+
import "../_node-chunks/chunk-SV7ZHC5Z.js";
|
|
22
22
|
import {
|
|
23
23
|
execaSync,
|
|
24
24
|
optionalEnvToBoolean
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-RR6Q3657.js";
|
|
26
|
+
import "../_node-chunks/chunk-XI2VU32X.js";
|
|
27
27
|
import {
|
|
28
28
|
require_prompts,
|
|
29
29
|
require_src
|
|
30
|
-
} from "../_node-chunks/chunk-
|
|
30
|
+
} from "../_node-chunks/chunk-3ICYWJ3N.js";
|
|
31
31
|
import {
|
|
32
32
|
require_picocolors
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-27W6KHQ2.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__export,
|
|
37
37
|
__name,
|
|
38
38
|
__require,
|
|
39
39
|
__toESM
|
|
40
|
-
} from "../_node-chunks/chunk-
|
|
40
|
+
} from "../_node-chunks/chunk-VL6WDGIU.js";
|
|
41
41
|
|
|
42
42
|
// ../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
43
43
|
var require_tracker_base = __commonJS({
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
WebpackCompilationError,
|
|
40
40
|
WebpackInvocationError,
|
|
41
41
|
WebpackMissingStatsError
|
|
42
|
-
} from "./_node-chunks/chunk-
|
|
43
|
-
import "./_node-chunks/chunk-
|
|
44
|
-
import "./_node-chunks/chunk-
|
|
45
|
-
import "./_node-chunks/chunk-
|
|
42
|
+
} from "./_node-chunks/chunk-NTAOH664.js";
|
|
43
|
+
import "./_node-chunks/chunk-HYNQ2IX4.js";
|
|
44
|
+
import "./_node-chunks/chunk-27W6KHQ2.js";
|
|
45
|
+
import "./_node-chunks/chunk-VL6WDGIU.js";
|
|
46
46
|
export {
|
|
47
47
|
AngularLegacyBuildOptionsError,
|
|
48
48
|
Category,
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_viqf41uklqm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_viqf41uklqm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_viqf41uklqm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_viqf41uklqm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_viqf41uklqm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,26 +21,26 @@ import {
|
|
|
21
21
|
sanitizeAddonName,
|
|
22
22
|
sanitizeError,
|
|
23
23
|
telemetry
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
30
|
-
import "../_node-chunks/chunk-
|
|
31
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-A6T2YN75.js";
|
|
25
|
+
import "../_node-chunks/chunk-P7ZABCRS.js";
|
|
26
|
+
import "../_node-chunks/chunk-ZFRTME73.js";
|
|
27
|
+
import "../_node-chunks/chunk-OYGAWJQE.js";
|
|
28
|
+
import "../_node-chunks/chunk-QWBT2XCX.js";
|
|
29
|
+
import "../_node-chunks/chunk-RKANIOER.js";
|
|
30
|
+
import "../_node-chunks/chunk-RR6Q3657.js";
|
|
31
|
+
import "../_node-chunks/chunk-XI2VU32X.js";
|
|
32
32
|
import {
|
|
33
33
|
getPrecedingUpgrade
|
|
34
|
-
} from "../_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-
|
|
34
|
+
} from "../_node-chunks/chunk-HIGKW2KB.js";
|
|
35
|
+
import "../_node-chunks/chunk-FDDQACQD.js";
|
|
36
|
+
import "../_node-chunks/chunk-O3OJUFKU.js";
|
|
37
|
+
import "../_node-chunks/chunk-HHTKRAIE.js";
|
|
38
|
+
import "../_node-chunks/chunk-3ICYWJ3N.js";
|
|
39
|
+
import "../_node-chunks/chunk-Q4CZSEBO.js";
|
|
40
|
+
import "../_node-chunks/chunk-L5WAZZY3.js";
|
|
41
|
+
import "../_node-chunks/chunk-HYNQ2IX4.js";
|
|
42
|
+
import "../_node-chunks/chunk-27W6KHQ2.js";
|
|
43
|
+
import "../_node-chunks/chunk-VL6WDGIU.js";
|
|
44
44
|
export {
|
|
45
45
|
addToGlobalContext,
|
|
46
46
|
cleanPaths,
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
camelCase
|
|
14
|
-
} from "./chunk-J5PEW6E3.js";
|
|
15
|
-
import "./chunk-W7DCZC64.js";
|
|
16
|
-
export {
|
|
17
|
-
camelCase as default
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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.0.0";
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
version
|
|
18
|
-
};
|