gearboxdownloadmodal 9.6.0 → 9.6.1

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/index.es.js CHANGED
@@ -11010,7 +11010,8 @@ const fu = ({ selectedVersionIds: e, api: i }) => {
11010
11010
  const q = s.find((m) => m._id === l.versionId);
11011
11011
  return {
11012
11012
  ...l,
11013
- versionName: (q == null ? void 0 : q.name) || `Version ${l.versionId}`
11013
+ versionName: (q == null ? void 0 : q.name) || `Version ${l.versionId}`,
11014
+ versionSuffix: q == null ? void 0 : q.suffix
11014
11015
  };
11015
11016
  })
11016
11017
  ), e.forEach(async (n) => {
@@ -11077,7 +11078,7 @@ const fu = ({ selectedVersionIds: e, api: i }) => {
11077
11078
  border: "1px solid #E5E7EB"
11078
11079
  },
11079
11080
  children: [
11080
- /* @__PURE__ */ A.jsx(
11081
+ /* @__PURE__ */ A.jsxs(
11081
11082
  "span",
11082
11083
  {
11083
11084
  style: {
@@ -11085,7 +11086,13 @@ const fu = ({ selectedVersionIds: e, api: i }) => {
11085
11086
  color: "#374151",
11086
11087
  fontWeight: "500"
11087
11088
  },
11088
- children: o.versionName
11089
+ children: [
11090
+ o.versionName,
11091
+ o.versionSuffix && /* @__PURE__ */ A.jsxs("span", { style: { color: "#9CA3AF" }, children: [
11092
+ "-",
11093
+ o.versionSuffix
11094
+ ] })
11095
+ ]
11089
11096
  }
11090
11097
  ),
11091
11098
  o.status === "loading" ? /* @__PURE__ */ A.jsx("img", { width: "20px", height: "20px", src: xe, alt: "loading" }) : o.status === "exceeded" ? /* @__PURE__ */ A.jsxs(
@@ -15334,7 +15341,20 @@ function PI({
15334
15341
  },
15335
15342
  e.versionId + "checkbox"
15336
15343
  ),
15337
- /* @__PURE__ */ A.jsx("button", { className: "modal-tw-w-full modal-tw--mt-[0.05rem]", children: /* @__PURE__ */ A.jsx("p", { className: "modal-tw-text-white modal-tw-w-full modal-tw-truncate modal-tw-pr-8 modal-tw-text-start modal-tw-items-start", children: e.versionName }) }, e.versionId)
15344
+ /* @__PURE__ */ A.jsx("button", { className: "modal-tw-w-full modal-tw--mt-[0.05rem]", children: /* @__PURE__ */ A.jsxs(
15345
+ "p",
15346
+ {
15347
+ className: "modal-tw-text-white modal-tw-w-full modal-tw-truncate modal-tw-pr-8 modal-tw-text-start modal-tw-items-start",
15348
+ title: e.versionSuffix ? `${e.versionName}-${e.versionSuffix}` : e.versionName,
15349
+ children: [
15350
+ e.versionName,
15351
+ e.versionSuffix && /* @__PURE__ */ A.jsxs("span", { className: "modal-tw-text-slate-400", children: [
15352
+ "-",
15353
+ e.versionSuffix
15354
+ ] })
15355
+ ]
15356
+ }
15357
+ ) }, e.versionId)
15338
15358
  ]
15339
15359
  }
15340
15360
  );
@@ -15362,7 +15382,8 @@ const _I = ({
15362
15382
  const I = m.find((K) => K._id === u.versionId);
15363
15383
  return {
15364
15384
  ...u,
15365
- versionName: (I == null ? void 0 : I.name) || `Version ${u.versionId}`
15385
+ versionName: (I == null ? void 0 : I.name) || `Version ${u.versionId}`,
15386
+ versionSuffix: I == null ? void 0 : I.suffix
15366
15387
  };
15367
15388
  })
15368
15389
  ), e.forEach(async (p) => {