storybook 10.2.0-beta.2 → 10.2.0-beta.3
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-N2LWOX5D.js → builder-manager-JZHWQECC.js} +12 -12
- package/dist/_node-chunks/{camelcase-5FSYVCZS.js → camelcase-2NZ4BLHX.js} +7 -7
- package/dist/_node-chunks/{chunk-6BGWV535.js → chunk-4DTADLHM.js} +13 -13
- package/dist/_node-chunks/{chunk-7UVJF2ZL.js → chunk-5GZNNLKU.js} +7 -7
- package/dist/_node-chunks/{chunk-5PCZPYCJ.js → chunk-6OI3K47W.js} +9 -9
- package/dist/_node-chunks/{chunk-WXDEINTE.js → chunk-6RSHZM6F.js} +10 -10
- package/dist/_node-chunks/chunk-7GISRHHS.js +23 -0
- package/dist/_node-chunks/{chunk-GHY5BYFV.js → chunk-AAPM4ZUE.js} +7 -7
- package/dist/_node-chunks/{chunk-SBB2XM7N.js → chunk-APWBWPND.js} +7 -7
- package/dist/_node-chunks/chunk-BEZTSJFQ.js +61 -0
- package/dist/_node-chunks/{chunk-J6PIL7K6.js → chunk-DWLMCD64.js} +7 -7
- package/dist/_node-chunks/chunk-E63NMV7B.js +18 -0
- package/dist/_node-chunks/{chunk-2LRLWFCA.js → chunk-EQ3YUBKH.js} +16 -16
- package/dist/_node-chunks/{chunk-ZYMMEEUR.js → chunk-ESJWIQ4Z.js} +6 -6
- package/dist/_node-chunks/{chunk-HBFPHSFB.js → chunk-GQBGRYLZ.js} +6 -6
- package/dist/_node-chunks/{chunk-CQFU5LUX.js → chunk-JG6ODK5N.js} +8 -8
- package/dist/_node-chunks/{chunk-2LLPTUG2.js → chunk-JIOULQ32.js} +6 -6
- package/dist/_node-chunks/{chunk-FWIMIUHV.js → chunk-KBE3TTUR.js} +7 -7
- package/dist/_node-chunks/{chunk-XEBN3C26.js → chunk-KJE25OIE.js} +8 -8
- package/dist/_node-chunks/{chunk-M4QILBFD.js → chunk-LCBCTN4M.js} +7 -7
- package/dist/_node-chunks/{chunk-P2XLDRN4.js → chunk-P626DC5C.js} +20 -20
- package/dist/_node-chunks/{chunk-BTTNDYQ6.js → chunk-P6D6ID6E.js} +6 -6
- package/dist/_node-chunks/{chunk-5J2THD7E.js → chunk-QAIAKYZA.js} +7 -7
- package/dist/_node-chunks/{chunk-OJV6TVDO.js → chunk-R6FEBIT5.js} +7 -7
- package/dist/_node-chunks/{chunk-ZQQYNNTB.js → chunk-RNTIDFBO.js} +9 -9
- package/dist/_node-chunks/{chunk-PGC5F6XL.js → chunk-RZNT4K2G.js} +6 -6
- package/dist/_node-chunks/{chunk-4VD35T6X.js → chunk-VSP4OUV7.js} +6 -6
- package/dist/_node-chunks/{chunk-M62QO44I.js → chunk-WH4P3VKT.js} +6 -6
- package/dist/_node-chunks/{chunk-HODKH6S2.js → chunk-Y3SK4LWX.js} +6 -6
- package/dist/_node-chunks/{chunk-EABA3I6M.js → chunk-YDILOOT5.js} +36 -15
- package/dist/_node-chunks/{globby-SSZCWWA6.js → globby-MSU5U7ID.js} +9 -9
- package/dist/_node-chunks/{lib-L2HJYQNA.js → lib-OAHUNMVL.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-H4SZRJXB.js → mdx-N42X6CFJ-Q6YYOOB2.js} +8 -8
- package/dist/_node-chunks/{p-limit-EA5PER7Y.js → p-limit-RMVLANG5.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 +35 -35
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +67 -46
- 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 +68 -67
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-2WBHN5ZN.js +0 -23
- package/dist/_node-chunks/chunk-ADG4FYMH.js +0 -61
- package/dist/_node-chunks/chunk-J4YBZOS2.js +0 -18
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_a5rp5ea5r4w from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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-BEZTSJFQ.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-APWBWPND.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-Y3SK4LWX.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-5GZNNLKU.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-ESJWIQ4Z.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_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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-WH4P3VKT.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-5GZNNLKU.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-ESJWIQ4Z.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_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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-YDILOOT5.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-7GISRHHS.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-RNTIDFBO.js";
|
|
45
|
+
import "../_node-chunks/chunk-P6D6ID6E.js";
|
|
46
|
+
import "../_node-chunks/chunk-RZNT4K2G.js";
|
|
47
|
+
import "../_node-chunks/chunk-APWBWPND.js";
|
|
48
|
+
import "../_node-chunks/chunk-Y3SK4LWX.js";
|
|
49
|
+
import "../_node-chunks/chunk-5GZNNLKU.js";
|
|
50
|
+
import "../_node-chunks/chunk-6OI3K47W.js";
|
|
51
|
+
import "../_node-chunks/chunk-LCBCTN4M.js";
|
|
52
|
+
import "../_node-chunks/chunk-R6FEBIT5.js";
|
|
53
|
+
import "../_node-chunks/chunk-ESJWIQ4Z.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_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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-P626DC5C.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-BEZTSJFQ.js";
|
|
109
|
+
import "../_node-chunks/chunk-QAIAKYZA.js";
|
|
110
|
+
import "../_node-chunks/chunk-KJE25OIE.js";
|
|
111
|
+
import "../_node-chunks/chunk-P6D6ID6E.js";
|
|
112
112
|
import {
|
|
113
113
|
groupBy,
|
|
114
114
|
invariant
|
|
115
|
-
} from "../_node-chunks/chunk-
|
|
115
|
+
} from "../_node-chunks/chunk-RZNT4K2G.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-APWBWPND.js";
|
|
122
|
+
import "../_node-chunks/chunk-Y3SK4LWX.js";
|
|
123
|
+
import "../_node-chunks/chunk-GQBGRYLZ.js";
|
|
124
|
+
import "../_node-chunks/chunk-KBE3TTUR.js";
|
|
125
|
+
import "../_node-chunks/chunk-5GZNNLKU.js";
|
|
126
|
+
import "../_node-chunks/chunk-R6FEBIT5.js";
|
|
127
|
+
import "../_node-chunks/chunk-ESJWIQ4Z.js";
|
|
128
128
|
export {
|
|
129
129
|
DEFAULT_FILES_PATTERN,
|
|
130
130
|
FileSystemCache,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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
|
toEstree
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-AAPM4ZUE.js";
|
|
15
15
|
import {
|
|
16
16
|
StatusTypeIdMismatchError
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-6RSHZM6F.js";
|
|
18
18
|
import {
|
|
19
19
|
debounce,
|
|
20
20
|
generateStoryFile,
|
|
@@ -25,69 +25,69 @@ import {
|
|
|
25
25
|
sendTelemetryError,
|
|
26
26
|
useStatics,
|
|
27
27
|
withTelemetry
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-EQ3YUBKH.js";
|
|
29
29
|
import {
|
|
30
30
|
detectPnp
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
32
|
-
import "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-7GISRHHS.js";
|
|
32
|
+
import "../_node-chunks/chunk-DWLMCD64.js";
|
|
33
33
|
import {
|
|
34
34
|
StorybookError
|
|
35
|
-
} from "../_node-chunks/chunk-
|
|
35
|
+
} from "../_node-chunks/chunk-VSP4OUV7.js";
|
|
36
36
|
import {
|
|
37
37
|
telemetry
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-4DTADLHM.js";
|
|
39
|
+
import "../_node-chunks/chunk-E63NMV7B.js";
|
|
40
40
|
import {
|
|
41
41
|
optionalEnvToBoolean,
|
|
42
42
|
require_cross_spawn,
|
|
43
43
|
resolveImport,
|
|
44
44
|
supportedExtensions,
|
|
45
45
|
userOrAutoTitleFromSpecifier
|
|
46
|
-
} from "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
46
|
+
} from "../_node-chunks/chunk-P626DC5C.js";
|
|
47
|
+
import "../_node-chunks/chunk-BEZTSJFQ.js";
|
|
48
|
+
import "../_node-chunks/chunk-QAIAKYZA.js";
|
|
49
49
|
import {
|
|
50
50
|
require_pretty_hrtime
|
|
51
|
-
} from "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
51
|
+
} from "../_node-chunks/chunk-KJE25OIE.js";
|
|
52
|
+
import "../_node-chunks/chunk-JIOULQ32.js";
|
|
53
|
+
import "../_node-chunks/chunk-RNTIDFBO.js";
|
|
54
54
|
import {
|
|
55
55
|
invariant,
|
|
56
56
|
up2 as up
|
|
57
|
-
} from "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
57
|
+
} from "../_node-chunks/chunk-P6D6ID6E.js";
|
|
58
|
+
import "../_node-chunks/chunk-RZNT4K2G.js";
|
|
59
59
|
import {
|
|
60
60
|
importModule,
|
|
61
61
|
resolvePackageDir
|
|
62
|
-
} from "../_node-chunks/chunk-
|
|
62
|
+
} from "../_node-chunks/chunk-APWBWPND.js";
|
|
63
63
|
import {
|
|
64
64
|
dirname,
|
|
65
65
|
join,
|
|
66
66
|
relative,
|
|
67
67
|
resolve
|
|
68
|
-
} from "../_node-chunks/chunk-
|
|
68
|
+
} from "../_node-chunks/chunk-Y3SK4LWX.js";
|
|
69
69
|
import {
|
|
70
70
|
slash
|
|
71
|
-
} from "../_node-chunks/chunk-
|
|
72
|
-
import "../_node-chunks/chunk-
|
|
71
|
+
} from "../_node-chunks/chunk-GQBGRYLZ.js";
|
|
72
|
+
import "../_node-chunks/chunk-KBE3TTUR.js";
|
|
73
73
|
import {
|
|
74
74
|
Tag
|
|
75
|
-
} from "../_node-chunks/chunk-
|
|
75
|
+
} from "../_node-chunks/chunk-JG6ODK5N.js";
|
|
76
76
|
import {
|
|
77
77
|
require_dist
|
|
78
|
-
} from "../_node-chunks/chunk-
|
|
78
|
+
} from "../_node-chunks/chunk-5GZNNLKU.js";
|
|
79
79
|
import {
|
|
80
80
|
require_lib,
|
|
81
81
|
require_src
|
|
82
|
-
} from "../_node-chunks/chunk-
|
|
82
|
+
} from "../_node-chunks/chunk-LCBCTN4M.js";
|
|
83
83
|
import {
|
|
84
84
|
require_picocolors
|
|
85
|
-
} from "../_node-chunks/chunk-
|
|
85
|
+
} from "../_node-chunks/chunk-R6FEBIT5.js";
|
|
86
86
|
import {
|
|
87
87
|
__commonJS,
|
|
88
88
|
__require,
|
|
89
89
|
__toESM
|
|
90
|
-
} from "../_node-chunks/chunk-
|
|
90
|
+
} from "../_node-chunks/chunk-ESJWIQ4Z.js";
|
|
91
91
|
|
|
92
92
|
// ../../node_modules/glob-to-regexp/index.js
|
|
93
93
|
var require_glob_to_regexp = __commonJS({
|
|
@@ -4544,7 +4544,7 @@ function print(p) {
|
|
|
4544
4544
|
// src/core-server/utils/get-builders.ts
|
|
4545
4545
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
4546
4546
|
async function getManagerBuilder() {
|
|
4547
|
-
return await import("../_node-chunks/builder-manager-
|
|
4547
|
+
return await import("../_node-chunks/builder-manager-JZHWQECC.js");
|
|
4548
4548
|
}
|
|
4549
4549
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
4550
4550
|
return await importModule(resolvedPreviewBuilder);
|
|
@@ -4608,7 +4608,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
4608
4608
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
4609
4609
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
4610
4610
|
basename(specifier.files)
|
|
4611
|
-
), { globby } = await import("../_node-chunks/globby-
|
|
4611
|
+
), { globby } = await import("../_node-chunks/globby-MSU5U7ID.js");
|
|
4612
4612
|
(await globby(slash(dirGlob), commonGlobOptions(dirGlob))).forEach((filePath) => {
|
|
4613
4613
|
let fileImportPath = toImportPath(filePath);
|
|
4614
4614
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(fileImportPath, removed);
|
|
@@ -5627,7 +5627,7 @@ var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute
|
|
|
5627
5627
|
isTemplate: !1,
|
|
5628
5628
|
metaTags: void 0,
|
|
5629
5629
|
imports: void 0
|
|
5630
|
-
}, { compile } = await import("../_node-chunks/mdx-N42X6CFJ-
|
|
5630
|
+
}, { compile } = await import("../_node-chunks/mdx-N42X6CFJ-Q6YYOOB2.js");
|
|
5631
5631
|
await compile(code, {
|
|
5632
5632
|
rehypePlugins: [[plugin, store]]
|
|
5633
5633
|
});
|
|
@@ -5772,7 +5772,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5772
5772
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
5773
5773
|
if (cached)
|
|
5774
5774
|
return cached;
|
|
5775
|
-
let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-
|
|
5775
|
+
let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-MSU5U7ID.js"), files = await globby(globPattern, {
|
|
5776
5776
|
absolute: !0,
|
|
5777
5777
|
cwd: globCwd,
|
|
5778
5778
|
...commonGlobOptions2(globPattern)
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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
|
slash
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-GQBGRYLZ.js";
|
|
15
15
|
import {
|
|
16
16
|
glob
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-KBE3TTUR.js";
|
|
18
|
+
import "../../_node-chunks/chunk-ESJWIQ4Z.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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-YDILOOT5.js";
|
|
13
13
|
import {
|
|
14
14
|
doesStoryFileExist,
|
|
15
15
|
generateStoryFile,
|
|
@@ -17,47 +17,47 @@ import {
|
|
|
17
17
|
parseStaticDir,
|
|
18
18
|
sendTelemetryError,
|
|
19
19
|
throttle
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
21
|
-
import "../../_node-chunks/chunk-
|
|
22
|
-
import "../../_node-chunks/chunk-
|
|
23
|
-
import "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-EQ3YUBKH.js";
|
|
21
|
+
import "../../_node-chunks/chunk-7GISRHHS.js";
|
|
22
|
+
import "../../_node-chunks/chunk-DWLMCD64.js";
|
|
23
|
+
import "../../_node-chunks/chunk-VSP4OUV7.js";
|
|
24
24
|
import {
|
|
25
25
|
isI18nPackage,
|
|
26
26
|
isRouterPackage,
|
|
27
27
|
isStateManagementPackage,
|
|
28
28
|
isStylingPackage
|
|
29
|
-
} from "../../_node-chunks/chunk-
|
|
29
|
+
} from "../../_node-chunks/chunk-JIOULQ32.js";
|
|
30
30
|
import {
|
|
31
31
|
globalSettings
|
|
32
|
-
} from "../../_node-chunks/chunk-
|
|
32
|
+
} from "../../_node-chunks/chunk-RNTIDFBO.js";
|
|
33
33
|
import {
|
|
34
34
|
invariant
|
|
35
|
-
} from "../../_node-chunks/chunk-
|
|
36
|
-
import "../../_node-chunks/chunk-
|
|
35
|
+
} from "../../_node-chunks/chunk-P6D6ID6E.js";
|
|
36
|
+
import "../../_node-chunks/chunk-RZNT4K2G.js";
|
|
37
37
|
import {
|
|
38
38
|
resolvePackageDir
|
|
39
|
-
} from "../../_node-chunks/chunk-
|
|
39
|
+
} from "../../_node-chunks/chunk-APWBWPND.js";
|
|
40
40
|
import {
|
|
41
41
|
isAbsolute,
|
|
42
42
|
join
|
|
43
|
-
} from "../../_node-chunks/chunk-
|
|
43
|
+
} from "../../_node-chunks/chunk-Y3SK4LWX.js";
|
|
44
44
|
import {
|
|
45
45
|
glob
|
|
46
|
-
} from "../../_node-chunks/chunk-
|
|
47
|
-
import "../../_node-chunks/chunk-
|
|
46
|
+
} from "../../_node-chunks/chunk-KBE3TTUR.js";
|
|
47
|
+
import "../../_node-chunks/chunk-JG6ODK5N.js";
|
|
48
48
|
import {
|
|
49
49
|
require_dist
|
|
50
|
-
} from "../../_node-chunks/chunk-
|
|
51
|
-
import "../../_node-chunks/chunk-
|
|
52
|
-
import "../../_node-chunks/chunk-
|
|
50
|
+
} from "../../_node-chunks/chunk-5GZNNLKU.js";
|
|
51
|
+
import "../../_node-chunks/chunk-6OI3K47W.js";
|
|
52
|
+
import "../../_node-chunks/chunk-LCBCTN4M.js";
|
|
53
53
|
import {
|
|
54
54
|
require_picocolors
|
|
55
|
-
} from "../../_node-chunks/chunk-
|
|
55
|
+
} from "../../_node-chunks/chunk-R6FEBIT5.js";
|
|
56
56
|
import {
|
|
57
57
|
__commonJS,
|
|
58
58
|
__require,
|
|
59
59
|
__toESM
|
|
60
|
-
} from "../../_node-chunks/chunk-
|
|
60
|
+
} from "../../_node-chunks/chunk-ESJWIQ4Z.js";
|
|
61
61
|
|
|
62
62
|
// ../../node_modules/shell-quote/quote.js
|
|
63
63
|
var require_quote = __commonJS({
|
|
@@ -650,7 +650,7 @@ async function searchFiles({
|
|
|
650
650
|
ignoredFiles = IGNORED_FILES,
|
|
651
651
|
fileExtensions = FILE_EXTENSIONS
|
|
652
652
|
}) {
|
|
653
|
-
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
653
|
+
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-MSU5U7ID.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
|
|
654
654
|
`**/*${searchQuery}*.${fileExtensionsPattern}`,
|
|
655
655
|
`**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
|
|
656
656
|
];
|
package/dist/csf/index.d.ts
CHANGED
|
@@ -1195,4 +1195,4 @@ declare const parseKind: (kind: string, { rootSeparator, groupSeparator }: Separ
|
|
|
1195
1195
|
/** Combine a set of project / meta / story tags, removing duplicates and handling negations. */
|
|
1196
1196
|
declare const combineTags: (...tags: string[]) => string[];
|
|
1197
1197
|
|
|
1198
|
-
export { type AddonTypes, type AfterEach, type AnnotatedStoryFn, type AnyFramework, type ArgTypes, type ArgTypesEnhancer, type Args, type ArgsEnhancer, type ArgsFromMeta, type ArgsStoryFn, type BaseAnnotations, type BeforeAll, type BeforeEach, type Canvas, type CleanupCallback, type ComponentAnnotations, type ComponentId, type ComponentTitle, type Conditional, type CoreTypes, type DecoratorApplicator, type DecoratorFunction, type GlobalTypes, type Globals, type IncludeExcludeOptions, type InferTypes, type InputType, type LegacyAnnotatedStoryFn, type LegacyStoryAnnotationsOrFn, type LegacyStoryFn, type LoaderFunction, type Meta, type Parameters, type PartialStoryFn, type PlayFunction, type PlayFunctionContext, type Preview, type PreviewAddon, type ProjectAnnotations, type Renderer, type SBArrayType, type SBEnumType, type SBIntersectionType, type SBLiteralType, type SBNodeType, type SBObjectType, type SBOtherType, type SBScalarType, type SBTupleType, type SBType, type SBUnionType, type SeparatorOptions, type StepFunction, type StepLabel, type StepRunner, type Story, type StoryAnnotations, type StoryAnnotationsOrFn, type StoryContext, type StoryContextForEnhancers, type StoryContextForLoaders, type StoryContextUpdate, type StoryFn, type StoryId, type StoryIdentifier, type StoryKind, type StoryName, type StrictArgTypes, type StrictArgs, type StrictGlobalTypes, type StrictInputType, type StrictParameters, type Tag, type TestFunction, type ViewMode, combineTags, definePreview, definePreviewAddon, getCoreAnnotations, getStoryChildren, includeConditionalArg, isExportStory, isMeta, isPreview, isStory, parseKind, sanitize, storyNameFromExport, toId, toTestId };
|
|
1198
|
+
export { type ActionsTypes, type AddonTypes, type AfterEach, type AnnotatedStoryFn, type AnyFramework, type ArgTypes, type ArgTypesEnhancer, type Args, type ArgsEnhancer, type ArgsFromMeta, type ArgsStoryFn, type BackgroundTypes, type BackgroundsGlobals, type BaseAnnotations, type BeforeAll, type BeforeEach, type Canvas, type CleanupCallback, type ComponentAnnotations, type ComponentId, type ComponentTitle, type Conditional, type ControlsTypes, type CoreTypes, type DecoratorApplicator, type DecoratorFunction, type GlobalTypes, type Globals, type HighlightTypes, type IncludeExcludeOptions, type InferTypes, type InputType, type LegacyAnnotatedStoryFn, type LegacyStoryAnnotationsOrFn, type LegacyStoryFn, type LoaderFunction, type MeasureTypes, type Meta, type OutlineTypes, type Parameters, type PartialStoryFn, type PlayFunction, type PlayFunctionContext, type Preview, type PreviewAddon, type ProjectAnnotations, type Renderer, type SBArrayType, type SBEnumType, type SBIntersectionType, type SBLiteralType, type SBNodeType, type SBObjectType, type SBOtherType, type SBScalarType, type SBTupleType, type SBType, type SBUnionType, type SeparatorOptions, type StepFunction, type StepLabel, type StepRunner, type Story, type StoryAnnotations, type StoryAnnotationsOrFn, type StoryContext, type StoryContextForEnhancers, type StoryContextForLoaders, type StoryContextUpdate, type StoryFn, type StoryId, type StoryIdentifier, type StoryKind, type StoryName, type StrictArgTypes, type StrictArgs, type StrictGlobalTypes, type StrictInputType, type StrictParameters, type Tag, type TestFunction, type TestTypes, type ViewMode, type ViewportGlobals, type ViewportTypes, combineTags, definePreview, definePreviewAddon, getCoreAnnotations, getStoryChildren, includeConditionalArg, isExportStory, isMeta, isPreview, isStory, parseKind, sanitize, storyNameFromExport, toId, toTestId };
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -39,9 +39,9 @@ import {
|
|
|
39
39
|
vitestTransform,
|
|
40
40
|
writeConfig,
|
|
41
41
|
writeCsf
|
|
42
|
-
} from "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
42
|
+
} from "../_node-chunks/chunk-JG6ODK5N.js";
|
|
43
|
+
import "../_node-chunks/chunk-5GZNNLKU.js";
|
|
44
|
+
import "../_node-chunks/chunk-ESJWIQ4Z.js";
|
|
45
45
|
export {
|
|
46
46
|
BadMetaError,
|
|
47
47
|
ConfigFile,
|
|
@@ -62174,7 +62174,7 @@ init_dist();
|
|
|
62174
62174
|
var import_memoizerific8 = __toESM(require_memoizerific(), 1), import_semver = __toESM(require_semver2(), 1);
|
|
62175
62175
|
|
|
62176
62176
|
// src/manager-api/version.ts
|
|
62177
|
-
var version = "10.2.0-beta.
|
|
62177
|
+
var version = "10.2.0-beta.3";
|
|
62178
62178
|
|
|
62179
62179
|
// src/manager-api/modules/versions.ts
|
|
62180
62180
|
var { VERSIONCHECK } = scope, getVersionCheckData = (0, import_memoizerific8.default)(1)(() => {
|