@rebuy/rebuy-hydrogen 3.0.0-beta.12 → 3.0.0-beta.14

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 (175) hide show
  1. package/README.md +677 -111
  2. package/dist/components/AddToCartBtn/AddToCartBtn.d.ts +1 -1
  3. package/dist/components/AddToCartBtn/AddToCartBtn.d.ts.map +1 -1
  4. package/dist/components/AddToCartBtn/HydrogenAddToCartBtn.d.ts +1 -1
  5. package/dist/components/AddToCartBtn/HydrogenAddToCartBtn.d.ts.map +1 -1
  6. package/dist/components/AddToCartBtn/HydrogenReactAddToCartBtn.d.ts +1 -1
  7. package/dist/components/AddToCartBtn/HydrogenReactAddToCartBtn.d.ts.map +1 -1
  8. package/dist/components/AddToCartBtn/types.d.ts +4 -0
  9. package/dist/components/AddToCartBtn/types.d.ts.map +1 -1
  10. package/dist/components/ProductCard/ProductCard.d.ts +1 -1
  11. package/dist/components/ProductCard/ProductCard.d.ts.map +1 -1
  12. package/dist/components/ProductCard/types.d.ts +3 -0
  13. package/dist/components/ProductCard/types.d.ts.map +1 -1
  14. package/dist/components/ProductCarousel/ProductCarousel.d.ts +2 -1
  15. package/dist/components/ProductCarousel/ProductCarousel.d.ts.map +1 -1
  16. package/dist/components/ProductPrice/ProductPrice.d.ts.map +1 -1
  17. package/dist/components/QuantityInput/QuantityInput.d.ts +1 -1
  18. package/dist/components/QuantityInput/QuantityInput.d.ts.map +1 -1
  19. package/dist/components/Timer/Timer.d.ts.map +1 -1
  20. package/dist/components/Timer/types.d.ts +2 -2
  21. package/dist/components/Timer/types.d.ts.map +1 -1
  22. package/dist/components/VariantSelect/VariantSelect.d.ts.map +1 -1
  23. package/dist/constants/debug.d.ts +27 -0
  24. package/dist/constants/debug.d.ts.map +1 -0
  25. package/dist/context/RebuyConfigContext.d.ts +2 -0
  26. package/dist/context/RebuyConfigContext.d.ts.map +1 -1
  27. package/dist/hooks/useBreakpoint.d.ts +1 -1
  28. package/dist/hooks/useBreakpoint.d.ts.map +1 -1
  29. package/dist/hooks/usePopupTrigger.d.ts +1 -1
  30. package/dist/hooks/usePopupTrigger.d.ts.map +1 -1
  31. package/dist/index.css +2513 -518
  32. package/dist/index.css.map +4 -4
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +8947 -2512
  36. package/dist/index.js.map +4 -4
  37. package/dist/index.mjs +8963 -2528
  38. package/dist/index.mjs.map +4 -4
  39. package/dist/providers/RebuyHydrogenContextProvider.d.ts +1 -1
  40. package/dist/providers/RebuyHydrogenContextProvider.d.ts.map +1 -1
  41. package/dist/providers/RebuyHydrogenReactContextProvider.d.ts +1 -1
  42. package/dist/providers/RebuyHydrogenReactContextProvider.d.ts.map +1 -1
  43. package/dist/providers/types.d.ts +14 -22
  44. package/dist/providers/types.d.ts.map +1 -1
  45. package/dist/queries/cart.queries.d.ts +4 -4
  46. package/dist/queries/cart.queries.d.ts.map +1 -1
  47. package/dist/smart-cart/RebuySmartCart.d.ts +10 -0
  48. package/dist/smart-cart/RebuySmartCart.d.ts.map +1 -0
  49. package/dist/smart-cart/components/AnnouncementBar/AnnouncementBar.d.ts +10 -0
  50. package/dist/smart-cart/components/AnnouncementBar/AnnouncementBar.d.ts.map +1 -0
  51. package/dist/smart-cart/components/CartItem/CartItem.d.ts +7 -0
  52. package/dist/smart-cart/components/CartItem/CartItem.d.ts.map +1 -0
  53. package/dist/smart-cart/components/CartItemList/CartItemList.d.ts +10 -0
  54. package/dist/smart-cart/components/CartItemList/CartItemList.d.ts.map +1 -0
  55. package/dist/smart-cart/components/CartNoteInput/CartNoteInput.d.ts +10 -0
  56. package/dist/smart-cart/components/CartNoteInput/CartNoteInput.d.ts.map +1 -0
  57. package/dist/smart-cart/components/CartSubtotal/CartSubtotal.d.ts +11 -0
  58. package/dist/smart-cart/components/CartSubtotal/CartSubtotal.d.ts.map +1 -0
  59. package/dist/smart-cart/components/CartTitleBar/CartTitleBar.d.ts +7 -0
  60. package/dist/smart-cart/components/CartTitleBar/CartTitleBar.d.ts.map +1 -0
  61. package/dist/smart-cart/components/CheckoutArea/CheckoutArea.d.ts +10 -0
  62. package/dist/smart-cart/components/CheckoutArea/CheckoutArea.d.ts.map +1 -0
  63. package/dist/smart-cart/components/CrossSell/CrossSell.d.ts +10 -0
  64. package/dist/smart-cart/components/CrossSell/CrossSell.d.ts.map +1 -0
  65. package/dist/smart-cart/components/CustomCode/CustomCodeBlock.d.ts +21 -0
  66. package/dist/smart-cart/components/CustomCode/CustomCodeBlock.d.ts.map +1 -0
  67. package/dist/smart-cart/components/DebugPanel/DebugPanel.d.ts +13 -0
  68. package/dist/smart-cart/components/DebugPanel/DebugPanel.d.ts.map +1 -0
  69. package/dist/smart-cart/components/DebugPanel/index.d.ts +11 -0
  70. package/dist/smart-cart/components/DebugPanel/index.d.ts.map +1 -0
  71. package/dist/smart-cart/components/DiscountCodeInput/DiscountCodeInput.d.ts +10 -0
  72. package/dist/smart-cart/components/DiscountCodeInput/DiscountCodeInput.d.ts.map +1 -0
  73. package/dist/smart-cart/components/EmptyCart/EmptyCart.d.ts +3 -0
  74. package/dist/smart-cart/components/EmptyCart/EmptyCart.d.ts.map +1 -0
  75. package/dist/smart-cart/components/LoginButton/LoginButton.d.ts +3 -0
  76. package/dist/smart-cart/components/LoginButton/LoginButton.d.ts.map +1 -0
  77. package/dist/smart-cart/components/ScreenReaderText/ScreenReaderText.d.ts +8 -0
  78. package/dist/smart-cart/components/ScreenReaderText/ScreenReaderText.d.ts.map +1 -0
  79. package/dist/smart-cart/components/SmartCartApp/SmartCartApp.d.ts +20 -0
  80. package/dist/smart-cart/components/SmartCartApp/SmartCartApp.d.ts.map +1 -0
  81. package/dist/smart-cart/components/SmartCartContainer/SmartCartContainer.d.ts +8 -0
  82. package/dist/smart-cart/components/SmartCartContainer/SmartCartContainer.d.ts.map +1 -0
  83. package/dist/smart-cart/components/TieredProgressBar/Icons.d.ts +5 -0
  84. package/dist/smart-cart/components/TieredProgressBar/Icons.d.ts.map +1 -0
  85. package/dist/smart-cart/components/TieredProgressBar/TPBGiftItem.d.ts +21 -0
  86. package/dist/smart-cart/components/TieredProgressBar/TPBGiftItem.d.ts.map +1 -0
  87. package/dist/smart-cart/components/TieredProgressBar/TieredProgressBar.d.ts +11 -0
  88. package/dist/smart-cart/components/TieredProgressBar/TieredProgressBar.d.ts.map +1 -0
  89. package/dist/smart-cart/components/TieredProgressBar/progressBarUtils.d.ts +173 -0
  90. package/dist/smart-cart/components/TieredProgressBar/progressBarUtils.d.ts.map +1 -0
  91. package/dist/smart-cart/components/TieredProgressBar/types.d.ts +261 -0
  92. package/dist/smart-cart/components/TieredProgressBar/types.d.ts.map +1 -0
  93. package/dist/smart-cart/components/_Layouts/AnchorSlot.d.ts +13 -0
  94. package/dist/smart-cart/components/_Layouts/AnchorSlot.d.ts.map +1 -0
  95. package/dist/smart-cart/components/_Layouts/DoubleColumnLayout.d.ts +9 -0
  96. package/dist/smart-cart/components/_Layouts/DoubleColumnLayout.d.ts.map +1 -0
  97. package/dist/smart-cart/components/_Layouts/SingleColumnLayout.d.ts +8 -0
  98. package/dist/smart-cart/components/_Layouts/SingleColumnLayout.d.ts.map +1 -0
  99. package/dist/smart-cart/components/componentRegistry.d.ts +3 -0
  100. package/dist/smart-cart/components/componentRegistry.d.ts.map +1 -0
  101. package/dist/smart-cart/constants.d.ts +57 -0
  102. package/dist/smart-cart/constants.d.ts.map +1 -0
  103. package/dist/smart-cart/context/SmartCartContext.d.ts +62 -0
  104. package/dist/smart-cart/context/SmartCartContext.d.ts.map +1 -0
  105. package/dist/smart-cart/context/StorefrontCartContext.d.ts +32 -0
  106. package/dist/smart-cart/context/StorefrontCartContext.d.ts.map +1 -0
  107. package/dist/smart-cart/hooks/useCartItemFeatures.d.ts +84 -0
  108. package/dist/smart-cart/hooks/useCartItemFeatures.d.ts.map +1 -0
  109. package/dist/smart-cart/hooks/useDiscountManager.d.ts +28 -0
  110. package/dist/smart-cart/hooks/useDiscountManager.d.ts.map +1 -0
  111. package/dist/smart-cart/hooks/useGeolocation.d.ts +12 -0
  112. package/dist/smart-cart/hooks/useGeolocation.d.ts.map +1 -0
  113. package/dist/smart-cart/hooks/useIsScrolled.d.ts +14 -0
  114. package/dist/smart-cart/hooks/useIsScrolled.d.ts.map +1 -0
  115. package/dist/smart-cart/hooks/useSmartCartApps.d.ts +17 -0
  116. package/dist/smart-cart/hooks/useSmartCartApps.d.ts.map +1 -0
  117. package/dist/smart-cart/store/tieredProgressBarStore.d.ts +76 -0
  118. package/dist/smart-cart/store/tieredProgressBarStore.d.ts.map +1 -0
  119. package/dist/smart-cart/types/rebuy-storefront-cart.d.ts +142 -0
  120. package/dist/smart-cart/types/rebuy-storefront-cart.d.ts.map +1 -0
  121. package/dist/smart-cart/types/rebuy.d.ts +15 -0
  122. package/dist/smart-cart/types/rebuy.d.ts.map +1 -0
  123. package/dist/smart-cart/types/shop.d.ts +26 -0
  124. package/dist/smart-cart/types/shop.d.ts.map +1 -0
  125. package/dist/smart-cart/types/smart-cart-app.d.ts +103 -0
  126. package/dist/smart-cart/types/smart-cart-app.d.ts.map +1 -0
  127. package/dist/smart-cart/types/smart-cart-component.d.ts +1350 -0
  128. package/dist/smart-cart/types/smart-cart-component.d.ts.map +1 -0
  129. package/dist/smart-cart/types/smart-cart.d.ts +82 -0
  130. package/dist/smart-cart/types/smart-cart.d.ts.map +1 -0
  131. package/dist/smart-cart/utils/cartItemUtils.d.ts +292 -0
  132. package/dist/smart-cart/utils/cartItemUtils.d.ts.map +1 -0
  133. package/dist/smart-cart/utils/debugLog.d.ts +77 -0
  134. package/dist/smart-cart/utils/debugLog.d.ts.map +1 -0
  135. package/dist/smart-cart/utils/debugStyles.d.ts +3342 -0
  136. package/dist/smart-cart/utils/debugStyles.d.ts.map +1 -0
  137. package/dist/smart-cart/utils/executeScriptsInContainer.d.ts +14 -0
  138. package/dist/smart-cart/utils/executeScriptsInContainer.d.ts.map +1 -0
  139. package/dist/smart-cart/utils/imageUtils.d.ts +2 -0
  140. package/dist/smart-cart/utils/imageUtils.d.ts.map +1 -0
  141. package/dist/smart-cart/utils/mapHydrogenCartToStorefrontCartData.d.ts +14 -0
  142. package/dist/smart-cart/utils/mapHydrogenCartToStorefrontCartData.d.ts.map +1 -0
  143. package/dist/smart-cart/utils/moneyUtils.d.ts +24 -0
  144. package/dist/smart-cart/utils/moneyUtils.d.ts.map +1 -0
  145. package/dist/smart-cart/utils/safeJsonParse.d.ts +2 -0
  146. package/dist/smart-cart/utils/safeJsonParse.d.ts.map +1 -0
  147. package/dist/types/common.d.ts +9 -0
  148. package/dist/types/common.d.ts.map +1 -1
  149. package/dist/types/rebuyCustom.d.ts +86 -6
  150. package/dist/types/rebuyCustom.d.ts.map +1 -1
  151. package/dist/types/widgets.d.ts +20068 -0
  152. package/dist/types/widgets.d.ts.map +1 -1
  153. package/dist/utils/createContextParameters.d.ts.map +1 -1
  154. package/dist/utils/filterContextUtils.d.ts +3 -0
  155. package/dist/utils/filterContextUtils.d.ts.map +1 -0
  156. package/dist/utils/nonceManager.d.ts +10 -0
  157. package/dist/utils/nonceManager.d.ts.map +1 -0
  158. package/dist/widgetContainer/RebuyWidgetContainer.d.ts.map +1 -1
  159. package/dist/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.d.ts.map +1 -1
  160. package/dist/widgets/RebuyDynamicBundleProducts/BundleSelection.d.ts.map +1 -1
  161. package/dist/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.d.ts.map +1 -1
  162. package/dist/widgets/RebuyProductAddOns/RebuyProductAddOns.d.ts.map +1 -1
  163. package/dist/widgets/RebuyProductRecommendations/RebuyProductRecommendations.d.ts.map +1 -1
  164. package/dist/widgets/RebuyWidget/RebuyWidget.d.ts.map +1 -1
  165. package/dist/widgets/RebuyWidget/WidgetContent.d.ts +1 -1
  166. package/dist/widgets/RebuyWidget/WidgetContent.d.ts.map +1 -1
  167. package/dist/widgets/RebuyWidget/types.d.ts +3 -314
  168. package/dist/widgets/RebuyWidget/types.d.ts.map +1 -1
  169. package/package.json +14 -8
  170. package/dist/hooks/useRebuyTheme.d.ts +0 -21
  171. package/dist/hooks/useRebuyTheme.d.ts.map +0 -1
  172. package/dist/types/rebuySmartCart.d.ts +0 -184
  173. package/dist/types/rebuySmartCart.d.ts.map +0 -1
  174. package/dist/utils/csp.d.ts +0 -16
  175. package/dist/utils/csp.d.ts.map +0 -1
