storybook 9.2.0-alpha.2 → 9.2.0-alpha.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/bin/index.cjs +43 -43
- package/dist/bin/index.js +43 -43
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/cli/index.cjs +6 -1
- package/dist/cli/index.js +6 -1
- package/dist/common/index.cjs +1792 -1792
- package/dist/common/index.js +1828 -1828
- package/dist/core-server/index.cjs +3 -2
- package/dist/core-server/index.js +3 -2
- package/dist/core-server/presets/common-manager.js +8 -8
- package/dist/core-server/presets/common-preset.cjs +2489 -2483
- package/dist/core-server/presets/common-preset.js +7445 -7439
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.cjs +57 -51
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +60 -52
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.js +1 -1
- package/package.json +1 -1
|
@@ -40054,7 +40054,7 @@ async function nT(e) {
|
|
|
40054
40054
|
s(nT, "findPackage");
|
|
40055
40055
|
|
|
40056
40056
|
// package.json
|
|
40057
|
-
var Vc = "9.2.0-alpha.
|
|
40057
|
+
var Vc = "9.2.0-alpha.3";
|
|
40058
40058
|
|
|
40059
40059
|
// src/cli/globalSettings.ts
|
|
40060
40060
|
var Kc = J(require("node:fs/promises"), 1), kT = require("node:os"), Qc = require("node:path"), TT = J(Bt(), 1), xo = J(_T(), 1);
|
|
@@ -42946,7 +42946,8 @@ async function L6(e) {
|
|
|
42946
42946
|
}
|
|
42947
42947
|
await CB("canceled", k, { immediate: !0 }), process.exit(0);
|
|
42948
42948
|
}
|
|
42949
|
-
return s(A, "cancelTelemetry"), r?.disableTelemetry || process.on("SIGINT", A), { previewResult: y, managerResult: b,
|
|
42949
|
+
return s(A, "cancelTelemetry"), r?.disableTelemetry || (process.on("SIGINT", A), process.on("SIGTERM", A)), { previewResult: y, managerResult: b,
|
|
42950
|
+
address: h, networkAddress: f };
|
|
42950
42951
|
}
|
|
42951
42952
|
s(L6, "storybookDevServer");
|
|
42952
42953
|
|
|
@@ -40106,7 +40106,7 @@ async function K3(e) {
|
|
|
40106
40106
|
s(K3, "findPackage");
|
|
40107
40107
|
|
|
40108
40108
|
// package.json
|
|
40109
|
-
var sc = "9.2.0-alpha.
|
|
40109
|
+
var sc = "9.2.0-alpha.3";
|
|
40110
40110
|
|
|
40111
40111
|
// src/cli/globalSettings.ts
|
|
40112
40112
|
var Ck = fe(Tt(), 1), Xs = fe(Ek(), 1);
|
|
@@ -43034,7 +43034,8 @@ async function eO(e) {
|
|
|
43034
43034
|
}
|
|
43035
43035
|
await YI("canceled", k, { immediate: !0 }), process.exit(0);
|
|
43036
43036
|
}
|
|
43037
|
-
return s(A, "cancelTelemetry"), r?.disableTelemetry || process.on("SIGINT", A), { previewResult: y, managerResult: b,
|
|
43037
|
+
return s(A, "cancelTelemetry"), r?.disableTelemetry || (process.on("SIGINT", A), process.on("SIGTERM", A)), { previewResult: y, managerResult: b,
|
|
43038
|
+
address: h, networkAddress: f };
|
|
43038
43039
|
}
|
|
43039
43040
|
s(eO, "storybookDevServer");
|
|
43040
43041
|
|
|
@@ -6129,7 +6129,7 @@ var ea = class ea extends zt {
|
|
|
6129
6129
|
onClick: i,
|
|
6130
6130
|
className: "rejt-minus-menu",
|
|
6131
6131
|
style: d,
|
|
6132
|
-
"aria-label": `remove the array '${t}'`
|
|
6132
|
+
"aria-label": `remove the array '${String(t)}'`
|
|
6133
6133
|
});
|
|
6134
6134
|
return /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement("span", { style: g }, "[...] ", r.length, " ", r.
|
|
6135
6135
|
length === 1 ? "item" : "items"), !p && m);
|
|
@@ -6157,12 +6157,12 @@ var ea = class ea extends zt {
|
|
|
6157
6157
|
onClick: this.handleAddMode,
|
|
6158
6158
|
className: "rejt-plus-menu",
|
|
6159
6159
|
style: U,
|
|
6160
|
-
"aria-label": `add a new item to the '${t}' array`
|
|
6160
|
+
"aria-label": `add a new item to the '${String(t)}' array`
|
|
6161
6161
|
}), pe = b && we(b, {
|
|
6162
6162
|
onClick: c,
|
|
6163
6163
|
className: "rejt-minus-menu",
|
|
6164
6164
|
style: N,
|
|
6165
|
-
"aria-label": `remove the array '${t}'`
|
|
6165
|
+
"aria-label": `remove the array '${String(t)}'`
|
|
6166
6166
|
});
|
|
6167
6167
|
return /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement("span", { className: "rejt-not-collapsed-delimi\
|
|
6168
6168
|
ter", style: H }, "["), !i && ee, /* @__PURE__ */ O.createElement("ul", { className: "rejt-not-collapsed-list", style: G }, r.map((L, k) => /* @__PURE__ */ O.
|
|
@@ -6323,7 +6323,7 @@ var ta = class ta extends zt {
|
|
|
6323
6323
|
onClick: s,
|
|
6324
6324
|
className: "rejt-minus-menu",
|
|
6325
6325
|
style: f.minus,
|
|
6326
|
-
"aria-label": `remove the function '${t}'${x ? ` from '${x}'` : ""}`
|
|
6326
|
+
"aria-label": `remove the function '${String(t)}'${String(x) ? ` from '${String(x)}'` : ""}`
|
|
6327
6327
|
});
|
|
6328
6328
|
h = b ? null : v;
|
|
6329
6329
|
}
|
|
@@ -6739,7 +6739,7 @@ var oa = class oa extends zt {
|
|
|
6739
6739
|
onClick: i,
|
|
6740
6740
|
className: "rejt-minus-menu",
|
|
6741
6741
|
style: d,
|
|
6742
|
-
"aria-label": `remove the object '${t}'`
|
|
6742
|
+
"aria-label": `remove the object '${String(t)}'`
|
|
6743
6743
|
});
|
|
6744
6744
|
return /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement("span", { style: g }, "{...}", " ", p.length, "\
|
|
6745
6745
|
", p.length === 1 ? "key" : "keys"), !m && f);
|
|
@@ -6768,12 +6768,12 @@ var oa = class oa extends zt {
|
|
|
6768
6768
|
onClick: this.handleAddMode,
|
|
6769
6769
|
className: "rejt-plus-menu",
|
|
6770
6770
|
style: U,
|
|
6771
|
-
"aria-label": `add a new property to the object '${t}'`
|
|
6771
|
+
"aria-label": `add a new property to the object '${String(t)}'`
|
|
6772
6772
|
}), _ = b && we(b, {
|
|
6773
6773
|
onClick: c,
|
|
6774
6774
|
className: "rejt-minus-menu",
|
|
6775
6775
|
style: N,
|
|
6776
|
-
"aria-label": `remove the object '${t}'`
|
|
6776
|
+
"aria-label": `remove the object '${String(t)}'`
|
|
6777
6777
|
}), j = se.map((k) => /* @__PURE__ */ O.createElement(
|
|
6778
6778
|
kt,
|
|
6779
6779
|
{
|
|
@@ -6919,7 +6919,7 @@ var na = class na extends zt {
|
|
|
6919
6919
|
onClick: s,
|
|
6920
6920
|
className: "rejt-minus-menu",
|
|
6921
6921
|
style: f.minus,
|
|
6922
|
-
"aria-label": `remove the property '${t}' with value '${l}'${v ? ` from '${v}'` : ""}`
|
|
6922
|
+
"aria-label": `remove the property '${String(t)}' with value '${String(l)}'${String(v) ? ` from '${String(v)}'` : ""}`
|
|
6923
6923
|
});
|
|
6924
6924
|
return /* @__PURE__ */ O.createElement("li", { className: "rejt-value-node", style: f.li }, /* @__PURE__ */ O.createElement("span", { className: "\
|
|
6925
6925
|
rejt-name", style: f.name }, t, " : "), h ? /* @__PURE__ */ O.createElement("span", { className: "rejt-edit-form", style: f.editForm }, x) :
|