react-lib-tools 0.0.23 → 0.0.24

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.
Files changed (26) hide show
  1. package/dist/{GettingStartedRoute-DSaANTOy.cjs → GettingStartedRoute-CzpsPdpt.cjs} +2 -2
  2. package/dist/{GettingStartedRoute-DSaANTOy.cjs.map → GettingStartedRoute-CzpsPdpt.cjs.map} +1 -1
  3. package/dist/{GettingStartedRoute-BqKgSm4z.js → GettingStartedRoute-DT-NgTRJ.js} +2 -2
  4. package/dist/{GettingStartedRoute-BqKgSm4z.js.map → GettingStartedRoute-DT-NgTRJ.js.map} +1 -1
  5. package/dist/{PageNotFound-BOtcH9tJ.js → PageNotFound-BlfHlRrb.js} +2 -2
  6. package/dist/{PageNotFound-BOtcH9tJ.js.map → PageNotFound-BlfHlRrb.js.map} +1 -1
  7. package/dist/{PageNotFound-BPGCzBKX.cjs → PageNotFound-s_DTkau5.cjs} +2 -2
  8. package/dist/{PageNotFound-BPGCzBKX.cjs.map → PageNotFound-s_DTkau5.cjs.map} +1 -1
  9. package/dist/{SupportRoute-DPwM7VJl.cjs → SupportRoute-BcjMIACR.cjs} +2 -2
  10. package/dist/{SupportRoute-DPwM7VJl.cjs.map → SupportRoute-BcjMIACR.cjs.map} +1 -1
  11. package/dist/{SupportRoute-D2h0cvHw.js → SupportRoute-CcJBfOWu.js} +2 -2
  12. package/dist/{SupportRoute-D2h0cvHw.js.map → SupportRoute-CcJBfOWu.js.map} +1 -1
  13. package/dist/{VersionsRoute-DTaE8zr5.cjs → VersionsRoute-CX3YF7an.cjs} +2 -2
  14. package/dist/{VersionsRoute-DTaE8zr5.cjs.map → VersionsRoute-CX3YF7an.cjs.map} +1 -1
  15. package/dist/{VersionsRoute-UBlVDqMh.js → VersionsRoute-C_HIVV6r.js} +2 -2
  16. package/dist/{VersionsRoute-UBlVDqMh.js.map → VersionsRoute-C_HIVV6r.js.map} +1 -1
  17. package/dist/{index-BFh5cQOB.cjs → index-BCwWYpnQ.cjs} +2 -2
  18. package/dist/index-BCwWYpnQ.cjs.map +1 -0
  19. package/dist/{index-Bh6LXsao.js → index-Dt2kd-pc.js} +24 -41
  20. package/dist/index-Dt2kd-pc.js.map +1 -0
  21. package/dist/react-lib-tools.cjs +1 -1
  22. package/dist/react-lib-tools.d.ts +1 -2
  23. package/dist/react-lib-tools.js +1 -1
  24. package/package.json +1 -1
  25. package/dist/index-BFh5cQOB.cjs.map +0 -1
  26. package/dist/index-Bh6LXsao.js.map +0 -1
@@ -8851,10 +8851,10 @@ function Um() {
8851
8851
  }, [e, t]), null;
8852
8852
  }
8853
8853
  const Gm = {
8854
- "*": Wt(() => import("./PageNotFound-BOtcH9tJ.js")),
8855
- "/": Wt(() => import("./GettingStartedRoute-BqKgSm4z.js")),
8856
- "/support": Wt(() => import("./SupportRoute-D2h0cvHw.js")),
8857
- "/versions": Wt(() => import("./VersionsRoute-UBlVDqMh.js"))
8854
+ "*": Wt(() => import("./PageNotFound-BlfHlRrb.js")),
8855
+ "/": Wt(() => import("./GettingStartedRoute-DT-NgTRJ.js")),
8856
+ "/support": Wt(() => import("./SupportRoute-CcJBfOWu.js")),
8857
+ "/versions": Wt(() => import("./VersionsRoute-C_HIVV6r.js"))
8858
8858
  };
