@julseb-lib/react 1.0.5 → 1.0.7
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -13
- package/dist/index.d.ts +19 -13
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -69575,7 +69575,7 @@ var Header = ({
|
|
|
69575
69575
|
links,
|
|
69576
69576
|
nav,
|
|
69577
69577
|
backgroundColor = "primary",
|
|
69578
|
-
navMobileBackground,
|
|
69578
|
+
navMobileBackground = backgroundColor,
|
|
69579
69579
|
textColor = "white",
|
|
69580
69580
|
linksColor = "white",
|
|
69581
69581
|
headerOpenMobileBackground = backgroundColor,
|
|
@@ -69624,14 +69624,15 @@ var Header = ({
|
|
|
69624
69624
|
isMobile && /* @__PURE__ */ (0, import_jsx_runtime367.jsx)(HeaderSearch, { ...searchProps })
|
|
69625
69625
|
] }),
|
|
69626
69626
|
className: clsx(
|
|
69627
|
-
"z-999 flex gap-2 [&>a]:outline-none transition-all duration-200 ease-in-out",
|
|
69627
|
+
"z-999 flex gap-2 [&>a]:outline-none w-fit transition-all duration-200 ease-in-out",
|
|
69628
69628
|
"fixed md:relative",
|
|
69629
69629
|
"flex-col md:flex-row px-[5%] md:px-0",
|
|
69630
69630
|
genRingColorChildren[linksColor],
|
|
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" && [
|