@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.d.cts CHANGED
@@ -3075,7 +3075,7 @@ declare const Drawer: FC$1<ILibDrawer>;
3075
3075
  * @prop {React.ReactNode} [props.nav] - Navigation content to display.
3076
3076
  * @prop {LibAllColors} [props.backgroundColor="primary"] - Background color for the header.
3077
3077
  * @prop {LibAllColors} [props.textColor="white"] - Text color for header content.
3078
- * @prop {LibColorsHover} [props.linkColor="white"] - Color for navigation links.
3078
+ * @prop {LibColorsHover} [props.linksColor="white"] - Color for navigation links.
3079
3079
  *
3080
3080
  * @returns {JSX.Element} The rendered Header component.
3081
3081
  *
@@ -3108,11 +3108,12 @@ declare const Header: FC$1<ILibHeader>;
3108
3108
  * @prop {React.ReactNode} [props.children] - Child elements to display in the footer links section.
3109
3109
  * @prop {boolean} [props.hideSeparator] - Whether to hide the top border separator line.
3110
3110
  * @prop {boolean} [props.hideLinksSeparator] - Whether to hide separators between footer links.
3111
- * @prop {"dot" | "dash"} [props.linksSeparator="dot"] - Type of separator to display between links.
3111
+ * @prop {"dot" | "dash"} [props.linksSeparator="dot"] - Type of separator to display between links. Possible values: "dot", "dash". Default: "dot".
3112
3112
  * @prop {Array<React.ReactNode>} [props.items] - Array of footer link items to display.
3113
3113
  * @prop {React.ReactNode} [props.logo] - Logo element to display in the footer.
3114
- * @prop {"horizontal" | "vertical"} [props.direction="horizontal"] - Layout direction for footer content.
3115
- * @prop {LibAllColors} [props.linksSeparatorColor="gray-500"] - Color for the separator between links.
3114
+ * @prop {"horizontal" | "vertical"} [props.direction="horizontal"] - Layout direction for footer content. Possible values: "horizontal", "vertical". Default: "horizontal".
3115
+ * @prop {LibAllColors} [props.linksSeparatorColor="gray-500"] - Color for the separator between links. Default: "gray-500".
3116
+ * @prop {LibColorsHover} [props.linksColor="primary"] - Color for the footer links. Default: "primary".
3116
3117
  *
3117
3118
  * @returns {JSX.Element} The rendered Footer component.
3118
3119
  *
package/dist/index.d.ts CHANGED
@@ -3075,7 +3075,7 @@ declare const Drawer: FC$1<ILibDrawer>;
3075
3075
  * @prop {React.ReactNode} [props.nav] - Navigation content to display.
3076
3076
  * @prop {LibAllColors} [props.backgroundColor="primary"] - Background color for the header.
3077
3077
  * @prop {LibAllColors} [props.textColor="white"] - Text color for header content.
3078
- * @prop {LibColorsHover} [props.linkColor="white"] - Color for navigation links.
3078
+ * @prop {LibColorsHover} [props.linksColor="white"] - Color for navigation links.
3079
3079
  *
3080
3080
  * @returns {JSX.Element} The rendered Header component.
3081
3081
  *
@@ -3108,11 +3108,12 @@ declare const Header: FC$1<ILibHeader>;
3108
3108
  * @prop {React.ReactNode} [props.children] - Child elements to display in the footer links section.
3109
3109
  * @prop {boolean} [props.hideSeparator] - Whether to hide the top border separator line.
3110
3110
  * @prop {boolean} [props.hideLinksSeparator] - Whether to hide separators between footer links.
3111
- * @prop {"dot" | "dash"} [props.linksSeparator="dot"] - Type of separator to display between links.
3111
+ * @prop {"dot" | "dash"} [props.linksSeparator="dot"] - Type of separator to display between links. Possible values: "dot", "dash". Default: "dot".
3112
3112
  * @prop {Array<React.ReactNode>} [props.items] - Array of footer link items to display.
