storybook 10.1.9 → 10.1.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/_browser-chunks/{chunk-GPBRNGY5.js → chunk-MDLQUVZN.js} +5 -5
- package/dist/_node-chunks/{builder-manager-6KFI2KAU.js → builder-manager-AYK7HUZR.js} +12 -12
- package/dist/_node-chunks/{camelcase-COP2F5ZK.js → camelcase-7MOJ2FFW.js} +7 -7
- package/dist/_node-chunks/{chunk-3Q5I3QYJ.js → chunk-2372JZ52.js} +13 -13
- package/dist/_node-chunks/chunk-5GQBCZKW.js +23 -0
- package/dist/_node-chunks/{chunk-YPHI3MHA.js → chunk-DRM3MJ7Y.js} +6 -6
- package/dist/_node-chunks/{chunk-YQSIMXLR.js → chunk-DSBSHG6H.js} +7 -7
- package/dist/_node-chunks/{chunk-HDC6BP27.js → chunk-DWPXURLN.js} +8 -8
- package/dist/_node-chunks/{chunk-E72C42FO.js → chunk-EQLFU5BD.js} +9 -9
- package/dist/_node-chunks/{chunk-SCU5NENN.js → chunk-GRQFL3SI.js} +8 -8
- package/dist/_node-chunks/{chunk-FBCRFPN7.js → chunk-GSQVC33F.js} +7 -7
- package/dist/_node-chunks/{chunk-XN4JAH6R.js → chunk-HF7KKBBR.js} +7 -7
- package/dist/_node-chunks/{chunk-X7HAU6DT.js → chunk-HH2SN3H2.js} +7 -7
- package/dist/_node-chunks/{chunk-OLRSOKQJ.js → chunk-JLFR6DEF.js} +12 -12
- package/dist/_node-chunks/{chunk-JBNSDLDN.js → chunk-LE232J7F.js} +7 -7
- package/dist/_node-chunks/{chunk-4GBGZBUN.js → chunk-N2XJQMXW.js} +9 -9
- package/dist/_node-chunks/{chunk-VTDXD32C.js → chunk-NKSLKQ5F.js} +6 -6
- package/dist/_node-chunks/{chunk-YAOMP7IG.js → chunk-O7UZQAUS.js} +7 -7
- package/dist/_node-chunks/{chunk-B4AQTYUM.js → chunk-ONZANTK7.js} +7 -7
- package/dist/_node-chunks/{chunk-7G4IHNBS.js → chunk-OQY7D22D.js} +6 -6
- package/dist/_node-chunks/chunk-PF7HEE6F.js +20 -0
- package/dist/_node-chunks/{chunk-VPDFGH66.js → chunk-PFJRSBIJ.js} +6 -6
- package/dist/_node-chunks/{chunk-6XH4P37X.js → chunk-Q4DOC7HF.js} +32 -32
- package/dist/_node-chunks/{chunk-OJN2ZLGQ.js → chunk-R2IXPA5M.js} +12 -12
- package/dist/_node-chunks/{chunk-W5LQJEKW.js → chunk-SLZHVDN6.js} +7 -7
- package/dist/_node-chunks/chunk-WAL24RZR.js +61 -0
- package/dist/_node-chunks/{chunk-FANIK3VE.js → chunk-WANDQWBR.js} +6 -6
- package/dist/_node-chunks/{chunk-V6HMUOKZ.js → chunk-WBTDMYZM.js} +10 -10
- package/dist/_node-chunks/{chunk-NW62H5AE.js → chunk-XS5OAKHK.js} +6 -6
- package/dist/_node-chunks/chunk-YJM63TNA.js +18 -0
- package/dist/_node-chunks/{dist-JGMT4N3S.js → dist-PSWG5NPT.js} +9 -9
- package/dist/_node-chunks/{globby-GXCQUKBS.js → globby-YAVH4LQB.js} +9 -9
- package/dist/_node-chunks/{lib-QW4KAC77.js → lib-XGTTZ4VB.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-ESFWK5XU.js → mdx-N42X6CFJ-LY7LEJHJ.js} +8 -8
- package/dist/_node-chunks/{p-limit-4ELWV6QF.js → p-limit-CK3RN45E.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/index.js +8 -4
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +5 -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/preview/runtime.js +5 -5
- package/dist/preview-api/index.js +1 -1
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +22 -22
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-4MXQJO77.js +0 -61
- package/dist/_node-chunks/chunk-5UPUD6R2.js +0 -20
- package/dist/_node-chunks/chunk-DNSTTBDG.js +0 -18
- package/dist/_node-chunks/chunk-UZMUM5VQ.js +0 -23
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_at6j9ae2j2t from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
versions_default
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-WAL24RZR.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-O7UZQAUS.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-XS5OAKHK.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-SLZHVDN6.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-DRM3MJ7Y.js";
|
|
28
28
|
|
|
29
29
|
// src/bin/dispatcher.ts
|
|
30
30
|
import { pathToFileURL } from "node:url";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-OQY7D22D.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-SLZHVDN6.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-DRM3MJ7Y.js";
|
|
21
21
|
|
|
22
22
|
// src/bin/loader.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-JLFR6DEF.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-5GQBCZKW.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-EQLFU5BD.js";
|
|
45
|
+
import "../_node-chunks/chunk-PFJRSBIJ.js";
|
|
46
|
+
import "../_node-chunks/chunk-O7UZQAUS.js";
|
|
47
|
+
import "../_node-chunks/chunk-NKSLKQ5F.js";
|
|
48
|
+
import "../_node-chunks/chunk-XS5OAKHK.js";
|
|
49
|
+
import "../_node-chunks/chunk-SLZHVDN6.js";
|
|
50
|
+
import "../_node-chunks/chunk-N2XJQMXW.js";
|
|
51
|
+
import "../_node-chunks/chunk-HF7KKBBR.js";
|
|
52
|
+
import "../_node-chunks/chunk-LE232J7F.js";
|
|
53
|
+
import "../_node-chunks/chunk-DRM3MJ7Y.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_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-Q4DOC7HF.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-WAL24RZR.js";
|
|
109
|
+
import "../_node-chunks/chunk-HH2SN3H2.js";
|
|
110
|
+
import "../_node-chunks/chunk-GRQFL3SI.js";
|
|
111
|
+
import "../_node-chunks/chunk-PFJRSBIJ.js";
|
|
112
112
|
import {
|
|
113
113
|
importMetaResolve,
|
|
114
114
|
importModule,
|
|
115
115
|
resolvePackageDir,
|
|
116
116
|
safeResolveModule
|
|
117
|
-
} from "../_node-chunks/chunk-
|
|
117
|
+
} from "../_node-chunks/chunk-O7UZQAUS.js";
|
|
118
118
|
import {
|
|
119
119
|
groupBy,
|
|
120
120
|
invariant
|
|
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-NKSLKQ5F.js";
|
|
122
|
+
import "../_node-chunks/chunk-XS5OAKHK.js";
|
|
123
|
+
import "../_node-chunks/chunk-GSQVC33F.js";
|
|
124
|
+
import "../_node-chunks/chunk-PF7HEE6F.js";
|
|
125
|
+
import "../_node-chunks/chunk-SLZHVDN6.js";
|
|
126
|
+
import "../_node-chunks/chunk-LE232J7F.js";
|
|
127
|
+
import "../_node-chunks/chunk-DRM3MJ7Y.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_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-WBTDMYZM.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-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-2372JZ52.js";
|
|
25
|
+
import "../_node-chunks/chunk-ONZANTK7.js";
|
|
26
26
|
import {
|
|
27
27
|
detectPnp
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-5GQBCZKW.js";
|
|
29
29
|
import {
|
|
30
30
|
StorybookError
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-WANDQWBR.js";
|
|
32
32
|
import {
|
|
33
33
|
telemetry
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-R2IXPA5M.js";
|
|
35
|
+
import "../_node-chunks/chunk-YJM63TNA.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-Q4DOC7HF.js";
|
|
43
|
+
import "../_node-chunks/chunk-WAL24RZR.js";
|
|
44
|
+
import "../_node-chunks/chunk-HH2SN3H2.js";
|
|
45
45
|
import {
|
|
46
46
|
require_pretty_hrtime
|
|
47
|
-
} from "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
47
|
+
} from "../_node-chunks/chunk-GRQFL3SI.js";
|
|
48
|
+
import "../_node-chunks/chunk-EQLFU5BD.js";
|
|
49
49
|
import {
|
|
50
50
|
invariant,
|
|
51
51
|
up2 as up
|
|
52
|
-
} from "../_node-chunks/chunk-
|
|
52
|
+
} from "../_node-chunks/chunk-PFJRSBIJ.js";
|
|
53
53
|
import {
|
|
54
54
|
importModule,
|
|
55
55
|
resolvePackageDir
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
57
|
-
import "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-O7UZQAUS.js";
|
|
57
|
+
import "../_node-chunks/chunk-NKSLKQ5F.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-XS5OAKHK.js";
|
|
64
|
+
import "../_node-chunks/chunk-GSQVC33F.js";
|
|
65
65
|
import {
|
|
66
66
|
slash
|
|
67
|
-
} from "../_node-chunks/chunk-
|
|
67
|
+
} from "../_node-chunks/chunk-PF7HEE6F.js";
|
|
68
68
|
import {
|
|
69
69
|
require_dist
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-SLZHVDN6.js";
|
|
71
71
|
import {
|
|
72
72
|
require_lib,
|
|
73
73
|
require_src
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-HF7KKBBR.js";
|
|
75
75
|
import {
|
|
76
76
|
require_picocolors
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-LE232J7F.js";
|
|
78
78
|
import {
|
|
79
79
|
__commonJS,
|
|
80
80
|
__require,
|
|
81
81
|
__toESM
|
|
82
|
-
} from "../_node-chunks/chunk-
|
|
82
|
+
} from "../_node-chunks/chunk-DRM3MJ7Y.js";
|
|
83
83
|
|
|
84
84
|
// ../node_modules/tsconfig-paths/lib/filesystem.js
|
|
85
85
|
var require_filesystem = __commonJS({
|
|
@@ -5146,7 +5146,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5146
5146
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
5147
5147
|
if (cached)
|
|
5148
5148
|
return cached;
|
|
5149
|
-
let pathToSubIndex = {}, fullGlob = slash(join2(specifier.directory, specifier.files)), { globby } = await import("../_node-chunks/globby-
|
|
5149
|
+
let pathToSubIndex = {}, fullGlob = slash(join2(specifier.directory, specifier.files)), { globby } = await import("../_node-chunks/globby-YAVH4LQB.js"), files = await globby(fullGlob, {
|
|
5150
5150
|
absolute: !0,
|
|
5151
5151
|
cwd: workingDir,
|
|
5152
5152
|
...commonGlobOptions(fullGlob)
|
|
@@ -5335,7 +5335,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5335
5335
|
async extractDocs(specifier, absolutePath, projectTags = []) {
|
|
5336
5336
|
let relativePath = relative2(this.options.workingDir, absolutePath);
|
|
5337
5337
|
try {
|
|
5338
|
-
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-
|
|
5338
|
+
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-PSWG5NPT.js"), result = await analyze(content);
|
|
5339
5339
|
if (result.isTemplate)
|
|
5340
5340
|
return !1;
|
|
5341
5341
|
let absoluteImports = result.imports.map(
|
|
@@ -5595,7 +5595,7 @@ function print(p) {
|
|
|
5595
5595
|
// src/core-server/utils/get-builders.ts
|
|
5596
5596
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
5597
5597
|
async function getManagerBuilder() {
|
|
5598
|
-
return await import("../_node-chunks/builder-manager-
|
|
5598
|
+
return await import("../_node-chunks/builder-manager-AYK7HUZR.js");
|
|
5599
5599
|
}
|
|
5600
5600
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
5601
5601
|
return await importModule(resolvedPreviewBuilder);
|
|
@@ -5695,7 +5695,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
5695
5695
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
5696
5696
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
5697
5697
|
basename2(specifier.files)
|
|
5698
|
-
), { globby } = await import("../_node-chunks/globby-
|
|
5698
|
+
), { globby } = await import("../_node-chunks/globby-YAVH4LQB.js");
|
|
5699
5699
|
(await globby(slash(dirGlob), commonGlobOptions2(dirGlob))).forEach((filePath) => {
|
|
5700
5700
|
let fileImportPath = toImportPath(filePath);
|
|
5701
5701
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(specifier, fileImportPath, removed);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-GSQVC33F.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-PF7HEE6F.js";
|
|
18
|
+
import "../../_node-chunks/chunk-DRM3MJ7Y.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_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-JLFR6DEF.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-2372JZ52.js";
|
|
18
|
+
import "../../_node-chunks/chunk-ONZANTK7.js";
|
|
19
|
+
import "../../_node-chunks/chunk-5GQBCZKW.js";
|
|
20
|
+
import "../../_node-chunks/chunk-WANDQWBR.js";
|
|
21
21
|
import {
|
|
22
22
|
globalSettings
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-EQLFU5BD.js";
|
|
24
24
|
import {
|
|
25
25
|
invariant
|
|
26
|
-
} from "../../_node-chunks/chunk-
|
|
26
|
+
} from "../../_node-chunks/chunk-PFJRSBIJ.js";
|
|
27
27
|
import {
|
|
28
28
|
resolvePackageDir
|
|
29
|
-
} from "../../_node-chunks/chunk-
|
|
30
|
-
import "../../_node-chunks/chunk-
|
|
29
|
+
} from "../../_node-chunks/chunk-O7UZQAUS.js";
|
|
30
|
+
import "../../_node-chunks/chunk-NKSLKQ5F.js";
|
|
31
31
|
import {
|
|
32
32
|
isAbsolute,
|
|
33
33
|
join
|
|
34
|
-
} from "../../_node-chunks/chunk-
|
|
34
|
+
} from "../../_node-chunks/chunk-XS5OAKHK.js";
|
|
35
35
|
import {
|
|
36
36
|
loadConfig
|
|
37
|
-
} from "../../_node-chunks/chunk-
|
|
37
|
+
} from "../../_node-chunks/chunk-DWPXURLN.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-SLZHVDN6.js";
|
|
41
|
+
import "../../_node-chunks/chunk-N2XJQMXW.js";
|
|
42
|
+
import "../../_node-chunks/chunk-HF7KKBBR.js";
|
|
43
43
|
import {
|
|
44
44
|
require_picocolors
|
|
45
|
-
} from "../../_node-chunks/chunk-
|
|
45
|
+
} from "../../_node-chunks/chunk-LE232J7F.js";
|
|
46
46
|
import {
|
|
47
47
|
__commonJS,
|
|
48
48
|
__require,
|
|
49
49
|
__toESM
|
|
50
|
-
} from "../../_node-chunks/chunk-
|
|
50
|
+
} from "../../_node-chunks/chunk-DRM3MJ7Y.js";
|
|
51
51
|
|
|
52
52
|
// ../node_modules/shell-quote/quote.js
|
|
53
53
|
var require_quote = __commonJS({
|
|
@@ -514,7 +514,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
|
|
|
514
514
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
515
515
|
|
|
516
516
|
// src/core-server/utils/get-component-variable-name.ts
|
|
517
|
-
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-
|
|
517
|
+
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-7MOJ2FFW.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
|
|
518
518
|
|
|
519
519
|
// src/core-server/utils/new-story-templates/csf-factory-template.ts
|
|
520
520
|
async function getCsfFactoryTemplateForNewStoryFile(data) {
|
|
@@ -779,7 +779,7 @@ async function searchFiles({
|
|
|
779
779
|
ignoredFiles = IGNORED_FILES,
|
|
780
780
|
fileExtensions = FILE_EXTENSIONS
|
|
781
781
|
}) {
|
|
782
|
-
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
782
|
+
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-YAVH4LQB.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
|
|
783
783
|
`**/*${searchQuery}*.${fileExtensionsPattern}`,
|
|
784
784
|
`**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
|
|
785
785
|
];
|
package/dist/csf/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
mountDestructured,
|
|
11
11
|
normalizeArrays,
|
|
12
12
|
normalizeProjectAnnotations
|
|
13
|
-
} from "../_browser-chunks/chunk-
|
|
13
|
+
} from "../_browser-chunks/chunk-MDLQUVZN.js";
|
|
14
14
|
import "../_browser-chunks/chunk-IPA5A322.js";
|
|
15
15
|
import "../_browser-chunks/chunk-3OXGAGBE.js";
|
|
16
16
|
import {
|
|
@@ -1874,9 +1874,13 @@ function defineStory(input, meta) {
|
|
|
1874
1874
|
await compose().run(context);
|
|
1875
1875
|
},
|
|
1876
1876
|
test(name, overridesOrTestFn, testFn) {
|
|
1877
|
-
let annotations = typeof overridesOrTestFn != "function" ? overridesOrTestFn : {}, testFunction = typeof overridesOrTestFn != "function" ? testFn : overridesOrTestFn, play = mountDestructured(this.play) || mountDestructured(testFunction) ?
|
|
1878
|
-
|
|
1879
|
-
|
|
1877
|
+
let annotations = typeof overridesOrTestFn != "function" ? overridesOrTestFn : {}, testFunction = typeof overridesOrTestFn != "function" ? testFn : overridesOrTestFn, play = mountDestructured(this.play) || mountDestructured(testFunction) ? (
|
|
1878
|
+
// mount needs to be explicitly destructured
|
|
1879
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1880
|
+
async ({ mount, context }) => {
|
|
1881
|
+
await this.play?.(context), await testFunction(context);
|
|
1882
|
+
}
|
|
1883
|
+
) : async (context) => {
|
|
1880
1884
|
await this.play?.(context), await testFunction(context);
|
|
1881
1885
|
}, test = this.extend({
|
|
1882
1886
|
...annotations,
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-DWPXURLN.js";
|
|
42
|
+
import "../_node-chunks/chunk-SLZHVDN6.js";
|
|
43
|
+
import "../_node-chunks/chunk-DRM3MJ7Y.js";
|
|
44
44
|
export {
|
|
45
45
|
BadMetaError,
|
|
46
46
|
ConfigFile,
|
|
@@ -59912,7 +59912,7 @@ init_dist();
|
|
|
59912
59912
|
var import_memoizerific8 = __toESM(require_memoizerific(), 1), import_semver = __toESM(require_semver2(), 1);
|
|
59913
59913
|
|
|
59914
59914
|
// src/manager-api/version.ts
|
|
59915
|
-
var version = "10.1.
|
|
59915
|
+
var version = "10.1.11";
|
|
59916
59916
|
|
|
59917
59917
|
// src/manager-api/modules/versions.ts
|
|
59918
59918
|
var { VERSIONCHECK } = scope, getVersionCheckData = (0, import_memoizerific8.default)(1)(() => {
|
package/dist/manager/runtime.js
CHANGED
|
@@ -4893,7 +4893,11 @@ var TabErrorBoundary = class extends Component {
|
|
|
4893
4893
|
height: "100%",
|
|
4894
4894
|
display: "flex",
|
|
4895
4895
|
flexDirection: "column"
|
|
4896
|
-
})
|
|
4896
|
+
});
|
|
4897
|
+
function renderChild(RenderProp) {
|
|
4898
|
+
return react_default.createElement(RenderProp, { active: !0 });
|
|
4899
|
+
}
|
|
4900
|
+
var PreRenderAddons = ({ panels }) => Object.entries(panels).map(([k2, v2]) => react_default.createElement(StatelessTabPanel, { key: k2, name: k2, hasScrollbar: !1 }, react_default.createElement(TabErrorBoundary, { key: k2 }, renderChild(v2.render)))), AddonPanel2 = react_default.memo(({ panels, shortcuts, actions, selectedPanel = null, panelPosition = "right" }) => {
|
|
4897
4901
|
let { isDesktop, setMobilePanelOpen } = useLayout(), emptyState = react_default.createElement(
|
|
4898
4902
|
EmptyTabContent,
|
|
4899
4903
|
{
|
|
@@ -2329,7 +2329,7 @@ import { global as global8 } from "@storybook/global";
|
|
|
2329
2329
|
import semver from "semver";
|
|
2330
2330
|
|
|
2331
2331
|
// src/manager-api/version.ts
|
|
2332
|
-
var version = "10.1.
|
|
2332
|
+
var version = "10.1.11";
|
|
2333
2333
|
|
|
2334
2334
|
// src/manager-api/modules/versions.ts
|
|
2335
2335
|
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_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-XS5OAKHK.js";
|
|
20
|
+
import "../_node-chunks/chunk-DRM3MJ7Y.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_at6j9ae2j2t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_at6j9ae2j2t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_at6j9ae2j2t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_at6j9ae2j2t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_at6j9ae2j2t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_at6j9ae2j2t.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-GRQFL3SI.js";
|
|
26
|
+
import "../_node-chunks/chunk-LE232J7F.js";
|
|
27
|
+
import "../_node-chunks/chunk-DRM3MJ7Y.js";
|
|
28
28
|
var export_instance = import_npmlog.default;
|
|
29
29
|
export {
|
|
30
30
|
CLI_COLORS,
|