@julseb-lib/react 0.1.69 → 0.1.71

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
@@ -2005,9 +2005,23 @@ declare const ListGroupTitle: FC$1<ILibListGroupTitle>;
2005
2005
  declare const ListGroupItem: FC$1<ILibListGroupItem>;
2006
2006
 
2007
2007
  /**
2008
- * Breadcrumbs component for displaying navigational breadcrumb trails with customizable separators and flexible content.
2008
+ * Breadcrumbs component for displaying navigational breadcrumb trails.
2009
+ *
2010
+ * Renders a customizable container (default: div) with children as breadcrumb items,
2011
+ * separated by a customizable separator (string or React node).
2012
+ * Supports accent and text color theming, and additional class names.
2009
2013
  *
2010
2014
  * @component
2015
+ * @param {ILibBreadcrumbs} props - Breadcrumbs props.
2016
+ * @param {string} [props.className] - Additional CSS classes for the container.
2017
+ * @param {React.ElementType} [props.element="div"] - Container element type.
2018
+ * @param {React.Ref<HTMLDivElement>} [props.ref] - Ref to the container element.
2019
+ * @param {React.ReactNode} [props.children] - Breadcrumb items.
2020
+ * @param {string|React.ReactNode} [props.separator="/"] - Separator between items.
2021
+ * @param {"primary"|"secondary"|"success"|"danger"|"warning"|"gray"|"white"} [props.accentColor="primary"] - Accent color.
2022
+ * @param {Any color from the library} [props.textColor="font"] - Text color.
2023
+ * @param {any} [props.rest] - Additional props for the container.
2024
+ * @returns {JSX.Element} Breadcrumbs component.
2011
2025
  *
2012
2026
  * @example
2013
2027
  * <Breadcrumbs separator=">">
@@ -2016,17 +2030,6 @@ declare const ListGroupItem: FC$1<ILibListGroupItem>;
2016
2030
  * <Text>Current Page</Text>
2017
2031
  * </Breadcrumbs>
2018
2032
  *
2019
- * @extends HTMLDivElement
2020
- *
2021
- * @prop {string} [props.className] - Additional CSS classes to apply to the breadcrumbs container.
2022
- * @prop {React.ElementType} [props.element="div"] - HTML element type to render as the container.
2023
- * @prop {React.Ref<HTMLDivElement>} [props.ref] - Ref to the breadcrumbs container element.
2024
- * @prop {React.ReactNode} [props.children] - Navigation items to display in the breadcrumb trail.
2025
- * @prop {string | React.ReactNode} [props.separator="/"] - Separator to display between breadcrumb items.
2026
- * @prop {any} [props.rest] - Additional props spread to the container element.
2027
- *
2028
- * @returns {JSX.Element} The rendered Breadcrumbs component.
2029
- *
2030
2033
  * @see https://doc-julseb-lib-react.vercel.app/components/breadcrumbs
2031
2034
  */
2032
2035
  declare const Breadcrumbs: FC$1<ILibBreadcrumbs>;
package/dist/index.d.ts CHANGED
@@ -2005,9 +2005,23 @@ declare const ListGroupTitle: FC$1<ILibListGroupTitle>;
2005
2005
  declare const ListGroupItem: FC$1<ILibListGroupItem>;
2006
2006
 
