@enyxs/wikex-components 0.8.15 → 0.8.16

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.mjs CHANGED
@@ -3532,7 +3532,7 @@ var headerDefaults = {
3532
3532
  ctaUrl: "#lien-he"
3533
3533
  };
3534
3534
  function EstateHeaderRenderer(props) {
3535
- return /* @__PURE__ */ jsx5(Box5, { component: "header", sx: { ...estateResponsiveSx, position: "relative", zIndex: 10, borderBottom: "1px solid rgba(255,255,255,.16)", bgcolor: palette.dark, color: "white", px: { xs: 2, md: 4 } }, children: /* @__PURE__ */ jsxs5(Box5, { className: "estate-container", sx: { display: "flex", minHeight: { xs: 76, md: 96 }, maxWidth: 1376, mx: "auto", alignItems: "center", justifyContent: "space-between", gap: 2 }, children: [
3535
+ return /* @__PURE__ */ jsx5(Box5, { component: "header", sx: { ...estateResponsiveSx, position: "relative", zIndex: props.editable ? 1 : 10, borderBottom: "1px solid rgba(255,255,255,.16)", bgcolor: palette.dark, color: "white", px: { xs: 2, md: 4 } }, children: /* @__PURE__ */ jsxs5(Box5, { className: "estate-container", sx: { display: "flex", minHeight: { xs: 76, md: 96 }, maxWidth: 1376, mx: "auto", alignItems: "center", justifyContent: "space-between", gap: 2 }, children: [
3536
3536
  /* @__PURE__ */ jsx5(EstateLogo, { props, fallback: headerDefaults.logo }),
3537
3537
  /* @__PURE__ */ jsxs5(Stack3, { component: "nav", direction: "row", spacing: { md: 3, lg: 4 }, sx: { alignItems: "center", "@container (max-width: 767px)": { display: "none" } }, children: [
3538
3538
  [1, 2, 3, 4].map((index) => /* @__PURE__ */ jsx5(Button5, { component: "a", href: String(value4(props.content, `nav${index}Url`, headerDefaults[`nav${index}Url`])), sx: { minWidth: 0, p: 0, color: "inherit", fontSize: 12, fontWeight: 600, textTransform: "none", "&:hover": { bgcolor: "transparent", opacity: 0.6 } }, children: /* @__PURE__ */ jsx5(Text, { props, field: `nav${index}Label`, fallback: headerDefaults[`nav${index}Label`], children: (node) => node }) }, index)),