yt-uikit 0.8.14 → 0.8.15-MixAndMatchErrorFix.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 (244) 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 +395 -395
  20. package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +40 -40
  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 +51 -51
  25. package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  26. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +26 -26
  27. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  28. package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +116 -116
  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 +39 -39
  35. package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +22 -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/VolumeBundle/VolumeBundle.d.ts +3 -3
  41. package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  42. package/dist/esm/components/BundleBlock/index.d.ts +1 -1
  43. package/dist/esm/components/Cart/ApplyCoupon.d.ts +12 -12
  44. package/dist/esm/components/Cart/Bundle.d.ts +6 -6
  45. package/dist/esm/components/Cart/Cart.d.ts +237 -237
  46. package/dist/esm/components/Cart/CartDrawer.d.ts +21 -21
  47. package/dist/esm/components/Cart/CartOffersCarousel.d.ts +45 -45
  48. package/dist/esm/components/Cart/CartProductsList.d.ts +45 -45
  49. package/dist/esm/components/Cart/CartTimer.d.ts +8 -8
  50. package/dist/esm/components/Cart/CheckoutSection.d.ts +38 -38
  51. package/dist/esm/components/Cart/CouponSelection.d.ts +25 -25
  52. package/dist/esm/components/Cart/DatePicker.d.ts +10 -10
  53. package/dist/esm/components/Cart/EmptyCart.d.ts +33 -33
  54. package/dist/esm/components/Cart/FloatingCart.d.ts +23 -23
  55. package/dist/esm/components/Cart/FooterSections.d.ts +6 -6
  56. package/dist/esm/components/Cart/FreebieClaimManager.d.ts +17 -17
  57. package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +17 -17
  58. package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +9 -9
  59. package/dist/esm/components/Cart/FreebieClaimSection.d.ts +17 -17
  60. package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +16 -16
  61. package/dist/esm/components/Cart/GSTSection.d.ts +15 -15
  62. package/dist/esm/components/Cart/GiftWrap.d.ts +14 -14
  63. package/dist/esm/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  64. package/dist/esm/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  65. package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  66. package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  67. package/dist/esm/components/Cart/LoyaltyBadge.d.ts +10 -10
  68. package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  69. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  70. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  71. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  72. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  73. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  74. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  75. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -6
  76. package/dist/esm/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  77. package/dist/esm/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  78. package/dist/esm/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  79. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  80. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  81. package/dist/esm/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  82. package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  83. package/dist/esm/components/Cart/NextFreebieRow.d.ts +19 -19
  84. package/dist/esm/components/Cart/NoteSection.d.ts +8 -8
  85. package/dist/esm/components/Cart/ProductCard.d.ts +30 -30
  86. package/dist/esm/components/Cart/ProductRecCard.d.ts +20 -20
  87. package/dist/esm/components/Cart/ProductRecList.d.ts +23 -23
  88. package/dist/esm/components/Cart/ProgressBar.d.ts +13 -13
  89. package/dist/esm/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  90. package/dist/esm/components/Cart/QuantitySelector.d.ts +12 -12
  91. package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  92. package/dist/esm/components/Cart/RewardPointsPreview.d.ts +10 -10
  93. package/dist/esm/components/Cart/StandardDelivery.d.ts +11 -11
  94. package/dist/esm/components/Cart/StickyCart.d.ts +52 -52
  95. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +18 -18
  96. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  97. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +18 -18
  98. package/dist/esm/components/Cart/index.d.ts +1 -1
  99. package/dist/esm/components/CouponFrame/CouponFrame.d.ts +15 -15
  100. package/dist/esm/components/CouponFrame/index.d.ts +1 -1
  101. package/dist/esm/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  102. package/dist/esm/components/Nudge/Nudge.d.ts +40 -40
  103. package/dist/esm/components/Nudge/index.d.ts +1 -1
  104. package/dist/esm/components/ProductOffersBlock/ProductOffersCoupon.d.ts +12 -12
  105. package/dist/esm/components/ProductOffersBlock/ProductOffersList.d.ts +12 -12
  106. package/dist/esm/components/ProductOffersBlock/ProductOffersTermsMobilePopover.d.ts +10 -10
  107. package/dist/esm/components/ProductOffersBlock/ProductOffersTermsPopup.d.ts +10 -10
  108. package/dist/esm/components/ProductOffersBlock/ProductsOffers.d.ts +32 -32
  109. package/dist/esm/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  110. package/dist/esm/components/SpinnerWheel/WheelSection.d.ts +9 -9
  111. package/dist/esm/components/SpinnerWheel/index.d.ts +1 -1
  112. package/dist/esm/components/index.d.ts +7 -7
  113. package/dist/esm/index.d.ts +1 -1
  114. package/dist/esm/index.js +390 -390
  115. package/dist/esm/types/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  116. package/dist/esm/types/atoms/cartDataAtom.d.ts +3 -3
  117. package/dist/esm/types/atoms/cartLoadingAtom.d.ts +22 -22
  118. package/dist/esm/types/atoms/cartTimer.d.ts +2 -2
  119. package/dist/esm/types/atoms/couponSelectionOpenAtom.d.ts +3 -3
  120. package/dist/esm/types/atoms/dateAtom.d.ts +1 -1
  121. package/dist/esm/types/atoms/freebieClaimModalAtom.d.ts +7 -7
  122. package/dist/esm/types/atoms/giftWrap.d.ts +2 -2
  123. package/dist/esm/types/atoms/gstCompanyNameAtom.d.ts +1 -1
  124. package/dist/esm/types/atoms/gstInputAtom.d.ts +1 -1
  125. package/dist/esm/types/atoms/maxQtyErrorAtom.d.ts +3 -3
  126. package/dist/esm/types/atoms/multiClaimSelectionAtom.d.ts +19 -19
  127. package/dist/esm/types/atoms/noteInputAtom.d.ts +3 -3
  128. package/dist/esm/types/atoms/postalCodeAtom.d.ts +1 -1
  129. package/dist/esm/types/atoms/shippingAtom.d.ts +8 -8
  130. package/dist/esm/types/atoms/showGSTInputAtom.d.ts +1 -1
  131. package/dist/esm/types/atoms/variantSelectionModalAtom.d.ts +23 -23
  132. package/dist/esm/types/components/BundleBlock/Bundle.d.ts +395 -395
  133. package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +40 -40
  134. package/dist/esm/types/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
  135. package/dist/esm/types/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +15 -15
  136. package/dist/esm/types/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +37 -37
  137. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +51 -51
  138. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
  139. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +26 -26
  140. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  141. package/dist/esm/types/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +116 -116
  142. package/dist/esm/types/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -15
  143. package/dist/esm/types/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -2
  144. package/dist/esm/types/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -15
  145. package/dist/esm/types/components/BundleBlock/ComboBundle.d.ts +16 -16
  146. package/dist/esm/types/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  147. package/dist/esm/types/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +39 -39
  148. package/dist/esm/types/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +22 -22
  149. package/dist/esm/types/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +90 -90
  150. package/dist/esm/types/components/BundleBlock/Loader.d.ts +5 -5
  151. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  152. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
  153. package/dist/esm/types/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  154. package/dist/esm/types/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
  155. package/dist/esm/types/components/BundleBlock/index.d.ts +1 -1
  156. package/dist/esm/types/components/Cart/ApplyCoupon.d.ts +12 -12
  157. package/dist/esm/types/components/Cart/Bundle.d.ts +6 -6
  158. package/dist/esm/types/components/Cart/Cart.d.ts +237 -237
  159. package/dist/esm/types/components/Cart/CartDrawer.d.ts +21 -21
  160. package/dist/esm/types/components/Cart/CartOffersCarousel.d.ts +45 -45
  161. package/dist/esm/types/components/Cart/CartProductsList.d.ts +45 -45
  162. package/dist/esm/types/components/Cart/CartTimer.d.ts +8 -8
  163. package/dist/esm/types/components/Cart/CheckoutSection.d.ts +38 -38
  164. package/dist/esm/types/components/Cart/CouponSelection.d.ts +25 -25
  165. package/dist/esm/types/components/Cart/DatePicker.d.ts +10 -10
  166. package/dist/esm/types/components/Cart/EmptyCart.d.ts +33 -33
  167. package/dist/esm/types/components/Cart/FloatingCart.d.ts +23 -23
  168. package/dist/esm/types/components/Cart/FooterSections.d.ts +6 -6
  169. package/dist/esm/types/components/Cart/FreebieClaimManager.d.ts +17 -17
  170. package/dist/esm/types/components/Cart/FreebieClaimOverlay.d.ts +17 -17
  171. package/dist/esm/types/components/Cart/FreebieClaimOverlayCard.d.ts +9 -9
  172. package/dist/esm/types/components/Cart/FreebieClaimSection.d.ts +17 -17
  173. package/dist/esm/types/components/Cart/FreebieClaimSectionCard.d.ts +16 -16
  174. package/dist/esm/types/components/Cart/GSTSection.d.ts +15 -15
  175. package/dist/esm/types/components/Cart/GiftWrap.d.ts +14 -14
  176. package/dist/esm/types/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  177. package/dist/esm/types/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  178. package/dist/esm/types/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  179. package/dist/esm/types/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  180. package/dist/esm/types/components/Cart/LoyaltyBadge.d.ts +10 -10
  181. package/dist/esm/types/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  182. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  183. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  184. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  185. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  186. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  187. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  188. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -6
  189. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  190. package/dist/esm/types/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  191. package/dist/esm/types/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  192. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  193. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  194. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  195. package/dist/esm/types/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  196. package/dist/esm/types/components/Cart/NextFreebieRow.d.ts +19 -19
  197. package/dist/esm/types/components/Cart/NoteSection.d.ts +8 -8
  198. package/dist/esm/types/components/Cart/ProductCard.d.ts +30 -30
  199. package/dist/esm/types/components/Cart/ProductRecCard.d.ts +20 -20
  200. package/dist/esm/types/components/Cart/ProductRecList.d.ts +23 -23
  201. package/dist/esm/types/components/Cart/ProgressBar.d.ts +13 -13
  202. package/dist/esm/types/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  203. package/dist/esm/types/components/Cart/QuantitySelector.d.ts +12 -12
  204. package/dist/esm/types/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  205. package/dist/esm/types/components/Cart/RewardPointsPreview.d.ts +10 -10
  206. package/dist/esm/types/components/Cart/StandardDelivery.d.ts +11 -11
  207. package/dist/esm/types/components/Cart/StickyCart.d.ts +52 -52
  208. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +18 -18
  209. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  210. package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +18 -18
  211. package/dist/esm/types/components/Cart/index.d.ts +1 -1
  212. package/dist/esm/types/components/CouponFrame/CouponFrame.d.ts +15 -15
  213. package/dist/esm/types/components/CouponFrame/index.d.ts +1 -1
  214. package/dist/esm/types/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  215. package/dist/esm/types/components/Nudge/Nudge.d.ts +40 -40
  216. package/dist/esm/types/components/Nudge/index.d.ts +1 -1
  217. package/dist/esm/types/components/ProductOffersBlock/ProductOffersCoupon.d.ts +12 -12
  218. package/dist/esm/types/components/ProductOffersBlock/ProductOffersList.d.ts +12 -12
  219. package/dist/esm/types/components/ProductOffersBlock/ProductOffersTermsMobilePopover.d.ts +10 -10
  220. package/dist/esm/types/components/ProductOffersBlock/ProductOffersTermsPopup.d.ts +10 -10
  221. package/dist/esm/types/components/ProductOffersBlock/ProductsOffers.d.ts +32 -32
  222. package/dist/esm/types/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  223. package/dist/esm/types/components/SpinnerWheel/WheelSection.d.ts +9 -9
  224. package/dist/esm/types/components/SpinnerWheel/index.d.ts +1 -1
  225. package/dist/esm/types/components/index.d.ts +7 -7
  226. package/dist/esm/types/index.d.ts +1 -1
  227. package/dist/esm/types/utils/converter.d.ts +2 -2
  228. package/dist/esm/types/utils/customVariantOptions.d.ts +20 -20
  229. package/dist/esm/types/utils/freebieProductUtils.d.ts +23 -23
  230. package/dist/esm/types/utils/freebieUtils.d.ts +5 -5
  231. package/dist/esm/types/utils/index.d.ts +14 -14
  232. package/dist/esm/utils/converter.d.ts +2 -2
  233. package/dist/esm/utils/customVariantOptions.d.ts +20 -20
  234. package/dist/esm/utils/freebieProductUtils.d.ts +23 -23
  235. package/dist/esm/utils/freebieUtils.d.ts +5 -5
  236. package/dist/esm/utils/index.d.ts +14 -14
  237. package/dist/index.d.ts +751 -751
  238. package/package.json +95 -95
  239. package/src/assets/Frame.svg +4 -4
  240. package/src/assets/bundlePlus.svg +4 -4
  241. package/src/assets/copy-icon.svg +3 -3
  242. package/src/assets/copy-iconBlack.svg +4 -4
  243. package/src/assets/coupon.svg +4 -4
  244. package/src/assets/delivery.svg +5 -5
