@julseb-lib/react 1.1.14 → 1.1.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.cjs +4 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -7
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +0 -1
- package/dist/types/components-props.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3857,7 +3857,7 @@ var Hr = ({
|
|
|
3857
3857
|
{
|
|
3858
3858
|
ref,
|
|
3859
3859
|
className: clsx(
|
|
3860
|
-
"border-none h-px",
|
|
3860
|
+
"border-none w-full h-px",
|
|
3861
3861
|
isRounded ? "rounded-full" : "rounded-none",
|
|
3862
3862
|
genBgAllColors[color],
|
|
3863
3863
|
genMaxWidth[maxWidth2],
|
|
@@ -70498,7 +70498,6 @@ var Header = ({
|
|
|
70498
70498
|
textColor = "white",
|
|
70499
70499
|
linksColor = "white",
|
|
70500
70500
|
headerOpenMobileBackground = "primary",
|
|
70501
|
-
noNav,
|
|
70502
70501
|
...rest
|
|
70503
70502
|
}) => {
|
|
70504
70503
|
const Element = element;
|
|
@@ -70602,11 +70601,10 @@ var Header = ({
|
|
|
70602
70601
|
children: logo
|
|
70603
70602
|
}
|
|
70604
70603
|
) : logo,
|
|
70605
|
-
navDesktopPosition === "left" &&
|
|
70606
|
-
navDesktopPosition === "left" && noNav && children,
|
|
70604
|
+
navDesktopPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)("nav", { ...navProps }),
|
|
70607
70605
|
!isMobile && navDesktopPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)(HeaderSearch, { ...searchProps }),
|
|
70608
70606
|
burgerPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)(Burger, { ...burgerProps }),
|
|
70609
|
-
isMobile && navMobileVariant === "drawer" &&
|
|
70607
|
+
isMobile && navMobileVariant === "drawer" && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)(
|
|
70610
70608
|
"div",
|
|
70611
70609
|
{
|
|
70612
70610
|
className: clsx(
|
|
@@ -70618,8 +70616,7 @@ var Header = ({
|
|
|
70618
70616
|
onClick: handleClose
|
|
70619
70617
|
}
|
|
70620
70618
|
),
|
|
70621
|
-
navDesktopPosition === "right" &&
|
|
70622
|
-
navDesktopPosition === "right" && noNav && children,
|
|
70619
|
+
navDesktopPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)("nav", { ...navProps }),
|
|
70623
70620
|
!isMobile && navDesktopPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)(HeaderSearch, { ...searchProps })
|
|
70624
70621
|
]
|
|
70625
70622
|
}
|