@youngonesworks/ui 0.1.99 → 0.1.101

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.js CHANGED
@@ -624,12 +624,13 @@ Avatar.displayName = "Avatar";
624
624
 
625
625
  //#endregion
626
626
  //#region src/components/avatarIndicator/index.tsx
627
- const AvatarIndicator = ({ indicatorCount, className }) => /* @__PURE__ */ jsx("div", {
628
- className: cn("inline-flex h-5 min-w-5 flex-col items-center justify-center gap-2.5 rounded border-2 border-solid border-white bg-blue-950 px-1.5", className),
627
+ const AvatarIndicator = ({ indicatorCount, className,...props }) => /* @__PURE__ */ jsx("div", {
628
+ className: cn("grid h-5 min-w-5 w-fit flex-col place-content-center items-center justify-center rounded-full bg-white px-0.5", className),
629
629
  "data-component": "AvatarIndicator",
630
630
  "data-testid": "AvatarIndicator",
631
+ ...props,
631
632
  children: /* @__PURE__ */ jsx("div", {
632
- className: "font-['Gotham'] text-[10px] leading-[10px] font-bold text-white",
633
+ className: "font-['Gotham'] text-[10px] leading-[10px] text-black",
633
634
  children: `+${indicatorCount}`
634
635
  })
635
636
  });
@@ -641,7 +642,7 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children
641
642
  return /* @__PURE__ */ jsx("span", {
642
643
  "data-testid": "badge",
643
644
  "data-component": "Badge",
644
- className: clsx("inline-flex h-[1.375rem] max-w-full place-content-center items-center p-[10px] align-middle text-xs leading-[20px] font-medium tracking-wide text-wrap whitespace-normal normal-case rounded-sm", {
645
+ className: cn("inline-flex max-w-full place-content-center items-center px-2.5 align-middle text-xs leading-[20px] font-medium tracking-wide text-wrap whitespace-normal normal-case rounded-sm", {
645
646
  "bg-accent-blue-light text-accent-blue": styleVariant === COLOR.ACCENT_BLUE,
646
647
  "bg-green-light text-green": styleVariant === COLOR.GREEN_LIGHT,
647
648
  "bg-red-50 text-red-500": styleVariant === COLOR.RED,