storybook 10.2.0-alpha.10 → 10.2.0-alpha.11
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-IL56SHZF.js → builder-manager-MNAUTRWW.js} +12 -12
- package/dist/_node-chunks/{camelcase-P3NIWBZX.js → camelcase-6H4Z5R35.js} +7 -7
- package/dist/_node-chunks/chunk-2CGMTALY.js +61 -0
- package/dist/_node-chunks/{chunk-YCQRVBE4.js → chunk-2DZGIXSN.js} +6 -6
- package/dist/_node-chunks/{chunk-KH2A547Y.js → chunk-5L22ATN3.js} +8 -8
- package/dist/_node-chunks/{chunk-KP3IIE5P.js → chunk-7FH4U6XC.js} +8 -8
- package/dist/_node-chunks/{chunk-Q6PDB4Y6.js → chunk-CMQYFTBQ.js} +6 -6
- package/dist/_node-chunks/{chunk-JXL37VS7.js → chunk-F3OHO2BC.js} +13 -13
- package/dist/_node-chunks/{chunk-LZ5NNY6S.js → chunk-FWVZUHZX.js} +6 -6
- package/dist/_node-chunks/{chunk-EKU7ASGO.js → chunk-GRH5JFTX.js} +7 -7
- package/dist/_node-chunks/{chunk-OVKHHS4W.js → chunk-HXFHXVEW.js} +20 -20
- package/dist/_node-chunks/{chunk-QF3YWFYM.js → chunk-KAIK7772.js} +9 -9
- package/dist/_node-chunks/{chunk-SME7252C.js → chunk-KU4SWNDM.js} +7 -7
- package/dist/_node-chunks/chunk-KX7OAVXY.js +18 -0
- package/dist/_node-chunks/{chunk-YELE6V4D.js → chunk-L22DGLKT.js} +6 -6
- package/dist/_node-chunks/{chunk-E2KSZELU.js → chunk-MAMDH2R3.js} +7 -7
- package/dist/_node-chunks/{chunk-WULYWBBT.js → chunk-MAQAZSXK.js} +6 -6
- package/dist/_node-chunks/{chunk-XBDIQU4P.js → chunk-O7O53MP7.js} +12 -12
- package/dist/_node-chunks/{chunk-TPSZ4QDT.js → chunk-P663SP7U.js} +6 -6
- package/dist/_node-chunks/chunk-RI4IBKXZ.js +23 -0
- package/dist/_node-chunks/{chunk-BP66TAYC.js → chunk-RJY225Z5.js} +7 -7
- package/dist/_node-chunks/{chunk-RGJIQDLW.js → chunk-TFY6QV57.js} +7 -7
- package/dist/_node-chunks/{chunk-OZHIDIRL.js → chunk-TOMGRF4A.js} +10 -10
- package/dist/_node-chunks/{chunk-D3YJHXPC.js → chunk-UNUWAUGG.js} +6 -6
- package/dist/_node-chunks/{chunk-TAETXAN6.js → chunk-UOHDPKIW.js} +7 -7
- package/dist/_node-chunks/{chunk-MLCI5FPI.js → chunk-URWJMVZI.js} +7 -7
- package/dist/_node-chunks/{chunk-POAHHCVK.js → chunk-UYMZAYR4.js} +9 -9
- package/dist/_node-chunks/{chunk-Z2ETF7EI.js → chunk-WHIAK7AH.js} +12 -12
- package/dist/_node-chunks/{chunk-Z2CJCEHN.js → chunk-WQ4WQYSZ.js} +7 -7
- package/dist/_node-chunks/{dist-5MXCD6KF.js → dist-ZOBQQCBA.js} +9 -9
- package/dist/_node-chunks/{globby-322GM5CY.js → globby-WNZSV3ZO.js} +9 -9
- package/dist/_node-chunks/{lib-IXZT5UQX.js → lib-YUWKNDR2.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-DBPHTSPN.js → mdx-N42X6CFJ-K5BCUPEA.js} +8 -8
- package/dist/_node-chunks/{p-limit-TLN4WCPA.js → p-limit-ROJSQI7F.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 +19 -19
- package/dist/core-server/index.js +32 -32
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +24 -24
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +9 -10
- 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/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +22 -22
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-GLYH3TSV.js +0 -61
- package/dist/_node-chunks/chunk-XXOA6ULE.js +0 -18
- package/dist/_node-chunks/chunk-ZHSAQXJF.js +0 -23
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
readFileAsJson,
|
|
34
34
|
suggestESLintPlugin,
|
|
35
35
|
writeFileAsJson
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-O7O53MP7.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-RI4IBKXZ.js";
|
|
40
40
|
import {
|
|
41
41
|
Settings,
|
|
42
42
|
_clearGlobalSettings,
|
|
43
43
|
globalSettings
|
|
44
|
-
} from "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
44
|
+
} from "../_node-chunks/chunk-KAIK7772.js";
|
|
45
|
+
import "../_node-chunks/chunk-CMQYFTBQ.js";
|
|
46
|
+
import "../_node-chunks/chunk-L22DGLKT.js";
|
|
47
|
+
import "../_node-chunks/chunk-RJY225Z5.js";
|
|
48
|
+
import "../_node-chunks/chunk-MAQAZSXK.js";
|
|
49
|
+
import "../_node-chunks/chunk-URWJMVZI.js";
|
|
50
|
+
import "../_node-chunks/chunk-UYMZAYR4.js";
|
|
51
|
+
import "../_node-chunks/chunk-GRH5JFTX.js";
|
|
52
|
+
import "../_node-chunks/chunk-WQ4WQYSZ.js";
|
|
53
|
+
import "../_node-chunks/chunk-FWVZUHZX.js";
|
|
54
54
|
export {
|
|
55
55
|
ANGULAR_JSON_PATH,
|
|
56
56
|
AddonVitestService,
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -102,29 +102,29 @@ import {
|
|
|
102
102
|
validateConfigurationFiles,
|
|
103
103
|
validateFrameworkName,
|
|
104
104
|
wrapValueWithGetAbsolutePathWrapper
|
|
105
|
-
} from "../_node-chunks/chunk-
|
|
105
|
+
} from "../_node-chunks/chunk-HXFHXVEW.js";
|
|
106
106
|
import {
|
|
107
107
|
versions_default
|
|
108
|
-
} from "../_node-chunks/chunk-
|
|
109
|
-
import "../_node-chunks/chunk-
|
|
110
|
-
import "../_node-chunks/chunk-
|
|
111
|
-
import "../_node-chunks/chunk-
|
|
108
|
+
} from "../_node-chunks/chunk-2CGMTALY.js";
|
|
109
|
+
import "../_node-chunks/chunk-TFY6QV57.js";
|
|
110
|
+
import "../_node-chunks/chunk-5L22ATN3.js";
|
|
111
|
+
import "../_node-chunks/chunk-CMQYFTBQ.js";
|
|
112
112
|
import {
|
|
113
113
|
groupBy,
|
|
114
114
|
invariant
|
|
115
|
-
} from "../_node-chunks/chunk-
|
|
115
|
+
} from "../_node-chunks/chunk-L22DGLKT.js";
|
|
116
116
|
import {
|
|
117
117
|
importMetaResolve,
|
|
118
118
|
importModule,
|
|
119
119
|
resolvePackageDir,
|
|
120
120
|
safeResolveModule
|
|
121
|
-
} from "../_node-chunks/chunk-
|
|
122
|
-
import "../_node-chunks/chunk-
|
|
123
|
-
import "../_node-chunks/chunk-
|
|
124
|
-
import "../_node-chunks/chunk-
|
|
125
|
-
import "../_node-chunks/chunk-
|
|
126
|
-
import "../_node-chunks/chunk-
|
|
127
|
-
import "../_node-chunks/chunk-
|
|
121
|
+
} from "../_node-chunks/chunk-RJY225Z5.js";
|
|
122
|
+
import "../_node-chunks/chunk-MAQAZSXK.js";
|
|
123
|
+
import "../_node-chunks/chunk-KU4SWNDM.js";
|
|
124
|
+
import "../_node-chunks/chunk-P663SP7U.js";
|
|
125
|
+
import "../_node-chunks/chunk-URWJMVZI.js";
|
|
126
|
+
import "../_node-chunks/chunk-WQ4WQYSZ.js";
|
|
127
|
+
import "../_node-chunks/chunk-FWVZUHZX.js";
|
|
128
128
|
export {
|
|
129
129
|
DEFAULT_FILES_PATTERN,
|
|
130
130
|
FileSystemCache,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.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
|
StatusTypeIdMismatchError
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-TOMGRF4A.js";
|
|
15
15
|
import {
|
|
16
16
|
debounce,
|
|
17
17
|
getErrorLevel,
|
|
@@ -21,65 +21,65 @@ import {
|
|
|
21
21
|
sendTelemetryError,
|
|
22
22
|
useStatics,
|
|
23
23
|
withTelemetry
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-F3OHO2BC.js";
|
|
25
25
|
import {
|
|
26
26
|
detectPnp
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-RI4IBKXZ.js";
|
|
28
|
+
import "../_node-chunks/chunk-UOHDPKIW.js";
|
|
29
29
|
import {
|
|
30
30
|
StorybookError
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-2DZGIXSN.js";
|
|
32
32
|
import {
|
|
33
33
|
telemetry
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-WHIAK7AH.js";
|
|
35
|
+
import "../_node-chunks/chunk-KX7OAVXY.js";
|
|
36
36
|
import {
|
|
37
37
|
optionalEnvToBoolean,
|
|
38
38
|
require_cross_spawn,
|
|
39
39
|
resolveImport,
|
|
40
40
|
supportedExtensions,
|
|
41
41
|
userOrAutoTitleFromSpecifier
|
|
42
|
-
} from "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
42
|
+
} from "../_node-chunks/chunk-HXFHXVEW.js";
|
|
43
|
+
import "../_node-chunks/chunk-2CGMTALY.js";
|
|
44
|
+
import "../_node-chunks/chunk-TFY6QV57.js";
|
|
45
45
|
import {
|
|
46
46
|
require_pretty_hrtime
|
|
47
|
-
} from "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
47
|
+
} from "../_node-chunks/chunk-5L22ATN3.js";
|
|
48
|
+
import "../_node-chunks/chunk-KAIK7772.js";
|
|
49
49
|
import {
|
|
50
50
|
invariant,
|
|
51
51
|
up2 as up
|
|
52
|
-
} from "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
52
|
+
} from "../_node-chunks/chunk-CMQYFTBQ.js";
|
|
53
|
+
import "../_node-chunks/chunk-L22DGLKT.js";
|
|
54
54
|
import {
|
|
55
55
|
importModule,
|
|
56
56
|
resolvePackageDir
|
|
57
|
-
} from "../_node-chunks/chunk-
|
|
57
|
+
} from "../_node-chunks/chunk-RJY225Z5.js";
|
|
58
58
|
import {
|
|
59
59
|
dirname,
|
|
60
60
|
join,
|
|
61
61
|
relative,
|
|
62
62
|
resolve
|
|
63
|
-
} from "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
63
|
+
} from "../_node-chunks/chunk-MAQAZSXK.js";
|
|
64
|
+
import "../_node-chunks/chunk-KU4SWNDM.js";
|
|
65
65
|
import {
|
|
66
66
|
slash
|
|
67
|
-
} from "../_node-chunks/chunk-
|
|
67
|
+
} from "../_node-chunks/chunk-P663SP7U.js";
|
|
68
68
|
import {
|
|
69
69
|
require_dist
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-URWJMVZI.js";
|
|
71
71
|
import {
|
|
72
72
|
require_lib,
|
|
73
73
|
require_src
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-GRH5JFTX.js";
|
|
75
75
|
import {
|
|
76
76
|
require_picocolors
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-WQ4WQYSZ.js";
|
|
78
78
|
import {
|
|
79
79
|
__commonJS,
|
|
80
80
|
__require,
|
|
81
81
|
__toESM
|
|
82
|
-
} from "../_node-chunks/chunk-
|
|
82
|
+
} from "../_node-chunks/chunk-FWVZUHZX.js";
|
|
83
83
|
|
|
84
84
|
// ../../node_modules/glob-to-regexp/index.js
|
|
85
85
|
var require_glob_to_regexp = __commonJS({
|
|
@@ -4536,7 +4536,7 @@ function print(p) {
|
|
|
4536
4536
|
// src/core-server/utils/get-builders.ts
|
|
4537
4537
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
4538
4538
|
async function getManagerBuilder() {
|
|
4539
|
-
return await import("../_node-chunks/builder-manager-
|
|
4539
|
+
return await import("../_node-chunks/builder-manager-MNAUTRWW.js");
|
|
4540
4540
|
}
|
|
4541
4541
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
4542
4542
|
return await importModule(resolvedPreviewBuilder);
|
|
@@ -4600,7 +4600,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
4600
4600
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
4601
4601
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
4602
4602
|
basename(specifier.files)
|
|
4603
|
-
), { globby } = await import("../_node-chunks/globby-
|
|
4603
|
+
), { globby } = await import("../_node-chunks/globby-WNZSV3ZO.js");
|
|
4604
4604
|
(await globby(slash(dirGlob), commonGlobOptions(dirGlob))).forEach((filePath) => {
|
|
4605
4605
|
let fileImportPath = toImportPath(filePath);
|
|
4606
4606
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(fileImportPath, removed);
|
|
@@ -5656,7 +5656,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5656
5656
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
5657
5657
|
if (cached)
|
|
5658
5658
|
return cached;
|
|
5659
|
-
let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-
|
|
5659
|
+
let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-WNZSV3ZO.js"), files = await globby(globPattern, {
|
|
5660
5660
|
absolute: !0,
|
|
5661
5661
|
cwd: globCwd,
|
|
5662
5662
|
...commonGlobOptions2(globPattern)
|
|
@@ -5843,7 +5843,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5843
5843
|
async extractDocs(specifier, absolutePath, projectTags = []) {
|
|
5844
5844
|
let relativePath = relative4(this.options.workingDir, absolutePath);
|
|
5845
5845
|
try {
|
|
5846
|
-
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-
|
|
5846
|
+
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-ZOBQQCBA.js"), result = await analyze(content);
|
|
5847
5847
|
if (result.isTemplate)
|
|
5848
5848
|
return !1;
|
|
5849
5849
|
let absoluteImports = result.imports.map(
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.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-KU4SWNDM.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-P663SP7U.js";
|
|
18
|
+
import "../../_node-chunks/chunk-FWVZUHZX.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.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-O7O53MP7.js";
|
|
13
13
|
import {
|
|
14
14
|
parseStaticDir,
|
|
15
15
|
sendTelemetryError,
|
|
16
16
|
throttle
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
20
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-F3OHO2BC.js";
|
|
18
|
+
import "../../_node-chunks/chunk-RI4IBKXZ.js";
|
|
19
|
+
import "../../_node-chunks/chunk-UOHDPKIW.js";
|
|
20
|
+
import "../../_node-chunks/chunk-2DZGIXSN.js";
|
|
21
21
|
import {
|
|
22
22
|
globalSettings
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-KAIK7772.js";
|
|
24
24
|
import {
|
|
25
25
|
invariant
|
|
26
|
-
} from "../../_node-chunks/chunk-
|
|
27
|
-
import "../../_node-chunks/chunk-
|
|
26
|
+
} from "../../_node-chunks/chunk-CMQYFTBQ.js";
|
|
27
|
+
import "../../_node-chunks/chunk-L22DGLKT.js";
|
|
28
28
|
import {
|
|
29
29
|
resolvePackageDir
|
|
30
|
-
} from "../../_node-chunks/chunk-
|
|
30
|
+
} from "../../_node-chunks/chunk-RJY225Z5.js";
|
|
31
31
|
import {
|
|
32
32
|
isAbsolute,
|
|
33
33
|
join
|
|
34
|
-
} from "../../_node-chunks/chunk-
|
|
34
|
+
} from "../../_node-chunks/chunk-MAQAZSXK.js";
|
|
35
35
|
import {
|
|
36
36
|
loadConfig
|
|
37
|
-
} from "../../_node-chunks/chunk-
|
|
37
|
+
} from "../../_node-chunks/chunk-7FH4U6XC.js";
|
|
38
38
|
import {
|
|
39
39
|
require_dist
|
|
40
|
-
} from "../../_node-chunks/chunk-
|
|
41
|
-
import "../../_node-chunks/chunk-
|
|
42
|
-
import "../../_node-chunks/chunk-
|
|
40
|
+
} from "../../_node-chunks/chunk-URWJMVZI.js";
|
|
41
|
+
import "../../_node-chunks/chunk-UYMZAYR4.js";
|
|
42
|
+
import "../../_node-chunks/chunk-GRH5JFTX.js";
|
|
43
43
|
import {
|
|
44
44
|
require_picocolors
|
|
45
|
-
} from "../../_node-chunks/chunk-
|
|
45
|
+
} from "../../_node-chunks/chunk-WQ4WQYSZ.js";
|
|
46
46
|
import {
|
|
47
47
|
__commonJS,
|
|
48
48
|
__require,
|
|
49
49
|
__toESM
|
|
50
|
-
} from "../../_node-chunks/chunk-
|
|
50
|
+
} from "../../_node-chunks/chunk-FWVZUHZX.js";
|
|
51
51
|
|
|
52
52
|
// ../../node_modules/shell-quote/quote.js
|
|
53
53
|
var require_quote = __commonJS({
|
|
@@ -515,7 +515,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
|
|
|
515
515
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
516
516
|
|
|
517
517
|
// src/core-server/utils/get-component-variable-name.ts
|
|
518
|
-
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-
|
|
518
|
+
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-6H4Z5R35.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
|
|
519
519
|
|
|
520
520
|
// src/core-server/utils/new-story-templates/csf-factory-template.ts
|
|
521
521
|
async function getCsfFactoryTemplateForNewStoryFile(data) {
|
|
@@ -780,7 +780,7 @@ async function searchFiles({
|
|
|
780
780
|
ignoredFiles = IGNORED_FILES,
|
|
781
781
|
fileExtensions = FILE_EXTENSIONS
|
|
782
782
|
}) {
|
|
783
|
-
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
783
|
+
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-WNZSV3ZO.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
|
|
784
784
|
`**/*${searchQuery}*.${fileExtensionsPattern}`,
|
|
785
785
|
`**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
|
|
786
786
|
];
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.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-7FH4U6XC.js";
|
|
42
|
+
import "../_node-chunks/chunk-URWJMVZI.js";
|
|
43
|
+
import "../_node-chunks/chunk-FWVZUHZX.js";
|
|
44
44
|
export {
|
|
45
45
|
BadMetaError,
|
|
46
46
|
ConfigFile,
|
|
@@ -62067,7 +62067,7 @@ init_dist();
|
|
|
62067
62067
|
var import_memoizerific8 = __toESM(require_memoizerific(), 1), import_semver = __toESM(require_semver2(), 1);
|
|
62068
62068
|
|
|
62069
62069
|
// src/manager-api/version.ts
|
|
62070
|
-
var version = "10.2.0-alpha.
|
|
62070
|
+
var version = "10.2.0-alpha.11";
|
|
62071
62071
|
|
|
62072
62072
|
// src/manager-api/modules/versions.ts
|
|
62073
62073
|
var { VERSIONCHECK } = scope, getVersionCheckData = (0, import_memoizerific8.default)(1)(() => {
|
package/dist/manager/runtime.js
CHANGED
|
@@ -4681,22 +4681,21 @@ var MINIMUM_CONTENT_WIDTH_PX = 100, layoutStateIsEqual = (state, other) => state
|
|
|
4681
4681
|
showPanel
|
|
4682
4682
|
},
|
|
4683
4683
|
showPages && react_default.createElement(PagesContainer, null, slots.slotPages),
|
|
4684
|
-
|
|
4685
|
-
Drag,
|
|
4686
|
-
{
|
|
4687
|
-
orientation: panelPosition === "bottom" ? "horizontal" : "vertical",
|
|
4688
|
-
position: panelPosition === "bottom" ? "left" : "right",
|
|
4689
|
-
ref: panelResizerRef
|
|
4690
|
-
}
|
|
4691
|
-
), slots.slotPanel)),
|
|
4692
|
-
isMobile2 && react_default.createElement(react_default.Fragment, null, react_default.createElement(
|
|
4684
|
+
react_default.createElement(react_default.Fragment, null, isDesktop && react_default.createElement(SidebarContainer, null, react_default.createElement(Drag, { ref: sidebarResizerRef }), slots.slotSidebar), isMobile2 && react_default.createElement(
|
|
4693
4685
|
OrderedMobileNavigation,
|
|
4694
4686
|
{
|
|
4695
4687
|
menu: slots.slotSidebar,
|
|
4696
4688
|
panel: slots.slotPanel,
|
|
4697
4689
|
showPanel
|
|
4698
4690
|
}
|
|
4699
|
-
), react_default.createElement(MainContentMatcher, null, slots.slotMain), react_default.createElement(
|
|
4691
|
+
), react_default.createElement(MainContentMatcher, null, slots.slotMain), isDesktop && showPanel && react_default.createElement(PanelContainer, { position: panelPosition }, react_default.createElement(
|
|
4692
|
+
Drag,
|
|
4693
|
+
{
|
|
4694
|
+
orientation: panelPosition === "bottom" ? "horizontal" : "vertical",
|
|
4695
|
+
position: panelPosition === "bottom" ? "left" : "right",
|
|
4696
|
+
ref: panelResizerRef
|
|
4697
|
+
}
|
|
4698
|
+
), slots.slotPanel), isMobile2 && react_default.createElement(Notifications, null))
|
|
4700
4699
|
);
|
|
4701
4700
|
}, LayoutContainer = styled.div(
|
|
4702
4701
|
({ navSize, rightPanelWidth, bottomPanelHeight, viewMode, panelPosition, showPanel }) => ({
|
|
@@ -2337,7 +2337,7 @@ import { global as global8 } from "@storybook/global";
|
|
|
2337
2337
|
import semver from "semver";
|
|
2338
2338
|
|
|
2339
2339
|
// src/manager-api/version.ts
|
|
2340
|
-
var version = "10.2.0-alpha.
|
|
2340
|
+
var version = "10.2.0-alpha.11";
|
|
2341
2341
|
|
|
2342
2342
|
// src/manager-api/modules/versions.ts
|
|
2343
2343
|
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_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.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-MAQAZSXK.js";
|
|
20
|
+
import "../_node-chunks/chunk-FWVZUHZX.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_aucdos01fk5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.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-5L22ATN3.js";
|
|
26
|
+
import "../_node-chunks/chunk-WQ4WQYSZ.js";
|
|
27
|
+
import "../_node-chunks/chunk-FWVZUHZX.js";
|
|
28
28
|
var export_instance = import_npmlog.default;
|
|
29
29
|
export {
|
|
30
30
|
CLI_COLORS,
|