yt-uikit 0.8.7-inventoryPolicy.0 → 0.8.7-shadowdomBundlenew.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 (258) 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 +394 -393
  20. package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +39 -38
  21. package/dist/esm/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
  22. package/dist/esm/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +15 -15
  23. package/dist/esm/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +37 -37
  24. package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +52 -50
  25. package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  26. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +30 -26
  27. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  28. package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +105 -105
  29. package/dist/esm/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -15
  30. package/dist/esm/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -2
  31. package/dist/esm/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -15
  32. package/dist/esm/components/BundleBlock/ComboBundle.d.ts +16 -16
  33. package/dist/esm/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  34. package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +40 -39
  35. package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +23 -22
  36. package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +90 -90
  37. package/dist/esm/components/BundleBlock/Loader.d.ts +5 -5
  38. package/dist/esm/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  39. package/dist/esm/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
  40. package/dist/esm/components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton.d.ts +5 -0
  41. package/dist/esm/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  42. package/dist/esm/components/BundleBlock/VolumeBundle/temp.d.ts +3 -0
  43. package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  44. package/dist/esm/components/BundleBlock/index.d.ts +1 -1
  45. package/dist/esm/components/Cart/ApplyCoupon.d.ts +12 -12
  46. package/dist/esm/components/Cart/Bundle.d.ts +6 -6
  47. package/dist/esm/components/Cart/Cart.d.ts +235 -234
  48. package/dist/esm/components/Cart/CartDrawer.d.ts +21 -21
  49. package/dist/esm/components/Cart/CartOffersCarousel.d.ts +45 -45
  50. package/dist/esm/components/Cart/CartProductsList.d.ts +45 -45
  51. package/dist/esm/components/Cart/CartTimer.d.ts +8 -8
  52. package/dist/esm/components/Cart/CheckoutSection.d.ts +38 -38
  53. package/dist/esm/components/Cart/CouponSelection.d.ts +25 -25
  54. package/dist/esm/components/Cart/DatePicker.d.ts +10 -10
  55. package/dist/esm/components/Cart/EmptyCart.d.ts +33 -33
  56. package/dist/esm/components/Cart/FooterSections.d.ts +6 -6
  57. package/dist/esm/components/Cart/FreebieClaim.d.ts +17 -0
  58. package/dist/esm/components/Cart/FreebieClaimManager.d.ts +18 -17
  59. package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +18 -17
  60. package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +10 -9
  61. package/dist/esm/components/Cart/FreebieClaimSection.d.ts +18 -17
  62. package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +17 -16
  63. package/dist/esm/components/Cart/GSTSection.d.ts +15 -15
  64. package/dist/esm/components/Cart/GiftWrap.d.ts +14 -14
  65. package/dist/esm/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  66. package/dist/esm/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  67. package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  68. package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  69. package/dist/esm/components/Cart/LoyaltyBadge.d.ts +10 -10
  70. package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  71. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  72. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  73. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  74. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  75. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  76. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  77. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -6
  78. package/dist/esm/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  79. package/dist/esm/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  80. package/dist/esm/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  81. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  82. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  83. package/dist/esm/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  84. package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  85. package/dist/esm/components/Cart/NextFreebieRow.d.ts +19 -19
  86. package/dist/esm/components/Cart/NoteSection.d.ts +8 -8
  87. package/dist/esm/components/Cart/ProductCard.d.ts +30 -30
  88. package/dist/esm/components/Cart/ProductRecCard.d.ts +20 -20
  89. package/dist/esm/components/Cart/ProductRecList.d.ts +23 -23
  90. package/dist/esm/components/Cart/ProgressBar.d.ts +13 -13
  91. package/dist/esm/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  92. package/dist/esm/components/Cart/QuantitySelector.d.ts +12 -12
  93. package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  94. package/dist/esm/components/Cart/RewardPointsPreview.d.ts +10 -10
  95. package/dist/esm/components/Cart/StandardDelivery.d.ts +11 -11
  96. package/dist/esm/components/Cart/StickyCart.d.ts +52 -52
  97. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +19 -18
  98. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  99. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +19 -18
  100. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +49 -49
  101. package/dist/esm/components/Cart/index.d.ts +1 -1
  102. package/dist/esm/components/CouponFrame/CouponFrame.d.ts +15 -15
  103. package/dist/esm/components/CouponFrame/index.d.ts +1 -1
  104. package/dist/esm/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  105. package/dist/esm/components/Nudge/Nudge.d.ts +40 -40
  106. package/dist/esm/components/Nudge/index.d.ts +1 -1
  107. package/dist/esm/components/ProductOffersBlock/ProductOffersCoupon.d.ts +12 -12
  108. package/dist/esm/components/ProductOffersBlock/ProductOffersList.d.ts +12 -12
  109. package/dist/esm/components/ProductOffersBlock/ProductOffersTermsMobilePopover.d.ts +10 -10
  110. package/dist/esm/components/ProductOffersBlock/ProductOffersTermsPopup.d.ts +10 -10
  111. package/dist/esm/components/ProductOffersBlock/ProductsOffers.d.ts +32 -32
  112. package/dist/esm/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  113. package/dist/esm/components/SpinnerWheel/WheelSection.d.ts +9 -9
  114. package/dist/esm/components/SpinnerWheel/index.d.ts +1 -1
  115. package/dist/esm/components/index.d.ts +8 -7
  116. package/dist/esm/hooks/useShadowConfetti.d.ts +1 -0
  117. package/dist/esm/index.d.ts +2 -1
  118. package/dist/esm/index.js +399 -1068
  119. package/dist/esm/shadowStyles.d.ts +1 -0
  120. package/dist/esm/types/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  121. package/dist/esm/types/atoms/cartDataAtom.d.ts +3 -3
  122. package/dist/esm/types/atoms/cartLoadingAtom.d.ts +22 -22
  123. package/dist/esm/types/atoms/cartTimer.d.ts +2 -2
  124. package/dist/esm/types/atoms/couponSelectionOpenAtom.d.ts +3 -3
  125. package/dist/esm/types/atoms/dateAtom.d.ts +1 -1
  126. package/dist/esm/types/atoms/freebieClaimModalAtom.d.ts +7 -7
  127. package/dist/esm/types/atoms/giftWrap.d.ts +2 -2
  128. package/dist/esm/types/atoms/gstCompanyNameAtom.d.ts +1 -1
  129. package/dist/esm/types/atoms/gstInputAtom.d.ts +1 -1
  130. package/dist/esm/types/atoms/maxQtyErrorAtom.d.ts +3 -3
  131. package/dist/esm/types/atoms/multiClaimSelectionAtom.d.ts +19 -19
  132. package/dist/esm/types/atoms/noteInputAtom.d.ts +3 -3
  133. package/dist/esm/types/atoms/postalCodeAtom.d.ts +1 -1
  134. package/dist/esm/types/atoms/shippingAtom.d.ts +8 -8
  135. package/dist/esm/types/atoms/showGSTInputAtom.d.ts +1 -1
  136. package/dist/esm/types/atoms/variantSelectionModalAtom.d.ts +23 -23
  137. package/dist/esm/types/components/BundleBlock/Bundle.d.ts +394 -393
  138. package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +39 -38
  139. package/dist/esm/types/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
  140. package/dist/esm/types/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +15 -15
  141. package/dist/esm/types/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +37 -37
  142. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +52 -50
  143. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  144. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +30 -26
  145. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  146. package/dist/esm/types/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +105 -105
  147. package/dist/esm/types/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -15
  148. package/dist/esm/types/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -2
  149. package/dist/esm/types/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -15
  150. package/dist/esm/types/components/BundleBlock/ComboBundle.d.ts +16 -16
  151. package/dist/esm/types/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  152. package/dist/esm/types/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +40 -39
  153. package/dist/esm/types/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +23 -22
  154. package/dist/esm/types/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +90 -90
  155. package/dist/esm/types/components/BundleBlock/Loader.d.ts +5 -5
  156. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  157. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
  158. package/dist/esm/types/components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton.d.ts +5 -0
  159. package/dist/esm/types/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  160. package/dist/esm/types/components/BundleBlock/VolumeBundle/temp.d.ts +3 -0
  161. package/dist/esm/types/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  162. package/dist/esm/types/components/BundleBlock/index.d.ts +1 -1
  163. package/dist/esm/types/components/Cart/ApplyCoupon.d.ts +12 -12
  164. package/dist/esm/types/components/Cart/Bundle.d.ts +6 -6
  165. package/dist/esm/types/components/Cart/Cart.d.ts +235 -234
  166. package/dist/esm/types/components/Cart/CartDrawer.d.ts +21 -21
  167. package/dist/esm/types/components/Cart/CartOffersCarousel.d.ts +45 -45
  168. package/dist/esm/types/components/Cart/CartProductsList.d.ts +45 -45
  169. package/dist/esm/types/components/Cart/CartTimer.d.ts +8 -8
  170. package/dist/esm/types/components/Cart/CheckoutSection.d.ts +38 -38
  171. package/dist/esm/types/components/Cart/CouponSelection.d.ts +25 -25
  172. package/dist/esm/types/components/Cart/DatePicker.d.ts +10 -10
  173. package/dist/esm/types/components/Cart/EmptyCart.d.ts +33 -33
  174. package/dist/esm/types/components/Cart/FooterSections.d.ts +6 -6
  175. package/dist/esm/types/components/Cart/FreebieClaim.d.ts +17 -0
  176. package/dist/esm/types/components/Cart/FreebieClaimManager.d.ts +18 -17
  177. package/dist/esm/types/components/Cart/FreebieClaimOverlay.d.ts +18 -17
  178. package/dist/esm/types/components/Cart/FreebieClaimOverlayCard.d.ts +10 -9
  179. package/dist/esm/types/components/Cart/FreebieClaimSection.d.ts +18 -17
  180. package/dist/esm/types/components/Cart/FreebieClaimSectionCard.d.ts +17 -16
  181. package/dist/esm/types/components/Cart/GSTSection.d.ts +15 -15
  182. package/dist/esm/types/components/Cart/GiftWrap.d.ts +14 -14
  183. package/dist/esm/types/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  184. package/dist/esm/types/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  185. package/dist/esm/types/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  186. package/dist/esm/types/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  187. package/dist/esm/types/components/Cart/LoyaltyBadge.d.ts +10 -10
  188. package/dist/esm/types/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  189. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  190. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  191. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  192. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  193. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  194. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  195. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -6
  196. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  197. package/dist/esm/types/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  198. package/dist/esm/types/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  199. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  200. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  201. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  202. package/dist/esm/types/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  203. package/dist/esm/types/components/Cart/NextFreebieRow.d.ts +19 -19
  204. package/dist/esm/types/components/Cart/NoteSection.d.ts +8 -8
  205. package/dist/esm/types/components/Cart/ProductCard.d.ts +30 -30
  206. package/dist/esm/types/components/Cart/ProductRecCard.d.ts +20 -20
  207. package/dist/esm/types/components/Cart/ProductRecList.d.ts +23 -23
  208. package/dist/esm/types/components/Cart/ProgressBar.d.ts +13 -13
  209. package/dist/esm/types/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  210. package/dist/esm/types/components/Cart/QuantitySelector.d.ts +12 -12
  211. package/dist/esm/types/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  212. package/dist/esm/types/components/Cart/RewardPointsPreview.d.ts +10 -10
  213. package/dist/esm/types/components/Cart/StandardDelivery.d.ts +11 -11
  214. package/dist/esm/types/components/Cart/StickyCart.d.ts +52 -52
  215. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +19 -18
  216. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  217. package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +19 -18
  218. package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +49 -49
  219. package/dist/esm/types/components/Cart/index.d.ts +1 -1
  220. package/dist/esm/types/components/CouponFrame/CouponFrame.d.ts +15 -15
  221. package/dist/esm/types/components/CouponFrame/index.d.ts +1 -1
  222. package/dist/esm/types/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  223. package/dist/esm/types/components/Nudge/Nudge.d.ts +40 -40
  224. package/dist/esm/types/components/Nudge/index.d.ts +1 -1
  225. package/dist/esm/types/components/ProductOffersBlock/ProductOffersCoupon.d.ts +12 -12
  226. package/dist/esm/types/components/ProductOffersBlock/ProductOffersList.d.ts +12 -12
  227. package/dist/esm/types/components/ProductOffersBlock/ProductOffersTermsMobilePopover.d.ts +10 -10
  228. package/dist/esm/types/components/ProductOffersBlock/ProductOffersTermsPopup.d.ts +10 -10
  229. package/dist/esm/types/components/ProductOffersBlock/ProductsOffers.d.ts +32 -32
  230. package/dist/esm/types/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  231. package/dist/esm/types/components/SpinnerWheel/WheelSection.d.ts +9 -9
  232. package/dist/esm/types/components/SpinnerWheel/index.d.ts +1 -1
  233. package/dist/esm/types/components/index.d.ts +8 -7
  234. package/dist/esm/types/hooks/useShadowConfetti.d.ts +1 -0
  235. package/dist/esm/types/index.d.ts +2 -1
  236. package/dist/esm/types/shadowStyles.d.ts +1 -0
  237. package/dist/esm/types/utils/converter.d.ts +2 -2
  238. package/dist/esm/types/utils/customVariantOptions.d.ts +20 -20
  239. package/dist/esm/types/utils/freebieProductUtils.d.ts +22 -23
  240. package/dist/esm/types/utils/freebieUtils.d.ts +5 -5
  241. package/dist/esm/types/utils/index.d.ts +14 -14
  242. package/dist/esm/utils/converter.d.ts +2 -2
  243. package/dist/esm/utils/customVariantOptions.d.ts +20 -20
  244. package/dist/esm/utils/freebieProductUtils.d.ts +22 -23
  245. package/dist/esm/utils/freebieUtils.d.ts +5 -5
  246. package/dist/esm/utils/index.d.ts +14 -14
  247. package/dist/index.d.ts +748 -741
  248. package/package.json +95 -95
  249. package/src/assets/Frame.svg +4 -4
  250. package/src/assets/bundlePlus.svg +4 -4
  251. package/src/assets/copy-icon.svg +3 -3
  252. package/src/assets/copy-iconBlack.svg +4 -4
  253. package/src/assets/coupon.svg +4 -4
  254. package/src/assets/delivery.svg +5 -5
  255. package/dist/esm/components/Cart/FloatingCart.d.ts +0 -23
  256. package/dist/esm/components/Cart/MobileMiniCart.d.ts +0 -21
  257. package/dist/esm/types/components/Cart/FloatingCart.d.ts +0 -23
  258. package/dist/esm/types/components/Cart/MobileMiniCart.d.ts +0 -21
