@gardenfi/garden-book 0.1.65 → 0.1.67
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/style.css +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +6 -6
- package/dist/ui.umd.js +1 -1
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -10987,16 +10987,16 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10987
10987
|
}
|
|
10988
10988
|
), Modal = ({ open: e, onClose: t, children: i }) => {
|
|
10989
10989
|
const [s, n] = useState(!1);
|
|
10990
|
-
useEffect(() => {
|
|
10991
|
-
|
|
10992
|
-
}, [e]);
|
|
10990
|
+
useEffect(() => (e ? (n(!0), document.body.style.overflow = "hidden") : document.body.style.overflow = "", () => {
|
|
10991
|
+
document.body.style.overflow = "";
|
|
10992
|
+
}), [e]);
|
|
10993
10993
|
const a = (o) => {
|
|
10994
10994
|
t && (o.stopPropagation(), t());
|
|
10995
10995
|
};
|
|
10996
10996
|
return /* @__PURE__ */ jsx(
|
|
10997
10997
|
"div",
|
|
10998
10998
|
{
|
|
10999
|
-
className: `gf-bg-dark-grey gf-bg-opacity-40 ${modalStyles({ open: e })} ${s ? e ? "gf-animate-fade-in" : "gf-animate-fade-out" : ""}`,
|
|
10999
|
+
className: `gf-bg-dark-grey gf-bg-opacity-40 ${modalStyles({ open: e })} ${s ? e ? "gf-animate-fade-in " : "gf-animate-fade-out" : ""}`,
|
|
11000
11000
|
onClick: a,
|
|
11001
11001
|
children: /* @__PURE__ */ jsx(
|
|
11002
11002
|
"div",
|
|
@@ -11019,7 +11019,7 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
11019
11019
|
onClick: (a) => {
|
|
11020
11020
|
a.stopPropagation();
|
|
11021
11021
|
},
|
|
11022
|
-
className: `gf-mx-auto gf-backdrop-blur-md ${t || ""}`,
|
|
11022
|
+
className: `gf-mx-auto gf-backdrop-blur-md gf-overscroll-contain ${t || ""}`,
|
|
11023
11023
|
...s,
|
|
11024
11024
|
children: e
|
|
11025
11025
|
}
|
|
@@ -13469,7 +13469,7 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13469
13469
|
},
|
|
13470
13470
|
{
|
|
13471
13471
|
title: "Stake",
|
|
13472
|
-
link: appLink + "/stake",
|
|
13472
|
+
link: appLink + "https://new.garden.finance/stake",
|
|
13473
13473
|
isExternal: !0
|
|
13474
13474
|
},
|
|
13475
13475
|
{
|