yt-uikit 0.7.346 → 0.7.348-bundle-image.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.
Files changed (224) hide show
  1. package/README.md +94 -94
  2. package/dist/esm/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  3. package/dist/esm/atoms/cartDataAtom.d.ts +3 -3
  4. package/dist/esm/atoms/cartLoadingAtom.d.ts +22 -22
  5. package/dist/esm/atoms/cartTimer.d.ts +2 -2
  6. package/dist/esm/atoms/couponSelectionOpenAtom.d.ts +3 -3
  7. package/dist/esm/atoms/dateAtom.d.ts +1 -1
  8. package/dist/esm/atoms/freebieClaimModalAtom.d.ts +7 -7
  9. package/dist/esm/atoms/giftWrap.d.ts +2 -2
  10. package/dist/esm/atoms/gstCompanyNameAtom.d.ts +1 -1
  11. package/dist/esm/atoms/gstInputAtom.d.ts +1 -1
  12. package/dist/esm/atoms/maxQtyErrorAtom.d.ts +3 -3
  13. package/dist/esm/atoms/multiClaimSelectionAtom.d.ts +19 -19
  14. package/dist/esm/atoms/noteInputAtom.d.ts +3 -3
  15. package/dist/esm/atoms/postalCodeAtom.d.ts +1 -1
  16. package/dist/esm/atoms/shippingAtom.d.ts +8 -8
  17. package/dist/esm/atoms/showGSTInputAtom.d.ts +1 -1
  18. package/dist/esm/atoms/variantSelectionModalAtom.d.ts +23 -23
  19. package/dist/esm/components/BundleBlock/Bundle.d.ts +381 -381
  20. package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +39 -39
  21. package/dist/esm/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +15 -15
  22. package/dist/esm/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +42 -42
  23. package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +50 -50
  24. package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  25. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +27 -27
  26. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  27. package/dist/esm/components/BundleBlock/ComboBundle.d.ts +5 -5
  28. package/dist/esm/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  29. package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +36 -36
  30. package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +16 -16
  31. package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +90 -90
  32. package/dist/esm/components/BundleBlock/Loader.d.ts +5 -5
  33. package/dist/esm/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  34. package/dist/esm/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +87 -87
  35. package/dist/esm/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  36. package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  37. package/dist/esm/components/BundleBlock/index.d.ts +1 -1
  38. package/dist/esm/components/Cart/ApplyCoupon.d.ts +12 -12
  39. package/dist/esm/components/Cart/Bundle.d.ts +6 -6
  40. package/dist/esm/components/Cart/Cart.d.ts +227 -227
  41. package/dist/esm/components/Cart/CartDrawer.d.ts +21 -21
  42. package/dist/esm/components/Cart/CartOffersCarousel.d.ts +45 -45
  43. package/dist/esm/components/Cart/CartProductsList.d.ts +45 -45
  44. package/dist/esm/components/Cart/CartTimer.d.ts +8 -8
  45. package/dist/esm/components/Cart/CheckoutSection.d.ts +37 -37
  46. package/dist/esm/components/Cart/CouponSelection.d.ts +25 -25
  47. package/dist/esm/components/Cart/DatePicker.d.ts +10 -10
  48. package/dist/esm/components/Cart/EmptyCart.d.ts +33 -33
  49. package/dist/esm/components/Cart/FooterSections.d.ts +6 -6
  50. package/dist/esm/components/Cart/FreebieClaimManager.d.ts +16 -16
  51. package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +15 -15
  52. package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +9 -9
  53. package/dist/esm/components/Cart/FreebieClaimSection.d.ts +16 -16
  54. package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +16 -16
  55. package/dist/esm/components/Cart/GSTSection.d.ts +15 -15
  56. package/dist/esm/components/Cart/GiftWrap.d.ts +14 -14
  57. package/dist/esm/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  58. package/dist/esm/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  59. package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  60. package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  61. package/dist/esm/components/Cart/LoyaltyBadge.d.ts +10 -10
  62. package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  63. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  64. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  65. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  66. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  67. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  68. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +42 -42
  69. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +5 -5
  70. package/dist/esm/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  71. package/dist/esm/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  72. package/dist/esm/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  73. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  74. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  75. package/dist/esm/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  76. package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  77. package/dist/esm/components/Cart/NextFreebieRow.d.ts +19 -19
  78. package/dist/esm/components/Cart/NoteSection.d.ts +8 -8
  79. package/dist/esm/components/Cart/ProductCard.d.ts +30 -30
  80. package/dist/esm/components/Cart/ProductRecCard.d.ts +20 -20
  81. package/dist/esm/components/Cart/ProductRecList.d.ts +23 -23
  82. package/dist/esm/components/Cart/ProgressBar.d.ts +13 -13
  83. package/dist/esm/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  84. package/dist/esm/components/Cart/QuantitySelector.d.ts +12 -12
  85. package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  86. package/dist/esm/components/Cart/RewardPointsPreview.d.ts +10 -10
  87. package/dist/esm/components/Cart/StandardDelivery.d.ts +11 -11
  88. package/dist/esm/components/Cart/StickyCart.d.ts +46 -46
  89. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +18 -18
  90. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  91. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +18 -18
  92. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +49 -49
  93. package/dist/esm/components/Cart/index.d.ts +1 -1
  94. package/dist/esm/components/CouponFrame/CouponFrame.d.ts +15 -15
  95. package/dist/esm/components/CouponFrame/index.d.ts +1 -1
  96. package/dist/esm/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  97. package/dist/esm/components/Nudge/Nudge.d.ts +40 -40
  98. package/dist/esm/components/Nudge/index.d.ts +1 -1
  99. package/dist/esm/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  100. package/dist/esm/components/SpinnerWheel/WheelSection.d.ts +9 -9
  101. package/dist/esm/components/SpinnerWheel/index.d.ts +1 -1
  102. package/dist/esm/components/index.d.ts +6 -6
  103. package/dist/esm/index.d.ts +1 -1
  104. package/dist/esm/index.js +4 -4
  105. package/dist/esm/types/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  106. package/dist/esm/types/atoms/cartDataAtom.d.ts +3 -3
  107. package/dist/esm/types/atoms/cartLoadingAtom.d.ts +22 -22
  108. package/dist/esm/types/atoms/cartTimer.d.ts +2 -2
  109. package/dist/esm/types/atoms/couponSelectionOpenAtom.d.ts +3 -3
  110. package/dist/esm/types/atoms/dateAtom.d.ts +1 -1
  111. package/dist/esm/types/atoms/freebieClaimModalAtom.d.ts +7 -7
  112. package/dist/esm/types/atoms/giftWrap.d.ts +2 -2
  113. package/dist/esm/types/atoms/gstCompanyNameAtom.d.ts +1 -1
  114. package/dist/esm/types/atoms/gstInputAtom.d.ts +1 -1
  115. package/dist/esm/types/atoms/maxQtyErrorAtom.d.ts +3 -3
  116. package/dist/esm/types/atoms/multiClaimSelectionAtom.d.ts +19 -19
  117. package/dist/esm/types/atoms/noteInputAtom.d.ts +3 -3
  118. package/dist/esm/types/atoms/postalCodeAtom.d.ts +1 -1
  119. package/dist/esm/types/atoms/shippingAtom.d.ts +8 -8
  120. package/dist/esm/types/atoms/showGSTInputAtom.d.ts +1 -1
  121. package/dist/esm/types/atoms/variantSelectionModalAtom.d.ts +23 -23
  122. package/dist/esm/types/components/BundleBlock/Bundle.d.ts +381 -381
  123. package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +39 -39
  124. package/dist/esm/types/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +15 -15
  125. package/dist/esm/types/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +42 -42
  126. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +50 -50
  127. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  128. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +27 -27
  129. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  130. package/dist/esm/types/components/BundleBlock/ComboBundle.d.ts +5 -5
  131. package/dist/esm/types/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  132. package/dist/esm/types/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +36 -36
  133. package/dist/esm/types/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +16 -16
  134. package/dist/esm/types/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +90 -90
  135. package/dist/esm/types/components/BundleBlock/Loader.d.ts +5 -5
  136. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  137. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +87 -87
  138. package/dist/esm/types/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  139. package/dist/esm/types/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  140. package/dist/esm/types/components/BundleBlock/index.d.ts +1 -1
  141. package/dist/esm/types/components/Cart/ApplyCoupon.d.ts +12 -12
  142. package/dist/esm/types/components/Cart/Bundle.d.ts +6 -6
  143. package/dist/esm/types/components/Cart/Cart.d.ts +227 -227
  144. package/dist/esm/types/components/Cart/CartDrawer.d.ts +21 -21
  145. package/dist/esm/types/components/Cart/CartOffersCarousel.d.ts +45 -45
  146. package/dist/esm/types/components/Cart/CartProductsList.d.ts +45 -45
  147. package/dist/esm/types/components/Cart/CartTimer.d.ts +8 -8
  148. package/dist/esm/types/components/Cart/CheckoutSection.d.ts +37 -37
  149. package/dist/esm/types/components/Cart/CouponSelection.d.ts +25 -25
  150. package/dist/esm/types/components/Cart/DatePicker.d.ts +10 -10
  151. package/dist/esm/types/components/Cart/EmptyCart.d.ts +33 -33
  152. package/dist/esm/types/components/Cart/FooterSections.d.ts +6 -6
  153. package/dist/esm/types/components/Cart/FreebieClaimManager.d.ts +16 -16
  154. package/dist/esm/types/components/Cart/FreebieClaimOverlay.d.ts +15 -15
  155. package/dist/esm/types/components/Cart/FreebieClaimOverlayCard.d.ts +9 -9
  156. package/dist/esm/types/components/Cart/FreebieClaimSection.d.ts +16 -16
  157. package/dist/esm/types/components/Cart/FreebieClaimSectionCard.d.ts +16 -16
  158. package/dist/esm/types/components/Cart/GSTSection.d.ts +15 -15
  159. package/dist/esm/types/components/Cart/GiftWrap.d.ts +14 -14
  160. package/dist/esm/types/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  161. package/dist/esm/types/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  162. package/dist/esm/types/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  163. package/dist/esm/types/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  164. package/dist/esm/types/components/Cart/LoyaltyBadge.d.ts +10 -10
  165. package/dist/esm/types/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  166. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  167. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  168. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  169. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  170. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  171. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +42 -42
  172. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +5 -5
  173. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  174. package/dist/esm/types/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  175. package/dist/esm/types/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  176. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  177. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  178. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  179. package/dist/esm/types/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  180. package/dist/esm/types/components/Cart/NextFreebieRow.d.ts +19 -19
  181. package/dist/esm/types/components/Cart/NoteSection.d.ts +8 -8
  182. package/dist/esm/types/components/Cart/ProductCard.d.ts +30 -30
  183. package/dist/esm/types/components/Cart/ProductRecCard.d.ts +20 -20
  184. package/dist/esm/types/components/Cart/ProductRecList.d.ts +23 -23
  185. package/dist/esm/types/components/Cart/ProgressBar.d.ts +13 -13
  186. package/dist/esm/types/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  187. package/dist/esm/types/components/Cart/QuantitySelector.d.ts +12 -12
  188. package/dist/esm/types/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  189. package/dist/esm/types/components/Cart/RewardPointsPreview.d.ts +10 -10
  190. package/dist/esm/types/components/Cart/StandardDelivery.d.ts +11 -11
  191. package/dist/esm/types/components/Cart/StickyCart.d.ts +46 -46
  192. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +18 -18
  193. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  194. package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +18 -18
  195. package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +49 -49
  196. package/dist/esm/types/components/Cart/index.d.ts +1 -1
  197. package/dist/esm/types/components/CouponFrame/CouponFrame.d.ts +15 -15
  198. package/dist/esm/types/components/CouponFrame/index.d.ts +1 -1
  199. package/dist/esm/types/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  200. package/dist/esm/types/components/Nudge/Nudge.d.ts +40 -40
  201. package/dist/esm/types/components/Nudge/index.d.ts +1 -1
  202. package/dist/esm/types/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  203. package/dist/esm/types/components/SpinnerWheel/WheelSection.d.ts +9 -9
  204. package/dist/esm/types/components/SpinnerWheel/index.d.ts +1 -1
  205. package/dist/esm/types/components/index.d.ts +6 -6
  206. package/dist/esm/types/index.d.ts +1 -1
  207. package/dist/esm/types/utils/converter.d.ts +2 -2
  208. package/dist/esm/types/utils/freebieProductUtils.d.ts +22 -22
  209. package/dist/esm/types/utils/freebieUtils.d.ts +5 -5
  210. package/dist/esm/types/utils/index.d.ts +13 -13
  211. package/dist/esm/utils/converter.d.ts +2 -2
  212. package/dist/esm/utils/freebieProductUtils.d.ts +22 -22
  213. package/dist/esm/utils/freebieUtils.d.ts +5 -5
  214. package/dist/esm/utils/index.d.ts +13 -13
  215. package/dist/index.d.ts +699 -699
  216. package/package.json +98 -98
  217. package/src/assets/Frame.svg +4 -4
  218. package/src/assets/bundlePlus.svg +4 -4
  219. package/src/assets/copy-icon.svg +3 -3
  220. package/src/assets/copy-iconBlack.svg +4 -4
  221. package/src/assets/coupon.svg +4 -4
  222. package/src/assets/delivery.svg +5 -5
  223. package/dist/esm/components/Cart/FreebieClaim.d.ts +0 -17
  224. package/dist/esm/types/components/Cart/FreebieClaim.d.ts +0 -17
