@gen3/frontend 0.11.23 → 0.11.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.
package/dist/cjs/index.js CHANGED
@@ -6606,7 +6606,7 @@ const LeftSidePanel = ({ items = [], classNames = {} })=>{
6606
6606
  });
6607
6607
  };
6608
6608
 
6609
- const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, children })=>{
6609
+ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, CustomHeaderComponent, CustomFooterComponent, children })=>{
6610
6610
  const mainContentStyle = mainProps?.fixed ? 'flex-1 flex overflow-hidden relative' : 'flex grow relative';
6611
6611
  return /*#__PURE__*/ jsxRuntime.jsxs("div", {
6612
6612
  className: "flex flex-col justify-between h-screen",
@@ -6622,7 +6622,9 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, ch
6622
6622
  }, headerMetadata.key)
6623
6623
  ]
6624
6624
  }),
6625
- /*#__PURE__*/ jsxRuntime.jsxs(Header$1, {
6625
+ CustomHeaderComponent ? /*#__PURE__*/ jsxRuntime.jsx(CustomHeaderComponent, {
6626
+ ...headerProps
6627
+ }) : /*#__PURE__*/ jsxRuntime.jsxs(Header$1, {
6626
6628
  ...headerProps,
6627
6629
  children: [
6628
6630
  /*#__PURE__*/ jsxRuntime.jsx("title", {
@@ -6650,7 +6652,9 @@ const NavPageLayout = ({ headerProps, footerProps, mainProps, headerMetadata, ch
6650
6652
  className: mainContentStyle,
6651
6653
  children: children
6652
6654
  }),
6653
- /*#__PURE__*/ jsxRuntime.jsx(Footer, {
6655
+ CustomFooterComponent ? /*#__PURE__*/ jsxRuntime.jsx(CustomFooterComponent, {
6656
+ ...footerProps
6657
+ }) : /*#__PURE__*/ jsxRuntime.jsx(Footer, {
6654
6658
  ...footerProps
6655
6659
  })
6656
6660
  ]