yt-uikit 0.8.15-loyalty-page-block.4 → 0.8.15-loyalty-page-block.5
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/esm/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +12 -1
- package/dist/esm/components/index.d.ts +1 -1
- package/dist/esm/index.js +401 -401
- package/dist/esm/types/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +12 -1
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/index.d.ts +13 -2
- package/package.json +1 -1
|
@@ -43,7 +43,18 @@ export interface LoyaltyPageConfigType {
|
|
|
43
43
|
footerCustomText?: string;
|
|
44
44
|
footerSignupSubtext?: string;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
export interface BrandConfigType {
|
|
47
|
+
newSignupTokens?: number;
|
|
48
|
+
firstOrderTokens?: number;
|
|
49
|
+
instagramFollowPoints?: number;
|
|
50
|
+
twitterFollowPoints?: number;
|
|
51
|
+
facebookFollowPoints?: number;
|
|
52
|
+
youtubeSubscriptionPoints?: number;
|
|
53
|
+
rewardToLeaveReview?: number;
|
|
54
|
+
brandTokenName?: string;
|
|
55
|
+
}
|
|
56
|
+
declare const LoyaltyPageBlock: ({ config, brandConfig, }: {
|
|
47
57
|
config: LoyaltyPageConfigType;
|
|
58
|
+
brandConfig?: BrandConfigType | undefined;
|
|
48
59
|
}) => React.JSX.Element;
|
|
49
60
|
export default LoyaltyPageBlock;
|
|
@@ -4,5 +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, LoyaltyPageConfigType, } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
7
|
+
export { default as LoyaltyPageBlock, LoyaltyPageConfigType, BrandConfigType, } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
8
8
|
export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";
|
package/dist/index.d.ts
CHANGED
|
@@ -793,8 +793,19 @@ interface LoyaltyPageConfigType {
|
|
|
793
793
|
footerCustomText?: string;
|
|
794
794
|
footerSignupSubtext?: string;
|
|
795
795
|
}
|
|
796
|
-
|
|
796
|
+
interface BrandConfigType {
|
|
797
|
+
newSignupTokens?: number;
|
|
798
|
+
firstOrderTokens?: number;
|
|
799
|
+
instagramFollowPoints?: number;
|
|
800
|
+
twitterFollowPoints?: number;
|
|
801
|
+
facebookFollowPoints?: number;
|
|
802
|
+
youtubeSubscriptionPoints?: number;
|
|
803
|
+
rewardToLeaveReview?: number;
|
|
804
|
+
brandTokenName?: string;
|
|
805
|
+
}
|
|
806
|
+
declare const LoyaltyPageBlock: ({ config, brandConfig, }: {
|
|
797
807
|
config: LoyaltyPageConfigType;
|
|
808
|
+
brandConfig?: BrandConfigType | undefined;
|
|
798
809
|
}) => React.JSX.Element;
|
|
799
810
|
|
|
800
811
|
interface ProductsOffersConfigType {
|
|
@@ -823,4 +834,4 @@ declare const ProductsOffers: ({ offersConfig, offers, }: {
|
|
|
823
834
|
offers: CartCheckpoint[];
|
|
824
835
|
}) => React.JSX.Element;
|
|
825
836
|
|
|
826
|
-
export { Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, LoyaltyPageBlock, LoyaltyPageConfigType, Nudge, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel };
|
|
837
|
+
export { BrandConfigType, Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, LoyaltyPageBlock, LoyaltyPageConfigType, Nudge, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel };
|