@goodhood-web/nebenan-base 1.3.0-development.13 → 1.3.0-development.15
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/index.js +1 -1
- package/index.mjs +7 -6
- package/lib/MainLayout/MainLayout.d.ts +1 -1
- package/lib/MainLayout/MainLayout.types.d.ts +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -49083,14 +49083,15 @@ const im = "_emojiPopup_opugc_106", tm = "_emojiPopupHeader_opugc_116", ms = {
|
|
|
49083
49083
|
}, Wv = ({
|
|
49084
49084
|
children: n,
|
|
49085
49085
|
desktop: e,
|
|
49086
|
-
|
|
49086
|
+
keepLoading: i,
|
|
49087
|
+
mobile: t
|
|
49087
49088
|
}) => {
|
|
49088
|
-
const [
|
|
49089
|
-
|
|
49089
|
+
const [a, s] = Pe(0), r = () => {
|
|
49090
|
+
s(window.innerWidth);
|
|
49090
49091
|
};
|
|
49091
|
-
return He(() => (
|
|
49092
|
-
window.removeEventListener("resize",
|
|
49093
|
-
}), []),
|
|
49092
|
+
return He(() => (r(), window.addEventListener("resize", r), () => {
|
|
49093
|
+
window.removeEventListener("resize", r);
|
|
49094
|
+
}), []), !a || i ? /* @__PURE__ */ _.jsx("div", { className: Cm.loadingSpinnerContainer, children: /* @__PURE__ */ _.jsx(gm, {}) }) : a < 800 ? /* @__PURE__ */ _.jsx(Sm, { ...t, children: n }) : /* @__PURE__ */ _.jsx(wm, { ...e, children: n });
|
|
49094
49095
|
}, Em = "_menuLinkList_1xp90_106", zm = "_menuLinkListItem_1xp90_110", vs = {
|
|
49095
49096
|
menuLinkList: Em,
|
|
49096
49097
|
menuLinkListItem: zm
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MainLayoutProps } from './MainLayout.types';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
|
-
declare const MainLayout: ({ children, desktop, mobile, }: PropsWithChildren<MainLayoutProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const MainLayout: ({ children, desktop, keepLoading, mobile, }: PropsWithChildren<MainLayoutProps>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default MainLayout;
|