@julseb-lib/react 1.0.6 → 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
|
};
|
|
@@ -69631,7 +69631,8 @@ var Header = ({
|
|
|
69631
69631
|
`${genBgAllColors[navMobileBackground ?? "primary-500"]} md:bg-transparent`,
|
|
69632
69632
|
navDesktopPosition === "left" && "grow",
|
|
69633
69633
|
navMobileVariant === "drawer" && [
|
|
69634
|
-
"top-[56px] md:top-[unset]
|
|
69634
|
+
"top-[56px] md:top-[unset] h-[calc(100svh-56px)] md:h-[unset]",
|
|
69635
|
+
"w-[70%] md:w-fit",
|
|
69635
69636
|
navDesktopPosition === "left" ? isOpen ? "left-0 md:left-[unset]" : "left-[-70%] md:left-[unset]" : isOpen ? "right-0 md:right-[unset]" : "right-[-70%] md:right-[unset]"
|
|
69636
69637
|
],
|
|
69637
69638
|
navMobileVariant === "full" && [
|
|
@@ -69854,9 +69855,9 @@ var PageLayout = ({
|
|
|
69854
69855
|
}) => {
|
|
69855
69856
|
return /* @__PURE__ */ (0, import_jsx_runtime370.jsxs)(import_jsx_runtime370.Fragment, { children: [
|
|
69856
69857
|
meta && /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Meta, { ...meta }),
|
|
69857
|
-
header
|
|
69858
|
+
(0, import_react117.isValidElement)(header) ? header : /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Header, { ...header }),
|
|
69858
69859
|
!noWrapper && /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Wrapper, { ...wrapperProps, children: !noMain ? /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Main, { ...mainProps, children }) : children }),
|
|
69859
|
-
footer
|
|
69860
|
+
(0, import_react117.isValidElement)(footer) ? footer : /* @__PURE__ */ (0, import_jsx_runtime370.jsx)(Footer, { ...footer })
|
|
69860
69861
|
] });
|
|
69861
69862
|
};
|
|
69862
69863
|
|