@spaceandtimelabs/dapp-mi-components 0.3.2 → 0.4.0
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.d.ts +1 -0
- package/dist/index.es.js +10 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -19588,16 +19588,21 @@ const d7 = uu, u7 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iM
|
|
|
19588
19588
|
border-radius: 15px;
|
|
19589
19589
|
backdrop-filter: blur(10px);
|
|
19590
19590
|
}
|
|
19591
|
-
`, Av = ({
|
|
19592
|
-
|
|
19591
|
+
`, Av = ({
|
|
19592
|
+
children: e,
|
|
19593
|
+
onAuthButtonClick: t,
|
|
19594
|
+
onSidebarLinkClick: n,
|
|
19595
|
+
hideNavbar: o = !1
|
|
19596
|
+
}) => {
|
|
19597
|
+
const { isMobileDown: r } = Rn(), { isDrawerOpen: i } = so();
|
|
19593
19598
|
return An(() => {
|
|
19594
19599
|
if (typeof window < "u")
|
|
19595
19600
|
return /^((?!chrome|android).)*safari/i.test(window.navigator.userAgent) ? document.body.classList.add("safari-browser") : document.body.classList.remove("safari-browser"), () => {
|
|
19596
19601
|
document.body.classList.remove("safari-browser");
|
|
19597
19602
|
};
|
|
19598
|
-
}, []), /* @__PURE__ */ s.jsxs(M7, { className: `${
|
|
19599
|
-
/* @__PURE__ */ s.jsx(Nm, { onAuthButtonClick: t }),
|
|
19600
|
-
!
|
|
19603
|
+
}, []), /* @__PURE__ */ s.jsxs(M7, { className: `${i && r ? "sideNavMobile" : ""} `, children: [
|
|
19604
|
+
o === !1 && /* @__PURE__ */ s.jsx(Nm, { onAuthButtonClick: t }),
|
|
19605
|
+
!r || i ? /* @__PURE__ */ s.jsx(l7, { onSidebarLinkClick: n, children: e }) : e
|
|
19601
19606
|
] });
|
|
19602
19607
|
}, m7 = () => {
|
|
19603
19608
|
const { isMobileDown: e } = Rn();
|