odaptos_design_system 2.0.63 → 2.0.64

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.
@@ -9,7 +9,8 @@ interface TagProps extends HTMLAttributes<HTMLDivElement> {
9
9
  customColor?: string;
10
10
  className?: string;
11
11
  canBeRemoved?: boolean;
12
+ tooltipText?: string;
12
13
  }
13
14
  /** Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=1359-33355&mode=dev */
14
- export declare const Tag: ({ text, status, size, iconLeft, iconRight, amountNumber, customColor, className, canBeRemoved, ...props }: TagProps) => React.JSX.Element;
15
+ export declare const Tag: ({ text, status, size, iconLeft, iconRight, amountNumber, customColor, className, canBeRemoved, tooltipText, ...props }: TagProps) => React.JSX.Element;
15
16
  export {};
@@ -15793,6 +15793,7 @@ const Tag = ({
15793
15793
  customColor,
15794
15794
  className,
15795
15795
  canBeRemoved = false,
15796
+ tooltipText,
15796
15797
  ...props
15797
15798
  }) => {
15798
15799
  const tagCustomColor = customColor ? colord.colord(customColor) : undefined;
@@ -15831,7 +15832,7 @@ const Tag = ({
15831
15832
  return () => window.removeEventListener('resize', checkEllipsis);
15832
15833
  }, []);
15833
15834
  return /*#__PURE__*/React__default.createElement(Tooltip, {
15834
- tooltipDescription: text,
15835
+ tooltipDescription: tooltipText ?? text,
15835
15836
  arrow: true,
15836
15837
  isTooltipActive: isEllipsisActive
15837
15838
  }, /*#__PURE__*/React__default.createElement("div", Object.assign({}, props, {