yt-uikit 0.10.41 → 0.10.42
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/Cart/Cart.d.ts +5 -3
- package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +0 -1
- package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +3 -2
- package/dist/esm/components/Cart/LoyaltyBadge.d.ts +3 -2
- package/dist/esm/components/Cart/RewardPointsPreview.d.ts +3 -1
- package/dist/esm/index.js +412 -412
- package/dist/esm/utils/converter.d.ts +1 -0
- package/package.json +1 -1
|
@@ -129,7 +129,8 @@ export interface CartProps {
|
|
|
129
129
|
cartCheckpoints?: Checkpoint[];
|
|
130
130
|
showCartLevelAltPay?: boolean;
|
|
131
131
|
redemptionRate: number;
|
|
132
|
-
|
|
132
|
+
orderCreditType?: string;
|
|
133
|
+
orderCreditValue?: number;
|
|
133
134
|
exploreCtaRedirectLink?: string;
|
|
134
135
|
discountAmountApplied?: number;
|
|
135
136
|
minimumCartValue?: number;
|
|
@@ -156,7 +157,8 @@ export interface CartProps {
|
|
|
156
157
|
freeProduct?: any;
|
|
157
158
|
showLoyaltyCta?: boolean;
|
|
158
159
|
freeProductAdjustedCartTotal?: number;
|
|
159
|
-
|
|
160
|
+
redemptionMinimumOrderValue?: number;
|
|
161
|
+
redemptionMinimumOrderValueStatus?: boolean;
|
|
160
162
|
signinCTAButtonVisible?: boolean;
|
|
161
163
|
cartSigninCTAMainText?: string;
|
|
162
164
|
showNoteOption?: boolean;
|
|
@@ -225,7 +227,7 @@ export interface CartProps {
|
|
|
225
227
|
showVariantSelectionDropdownInProductClaim?: boolean;
|
|
226
228
|
productClaimCtaButtonText?: string;
|
|
227
229
|
loyaltyDiscount?: LoyaltyDiscount | undefined;
|
|
228
|
-
|
|
230
|
+
coinName?: string;
|
|
229
231
|
showDiscountOnMRP?: boolean;
|
|
230
232
|
prefixMessageText?: string;
|
|
231
233
|
suffixMessageText?: string;
|
|
@@ -12,7 +12,6 @@ type LoyaltyAppliedCTAProps = {
|
|
|
12
12
|
secondaryTextColor?: string;
|
|
13
13
|
loyaltyDiscount: LoyaltyDiscount;
|
|
14
14
|
pointsToBeUsed: number;
|
|
15
|
-
brandTokenName?: string;
|
|
16
15
|
showCartLevelAltPay?: boolean;
|
|
17
16
|
};
|
|
18
17
|
declare const LoyaltyAppliedCTA: React.FC<LoyaltyAppliedCTAProps>;
|
|
@@ -9,8 +9,9 @@ type LoyaltyApplyCTAProps = {
|
|
|
9
9
|
ctaButtonTextColor?: string;
|
|
10
10
|
primaryTextColor?: string;
|
|
11
11
|
secondaryTextColor?: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
redemptionMinimumOrderValue?: number;
|
|
13
|
+
redemptionMinimumOrderValueStatus?: boolean;
|
|
14
|
+
coinName?: string;
|
|
14
15
|
showCartLevelAltPay?: boolean;
|
|
15
16
|
redemptionMultiplier?: number | null;
|
|
16
17
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const LoyaltyBadge: React.FC<{
|
|
3
3
|
loyaltyIcon?: string;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
orderCreditType?: string;
|
|
5
|
+
orderCreditValue?: number;
|
|
6
|
+
coinName?: string;
|
|
6
7
|
themeColor?: string;
|
|
7
8
|
themeTextColor?: string;
|
|
8
9
|
rewardMultiplier?: number | null;
|
|
@@ -3,7 +3,9 @@ type RewardPointsPreviewProps = {
|
|
|
3
3
|
loyaltyIcon: string;
|
|
4
4
|
backgroundSubdued?: string;
|
|
5
5
|
primaryTextColor?: string;
|
|
6
|
-
|
|
6
|
+
orderCreditType?: string;
|
|
7
|
+
orderCreditValue?: number;
|
|
8
|
+
coinName?: string;
|
|
7
9
|
rewardMultiplier?: number | null;
|
|
8
10
|
};
|
|
9
11
|
declare const RewardPointsPreview: React.FC<RewardPointsPreviewProps>;
|