@julseb-lib/react 1.0.7 → 1.0.8

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.cjs CHANGED
@@ -69535,7 +69535,7 @@ var HeaderSearch = ({ search, handleClose }) => {
69535
69535
  },
69536
69536
  className: clsx("w-full max-w-(--form-max-width)", "search-form"),
69537
69537
  style: { ["--form-max-width"]: (0, import_utils141.stringifyPx)(maxWidth2) },
69538
- children: /* @__PURE__ */ (0, import_jsx_runtime366.jsx)(
69538
+ children: /* @__PURE__ */ (0, import_jsx_runtime366.jsx)("search", { children: /* @__PURE__ */ (0, import_jsx_runtime366.jsx)(
69539
69539
  Input,
69540
69540
  {
69541
69541
  type: "search",
@@ -69551,7 +69551,7 @@ var HeaderSearch = ({ search, handleClose }) => {
69551
69551
  className: "search-input",
69552
69552
  clearSearch
69553
69553
  }
69554
- )
69554
+ ) })
69555
69555
  }
69556
69556
  );
69557
69557
  };
@@ -69855,9 +69855,9 @@ var PageLayout = ({
69855
69855
  }) => {
69856
69856
  return /* @__PURE__ */ (0, import_jsx_runtime370.jsxs)(import_jsx_runtime370.Fragment, { children: [
69857
69857
  meta && /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Meta, { ...meta }),
69858
- header && /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Header, { ...header }),
69858
+ (0, import_react117.isValidElement)(header) ? header : /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Header, { ...header }),
69859
69859
  !noWrapper && /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Wrapper, { ...wrapperProps, children: !noMain ? /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Main, { ...mainProps, children }) : children }),
69860
- footer && /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Footer, { ...footer })
69860
+ (0, import_react117.isValidElement)(footer) ? footer : /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Footer, { ...footer })
69861
69861
  ] });
69862
69862
  };
69863
69863