@@ -1,395 +1,395 @@
1
- import React from "react";
2
- import "./bundle.scss";
3
- interface ShopifyCurrency {
4
- rate: number;
5
- active: string;
6
- }
7
- declare global {
8
- interface Window {
9
- Shopify?: {
10
- currency?: ShopifyCurrency;
11
- };
12
- }
13
- }
14
- type ProductImage = {
15
- url: string;
16
- height: number;
17
- width: number;
18
- altText?: string;
19
- };
20
- type ProductFeaturedMedia = {
21
- alt: string;
22
- preview: {
23
- image: {
24
- url: string;
25
- height?: number;
26
- width?: number;
27
- altText: string;
28
- };
29
- };
30
- };
31
- type ProductOption = {
32
- id: string;
33
- name: string;
34
- values: string[];
35
- };
36
- type CollectionNode = {
37
- node: {
38
- id: string;
39
- title: string;
40
- handle: string;
41
- };
42
- };
43
- export type VariantNode = {
44
- node: {
45
- id: string;
46
- price: string;
47
- compareAtPrice: string;
48
- title: string;
49
- displayName: string;
50
- image: ProductImage;
51
- availableForSale: boolean;
52
- inventoryQuantity: number;
53
- inventoryItem?: {
54
- tracked?: boolean;
55
- };
56
- inventoryPolicy?: "deny" | "continue";
57
- };
58
- };
59
- type SelectedVariantDetails = {
60
- id: string;
61
- price: string;
62
- compareAtPrice: string;
63
- title: string;
64
- displayName: string;
65
- image: ProductImage;
66
- availableForSale: boolean;
67
- inventoryQuantity: number;
68
- };
69
- export type VariantOptions = {
70
- shop: string;
71
- options: {
72
- name: string;
73
- type: "text" | "image" | "color";
74
- values: {
75
- name: string;
76
- value: string;
77
- }[];
78
- }[];
79
- createdAt: string;
80
- updatedAt: string;
81
- };
82
- export type ProductDetails = {
83
- id: string;
84
- title: string;
85
- handle: string;
86
- featuredMedia: ProductFeaturedMedia;
87
- status: "active" | "archived" | "draft" | "";
88
- options: ProductOption[];
89
- onlineStoreUrl: string;
90
- tracksInventory?: boolean;
91
- collections: {
92
- edges: CollectionNode[];
93
- };
94
- variants: {
95
- edges: VariantNode[];
96
- };
97
- shop: string;
98
- metafield?: {
99
- key: string;
100
- namespace: string;
101
- ownerType: string;
102
- value: string;
103
- id: string;
104
- jsonValue: string[];
105
- type: string;
106
- };
107
- descriptionHtml: string;
108
- media: {
109
- edges: {
110
- node: {
111
- alt: string;
112
- preview: {
113
- image: {
114
- altText: string;
115
- width?: number;
116
- height?: number;
117
- url: string;
118
- };
119
- };
120
- image: {
121
- altText: string;
122
- height: number;
123
- width: number;
124
- url: string;
125
- };
126
- };
127
- }[];
128
- };
129
- selectedVariant?: SelectedVariantDetails;
130
- rating?: {
131
- averageRating: number;
132
- ratingCount: number;
133
- };
134
- };
135
- export type ProductData = {
136
- productId: string;
137
- variantIds: string[];
138
- productDetails: ProductDetails;
139
- };
140
- type GeneralStyle = {
141
- primaryColor: string;
142
- primaryContrastColor: string;
143
- secondaryColor: string;
144
- secondaryContrastColor: string;
145
- imageAspectRatio: string;
146
- ctaBackgroundColor: string;
147
- ctaTextColor: string;
148
- ctaBorderColor: string;
149
- ctaShadowType: string;
150
- ctaPadding: string;
151
- ctaWidth: string;
152
- ctaBorderRadius: string;
153
- ctaHoverBackgroundColor: string;
154
- ctaHoverTextColor: string;
155
- customizeHoverState: boolean;
156
- checkoutPartner: string;
157
- redirectToPDP: boolean;
158
- restrictCOD: boolean;
159
- trackInventory: boolean;
160
- showOutOfStockProducts: boolean;
161
- outOfStockLabel: string;
162
- disabledButtonColor: string;
163
- storeCurrency: string;
164
- currencySymbol: string;
165
- discountPrefix: string;
166
- discountSuffix: string;
167
- addOrderTags: boolean;
168
- addOrderNotes: boolean;
169
- variantTitleSuffix: boolean;
170
- titleLength: string;
171
- showDecimalsInBundlePricing?: boolean;
172
- };
173
- type VolumeStyle = {
174
- addtoCartMethod: string;
175
- titleFontSize: string;
176
- subtitleFontSize: string;
177
- titleBackgroundColor: string;
178
- titleTextColor: string;
179
- verticalMargin: string;
180
- sectionBackgroundColor: string;
181
- cardStyle: string;
182
- discountBadgeVisibility: string;
183
- allowVariantSelection: string;
184
- variantSelectorType: string;
185
- ctaTitle: string;
186
- bundleRedirection: string;
187
- };
188
- type ComboStyle = {
189
- productTitleFontSize: string;
190
- productDescriptionFontSize: string;
191
- descriptionTextColor: string;
192
- titleTextColor: string;
193
- verticalMargin: string;
194
- infoAlignment: string;
195
- ctaTitle: string;
196
- bundleRedirection: string;
197
- embedContentVisibility: boolean;
198
- mixAndMatchCardStyle: string;
199
- mixAndMatchVariantTypeSelector: string;
200
- comboCardStyle: string;
201
- comboVariantTypeSelector: string;
202
- selectedEmbedContentVisibilityOptions: string[];
203
- subProductsSectionVisibility: boolean;
204
- subProductsImageVisibility: boolean;
205
- subProductsProductTitleVisibility: boolean;
206
- subProductsProductPriceVisibility: boolean;
207
- };
208
- type ByobStyle = {
209
- titleFontSize: string;
210
- subtitleFontSize: string;
211
- titleBackgroundColor: string;
212
- titleTextColor: string;
213
- productTitleFontSize: string;
214
- sectionBackgroundColor: string;
215
- lazyLoadWidget: string;
216
- listingsGap: string;
217
- footerMargin: string;
218
- borderRadius: string;
219
- borderColor: string;
220
- cardBackgroundColor: string;
221
- shadowType: string;
222
- addToBundleCTAText: string;
223
- checkoutCTAText: string;
224
- variantSelectorType: string;
225
- primaryVariant: string;
226
- productsPriceVisibility: boolean;
227
- compareAtPriceVisibility: boolean;
228
- selectedProductsVisibility: boolean;
229
- bundleRedirection: string;
230
- enableConfetti: boolean;
231
- selectedItemVisibility: boolean;
232
- productTiersVisibility: boolean;
233
- tierNavigation: boolean;
234
- enableProductCategories: boolean;
235
- productCardCategoryVisibility: string;
236
- categoryFilterOnPage: string;
237
- };
238
- type FixedStyle = {
239
- titleFontSize: string;
240
- subtitleFontSize: string;
241
- titleBackgroundColor: string;
242
- titleTextColor: string;
243
- verticalMargin: string;
244
- sectionBackgroundColor: string;
245
- borderRadius: string;
246
- borderColor: string;
247
- cardBackgroundColor: string;
248
- shadowType: string;
249
- infoAlignment: string;
250
- ctaTitle: string;
251
- bundleRedirection: string;
252
- cardLayoutStyle: string;
253
- variantSelectorType: string;
254
- productsPriceVisibility: boolean;
255
- compareAtPriceVisibility: boolean;
256
- };
257
- export type Customizations = {
258
- shop?: string;
259
- general: GeneralStyle;
260
- byob: ByobStyle;
261
- fixedBundle: FixedStyle;
262
- volumeBundle: VolumeStyle;
263
- comboBundle: ComboStyle;
264
- createdAt?: string;
265
- updatedAt?: string;
266
- };
267
- export type BundlePayload = {
268
- showIndividualProductSelector: boolean;
269
- title?: string;
270
- subtitle?: string;
271
- products: ProductData[];
272
- percentageOff?: number;
273
- dealAmount?: number;
274
- amountOff?: number;
275
- type: "fixed" | "builder" | "volume" | "mixAndMatch" | "" | "combo" | "collection";
276
- minimumQuantity: number;
277
- showProductDetailsInTracker: boolean;
278
- coverImageUrl?: string;
279
- mobileCoverImageUrl?: string;
280
- titleSectionTextColor?: string;
281
- titleSectionBackgroundColor?: string;
282
- dealTextColor?: string;
283
- showBorder?: boolean;
284
- hideProductDetails?: boolean;
285
- cornerRadiusType?: "medium" | "high" | "";
286
- primaryBackgroundColorCta?: string;
287
- enableProgressBar?: boolean;
288
- enableSortAndFilter?: boolean;
289
- disableQuantitySelector?: boolean;
290
- disableInventoryTracking?: boolean;
291
- alignFixedBundleContent?: "left" | "right" | "center" | "";
292
- imageAspectType?: "portrait" | "square" | "";
293
- backgroundColorFixedBundleDiv?: string;
294
- canCustomizeFixedBundle?: boolean;
295
- primaryTextColorCta?: string;
296
- showVariants?: boolean;
297
- discountType?: string;
298
- showCta?: boolean;
299
- productCardBadgeText?: string;
300
- coverImageVerticalMargin?: string;
301
- builderTiers?: {
302
- type: string;
303
- offerTier?: {
304
- tier: number;
305
- minimumQuantity: number;
306
- discountValue: number;
307
- }[];
308
- productTier?: {
309
- tier: number;
310
- title: string;
311
- minimumQuantity: number;
312
- isFixed?: boolean;
313
- isFreebieTier?: boolean;
314
- products: {
315
- productId: string;
316
- variantIds: string[];
317
- }[];
318
- }[];
319
- };
320
- volumeTiers?: {
321
- isDefault: unknown;
322
- tier: number;
323
- minimumQuantity: number;
324
- title: string;
325
- subtitle: string;
326
- badgeTitle: string;
327
- discountValue: number;
328
- imageUrl?: string;
329
- }[];
330
- mixAndMatchTiers?: {
331
- tier: number;
332
- title: string;
333
- products: {
334
- productId: string;
335
- variantIds: string[];
336
- }[];
337
- }[];
338
- customizations: Customizations;
339
- variantOptions?: VariantOptions;
340
- storeCurrencyCode?: string;
341
- customStoreDetails?: {
342
- [key: string]: any;
343
- };
344
- customProductsQuantity?: number | null;
345
- reviewRatingType?: "none" | "ratingOnly" | "ratingAndReviewCount";
346
- appName?: string;
347
- pageHeader?: {
348
- title?: string;
349
- description?: string;
350
- customizePadding?: string;
351
- };
352
- };
353
- export type BundleProps = {
354
- bundle: BundlePayload;
355
- addToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
356
- variantId: string;
357
- price: number;
358
- }[]) => Promise<void>;
359
- addCustomBundleToCart?: (e: any) => Promise<void>;
360
- selectedItems?: {
361
- variantId: string;
362
- product: ProductDetails;
363
- quantity: number;
364
- }[];
365
- setSelectedItems?: React.Dispatch<React.SetStateAction<{
366
- variantId: string;
367
- product: ProductDetails;
368
- quantity: number;
369
- }[]>>;
370
- bundleAddToCartLoading?: boolean;
371
- handleRemoveItem?: (variantId: string) => void;
372
- selectedItemsQuantity?: number;
373
- renderingOnPage?: boolean;
374
- bundleSubtotal?: {
375
- price: number;
376
- compareAtPrice: number;
377
- };
378
- bundleHeaderBackgroundColor?: string;
379
- currentProductId?: string;
380
- };
381
- export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
382
- export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
383
- export declare const optimiseImage: (url: string, width?: number) => string;
384
- export declare const handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number, selectedItems: {
385
- variantId: string;
386
- product: ProductDetails;
387
- quantity: number;
388
- }[], setSelectedItems: React.Dispatch<React.SetStateAction<{
389
- variantId: string;
390
- product: ProductDetails;
391
- quantity: number;
392
- isFree?: boolean | undefined;
393
- }[]>>, isFreebie?: boolean) => void;
394
- declare const Bundle: React.FC<BundleProps>;
395
- export default Bundle;
1
+ import React from "react";
2
+ import "./bundle.scss";
3
+ interface ShopifyCurrency {
4
+ rate: number;
5
+ active: string;
6
+ }
7
+ declare global {
8
+ interface Window {
9
+ Shopify?: {
10
+ currency?: ShopifyCurrency;
11
+ };
12
+ }
13
+ }
14
+ type ProductImage = {
15
+ url: string;
16
+ height: number;
17
+ width: number;
18
+ altText?: string;
19
+ };
20
+ type ProductFeaturedMedia = {
21
+ alt: string;
22
+ preview: {
23
+ image: {
24
+ url: string;
25
+ height?: number;
26
+ width?: number;
27
+ altText: string;
28
+ };
29
+ };
30
+ };
31
+ type ProductOption = {
32
+ id: string;
33
+ name: string;
34
+ values: string[];
35
+ };
36
+ type CollectionNode = {
37
+ node: {
38
+ id: string;
39
+ title: string;
40
+ handle: string;
41
+ };
42
+ };
43
+ export type VariantNode = {
44
+ node: {
45
+ id: string;
46
+ price: string;
47
+ compareAtPrice: string;
48
+ title: string;
49
+ displayName: string;
50
+ image: ProductImage;
51
+ availableForSale: boolean;
52
+ inventoryQuantity: number;
53
+ inventoryItem?: {
54
+ tracked?: boolean;
55
+ };
56
+ inventoryPolicy?: "deny" | "continue";
57
+ };
58
+ };
59
+ type SelectedVariantDetails = {
60
+ id: string;
61
+ price: string;
62
+ compareAtPrice: string;
63
+ title: string;
64
+ displayName: string;
65
+ image: ProductImage;
66
+ availableForSale: boolean;
67
+ inventoryQuantity: number;
68
+ };
69
+ export type VariantOptions = {
70
+ shop: string;
71
+ options: {
72
+ name: string;
73
+ type: "text" | "image" | "color";
74
+ values: {
75
+ name: string;
76
+ value: string;
77
+ }[];
78
+ }[];
79
+ createdAt: string;
80
+ updatedAt: string;
81
+ };
82
+ export type ProductDetails = {
83
+ id: string;
84
+ title: string;
85
+ handle: string;
86
+ featuredMedia: ProductFeaturedMedia;
87
+ status: "active" | "archived" | "draft" | "";
88
+ options: ProductOption[];
89
+ onlineStoreUrl: string;
90
+ tracksInventory?: boolean;
91
+ collections: {
92
+ edges: CollectionNode[];
93
+ };
94
+ variants: {
95
+ edges: VariantNode[];
96
+ };
97
+ shop: string;
98
+ metafield?: {
99
+ key: string;
100
+ namespace: string;
101
+ ownerType: string;
102
+ value: string;
103
+ id: string;
104
+ jsonValue: string[];
105
+ type: string;
106
+ };
107
+ descriptionHtml: string;
108
+ media: {
109
+ edges: {
110
+ node: {
111
+ alt: string;
112
+ preview: {
113
+ image: {
114
+ altText: string;
115
+ width?: number;
116
+ height?: number;
117
+ url: string;
118
+ };
119
+ };
120
+ image: {
121
+ altText: string;
122
+ height: number;
123
+ width: number;
124
+ url: string;
125
+ };
126
+ };
127
+ }[];
128
+ };
129
+ selectedVariant?: SelectedVariantDetails;
130
+ rating?: {
131
+ averageRating: number;
132
+ ratingCount: number;
133
+ };
134
+ };
135
+ export type ProductData = {
136
+ productId: string;
137
+ variantIds: string[];
138
+ productDetails: ProductDetails;
139
+ };
140
+ type GeneralStyle = {
141
+ primaryColor: string;
142
+ primaryContrastColor: string;
143
+ secondaryColor: string;
144
+ secondaryContrastColor: string;
145
+ imageAspectRatio: string;
146
+ ctaBackgroundColor: string;
147
+ ctaTextColor: string;
148
+ ctaBorderColor: string;
149
+ ctaShadowType: string;
150
+ ctaPadding: string;
151
+ ctaWidth: string;
152
+ ctaBorderRadius: string;
153
+ ctaHoverBackgroundColor: string;
154
+ ctaHoverTextColor: string;
155
+ customizeHoverState: boolean;
156
+ checkoutPartner: string;
157
+ redirectToPDP: boolean;
158
+ restrictCOD: boolean;
159
+ trackInventory: boolean;
160
+ showOutOfStockProducts: boolean;
161
+ outOfStockLabel: string;
162
+ disabledButtonColor: string;
163
+ storeCurrency: string;
164
+ currencySymbol: string;
165
+ discountPrefix: string;
166
+ discountSuffix: string;
167
+ addOrderTags: boolean;
168
+ addOrderNotes: boolean;
169
+ variantTitleSuffix: boolean;
170
+ titleLength: string;
171
+ showDecimalsInBundlePricing?: boolean;
172
+ };
173
+ type VolumeStyle = {
174
+ addtoCartMethod: string;
175
+ titleFontSize: string;
176
+ subtitleFontSize: string;
177
+ titleBackgroundColor: string;
178
+ titleTextColor: string;
179
+ verticalMargin: string;
180
+ sectionBackgroundColor: string;
181
+ cardStyle: string;
182
+ discountBadgeVisibility: string;
183
+ allowVariantSelection: string;
184
+ variantSelectorType: string;
185
+ ctaTitle: string;
186
+ bundleRedirection: string;
187
+ };
188
+ type ComboStyle = {
189
+ productTitleFontSize: string;
190
+ productDescriptionFontSize: string;
191
+ descriptionTextColor: string;
192
+ titleTextColor: string;
193
+ verticalMargin: string;
194
+ infoAlignment: string;
195
+ ctaTitle: string;
196
+ bundleRedirection: string;
197
+ embedContentVisibility: boolean;
198
+ mixAndMatchCardStyle: string;
199
+ mixAndMatchVariantTypeSelector: string;
200
+ comboCardStyle: string;
201
+ comboVariantTypeSelector: string;
202
+ selectedEmbedContentVisibilityOptions: string[];
203
+ subProductsSectionVisibility: boolean;
204
+ subProductsImageVisibility: boolean;
205
+ subProductsProductTitleVisibility: boolean;
206
+ subProductsProductPriceVisibility: boolean;
207
+ };
208
+ type ByobStyle = {
209
+ titleFontSize: string;
210
+ subtitleFontSize: string;
211
+ titleBackgroundColor: string;
212
+ titleTextColor: string;
213
+ productTitleFontSize: string;
214
+ sectionBackgroundColor: string;
215
+ lazyLoadWidget: string;
216
+ listingsGap: string;
217
+ footerMargin: string;
218
+ borderRadius: string;
219
+ borderColor: string;
220
+ cardBackgroundColor: string;
221
+ shadowType: string;
222
+ addToBundleCTAText: string;
223
+ checkoutCTAText: string;
224
+ variantSelectorType: string;
225
+ primaryVariant: string;
226
+ productsPriceVisibility: boolean;
227
+ compareAtPriceVisibility: boolean;
228
+ selectedProductsVisibility: boolean;
229
+ bundleRedirection: string;
230
+ enableConfetti: boolean;
231
+ selectedItemVisibility: boolean;
232
+ productTiersVisibility: boolean;
233
+ tierNavigation: boolean;
234
+ enableProductCategories: boolean;
235
+ productCardCategoryVisibility: string;
236
+ categoryFilterOnPage: string;
237
+ };
238
+ type FixedStyle = {
239
+ titleFontSize: string;
240
+ subtitleFontSize: string;
241
+ titleBackgroundColor: string;
242
+ titleTextColor: string;
243
+ verticalMargin: string;
244
+ sectionBackgroundColor: string;
245
+ borderRadius: string;
246
+ borderColor: string;
247
+ cardBackgroundColor: string;
248
+ shadowType: string;
249
+ infoAlignment: string;
250
+ ctaTitle: string;
251
+ bundleRedirection: string;
252
+ cardLayoutStyle: string;
253
+ variantSelectorType: string;
254
+ productsPriceVisibility: boolean;
255
+ compareAtPriceVisibility: boolean;
256
+ };
257
+ export type Customizations = {
258
+ shop?: string;
259
+ general: GeneralStyle;
260
+ byob: ByobStyle;
261
+ fixedBundle: FixedStyle;
262
+ volumeBundle: VolumeStyle;
263
+ comboBundle: ComboStyle;
264
+ createdAt?: string;
265
+ updatedAt?: string;
266
+ };
267
+ export type BundlePayload = {
268
+ showIndividualProductSelector: boolean;
269
+ title?: string;
270
+ subtitle?: string;
271
+ products: ProductData[];
272
+ percentageOff?: number;
273
+ dealAmount?: number;
274
+ amountOff?: number;
275
+ type: "fixed" | "builder" | "volume" | "mixAndMatch" | "" | "combo" | "collection";
276
+ minimumQuantity: number;
277
+ showProductDetailsInTracker: boolean;
278
+ coverImageUrl?: string;
279
+ mobileCoverImageUrl?: string;
280
+ titleSectionTextColor?: string;
281
+ titleSectionBackgroundColor?: string;
282
+ dealTextColor?: string;
283
+ showBorder?: boolean;
284
+ hideProductDetails?: boolean;
285
+ cornerRadiusType?: "medium" | "high" | "";
286
+ primaryBackgroundColorCta?: string;
287
+ enableProgressBar?: boolean;
288
+ enableSortAndFilter?: boolean;
289
+ disableQuantitySelector?: boolean;
290
+ disableInventoryTracking?: boolean;
291
+ alignFixedBundleContent?: "left" | "right" | "center" | "";
292
+ imageAspectType?: "portrait" | "square" | "";
293
+ backgroundColorFixedBundleDiv?: string;
294
+ canCustomizeFixedBundle?: boolean;
295
+ primaryTextColorCta?: string;
296
+ showVariants?: boolean;
297
+ discountType?: string;
298
+ showCta?: boolean;
299
+ productCardBadgeText?: string;
300
+ coverImageVerticalMargin?: string;
301
+ builderTiers?: {
302
+ type: string;
303
+ offerTier?: {
304
+ tier: number;
305
+ minimumQuantity: number;
306
+ discountValue: number;
307
+ }[];
308
+ productTier?: {
309
+ tier: number;
310
+ title: string;
311
+ minimumQuantity: number;
312
+ isFixed?: boolean;
313
+ isFreebieTier?: boolean;
314
+ products: {
315
+ productId: string;
316
+ variantIds: string[];
317
+ }[];
318
+ }[];
319
+ };
320
+ volumeTiers?: {
321
+ isDefault: unknown;
322
+ tier: number;
323
+ minimumQuantity: number;
324
+ title: string;
325
+ subtitle: string;
326
+ badgeTitle: string;
327
+ discountValue: number;
328
+ imageUrl?: string;
329
+ }[];
330
+ mixAndMatchTiers?: {
331
+ tier: number;
332
+ title: string;
333
+ products: {
334
+ productId: string;
335
+ variantIds: string[];
336
+ }[];
337
+ }[];
338
+ customizations: Customizations;
339
+ variantOptions?: VariantOptions;
340
+ storeCurrencyCode?: string;
341
+ customStoreDetails?: {
342
+ [key: string]: any;
343
+ };
344
+ customProductsQuantity?: number | null;
345
+ reviewRatingType?: "none" | "ratingOnly" | "ratingAndReviewCount";
346
+ appName?: string;
347
+ pageHeader?: {
348
+ title?: string;
349
+ description?: string;
350
+ customizePadding?: string;
351
+ };
352
+ };
353
+ export type BundleProps = {
354
+ bundle: BundlePayload;
355
+ addToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
356
+ variantId: string;
357
+ price: number;
358
+ }[]) => Promise<void>;
359
+ addCustomBundleToCart?: (e: any) => Promise<void>;
360
+ selectedItems?: {
361
+ variantId: string;
362
+ product: ProductDetails;
363
+ quantity: number;
364
+ }[];
365
+ setSelectedItems?: React.Dispatch<React.SetStateAction<{
366
+ variantId: string;
367
+ product: ProductDetails;
368
+ quantity: number;
369
+ }[]>>;
370
+ bundleAddToCartLoading?: boolean;
371
+ handleRemoveItem?: (variantId: string) => void;
372
+ selectedItemsQuantity?: number;
373
+ renderingOnPage?: boolean;
374
+ bundleSubtotal?: {
375
+ price: number;
376
+ compareAtPrice: number;
377
+ };
378
+ bundleHeaderBackgroundColor?: string;
379
+ currentProductId?: string;
380
+ };
381
+ export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
382
+ export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
383
+ export declare const optimiseImage: (url: string, width?: number) => string;
384
+ export declare const handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number, selectedItems: {
385
+ variantId: string;
386
+ product: ProductDetails;
387
+ quantity: number;
388
+ }[], setSelectedItems: React.Dispatch<React.SetStateAction<{
389
+ variantId: string;
390
+ product: ProductDetails;
391
+ quantity: number;
392
+ isFree?: boolean | undefined;
393
+ }[]>>, isFreebie?: boolean) => void;
394
+ declare const Bundle: React.FC<BundleProps>;
395
+ export default Bundle;