@@ -1,3 +1,3 @@
1
1
  import type { AddToCartBtnProps } from '~/components/AddToCartBtn/types';
2
- export declare const AddToCartBtn: ({ addToCartBtnText, addToCartCallback, disabled, isHydrogenReact, moneyData, quantity, selectedVariants, }: AddToCartBtnProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const AddToCartBtn: ({ addToCartBtnText, addToCartCallback, disableShopifyAddAction, disabled, isHydrogenReact, moneyData, onClickAction, quantity, selectedVariants, }: AddToCartBtnProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=AddToCartBtn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/AddToCartBtn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIzE,eAAO,MAAM,YAAY,GAAI,4GAQ1B,iBAAiB,4CAgCnB,CAAC"}
1
+ {"version":3,"file":"AddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/AddToCartBtn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIzE,eAAO,MAAM,YAAY,GAAI,oJAU1B,iBAAiB,4CAoCnB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { btnProps } from '~/components/AddToCartBtn/types';
2
- export declare const HydrogenAddToCartBtn: ({ addToCartBtnText, addToCartCallback, disabled, linesToAdd, moneyData, }: btnProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const HydrogenAddToCartBtn: ({ addToCartBtnText, addToCartCallback, disableShopifyAddAction, disabled, linesToAdd, moneyData, onClickAction, }: btnProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=HydrogenAddToCartBtn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HydrogenAddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/HydrogenAddToCartBtn.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,eAAO,MAAM,oBAAoB,GAAI,2EAMlC,QAAQ,4CA+BV,CAAC"}
1
+ {"version":3,"file":"HydrogenAddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/HydrogenAddToCartBtn.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,eAAO,MAAM,oBAAoB,GAAI,mHAQlC,QAAQ,4CAmDV,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { btnProps } from '~/components/AddToCartBtn/types';
2
- export declare const HydrogenReactAddToCartBtn: ({ addToCartBtnText, addToCartCallback, disabled, linesToAdd, moneyData, }: btnProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const HydrogenReactAddToCartBtn: ({ addToCartBtnText, addToCartCallback, disableShopifyAddAction, disabled, linesToAdd, moneyData, onClickAction, }: btnProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=HydrogenReactAddToCartBtn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HydrogenReactAddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/HydrogenReactAddToCartBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,eAAO,MAAM,yBAAyB,GAAI,2EAMvC,QAAQ,4CAkBV,CAAC"}
1
+ {"version":3,"file":"HydrogenReactAddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/HydrogenReactAddToCartBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,eAAO,MAAM,yBAAyB,GAAI,mHAQvC,QAAQ,4CAsCV,CAAC"}
@@ -4,6 +4,7 @@ export type btnProps = {
4
4
  addToCartBtnText?: string;
5
5
  addToCartCallback?: () => void;
6
6
  disabled?: boolean;
7
+ disableShopifyAddAction?: boolean;
7
8
  linesToAdd: {
8
9
  attributes: {
9
10
  key: string;
@@ -14,13 +15,16 @@ export type btnProps = {
14
15
  selectedVariant: unknown;
15
16
  }[];
16
17
  moneyData?: MoneyV2;
18
+ onClickAction?: () => void;
17
19
  };
18
20
  export type AddToCartBtnProps = {
19
21
  addToCartBtnText?: string;
20
22
  addToCartCallback?: () => void;
21
23
  disabled?: boolean;
24
+ disableShopifyAddAction?: boolean;
22
25
  isHydrogenReact?: boolean;
23
26
  moneyData?: MoneyV2;
27
+ onClickAction?: () => void;
24
28
  quantity?: number;
25
29
  selectedVariants: RebuyProductVariant[];
26
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,MAAM,QAAQ,GAAG;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE;QACR,UAAU,EAAE;YACR,GAAG,EAAE,MAAM,CAAC;YACZ,KAAK,EAAE,MAAM,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AAiB,GAAG;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;CAC3C,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ProductCardProps } from '~/components/ProductCard/types';
2
- export declare const ProductCard: ({ addToCartBtnText, addToCartCallback, isHydrogenReact, isInPopup, onPopupDismiss, product, productCardTitleLevel, settings, }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ProductCard: ({ addToCartBtnText, addToCartCallback, isHydrogenReact, isInPopup, onPopupDismiss, product, productCardTitleLevel, settings, variantOptionsText, }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=ProductCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAQvE,eAAO,MAAM,WAAW,GAAI,gIASzB,gBAAgB,4CAgMlB,CAAC"}
1
+ {"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAUvE,eAAO,MAAM,WAAW,GAAI,oJAUzB,gBAAgB,4CAoOlB,CAAC"}
@@ -9,12 +9,15 @@ export type ProductCardProps = {
9
9
  product: RebuyProduct;
10
10
  productCardTitleLevel: ProductCardTitleLevel;
11
11
  settings?: ProductCardSettings;
12
+ /** Language text for "Select Options" from widget settings */
13
+ variantOptionsText?: string;
12
14
  };
13
15
  export type ProductCardSettings = {
14
16
  layoutStyle?: string;
15
17
  productOptions?: {
16
18
  hide_out_of_stock_variants: boolean;
17
19
  match_variant: boolean;
20
+ /** @deprecated (I think this is no longer used in widgets, but I'm not 100% sure) */
18
21
  match_variant_out_of_stock: boolean;
19
22
  show_product_description: string;
20
23
  show_subscription_options: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE;QACb,0BAA0B,EAAE,OAAO,CAAC;QACpC,aAAa,EAAE,OAAO,CAAC;QACvB,0BAA0B,EAAE,OAAO,CAAC;QACpC,wBAAwB,EAAE,MAAM,CAAC;QACjC,yBAAyB,EAAE,MAAM,CAAC;QAClC,oBAAoB,EAAE,MAAM,CAAC;QAC7B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,yBAAyB,EAAE,OAAO,CAAC;QAC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[];
11
11
  settings: ProductCardSettings;
12
12
  showPagination?: boolean;
13
+ variantOptionsText?: string;
13
14
  };
14
- export declare const ProductCarousel: ({ addToCartBtnText, addToCartCallback, columns, isHydrogenReact, productCardTitleLevel, products, settings, showPagination, }: ProductCarouselProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const ProductCarousel: ({ addToCartBtnText, addToCartCallback, columns, isHydrogenReact, productCardTitleLevel, products, settings, showPagination, variantOptionsText, }: ProductCarouselProps) => import("react/jsx-runtime").JSX.Element;
15
16
  export {};
16
17
  //# sourceMappingURL=ProductCarousel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCarousel.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCarousel/ProductCarousel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGxD,KAAK,oBAAoB,GAAG;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,+HAS7B,oBAAoB,4CAoGtB,CAAC"}
1
+ {"version":3,"file":"ProductCarousel.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCarousel/ProductCarousel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGxD,KAAK,oBAAoB,GAAG;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,mJAU7B,oBAAoB,4CAqGtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductPrice.d.ts","sourceRoot":"","sources":["../../../src/components/ProductPrice/ProductPrice.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAIjD,eAAO,MAAM,iBAAiB,GAAI,uCAAuC,iBAAiB,mDAmCzF,CAAC"}
1
+ {"version":3,"file":"ProductPrice.d.ts","sourceRoot":"","sources":["../../../src/components/ProductPrice/ProductPrice.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAKjD,eAAO,MAAM,iBAAiB,GAAI,uCAAuC,iBAAiB,mDAsCzF,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { QuantityInputProps } from './types';
1
+ import type { QuantityInputProps } from '~/components/QuantityInput/types';
2
2
  export declare const QuantityInput: ({ defaultQuantity, handleSelectedQuantity, maxValue, minValue, }: QuantityInputProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=QuantityInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuantityInput.d.ts","sourceRoot":"","sources":["../../../src/components/QuantityInput/QuantityInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,GAAI,kEAK3B,kBAAkB,4CAgCpB,CAAC"}
1
+ {"version":3,"file":"QuantityInput.d.ts","sourceRoot":"","sources":["../../../src/components/QuantityInput/QuantityInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAG3E,eAAO,MAAM,aAAa,GAAI,kEAK3B,kBAAkB,4CAiCpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Timer.d.ts","sourceRoot":"","sources":["../../../src/components/Timer/Timer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,eAAO,MAAM,KAAK,GAAI,yEAAiF,UAAU,4CA2EhH,CAAC"}
1
+ {"version":3,"file":"Timer.d.ts","sourceRoot":"","sources":["../../../src/components/Timer/Timer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,eAAO,MAAM,KAAK,GAAI,yEAAiF,UAAU,4CA2EhH,CAAC"}
@@ -3,9 +3,9 @@ export type TimerProps = {
3
3
  /** The action to take when the timer reaches zero */
4
4
  action: TimerAction;
5
5
  /** The duration in minutes */
6
- durationMinutes: number;
6
+ durationMinutes: number | null;
7
7
  /** The duration in seconds */
8
- durationSeconds: number;
8
+ durationSeconds: number | null;
9
9
  /** Whether the timer is in a popup context */
10
10
  isPopup?: boolean;
11
11
  /** Callback function to dismiss the popup */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Timer/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnE,MAAM,MAAM,UAAU,GAAG;IACrB,qDAAqD;IACrD,MAAM,EAAE,WAAW,CAAC;IACpB,8BAA8B;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Timer/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnE,MAAM,MAAM,UAAU,GAAG;IACrB,qDAAqD;IACrD,MAAM,EAAE,WAAW,CAAC;IACpB,8BAA8B;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,8BAA8B;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VariantSelect.d.ts","sourceRoot":"","sources":["../../../src/components/VariantSelect/VariantSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,eAAO,MAAM,aAAa,GAAI,uDAAkE,kBAAkB,mDAwEjH,CAAC"}
1
+ {"version":3,"file":"VariantSelect.d.ts","sourceRoot":"","sources":["../../../src/components/VariantSelect/VariantSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAG3E,eAAO,MAAM,aAAa,GAAI,uDAAkE,kBAAkB,mDAyDjH,CAAC"}
@@ -0,0 +1,27 @@
1
+ export declare enum DebugKey {
2
+ CART_MAPPER = "cart-mapper",
3
+ GEOLOCATION = "geolocation",
4
+ REBUY_CONFIG_CONTEXT = "rebuy-config-context",
5
+ REBUY_HYDROGEN_REACT_PROVIDER = "rebuy-hydrogen-react-provider",
6
+ SC_ANCHOR_SLOT = "smart-cart-anchor-slot",
7
+ SC_CART_ACTIONS = "smart-cart-cart-actions",
8
+ SC_CART_ITEM_FEATURES = "smart-cart-cart-item-features",
9
+ SC_CONTAINER = "smart-cart-container",
10
+ SC_CTX = "smart-cart-ctx",
11
+ SC_CTX_H_REACT = "smart-cart-ctx-h-react",
12
+ SC_CTX_TPB_SELECTOR = "smart-cart-ctx-tpb-selector",
13
+ SC_CTX_TPB_SYNC = "smart-cart-ctx-tpb-sync",
14
+ SC_CUSTOM_CODE_BLOCK = "smart-cart-custom-code-block",
15
+ SC_DISCOUNT_MANAGER = "smart-cart-discount-manager",
16
+ SC_LOGIN_BUTTON = "smart-cart-login-button",
17
+ SC_PARTNER_APPS = "smart-cart-partner-apps",
18
+ SC_TPB = "smart-cart-tpb",
19
+ SC_TPB_STORE = "smart-cart-tpb-store",
20
+ SC_TPB_SUBTOTAL_CALC = "smart-cart-tpb-subtotal-calc",
21
+ WIDGET = "rebuy-widget",
22
+ WIDGET_COMPLETE_THE_LOOK = "widget-complete-the-look",
23
+ WIDGET_DYNAMIC_BUNDLE_PRODUCTS = "widget-dynamic-bundle-products",
24
+ WIDGET_PRODUCT_ADD_ONS = "widget-product-add-ons",
25
+ WIDGET_PRODUCT_RECOMMENDATIONS = "widget-product-recommendations"
26
+ }
27
+ //# sourceMappingURL=debug.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/constants/debug.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,6BAA6B,kCAAkC;IAC/D,cAAc,2BAA2B;IACzC,eAAe,4BAA4B;IAC3C,qBAAqB,kCAAkC;IACvD,YAAY,yBAAyB;IACrC,MAAM,mBAAmB;IACzB,cAAc,2BAA2B;IACzC,mBAAmB,gCAAgC;IACnD,eAAe,4BAA4B;IAC3C,oBAAoB,iCAAiC;IACrD,mBAAmB,gCAAgC;IACnD,eAAe,4BAA4B;IAC3C,eAAe,4BAA4B;IAC3C,MAAM,mBAAmB;IACzB,YAAY,yBAAyB;IACrC,oBAAoB,iCAAiC;IACrD,MAAM,iBAAiB;IACvB,wBAAwB,6BAA6B;IACrD,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,8BAA8B,mCAAmC;CACpE"}
@@ -1,4 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
+ import type { SmartCartConfig } from '~/smart-cart/types/smart-cart';
2
3
  import type { RebuyConfig } from '~/types/rebuyCustom';
3
4
  export type RebuyConfigLoadingStatus = 'idle' | 'loading' | 'success' | 'error';
4
5
  export type RebuyConfigContextType = {
@@ -8,6 +9,7 @@ export type RebuyConfigContextType = {
8
9
  loadingStatus: RebuyConfigLoadingStatus;
9
10
  rebuyConfig: RebuyConfig | null;
10
11
  shopDomain: string | null;
12
+ smartCartConfig: SmartCartConfig | null;
11
13
  };
12
14
  export type RebuyConfigProviderProps = {
13
15
  children: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"RebuyConfigContext.d.ts","sourceRoot":"","sources":["../../src/context/RebuyConfigContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEh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WAAW,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;CAC3C,CAAC;AAIF,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,iDAAiD,wBAAwB,4CAkF5G,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,sBAQjC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { WidgetSettings } from '~/widgets/RebuyWidget/types';
1
+ import type { WidgetSettings } from '~/types/widgets';
2
2
  type Breakpoint = 'small' | 'medium' | 'large';
3
3
  export declare const useBreakpoint: (settings: WidgetSettings | null) => Breakpoint;
4
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAElE,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/C,eAAO,MAAM,aAAa,GAAI,UAAU,cAAc,GAAG,IAAI,KAAG,UA4C/D,CAAC"}
1
+ {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/C,eAAO,MAAM,aAAa,GAAI,UAAU,cAAc,GAAG,IAAI,KAAG,UAsD/D,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { WidgetSettings } from '~/widgets/RebuyWidget/types';
1
+ import type { WidgetSettings } from '~/types/widgets';
2
2
  export declare const usePopupTrigger: (settings: WidgetSettings | null, popupTriggerId: string | undefined, widgetId: string, popupShownOnce: boolean, showPopup: boolean, setShowPopup: (show: boolean) => void, setPopupShownOnce: (shown: boolean) => void) => void;
3
3
  //# sourceMappingURL=usePopupTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePopupTrigger.d.ts","sourceRoot":"","sources":["../../src/hooks/usePopupTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAElE,eAAO,MAAM,eAAe,GACxB,UAAU,cAAc,GAAG,IAAI,EAC/B,gBAAgB,MAAM,GAAG,SAAS,EAClC,UAAU,MAAM,EAChB,gBAAgB,OAAO,EACvB,WAAW,OAAO,EAClB,cAAc,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,EACrC,mBAAmB,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,SAoI9C,CAAC"}
1
+ {"version":3,"file":"usePopupTrigger.d.ts","sourceRoot":"","sources":["../../src/hooks/usePopupTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,eAAe,GACxB,UAAU,cAAc,GAAG,IAAI,EAC/B,gBAAgB,MAAM,GAAG,SAAS,EAClC,UAAU,MAAM,EAChB,gBAAgB,OAAO,EACvB,WAAW,OAAO,EAClB,cAAc,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,EACrC,mBAAmB,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,SAoI9C,CAAC"}