package/dist/index.d.ts CHANGED
@@ -1,722 +1,722 @@
1
1
  import React, { Dispatch, SetStateAction } from 'react';
2
2
 
3
- interface NudgeProps {
4
- title?: string;
5
- text?: string;
6
- highlightColor?: string;
7
- backgroundColor?: string;
8
- variant?: "campaign" | "delivery" | "checkout" | "postPurchase" | "registration" | "leadGeneration";
9
- extraProps?: any;
10
- cartValue?: number;
11
- freeDeliveryValue?: number;
12
- imageUrl?: string;
13
- nudgeImageUrl?: string;
14
- onClickCheckout?: () => void;
15
- onClose?: () => void;
16
- isDev?: boolean;
17
- onGotoCartClick?: () => void;
18
- bannerCtaAction?: () => void;
19
- bannerCtaText?: string;
20
- ctaButtonBackgroundColor?: string;
21
- ctaTextColor?: string;
22
- ctaButtonText?: string;
23
- ctaButtonPosition?: "left" | "right" | "center";
24
- postPurchaseCtaAction?: () => void;
25
- postPurchaseCredits?: number;
26
- largeScreenImageUrl?: string;
27
- smallScreenImageUrl?: string;
28
- ctaButtonLink?: string;
29
- autoCloseTimeout?: number;
30
- isCTAButtonEnabled?: boolean;
31
- isCTARedirectionEnabled?: boolean;
32
- borderRadius?: string;
33
- padding?: string;
34
- onClickCtaButton?: () => void;
35
- position?: "right" | "left";
36
- closeIconColor?: string;
37
- handleLoginOrSignup?: (phoneNumber: string, email: string) => Promise<any>;
38
- handleSubmit?: (phoneNumber: string, otp: string) => Promise<any>;
39
- }
3
+ interface NudgeProps {
4
+ title?: string;
5
+ text?: string;
6
+ highlightColor?: string;
7
+ backgroundColor?: string;
8
+ variant?: "campaign" | "delivery" | "checkout" | "postPurchase" | "registration" | "leadGeneration";
9
+ extraProps?: any;
10
+ cartValue?: number;
11
+ freeDeliveryValue?: number;
12
+ imageUrl?: string;
13
+ nudgeImageUrl?: string;
14
+ onClickCheckout?: () => void;
15
+ onClose?: () => void;
16
+ isDev?: boolean;
17
+ onGotoCartClick?: () => void;
18
+ bannerCtaAction?: () => void;
19
+ bannerCtaText?: string;
20
+ ctaButtonBackgroundColor?: string;
21
+ ctaTextColor?: string;
22
+ ctaButtonText?: string;
23
+ ctaButtonPosition?: "left" | "right" | "center";
24
+ postPurchaseCtaAction?: () => void;
25
+ postPurchaseCredits?: number;
26
+ largeScreenImageUrl?: string;
27
+ smallScreenImageUrl?: string;
28
+ ctaButtonLink?: string;
29
+ autoCloseTimeout?: number;
30
+ isCTAButtonEnabled?: boolean;
31
+ isCTARedirectionEnabled?: boolean;
32
+ borderRadius?: string;
33
+ padding?: string;
34
+ onClickCtaButton?: () => void;
35
+ position?: "right" | "left";
36
+ closeIconColor?: string;
37
+ handleLoginOrSignup?: (phoneNumber: string, email: string) => Promise<any>;
38
+ handleSubmit?: (phoneNumber: string, otp: string) => Promise<any>;
39
+ }
40
40
  declare const Nudge: React.FC<NudgeProps>;