8859
8859
  function uh({
8860
8860
  navLinks: e,
@@ -8863,28 +8863,19 @@ function uh({
8863
8863
  packageName: r,
8864
8864
  routes: o,
8865
8865
  showOpenCollectLink: i = !1,
8866
- url: l,
8867
- versions: a
8866
+ versions: l
8868
8867
  }) {
8869
- const { toggle: s, visible: c } = Ei(), u = le(
8868
+ const { toggle: a, visible: s } = Ei(), c = le(
8870
8869
  () => ({
8871
8870
  overview: t,
8872
8871
  packageDescription: n,
8873
8872
  packageName: r,
8874
8873
  showOpenCollectLink: i,
8875
- url: l,
8876
- versions: a
8874
+ versions: l
8877
8875
  }),
8878
- [
8879
- t,
8880
- n,
8881
- r,
8882
- i,
8883
- l,
8884
- a
8885
- ]
8876
+ [t, n, r, i, l]
8886
8877
  );
8887
- return /* @__PURE__ */ E(xi.Provider, { value: u, children: /* @__PURE__ */ q(Gs, { children: [
8878
+ return /* @__PURE__ */ E(xi.Provider, { value: c, children: /* @__PURE__ */ q(Gs, { children: [
8888
8879
  /* @__PURE__ */ E(Um, {}),
8889
8880
  /* @__PURE__ */ q("div", { className: "h-full w-full max-w-350 mx-auto flex flex-col", children: [
8890
8881
  /* @__PURE__ */ q(
@@ -8917,7 +8908,7 @@ function uh({
8917
8908
  }
8918
8909
  ),
8919
8910
  /* @__PURE__ */ q(me, { align: "center", direction: "row", gap: 4, children: [
8920
- a !== void 0 && /* @__PURE__ */ E(
8911
+ l !== void 0 && /* @__PURE__ */ E(
8921
8912
  wr,
8922
8913
  {
8923
8914
  "aria-label": "Documentation for other versions",
@@ -8952,11 +8943,11 @@ function uh({
8952
8943
  {
8953
8944
  "aria-label": "Site navigation menu",
8954
8945
  className: be("block md:hidden cursor-pointer rounded-lg p-1", {
8955
- "bg-black/40": !c,
8956
- "bg-black/50 text-white": c
8946
+ "bg-black/40": !s,
8947
+ "bg-black/50 text-white": s
8957
8948
  }),
8958
- onClick: s,
8959
- children: c ? /* @__PURE__ */ E(La, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" }) : /* @__PURE__ */ E(ya, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" })
8949
+ onClick: a,
8950
+ children: s ? /* @__PURE__ */ E(La, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" }) : /* @__PURE__ */ E(ya, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" })
8960
8951
  }
8961
8952
  )
8962
8953
  ] })
@@ -8970,7 +8961,7 @@ function uh({
8970
8961
  className: be(
8971
8962
  "w-full bg-black/90 md:block md:w-80 md:bg-black/80 overflow-auto",
8972
8963
  {
8973
- hidden: !c
8964
+ hidden: !s
8974
8965
  }
8975
8966
  ),
8976
8967
  children: /* @__PURE__ */ E(Wm, { children: e })
@@ -8980,7 +8971,7 @@ function uh({
8980
8971
  "main",
8981
8972
  {
8982
8973
  className: be("w-full bg-black/90 relative overflow-auto", {
8983
- hidden: c
8974
+ hidden: s
8984
8975
  }),
8985
8976
  children: /* @__PURE__ */ E(
8986
8977
  "div",
@@ -8990,13 +8981,13 @@ function uh({
8990
8981
  children: /* @__PURE__ */ E($s, { children: Object.entries({
8991
8982
  ...Gm,
8992
8983
  ...o
8993
- }).map(([d, p]) => /* @__PURE__ */ E(
8984
+ }).map(([u, d]) => /* @__PURE__ */ E(
8994
8985
  mi,
8995
8986
  {
8996
- element: /* @__PURE__ */ E(la, { children: /* @__PURE__ */ E(p, {}) }, d),
8997
- path: d
8987
+ element: /* @__PURE__ */ E(la, { children: /* @__PURE__ */ E(d, {}) }, u),
8988
+ path: u
8998
8989
  },
8999
- d
8990
+ u
9000
8991
  )) })
9001
8992
  }
9002
8993
  )
@@ -9100,24 +9091,16 @@ function ca({
9100
9091
  section: e,
9101
9092
  title: t
9102
9093
  }) {
9103
- const { packageDescription: n, packageName: r, url: o } = Xm(), i = `${r}: ${e ? `${e}: ${t}` : t}`;
9094
+ const { packageName: n } = Xm(), r = `${n}: ${e ? `${e}: ${t}` : t}`;
9104
9095
  return /* @__PURE__ */ q(ft, { children: [
9105
9096
  /* @__PURE__ */ q(me, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9106
9097
  e && /* @__PURE__ */ q(ft, { children: [
9107
9098
  /* @__PURE__ */ E("div", { className: "text-xl whitespace-nowrap", children: e }),
9108
9099
  /* @__PURE__ */ E(ei, { className: "size-4 text-slate-400" })
9109
9100
  ] }),
9110
- /* @__PURE__ */ E("div", { className: "text-xl whitespace-nowrap", children: i })
9101
+ /* @__PURE__ */ E("div", { className: "text-xl whitespace-nowrap", children: r })
9111
9102
  ] }),
9112
- /* @__PURE__ */ E("title", { children: i }),
9113
- /* @__PURE__ */ E("meta", { property: "og:type", content: "website" }),
9114
- /* @__PURE__ */ E("meta", { property: "og:url", content: o }),
9115
- /* @__PURE__ */ E("meta", { property: "og:site_name", content: r }),
9116
- /* @__PURE__ */ E("meta", { property: "og:title", content: i }),
9117
- /* @__PURE__ */ E("meta", { property: "og:description", content: n }),
9118
- /* @__PURE__ */ E("meta", { property: "og:image", content: `${o}og.png` }),
9119
- /* @__PURE__ */ E("meta", { property: "og:image:width", content: "1200" }),
9120
- /* @__PURE__ */ E("meta", { property: "og:image:height", content: "630" })
9103
+ /* @__PURE__ */ E("title", { children: r })
9121
9104
  ] });
9122
9105
  }
9123
9106
  function Jm({
@@ -9414,4 +9397,4 @@ export {
9414
9397
  xh as n,
9415
9398
  Xm as u
9416
9399
  };
9417
- //# sourceMappingURL=index-Bh6LXsao.js.map
9400
+ //# sourceMappingURL=index-Dt2kd-pc.js.map