@@ -1,45 +1,45 @@
1
- import React from "react";
2
- import { Checkpoint } from "./Cart";
3
- import { freebieMilestoneProps } from "./NextFreebieRow";
4
- type CartProductsListProps = {
5
- addCartItem?: (product: any, quantity?: number, triggeredFrom?: string) => Promise<any>;
6
- removeCartItem: (product: any) => Promise<any>;
7
- handleIncrement: (productId: number, newQuantity: number, properties?: {
8
- [key: string]: string;
9
- }) => Promise<any>;
10
- handleDecrement: (productId: number) => Promise<any>;
11
- isDev?: boolean;
12
- themeColor?: string;
13
- primaryTextColor?: string;
14
- secondaryTextColor?: string;
15
- freeProduct?: any;
16
- themeTextColor?: string;
17
- showEditOptionOnProducts?: boolean;
18
- productPercentageOffMapping: {
19
- [variantId: string]: number;
20
- };
21
- productTagsMapping?: Map<string, string[]>;
22
- removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
23
- showDeleteOnFreebies?: boolean;
24
- freebieCouponTemplates: Checkpoint[];
25
- cartCheckpoints?: Checkpoint[];
26
- freebieFlowCheckpoints: Checkpoint[];
27
- freeProductAdjustedCartTotal?: number;
28
- imageAspectSelector?: "square" | "portrait";
29
- cartComponentsCornerType?: "rounded" | "sharp";
30
- cartComponentsCornerRadius?: number;
31
- giftWrapVariantId?: string;
32
- giftWrapProductId?: string;
33
- showGiftWrapAsLineItem?: boolean;
34
- backgroundSubdued?: string;
35
- tertiaryColor?: string;
36
- tertiaryTextColor?: string;
37
- backgroundColor?: string;
38
- showDiscountOnMRP?: boolean;
39
- checkoutSectionMessage?: string;
40
- checkoutSectionMessageRedirectLink?: string;
41
- showFreebieMilestone?: boolean;
42
- freebieMilestoneData?: freebieMilestoneProps;
43
- };
44
- declare const CartProductsList: React.FC<CartProductsListProps>;
45
- export default CartProductsList;
1
+ import React from "react";
2
+ import { Checkpoint } from "./Cart";
3
+ import { freebieMilestoneProps } from "./NextFreebieRow";
4
+ type CartProductsListProps = {
5
+ addCartItem?: (product: any, quantity?: number, triggeredFrom?: string) => Promise<any>;
6
+ removeCartItem: (product: any) => Promise<any>;
7
+ handleIncrement: (productId: number, newQuantity: number, properties?: {
8
+ [key: string]: string;
9
+ }) => Promise<any>;
10
+ handleDecrement: (productId: number) => Promise<any>;
11
+ isDev?: boolean;
12
+ themeColor?: string;
13
+ primaryTextColor?: string;
14
+ secondaryTextColor?: string;
15
+ freeProduct?: any;
16
+ themeTextColor?: string;
17
+ showEditOptionOnProducts?: boolean;
18
+ productPercentageOffMapping: {
19
+ [variantId: string]: number;
20
+ };
21
+ productTagsMapping?: Map<string, string[]>;
22
+ removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
23
+ showDeleteOnFreebies?: boolean;
24
+ freebieCouponTemplates: Checkpoint[];
25
+ cartCheckpoints?: Checkpoint[];
26
+ freebieFlowCheckpoints: Checkpoint[];
27
+ freeProductAdjustedCartTotal?: number;
28
+ imageAspectSelector?: "square" | "portrait";
29
+ cartComponentsCornerType?: "rounded" | "sharp";
30
+ cartComponentsCornerRadius?: number;
31
+ giftWrapVariantId?: string;
32
+ giftWrapProductId?: string;
33
+ showGiftWrapAsLineItem?: boolean;
34
+ backgroundSubdued?: string;
35
+ tertiaryColor?: string;
36
+ tertiaryTextColor?: string;
37
+ backgroundColor?: string;
38
+ showDiscountOnMRP?: boolean;
39
+ checkoutSectionMessage?: string;
40
+ checkoutSectionMessageRedirectLink?: string;
41
+ showFreebieMilestone?: boolean;
42
+ freebieMilestoneData?: freebieMilestoneProps;
43
+ };
44
+ declare const CartProductsList: React.FC<CartProductsListProps>;
45
+ export default CartProductsList;
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- type CartTimerProps = {
3
- minutes?: number;
4
- customText?: string;
5
- onTimerComplete: () => void;
6
- };
7
- declare const CartTimer: ({ minutes, customText, onTimerComplete, }: CartTimerProps) => React.JSX.Element;
8
- export default CartTimer;
1
+ import React from "react";
2
+ type CartTimerProps = {
3
+ minutes?: number;
4
+ customText?: string;
5
+ onTimerComplete: () => void;
6
+ };
7
+ declare const CartTimer: ({ minutes, customText, onTimerComplete, }: CartTimerProps) => React.JSX.Element;
8
+ export default CartTimer;
@@ -1,38 +1,38 @@
1
- import React from "react";
2
- import "./shared.scss";
3
- import { Checkpoint } from "./Cart";
4
- interface CheckoutSectionProps {
5
- checkoutButtonColor?: string;
6
- checkoutFontSize: string | number;
7
- checkoutFunction: (templateId?: number) => Promise<any>;
8
- discountApplied?: boolean;
9
- discountInCheckoutButton?: boolean | string;
10
- isStickyCheckout?: boolean;
11
- discountAmountApplied?: number;
12
- minimumCartValue?: number;
13
- themeTextColor?: string;
14
- applyGSTToCart?: (gstNumber: string, companyName: string) => Promise<any>;
15
- showGSTOption?: boolean;
16
- applyNoteToCart?: (note: string) => Promise<any>;
17
- showNoteOption?: boolean;
18
- enableGeoLocationDeliveryRestriction?: boolean;
19
- applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise<any>;
20
- enableSlotPicker?: boolean;
21
- cartComponentsCornerType?: "rounded" | "sharp";
22
- cartComponentsCornerRadius?: number;
23
- checkoutSectionMessage?: string;
24
- checkoutSectionMessageRedirectLink?: string;
25
- checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark";
26
- showDiscountOnMRP?: boolean;
27
- tertiaryColor?: string;
28
- tertiaryTextColor?: string;
29
- cartCheckpoints?: Checkpoint[];
30
- toggleDecimal?: boolean;
31
- disableCheckoutButton: boolean;
32
- checkoutButtonBottomSpacing?: number;
33
- showPoweredByBadge?: boolean;
34
- showCheckoutButtonPaymentIcons?: boolean;
35
- primaryTextColor?: string;
36
- }
37
- declare function CheckoutSection({ checkoutButtonColor, checkoutFontSize, checkoutFunction, discountApplied, discountInCheckoutButton, discountAmountApplied, minimumCartValue, themeTextColor, applyGSTToCart, showGSTOption, applyNoteToCart, showNoteOption, enableGeoLocationDeliveryRestriction, applyPostalCodeAndDeliverySlotToCart, enableSlotPicker, isStickyCheckout, cartComponentsCornerType, cartComponentsCornerRadius, checkoutSectionMessage, checkoutSectionMessageDisplay, checkoutSectionMessageRedirectLink, showDiscountOnMRP, tertiaryColor, tertiaryTextColor, cartCheckpoints, toggleDecimal, disableCheckoutButton, checkoutButtonBottomSpacing, showPoweredByBadge, showCheckoutButtonPaymentIcons, primaryTextColor, }: CheckoutSectionProps): React.JSX.Element;
38
- export default CheckoutSection;
1
+ import React from "react";
2
+ import "./shared.scss";
3
+ import { Checkpoint } from "./Cart";
4
+ interface CheckoutSectionProps {
5
+ checkoutButtonColor?: string;
6
+ checkoutFontSize: string | number;
7
+ checkoutFunction: (templateId?: number) => Promise<any>;
8
+ discountApplied?: boolean;
9
+ discountInCheckoutButton?: boolean | string;
10
+ isStickyCheckout?: boolean;
11
+ discountAmountApplied?: number;
12
+ minimumCartValue?: number;
13
+ themeTextColor?: string;
14
+ applyGSTToCart?: (gstNumber: string, companyName: string) => Promise<any>;
15
+ showGSTOption?: boolean;
16
+ applyNoteToCart?: (note: string) => Promise<any>;
17
+ showNoteOption?: boolean;
18
+ enableGeoLocationDeliveryRestriction?: boolean;
19
+ applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise<any>;
20
+ enableSlotPicker?: boolean;
21
+ cartComponentsCornerType?: "rounded" | "sharp";
22
+ cartComponentsCornerRadius?: number;
23
+ checkoutSectionMessage?: string;
24
+ checkoutSectionMessageRedirectLink?: string;
25
+ checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark";
26
+ showDiscountOnMRP?: boolean;
27
+ tertiaryColor?: string;
28
+ tertiaryTextColor?: string;
29
+ cartCheckpoints?: Checkpoint[];
30
+ toggleDecimal?: boolean;
31
+ disableCheckoutButton: boolean;
32
+ checkoutButtonBottomSpacing?: number;
33
+ showPoweredByBadge?: boolean;
34
+ showCheckoutButtonPaymentIcons?: boolean;
35
+ primaryTextColor?: string;
36
+ }
37
+ declare function CheckoutSection({ checkoutButtonColor, checkoutFontSize, checkoutFunction, discountApplied, discountInCheckoutButton, discountAmountApplied, minimumCartValue, themeTextColor, applyGSTToCart, showGSTOption, applyNoteToCart, showNoteOption, enableGeoLocationDeliveryRestriction, applyPostalCodeAndDeliverySlotToCart, enableSlotPicker, isStickyCheckout, cartComponentsCornerType, cartComponentsCornerRadius, checkoutSectionMessage, checkoutSectionMessageDisplay, checkoutSectionMessageRedirectLink, showDiscountOnMRP, tertiaryColor, tertiaryTextColor, cartCheckpoints, toggleDecimal, disableCheckoutButton, checkoutButtonBottomSpacing, showPoweredByBadge, showCheckoutButtonPaymentIcons, primaryTextColor, }: CheckoutSectionProps): React.JSX.Element;
38
+ export default CheckoutSection;
@@ -1,25 +1,25 @@
1
- import React from "react";
2
- import { RewardCoupon } from "./Cart";
3
- import "./couponSelection.scss";
4
- interface RewardCouponWithIcon extends RewardCoupon {
5
- icon?: React.ReactElement | null;
6
- }
7
- type CouponSelectionProps = {
8
- isCouponSelectionOpen: boolean;
9
- setIsCouponSelectionOpen: React.Dispatch<React.SetStateAction<boolean>>;
10
- rewardCoupons: RewardCoupon[];
11
- applyDiscount: () => Promise<any>;
12
- userTotalPoints: number;
13
- discountAmountOff?: number;
14
- applyTemplateDiscount: (templateId: number) => Promise<any>;
15
- pointsToBeUsed?: number;
16
- guestRewardCoupon?: RewardCouponWithIcon;
17
- showGuestDiscountCoupon?: boolean;
18
- isUserSignedIn?: boolean;
19
- guestLoyaltyPercentage?: number;
20
- joinNowFunction?: () => void;
21
- showDiscountsListToGuestUsers?: boolean;
22
- themeColor?: string;
23
- };
24
- export declare const CouponSelection: React.ForwardRefExoticComponent<CouponSelectionProps & React.RefAttributes<HTMLDivElement>>;
25
- export {};
1
+ import React from "react";
2
+ import { RewardCoupon } from "./Cart";
3
+ import "./couponSelection.scss";
4
+ interface RewardCouponWithIcon extends RewardCoupon {
5
+ icon?: React.ReactElement | null;
6
+ }
7
+ type CouponSelectionProps = {
8
+ isCouponSelectionOpen: boolean;
9
+ setIsCouponSelectionOpen: React.Dispatch<React.SetStateAction<boolean>>;
10
+ rewardCoupons: RewardCoupon[];
11
+ applyDiscount: () => Promise<any>;
12
+ userTotalPoints: number;
13
+ discountAmountOff?: number;
14
+ applyTemplateDiscount: (templateId: number) => Promise<any>;
15
+ pointsToBeUsed?: number;
16
+ guestRewardCoupon?: RewardCouponWithIcon;
17
+ showGuestDiscountCoupon?: boolean;
18
+ isUserSignedIn?: boolean;
19
+ guestLoyaltyPercentage?: number;
20
+ joinNowFunction?: () => void;
21
+ showDiscountsListToGuestUsers?: boolean;
22
+ themeColor?: string;
23
+ };
24
+ export declare const CouponSelection: React.ForwardRefExoticComponent<CouponSelectionProps & React.RefAttributes<HTMLDivElement>>;
25
+ export {};
@@ -1,10 +1,10 @@
1
- import React from "react";
2
- import "react-calendar/dist/Calendar.css";
3
- import "./DatePicker.css";
4
- interface CustomDatePickerProps {
5
- themeColor?: string;
6
- themeTextColor?: string;
7
- disabledDates?: Date[] | Date;
8
- }
9
- declare const CustomDatePicker: React.FC<CustomDatePickerProps>;
10
- export default CustomDatePicker;
1
+ import React from "react";
2
+ import "react-calendar/dist/Calendar.css";
3
+ import "./DatePicker.css";
4
+ interface CustomDatePickerProps {
5
+ themeColor?: string;
6
+ themeTextColor?: string;
7
+ disabledDates?: Date[] | Date;
8
+ }
9
+ declare const CustomDatePicker: React.FC<CustomDatePickerProps>;
10
+ export default CustomDatePicker;
@@ -1,33 +1,33 @@
1
- import React from "react";
2
- import { CartProps } from "./Cart";
3
- export default function EmptyCart({ showLoyaltyCta, exploreCTAColor, emptyCartTitle, emptyCartDescription, isUserSignedIn, joinNowFunction, exploreCtaRedirectLink, themeColor, emptyCartButtons, cartComponentsCornerRadius, cartComponentsCornerType, themeTextColor, recProductsList, addCartItem, productRecsCtaButtonText, ctaButtonBackgroundColor, ctaButtonTextColor, primaryTextColor, secondaryTextColor, showVariantSelectionDropdownInProductRecs, productRecsTitleText, emptyProductRecsTitleText, backgroundSubdued, showEmptyCartRecommendations, tertiaryColor, tertiaryTextColor, }: {
4
- showLoyaltyCta: boolean;
5
- exploreCTAColor: any;
6
- emptyCartTitle: string;
7
- emptyCartDescription?: string;
8
- isUserSignedIn?: boolean;
9
- joinNowFunction?: () => void;
10
- exploreCtaRedirectLink?: string;
11
- themeColor?: string;
12
- emptyCartButtons?: Array<{
13
- title: string;
14
- link: string;
15
- }>;
16
- cartComponentsCornerRadius?: number;
17
- cartComponentsCornerType?: "rounded" | "sharp";
18
- themeTextColor?: string;
19
- recProductsList?: any[];
20
- addCartItem?: CartProps["addCartItem"];
21
- productRecsCtaButtonText?: CartProps["productRecsCtaButtonText"];
22
- ctaButtonBackgroundColor?: CartProps["ctaButtonBackgroundColor"];
23
- ctaButtonTextColor?: CartProps["ctaButtonTextColor"];
24
- primaryTextColor?: CartProps["primaryTextColor"];
25
- secondaryTextColor?: CartProps["secondaryTextColor"];
26
- showVariantSelectionDropdownInProductRecs?: CartProps["showVariantSelectionDropdownInProductRecs"];
27
- productRecsTitleText?: CartProps["productRecsTitleText"];
28
- emptyProductRecsTitleText?: CartProps["emptyProductRecsTitleText"];
29
- backgroundSubdued?: CartProps["backgroundSubdued"];
30
- showEmptyCartRecommendations?: boolean;
31
- tertiaryColor?: string;
32
- tertiaryTextColor?: string;
33
- }): React.JSX.Element;
1
+ import React from "react";
2
+ import { CartProps } from "./Cart";
3
+ export default function EmptyCart({ showLoyaltyCta, exploreCTAColor, emptyCartTitle, emptyCartDescription, isUserSignedIn, joinNowFunction, exploreCtaRedirectLink, themeColor, emptyCartButtons, cartComponentsCornerRadius, cartComponentsCornerType, themeTextColor, recProductsList, addCartItem, productRecsCtaButtonText, ctaButtonBackgroundColor, ctaButtonTextColor, primaryTextColor, secondaryTextColor, showVariantSelectionDropdownInProductRecs, productRecsTitleText, emptyProductRecsTitleText, backgroundSubdued, showEmptyCartRecommendations, tertiaryColor, tertiaryTextColor, }: {
4
+ showLoyaltyCta: boolean;
5
+ exploreCTAColor: any;
6
+ emptyCartTitle: string;
7
+ emptyCartDescription?: string;
8
+ isUserSignedIn?: boolean;
9
+ joinNowFunction?: () => void;
10
+ exploreCtaRedirectLink?: string;
11
+ themeColor?: string;
12
+ emptyCartButtons?: Array<{
13
+ title: string;
14
+ link: string;
15
+ }>;
16
+ cartComponentsCornerRadius?: number;
17
+ cartComponentsCornerType?: "rounded" | "sharp";
18
+ themeTextColor?: string;
19
+ recProductsList?: any[];
20
+ addCartItem?: CartProps["addCartItem"];
21
+ productRecsCtaButtonText?: CartProps["productRecsCtaButtonText"];
22
+ ctaButtonBackgroundColor?: CartProps["ctaButtonBackgroundColor"];
23
+ ctaButtonTextColor?: CartProps["ctaButtonTextColor"];
24
+ primaryTextColor?: CartProps["primaryTextColor"];
25
+ secondaryTextColor?: CartProps["secondaryTextColor"];
26
+ showVariantSelectionDropdownInProductRecs?: CartProps["showVariantSelectionDropdownInProductRecs"];
27
+ productRecsTitleText?: CartProps["productRecsTitleText"];
28
+ emptyProductRecsTitleText?: CartProps["emptyProductRecsTitleText"];
29
+ backgroundSubdued?: CartProps["backgroundSubdued"];
30
+ showEmptyCartRecommendations?: boolean;
31
+ tertiaryColor?: string;
32
+ tertiaryTextColor?: string;
33
+ }): React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import React, { PropsWithChildren } from "react";
2
- type FooterSectionsProps = {
3
- children: PropsWithChildren<any>;
4
- };
5
- declare const FooterSections: React.FC<FooterSectionsProps>;
6
- export default FooterSections;
1
+ import React, { PropsWithChildren } from "react";
2
+ type FooterSectionsProps = {
3
+ children: PropsWithChildren<any>;
4
+ };
5
+ declare const FooterSections: React.FC<FooterSectionsProps>;
6
+ export default FooterSections;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ type FreebieClaimProps = {
3
+ freebieProductsInCart: any;
4
+ freebieSectionTitle?: string;
5
+ themeColor?: string;
6
+ themeTextColor?: string;
7
+ checkpoints?: any;
8
+ addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
9
+ freebiesInCart: string[];
10
+ showFreebieClaimAsPopup?: boolean;
11
+ productClaimCtaButtonText?: string;
12
+ imageAspectSelector?: "square" | "portrait";
13
+ freebieCouponTemplates?: any;
14
+ };
15
+ export declare const FreebieClaimPopup: React.ForwardRefExoticComponent<FreebieClaimProps & React.RefAttributes<HTMLDivElement>>;
16
+ declare const FreebieClaim: React.FC<FreebieClaimProps>;
17
+ export default FreebieClaim;
@@ -1,17 +1,18 @@
1
- import React from "react";
2
- import { freebieClaimInterface, Checkpoint } from "./Cart";
3
- interface FreebieClaimManagerProps {
4
- freebieProductsInCart: any[];
5
- themeColor?: string;
6
- themeTextColor?: string;
7
- primaryTextColor?: string;
8
- addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
9
- freebiesInCart: string[];
10
- freebieClaimData?: freebieClaimInterface;
11
- cartCheckpoints?: Checkpoint[];
12
- imageAspectSelector?: "square" | "portrait";
13
- freebieCouponTemplates?: Checkpoint[];
14
- isCartDrawerOpen?: boolean;
15
- }
16
- declare const FreebieClaimManager: React.FC<FreebieClaimManagerProps>;
17
- export default FreebieClaimManager;
1
+ import React from "react";
2
+ import { freebieClaimInterface, Checkpoint } from "./Cart";
3
+ interface FreebieClaimManagerProps {
4
+ freebieProductsInCart: any[];
5
+ themeColor?: string;
6
+ themeTextColor?: string;
7
+ primaryTextColor?: string;
8
+ addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
9
+ freebiesInCart: string[];
10
+ freebieClaimData?: freebieClaimInterface;
11
+ cartCheckpoints?: Checkpoint[];
12
+ imageAspectSelector?: "square" | "portrait";
13
+ freebieCouponTemplates?: Checkpoint[];
14
+ isCartDrawerOpen?: boolean;
15
+ shouldCheckInventoryQuantity?: boolean;
16
+ }
17
+ declare const FreebieClaimManager: React.FC<FreebieClaimManagerProps>;
18
+ export default FreebieClaimManager;
@@ -1,17 +1,18 @@
1
- import React from "react";
2
- import { Checkpoint } from "./Cart";
3
- interface FreebieClaimOverlayProps {
4
- freebieProductsInCart: any[];
5
- maxFreebiesInTier: number;
6
- tierName: string;
7
- themeColor?: string;
8
- themeTextColor?: string;
9
- primaryTextColor?: string;
10
- addFreebieToCart: (selectedProductIds: string[]) => Promise<void>;
11
- imageAspectSelector?: "square" | "portrait";
12
- freebieCouponTemplates?: Checkpoint[];
13
- freebieClaimData?: any;
14
- isCartDrawerOpen?: boolean;
15
- }
16
- declare const FreebieClaimOverlay: React.FC<FreebieClaimOverlayProps>;
17
- export default FreebieClaimOverlay;
1
+ import React from "react";
2
+ import { Checkpoint } from "./Cart";
3
+ interface FreebieClaimOverlayProps {
4
+ freebieProductsInCart: any[];
5
+ maxFreebiesInTier: number;
6
+ tierName: string;
7
+ themeColor?: string;
8
+ themeTextColor?: string;
9
+ primaryTextColor?: string;
10
+ addFreebieToCart: (selectedProductIds: string[]) => Promise<void>;
11
+ imageAspectSelector?: "square" | "portrait";
12
+ freebieCouponTemplates?: Checkpoint[];
13
+ freebieClaimData?: any;
14
+ isCartDrawerOpen?: boolean;
15
+ shouldCheckInventoryQuantity?: boolean;
16
+ }
17
+ declare const FreebieClaimOverlay: React.FC<FreebieClaimOverlayProps>;
18
+ export default FreebieClaimOverlay;
@@ -1,9 +1,10 @@
1
- import React from "react";
2
- interface FreebieClaimOverlayCardProps {
3
- product: any;
4
- imageAspectSelector?: "square" | "portrait";
5
- freebieCouponTemplates?: any[];
6
- accentColor?: string;
7
- }
8
- declare const FreebieClaimOverlayCard: React.FC<FreebieClaimOverlayCardProps>;
9
- export default FreebieClaimOverlayCard;
1
+ import React from "react";
2
+ interface FreebieClaimOverlayCardProps {
3
+ product: any;
4
+ imageAspectSelector?: "square" | "portrait";
5
+ freebieCouponTemplates?: any[];
6
+ accentColor?: string;
7
+ shouldCheckInventoryQuantity?: boolean;
8
+ }
9
+ declare const FreebieClaimOverlayCard: React.FC<FreebieClaimOverlayCardProps>;
10
+ export default FreebieClaimOverlayCard;
@@ -1,17 +1,18 @@
1
- import React from "react";
2
- import { Checkpoint } from "./Cart";
3
- interface FreebieClaimSectionProps {
4
- freebieProductsInCart: any[];
5
- themeColor?: string;
6
- themeTextColor?: string;
7
- primaryTextColor?: string;
8
- addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
9
- freebiesInCart: string[];
10
- imageAspectSelector?: "square" | "portrait";
11
- freebieCouponTemplates?: Checkpoint[];
12
- maxFreebiesInTier?: number;
13
- tierName?: string;
14
- freebieClaimData?: any;
15
- }
16
- declare const FreebieClaimSection: React.FC<FreebieClaimSectionProps>;
17
- export default FreebieClaimSection;
1
+ import React from "react";
2
+ import { Checkpoint } from "./Cart";
3
+ interface FreebieClaimSectionProps {
4
+ freebieProductsInCart: any[];
5
+ themeColor?: string;
6
+ themeTextColor?: string;
7
+ primaryTextColor?: string;
8
+ addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
9
+ freebiesInCart: string[];
10
+ imageAspectSelector?: "square" | "portrait";
11
+ freebieCouponTemplates?: Checkpoint[];
12
+ maxFreebiesInTier?: number;
13
+ tierName?: string;
14
+ freebieClaimData?: any;
15
+ shouldCheckInventoryQuantity?: boolean;
16
+ }
17
+ declare const FreebieClaimSection: React.FC<FreebieClaimSectionProps>;
18
+ export default FreebieClaimSection;
@@ -1,16 +1,17 @@
1
- import React from "react";
2
- interface FreebieClaimSectionCardProps {
3
- product: any;
4
- themeColor?: string;
5
- themeTextColor?: string;
6
- addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
7
- productClaimCtaButtonText?: string;
8
- imageAspectSelector?: "square" | "portrait";
9
- freebieCouponTemplates?: any;
10
- isMultiClaim?: boolean;
11
- isSelected?: boolean;
12
- isDisabled?: boolean;
13
- onToggleSelection?: (productId: string) => void;
14
- }
15
- declare const FreebieClaimSectionCard: React.FC<FreebieClaimSectionCardProps>;
16
- export default FreebieClaimSectionCard;
1
+ import React from "react";
2
+ interface FreebieClaimSectionCardProps {
3
+ product: any;
4
+ themeColor?: string;
5
+ themeTextColor?: string;
6
+ addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
7
+ productClaimCtaButtonText?: string;
8
+ imageAspectSelector?: "square" | "portrait";
9
+ freebieCouponTemplates?: any;
10
+ isMultiClaim?: boolean;
11
+ isSelected?: boolean;
12
+ isDisabled?: boolean;
13
+ onToggleSelection?: (productId: string) => void;
14
+ shouldCheckInventoryQuantity?: boolean;
15
+ }
16
+ declare const FreebieClaimSectionCard: React.FC<FreebieClaimSectionCardProps>;
17
+ export default FreebieClaimSectionCard;
@@ -1,15 +1,15 @@
1
- import React from "react";
2
- export interface GSTSectionCustomizationProps {
3
- title?: string;
4
- iconColor?: string;
5
- showIcon?: boolean;
6
- backgroundColor?: string;
7
- textColor?: string;
8
- }
9
- interface GSTSectionProps extends GSTSectionCustomizationProps {
10
- gstNumber?: string;
11
- companyName?: string;
12
- themeColor?: string;
13
- }
14
- declare const GSTSection: React.FC<GSTSectionProps>;
15
- export default GSTSection;
1
+ import React from "react";
2
+ export interface GSTSectionCustomizationProps {
3
+ title?: string;
4
+ iconColor?: string;
5
+ showIcon?: boolean;
6
+ backgroundColor?: string;
7
+ textColor?: string;
8
+ }
9
+ interface GSTSectionProps extends GSTSectionCustomizationProps {
10
+ gstNumber?: string;
11
+ companyName?: string;
12
+ themeColor?: string;
13
+ }
14
+ declare const GSTSection: React.FC<GSTSectionProps>;
15
+ export default GSTSection;
@@ -1,14 +1,14 @@
1
- import React from "react";
2
- type GiftWrapProps = {
3
- themeColor?: string;
4
- id?: string;
5
- detail?: any;
6
- showPrice?: boolean;
7
- errorText?: string;
8
- customText?: string;
9
- showGiftIcon?: boolean;
10
- addCartItem?: (variant: any, quantity?: number, triggeredFrom?: string) => Promise<any>;
11
- removeCartItem?: (variantId: string, triggeredFrom?: string) => Promise<any>;
12
- };
13
- export default function GiftWrap({ themeColor, id, showPrice, detail, errorText, customText, showGiftIcon, addCartItem, removeCartItem, }: GiftWrapProps): React.JSX.Element | null;
14
- export {};
1
+ import React from "react";
2
+ type GiftWrapProps = {
3
+ themeColor?: string;
4
+ id?: string;
5
+ detail?: any;
6
+ showPrice?: boolean;
7
+ errorText?: string;
8
+ customText?: string;
9
+ showGiftIcon?: boolean;
10
+ addCartItem?: (variant: any, quantity?: number, triggeredFrom?: string) => Promise<any>;
11
+ removeCartItem?: (variantId: string, triggeredFrom?: string) => Promise<any>;
12
+ };
13
+ export default function GiftWrap({ themeColor, id, showPrice, detail, errorText, customText, showGiftIcon, addCartItem, removeCartItem, }: GiftWrapProps): React.JSX.Element | null;
14
+ export {};
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- import { RewardCouponWithIcon } from "../CouponFrame/CouponFrame";
3
- type GuestDiscountCouponProps = {
4
- currency: string;
5
- handleApply: (templateId?: number) => Promise<any>;
6
- rewardCoupon: RewardCouponWithIcon;
7
- };
8
- declare const GuestDiscountCoupon: React.FC<GuestDiscountCouponProps>;
9
- export default GuestDiscountCoupon;
1
+ import React from "react";
2
+ import { RewardCouponWithIcon } from "../CouponFrame/CouponFrame";
3
+ type GuestDiscountCouponProps = {
4
+ currency: string;
5
+ handleApply: (templateId?: number) => Promise<any>;
6
+ rewardCoupon: RewardCouponWithIcon;
7
+ };
8
+ declare const GuestDiscountCoupon: React.FC<GuestDiscountCouponProps>;
9
+ export default GuestDiscountCoupon;
@@ -1,10 +1,10 @@
1
- import React from "react";
2
- type InlineCartOfferInfoTextProps = {
3
- inlineCartOfferInfoText: string;
4
- inlineCartOfferInfoRedirectLink?: string;
5
- themeColor?: string;
6
- tooltipText?: string;
7
- themeTextColor?: string;
8
- };
9
- export default function InlineCartOfferInfoText({ inlineCartOfferInfoText, inlineCartOfferInfoRedirectLink, themeColor, tooltipText, themeTextColor, }: InlineCartOfferInfoTextProps): React.JSX.Element;
10
- export {};
1
+ import React from "react";
2
+ type InlineCartOfferInfoTextProps = {
3
+ inlineCartOfferInfoText: string;
4
+ inlineCartOfferInfoRedirectLink?: string;
5
+ themeColor?: string;
6
+ tooltipText?: string;
7
+ themeTextColor?: string;
8
+ };
9
+ export default function InlineCartOfferInfoText({ inlineCartOfferInfoText, inlineCartOfferInfoRedirectLink, themeColor, tooltipText, themeTextColor, }: InlineCartOfferInfoTextProps): React.JSX.Element;
10
+ export {};