yt-uikit 0.8.15-loyalty-page-block.1 → 0.8.15-loyalty-page-block.4
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 +2 -2
- package/dist/esm/components/index.d.ts +1 -1
- package/dist/esm/types/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +2 -2
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export interface
|
|
2
|
+
export interface LoyaltyPageConfigType {
|
|
3
3
|
heroDesktopImage?: string;
|
|
4
4
|
heroMobileImage?: string;
|
|
5
5
|
heroTitle?: string;
|
|
@@ -44,6 +44,6 @@ export interface LoyaltyPageConfig {
|
|
|
44
44
|
footerSignupSubtext?: string;
|
|
45
45
|
}
|
|
46
46
|
declare const LoyaltyPageBlock: ({ config }: {
|
|
47
|
-
config:
|
|
47
|
+
config: LoyaltyPageConfigType;
|
|
48
48
|
}) => React.JSX.Element;
|
|
49
49
|
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 } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
7
|
+
export { default as LoyaltyPageBlock, LoyaltyPageConfigType, } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
8
8
|
export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export interface
|
|
2
|
+
export interface LoyaltyPageConfigType {
|
|
3
3
|
heroDesktopImage?: string;
|
|
4
4
|
heroMobileImage?: string;
|
|
5
5
|
heroTitle?: string;
|
|
@@ -44,6 +44,6 @@ export interface LoyaltyPageConfig {
|
|
|
44
44
|
footerSignupSubtext?: string;
|
|
45
45
|
}
|
|
46
46
|
declare const LoyaltyPageBlock: ({ config }: {
|
|
47
|
-
config:
|
|
47
|
+
config: LoyaltyPageConfigType;
|
|
48
48
|
}) => React.JSX.Element;
|
|
49
49
|
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 } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
7
|
+
export { default as LoyaltyPageBlock, LoyaltyPageConfigType, } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
8
8
|
export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";
|
package/dist/index.d.ts
CHANGED
|
@@ -749,7 +749,7 @@ declare const Cart: React.FC<CartProps>;
|
|
|
749
749
|
type BundleLoaderProps = {};
|
|
750
750
|
declare const BundleLoader: React.FC<BundleLoaderProps>;
|
|
751
751
|
|
|
752
|
-
interface
|
|
752
|
+
interface LoyaltyPageConfigType {
|
|
753
753
|
heroDesktopImage?: string;
|
|
754
754
|
heroMobileImage?: string;
|
|
755
755
|
heroTitle?: string;
|
|
@@ -794,7 +794,7 @@ interface LoyaltyPageConfig {
|
|
|
794
794
|
footerSignupSubtext?: string;
|
|
795
795
|
}
|
|
796
796
|
declare const LoyaltyPageBlock: ({ config }: {
|
|
797
|
-
config:
|
|
797
|
+
config: LoyaltyPageConfigType;
|
|
798
798
|
}) => React.JSX.Element;
|
|
799
799
|
|
|
800
800
|
interface ProductsOffersConfigType {
|
|
@@ -823,4 +823,4 @@ declare const ProductsOffers: ({ offersConfig, offers, }: {
|
|
|
823
823
|
offers: CartCheckpoint[];
|
|
824
824
|
}) => React.JSX.Element;
|
|
825
825
|
|
|
826
|
-
export { Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, LoyaltyPageBlock, Nudge, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel };
|
|
826
|
+
export { Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, LoyaltyPageBlock, LoyaltyPageConfigType, Nudge, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel };
|