design-system-silkhaus 2.0.0 → 2.1.0-beta.promo-dialog.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/dist/index.d.ts CHANGED
@@ -126,6 +126,7 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
126
126
  disabled?: true | false;
127
127
  startIcon?: default_2.ReactNode;
128
128
  endIcon?: default_2.ReactNode;
129
+ trackingId?: string;
129
130
  selected?: boolean;
130
131
  }
131
132
 
@@ -431,6 +432,28 @@ export declare interface PriceRangeSliderProps {
431
432
  value?: [number | '', number | ''];
432
433
  }
433
434
 
435
+ export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
436
+
437
+ export declare interface PromoDialogProps {
438
+ bannerImageUrlDesktop?: string;
439
+ bannerImageUrlMobile?: string;
440
+ heading?: string;
441
+ discountText?: string;
442
+ desc?: string;
443
+ warningText?: string;
444
+ primaryBtnText?: string | ReactNode;
445
+ secondaryBtnText?: string | ReactNode;
446
+ onPrimaryBtnClick?: (email: string) => void;
447
+ onSecondaryBtnClick?: () => void;
448
+ onCloseButtonClick?: () => void;
449
+ showRecaptchaBranding?: boolean;
450
+ primatyBtnTrackingId?: string;
451
+ secondaryBtnTrackingId?: string;
452
+ closeBtnTrackingId?: string;
453
+ className?: string;
454
+ open?: boolean;
455
+ }
456
+
434
457
  export declare const QuestionMarkIcon: FC<{
435
458
  className?: string;
436
459
  }>;