yt-uikit 0.10.160 → 0.10.162

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.
@@ -12,9 +12,12 @@ export interface PointEarnBadgeProps {
12
12
  borderColor?: string;
13
13
  badgeRoundness?: string | number;
14
14
  fontSize?: string | number;
15
+ /** Default black tooltip text. */
15
16
  tooltipMessage?: string;
16
- tooltipVariant?: "default" | "card";
17
- tooltipLinkText?: string;
17
+ /** "custom" shows tooltipHtml as a card; "default" ignores it. */
18
+ tooltipVariant?: "default" | "custom";
19
+ /** Links without a URL (href "#" or empty) call onTooltipLinkClick. */
20
+ tooltipHtml?: string;
18
21
  onTooltipLinkClick?: () => void;
19
22
  }
20
- export default function PointEarnBadge({ prefix, iconUrl, showIcon, suffix, coinsEarned, widgetBackground, alignment, textColor, borderColor, badgeRoundness, fontSize, tooltipMessage, tooltipVariant, tooltipLinkText, onTooltipLinkClick, }: PointEarnBadgeProps): React.JSX.Element;
23
+ export default function PointEarnBadge({ prefix, iconUrl, showIcon, suffix, coinsEarned, widgetBackground, alignment, textColor, borderColor, badgeRoundness, fontSize, tooltipMessage, tooltipVariant, tooltipHtml, onTooltipLinkClick, }: PointEarnBadgeProps): React.JSX.Element;