@goodhood-web/nebenan-base 1.3.0-development.13 → 1.3.0-development.14

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.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
- mobile: i
49086
+ keepLoading: i,
49087
+ mobile: t
49087
49088
  }) => {
49088
- const [t, a] = Pe(0), s = () => {
49089
- a(window.innerWidth);
49089
+ const [a, s] = Pe(0), r = () => {
49090
+ s(window.innerWidth);
49090
49091
  };
49091
- return He(() => (s(), window.addEventListener("resize", s), () => {
49092
- window.removeEventListener("resize", s);
49093
- }), []), t ? t < 800 ? /* @__PURE__ */ _.jsx(Sm, { ...i, children: n }) : /* @__PURE__ */ _.jsx(wm, { ...e, children: n }) : /* @__PURE__ */ _.jsx("div", { className: Cm.loadingSpinnerContainer, children: /* @__PURE__ */ _.jsx(gm, {}) });
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;
@@ -3,5 +3,6 @@ import { DesktopLayoutTwoColumnProps } from '../DesktopLayoutTwoColumn/DesktopLa
3
3
 
4
4
  export interface MainLayoutProps {
5
5
  desktop: Omit<DesktopLayoutTwoColumnProps, 'children'>;
6
+ keepLoading?: boolean;
6
7
  mobile: Omit<MobileLayoutProps, 'children'>;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "1.3.0-development.13",
3
+ "version": "1.3.0-development.14",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "publishConfig": {