@trafilea/afrodita-components 6.46.4 → 6.47.1

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/build/index.d.ts CHANGED
@@ -1471,6 +1471,11 @@ interface BuyNowPayLaterProps {
1471
1471
  }
1472
1472
  declare const BuyNowPayLater: ({ displayBNPL, installments, installmentPrice, iconFolder, iconName, showLogo, iconColor, fontSize, bnplWithAfterPay, textTemplate, }: BuyNowPayLaterProps) => JSX.Element | null;
1473
1473
 
1474
+ interface TrashButtonProps {
1475
+ onClick: () => void;
1476
+ size: number;
1477
+ }
1478
+
1474
1479
  interface CloseButtonProps {
1475
1480
  onClick: () => void;
1476
1481
  size: number;
@@ -1500,6 +1505,7 @@ declare const CartProductItem: {
1500
1505
  Promo: ({ text }: PromoProps) => JSX.Element;
1501
1506
  Description: ({ text }: DescriptionProps) => JSX.Element;
1502
1507
  CloseButton: ({ onClick, size }: CloseButtonProps) => JSX.Element;
1508
+ TrashButton: ({ onClick, size }: TrashButtonProps) => JSX.Element;
1503
1509
  };
1504
1510
 
1505
1511
  declare type Themes = 'Shapermint' | 'Truekind' | 'Revel' | 'TheSpaDr' | 'TheBodCon';
@@ -2497,7 +2503,9 @@ declare type CTAProps = {
2497
2503
  disabled?: boolean;
2498
2504
  wide?: boolean | false;
2499
2505
  size?: ComponentSize;
2500
- text: string;
2506
+ text: string | React.ReactNode | {
2507
+ __html: string;
2508
+ };
2501
2509
  type?: ButtonType;
2502
2510
  className?: string;
2503
2511
  testId?: string;
@@ -3115,7 +3123,9 @@ interface BaseCTAProps {
3115
3123
  wide?: boolean;
3116
3124
  className?: string;
3117
3125
  size?: ComponentSize;
3118
- text: string;
3126
+ text: string | React.ReactNode | {
3127
+ __html: string;
3128
+ };
3119
3129
  type?: ButtonType;
3120
3130
  inline?: boolean;
3121
3131
  testId?: string;