41
41
 
42
- interface SegmentProps {
43
- label: string;
44
- color: string;
45
- outcome: "WIN" | "LOSE";
46
- winHeading?: string;
47
- winValue?: number;
48
- probability?: number;
49
- }
50
- interface WheelProps {
51
- segments: SegmentProps[];
52
- setWinningSegment: Dispatch<SetStateAction<number | null>>;
53
- ctaButtonText?: string;
54
- brandThemeColor?: string | undefined;
55
- brandGameDefaultThemeColor?: string | undefined;
56
- wheelSectionColor1?: string | undefined;
57
- wheelSectionColor2?: string | undefined;
58
- wheelCenterLogo?: string | undefined;
59
- isStatic?: boolean | undefined;
60
- }
42
+ interface SegmentProps {
43
+ label: string;
44
+ color: string;
45
+ outcome: "WIN" | "LOSE";
46
+ winHeading?: string;
47
+ winValue?: number;
48
+ probability?: number;
49
+ }
50
+ interface WheelProps {
51
+ segments: SegmentProps[];
52
+ setWinningSegment: Dispatch<SetStateAction<number | null>>;
53
+ ctaButtonText?: string;
54
+ brandThemeColor?: string | undefined;
55
+ brandGameDefaultThemeColor?: string | undefined;
56
+ wheelSectionColor1?: string | undefined;
57
+ wheelSectionColor2?: string | undefined;
58
+ wheelCenterLogo?: string | undefined;
59
+ isStatic?: boolean | undefined;
60
+ }
61
61
  declare const SpinnerWheel: React.FC<WheelProps>;
62
62
 
63
- interface RewardCouponWithIcon extends RewardCoupon {
64
- icon?: React.ReactElement | null;
65
- }
66
- type CouponFrameProps = {
67
- couponActive: boolean;
68
- rewardCoupon: RewardCouponWithIcon;
69
- currency: string;
70
- handleApply: (templateId?: number) => Promise<any>;
71
- pointsCoupon?: boolean;
72
- pointsToBeUsed?: number;
73
- };
63
+ interface RewardCouponWithIcon extends RewardCoupon {
64
+ icon?: React.ReactElement | null;
65
+ }
66
+ type CouponFrameProps = {
67
+ couponActive: boolean;
68
+ rewardCoupon: RewardCouponWithIcon;
69
+ currency: string;
70
+ handleApply: (templateId?: number) => Promise<any>;
71
+ pointsCoupon?: boolean;
72
+ pointsToBeUsed?: number;
73
+ };
74
74
  declare const CouponFrame: React.FC<CouponFrameProps>;
75
75
 
