@julseb-lib/react 0.1.82 → 0.1.83
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 +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +2 -1
- package/dist/types/components-props.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -69568,7 +69568,7 @@ var Header = ({
|
|
|
69568
69568
|
nav,
|
|
69569
69569
|
backgroundColor = "primary",
|
|
69570
69570
|
textColor = "white",
|
|
69571
|
-
|
|
69571
|
+
linksColor = "white",
|
|
69572
69572
|
...rest
|
|
69573
69573
|
}) => {
|
|
69574
69574
|
const Element = element;
|
|
@@ -69617,7 +69617,7 @@ var Header = ({
|
|
|
69617
69617
|
"z-999 flex gap-2 [&>a]:outline-none transition-all duration-200 ease-in-out",
|
|
69618
69618
|
"fixed md:relative",
|
|
69619
69619
|
"flex-col md:flex-row px-[5%] md:px-0",
|
|
69620
|
-
genRingColorChildren[
|
|
69620
|
+
genRingColorChildren[linksColor],
|
|
69621
69621
|
navDesktopPosition === "left" && "grow",
|
|
69622
69622
|
genBgAllColors[backgroundColor],
|
|
69623
69623
|
navMobileVariant === "drawer" && [
|
|
@@ -69652,7 +69652,7 @@ var Header = ({
|
|
|
69652
69652
|
position,
|
|
69653
69653
|
genBgAllColors[backgroundColor],
|
|
69654
69654
|
genTextAllColor[textColor],
|
|
69655
|
-
genLinkColor[
|
|
69655
|
+
genLinkColor[linksColor],
|
|
69656
69656
|
isHidden ? "top-[-64px]" : "top-0",
|
|
69657
69657
|
"header",
|
|
69658
69658
|
className
|
|
@@ -69665,7 +69665,7 @@ var Header = ({
|
|
|
69665
69665
|
{
|
|
69666
69666
|
className: clsx(
|
|
69667
69667
|
"z-999 outline-none [&>a]:outline-none",
|
|
69668
|
-
genRingColorChildren[
|
|
69668
|
+
genRingColorChildren[linksColor]
|
|
69669
69669
|
),
|
|
69670
69670
|
children: logo
|
|
69671
69671
|
}
|
|
@@ -69708,6 +69708,7 @@ var Footer = ({
|
|
|
69708
69708
|
logo,
|
|
69709
69709
|
direction = "horizontal",
|
|
69710
69710
|
linksSeparatorColor = "gray-500",
|
|
69711
|
+
linksColor = "primary",
|
|
69711
69712
|
...rest
|
|
69712
69713
|
}) => {
|
|
69713
69714
|
const Element = element;
|
|
@@ -69720,12 +69721,14 @@ var Footer = ({
|
|
|
69720
69721
|
"relative flex px-[5%] pb-4",
|
|
69721
69722
|
direction === "horizontal" ? "flex-row justify-between" : "flex-col items-center gap-2",
|
|
69722
69723
|
!hideSeparator && "before:w-[90%] before:h-[1px] before:absolute before:top-0 before:left-[5%] before:bg-gray-200 pt-4",
|
|
69724
|
+
genLinkColor[linksColor],
|
|
69725
|
+
genButtonColor[linksColor],
|
|
69723
69726
|
"footer",
|
|
69724
69727
|
className
|
|
69725
69728
|
),
|
|
69726
69729
|
...rest,
|
|
69727
69730
|
children: [
|
|
69728
|
-
logo,
|
|
69731
|
+
typeof logo === "string" ? /* @__PURE__ */ (0, import_jsx_runtime368.jsx)(Text, { children: logo }) : logo,
|
|
69729
69732
|
/* @__PURE__ */ (0, import_jsx_runtime368.jsx)("div", { className: "flex items-container gap-2", children: items?.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime368.jsxs)(import_react115.Fragment, { children: [
|
|
69730
69733
|
item,
|
|
69731
69734
|
i !== items.length - 1 && !hideLinksSeparator && /* @__PURE__ */ (0, import_jsx_runtime368.jsx)(
|