3113
3113
  * @prop {React.ReactNode} [props.logo] - Logo element to display in the footer.
3114
- * @prop {"horizontal" | "vertical"} [props.direction="horizontal"] - Layout direction for footer content.
3115
- * @prop {LibAllColors} [props.linksSeparatorColor="gray-500"] - Color for the separator between links.
3114
+ * @prop {"horizontal" | "vertical"} [props.direction="horizontal"] - Layout direction for footer content. Possible values: "horizontal", "vertical". Default: "horizontal".
3115
+ * @prop {LibAllColors} [props.linksSeparatorColor="gray-500"] - Color for the separator between links. Default: "gray-500".
3116
+ * @prop {LibColorsHover} [props.linksColor="primary"] - Color for the footer links. Default: "primary".
3116
3117
  *
3117
3118
  * @returns {JSX.Element} The rendered Footer component.
3118
3119
  *
package/dist/index.js CHANGED
@@ -69406,7 +69406,7 @@ var Header = ({
69406
69406
  nav,
69407
69407
  backgroundColor = "primary",
69408
69408
  textColor = "white",
69409
- linkColor = "white",
69409
+ linksColor = "white",
69410
69410
  ...rest
69411
69411
  }) => {
69412
69412
  const Element = element;
@@ -69455,7 +69455,7 @@ var Header = ({
69455
69455
  "z-999 flex gap-2 [&>a]:outline-none transition-all duration-200 ease-in-out",
69456
69456
  "fixed md:relative",
69457
69457
  "flex-col md:flex-row px-[5%] md:px-0",
69458
- genRingColorChildren[linkColor],
69458
+ genRingColorChildren[linksColor],
69459
69459
  navDesktopPosition === "left" && "grow",
69460
69460
  genBgAllColors[backgroundColor],
69461
69461
  navMobileVariant === "drawer" && [
@@ -69490,7 +69490,7 @@ var Header = ({
69490
69490
  position,
69491
69491
  genBgAllColors[backgroundColor],
69492
69492
  genTextAllColor[textColor],
69493
- genLinkColor[linkColor],
69493
+ genLinkColor[linksColor],
69494
69494
  isHidden ? "top-[-64px]" : "top-0",
69495
69495
  "header",
69496
69496
  className
@@ -69503,7 +69503,7 @@ var Header = ({
69503
69503
  {
69504
69504
  className: clsx(
69505
69505
  "z-999 outline-none [&>a]:outline-none",
69506
- genRingColorChildren[linkColor]
69506
+ genRingColorChildren[linksColor]
69507
69507
  ),
69508
69508
  children: logo
69509
69509
  }
@@ -69546,6 +69546,7 @@ var Footer = ({
69546
69546
  logo,
69547
69547
  direction = "horizontal",
69548
69548
  linksSeparatorColor = "gray-500",
69549
+ linksColor = "primary",
69549
69550
  ...rest
69550
69551
  }) => {
69551
69552
  const Element = element;
@@ -69558,12 +69559,14 @@ var Footer = ({
69558
69559
  "relative flex px-[5%] pb-4",
69559
69560
  direction === "horizontal" ? "flex-row justify-between" : "flex-col items-center gap-2",
69560
69561
  !hideSeparator && "before:w-[90%] before:h-[1px] before:absolute before:top-0 before:left-[5%] before:bg-gray-200 pt-4",
69562
+ genLinkColor[linksColor],
69563
+ genButtonColor[linksColor],
69561
69564
  "footer",
69562
69565
  className
69563
69566
  ),
69564
69567
  ...rest,
69565
69568
  children: [
69566
- logo,
69569
+ typeof logo === "string" ? /* @__PURE__ */ jsx367(Text, { children: logo }) : logo,
69567
69570
  /* @__PURE__ */ jsx367("div", { className: "flex items-container gap-2", children: items?.map((item, i) => /* @__PURE__ */ jsxs293(Fragment14, { children: [
69568
69571
  item,
69569
69572
  i !== items.length - 1 && !hideLinksSeparator && /* @__PURE__ */ jsx367(