storybook 10.1.0-beta.4 → 10.1.0-beta.5
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/{Color-FTG7SQDA.js → Color-TNPFN3FC.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-LMROHDUP.js → WithTooltip-IO6J4KBT.js} +2 -2
- package/dist/_node-chunks/{builder-manager-T3A7QLUO.js → builder-manager-DKZOFL36.js} +13 -13
- package/dist/_node-chunks/{camelcase-WMMYRUH4.js → camelcase-OYLEV2Q6.js} +7 -7
- package/dist/_node-chunks/{chunk-HT32VUX7.js → chunk-3R7S7OBR.js} +7 -7
- package/dist/_node-chunks/chunk-3SEQ2GLE.js +20 -0
- package/dist/_node-chunks/{chunk-RSJK2D7X.js → chunk-3VCEM4KX.js} +6 -6
- package/dist/_node-chunks/{chunk-PMZEJJNX.js → chunk-5ZLC6NEA.js} +7 -7
- package/dist/_node-chunks/{chunk-TC7X5DN2.js → chunk-AWAJ6MNP.js} +10 -10
- package/dist/_node-chunks/chunk-BQ4MHK5P.js +23 -0
- package/dist/_node-chunks/{chunk-JYAXWHGH.js → chunk-DKJWN7NS.js} +9 -9
- package/dist/_node-chunks/{chunk-WGBDDI6W.js → chunk-FPWWB56H.js} +8 -8
- package/dist/_node-chunks/{chunk-KAVR7KJP.js → chunk-IKGF3NTB.js} +20 -20
- package/dist/_node-chunks/{chunk-67VVNDJJ.js → chunk-ITQ5LAB5.js} +6 -6
- package/dist/_node-chunks/{chunk-3MVB5IZX.js → chunk-LE77BUC7.js} +12 -12
- package/dist/_node-chunks/{chunk-EJPOXNSG.js → chunk-LGS44CQ3.js} +14 -14
- package/dist/_node-chunks/chunk-LJNPOMKR.js +61 -0
- package/dist/_node-chunks/{chunk-VN7SAKM4.js → chunk-O4VEAB4L.js} +6 -6
- package/dist/_node-chunks/{chunk-KI6KY2ZN.js → chunk-O6MAIGNQ.js} +13 -13
- package/dist/_node-chunks/chunk-P5K26BIZ.js +18 -0
- package/dist/_node-chunks/{chunk-CM44JL5Z.js → chunk-Q6Q7GGYG.js} +6 -6
- package/dist/_node-chunks/{chunk-HDMHX5QM.js → chunk-RV4TIB2A.js} +7 -7
- package/dist/_node-chunks/{chunk-VW25O2YM.js → chunk-S3FEVISB.js} +6 -6
- package/dist/_node-chunks/{chunk-CSFSQ2I4.js → chunk-U55VVTKI.js} +7 -7
- package/dist/_node-chunks/{chunk-YTTOTUWC.js → chunk-UAAE3CFN.js} +6 -6
- package/dist/_node-chunks/{chunk-EFN4RLWH.js → chunk-ULRPJDQG.js} +7 -7
- package/dist/_node-chunks/{chunk-TBYOSPAV.js → chunk-VEUCEGV5.js} +6 -6
- package/dist/_node-chunks/{chunk-C6RLDV2P.js → chunk-VVQNCKWG.js} +8 -8
- package/dist/_node-chunks/{chunk-EFTR6VSG.js → chunk-WP2HYYIX.js} +9 -9
- package/dist/_node-chunks/{chunk-5DEFF2GB.js → chunk-WP55QOFC.js} +7 -7
- package/dist/_node-chunks/{chunk-TCLOOFNE.js → chunk-WXJLEHGP.js} +7 -7
- package/dist/_node-chunks/{chunk-NORFPLB6.js → chunk-XEZ4YPF3.js} +7 -7
- package/dist/_node-chunks/{dist-L6XLFQOU.js → dist-CYJGIQZ4.js} +9 -9
- package/dist/_node-chunks/{globby-7IXLXFEA.js → globby-QGM6GHYQ.js} +9 -9
- package/dist/_node-chunks/{lib-T5L2ZSAG.js → lib-R7D5AM5W.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-GOOKUTSA.js → mdx-N42X6CFJ-WSYY7WM6.js} +8 -8
- package/dist/_node-chunks/{p-limit-7GKATDEW.js → p-limit-S3E66PR5.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/components/index.d.ts +131 -117
- package/dist/components/index.js +514 -449
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-manager.js +2 -2
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +7207 -7142
- package/dist/manager/runtime.js +156 -232
- package/dist/manager-api/index.d.ts +178 -178
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-IQFN7VY4.js +0 -23
- package/dist/_node-chunks/chunk-K7U3BSTR.js +0 -61
- package/dist/_node-chunks/chunk-YN3C74EA.js +0 -18
- package/dist/_node-chunks/chunk-YZ3XRP4N.js +0 -20
|
@@ -862,7 +862,7 @@ var Wrapper = styled.div({
|
|
|
862
862
|
padding: 3,
|
|
863
863
|
marginTop: 5,
|
|
864
864
|
width: 200
|
|
865
|
-
}), swatchBackground = `url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')`, SwatchColor = styled(Button)(
|
|
865
|
+
}), swatchBackground = (isDark) => `url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity="0.05" fill="${isDark ? "white" : "black"}"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')`, SwatchColor = styled(Button)(
|
|
866
866
|
({ value, selected, theme }) => ({
|
|
867
867
|
width: 16,
|
|
868
868
|
height: 16,
|
|
@@ -872,7 +872,7 @@ var Wrapper = styled.div({
|
|
|
872
872
|
"&, &:hover": {
|
|
873
873
|
background: "unset",
|
|
874
874
|
backgroundColor: "unset",
|
|
875
|
-
backgroundImage: `linear-gradient(${value}, ${value}), ${swatchBackground
|
|
875
|
+
backgroundImage: `linear-gradient(${value}, ${value}), ${swatchBackground(theme.base === "dark")}`
|
|
876
876
|
}
|
|
877
877
|
})
|
|
878
878
|
), Input = styled(Form.Input)(({ theme }) => ({
|
|
@@ -1640,9 +1640,9 @@ var TargetContainer = styled.div`
|
|
|
1640
1640
|
}), React7.createElement(WithTooltipPure, { ...rest, visible: tooltipShown, onVisibleChange: onVisibilityChange });
|
|
1641
1641
|
}, DeprecatedPure = (props) => (deprecate(
|
|
1642
1642
|
"WithTooltipPure is deprecated and will be removed in Storybook 11. Please use WithTooltip instead."
|
|
1643
|
-
), React7.createElement(WithTooltipPure, { ...props })), DeprecatedState = (props) => (deprecate(
|
|
1643
|
+
), React7.createElement(WithTooltipPure, { "data-deprecated": "WithTooltipPure", ...props })), DeprecatedState = (props) => (deprecate(
|
|
1644
1644
|
"WithToolTipState is deprecated and will be removed in Storybook 11. Please use WithTooltip instead."
|
|
1645
|
-
), React7.createElement(WithToolTipState, { ...props }));
|
|
1645
|
+
), React7.createElement(WithToolTipState, { "data-deprecated": "WithToolTipState", ...props }));
|
|
1646
1646
|
export {
|
|
1647
1647
|
Tooltip,
|
|
1648
1648
|
DeprecatedState as WithToolTipState,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q6Q7GGYG.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ULRPJDQG.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XEZ4YPF3.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VEUCEGV5.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3SEQ2GLE.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-S3FEVISB.js";
|
|
36
36
|
|
|
37
37
|
// ../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1053,6 +1053,7 @@ var exports_default = {
|
|
|
1053
1053
|
"A",
|
|
1054
1054
|
"AbstractToolbar",
|
|
1055
1055
|
"ActionBar",
|
|
1056
|
+
"ActionList",
|
|
1056
1057
|
"AddonPanel",
|
|
1057
1058
|
"Badge",
|
|
1058
1059
|
"Bar",
|
|
@@ -1081,7 +1082,6 @@ var exports_default = {
|
|
|
1081
1082
|
"LI",
|
|
1082
1083
|
"Link",
|
|
1083
1084
|
"ListItem",
|
|
1084
|
-
"Listbox",
|
|
1085
1085
|
"Loader",
|
|
1086
1086
|
"Modal",
|
|
1087
1087
|
"ModalDecorator",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.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 "./chunk-
|
|
12
|
+
import "./chunk-S3FEVISB.js";
|
|
13
13
|
|
|
14
14
|
// ../node_modules/camelcase/index.js
|
|
15
15
|
var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, SEPARATORS = /[_.\- ]+/, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_a6gceaz3qeh.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S3FEVISB.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// ../node_modules/slash/index.js
|
|
14
|
+
function slash(path) {
|
|
15
|
+
return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
slash
|
|
20
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_a6gceaz3qeh.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S3FEVISB.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/ms/index.js
|
|
18
18
|
var require_ms = __commonJS({
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.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
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3VCEM4KX.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RV4TIB2A.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WXJLEHGP.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S3FEVISB.js";
|
|
24
24
|
|
|
25
25
|
// src/server-errors.ts
|
|
26
26
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
any
|
|
14
|
+
} from "./chunk-UAAE3CFN.js";
|
|
15
|
+
|
|
16
|
+
// src/cli/detect.ts
|
|
17
|
+
async function detectPnp() {
|
|
18
|
+
return !!any([".pnp.js", ".pnp.cjs"]);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
detectPnp
|
|
23
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.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
|
invariant
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O4VEAB4L.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RV4TIB2A.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S3FEVISB.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_picocolors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WXJLEHGP.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S3FEVISB.js";
|
|
21
21
|
|
|
22
22
|
// ../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.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
|
versions_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LJNPOMKR.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3R7S7OBR.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FPWWB56H.js";
|
|
21
21
|
import {
|
|
22
22
|
any,
|
|
23
23
|
from,
|
|
24
24
|
invariant,
|
|
25
25
|
up,
|
|
26
26
|
up2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UAAE3CFN.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XEZ4YPF3.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VEUCEGV5.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-U55VVTKI.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3SEQ2GLE.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-RV4TIB2A.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-WXJLEHGP.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__esm,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
__require,
|
|
57
57
|
__toCommonJS,
|
|
58
58
|
__toESM
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-S3FEVISB.js";
|
|
60
60
|
|
|
61
61
|
// ../node_modules/resolve/lib/homedir.js
|
|
62
62
|
var require_homedir = __commonJS({
|
|
@@ -11086,7 +11086,7 @@ function normalizeStoryPath(filename) {
|
|
|
11086
11086
|
|
|
11087
11087
|
// src/common/utils/envs.ts
|
|
11088
11088
|
async function loadEnvs(options = {}) {
|
|
11089
|
-
let { getEnvironment } = await import("./lib-
|
|
11089
|
+
let { getEnvironment } = await import("./lib-R7D5AM5W.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
|
|
11090
11090
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11091
11091
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11092
11092
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -14727,7 +14727,7 @@ async function scanAndTransformFiles({
|
|
|
14727
14727
|
initialValue: defaultGlob
|
|
14728
14728
|
});
|
|
14729
14729
|
logger13.log("Scanning for affected files...");
|
|
14730
|
-
let globby = (await import("./globby-
|
|
14730
|
+
let globby = (await import("./globby-QGM6GHYQ.js")).globby, sourceFiles = await globby([glob2], {
|
|
14731
14731
|
...commonGlobOptions(""),
|
|
14732
14732
|
ignore: ["**/node_modules/**"],
|
|
14733
14733
|
dot: !0,
|
|
@@ -14748,7 +14748,7 @@ function transformImports(source, renamedImports) {
|
|
|
14748
14748
|
return hasChanges ? transformed : null;
|
|
14749
14749
|
}
|
|
14750
14750
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
14751
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
14751
|
+
let errors = [], { default: pLimit } = await import("./p-limit-S3E66PR5.js"), limit = pLimit(10);
|
|
14752
14752
|
return await Promise.all(
|
|
14753
14753
|
files.map(
|
|
14754
14754
|
(file) => limit(async () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
any,
|
|
14
14
|
invariant,
|
|
15
15
|
up2 as up
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UAAE3CFN.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XEZ4YPF3.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RV4TIB2A.js";
|
|
23
23
|
import {
|
|
24
24
|
babelParse,
|
|
25
25
|
recast,
|
|
26
26
|
traverse,
|
|
27
27
|
types
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WP2HYYIX.js";
|
|
29
29
|
import {
|
|
30
30
|
require_picocolors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WXJLEHGP.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S3FEVISB.js";
|
|
37
37
|
|
|
38
38
|
// ../node_modules/esprima/dist/esprima.js
|
|
39
39
|
var require_esprima = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.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
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P5K26BIZ.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,28 +19,28 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IKGF3NTB.js";
|
|
23
23
|
import {
|
|
24
24
|
getSessionId,
|
|
25
25
|
nanoid,
|
|
26
26
|
set
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ITQ5LAB5.js";
|
|
28
28
|
import {
|
|
29
29
|
globalSettings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DKJWN7NS.js";
|
|
31
31
|
import {
|
|
32
32
|
resolvePackageDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XEZ4YPF3.js";
|
|
34
34
|
import {
|
|
35
35
|
slash
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3SEQ2GLE.js";
|
|
37
37
|
import {
|
|
38
38
|
require_dist
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RV4TIB2A.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__toESM
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-S3FEVISB.js";
|
|
44
44
|
|
|
45
45
|
// ../node_modules/fetch-retry/index.js
|
|
46
46
|
var require_fetch_retry = __commonJS({
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1232wqooqc3l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1232wqooqc3l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1232wqooqc3l from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1232wqooqc3l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1232wqooqc3l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/common/versions.ts
|
|
14
|
+
var versions_default = {
|
|
15
|
+
"@storybook/addon-a11y": "10.1.0-beta.5",
|
|
16
|
+
"@storybook/addon-docs": "10.1.0-beta.5",
|
|
17
|
+
"@storybook/addon-links": "10.1.0-beta.5",
|
|
18
|
+
"@storybook/addon-onboarding": "10.1.0-beta.5",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.1.0-beta.5",
|
|
20
|
+
"@storybook/addon-themes": "10.1.0-beta.5",
|
|
21
|
+
"@storybook/addon-vitest": "10.1.0-beta.5",
|
|
22
|
+
"@storybook/builder-vite": "10.1.0-beta.5",
|
|
23
|
+
"@storybook/builder-webpack5": "10.1.0-beta.5",
|
|
24
|
+
storybook: "10.1.0-beta.5",
|
|
25
|
+
"@storybook/angular": "10.1.0-beta.5",
|
|
26
|
+
"@storybook/ember": "10.1.0-beta.5",
|
|
27
|
+
"@storybook/html-vite": "10.1.0-beta.5",
|
|
28
|
+
"@storybook/nextjs": "10.1.0-beta.5",
|
|
29
|
+
"@storybook/nextjs-vite": "10.1.0-beta.5",
|
|
30
|
+
"@storybook/preact-vite": "10.1.0-beta.5",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.1.0-beta.5",
|
|
32
|
+
"@storybook/react-vite": "10.1.0-beta.5",
|
|
33
|
+
"@storybook/react-webpack5": "10.1.0-beta.5",
|
|
34
|
+
"@storybook/server-webpack5": "10.1.0-beta.5",
|
|
35
|
+
"@storybook/svelte-vite": "10.1.0-beta.5",
|
|
36
|
+
"@storybook/sveltekit": "10.1.0-beta.5",
|
|
37
|
+
"@storybook/vue3-vite": "10.1.0-beta.5",
|
|
38
|
+
"@storybook/web-components-vite": "10.1.0-beta.5",
|
|
39
|
+
sb: "10.1.0-beta.5",
|
|
40
|
+
"@storybook/cli": "10.1.0-beta.5",
|
|
41
|
+
"@storybook/codemod": "10.1.0-beta.5",
|
|
42
|
+
"@storybook/core-webpack": "10.1.0-beta.5",
|
|
43
|
+
"create-storybook": "10.1.0-beta.5",
|
|
44
|
+
"@storybook/csf-plugin": "10.1.0-beta.5",
|
|
45
|
+
"eslint-plugin-storybook": "10.1.0-beta.5",
|
|
46
|
+
"@storybook/react-dom-shim": "10.1.0-beta.5",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.1.0-beta.5",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.1.0-beta.5",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.1.0-beta.5",
|
|
50
|
+
"@storybook/html": "10.1.0-beta.5",
|
|
51
|
+
"@storybook/preact": "10.1.0-beta.5",
|
|
52
|
+
"@storybook/react": "10.1.0-beta.5",
|
|
53
|
+
"@storybook/server": "10.1.0-beta.5",
|
|
54
|
+
"@storybook/svelte": "10.1.0-beta.5",
|
|
55
|
+
"@storybook/vue3": "10.1.0-beta.5",
|
|
56
|
+
"@storybook/web-components": "10.1.0-beta.5"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|