2007
2007
  /**
2008
- * Breadcrumbs component for displaying navigational breadcrumb trails with customizable separators and flexible content.
2008
+ * Breadcrumbs component for displaying navigational breadcrumb trails.
2009
+ *
2010
+ * Renders a customizable container (default: div) with children as breadcrumb items,
2011
+ * separated by a customizable separator (string or React node).
2012
+ * Supports accent and text color theming, and additional class names.
2009
2013
  *
2010
2014
  * @component
2015
+ * @param {ILibBreadcrumbs} props - Breadcrumbs props.
2016
+ * @param {string} [props.className] - Additional CSS classes for the container.
2017
+ * @param {React.ElementType} [props.element="div"] - Container element type.
2018
+ * @param {React.Ref<HTMLDivElement>} [props.ref] - Ref to the container element.
2019
+ * @param {React.ReactNode} [props.children] - Breadcrumb items.
2020
+ * @param {string|React.ReactNode} [props.separator="/"] - Separator between items.
2021
+ * @param {"primary"|"secondary"|"success"|"danger"|"warning"|"gray"|"white"} [props.accentColor="primary"] - Accent color.
2022
+ * @param {Any color from the library} [props.textColor="font"] - Text color.
2023
+ * @param {any} [props.rest] - Additional props for the container.
2024
+ * @returns {JSX.Element} Breadcrumbs component.
2011
2025
  *
2012
2026
  * @example
2013
2027
  * <Breadcrumbs separator=">">
@@ -2016,17 +2030,6 @@ declare const ListGroupItem: FC$1<ILibListGroupItem>;
2016
2030
  * <Text>Current Page</Text>
2017
2031
  * </Breadcrumbs>
2018
2032
  *
2019
- * @extends HTMLDivElement
2020
- *
2021
- * @prop {string} [props.className] - Additional CSS classes to apply to the breadcrumbs container.
2022
- * @prop {React.ElementType} [props.element="div"] - HTML element type to render as the container.
2023
- * @prop {React.Ref<HTMLDivElement>} [props.ref] - Ref to the breadcrumbs container element.
2024
- * @prop {React.ReactNode} [props.children] - Navigation items to display in the breadcrumb trail.
2025
- * @prop {string | React.ReactNode} [props.separator="/"] - Separator to display between breadcrumb items.
2026
- * @prop {any} [props.rest] - Additional props spread to the container element.
2027
- *
2028
- * @returns {JSX.Element} The rendered Breadcrumbs component.
2029
- *
2030
2033
  * @see https://doc-julseb-lib-react.vercel.app/components/breadcrumbs
2031
2034
  */
2032
2035
  declare const Breadcrumbs: FC$1<ILibBreadcrumbs>;
package/dist/index.js CHANGED
@@ -66466,9 +66466,6 @@ var Fieldset = ({
66466
66466
  className,
66467
66467
  ref,
66468
66468
  children,
66469
- label,
66470
- labelComment,
66471
- helper,
66472
66469
  helperBottom,
66473
66470
  id,
66474
66471
  validation,
@@ -66480,9 +66477,6 @@ var Fieldset = ({
66480
66477
  return /* @__PURE__ */ jsx320(
66481
66478
  InputContainer,
66482
66479
  {
66483
- label,
66484
- labelComment,
66485
- helper,
66486
66480
  helperBottom,
66487
66481
  id,
66488
66482
  validation,
@@ -66635,7 +66629,7 @@ var ListGroupItem = ({
66635
66629
  {
66636
66630
  ref,
66637
66631
  className: clsx(
66638
- "flex justify-between gap-2 p-2 w-full",
66632
+ "flex justify-between gap-2 bg-background p-2 w-full",
66639
66633
  !noSeparator && "[&:not(:last-child)]:border-b [&:not(:last-child)]:border-b-gray-200",
66640
66634
  "disabled:bg-gray-200 disabled:text-gray-500",
66641
66635
  "list-group-item",
@@ -66723,6 +66717,8 @@ var Breadcrumbs = ({
66723
66717
  ref,
66724
66718
  children,
66725
66719
  separator = "/",
66720
+ accentColor = "primary",
66721
+ textColor = "font",
66726
66722
  ...rest
66727
66723
  }) => {
66728
66724
  const Element = element;
@@ -66733,6 +66729,8 @@ var Breadcrumbs = ({
66733
66729
  ref,
66734
66730
  className: clsx(
66735
66731
  "flex flex-wrap items-center gap-2",
66732
+ genLinkColor[accentColor],
66733
+ genTextAllColor[textColor],
66736
66734
  "breadcrumbs",
66737
66735
  className
66738
66736
  ),