storybook 9.0.16 → 9.0.18
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/common/index.cjs +43 -43
- package/dist/common/index.js +43 -43
- package/dist/components/index.cjs +4584 -4418
- package/dist/components/index.d.ts +8 -11
- package/dist/components/index.js +2741 -2571
- package/dist/core-server/index.cjs +4 -1
- package/dist/core-server/index.js +4 -1
- package/dist/csf-tools/index.cjs +319 -321
- package/dist/csf-tools/index.js +239 -241
- package/dist/manager/globals-module-info.cjs +0 -1
- package/dist/manager/globals-module-info.js +0 -1
- package/dist/manager/globals-runtime.js +15176 -15007
- package/dist/manager/runtime.js +102 -102
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/telemetry/index.cjs +1543 -1436
- package/dist/telemetry/index.d.ts +2 -1
- package/dist/telemetry/index.js +1532 -1426
- package/package.json +1 -1
|
@@ -37827,7 +37827,8 @@ var MG = /* @__PURE__ */ s(async (e, t) => {
|
|
|
37827
37827
|
...c
|
|
37828
37828
|
}).filter(
|
|
37829
37829
|
([g]) => Al.versions[g] || mT[g]
|
|
37830
|
-
).map(([g, b]) => b).find((g) => g &&
|
|
37830
|
+
).map(([g, b]) => b).find((g) => g && // We can't check compatibility for 0.x packages, so we skip them
|
|
37831
|
+
!/^[~^]?0\./.test(g) && qo.default.validRange(g) && !qo.default.satisfies(r, g)), f = Al.versions[u], d, m;
|
|
37831
37832
|
return f && a && qo.default.gt(r, a) && (d = r), f && a && qo.default.gt(a, r) && (m = a), {
|
|
37832
37833
|
packageName: u,
|
|
37833
37834
|
packageVersion: a,
|
|
@@ -37844,6 +37845,8 @@ var MG = /* @__PURE__ */ s(async (e, t) => {
|
|
|
37844
37845
|
), { packageName: e };
|
|
37845
37846
|
}
|
|
37846
37847
|
}, "checkPackageCompatibility"), DT = /* @__PURE__ */ s(async (e) => {
|
|
37848
|
+
if (e.currentStorybookVersion.includes("0.0.0"))
|
|
37849
|
+
return [];
|
|
37847
37850
|
let t = e.packageManager.getAllDependencies(), r = Object.keys(t).filter((i) => i.includes("storybook"));
|
|
37848
37851
|
if (r.length === 0 && !e.skipErrors)
|
|
37849
37852
|
throw new Error("No Storybook dependencies found in the package.json");
|
|
@@ -37886,7 +37886,8 @@ var tX = /* @__PURE__ */ s(async (e, t) => {
|
|
|
37886
37886
|
...c
|
|
37887
37887
|
}).filter(
|
|
37888
37888
|
([g]) => Qm[g] || pk[g]
|
|
37889
|
-
).map(([g, b]) => b).find((g) => g &&
|
|
37889
|
+
).map(([g, b]) => b).find((g) => g && // We can't check compatibility for 0.x packages, so we skip them
|
|
37890
|
+
!/^[~^]?0\./.test(g) && Yu.validRange(g) && !Yu.satisfies(r, g)), f = Qm[u], d, m;
|
|
37890
37891
|
return f && a && Yu.gt(r, a) && (d = r), f && a && Yu.gt(a, r) && (m = a), {
|
|
37891
37892
|
packageName: u,
|
|
37892
37893
|
packageVersion: a,
|
|
@@ -37903,6 +37904,8 @@ var tX = /* @__PURE__ */ s(async (e, t) => {
|
|
|
37903
37904
|
), { packageName: e };
|
|
37904
37905
|
}
|
|
37905
37906
|
}, "checkPackageCompatibility"), hk = /* @__PURE__ */ s(async (e) => {
|
|
37907
|
+
if (e.currentStorybookVersion.includes("0.0.0"))
|
|
37908
|
+
return [];
|
|
37906
37909
|
let t = e.packageManager.getAllDependencies(), r = Object.keys(t).filter((i) => i.includes("storybook"));
|
|
37907
37910
|
if (r.length === 0 && !e.skipErrors)
|
|
37908
37911
|
throw new Error("No Storybook dependencies found in the package.json");
|