76
- type stickyCartCustomizationDataProps = {
77
- showPrice: boolean;
78
- productImage?: {
79
- id: string;
80
- path: string;
81
- };
82
- buyNowCtaTitle: string;
83
- desktopBarType: "stretch" | "hover";
84
- showProductName: boolean;
85
- showBuyNowButton: boolean;
86
- showProductImage: boolean;
87
- addToCartCtaTitle: string;
88
- showAddToCartButton: boolean;
89
- showVariantSelector: boolean;
90
- productInfoVisibility: boolean;
91
- excludeProducts?: string[];
92
- showBarOnDesktop?: boolean;
93
- ctaButtonFontSize?: number;
94
- startsAppearingAtHeight?: number;
95
- fullyAppearsAtHeight?: number;
96
- topRibbonText?: string;
76
+ type stickyCartCustomizationDataProps = {
77
+ showPrice: boolean;
78
+ productImage?: {
79
+ id: string;
80
+ path: string;
81
+ };
82
+ buyNowCtaTitle: string;
83
+ desktopBarType: "stretch" | "hover";
84
+ showProductName: boolean;
85
+ showBuyNowButton: boolean;
86
+ showProductImage: boolean;
87
+ addToCartCtaTitle: string;
88
+ showAddToCartButton: boolean;
89
+ showVariantSelector: boolean;
90
+ productInfoVisibility: boolean;
91
+ excludeProducts?: string[];
92
+ showBarOnDesktop?: boolean;
93
+ ctaButtonFontSize?: number;
94
+ startsAppearingAtHeight?: number;
95
+ fullyAppearsAtHeight?: number;
96
+ topRibbonText?: string;
97
97
  };
98
98
 
99
- type Criteria = {
100
- id: string;
101
- type: "mov" | "moq";
102
- value: number;
103
- message: string;
104
- redirectionUrl?: string;
105
- };
106
- type Slide = {
107
- slideNumber: number;
108
- slideType: "TextImage" | "TextCode" | "TextFieldOnly" | "ImageOnly";
109
- textAlignment: "left" | "center" | "right";
110
- titleTextField?: string;
111
- descriptionTextField?: string;
112
- campaignCode?: string;
113
- imageUrl?: string;
114
- carouselRedirectionLink?: string;
115
- criteriaCount?: number;
116
- criteria?: Criteria[];
117
- };
118
- type CartOffersCarousalProps = {
119
- enableCartOffersCarousel: boolean;
120
- slidesCount: number;
121
- pauseTimer: number;
122
- backgroundColor: string;
123
- slides: Slide[];
99
+ type Criteria = {
100
+ id: string;
101
+ type: "mov" | "moq";
102
+ value: number;
103
+ message: string;
104
+ redirectionUrl?: string;
105
+ };
106
+ type Slide = {
107
+ slideNumber: number;
108
+ slideType: "TextImage" | "TextCode" | "TextFieldOnly" | "ImageOnly";
109
+ textAlignment: "left" | "center" | "right";
110
+ titleTextField?: string;
111
+ descriptionTextField?: string;
112
+ campaignCode?: string;
113
+ imageUrl?: string;
114
+ carouselRedirectionLink?: string;
115
+ criteriaCount?: number;
116
+ criteria?: Criteria[];
117
+ };
118
+ type CartOffersCarousalProps = {
119
+ enableCartOffersCarousel: boolean;
120
+ slidesCount: number;
121
+ pauseTimer: number;
122
+ backgroundColor: string;
123
+ slides: Slide[];
124
124
  };
125
125
 
126
- type freebieMilestoneProps = {
127
- enableFreebieMilestone: boolean;
128
- milestoneImage: {
129
- id: string;
130
- path: string;
131
- };
132
- campaignFilter?: string;
126
+ type freebieMilestoneProps = {
127
+ enableFreebieMilestone: boolean;
128
+ milestoneImage: {
129
+ id: string;
130
+ path: string;
131
+ };
132
+ campaignFilter?: string;
133
133
  };
134
134
 
135
- interface GSTSectionCustomizationProps {
136
- title?: string;
137
- iconColor?: string;
138
- showIcon?: boolean;
139
- backgroundColor?: string;
140
- textColor?: string;
135
+ interface GSTSectionCustomizationProps {
136
+ title?: string;
137
+ iconColor?: string;
138
+ showIcon?: boolean;
139
+ backgroundColor?: string;
140
+ textColor?: string;
141
141
  }
142
142
 
143
- interface RewardCoupon {
144
- couponTemplateId: number;
145
- name: string;
146
- couponType: string;
147
- discountPercentage: number | null;
148
- discountValue: number | null;
149
- minimumOrderValue: number | null;
150
- pointsRequired: number | null;
151
- }
152
- interface Checkpoint {
153
- couponTemplateId: number;
154
- couponType: string;
155
- minimumOrderValue: number;
156
- name: string;
157
- quantityThreshold: number;
158
- isDummyCouponTemplate?: boolean;
159
- customerGetsProductIds?: {
160
- ids: string[];
161
- };
162
- discountValue?: number;
163
- _allVariantIds: string[];
164
- maxFreebiesInTier?: number;
165
- }
166
- interface freebieClaimInterface {
167
- freebieSectionTitle: string;
168
- productClaimCtaButtonText: string;
169
- type: "section" | "overlay";
170
- allowOverlayClose: boolean;
171
- }
172
- type LoyaltyDiscount = {
173
- type: string;
174
- key: string;
175
- title: string;
176
- description: string | null;
177
- value: string;
178
- created_at: string;
179
- value_type: string;
180
- allocation_method: string;
181
- target_selection: string;
182
- target_type: string;
183
- total_allocated_amount: number;
184
- };
185
- interface CartProps {
186
- isOpen: boolean;
187
- setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
188
- backdrop?: boolean;
189
- backgroundColor: string;
190
- backgroundSubdued?: string;
191
- tertiaryColor?: string;
192
- tertiaryTextColor?: string;
193
- exploreCTAColor: string;
194
- emptyCartTitle: string;
195
- emptyCartDescription?: string;
196
- emptyCartButtons?: Array<{
197
- title: string;
198
- link: string;
199
- }>;
200
- checkoutFontSize: number | string;
201
- cartTitle: string;
202
- cartData?: any;
203
- switchWidthVariant?: boolean;
204
- addCartItem?: (product: any, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean, productHandle?: string) => Promise<any>;
205
- removeCartItem: (lineItemKey: string, triggeredFrom?: string, ytRequest?: boolean) => Promise<any>;
206
- handleIncrement: (productId: number, newQuantity: number, properties?: {
207
- [key: string]: string;
208
- }) => Promise<any>;
209
- handleDecrement: (productId: number, newQuantity?: number) => Promise<any>;
210
- bundleProducts?: any;
211
- showBundle?: boolean;
212
- showCouponOptions?: boolean;
213
- isUserSignedIn?: boolean;
214
- loyaltyIcon?: string;
215
- discountAmountOff?: number;
216
- pointsToBeUsed?: number;
217
- rewardMultiplier?: number;
218
- redemptionMultiplier?: number;
219
- removeDiscount?: () => Promise<any>;
220
- applyDiscount?: () => Promise<any>;
221
- discountApplied?: boolean;
222
- rewardCoupons?: RewardCoupon[];
223
- userTotalPoints?: number;
224
- joinNowFunction?: () => void;
225
- checkoutFunction: (templateId?: number) => Promise<any>;
226
- guestLoyaltyPercentage?: number;
227
- showToggleButton?: boolean;
228
- isDev?: boolean;
229
- recProductsList?: any[];
230
- showMultiStepProgressBar?: boolean;
231
- cartCheckpoints?: Checkpoint[];
232
- showCartLevelAltPay?: boolean;
233
- redemptionRate: number;
234
- pointsRewardRate: number;
235
- showGuestDiscountCoupon?: boolean;
236
- guestRewardCoupon?: RewardCouponWithIcon;
237
- applyTemplateDiscount?: (templateId?: number) => Promise<any>;
238
- exploreCtaRedirectLink?: string;
239
- discountAmountApplied?: number;
240
- discountInCheckoutButton?: boolean | string;
241
- isStickyCheckout?: boolean;
242
- showDiscountsListToGuestUsers?: boolean;
243
- showApplyCouponsButtonToGuestUsers?: boolean;
244
- handleCheckpointCrossed?: (checkpoint: Checkpoint, cartAmount: number) => Promise<any>;
245
- customCartProgressBarCriteria?: string;
246
- primaryTextColor?: string;
247
- secondaryTextColor?: string;
248
- themeColor?: string;
249
- themeTextColor?: string;
250
- checkoutButtonColor?: string;
251
- ctaButtonBackgroundColor?: string;
252
- ctaButtonTextColor?: string;
253
- showProductRecsOnMobile?: boolean;
254
- showProductRecsOnDesktop?: boolean;
255
- productRecsTitleText?: string;
256
- productRecsCtaButtonText?: string;
257
- showGSTOption?: boolean;
258
- gstNumber?: string;
259
- companyName?: string;
260
- applyGSTToCart?: (gstNumber: string, companyName: string) => Promise<any>;
261
- showMOVForProgressTiers?: boolean;
262
- freeProduct?: any;
263
- showLoyaltyCta?: boolean;
264
- freeProductAdjustedCartTotal?: number;
265
- minimumOrderValueToAvailDiscount?: number;
266
- signinCTAButtonVisible?: boolean;
267
- cartSigninCTAMainText?: string;
268
- showNoteOption?: boolean;
269
- note?: string;
270
- applyNoteToCart?: (note: string) => Promise<any>;
271
- inlineCartOfferInfoText?: string;
272
- inlineCartOfferInfoRedirectLink?: string;
273
- cartOfferTermsAndConditionsText?: string;
274
- showEditOptionOnProducts?: boolean;
275
- getProductDetailsByVariantId?: (handle: string, variantId?: string) => Promise<any>;
276
- onSetLoading?: (setLoadingFn: (isLoading: boolean, showLoader: boolean, showSkeletonLoader?: boolean, showLoyaltyCtaLoading?: boolean) => void) => void;
277
- showVariantSelectionDropdownInProductRecs?: boolean;
278
- originalCartSubtotal?: number;
279
- freebieProductsInCart?: any;
280
- currentTier?: number;
281
- showFreebieClaim?: boolean;
282
- addFreebieToCart?: (variantId: string) => Promise<void>;
283
- freebiesInCart?: string[];
284
- effectiveQuantityForProgressBar?: number;
285
- productPercentageOffMapping: {
286
- [variantId: string]: number;
287
- };
288
- productTagsMapping?: Map<string, string[]>;
289
- removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
290
- postalCodeList?: number[];
291
- enableGeoLocationDeliveryRestriction?: boolean;
292
- applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise<any>;
293
- showDeleteOnFreebies?: boolean;
294
- freebieCouponTemplates?: Checkpoint[];
295
- freebieFlowCheckpoints?: Checkpoint[];
296
- freebieClaimData?: freebieClaimInterface;
297
- showStickyAddToCart?: boolean;
298
- stickyCartLineItem?: any;
299
- stickyCartCustomizationData?: stickyCartCustomizationDataProps;
300
- stickyCartLineItemQuantity?: number;
301
- postalCodeBasedItemTrackingParameter?: "specific-tags" | "all-products";
302
- enableSlotPicker?: boolean;
303
- deliveryHeaderTitle?: string;
304
- deliveryAvailableText?: string;
305
- deliveryNotAvailableText?: string;
306
- giftWrapSetupData?: any;
307
- giftWrapProductDetail?: any;
308
- progressBarFreeProductIconType?: "tshirt" | "gift" | "box" | "cup";
309
- addToStickyCart?: (variantId: string, quantity: number) => Promise<void>;
310
- enableCustomCartOnCartPage?: boolean;
311
- isCartPage?: boolean;
312
- productRecsCardLayout: "horizontal" | "vertical";
313
- productRecsCardListVariant: "scroll" | "carousel" | "vertical";
314
- showCartTimer?: boolean;
315
- showFreebieMilestone?: boolean;
316
- cartTimerInMinutes?: number;
317
- cartTimerCustomText?: string;
318
- imageAspectSelector?: "square" | "portrait";
319
- cartComponentsCornerType?: "rounded" | "sharp";
320
- cartComponentsCornerRadius?: number;
321
- cartOffersCarousalData?: CartOffersCarousalProps;
322
- freebieMilestoneData?: freebieMilestoneProps;
323
- cartOffersCarouselHeight?: number;
324
- stickyBarBuyNowFunction?: (event: any) => Promise<any>;
325
- gstSectionCustomizationData?: GSTSectionCustomizationProps;
326
- noteSectionTitle?: string;
327
- checkoutSectionMessage?: string;
328
- checkoutSectionMessageRedirectLink?: string;
329
- checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark";
330
- showVariantSelectionDropdownInProductClaim?: boolean;
331
- productClaimCtaButtonText?: string;
332
- loyaltyDiscount?: LoyaltyDiscount | undefined;
333
- brandTokenName?: string;
334
- showDiscountOnMRP?: boolean;
335
- prefixMessageText?: string;
336
- suffixMessageText?: string;
337
- successMessageText?: string;
338
- toggleDecimal?: boolean;
339
- disableCheckoutButton: boolean;
340
- showEmptyCartRecommendations?: boolean;
341
- emptyProductRecsTitleText?: string;
342
- checkoutButtonBottomSpacing?: number;
343
- showPoweredByBadge?: boolean;
344
- applyCouponCode?: (code: string) => Promise<void>;
345
- showApplyCoupon?: boolean;
346
- enableConfetti?: boolean;
347
- showCheckoutButtonPaymentIcons?: boolean;
348
- }
143
+ interface RewardCoupon {
144
+ couponTemplateId: number;
145
+ name: string;
146
+ couponType: string;
147
+ discountPercentage: number | null;
148
+ discountValue: number | null;
149
+ minimumOrderValue: number | null;
150
+ pointsRequired: number | null;
151
+ }
152
+ interface Checkpoint {
153
+ couponTemplateId: number;
154
+ couponType: string;
155
+ minimumOrderValue: number;
156
+ name: string;
157
+ quantityThreshold: number;
158
+ isDummyCouponTemplate?: boolean;
159
+ customerGetsProductIds?: {
160
+ ids: string[];
161
+ };
162
+ discountValue?: number;
163
+ _allVariantIds: string[];
164
+ maxFreebiesInTier?: number;
165
+ }
166
+ interface freebieClaimInterface {
167
+ freebieSectionTitle: string;
168
+ productClaimCtaButtonText: string;
169
+ type: "section" | "overlay";
170
+ allowOverlayClose: boolean;
171
+ }
172
+ type LoyaltyDiscount = {
173
+ type: string;
174
+ key: string;
175
+ title: string;
176
+ description: string | null;
177
+ value: string;
178
+ created_at: string;
179
+ value_type: string;
180
+ allocation_method: string;
181
+ target_selection: string;
182
+ target_type: string;
183
+ total_allocated_amount: number;
184
+ };
185
+ interface CartProps {
186
+ isOpen: boolean;
187
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
188
+ backdrop?: boolean;
189
+ backgroundColor: string;
190
+ backgroundSubdued?: string;
191
+ tertiaryColor?: string;
192
+ tertiaryTextColor?: string;
193
+ exploreCTAColor: string;
194
+ emptyCartTitle: string;
195
+ emptyCartDescription?: string;
196
+ emptyCartButtons?: Array<{
197
+ title: string;
198
+ link: string;
199
+ }>;
200
+ checkoutFontSize: number | string;
201
+ cartTitle: string;
202
+ cartData?: any;
203
+ switchWidthVariant?: boolean;
204
+ addCartItem?: (product: any, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean, productHandle?: string) => Promise<any>;
205
+ removeCartItem: (lineItemKey: string, triggeredFrom?: string, ytRequest?: boolean) => Promise<any>;
206
+ handleIncrement: (productId: number, newQuantity: number, properties?: {
207
+ [key: string]: string;
208
+ }) => Promise<any>;
209
+ handleDecrement: (productId: number, newQuantity?: number) => Promise<any>;
210
+ bundleProducts?: any;
211
+ showBundle?: boolean;
212
+ showCouponOptions?: boolean;
213
+ isUserSignedIn?: boolean;
214
+ loyaltyIcon?: string;
215
+ discountAmountOff?: number;
216
+ pointsToBeUsed?: number;
217
+ rewardMultiplier?: number;
218
+ redemptionMultiplier?: number;
219
+ removeDiscount?: () => Promise<any>;
220
+ applyDiscount?: () => Promise<any>;
221
+ discountApplied?: boolean;
222
+ rewardCoupons?: RewardCoupon[];
223
+ userTotalPoints?: number;
224
+ joinNowFunction?: () => void;
225
+ checkoutFunction: (templateId?: number) => Promise<any>;
226
+ guestLoyaltyPercentage?: number;
227
+ showToggleButton?: boolean;
228
+ isDev?: boolean;
229
+ recProductsList?: any[];
230
+ showMultiStepProgressBar?: boolean;
231
+ cartCheckpoints?: Checkpoint[];
232
+ showCartLevelAltPay?: boolean;
233
+ redemptionRate: number;
234
+ pointsRewardRate: number;
235
+ showGuestDiscountCoupon?: boolean;
236
+ guestRewardCoupon?: RewardCouponWithIcon;
237
+ applyTemplateDiscount?: (templateId?: number) => Promise<any>;
238
+ exploreCtaRedirectLink?: string;
239
+ discountAmountApplied?: number;
240
+ discountInCheckoutButton?: boolean | string;
241
+ isStickyCheckout?: boolean;
242
+ showDiscountsListToGuestUsers?: boolean;
243
+ showApplyCouponsButtonToGuestUsers?: boolean;
244
+ handleCheckpointCrossed?: (checkpoint: Checkpoint, cartAmount: number) => Promise<any>;
245
+ customCartProgressBarCriteria?: string;
246
+ primaryTextColor?: string;
247
+ secondaryTextColor?: string;
248
+ themeColor?: string;
249
+ themeTextColor?: string;
250
+ checkoutButtonColor?: string;
251
+ ctaButtonBackgroundColor?: string;
252
+ ctaButtonTextColor?: string;
253
+ showProductRecsOnMobile?: boolean;
254
+ showProductRecsOnDesktop?: boolean;
255
+ productRecsTitleText?: string;
256
+ productRecsCtaButtonText?: string;
257
+ showGSTOption?: boolean;
258
+ gstNumber?: string;
259
+ companyName?: string;
260
+ applyGSTToCart?: (gstNumber: string, companyName: string) => Promise<any>;
261
+ showMOVForProgressTiers?: boolean;
262
+ freeProduct?: any;
263
+ showLoyaltyCta?: boolean;
264
+ freeProductAdjustedCartTotal?: number;
265
+ minimumOrderValueToAvailDiscount?: number;
266
+ signinCTAButtonVisible?: boolean;
267
+ cartSigninCTAMainText?: string;
268
+ showNoteOption?: boolean;
269
+ note?: string;
270
+ applyNoteToCart?: (note: string) => Promise<any>;
271
+ inlineCartOfferInfoText?: string;
272
+ inlineCartOfferInfoRedirectLink?: string;
273
+ cartOfferTermsAndConditionsText?: string;
274
+ showEditOptionOnProducts?: boolean;
275
+ getProductDetailsByVariantId?: (handle: string, variantId?: string) => Promise<any>;
276
+ onSetLoading?: (setLoadingFn: (isLoading: boolean, showLoader: boolean, showSkeletonLoader?: boolean, showLoyaltyCtaLoading?: boolean) => void) => void;
277
+ showVariantSelectionDropdownInProductRecs?: boolean;
278
+ originalCartSubtotal?: number;
279
+ freebieProductsInCart?: any;
280
+ currentTier?: number;
281
+ showFreebieClaim?: boolean;
282
+ addFreebieToCart?: (variantId: string) => Promise<void>;
283
+ freebiesInCart?: string[];
284
+ effectiveQuantityForProgressBar?: number;
285
+ productPercentageOffMapping: {
286
+ [variantId: string]: number;
287
+ };
288
+ productTagsMapping?: Map<string, string[]>;
289
+ removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
290
+ postalCodeList?: number[];
291
+ enableGeoLocationDeliveryRestriction?: boolean;
292
+ applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise<any>;
293
+ showDeleteOnFreebies?: boolean;
294
+ freebieCouponTemplates?: Checkpoint[];
295
+ freebieFlowCheckpoints?: Checkpoint[];
296
+ freebieClaimData?: freebieClaimInterface;
297
+ showStickyAddToCart?: boolean;
298
+ stickyCartLineItem?: any;
299
+ stickyCartCustomizationData?: stickyCartCustomizationDataProps;
300
+ stickyCartLineItemQuantity?: number;
301
+ postalCodeBasedItemTrackingParameter?: "specific-tags" | "all-products";
302
+ enableSlotPicker?: boolean;
303
+ deliveryHeaderTitle?: string;
304
+ deliveryAvailableText?: string;
305
+ deliveryNotAvailableText?: string;
306
+ giftWrapSetupData?: any;
307
+ giftWrapProductDetail?: any;
308
+ progressBarFreeProductIconType?: "tshirt" | "gift" | "box" | "cup";
309
+ addToStickyCart?: (variantId: string, quantity: number) => Promise<void>;
310
+ enableCustomCartOnCartPage?: boolean;
311
+ isCartPage?: boolean;
312
+ productRecsCardLayout: "horizontal" | "vertical";
313
+ productRecsCardListVariant: "scroll" | "carousel" | "vertical";
314
+ showCartTimer?: boolean;
315
+ showFreebieMilestone?: boolean;
316
+ cartTimerInMinutes?: number;
317
+ cartTimerCustomText?: string;
318
+ imageAspectSelector?: "square" | "portrait";
319
+ cartComponentsCornerType?: "rounded" | "sharp";
320
+ cartComponentsCornerRadius?: number;
321
+ cartOffersCarousalData?: CartOffersCarousalProps;
322
+ freebieMilestoneData?: freebieMilestoneProps;
323
+ cartOffersCarouselHeight?: number;
324
+ stickyBarBuyNowFunction?: (event: any) => Promise<any>;
325
+ gstSectionCustomizationData?: GSTSectionCustomizationProps;
326
+ noteSectionTitle?: string;
327
+ checkoutSectionMessage?: string;
328
+ checkoutSectionMessageRedirectLink?: string;
329
+ checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark";
330
+ showVariantSelectionDropdownInProductClaim?: boolean;
331
+ productClaimCtaButtonText?: string;
332
+ loyaltyDiscount?: LoyaltyDiscount | undefined;
333
+ brandTokenName?: string;
334
+ showDiscountOnMRP?: boolean;
335
+ prefixMessageText?: string;
336
+ suffixMessageText?: string;
337
+ successMessageText?: string;
338
+ toggleDecimal?: boolean;
339
+ disableCheckoutButton: boolean;
340
+ showEmptyCartRecommendations?: boolean;
341
+ emptyProductRecsTitleText?: string;
342
+ checkoutButtonBottomSpacing?: number;
343
+ showPoweredByBadge?: boolean;
344
+ applyCouponCode?: (code: string) => Promise<void>;
345
+ showApplyCoupon?: boolean;
346
+ enableConfetti?: boolean;
347
+ showCheckoutButtonPaymentIcons?: boolean;
348
+ }
349
349
  declare const Cart: React.FC<CartProps>;
350
350
 
351
- interface ShopifyCurrency {
352
- rate: number;
353
- active: string;
354
- }
355
- declare global {
356
- interface Window {
357
- Shopify?: {
358
- currency?: ShopifyCurrency;
359
- };
360
- }
361
- }
362
- type ProductImage = {
363
- url: string;
364
- height: number;
365
- width: number;
366
- altText?: string;
367
- };
368
- type ProductFeaturedMedia = {
369
- alt: string;
370
- preview: {
371
- image: {
372
- url: string;
373
- height?: number;
374
- width?: number;
375
- altText: string;
376
- };
377
- };
378
- };
379
- type ProductOption = {
380
- id: string;
381
- name: string;
382
- values: string[];
383
- };
384
- type CollectionNode = {
385
- node: {
386
- id: string;
387
- title: string;
388
- handle: string;
389
- };
390
- };
391
- type VariantNode = {
392
- node: {
393
- id: string;
394
- price: string;
395
- compareAtPrice: string;
396
- title: string;
397
- displayName: string;
398
- image: ProductImage;
399
- availableForSale: boolean;
400
- inventoryQuantity: number;
401
- };
402
- };
403
- type SelectedVariantDetails = {
404
- id: string;
405
- price: string;
406
- compareAtPrice: string;
407
- title: string;
408
- displayName: string;
409
- image: ProductImage;
410
- availableForSale: boolean;
411
- inventoryQuantity: number;
412
- };
413
- type VariantOptions = {
414
- shop: string;
415
- options: {
416
- name: string;
417
- type: "text" | "image" | "color";
418
- values: {
419
- name: string;
420
- value: string;
421
- }[];
422
- }[];
423
- createdAt: string;
424
- updatedAt: string;
425
- };
426
- type ProductDetails = {
427
- id: string;
428
- title: string;
429
- handle: string;
430
- featuredMedia: ProductFeaturedMedia;
431
- status: "ACTIVE" | "ARCHIVED" | "DRAFT" | "";
432
- options: ProductOption[];
433
- onlineStoreUrl: string;
434
- collections: {
435
- edges: CollectionNode[];
436
- };
437
- variants: {
438
- edges: VariantNode[];
439
- };
440
- shop: string;
441
- metafield?: {
442
- key: string;
443
- namespace: string;
444
- ownerType: string;
445
- value: string;
446
- id: string;
447
- jsonValue: string[];
448
- type: string;
449
- };
450
- descriptionHtml: string;
451
- media: {
452
- edges: {
453
- node: {
454
- alt: string;
455
- preview: {
456
- altText: string;
457
- width?: number;
458
- height?: number;
459
- url: string;
460
- };
461
- image: {
462
- altText: string;
463
- height: number;
464
- width: number;
465
- url: string;
466
- };
467
- };
468
- }[];
469
- };
470
- selectedVariant?: SelectedVariantDetails;
471
- rating?: {
472
- averageRating: number;
473
- ratingCount: number;
474
- };
475
- };
476
- type ProductData = {
477
- productId: string;
478
- variantIds: string[];
479
- productDetails: ProductDetails;
480
- };
481
- type GeneralStyle = {
482
- primaryColor: string;
483
- primaryContrastColor: string;
484
- secondaryColor: string;
485
- secondaryContrastColor: string;
486
- imageAspectRatio: string;
487
- ctaBackgroundColor: string;
488
- ctaTextColor: string;
489
- ctaBorderColor: string;
490
- ctaShadowType: string;
491
- ctaPadding: string;
492
- ctaWidth: string;
493
- ctaBorderRadius: string;
494
- ctaHoverBackgroundColor: string;
495
- ctaHoverTextColor: string;
496
- customizeHoverState: boolean;
497
- checkoutPartner: string;
498
- redirectToPDP: boolean;
499
- restrictCOD: boolean;
500
- trackInventory: boolean;
501
- showOutOfStockProducts: boolean;
502
- outOfStockLabel: string;
503
- disabledButtonColor: string;
504
- storeCurrency: string;
505
- currencySymbol: string;
506
- discountPrefix: string;
507
- discountSuffix: string;
508
- addOrderTags: boolean;
509
- addOrderNotes: boolean;
510
- variantTitleSuffix: boolean;
511
- titleLength: string;
512
- };
513
- type VolumeStyle = {
514
- titleFontSize: string;
515
- subtitleFontSize: string;
516
- titleBackgroundColor: string;
517
- titleTextColor: string;
518
- verticalMargin: string;
519
- sectionBackgroundColor: string;
520
- cardStyle: string;
521
- discountBadgeVisibility: string;
522
- allowVariantSelection: string;
523
- variantSelectorType: string;
524
- ctaTitle: string;
525
- bundleRedirection: string;
526
- };
527
- type ComboStyle = {
528
- productTitleFontSize: string;
529
- productDescriptionFontSize: string;
530
- descriptionTextColor: string;
531
- titleTextColor: string;
532
- verticalMargin: string;
533
- infoAlignment: string;
534
- ctaTitle: string;
535
- bundleRedirection: string;
536
- embedContentVisibility: boolean;
537
- mixAndMatchCardStyle: string;
538
- mixAndMatchVariantTypeSelector: string;
539
- comboCardStyle: string;
540
- comboVariantTypeSelector: string;
541
- selectedEmbedContentVisibilityOptions: string[];
542
- subProductsSectionVisibility: boolean;
543
- subProductsImageVisibility: boolean;
544
- subProductsProductTitleVisibility: boolean;
545
- subProductsProductPriceVisibility: boolean;
546
- };
547
- type ByobStyle = {
548
- titleFontSize: string;
549
- subtitleFontSize: string;
550
- titleBackgroundColor: string;
551
- titleTextColor: string;
552
- productTitleFontSize: string;
553
- sectionBackgroundColor: string;
554
- lazyLoadWidget: string;
555
- listingsGap: string;
556
- footerMargin: string;
557
- borderRadius: string;
558
- borderColor: string;
559
- cardBackgroundColor: string;
560
- shadowType: string;
561
- addToBundleCTAText: string;
562
- checkoutCTAText: string;
563
- variantSelectorType: string;
564
- primaryVariant: string;
565
- productsPriceVisibility: boolean;
566
- compareAtPriceVisibility: boolean;
567
- selectedProductsVisibility: boolean;
568
- bundleRedirection: string;
569
- enableConfetti: boolean;
570
- selectedItemVisibility: boolean;
571
- productTiersVisibility: boolean;
572
- tierNavigation: boolean;
573
- enableProductCategories: boolean;
574
- productCardCategoryVisibility: string;
575
- categoryFilterOnPage: string;
576
- };
577
- type FixedStyle = {
578
- titleFontSize: string;
579
- subtitleFontSize: string;
580
- titleBackgroundColor: string;
581
- titleTextColor: string;
582
- verticalMargin: string;
583
- sectionBackgroundColor: string;
584
- borderRadius: string;
585
- borderColor: string;
586
- cardBackgroundColor: string;
587
- shadowType: string;
588
- infoAlignment: string;
589
- ctaTitle: string;
590
- bundleRedirection: string;
591
- cardLayoutStyle: string;
592
- variantSelectorType: string;
593
- productsPriceVisibility: boolean;
594
- compareAtPriceVisibility: boolean;
595
- };
596
- type Customizations = {
597
- shop?: string;
598
- general: GeneralStyle;
599
- byob: ByobStyle;
600
- fixedBundle: FixedStyle;
601
- volumeBundle: VolumeStyle;
602
- comboBundle: ComboStyle;
603
- createdAt?: string;
604
- updatedAt?: string;
605
- };
606
- type BundlePayload = {
607
- showIndividualProductSelector: boolean;
608
- title?: string;
609
- subtitle?: string;
610
- products: ProductData[];
611
- percentageOff?: number;
612
- dealAmount?: number;
613
- amountOff?: number;
614
- type: "fixed" | "builder" | "volume" | "mixnmatch" | "" | "combo";
615
- minimumQuantity: number;
616
- showProductDetailsInTracker: boolean;
617
- coverImageUrl?: string;
618
- mobileCoverImageUrl?: string;
619
- titleSectionTextColor?: string;
620
- titleSectionBackgroundColor?: string;
621
- dealTextColor?: string;
622
- showBorder?: boolean;
623
- hideProductDetails?: boolean;
624
- cornerRadiusType?: "medium" | "high" | "";
625
- primaryBackgroundColorCta?: string;
626
- enableProgressBar?: boolean;
627
- enableSortAndFilter?: boolean;
628
- disableQuantitySelector?: boolean;
629
- disableInventoryTracking?: boolean;
630
- alignFixedBundleContent?: "left" | "right" | "center" | "";
631
- imageAspectType?: "portrait" | "square" | "";
632
- backgroundColorFixedBundleDiv?: string;
633
- canCustomizeFixedBundle?: boolean;
634
- primaryTextColorCta?: string;
635
- showVariants?: boolean;
636
- discountType?: string;
637
- showCta?: boolean;
638
- productCardBadgeText?: string;
639
- coverImageVerticalMargin?: string;
640
- builderTiers?: {
641
- type: string;
642
- offerTier?: {
643
- tier: number;
644
- minimumQuantity: number;
645
- discountValue: number;
646
- }[];
647
- productTier?: {
648
- tier: number;
649
- title: string;
650
- minimumQuantity: number;
651
- products: {
652
- productId: string;
653
- variantIds: string[];
654
- }[];
655
- }[];
656
- };
657
- volumeTiers?: {
658
- isDefault: unknown;
659
- tier: number;
660
- minimumQuantity: number;
661
- title: string;
662
- subtitle: string;
663
- badgeTitle: string;
664
- discountValue: number;
665
- imageUrl?: string;
666
- }[];
667
- mixAndMatchTiers?: {
668
- tier: number;
669
- title: string;
670
- products: {
671
- productId: string;
672
- variantIds: string[];
673
- }[];
674
- }[];
675
- customizations: Customizations;
676
- variantOptions?: VariantOptions;
677
- storeCurrencyCode?: string;
678
- customStoreDetails?: {
679
- [key: string]: any;
680
- };
681
- reviewRatingType?: "none" | "ratingOnly" | "ratingAndReviewCount";
682
- appName?: string;
683
- pageHeader?: {
684
- title?: string;
685
- description?: string;
686
- customizePadding?: string;
687
- };
688
- };
689
- type BundleProps = {
690
- bundle: BundlePayload;
691
- addToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
692
- variantId: string;
693
- price: number;
694
- }[]) => Promise<void>;
695
- addCustomBundleToCart?: (e: any) => Promise<void>;
696
- selectedItems?: {
697
- variantId: string;
698
- product: ProductDetails;
699
- quantity: number;
700
- }[];
701
- setSelectedItems?: React.Dispatch<React.SetStateAction<{
702
- variantId: string;
703
- product: ProductDetails;
704
- quantity: number;
705
- }[]>>;
706
- bundleAddToCartLoading?: boolean;
707
- handleRemoveItem?: (variantId: string) => void;
708
- selectedItemsQuantity?: number;
709
- renderingOnPage?: boolean;
710
- bundleSubtotal?: {
711
- price: number;
712
- compareAtPrice: number;
713
- };
714
- bundleHeaderBackgroundColor?: string;
715
- currentProductId?: string;
716
- };
351
+ interface ShopifyCurrency {
352
+ rate: number;
353
+ active: string;
354
+ }
355
+ declare global {
356
+ interface Window {
357
+ Shopify?: {
358
+ currency?: ShopifyCurrency;
359
+ };
360
+ }
361
+ }
362
+ type ProductImage = {
363
+ url: string;
364
+ height: number;
365
+ width: number;
366
+ altText?: string;
367
+ };
368
+ type ProductFeaturedMedia = {
369
+ alt: string;
370
+ preview: {
371
+ image: {
372
+ url: string;
373
+ height?: number;
374
+ width?: number;
375
+ altText: string;
376
+ };
377
+ };
378
+ };
379
+ type ProductOption = {
380
+ id: string;
381
+ name: string;
382
+ values: string[];
383
+ };
384
+ type CollectionNode = {
385
+ node: {
386
+ id: string;
387
+ title: string;
388
+ handle: string;
389
+ };
390
+ };
391
+ type VariantNode = {
392
+ node: {
393
+ id: string;
394
+ price: string;
395
+ compareAtPrice: string;
396
+ title: string;
397
+ displayName: string;
398
+ image: ProductImage;
399
+ availableForSale: boolean;
400
+ inventoryQuantity: number;
401
+ };
402
+ };
403
+ type SelectedVariantDetails = {
404
+ id: string;
405
+ price: string;
406
+ compareAtPrice: string;
407
+ title: string;
408
+ displayName: string;
409
+ image: ProductImage;
410
+ availableForSale: boolean;
411
+ inventoryQuantity: number;
412
+ };
413
+ type VariantOptions = {
414
+ shop: string;
415
+ options: {
416
+ name: string;
417
+ type: "text" | "image" | "color";
418
+ values: {
419
+ name: string;
420
+ value: string;
421
+ }[];
422
+ }[];
423
+ createdAt: string;
424
+ updatedAt: string;
425
+ };
426
+ type ProductDetails = {
427
+ id: string;
428
+ title: string;
429
+ handle: string;
430
+ featuredMedia: ProductFeaturedMedia;
431
+ status: "ACTIVE" | "ARCHIVED" | "DRAFT" | "";
432
+ options: ProductOption[];
433
+ onlineStoreUrl: string;
434
+ collections: {
435
+ edges: CollectionNode[];
436
+ };
437
+ variants: {
438
+ edges: VariantNode[];
439
+ };
440
+ shop: string;
441
+ metafield?: {
442
+ key: string;
443
+ namespace: string;
444
+ ownerType: string;
445
+ value: string;
446
+ id: string;
447
+ jsonValue: string[];
448
+ type: string;
449
+ };
450
+ descriptionHtml: string;
451
+ media: {
452
+ edges: {
453
+ node: {
454
+ alt: string;
455
+ preview: {
456
+ altText: string;
457
+ width?: number;
458
+ height?: number;
459
+ url: string;
460
+ };
461
+ image: {
462
+ altText: string;
463
+ height: number;
464
+ width: number;
465
+ url: string;
466
+ };
467
+ };
468
+ }[];
469
+ };
470
+ selectedVariant?: SelectedVariantDetails;
471
+ rating?: {
472
+ averageRating: number;
473
+ ratingCount: number;
474
+ };
475
+ };
476
+ type ProductData = {
477
+ productId: string;
478
+ variantIds: string[];
479
+ productDetails: ProductDetails;
480
+ };
481
+ type GeneralStyle = {
482
+ primaryColor: string;
483
+ primaryContrastColor: string;
484
+ secondaryColor: string;
485
+ secondaryContrastColor: string;
486
+ imageAspectRatio: string;
487
+ ctaBackgroundColor: string;
488
+ ctaTextColor: string;
489
+ ctaBorderColor: string;
490
+ ctaShadowType: string;
491
+ ctaPadding: string;
492
+ ctaWidth: string;
493
+ ctaBorderRadius: string;
494
+ ctaHoverBackgroundColor: string;
495
+ ctaHoverTextColor: string;
496
+ customizeHoverState: boolean;
497
+ checkoutPartner: string;
498
+ redirectToPDP: boolean;
499
+ restrictCOD: boolean;
500
+ trackInventory: boolean;
501
+ showOutOfStockProducts: boolean;
502
+ outOfStockLabel: string;
503
+ disabledButtonColor: string;
504
+ storeCurrency: string;
505
+ currencySymbol: string;
506
+ discountPrefix: string;
507
+ discountSuffix: string;
508
+ addOrderTags: boolean;
509
+ addOrderNotes: boolean;
510
+ variantTitleSuffix: boolean;
511
+ titleLength: string;
512
+ };
513
+ type VolumeStyle = {
514
+ titleFontSize: string;
515
+ subtitleFontSize: string;
516
+ titleBackgroundColor: string;
517
+ titleTextColor: string;
518
+ verticalMargin: string;
519
+ sectionBackgroundColor: string;
520
+ cardStyle: string;
521
+ discountBadgeVisibility: string;
522
+ allowVariantSelection: string;
523
+ variantSelectorType: string;
524
+ ctaTitle: string;
525
+ bundleRedirection: string;
526
+ };
527
+ type ComboStyle = {
528
+ productTitleFontSize: string;
529
+ productDescriptionFontSize: string;
530
+ descriptionTextColor: string;
531
+ titleTextColor: string;
532
+ verticalMargin: string;
533
+ infoAlignment: string;
534
+ ctaTitle: string;
535
+ bundleRedirection: string;
536
+ embedContentVisibility: boolean;
537
+ mixAndMatchCardStyle: string;
538
+ mixAndMatchVariantTypeSelector: string;
539
+ comboCardStyle: string;
540
+ comboVariantTypeSelector: string;
541
+ selectedEmbedContentVisibilityOptions: string[];
542
+ subProductsSectionVisibility: boolean;
543
+ subProductsImageVisibility: boolean;
544
+ subProductsProductTitleVisibility: boolean;
545
+ subProductsProductPriceVisibility: boolean;
546
+ };
547
+ type ByobStyle = {
548
+ titleFontSize: string;
549
+ subtitleFontSize: string;
550
+ titleBackgroundColor: string;
551
+ titleTextColor: string;
552
+ productTitleFontSize: string;
553
+ sectionBackgroundColor: string;
554
+ lazyLoadWidget: string;
555
+ listingsGap: string;
556
+ footerMargin: string;
557
+ borderRadius: string;
558
+ borderColor: string;
559
+ cardBackgroundColor: string;
560
+ shadowType: string;
561
+ addToBundleCTAText: string;
562
+ checkoutCTAText: string;
563
+ variantSelectorType: string;
564
+ primaryVariant: string;
565
+ productsPriceVisibility: boolean;
566
+ compareAtPriceVisibility: boolean;
567
+ selectedProductsVisibility: boolean;
568
+ bundleRedirection: string;
569
+ enableConfetti: boolean;
570
+ selectedItemVisibility: boolean;
571
+ productTiersVisibility: boolean;
572
+ tierNavigation: boolean;
573
+ enableProductCategories: boolean;
574
+ productCardCategoryVisibility: string;
575
+ categoryFilterOnPage: string;
576
+ };
577
+ type FixedStyle = {
578
+ titleFontSize: string;
579
+ subtitleFontSize: string;
580
+ titleBackgroundColor: string;
581
+ titleTextColor: string;
582
+ verticalMargin: string;
583
+ sectionBackgroundColor: string;
584
+ borderRadius: string;
585
+ borderColor: string;
586
+ cardBackgroundColor: string;
587
+ shadowType: string;
588
+ infoAlignment: string;
589
+ ctaTitle: string;
590
+ bundleRedirection: string;
591
+ cardLayoutStyle: string;
592
+ variantSelectorType: string;
593
+ productsPriceVisibility: boolean;
594
+ compareAtPriceVisibility: boolean;
595
+ };
596
+ type Customizations = {
597
+ shop?: string;
598
+ general: GeneralStyle;
599
+ byob: ByobStyle;
600
+ fixedBundle: FixedStyle;
601
+ volumeBundle: VolumeStyle;
602
+ comboBundle: ComboStyle;
603
+ createdAt?: string;
604
+ updatedAt?: string;
605
+ };
606
+ type BundlePayload = {
607
+ showIndividualProductSelector: boolean;
608
+ title?: string;
609
+ subtitle?: string;
610
+ products: ProductData[];
611
+ percentageOff?: number;
612
+ dealAmount?: number;
613
+ amountOff?: number;
614
+ type: "fixed" | "builder" | "volume" | "mixnmatch" | "" | "combo";
615
+ minimumQuantity: number;
616
+ showProductDetailsInTracker: boolean;
617
+ coverImageUrl?: string;
618
+ mobileCoverImageUrl?: string;
619
+ titleSectionTextColor?: string;
620
+ titleSectionBackgroundColor?: string;
621
+ dealTextColor?: string;
622
+ showBorder?: boolean;
623
+ hideProductDetails?: boolean;
624
+ cornerRadiusType?: "medium" | "high" | "";
625
+ primaryBackgroundColorCta?: string;
626
+ enableProgressBar?: boolean;
627
+ enableSortAndFilter?: boolean;
628
+ disableQuantitySelector?: boolean;
629
+ disableInventoryTracking?: boolean;
630
+ alignFixedBundleContent?: "left" | "right" | "center" | "";
631
+ imageAspectType?: "portrait" | "square" | "";
632
+ backgroundColorFixedBundleDiv?: string;
633
+ canCustomizeFixedBundle?: boolean;
634
+ primaryTextColorCta?: string;
635
+ showVariants?: boolean;
636
+ discountType?: string;
637
+ showCta?: boolean;
638
+ productCardBadgeText?: string;
639
+ coverImageVerticalMargin?: string;
640
+ builderTiers?: {
641
+ type: string;
642
+ offerTier?: {
643
+ tier: number;
644
+ minimumQuantity: number;
645
+ discountValue: number;
646
+ }[];
647
+ productTier?: {
648
+ tier: number;
649
+ title: string;
650
+ minimumQuantity: number;
651
+ products: {
652
+ productId: string;
653
+ variantIds: string[];
654
+ }[];
655
+ }[];
656
+ };
657
+ volumeTiers?: {
658
+ isDefault: unknown;
659
+ tier: number;
660
+ minimumQuantity: number;
661
+ title: string;
662
+ subtitle: string;
663
+ badgeTitle: string;
664
+ discountValue: number;
665
+ imageUrl?: string;
666
+ }[];
667
+ mixAndMatchTiers?: {
668
+ tier: number;
669
+ title: string;
670
+ products: {
671
+ productId: string;
672
+ variantIds: string[];
673
+ }[];
674
+ }[];
675
+ customizations: Customizations;
676
+ variantOptions?: VariantOptions;
677
+ storeCurrencyCode?: string;
678
+ customStoreDetails?: {
679
+ [key: string]: any;
680
+ };
681
+ reviewRatingType?: "none" | "ratingOnly" | "ratingAndReviewCount";
682
+ appName?: string;
683
+ pageHeader?: {
684
+ title?: string;
685
+ description?: string;
686
+ customizePadding?: string;
687
+ };
688
+ };
689
+ type BundleProps = {
690
+ bundle: BundlePayload;
691
+ addToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
692
+ variantId: string;
693
+ price: number;
694
+ }[]) => Promise<void>;
695
+ addCustomBundleToCart?: (e: any) => Promise<void>;
696
+ selectedItems?: {
697
+ variantId: string;
698
+ product: ProductDetails;
699
+ quantity: number;
700
+ }[];
701
+ setSelectedItems?: React.Dispatch<React.SetStateAction<{
702
+ variantId: string;
703
+ product: ProductDetails;
704
+ quantity: number;
705
+ }[]>>;
706
+ bundleAddToCartLoading?: boolean;
707
+ handleRemoveItem?: (variantId: string) => void;
708
+ selectedItemsQuantity?: number;
709
+ renderingOnPage?: boolean;
710
+ bundleSubtotal?: {
711
+ price: number;
712
+ compareAtPrice: number;
713
+ };
714
+ bundleHeaderBackgroundColor?: string;
715
+ currentProductId?: string;
716
+ };
717
717
  declare const Bundle: React.FC<BundleProps>;
718
718
 
719
- type BundleLoaderProps = {};
719
+ type BundleLoaderProps = {};
720
720
  declare const BundleLoader: React.FC<BundleLoaderProps>;
721
721
 
722
722
  export { Bundle, BundleLoader, Cart, CouponFrame, Nudge, SpinnerWheel };