yt-uikit 0.10.126 → 0.10.127

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.
@@ -3,6 +3,7 @@ export type PointEarnBadgeAlignment = "left" | "center" | "right";
3
3
  export interface PointEarnBadgeProps {
4
4
  prefix?: string;
5
5
  iconUrl?: string;
6
+ showIcon?: boolean;
6
7
  suffix?: string;
7
8
  coinsEarned?: number | string;
8
9
  widgetBackground?: string;
@@ -11,5 +12,6 @@ export interface PointEarnBadgeProps {
11
12
  borderColor?: string;
12
13
  badgeRoundness?: string | number;
13
14
  fontSize?: string | number;
15
+ tooltipMessage?: string;
14
16
  }
15
- export default function PointEarnBadge({ prefix, iconUrl, suffix, coinsEarned, widgetBackground, alignment, textColor, borderColor, badgeRoundness, fontSize, }: PointEarnBadgeProps): React.JSX.Element;
17
+ export default function PointEarnBadge({ prefix, iconUrl, showIcon, suffix, coinsEarned, widgetBackground, alignment, textColor, borderColor, badgeRoundness, fontSize, tooltipMessage, }: PointEarnBadgeProps): React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ export type PointRedeemBadgeAlignment = "left" | "center" | "right";
3
+ export interface PointRedeemBadgeProps {
4
+ prefix?: string;
5
+ suffix?: string;
6
+ priceValue?: number | string;
7
+ coinValue?: number | string;
8
+ coinIcon?: string;
9
+ showIcon?: boolean;
10
+ widgetBackground?: string;
11
+ alignment?: PointRedeemBadgeAlignment;
12
+ textColor?: string;
13
+ borderColor?: string;
14
+ badgeRoundness?: string | number;
15
+ fontSize?: string | number;
16
+ }
17
+ export default function PointRedeemBadge({ prefix, suffix, priceValue, coinValue, coinIcon, showIcon, widgetBackground, alignment, textColor, borderColor, badgeRoundness, fontSize, }: PointRedeemBadgeProps): React.JSX.Element;
@@ -4,6 +4,7 @@ export { default as RewardsModal } from "./RewardsModal";
4
4
  export { default as LoyaltyWidget } from "./LoyaltyWidget";
5
5
  export { default as LoyaltyProductCatalog } from "./LoyaltyProductCatalog";
6
6
  export { default as PointEarnBadge } from "./PointEarnBadge";
7
+ export { default as PointRedeemBadge } from "./PointRedeemBadge";
7
8
  export { default as AccountBlock } from "./AccountBlock";
8
9
  export { default as AccountOrderHistory } from "./AccountOrderHistory";
9
10
  export { default as AccountAddresses } from "./AccountAddresses";
@@ -0,0 +1,3 @@
1
+ import type { CSSProperties } from "react";
2
+ declare const styles: Record<string, CSSProperties>;
3
+ export default styles;
@@ -11,6 +11,7 @@ export { RewardsModal as RewardsModal } from "./Loyalty";
11
11
  export { LoyaltyWidget as LoyaltyWidget } from "./Loyalty";
12
12
  export { LoyaltyProductCatalog as LoyaltyProductCatalog } from "./Loyalty";
13
13
  export { PointEarnBadge as PointEarnBadge } from "./Loyalty";
14
+ export { PointRedeemBadge as PointRedeemBadge } from "./Loyalty";
14
15
  export { AccountBlock as AccountBlock } from "./Loyalty";
15
16
  export { AccountLoginForm as AccountLoginForm } from "./Loyalty";
16
17
  export type { AccountBlockProps, AccountTabId, AccountCustomHtmlConfig, AccountRewardsSectionId, AccountUser, AccountOrder, AccountOrderLineItem, AccountAddress, AccountAddressType, AccountAddressPayload, AccountOption, AccountProfilePayload, AccountNotificationPreference, AccountRewardsConfig, AccountLoginAuthType, AccountLoginFormProps, AccountLoginIdentity, } from "./Loyalty";