yt-uikit 0.8.14-productTier-freebie.0 → 0.8.15-loyalty-page-block.0

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.
@@ -0,0 +1,49 @@
1
+ import React from "react";
2
+ export interface LoyaltyPageConfig {
3
+ heroDesktopImage?: string;
4
+ heroMobileImage?: string;
5
+ heroTitle?: string;
6
+ heroSubtitle?: string;
7
+ heroTextAlignment?: "left" | "center" | "right";
8
+ heroSubtitleFontSize?: string;
9
+ heroSubtitleColor?: string;
10
+ heroSubtitleFontWeight?: string;
11
+ heroTitleFontSize?: string;
12
+ heroTitleColor?: string;
13
+ heroRegistrationCTAVisibility?: boolean;
14
+ primaryColor?: string;
15
+ primaryContrastColor?: string;
16
+ secondaryColor?: string;
17
+ secondaryContrastColor?: string;
18
+ accentColor?: string;
19
+ borderColor?: string;
20
+ themeRoundness?: string;
21
+ heroBannerVisibility?: "show" | "hide";
22
+ stepsVisibility?: "show" | "hide";
23
+ waysToEarnVisibility?: "show" | "hide";
24
+ customSectionVisibility?: "show" | "hide";
25
+ footerSignupVisibility?: "show" | "hide";
26
+ customSectionImagePosition?: "left" | "right";
27
+ customSectionTitle?: string;
28
+ customSectionSubtitle?: string;
29
+ customSectionTitleFontSize?: string;
30
+ customSectionSubtitleFontSize?: string;
31
+ customSectionImage?: string;
32
+ customSectionTextAlignment?: "left" | "center" | "right";
33
+ customSectionTitleColor?: string;
34
+ customSectionSubtitleColor?: string;
35
+ stepsTitle?: string;
36
+ stepsSubtitle?: string;
37
+ step1Title?: string;
38
+ step1Description?: string;
39
+ step2Title?: string;
40
+ step2Description?: string;
41
+ step3Title?: string;
42
+ step3Description?: string;
43
+ footerCustomText?: string;
44
+ footerSignupSubtext?: string;
45
+ }
46
+ declare const LoyaltyPageBlock: ({ config }: {
47
+ config: LoyaltyPageConfig;
48
+ }) => React.JSX.Element;
49
+ export default LoyaltyPageBlock;
@@ -4,4 +4,5 @@ export { default as Cart } from "./Cart";
4
4
  export { default as CouponFrame } from "./CouponFrame";
5
5
  export { default as Bundle } from "./BundleBlock";
6
6
  export { default as BundleLoader } from "./BundleBlock/Loader";
7
+ export { default as LoyaltyPageBlock } from "./LoyaltyPageBlock/LoyaltyPageBlock";
7
8
  export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";