storybook 10.0.2 → 10.0.4
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-C7MTI43L.js → builder-manager-TLHTVHEZ.js} +12 -12
- package/dist/_node-chunks/camelcase-KGP6XNUQ.js +18 -0
- package/dist/_node-chunks/{chunk-G4DMUZF3.js → chunk-222IW72E.js} +36 -43
- package/dist/_node-chunks/chunk-2FUNGPJA.js +61 -0
- package/dist/_node-chunks/{chunk-Y5ZIS3CB.js → chunk-3JDJHMFF.js} +7 -7
- package/dist/_node-chunks/chunk-4MH3277D.js +18 -0
- package/dist/_node-chunks/{chunk-M7JK3PHD.js → chunk-4WHWOQIK.js} +6 -6
- package/dist/_node-chunks/{chunk-CJ3GT3HG.js → chunk-5YDJHNJV.js} +12 -12
- package/dist/_node-chunks/{chunk-RUXRGKI6.js → chunk-6OZ7PM6U.js} +8 -8
- package/dist/_node-chunks/{chunk-IWA2OXWT.js → chunk-AEJQCMUB.js} +8 -8
- package/dist/_node-chunks/{chunk-PEW3VSI4.js → chunk-AJXHJIQB.js} +7 -7
- package/dist/_node-chunks/{chunk-CRYOLMTP.js → chunk-AUFNFGVS.js} +7 -7
- package/dist/_node-chunks/{chunk-5TEMW2HS.js → chunk-B2VWNE6A.js} +7 -7
- package/dist/_node-chunks/{chunk-45XSYU5U.js → chunk-DQS7GIBV.js} +7 -7
- package/dist/_node-chunks/{chunk-YT3QOQMF.js → chunk-E6X227GT.js} +7 -7
- package/dist/_node-chunks/{chunk-NDS5Q5MQ.js → chunk-EQF4GJEA.js} +6 -6
- package/dist/_node-chunks/{chunk-7ARNGY5C.js → chunk-G7OHM4NC.js} +12 -12
- package/dist/_node-chunks/{chunk-BZE33562.js → chunk-GCITKSOH.js} +9 -9
- package/dist/_node-chunks/{chunk-OL4ZPH5W.js → chunk-HS5SBWIB.js} +7 -7
- package/dist/_node-chunks/{chunk-TLGQ3DFY.js → chunk-K74AJMJL.js} +21 -21
- package/dist/_node-chunks/{chunk-6M2MHIE4.js → chunk-KAOO6H2Y.js} +7 -7
- package/dist/_node-chunks/{chunk-Q5A4LYDI.js → chunk-KP63VZPN.js} +7 -7
- package/dist/_node-chunks/{chunk-MAJVPF6M.js → chunk-KRKU2BRJ.js} +15 -15
- package/dist/_node-chunks/{chunk-PHHWFZ53.js → chunk-MESRJ2FJ.js} +7 -7
- package/dist/_node-chunks/{chunk-BEHQEHCV.js → chunk-NCTZ52WV.js} +7 -7
- package/dist/_node-chunks/{chunk-V6EPMCDK.js → chunk-NDR6CJ2O.js} +7 -7
- package/dist/_node-chunks/{chunk-7UFF3UBM.js → chunk-NED6N56K.js} +7 -7
- package/dist/_node-chunks/{chunk-VOOIMEQA.js → chunk-PVLQPTW2.js} +8 -8
- package/dist/_node-chunks/{chunk-GW7GHNWQ.js → chunk-S3LCHRAF.js} +7 -7
- package/dist/_node-chunks/{chunk-BNNW3RUO.js → chunk-S744X6QQ.js} +8 -8
- package/dist/_node-chunks/{chunk-E3ZVPOWE.js → chunk-WNYIV6J2.js} +7 -7
- package/dist/_node-chunks/{chunk-4O7LQOQ7.js → chunk-X4F7B426.js} +7 -7
- package/dist/_node-chunks/{chunk-AB2ZAO3F.js → chunk-YAYYIUOL.js} +7 -7
- package/dist/_node-chunks/{chunk-AQXXWN5J.js → chunk-YZQS6KQF.js} +9 -9
- package/dist/_node-chunks/{chunk-WJEZZCON.js → chunk-ZIHOYEID.js} +10 -10
- package/dist/_node-chunks/{dist-XPX2QJ3C.js → dist-CHMZWMGF.js} +9 -9
- package/dist/_node-chunks/{globby-MTM72QV7.js → globby-LHP4I7VR.js} +9 -9
- package/dist/_node-chunks/{lib-DWYQ4JDM.js → lib-3VTYN55Z.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-5KEDSU5O.js → mdx-N42X6CFJ-4W5R6G4L.js} +8 -8
- package/dist/_node-chunks/{p-limit-DHY3P6KR.js → p-limit-W7UEIFAU.js} +7 -7
- package/dist/_node-chunks/{plugin-QYIRX5CQ.js → plugin-BFAUW6VL.js} +10 -10
- package/dist/_node-chunks/{plugin-U4SQWN4V.js → plugin-M6DBRWDC.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-P4ME6ZAM.js → webpack-inject-mocker-runtime-plugin-EPIBTYDS.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-ZGDNIVUL.js → webpack-mock-plugin-PJOUVLIC.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +20 -20
- package/dist/components/index.js +5743 -73
- package/dist/core-server/index.js +36 -36
- package/dist/core-server/presets/common-manager.js +14 -20
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +23 -23
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf/index.js +2 -2
- package/dist/csf-tools/index.d.ts +7 -0
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/preview-api/index.d.ts +67 -68
- package/dist/preview-api/index.js +5 -5
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/package.json +1 -1
- package/dist/_browser-chunks/chunk-I74EUU5O.js +0 -5809
- package/dist/_node-chunks/camelcase-EOASHVUY.js +0 -18
- package/dist/_node-chunks/chunk-TFZ6HPVN.js +0 -18
- package/dist/_node-chunks/chunk-YFJZFOCY.js +0 -61
- package/dist/_browser-chunks/{chunk-W4QKLQSC.js → chunk-RW5PKMWM.js} +5 -5
- package/dist/_browser-chunks/{syntaxhighlighter-DK2ODWXH.js → syntaxhighlighter-CAVLW7PM.js} +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EQF4GJEA.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AUFNFGVS.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PVLQPTW2.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KP63VZPN.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MESRJ2FJ.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__esm,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
__require,
|
|
37
37
|
__toCommonJS,
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4WHWOQIK.js";
|
|
40
40
|
|
|
41
41
|
// ../node_modules/tslib/tslib.es6.mjs
|
|
42
42
|
var tslib_es6_exports = {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
camelCase
|
|
14
|
+
} from "./chunk-X4F7B426.js";
|
|
15
|
+
import "./chunk-4WHWOQIK.js";
|
|
16
|
+
export {
|
|
17
|
+
camelCase as default
|
|
18
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WNYIV6J2.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4WHWOQIK.js";
|
|
19
19
|
|
|
20
20
|
// src/csf-tools/CsfFile.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -845,12 +845,6 @@ var propKey = /* @__PURE__ */ __name((p) => {
|
|
|
845
845
|
}
|
|
846
846
|
return null;
|
|
847
847
|
}, "propKey");
|
|
848
|
-
var unwrap = /* @__PURE__ */ __name((node) => {
|
|
849
|
-
if (t3.isTSAsExpression(node) || t3.isTSSatisfiesExpression(node)) {
|
|
850
|
-
return unwrap(node.expression);
|
|
851
|
-
}
|
|
852
|
-
return node;
|
|
853
|
-
}, "unwrap");
|
|
854
848
|
var _getPath = /* @__PURE__ */ __name((path, node) => {
|
|
855
849
|
if (path.length === 0) {
|
|
856
850
|
return node;
|
|
@@ -937,6 +931,25 @@ var ConfigFile = class {
|
|
|
937
931
|
// for that. But rather than refactor the whole thing, we just use this as a stopgap.
|
|
938
932
|
this._exportDecls = {};
|
|
939
933
|
this.hasDefaultExport = false;
|
|
934
|
+
/** Unwraps TS assertions/satisfies from a node, to get the underlying node. */
|
|
935
|
+
this._unwrap = /* @__PURE__ */ __name((node) => {
|
|
936
|
+
if (t3.isTSAsExpression(node) || t3.isTSSatisfiesExpression(node)) {
|
|
937
|
+
return this._unwrap(node.expression);
|
|
938
|
+
}
|
|
939
|
+
return node;
|
|
940
|
+
}, "_unwrap");
|
|
941
|
+
/**
|
|
942
|
+
* Resolve a declaration node by unwrapping TS assertions/satisfies and following identifiers to
|
|
943
|
+
* resolve the correct node in case it's an identifier.
|
|
944
|
+
*/
|
|
945
|
+
this._resolveDeclaration = /* @__PURE__ */ __name((node, parent = this._ast.program) => {
|
|
946
|
+
const decl = this._unwrap(node);
|
|
947
|
+
if (t3.isIdentifier(decl) && t3.isProgram(parent)) {
|
|
948
|
+
const initialization = _findVarInitialization(decl.name, parent);
|
|
949
|
+
return initialization ? this._unwrap(initialization) : decl;
|
|
950
|
+
}
|
|
951
|
+
return decl;
|
|
952
|
+
}, "_resolveDeclaration");
|
|
940
953
|
this._ast = ast;
|
|
941
954
|
this._code = code;
|
|
942
955
|
this.fileName = fileName;
|
|
@@ -949,10 +962,7 @@ var ConfigFile = class {
|
|
|
949
962
|
exportsObject.properties.forEach((p) => {
|
|
950
963
|
const exportName = propKey(p);
|
|
951
964
|
if (exportName) {
|
|
952
|
-
|
|
953
|
-
if (t3.isIdentifier(exportVal)) {
|
|
954
|
-
exportVal = _findVarInitialization(exportVal.name, this._ast.program);
|
|
955
|
-
}
|
|
965
|
+
const exportVal = this._resolveDeclaration(p.value);
|
|
956
966
|
this._exports[exportName] = exportVal;
|
|
957
967
|
}
|
|
958
968
|
});
|
|
@@ -963,8 +973,7 @@ var ConfigFile = class {
|
|
|
963
973
|
ExportDefaultDeclaration: {
|
|
964
974
|
enter({ node, parent }) {
|
|
965
975
|
self.hasDefaultExport = true;
|
|
966
|
-
let decl =
|
|
967
|
-
decl = unwrap(decl);
|
|
976
|
+
let decl = self._resolveDeclaration(node.declaration, parent);
|
|
968
977
|
if (t3.isCallExpression(decl) && t3.isObjectExpression(decl.arguments[0])) {
|
|
969
978
|
decl = decl.arguments[0];
|
|
970
979
|
}
|
|
@@ -987,10 +996,7 @@ var ConfigFile = class {
|
|
|
987
996
|
node.declaration.declarations.forEach((decl) => {
|
|
988
997
|
if (t3.isVariableDeclarator(decl) && t3.isIdentifier(decl.id)) {
|
|
989
998
|
const { name: exportName } = decl.id;
|
|
990
|
-
|
|
991
|
-
if (t3.isIdentifier(exportVal)) {
|
|
992
|
-
exportVal = _findVarInitialization(exportVal.name, parent);
|
|
993
|
-
}
|
|
999
|
+
const exportVal = self._resolveDeclaration(decl.init, parent);
|
|
994
1000
|
self._exports[exportName] = exportVal;
|
|
995
1001
|
self._exportDecls[exportName] = decl;
|
|
996
1002
|
}
|
|
@@ -1008,7 +1014,7 @@ var ConfigFile = class {
|
|
|
1008
1014
|
const { name: exportName } = spec.exported;
|
|
1009
1015
|
const decl = _findVarDeclarator(localName, parent);
|
|
1010
1016
|
if (decl) {
|
|
1011
|
-
self._exports[exportName] = decl.init;
|
|
1017
|
+
self._exports[exportName] = self._resolveDeclaration(decl.init, parent);
|
|
1012
1018
|
self._exportDecls[exportName] = decl;
|
|
1013
1019
|
}
|
|
1014
1020
|
}
|
|
@@ -1030,22 +1036,13 @@ var ConfigFile = class {
|
|
|
1030
1036
|
const { left, right } = node.expression;
|
|
1031
1037
|
if (t3.isMemberExpression(left) && t3.isIdentifier(left.object) && left.object.name === "module" && t3.isIdentifier(left.property) && left.property.name === "exports") {
|
|
1032
1038
|
let exportObject = right;
|
|
1033
|
-
|
|
1034
|
-
exportObject = _findVarInitialization(right.name, parent);
|
|
1035
|
-
}
|
|
1036
|
-
exportObject = unwrap(exportObject);
|
|
1039
|
+
exportObject = self._resolveDeclaration(exportObject, parent);
|
|
1037
1040
|
if (t3.isObjectExpression(exportObject)) {
|
|
1038
1041
|
self._exportsObject = exportObject;
|
|
1039
1042
|
exportObject.properties.forEach((p) => {
|
|
1040
1043
|
const exportName = propKey(p);
|
|
1041
1044
|
if (exportName) {
|
|
1042
|
-
|
|
1043
|
-
if (t3.isIdentifier(exportVal)) {
|
|
1044
|
-
exportVal = _findVarInitialization(
|
|
1045
|
-
exportVal.name,
|
|
1046
|
-
parent
|
|
1047
|
-
);
|
|
1048
|
-
}
|
|
1045
|
+
const exportVal = self._resolveDeclaration(p.value, parent);
|
|
1049
1046
|
self._exports[exportName] = exportVal;
|
|
1050
1047
|
}
|
|
1051
1048
|
});
|
|
@@ -1256,13 +1253,9 @@ var ConfigFile = class {
|
|
|
1256
1253
|
}
|
|
1257
1254
|
}
|
|
1258
1255
|
if (t3.isExportDefaultDeclaration(node)) {
|
|
1259
|
-
|
|
1260
|
-
if (t3.
|
|
1261
|
-
|
|
1262
|
-
}
|
|
1263
|
-
decl = unwrap(decl);
|
|
1264
|
-
if (t3.isObjectExpression(decl)) {
|
|
1265
|
-
const properties2 = decl.properties;
|
|
1256
|
+
const resolved = this._resolveDeclaration(node.declaration);
|
|
1257
|
+
if (t3.isObjectExpression(resolved)) {
|
|
1258
|
+
const properties2 = resolved.properties;
|
|
1266
1259
|
removeProperty(properties2, path[0]);
|
|
1267
1260
|
removedRootProperty = true;
|
|
1268
1261
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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.0.4",
|
|
16
|
+
"@storybook/addon-docs": "10.0.4",
|
|
17
|
+
"@storybook/addon-links": "10.0.4",
|
|
18
|
+
"@storybook/addon-onboarding": "10.0.4",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.0.4",
|
|
20
|
+
"@storybook/addon-themes": "10.0.4",
|
|
21
|
+
"@storybook/addon-vitest": "10.0.4",
|
|
22
|
+
"@storybook/builder-vite": "10.0.4",
|
|
23
|
+
"@storybook/builder-webpack5": "10.0.4",
|
|
24
|
+
storybook: "10.0.4",
|
|
25
|
+
"@storybook/angular": "10.0.4",
|
|
26
|
+
"@storybook/ember": "10.0.4",
|
|
27
|
+
"@storybook/html-vite": "10.0.4",
|
|
28
|
+
"@storybook/nextjs": "10.0.4",
|
|
29
|
+
"@storybook/nextjs-vite": "10.0.4",
|
|
30
|
+
"@storybook/preact-vite": "10.0.4",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.0.4",
|
|
32
|
+
"@storybook/react-vite": "10.0.4",
|
|
33
|
+
"@storybook/react-webpack5": "10.0.4",
|
|
34
|
+
"@storybook/server-webpack5": "10.0.4",
|
|
35
|
+
"@storybook/svelte-vite": "10.0.4",
|
|
36
|
+
"@storybook/sveltekit": "10.0.4",
|
|
37
|
+
"@storybook/vue3-vite": "10.0.4",
|
|
38
|
+
"@storybook/web-components-vite": "10.0.4",
|
|
39
|
+
sb: "10.0.4",
|
|
40
|
+
"@storybook/cli": "10.0.4",
|
|
41
|
+
"@storybook/codemod": "10.0.4",
|
|
42
|
+
"@storybook/core-webpack": "10.0.4",
|
|
43
|
+
"create-storybook": "10.0.4",
|
|
44
|
+
"@storybook/csf-plugin": "10.0.4",
|
|
45
|
+
"eslint-plugin-storybook": "10.0.4",
|
|
46
|
+
"@storybook/react-dom-shim": "10.0.4",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.0.4",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.0.4",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.0.4",
|
|
50
|
+
"@storybook/html": "10.0.4",
|
|
51
|
+
"@storybook/preact": "10.0.4",
|
|
52
|
+
"@storybook/react": "10.0.4",
|
|
53
|
+
"@storybook/server": "10.0.4",
|
|
54
|
+
"@storybook/svelte": "10.0.4",
|
|
55
|
+
"@storybook/vue3": "10.0.4",
|
|
56
|
+
"@storybook/web-components": "10.0.4"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_n7xewhgh6ep.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__name,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4WHWOQIK.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
18
18
|
var __create = Object.create;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.0.4";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_build
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AUFNFGVS.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PVLQPTW2.js";
|
|
18
18
|
import {
|
|
19
19
|
require_prompts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NCTZ52WV.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WNYIV6J2.js";
|
|
24
24
|
import {
|
|
25
25
|
require_picocolors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B2VWNE6A.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4WHWOQIK.js";
|
|
31
31
|
|
|
32
32
|
// src/core-server/utils/server-statics.ts
|
|
33
33
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WNYIV6J2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4WHWOQIK.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/globalSettings.ts
|
|
22
22
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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
|
camelCase
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-X4F7B426.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4WHWOQIK.js";
|
|
20
20
|
|
|
21
21
|
// ../node_modules/boxen/node_modules/emoji-regex/index.js
|
|
22
22
|
var require_emoji_regex = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4WHWOQIK.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4WHWOQIK.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/totalist/sync/index.js
|
|
19
19
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_n7xewhgh6ep.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4WHWOQIK.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4WHWOQIK.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/empathic/resolve.mjs
|
|
17
17
|
import { createRequire } from "node:module";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4WHWOQIK.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/balanced-match/index.js
|
|
19
19
|
var require_balanced_match = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|