@trafilea/afrodita-components 4.0.1-beta.2 → 4.0.2-beta.11

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 (386) hide show
  1. package/build/index.d.ts +971 -892
  2. package/build/index.esm.js +486 -397
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +489 -398
  5. package/build/index.js.map +1 -1
  6. package/build/{dts/core/theme/Theme.d.ts → theme/shapermint.theme.d.ts} +26 -25
  7. package/build/theme/shapermint.theme.js +147 -59
  8. package/build/theme/truekind.theme.d.ts +383 -0
  9. package/build/theme/truekind.theme.js +94 -52
  10. package/package.json +2 -2
  11. package/build/dts/components/Demo.stories.d.ts +0 -7
  12. package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +0 -12
  13. package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +0 -1
  14. package/build/dts/components/accordion/Accordion.d.ts +0 -13
  15. package/build/dts/components/accordion/Accordion.stories.d.ts +0 -9
  16. package/build/dts/components/accordion/Accordion.test.d.ts +0 -1
  17. package/build/dts/components/accordion/styles.d.ts +0 -16
  18. package/build/dts/components/bundle/index.d.ts +0 -5
  19. package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +0 -15
  20. package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +0 -9
  21. package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +0 -1
  22. package/build/dts/components/bundle/simple/Simple.d.ts +0 -10
  23. package/build/dts/components/bundle/simple/Simple.stories.d.ts +0 -9
  24. package/build/dts/components/bundle/simple/Simple.test.d.ts +0 -1
  25. package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +0 -1
  26. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +0 -5
  27. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +0 -9
  28. package/build/dts/components/cartProductItem/Description/Description.d.ts +0 -5
  29. package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +0 -9
  30. package/build/dts/components/cartProductItem/Description/Description.test.d.ts +0 -1
  31. package/build/dts/components/cartProductItem/Promo/Promo.d.ts +0 -5
  32. package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +0 -9
  33. package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +0 -1
  34. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +0 -5
  35. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +0 -9
  36. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +0 -1
  37. package/build/dts/components/cartProductItem/Title/Title.d.ts +0 -5
  38. package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +0 -9
  39. package/build/dts/components/cartProductItem/Title/Title.test.d.ts +0 -1
  40. package/build/dts/components/cartProductItem/index.d.ts +0 -8
  41. package/build/dts/components/checkbox/Checkbox.d.ts +0 -21
  42. package/build/dts/components/checkbox/Checkbox.stories.d.ts +0 -24
  43. package/build/dts/components/checkbox/Checkbox.test.d.ts +0 -1
  44. package/build/dts/components/checkbox/styles.d.ts +0 -9
  45. package/build/dts/components/collection/grid/WithProductGrid.d.ts +0 -11
  46. package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +0 -9
  47. package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +0 -1
  48. package/build/dts/components/collection/index.d.ts +0 -5
  49. package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +0 -7
  50. package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +0 -24
  51. package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +0 -1
  52. package/build/dts/components/collection/product/types.d.ts +0 -14
  53. package/build/dts/components/color/ColorRadioGroup.d.ts +0 -24
  54. package/build/dts/components/color/MultiColorPicker.d.ts +0 -10
  55. package/build/dts/components/color/MultiColorPicker.stories.d.ts +0 -9
  56. package/build/dts/components/color/MultiColorPicker.test.d.ts +0 -1
  57. package/build/dts/components/color/SingleColorPicker.d.ts +0 -10
  58. package/build/dts/components/color/SingleColorPicker.stories.d.ts +0 -9
  59. package/build/dts/components/color/SingleColorPicker.test.d.ts +0 -1
  60. package/build/dts/components/color/selector/ColorSelector.d.ts +0 -15
  61. package/build/dts/components/color/selector/ColorSelector.stories.d.ts +0 -14
  62. package/build/dts/components/color/selector/ColorSelector.test.d.ts +0 -1
  63. package/build/dts/components/color/selector/OneColorSelector.d.ts +0 -8
  64. package/build/dts/components/color/selector/OutOfStock.d.ts +0 -6
  65. package/build/dts/components/color/selector/PatternSelector.d.ts +0 -8
  66. package/build/dts/components/color/selector/PatternSelector.test.d.ts +0 -1
  67. package/build/dts/components/color/selector/ThreeColorSelector.d.ts +0 -10
  68. package/build/dts/components/color/selector/TwoColorSelector.d.ts +0 -9
  69. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +0 -13
  70. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +0 -9
  71. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +0 -1
  72. package/build/dts/components/cross-sell/index.d.ts +0 -1
  73. package/build/dts/components/cta/BaseCTA.d.ts +0 -13
  74. package/build/dts/components/cta/BaseCTA.test.d.ts +0 -1
  75. package/build/dts/components/cta/index.d.ts +0 -3
  76. package/build/dts/components/cta/primary/ButtonPrimary.d.ts +0 -3
  77. package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +0 -37
  78. package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +0 -1
  79. package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +0 -3
  80. package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +0 -37
  81. package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +0 -1
  82. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +0 -3
  83. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +0 -37
  84. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +0 -1
  85. package/build/dts/components/delivery-details/DeliveryDetails.d.ts +0 -26
  86. package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +0 -9
  87. package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +0 -1
  88. package/build/dts/components/delivery-details/Note/Note.d.ts +0 -9
  89. package/build/dts/components/delivery-details/Note/Note.stories.d.ts +0 -9
  90. package/build/dts/components/delivery-details/Note/Note.test.d.ts +0 -1
  91. package/build/dts/components/drawer/Drawer.d.ts +0 -13
  92. package/build/dts/components/drawer/Drawer.stories.d.ts +0 -14
  93. package/build/dts/components/drawer/Drawer.test.d.ts +0 -1
  94. package/build/dts/components/dropdown/base/BaseDropdown.d.ts +0 -17
  95. package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +0 -12
  96. package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +0 -11
  97. package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +0 -6
  98. package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +0 -1
  99. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +0 -13
  100. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +0 -12
  101. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +0 -20
  102. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +0 -13
  103. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +0 -1
  104. package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +0 -6
  105. package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +0 -9
  106. package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +0 -1
  107. package/build/dts/components/dropdown-list-icons/Styled.d.ts +0 -34
  108. package/build/dts/components/filtering/Accordion.d.ts +0 -8
  109. package/build/dts/components/filtering/Filters.d.ts +0 -15
  110. package/build/dts/components/filtering/Filters.stories.d.ts +0 -9
  111. package/build/dts/components/filtering/Filters.test.d.ts +0 -1
  112. package/build/dts/components/filtering/FiltersStyled.d.ts +0 -43
  113. package/build/dts/components/filtering/Tags/Tags.d.ts +0 -24
  114. package/build/dts/components/filtering/Tags/Tags.stories.d.ts +0 -9
  115. package/build/dts/components/filtering/Tags/Tags.test.d.ts +0 -1
  116. package/build/dts/components/fit/FitPredictor.d.ts +0 -5
  117. package/build/dts/components/fit/FitPredictor.stories.d.ts +0 -7
  118. package/build/dts/components/fit/FitPredictor.test.d.ts +0 -1
  119. package/build/dts/components/gallery/ImagePreviewList.d.ts +0 -9
  120. package/build/dts/components/gallery/ImagePreviewList.test.d.ts +0 -1
  121. package/build/dts/components/gallery/ImageProductWithTags.d.ts +0 -10
  122. package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +0 -1
  123. package/build/dts/components/gallery/ImageSmallPreview.d.ts +0 -9
  124. package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +0 -1
  125. package/build/dts/components/gallery/ProductGallery.d.ts +0 -12
  126. package/build/dts/components/gallery/ProductGallery.stories.d.ts +0 -9
  127. package/build/dts/components/gallery/ProductGallery.test.d.ts +0 -1
  128. package/build/dts/components/icon-button/IconButton.d.ts +0 -16
  129. package/build/dts/components/icon-button/IconButton.stories.d.ts +0 -23
  130. package/build/dts/components/icon-button/IconButton.test.d.ts +0 -1
  131. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +0 -6
  132. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +0 -7
  133. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +0 -1
  134. package/build/dts/components/icons/Actions/Check.d.ts +0 -3
  135. package/build/dts/components/icons/Actions/ClearLight.d.ts +0 -3
  136. package/build/dts/components/icons/Actions/Close.d.ts +0 -3
  137. package/build/dts/components/icons/Actions/LightCheck.d.ts +0 -6
  138. package/build/dts/components/icons/Actions/LightExclamation.d.ts +0 -3
  139. package/build/dts/components/icons/Actions/Question.d.ts +0 -3
  140. package/build/dts/components/icons/Actions/Trash.d.ts +0 -3
  141. package/build/dts/components/icons/Actions/index.d.ts +0 -7
  142. package/build/dts/components/icons/Arrows/ChevronDown.d.ts +0 -3
  143. package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +0 -3
  144. package/build/dts/components/icons/Arrows/ChevronRight.d.ts +0 -3
  145. package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +0 -3
  146. package/build/dts/components/icons/Arrows/ChevronUp.d.ts +0 -3
  147. package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +0 -3
  148. package/build/dts/components/icons/Arrows/CircleUp.d.ts +0 -3
  149. package/build/dts/components/icons/Arrows/index.d.ts +0 -7
  150. package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +0 -3
  151. package/build/dts/components/icons/Custom/index.d.ts +0 -1
  152. package/build/dts/components/icons/Download/AppleStore.d.ts +0 -3
  153. package/build/dts/components/icons/Download/GooglePlay.d.ts +0 -3
  154. package/build/dts/components/icons/Download/index.d.ts +0 -2
  155. package/build/dts/components/icons/Messaging/Comment.d.ts +0 -3
  156. package/build/dts/components/icons/Messaging/Messenger.d.ts +0 -3
  157. package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +0 -3
  158. package/build/dts/components/icons/Messaging/index.d.ts +0 -3
  159. package/build/dts/components/icons/Navigation/MapMarker.d.ts +0 -3
  160. package/build/dts/components/icons/Navigation/Search.d.ts +0 -3
  161. package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +0 -3
  162. package/build/dts/components/icons/Navigation/User.d.ts +0 -3
  163. package/build/dts/components/icons/Navigation/index.d.ts +0 -4
  164. package/build/dts/components/icons/Other/FitPredictor.d.ts +0 -3
  165. package/build/dts/components/icons/Other/Loading.d.ts +0 -6
  166. package/build/dts/components/icons/Other/Shapermint.d.ts +0 -3
  167. package/build/dts/components/icons/Other/index.d.ts +0 -4
  168. package/build/dts/components/icons/Other/mcAfee.d.ts +0 -3
  169. package/build/dts/components/icons/PDP/Clock.d.ts +0 -3
  170. package/build/dts/components/icons/PDP/FlagUSA.d.ts +0 -3
  171. package/build/dts/components/icons/PDP/Minus.d.ts +0 -3
  172. package/build/dts/components/icons/PDP/Plus.d.ts +0 -3
  173. package/build/dts/components/icons/PDP/Rule.d.ts +0 -3
  174. package/build/dts/components/icons/PDP/Shipping.d.ts +0 -3
  175. package/build/dts/components/icons/PDP/Star.d.ts +0 -3
  176. package/build/dts/components/icons/PDP/StarEmpty.d.ts +0 -3
  177. package/build/dts/components/icons/PDP/StarHalf.d.ts +0 -3
  178. package/build/dts/components/icons/PDP/Stopwatch.d.ts +0 -3
  179. package/build/dts/components/icons/PDP/index.d.ts +0 -10
  180. package/build/dts/components/icons/Payment/Amazon.d.ts +0 -3
  181. package/build/dts/components/icons/Payment/Amex.d.ts +0 -3
  182. package/build/dts/components/icons/Payment/JCB.d.ts +0 -3
  183. package/build/dts/components/icons/Payment/Klarna.d.ts +0 -3
  184. package/build/dts/components/icons/Payment/MasterCard.d.ts +0 -3
  185. package/build/dts/components/icons/Payment/Paypal.d.ts +0 -3
  186. package/build/dts/components/icons/Payment/Visa.d.ts +0 -3
  187. package/build/dts/components/icons/Payment/index.d.ts +0 -7
  188. package/build/dts/components/icons/SlideDots/SlideDot.d.ts +0 -3
  189. package/build/dts/components/icons/SlideDots/index.d.ts +0 -1
  190. package/build/dts/components/icons/SocialMedia/Facebook.d.ts +0 -3
  191. package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +0 -3
  192. package/build/dts/components/icons/SocialMedia/Instagram.d.ts +0 -3
  193. package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +0 -3
  194. package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +0 -3
  195. package/build/dts/components/icons/SocialMedia/Twitter.d.ts +0 -3
  196. package/build/dts/components/icons/SocialMedia/Youtube.d.ts +0 -3
  197. package/build/dts/components/icons/SocialMedia/index.d.ts +0 -7
  198. package/build/dts/components/icons/index.d.ts +0 -27
  199. package/build/dts/components/index.d.ts +0 -48
  200. package/build/dts/components/input/base/BaseInput.d.ts +0 -14
  201. package/build/dts/components/input/base/BaseInput.stories.d.ts +0 -9
  202. package/build/dts/components/input/base/BaseInput.test.d.ts +0 -1
  203. package/build/dts/components/input/base/Error.d.ts +0 -6
  204. package/build/dts/components/input/base/Styled.d.ts +0 -31
  205. package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +0 -13
  206. package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +0 -9
  207. package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +0 -1
  208. package/build/dts/components/input/basePlusButton/Success.d.ts +0 -6
  209. package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +0 -7
  210. package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +0 -9
  211. package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +0 -1
  212. package/build/dts/components/input/custom/Custom.d.ts +0 -8
  213. package/build/dts/components/input/custom/Custom.stories.d.ts +0 -9
  214. package/build/dts/components/input/custom/Custom.test.d.ts +0 -1
  215. package/build/dts/components/input/index.d.ts +0 -7
  216. package/build/dts/components/input/label/Label.d.ts +0 -15
  217. package/build/dts/components/input/label/Label.stories.d.ts +0 -9
  218. package/build/dts/components/input/label/Label.test.d.ts +0 -1
  219. package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +0 -10
  220. package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +0 -12
  221. package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +0 -8
  222. package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +0 -1
  223. package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +0 -8
  224. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +0 -8
  225. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +0 -1
  226. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +0 -9
  227. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +0 -1
  228. package/build/dts/components/offer-banner/OfferBanner.d.ts +0 -15
  229. package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +0 -9
  230. package/build/dts/components/offer-banner/OfferBanner.test.d.ts +0 -1
  231. package/build/dts/components/order-bar/OrderBar.d.ts +0 -17
  232. package/build/dts/components/order-bar/OrderBar.stories.d.ts +0 -9
  233. package/build/dts/components/order-bar/OrderBar.test.d.ts +0 -1
  234. package/build/dts/components/pagination/Pagination.d.ts +0 -11
  235. package/build/dts/components/pagination/Pagination.stories.d.ts +0 -9
  236. package/build/dts/components/pagination/Pagination.test.d.ts +0 -1
  237. package/build/dts/components/pagination/styles.d.ts +0 -29
  238. package/build/dts/components/payment-methods/PaymentMethod.d.ts +0 -20
  239. package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +0 -13
  240. package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +0 -1
  241. package/build/dts/components/pricing/discount/DiscountTag.d.ts +0 -21
  242. package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +0 -23
  243. package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +0 -1
  244. package/build/dts/components/pricing/index.d.ts +0 -2
  245. package/build/dts/components/pricing/price/PriceLabel.d.ts +0 -11
  246. package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +0 -23
  247. package/build/dts/components/pricing/price/PriceLabel.test.d.ts +0 -1
  248. package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +0 -20
  249. package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +0 -11
  250. package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +0 -1
  251. package/build/dts/components/progress-bar/ProgressBar.d.ts +0 -8
  252. package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +0 -8
  253. package/build/dts/components/progress-bar/ProgressBar.test.d.ts +0 -1
  254. package/build/dts/components/quantityPicker/QuantityPicker.d.ts +0 -6
  255. package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +0 -9
  256. package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +0 -1
  257. package/build/dts/components/radio/container/group.d.ts +0 -12
  258. package/build/dts/components/radio/container/group.stories.d.ts +0 -23
  259. package/build/dts/components/radio/container/group.test.d.ts +0 -1
  260. package/build/dts/components/radio/index.d.ts +0 -1
  261. package/build/dts/components/radio/input/radio.d.ts +0 -13
  262. package/build/dts/components/radio/input/radio.stories.d.ts +0 -23
  263. package/build/dts/components/radio/input/radio.test.d.ts +0 -1
  264. package/build/dts/components/radio/input/styles.d.ts +0 -13
  265. package/build/dts/components/rating/Rating.d.ts +0 -9
  266. package/build/dts/components/rating/Rating.stories.d.ts +0 -24
  267. package/build/dts/components/rating/Rating.test.d.ts +0 -1
  268. package/build/dts/components/rating/starList/StarList.d.ts +0 -9
  269. package/build/dts/components/rating/starList/StarList.stories.d.ts +0 -24
  270. package/build/dts/components/rating/starList/StarList.test.d.ts +0 -1
  271. package/build/dts/components/rating/starList/styles.d.ts +0 -12
  272. package/build/dts/components/rating/styles.d.ts +0 -13
  273. package/build/dts/components/review/Review.d.ts +0 -19
  274. package/build/dts/components/review/Review.stories.d.ts +0 -9
  275. package/build/dts/components/review/Review.test.d.ts +0 -1
  276. package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +0 -18
  277. package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +0 -9
  278. package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +0 -1
  279. package/build/dts/components/search-bar/ClearButton.d.ts +0 -6
  280. package/build/dts/components/search-bar/ClearButton.test.d.ts +0 -1
  281. package/build/dts/components/search-bar/Footer.d.ts +0 -7
  282. package/build/dts/components/search-bar/Input.d.ts +0 -9
  283. package/build/dts/components/search-bar/ProductItem.d.ts +0 -8
  284. package/build/dts/components/search-bar/ProductItem.test.d.ts +0 -1
  285. package/build/dts/components/search-bar/ResultsPanel.d.ts +0 -12
  286. package/build/dts/components/search-bar/ResultsPanel.test.d.ts +0 -1
  287. package/build/dts/components/search-bar/SearchBar.d.ts +0 -11
  288. package/build/dts/components/search-bar/SearchBar.stories.d.ts +0 -7
  289. package/build/dts/components/search-bar/SearchBar.test.d.ts +0 -1
  290. package/build/dts/components/search-bar/SearchControl.d.ts +0 -7
  291. package/build/dts/components/search-bar/SearchControl.test.d.ts +0 -1
  292. package/build/dts/components/search-bar/index.d.ts +0 -1
  293. package/build/dts/components/selector/simple/SelectorSecondary.d.ts +0 -4
  294. package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +0 -23
  295. package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +0 -1
  296. package/build/dts/components/selector/simple/SimpleSelector.d.ts +0 -11
  297. package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +0 -1
  298. package/build/dts/components/shared/button/BaseButton.d.ts +0 -13
  299. package/build/dts/components/shared/button/BaseButton.stories.d.ts +0 -14
  300. package/build/dts/components/shared/card/Card.d.ts +0 -18
  301. package/build/dts/components/shared/card/Card.stories.d.ts +0 -7
  302. package/build/dts/components/shared/card/Card.test.d.ts +0 -1
  303. package/build/dts/components/shared/card/CardBody.d.ts +0 -5
  304. package/build/dts/components/shared/card/CardSection.d.ts +0 -6
  305. package/build/dts/components/shared/card/index.d.ts +0 -2
  306. package/build/dts/components/shared/image/Image.d.ts +0 -14
  307. package/build/dts/components/shared/image/Image.test.d.ts +0 -1
  308. package/build/dts/components/shared/label/label.d.ts +0 -13
  309. package/build/dts/components/shared/label/label.test.d.ts +0 -1
  310. package/build/dts/components/shared/label/styles.d.ts +0 -7
  311. package/build/dts/components/shared/select/BaseSelect.d.ts +0 -16
  312. package/build/dts/components/shared/select/BaseSelect.stories.d.ts +0 -11
  313. package/build/dts/components/shared/select/BaseSelectButton.d.ts +0 -17
  314. package/build/dts/components/shared/select/BaseSelectOption.d.ts +0 -22
  315. package/build/dts/components/shared/select/BaseSelectOptions.d.ts +0 -7
  316. package/build/dts/components/size/guide/SizeFitGuide.d.ts +0 -9
  317. package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +0 -9
  318. package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +0 -1
  319. package/build/dts/components/size/selector/SizeSelector.d.ts +0 -8
  320. package/build/dts/components/size/selector/SizeSelector.stories.d.ts +0 -7
  321. package/build/dts/components/size/selector/SizeSelector.test.d.ts +0 -1
  322. package/build/dts/components/size-table/SizeTable.d.ts +0 -6
  323. package/build/dts/components/size-table/SizeTable.stories.d.ts +0 -9
  324. package/build/dts/components/size-table/SizeTable.test.d.ts +0 -1
  325. package/build/dts/components/slider/ArrowButton.d.ts +0 -14
  326. package/build/dts/components/slider/SliderNatigation.test.d.ts +0 -1
  327. package/build/dts/components/slider/SliderNavigation.d.ts +0 -17
  328. package/build/dts/components/slider/SliderNavigation.stories.d.ts +0 -9
  329. package/build/dts/components/slider/StyledSlider.d.ts +0 -16
  330. package/build/dts/components/spinner/Spinner.d.ts +0 -10
  331. package/build/dts/components/spinner/Spinner.stories.d.ts +0 -9
  332. package/build/dts/components/spinner/Spinner.test.d.ts +0 -1
  333. package/build/dts/components/tag/Tag.d.ts +0 -7
  334. package/build/dts/components/tag/Tag.test.d.ts +0 -1
  335. package/build/dts/components/tag/index.d.ts +0 -3
  336. package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +0 -8
  337. package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +0 -22
  338. package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +0 -1
  339. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +0 -9
  340. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +0 -22
  341. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +0 -1
  342. package/build/dts/components/text/Text.d.ts +0 -98
  343. package/build/dts/components/text/Text.stories.d.ts +0 -16
  344. package/build/dts/components/text-button/TextButton.d.ts +0 -13
  345. package/build/dts/components/text-button/TextButton.stories.d.ts +0 -58
  346. package/build/dts/components/text-button/TextButton.test.d.ts +0 -1
  347. package/build/dts/components/timer/Timer.d.ts +0 -13
  348. package/build/dts/components/timer/Timer.stories.d.ts +0 -9
  349. package/build/dts/components/timer/Timer.test.d.ts +0 -1
  350. package/build/dts/components/tooltip/Arrow.d.ts +0 -6
  351. package/build/dts/components/tooltip/Styled.d.ts +0 -56
  352. package/build/dts/components/tooltip/Tooltip.d.ts +0 -15
  353. package/build/dts/components/tooltip/Tooltip.stories.d.ts +0 -35
  354. package/build/dts/components/tooltip/Tooltip.test.d.ts +0 -1
  355. package/build/dts/components/tooltip/utils.d.ts +0 -7
  356. package/build/dts/components/totals/index.d.ts +0 -5
  357. package/build/dts/components/totals/subtotal/Subtotal.d.ts +0 -22
  358. package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +0 -9
  359. package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +0 -1
  360. package/build/dts/components/totals/total/Total.d.ts +0 -38
  361. package/build/dts/components/totals/total/Total.stories.d.ts +0 -9
  362. package/build/dts/components/totals/total/Total.test.d.ts +0 -1
  363. package/build/dts/config/breakpoints.d.ts +0 -5
  364. package/build/dts/core/theme/Theme.test.d.ts +0 -1
  365. package/build/dts/core/theme/shapermint.theme.d.ts +0 -3
  366. package/build/dts/core/theme/theme.helpers.d.ts +0 -13
  367. package/build/dts/core/theme/truekind.theme.d.ts +0 -3
  368. package/build/dts/hooks/WindowDimensions.d.ts +0 -8
  369. package/build/dts/hooks/click-outside.d.ts +0 -3
  370. package/build/dts/hooks/index.d.ts +0 -3
  371. package/build/dts/index.d.ts +0 -5
  372. package/build/dts/setupTests.d.ts +0 -1
  373. package/build/dts/types/enums.d.ts +0 -21
  374. package/build/dts/types/types.d.ts +0 -81
  375. package/build/dts/utils/dateFormatter/dateFormatter.d.ts +0 -1
  376. package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +0 -1
  377. package/build/dts/utils/decimalParser/decimalParser.d.ts +0 -4
  378. package/build/dts/utils/decimalParser/decimalParser.test.d.ts +0 -1
  379. package/build/dts/utils/index.d.ts +0 -4
  380. package/build/dts/utils/media.d.ts +0 -7
  381. package/build/dts/utils/simulateClick/simulateClick.d.ts +0 -1
  382. package/build/dts/utils/simulateClick/simulateClick.test.d.ts +0 -1
  383. package/build/dts/utils/sliceString/sliceString.d.ts +0 -1
  384. package/build/dts/utils/sliceString/sliceString.test.d.ts +0 -1
  385. package/build/dts/utils/validations/validations.d.ts +0 -5
  386. package/build/dts/utils/validations/validations.test.d.ts +0 -1
package/build/index.js CHANGED
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React = require('react');
7
+ var reactDom = require('react-dom');
7
8
 
8
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
10
 
@@ -63,8 +64,8 @@ function __makeTemplateObject(cooked, raw) {
63
64
  }
64
65
 
65
66
  var IconWrapper = function (_a) {
66
- var height = _a.height, width = _a.width, title = _a.title, viewBoxX = _a.viewBoxX, viewBoxY = _a.viewBoxY, children = _a.children, testid = _a.testid, fill = _a.fill;
67
- return (jsxRuntime.jsxs("svg", __assign({ width: width ? "".concat(width, "rem") : '100%', height: height ? "".concat(height, "rem") : '100%', viewBox: "0 0 ".concat(viewBoxX, " ").concat(viewBoxY), xmlns: "http://www.w3.org/2000/svg", "data-testid": testid ? testid : 'IconWrapper', fill: fill }, { children: [jsxRuntime.jsxs("title", { children: [title, " icon"] }, void 0), children] }), void 0));
67
+ var height = _a.height, _b = _a.width, width = _b === void 0 ? 1 : _b, title = _a.title, viewBoxX = _a.viewBoxX, viewBoxY = _a.viewBoxY, children = _a.children, testid = _a.testid, fill = _a.fill;
68
+ return (jsxRuntime.jsxs("svg", __assign({ style: { display: 'inline-block', verticalAlign: 'middle' }, width: width ? "".concat(width, "rem") : '100%', height: height ? "".concat(height, "rem") : width ? "".concat(width, "rem") : '100%', viewBox: "0 0 ".concat(viewBoxX, " ").concat(viewBoxY), xmlns: "http://www.w3.org/2000/svg", "data-testid": testid ? testid : 'IconWrapper', fill: fill }, { children: [jsxRuntime.jsxs("title", { children: [title, " icon"] }, void 0), children] }), void 0));
68
69
  };
69
70
 
70
71
  var SixtyDaysGuarantee = function (_a) {
@@ -350,11 +351,23 @@ var Comment = function (_a) {
350
351
  return (jsxRuntime.jsx(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 20, title: "Comment" }, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 10C0 4.46565 4.92593 0 11 0C17.037 0 22 4.46565 22 10C22 15.5344 17.0741 20 11 20C9 20 7.03704 19.5038 5.33333 18.5496C4.40741 19.0458 3.40741 19.2748 2.2963 19.2748C1.96296 19.2748 1.59259 19.2366 1.25926 19.1985C0.925926 19.1603 0.62963 18.8931 0.555556 18.5496C0.481481 18.2061 0.62963 17.8244 0.925926 17.6336C1.48148 17.2519 1.92593 16.7176 2.22222 16.0305C0.777778 14.313 0 12.1756 0 10ZM5.55556 17.4046C7.18518 18.3588 9.03704 18.855 10.963 18.855C16.4444 18.855 20.8519 14.8855 20.8519 10C20.8519 5.1145 16.4074 1.14504 10.963 1.14504C5.51852 1.14504 1.11111 5.1145 1.11111 10C1.11111 12.0229 1.85185 13.9695 3.22222 15.5344C3.37037 15.687 3.40741 15.916 3.33333 16.1069C3.03704 16.9084 2.62963 17.5954 2.03704 18.1298C3.14815 18.1679 4.14815 17.9389 5 17.4046C5.02318 17.3966 5.04475 17.3887 5.06538 17.381L5.0654 17.381C5.14364 17.3521 5.20837 17.3282 5.2963 17.3282C5.37037 17.3282 5.48148 17.3664 5.55556 17.4046ZM12.1579 10.2941C12.1579 10.7814 11.7691 11.1765 11.2895 11.1765C10.8099 11.1765 10.4211 10.7814 10.4211 10.2941C10.4211 9.80681 10.8099 9.41177 11.2895 9.41177C11.7691 9.41177 12.1579 9.80681 12.1579 10.2941ZM7.23683 11.1765C7.71644 11.1765 8.10525 10.7814 8.10525 10.2941C8.10525 9.8068 7.71644 9.41176 7.23683 9.41176C6.75721 9.41176 6.36841 9.8068 6.36841 10.2941C6.36841 10.7814 6.75721 11.1765 7.23683 11.1765ZM16.2105 10.2941C16.2105 10.7814 15.8217 11.1765 15.3421 11.1765C14.8625 11.1765 14.4737 10.7814 14.4737 10.2941C14.4737 9.80681 14.8625 9.41177 15.3421 9.41177C15.8217 9.41177 16.2105 9.80681 16.2105 10.2941Z", fill: fill }, void 0) }), void 0));
351
352
  };
352
353
 
354
+ var Message = function (_a) {
355
+ var height = _a.height, width = _a.width, fill = _a.fill;
356
+ return (jsxRuntime.jsx(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 20, title: "message icon" }, { children: jsxRuntime.jsx("path", { d: "M0 10C0 4.46565 4.92593 0 11 0C17.037 0 22 4.46565 22 10C22 15.5344 17.0741 20 11 20C9 20 7.03704 19.5038 5.33333 18.5496C4.40741 19.0458 3.40741 19.2748 2.2963 19.2748C1.96296 19.2748 1.59259 19.2366 1.25926 19.1985C0.925926 19.1603 0.62963 18.8931 0.555556 18.5496C0.481481 18.2061 0.62963 17.8244 0.925926 17.6336C1.48148 17.2519 1.92593 16.7176 2.22222 16.0305C0.777778 14.313 0 12.1756 0 10ZM5.55556 17.4046C7.18518 18.3588 9.03704 18.855 10.963 18.855C16.4444 18.855 20.8519 14.8855 20.8519 10C20.8519 5.1145 16.4074 1.14504 10.963 1.14504C5.51852 1.14504 1.11111 5.1145 1.11111 10C1.11111 12.0229 1.85185 13.9695 3.22222 15.5344C3.37037 15.687 3.40741 15.916 3.33333 16.1069C3.03704 16.9084 2.62963 17.5954 2.03704 18.1298C3.14815 18.1679 4.14815 17.9389 5 17.4046C5.02318 17.3966 5.04475 17.3887 5.06538 17.381L5.0654 17.381C5.14364 17.3521 5.20837 17.3282 5.2963 17.3282C5.37037 17.3282 5.48148 17.3664 5.55556 17.4046ZM12.1579 10.2941C12.1579 10.7814 11.7691 11.1765 11.2895 11.1765C10.8099 11.1765 10.4211 10.7814 10.4211 10.2941C10.4211 9.80681 10.8099 9.41177 11.2895 9.41177C11.7691 9.41177 12.1579 9.80681 12.1579 10.2941ZM7.23683 11.1765C7.71644 11.1765 8.10525 10.7814 8.10525 10.2941C8.10525 9.8068 7.71644 9.41176 7.23683 9.41176C6.75721 9.41176 6.36841 9.8068 6.36841 10.2941C6.36841 10.7814 6.75721 11.1765 7.23683 11.1765ZM16.2105 10.2941C16.2105 10.7814 15.8217 11.1765 15.3421 11.1765C14.8625 11.1765 14.4737 10.7814 14.4737 10.2941C14.4737 9.80681 14.8625 9.41177 15.3421 9.41177C15.8217 9.41177 16.2105 9.80681 16.2105 10.2941Z", fill: fill }, void 0) }), void 0));
357
+ };
358
+
359
+ var Mail = function (_a) {
360
+ var height = _a.height, width = _a.width;
361
+ return (jsxRuntime.jsxs(IconWrapper, __assign({ width: width, height: height, viewBoxX: 24, viewBoxY: 24, title: "message icon" }, { children: [jsxRuntime.jsx("path", { d: "M21.4-14.3c0,0.1,0,0.2,0,0.3c0.1,0,0.1,0,0.2,0s0.1,0,0.2,0s0.1,0,0.2,0c0,0.1,0,0.1,0,0.2c0,0.1,0,0.2,0,0.2\n\tc0,0.1,0,0.2,0,0.2h0.1c0,0.1,0,0.2,0,0.3l0,0l0,0c0-0.1,0-0.2,0-0.3c0.1,0,0.1,0,0.2,0c0,0,0,0,0,0.1s0,0.2,0,0.2\n\tc0,0.1,0,0.3,0,0.4l0,0l0,0c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1\n\tv0.1v0.1v0.1v0.1c0,0,0,0,0,0.1c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1V-9v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1V-8\n\tv0.1v0.1v0.1v0.1c0,0,0,0,0,0.1c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1v0.1v0.1v0.1v0.1V-6v0.1v0.1v0.1v0.1\n\tc0,0.2,0,0.5,0,0.7c-0.1,0-0.1,0-0.2,0c0-0.1,0-0.2,0-0.3v0.1V-5v0.1H22c0,0,0,0,0,0.1s0,0.1,0,0.2s0,0.1,0,0.2s0,0.1,0,0.2\n\tc-0.2,0-0.4,0-0.7,0c0,0.1,0,0.2,0,0.3l0,0l0,0c-4.5,0-9,0-13.5,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.2,0-0.4,0-0.6\n\tc-0.1,0-0.2,0-0.3,0l0,0l0,0c0.1,0,0.2,0,0.3,0v-0.1c-0.1,0-0.2,0-0.3,0c0-2.9,0-5.9,0-8.8c0.1,0,0.2,0,0.3,0v-0.1\n\tc-0.1,0-0.2,0-0.3,0l0,0c0.1,0,0.2,0,0.3,0c0-0.2,0-0.4,0-0.6c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3C12.4-14.3,16.9-14.3,21.4-14.3z\n\t M21-4.4L21-4.4c0-0.2,0-0.3,0-0.4c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3l0,0l0,0\n\tc-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3\n\tc-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3l0,0l0,0\n\tc-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.2,0-0.4,0-0.7,0l0,0c0,0.1,0,0.2,0,0.3\n\tc-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.2,0c-0.1,0-0.2,0-0.2,0c-0.1,0-0.1,0-0.2,0c0,0.1,0,0.2,0,0.3\n\tc-0.1,0-0.2,0-0.3,0l0,0c0,0.1,0,0.2,0,0.3c-0.5,0-1,0-1.5,0c0-0.1,0-0.1,0-0.2c0.1,0,0.1,0,0.2,0c-0.1,0-0.1,0-0.2,0v-0.1l0,0v0.1\n\th-0.1v-0.1c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.2,0c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1,0-0.2,0c0-0.1,0-0.2,0-0.3l0,0\n\tl0,0c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c0,0,0,0,0-0.1h-0.1h-0.1H13h-0.1h-0.1h-0.1h-0.1v0.1v0.1v0.1c-0.1,0-0.2,0-0.3,0\n\tc0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.3,0c0,0,0,0,0,0.1c0,0,0,0,0,0.1c0,0,0,0,0,0.1\n\tc0,0,0,0,0,0.1c0,0,0,0,0,0.1c-0.1,0-0.2,0-0.3,0l0,0c0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.3,0l0,0c0,0,0,0,0,0.1s0,0.2,0,0.3\n\tc-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.2,0c-0.1,0-0.2,0-0.2,0c-0.1,0-0.1,0-0.2,0c0,0.1,0,0.2,0,0.3c0,0,0,0,0,0.1\n\tc-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0\n\tc0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.2,0,12.4,0,12.5,0\n\tC21-4.2,21-4.3,21-4.4C21-4.3,21-4.3,21-4.4C21-4.3,21-4.3,21-4.4z M21-13.4c0-0.1,0-0.1,0-0.2c-4.2,0-8.3,0-12.5,0\n\tc0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.3,0c0,0.3,0,0.7,0,1c0.1,0,0.2,0,0.2,0c0.1,0,0.2,0,0.2,0c0.1,0,0.1,0,0.2,0c0,0.1,0,0.2,0,0.3\n\tc0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3l0,0l0,0c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0\n\tc0.1,0,0.1,0,0.2,0c0,0,0,0,0.1,0c0,0.1,0,0.2,0,0.3l0,0c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0l0,0\n\tc0,0.1,0,0.2,0,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0c0,0,0,0,0.1,0c0,0.1,0,0.2,0,0.3l0,0l0,0c0-0.1,0-0.2,0-0.3\n\tc0.1,0,0.1,0,0.2,0c0,0.1,0,0.2,0,0.3l0,0c0.1,0,0.2,0,0.3,0v0.1v0.1v0.1l0,0c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3\n\tc0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.2,0c0.1,0,0.2,0,0.2,0c0.1,0,0.1,0,0.2,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0\n\tc0,0,0,0,0,0.1s0,0.2,0,0.3c0.1,0,0.2,0,0.3,0c0,0,0,0,0.1,0c0,0.1,0,0.2,0,0.3c0.6,0,1.1,0,1.7,0c0-0.1,0-0.2,0-0.3l0,0\n\tc0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3l0,0c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.2,0c0.1,0,0.1,0,0.2,0s0.1,0,0.2,0\n\tc0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0,0,0,0,0-0.1c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0l0,0\n\tc0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.2,0c0.1,0,0.2,0,0.2,0c0.1,0,0.1,0,0.2,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3\n\tc0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.2,0c0.1,0,0.2,0,0.2,0c0.1,0,0.1,0,0.2,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0\n\tc0-0.1,0-0.2,0-0.3l0,0l0,0c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.1,0-0.2h0.1h0.1c0,0.1,0,0.1,0,0.2\n\tl0,0l0,0c0-0.1,0-0.1,0-0.2h0.1l0,0h-0.1v-0.1h0.1c0-0.2,0-0.4,0-0.7c-0.1,0-0.2,0-0.3,0C21-13.3,21-13.3,21-13.4\n\tC21-13.3,21-13.3,21-13.4L21-13.4L21-13.4z M18.3-9.2c0,0.2,0,0.5,0,0.7l0,0h0.1h0.1c0,0,0,0,0.1,0h0.1c0,0.1,0,0.2,0,0.3l0,0\n\tc0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0l0,0l0,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3\n\tc0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3l0,0l0,0c0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3\n\tc0.1,0,0.2,0,0.3,0c0,0.1,0,0.2,0,0.3c0.1,0,0.2,0,0.3,0c0-1.8,0-3.6,0-5.4l0,0c0,0,0,0-0.1,0c0,0,0,0-0.1,0h-0.1h-0.1l0,0\n\tc0,0.1,0,0.2,0,0.3c-0.2,0-0.3,0-0.5,0c-0.1,0-0.1,0-0.2,0c0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3\n\tc-0.1,0-0.2,0-0.3,0l0,0l0,0c0,0.1,0,0.2,0,0.3c-0.1,0-0.2,0-0.2,0c-0.1,0-0.2,0-0.2,0c-0.1,0-0.1,0-0.2,0v0.1v0.1v0.1\n\tc-0.1,0-0.2,0-0.3,0c0,0.1,0,0.2,0,0.3C18.6-9.2,18.4-9.2,18.3-9.2z M8.2-5.8c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3l0,0l0,0\n\tc0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0\n\tc0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3c0.1,0,0.2,0,0.3,0c0-0.1,0-0.2,0-0.3\n\tc0.1,0,0.2,0,0.3,0l0,0c0-0.1,0-0.2,0-0.3s0-0.2,0-0.4c0,0,0,0,0-0.1c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0l0,0\n\tc0-0.1,0-0.1,0-0.2h-0.1v0.1v0.1c0-0.1,0-0.1,0-0.2c-0.1,0-0.2,0-0.2,0h0.1h0.1v-0.1c-0.1,0-0.2,0-0.3,0s-0.1,0-0.2,0\n\tc0-0.1,0-0.2,0-0.3l0,0c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0v-0.1v-0.1v-0.1c-0.1,0-0.2,0-0.2,0\n\tc-0.1,0-0.2,0-0.2,0c-0.1,0-0.1,0-0.2,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0C8.2-9.4,8.2-7.6,8.2-5.8z M10.5-9.9v0.1h0.1\n\tC10.5-9.8,10.5-9.8,10.5-9.9L10.5-9.9z" }, void 0), jsxRuntime.jsxs("g", { children: [jsxRuntime.jsx("path", { d: "M4.8,9.4H2.3C2,9.4,1.8,9.2,1.8,8.8c0-0.3,0.2-0.6,0.5-0.6h2.5c0.3,0,0.5,0.3,0.5,0.6C5.3,9.2,5,9.4,4.8,9.4z" }, void 0), jsxRuntime.jsx("path", { d: "M4.8,12H3.7c-0.3,0-0.5-0.2-0.5-0.5S3.4,11,3.7,11h1.1c0.3,0,0.5,0.2,0.5,0.5S5.1,12,4.8,12z" }, void 0), jsxRuntime.jsx("path", { d: "M4.8,14.6H1.6c-0.3,0-0.5-0.3-0.5-0.6c0-0.3,0.2-0.6,0.5-0.6h3.2c0.3,0,0.5,0.3,0.5,0.6C5.3,14.3,5.1,14.6,4.8,14.6z" }, void 0), jsxRuntime.jsx("path", { d: "M21.3,6.1H8.1c-0.9,0-1.7,0.7-1.7,1.7v8.5c0,0.9,0.7,1.7,1.7,1.7h13.3c0.9,0,1.7-0.7,1.7-1.7V7.8C23,6.9,22.3,6.1,21.3,6.1\n\t\tz M18.4,11.7c1.3-1,2.7-2.1,3.6-2.7v6.4L18.4,11.7z M8.1,7.2h13.3c0.3,0,0.5,0.2,0.6,0.5c-1,0.8-5.4,4.2-7,5.4\n\t\tc-0.2,0.1-0.3,0.1-0.5,0c-1.6-1.2-5.7-4.1-7-5V7.8C7.5,7.4,7.8,7.2,8.1,7.2z M7.5,15.3v-6c0.9,0.6,2.3,1.6,3.6,2.6L7.5,15.3z\n\t\t M8.1,16.8c-0.2,0-0.3-0.1-0.4-0.2l4.3-4.1c0.7,0.5,1.4,1,1.9,1.3c0.3,0.2,0.6,0.3,0.9,0.3s0.6-0.1,0.9-0.3c0.5-0.3,1.2-0.9,2-1.5\n\t\tl4.2,4.3c-0.1,0.1-0.2,0.2-0.4,0.2H8.1z" }, void 0)] }, void 0)] }), void 0));
362
+ };
363
+
353
364
  var Messaging = /*#__PURE__*/Object.freeze({
354
365
  __proto__: null,
355
366
  QuestionCircle: QuestionCircle,
356
367
  Messenger: Messenger,
357
- Comment: Comment
368
+ Comment: Comment,
369
+ Message: Message,
370
+ Mail: Mail
358
371
  });
359
372
 
360
373
  var AppleStore = function (_a) {
@@ -3276,7 +3289,7 @@ exports.InputValidationType = void 0;
3276
3289
  })(exports.InputValidationType || (exports.InputValidationType = {}));
3277
3290
 
3278
3291
  var Section = newStyled.div(templateObject_1$$ || (templateObject_1$$ = __makeTemplateObject(["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"], ["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"])), function (props) {
3279
- return props.type === exports.CardSectionType.Header ? '0.5rem 1.5rem 0' : '0 1.5rem 0.5rem';
3292
+ return props.type === exports.CardSectionType.Header ? '1.5rem 1.5rem 0' : '0 1.5rem 1.5rem';
3280
3293
  });
3281
3294
  var CardHeader = function (_a) {
3282
3295
  var children = _a.children;
@@ -3295,6 +3308,7 @@ var CardBody = function (_a) {
3295
3308
  };
3296
3309
  var templateObject_1$_;
3297
3310
 
3311
+ var IGNORED_KEYS = ['typography', 'fonts'];
3298
3312
  var applyVariablesIntoTheme = function (theme) {
3299
3313
  var variables = {};
3300
3314
  var pending = {};
@@ -3307,6 +3321,11 @@ var applyVariablesIntoTheme = function (theme) {
3307
3321
  }
3308
3322
  variables[key] = variables[valueKey];
3309
3323
  }
3324
+ for (var _i = 0, IGNORED_KEYS_1 = IGNORED_KEYS; _i < IGNORED_KEYS_1.length; _i++) {
3325
+ var key = IGNORED_KEYS_1[_i];
3326
+ // @ts-ignore
3327
+ variables[key] = theme[key];
3328
+ }
3310
3329
  return variablesToObject(variables, {});
3311
3330
  };
3312
3331
  var variablesToObject = function (variables, theme) {
@@ -3334,6 +3353,9 @@ var transformToVariables = function (prefix, variables, theme, pending) {
3334
3353
  /* istanbul ignore next */
3335
3354
  var fullKey = key === '$root' ? prefix : "".concat(prefix, "-").concat(key);
3336
3355
  var value = theme[key];
3356
+ if (IGNORED_KEYS.includes(key)) {
3357
+ continue;
3358
+ }
3337
3359
  if (value == null) {
3338
3360
  continue;
3339
3361
  }
@@ -3468,13 +3490,14 @@ function jsxs(type, props, key) {
3468
3490
  }
3469
3491
 
3470
3492
  var BaseButton = function (_a) {
3471
- var children = _a.children, renderLeading = _a.renderLeading, renderTrailing = _a.renderTrailing, disabled = _a.disabled, _b = _a.type, type = _b === void 0 ? 'button' : _b, onClick = _a.onClick, className = _a.className;
3493
+ var children = _a.children, renderLeading = _a.renderLeading, renderTrailing = _a.renderTrailing, disabled = _a.disabled, _b = _a.type, type = _b === void 0 ? 'button' : _b, onClick = _a.onClick, className = _a.className, inline = _a.inline;
3472
3494
  return (jsxs("button", __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: {
3473
- display: 'flex',
3495
+ display: inline ? 'inherit-flex' : 'flex',
3474
3496
  justifyContent: 'center',
3475
3497
  alignItems: 'center',
3476
3498
  padding: '0.75rem 2rem',
3477
3499
  textDecoration: 'none',
3500
+ textTransform: 'uppercase',
3478
3501
  boxSizing: 'border-box',
3479
3502
  cursor: 'pointer',
3480
3503
  } }, { children: [renderLeading, children, renderTrailing] }), void 0));
@@ -3508,7 +3531,7 @@ var BaseCTA = function (_a) {
3508
3531
  var text = _a.text, onClick = _a.onClick, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.wide, wide = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? exports.ComponentSize.Medium : _d, type = _a.type, className = _a.className;
3509
3532
  var theme = useTheme();
3510
3533
  var stylesBySize = getStylesBySize$9(size, theme);
3511
- return (jsx(BaseButton, __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: __assign(__assign({ width: wide ? '100%' : '' }, stylesBySize), { fontWeight: theme.component.button.fontWeight, borderRadius: "".concat(theme.component.button.borderRadius), cursor: 'pointer', '&:disabled': {
3534
+ return (jsx(BaseButton, __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: __assign(__assign({ width: wide ? '100%' : 'fit-content' }, stylesBySize), { fontWeight: theme.component.button.fontWeight, borderRadius: "".concat(theme.component.button.borderRadius), cursor: 'pointer', '&:disabled': {
3512
3535
  backgroundColor: theme.colors.background.disabled,
3513
3536
  color: theme.colors.text.disabled,
3514
3537
  cursor: 'not-allowed',
@@ -4425,7 +4448,7 @@ function Disclosure(props) {
4425
4448
  } // ---
4426
4449
 
4427
4450
  var DEFAULT_BUTTON_TAG$1 = 'button';
4428
- var Button$6 = /*#__PURE__*/forwardRefWithAs(function Button(props, ref) {
4451
+ var Button$7 = /*#__PURE__*/forwardRefWithAs(function Button(props, ref) {
4429
4452
  var _useDisclosureContext = useDisclosureContext([Disclosure.name, Button.name].join('.')),
4430
4453
  state = _useDisclosureContext[0],
4431
4454
  dispatch = _useDisclosureContext[1];
@@ -4588,7 +4611,7 @@ var Panel = /*#__PURE__*/forwardRefWithAs(function Panel(props, ref) {
4588
4611
  }));
4589
4612
  }); // ---
4590
4613
 
4591
- Disclosure.Button = Button$6;
4614
+ Disclosure.Button = Button$7;
4592
4615
  Disclosure.Panel = Panel;
4593
4616
 
4594
4617
  function disposables() {
@@ -4984,7 +5007,7 @@ function Listbox(props) {
4984
5007
  } // ---
4985
5008
 
4986
5009
  var DEFAULT_BUTTON_TAG = 'button';
4987
- var Button$5 = /*#__PURE__*/forwardRefWithAs(function Button(props, ref) {
5010
+ var Button$6 = /*#__PURE__*/forwardRefWithAs(function Button(props, ref) {
4988
5011
  var _state$optionsRef$cur;
4989
5012
 
4990
5013
  var _useListboxContext = useListboxContext([Listbox.name, Button.name].join('.')),
@@ -5443,7 +5466,7 @@ function Option$2(props) {
5443
5466
  } // ---
5444
5467
 
5445
5468
 
5446
- Listbox.Button = Button$5;
5469
+ Listbox.Button = Button$6;
5447
5470
  Listbox.Label = Label$4;
5448
5471
  Listbox.Options = Options;
5449
5472
  Listbox.Option = Option$2;
@@ -6155,7 +6178,7 @@ var CustomCheckbox = newStyled.div(CustomCheckboxStyles.baseStyles, function (pr
6155
6178
  CustomCheckboxStyles[props.size](props.theme),
6156
6179
  CustomCheckboxStyles[props.variant](props.theme, props.isChecked, props.disabled),
6157
6180
  ]; });
6158
- var Input$3 = newStyled.input(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n position: absolute;\n height: 100%;\n width: 100%;\n margin: 0;\n opacity: 0;\n cursor: ", ";\n"], ["\n position: absolute;\n height: 100%;\n width: 100%;\n margin: 0;\n opacity: 0;\n cursor: ", ";\n"])), function (_a) {
6181
+ var Input$3 = newStyled.input(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n position: absolute;\n height: 100%;\n width: 100%;\n margin: 0;\n opacity: 0;\n cursor: ", ";\n"], ["\n position: absolute;\n height: 100%;\n width: 100%;\n margin: 0;\n opacity: 0;\n cursor: ", ";\n"])), function (_a) {
6159
6182
  var disabled = _a.disabled;
6160
6183
  return (disabled ? 'not-allowed' : 'pointer');
6161
6184
  });
@@ -6181,7 +6204,7 @@ var Checkbox = function (_a) {
6181
6204
  }, []);
6182
6205
  return (jsxRuntime.jsxs(Container$B, { children: [jsxRuntime.jsx(Input$3, { type: "checkbox", checked: isChecked, disabled: disabled, onChange: handleChange, id: id }, void 0), jsxRuntime.jsx(CustomCheckbox, __assign({ theme: theme, size: size, disabled: disabled, isChecked: isChecked, "data-testid": "checkbox", variant: variant }, { children: isChecked && jsxRuntime.jsx(Icon.Actions.Check, { fill: "#fff" }, void 0) }), void 0), jsxRuntime.jsx(Label$2, __assign({ "data-testid": "checkbox-text", size: size, variant: isChecked ? 'demi' : 'regular', htmlFor: id, disabled: disabled }, { children: text }), void 0)] }, void 0));
6183
6206
  };
6184
- var templateObject_1$X, templateObject_2$D;
6207
+ var templateObject_1$X, templateObject_2$C;
6185
6208
 
6186
6209
  var CustomOption = newStyled.li(function (_a) {
6187
6210
  var theme = _a.theme, selected = _a.selected, active = _a.active;
@@ -6299,19 +6322,150 @@ var SelectorSecondary = function (_a) {
6299
6322
  } }) }, void 0));
6300
6323
  };
6301
6324
 
6302
- var ButtonsContainer = newStyled.div(templateObject_1$W || (templateObject_1$W = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"], ["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"])));
6303
- var SizeParagraph = newStyled.p(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n margin: 0 0 0.63rem 0;\n font-size: 0.88rem;\n"], ["\n margin: 0 0 0.63rem 0;\n font-size: 0.88rem;\n"])));
6325
+ // This defines which HTML tag to render for each `variant`, it also defines
6326
+ // `variants` styles that are consistent through all themes.
6327
+ var TAGS = {
6328
+ hero1: newStyled.h1(templateObject_1$W || (templateObject_1$W = __makeTemplateObject([""], [""]))),
6329
+ hero2: newStyled.h2(templateObject_2$B || (templateObject_2$B = __makeTemplateObject([""], [""]))),
6330
+ hero3: newStyled.h3(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([""], [""]))),
6331
+ display1: newStyled.h1(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([""], [""]))),
6332
+ display2: newStyled.h2(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([""], [""]))),
6333
+ heading1: newStyled.h1(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([""], [""]))),
6334
+ heading2: newStyled.h2(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([""], [""]))),
6335
+ heading3: newStyled.h3(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject([""], [""]))),
6336
+ heading4: newStyled.h4(templateObject_9 || (templateObject_9 = __makeTemplateObject([""], [""]))),
6337
+ heading5: newStyled.h5(templateObject_10 || (templateObject_10 = __makeTemplateObject([""], [""]))),
6338
+ heading6: newStyled.h6(templateObject_11 || (templateObject_11 = __makeTemplateObject([""], [""]))),
6339
+ body: newStyled.p(templateObject_12 || (templateObject_12 = __makeTemplateObject([""], [""]))),
6340
+ link: newStyled.a(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n cursor: pointer;\n color: inherit;\n text-decoration: ", ";\n "], ["\n cursor: pointer;\n color: inherit;\n text-decoration: ", ";\n "])), function (props) { return (props.underline ? 'underline' : 'none'); }),
6341
+ button: newStyled.span(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "]))),
6342
+ pricing: newStyled.span(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: inline-block;\n font-weight: ", ";\n text-decoration: ", ";\n "], ["\n display: inline-block;\n font-weight: ", ";\n text-decoration: ", ";\n "])), function (props) { return (props.original ? 'normal' : 'bold'); }, function (props) { return (props.original ? 'line-through' : 'bold'); }),
6343
+ label: newStyled.label(templateObject_16 || (templateObject_16 = __makeTemplateObject([""], [""]))),
6344
+ tag: newStyled.span(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: inline-block;\n text-transform: ", ";\n "], ["\n display: inline-block;\n text-transform: ", ";\n "])), function (props) { return (props.allCaps ? 'uppercase' : ''); }),
6345
+ };
6346
+ var Text$3 = function (_a) {
6347
+ var variant = _a.variant, children = _a.children, allProps = __rest(_a, ["variant", "children"]);
6348
+ var theme = useTheme();
6349
+ var Tag = React.useMemo(function () { return TAGS[variant] || 'p'; }, [variant]);
6350
+ var _b = React.useMemo(function () {
6351
+ var _a;
6352
+ return (__assign(__assign({}, ((_a = DEFAULTS === null || DEFAULTS === void 0 ? void 0 : DEFAULTS[variant]) !== null && _a !== void 0 ? _a : {})), allProps));
6353
+ }, [variant, allProps]), size = _b.size, weight = _b.weight, props = __rest(_b, ["size", "weight"]);
6354
+ var commonCSS = React.useMemo(function () {
6355
+ var _a, _b;
6356
+ // These are the common style inside a `variant`.
6357
+ // E.g.: Common styles for all "button".
6358
+ var variantstyle = (_a = theme.typography.variants[variant]) !== null && _a !== void 0 ? _a : {
6359
+ fontSize: 14,
6360
+ lineHeight: 1,
6361
+ };
6362
+ // This allow us to define different styles for different `sizes` inside a `variant`
6363
+ // E.g.: "button-small", "button-regular"
6364
+ //
6365
+ // We use .filter(Boolean) to ignore the `size` on the `variants` that don't have it.
6366
+ // E.g.: "hero1", "display1"
6367
+ var variantName = [variant, size].filter(Boolean).join('-');
6368
+ // These are styles specific to `variation-size`.
6369
+ var variantSizeStyle = (_b = theme.typography.variants[variantName]) !== null && _b !== void 0 ? _b : {};
6370
+ var style = __assign(__assign({ margin: 0, color: theme.colors.text.color }, variantstyle), variantSizeStyle);
6371
+ if (weight) {
6372
+ style.fontWeight = theme.typography.config.weight[weight];
6373
+ }
6374
+ if (props.disabled) {
6375
+ style.opacity = 0.5;
6376
+ style.cursor = 'not-allowed';
6377
+ style.color = theme.colors.text.disabled;
6378
+ }
6379
+ return style;
6380
+ }, [theme, variant, weight, size, props.disabled]);
6381
+ // This is to make TS happy, because `href` doesn't exists on other `variants`
6382
+ var propsHref = props.href;
6383
+ var href = React.useMemo(function () {
6384
+ // We could use `pointer-events: none` but it prevents us from using
6385
+ // `cursor: not-allowed`, so we're changing the `href` for `disabled` links.
6386
+ if (propsHref != null && props.disabled) {
6387
+ return 'javascript:void(0)';
6388
+ }
6389
+ return propsHref;
6390
+ }, [props.disabled, propsHref]);
6391
+ return (jsx(Tag, __assign({}, props, { css: commonCSS, href: href }, { children: children }), void 0));
6392
+ };
6393
+ var DEFAULTS = {
6394
+ heading1: {
6395
+ weight: 'bold',
6396
+ },
6397
+ heading2: {
6398
+ weight: 'bold',
6399
+ },
6400
+ heading3: {
6401
+ weight: 'bold',
6402
+ },
6403
+ heading4: {
6404
+ weight: 'bold',
6405
+ },
6406
+ heading5: {
6407
+ weight: 'bold',
6408
+ },
6409
+ heading6: {
6410
+ weight: 'bold',
6411
+ },
6412
+ hero1: {
6413
+ weight: 'heavy',
6414
+ },
6415
+ hero2: {
6416
+ weight: 'heavy',
6417
+ },
6418
+ hero3: {
6419
+ weight: 'heavy',
6420
+ },
6421
+ display1: {
6422
+ weight: 'bold',
6423
+ },
6424
+ display2: {
6425
+ weight: 'bold',
6426
+ },
6427
+ body: {
6428
+ size: 'regular',
6429
+ weight: 'regular',
6430
+ },
6431
+ button: {
6432
+ size: 'regular',
6433
+ weight: 'bold',
6434
+ },
6435
+ tag: {
6436
+ size: 'regular',
6437
+ weight: 'regular',
6438
+ },
6439
+ label: {
6440
+ size: 'regular',
6441
+ weight: 'regular',
6442
+ },
6443
+ link: {
6444
+ size: 'regular',
6445
+ weight: 'regular',
6446
+ },
6447
+ pricing: {
6448
+ size: 'regular',
6449
+ },
6450
+ };
6451
+ var templateObject_1$W, templateObject_2$B, templateObject_3$n, templateObject_4$c, templateObject_5$7, templateObject_6$5, templateObject_7$3, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
6452
+
6453
+ var ButtonsContainer = newStyled.div(templateObject_1$V || (templateObject_1$V = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"], ["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"])));
6304
6454
  var SizeSelector = function (_a) {
6305
- var sizes = _a.sizes, selectedValue = _a.selectedValue, onChange = _a.onChange;
6306
- return (jsxs("div", { children: [jsxs(SizeParagraph, { children: ["Size: ", jsx("span", __assign({ css: { fontWeight: 600 } }, { children: selectedValue.description }), void 0)] }, void 0), jsx(ButtonsContainer, { children: sizes.map(function (size) {
6455
+ var label = _a.label, sizes = _a.sizes, selectedValue = _a.selectedValue, onChange = _a.onChange, _b = _a.inline, inline = _b === void 0 ? false : _b;
6456
+ return (jsxs("div", __assign({ css: {
6457
+ display: 'flex',
6458
+ flexDirection: inline ? 'row' : 'column',
6459
+ alignItems: inline ? 'center' : 'start',
6460
+ } }, { children: [jsxs(Text$3, __assign({ variant: "body", weight: "regular", size: "small" }, { children: [label, !inline && (jsx(Text$3, __assign({ variant: "label", weight: "demi", size: "regular" }, { children: selectedValue.description }), void 0))] }), void 0), jsx(ButtonsContainer, { children: sizes.map(function (size) {
6307
6461
  var active = !size.disabled && size.label === selectedValue.label;
6308
6462
  return (jsx(SelectorSecondary, { css: {
6309
6463
  padding: '0.75rem 1rem 0.625rem',
6310
- margin: '0 0.5rem 0.5rem 0',
6464
+ margin: '0.5rem',
6311
6465
  }, size: exports.ComponentSize.Medium, text: size.label, active: active, disabled: size.disabled, onClick: function () { return onChange(size); } }, size.label));
6312
- }) }, void 0)] }, void 0));
6466
+ }) }, void 0)] }), void 0));
6313
6467
  };
6314
- var templateObject_1$W, templateObject_2$C;
6468
+ var templateObject_1$V;
6315
6469
 
6316
6470
  var getStylesBySize$7 = function (size) {
6317
6471
  switch (size) {
@@ -6340,7 +6494,7 @@ var textButtonStyles$1 = function (theme, size) {
6340
6494
  } });
6341
6495
  };
6342
6496
  var withContainer = function (iconFill, isLeading, Icon) {
6343
- return Icon && (jsx("span", __assign({ css: css(templateObject_1$V || (templateObject_1$V = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n "], ["\n display: flex;\n align-items: center;\n ", "\n "])), isLeading ? 'margin-right: 5px' : 'margin-left: 5px') }, { children: jsx(Icon, { width: 1.25, height: 1.25, fill: iconFill }, void 0) }), void 0));
6497
+ return Icon && (jsx("span", __assign({ css: css(templateObject_1$U || (templateObject_1$U = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n "], ["\n display: flex;\n align-items: center;\n ", "\n "])), isLeading ? 'margin-right: 5px' : 'margin-left: 5px') }, { children: jsx(Icon, { width: 1.25, height: 1.25, fill: iconFill }, void 0) }), void 0));
6344
6498
  };
6345
6499
  var getIconFill = function (theme, disabled, iconColor) {
6346
6500
  if (disabled)
@@ -6356,16 +6510,16 @@ var TextButton = function (_a) {
6356
6510
  var iconFill = getIconFill(theme, disabled, iconColor);
6357
6511
  return (jsx(BaseButton, __assign({ renderLeading: withContainer(iconFill, true, LeadingIcon), renderTrailing: withContainer(iconFill, false, TrailingIcon), disabled: disabled, type: type, onClick: onClick, css: textButtonStyles$1(theme, size) }, { children: text }), void 0));
6358
6512
  };
6359
- var templateObject_1$V;
6513
+ var templateObject_1$U;
6360
6514
 
6361
- var Container$A = newStyled.div(templateObject_1$U || (templateObject_1$U = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"], ["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"])));
6362
- var P$2 = newStyled.p(templateObject_2$B || (templateObject_2$B = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
6363
- var PercentageSpan = newStyled.span(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n font-weight: 700;\n text-decoration-line: underline;\n"], ["\n font-weight: 700;\n text-decoration-line: underline;\n"])));
6515
+ var Container$A = newStyled.div(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"], ["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"])));
6516
+ var P$2 = newStyled.p(templateObject_2$A || (templateObject_2$A = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
6517
+ var PercentageSpan = newStyled.span(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n font-weight: 700;\n text-decoration-line: underline;\n"], ["\n font-weight: 700;\n text-decoration-line: underline;\n"])));
6364
6518
  var SizeFitGuide = function (_a) {
6365
6519
  var title = _a.title, fitPercentageLabel = _a.fitPercentageLabel, fitPercentage = _a.fitPercentage, onClick = _a.onClick;
6366
6520
  return (jsxRuntime.jsxs(Container$A, { children: [jsxRuntime.jsx(TextButton, { LeadingIcon: Icon.PDP.Rule, size: exports.ComponentSize.Small, text: title, onClick: onClick }, void 0), jsxRuntime.jsxs(P$2, { children: [fitPercentageLabel, " ", jsxRuntime.jsxs(PercentageSpan, { children: [fitPercentage, "%"] }, void 0)] }, void 0)] }, void 0));
6367
6521
  };
6368
- var templateObject_1$U, templateObject_2$B, templateObject_3$n;
6522
+ var templateObject_1$T, templateObject_2$A, templateObject_3$m;
6369
6523
 
6370
6524
  var getStylesBySize$6 = function (size) {
6371
6525
  switch (size) {
@@ -6395,7 +6549,7 @@ var getStylesBySize$6 = function (size) {
6395
6549
  };
6396
6550
  }
6397
6551
  };
6398
- var Container$z = newStyled.div(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"])), function (_a) {
6552
+ var Container$z = newStyled.div(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"])), function (_a) {
6399
6553
  var backgroundColor = _a.backgroundColor;
6400
6554
  return backgroundColor;
6401
6555
  }, function (_a) {
@@ -6417,7 +6571,7 @@ var Container$z = newStyled.div(templateObject_1$T || (templateObject_1$T = __ma
6417
6571
  var size = _a.size;
6418
6572
  return (_b = getStylesBySize$6(size)) === null || _b === void 0 ? void 0 : _b.height;
6419
6573
  });
6420
- var H3$2 = newStyled.h3(templateObject_2$A || (templateObject_2$A = __makeTemplateObject(["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"], ["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"])), function (_a) {
6574
+ var H3$2 = newStyled.h3(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"], ["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"])), function (_a) {
6421
6575
  var textColor = _a.textColor;
6422
6576
  return textColor;
6423
6577
  }, function (_a) {
@@ -6434,7 +6588,7 @@ var DiscountTag = function (_a) {
6434
6588
  var theme = useTheme();
6435
6589
  return (jsxRuntime.jsx(Container$z, __assign({ backgroundColor: disabled ? theme.colors.shades['50'].color : backgroundColor, borderColor: disabled ? theme.colors.shades['50'].color : borderColor, size: size, "data-testid": "discount-container" }, { children: jsxRuntime.jsxs(H3$2, __assign({ textColor: disabled ? theme.colors.shades['250'].color : textColor, size: size }, { children: [discount, "% ", offText] }), void 0) }), void 0));
6436
6590
  };
6437
- var templateObject_1$T, templateObject_2$A;
6591
+ var templateObject_1$S, templateObject_2$z;
6438
6592
 
6439
6593
  var getStylesBySize$5 = function (size) {
6440
6594
  switch (size) {
@@ -6458,8 +6612,8 @@ var getStylesBySize$5 = function (size) {
6458
6612
  };
6459
6613
  }
6460
6614
  };
6461
- var Container$y = newStyled.div(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6462
- var Price = newStyled.h1(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"], ["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"])), function (_a) {
6615
+ var Container$y = newStyled.div(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6616
+ var Price = newStyled.h1(templateObject_2$y || (templateObject_2$y = __makeTemplateObject(["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"], ["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"])), function (_a) {
6463
6617
  var weight = _a.weight;
6464
6618
  return (weight ? weight : '400');
6465
6619
  }, function (_a) {
@@ -6481,7 +6635,7 @@ var Price = newStyled.h1(templateObject_2$z || (templateObject_2$z = __makeTempl
6481
6635
  var margin = _a.margin, size = _a.size;
6482
6636
  return (margin ? (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.margin : '0');
6483
6637
  });
6484
- var TagContainer = newStyled.h1(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n margin: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: ", ";\n display: flex;\n align-items: center;\n"])), function (_a) {
6638
+ var TagContainer = newStyled.h1(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n margin: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: ", ";\n display: flex;\n align-items: center;\n"])), function (_a) {
6485
6639
  var _b;
6486
6640
  var size = _a.size;
6487
6641
  return (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.margin;
@@ -6491,7 +6645,7 @@ var PriceLabel = function (_a) {
6491
6645
  var theme = useTheme();
6492
6646
  return (jsxRuntime.jsxs(Container$y, { children: [jsxRuntime.jsx(Price, __assign({ size: size, color: color || theme.colors.pallete.secondary.color, weight: 700, "data-testid": "price" }, { children: finalPrice }), void 0), originalPrice && (jsxRuntime.jsx(Price, __assign({ size: size, color: theme.colors.shades['400'].color, margin: true, underlined: true, "data-testid": "discount" }, { children: originalPrice }), void 0)), discount && (jsxRuntime.jsx(TagContainer, __assign({ size: size }, { children: jsxRuntime.jsx(DiscountTag, __assign({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
6493
6647
  };
6494
- var templateObject_1$S, templateObject_2$z, templateObject_3$m;
6648
+ var templateObject_1$R, templateObject_2$y, templateObject_3$l;
6495
6649
 
6496
6650
  var OneColorSelector = function (_a) {
6497
6651
  var color = _a.color, selected = _a.selected, dataTestId = _a.dataTestId;
@@ -6530,69 +6684,55 @@ var OutOfStock = function (_a) {
6530
6684
  return (jsxRuntime.jsxs("svg", __assign({ width: "32", height: "33", viewBox: "0 0 32 33", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsxRuntime.jsx("title", { children: title }, void 0), jsxRuntime.jsx("mask", __assign({ id: "path-1-inside-1", fill: "white" }, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.89435 9.60565C8.40619 10.0938 8.40619 10.8853 8.89435 11.3734L14.0209 16.5L8.89433 21.6266C8.40617 22.1147 8.40617 22.9062 8.89433 23.3943C9.38248 23.8825 10.1739 23.8825 10.6621 23.3943L15.7887 18.2677L21.2687 23.7478C21.7569 24.2359 22.5483 24.2359 23.0365 23.7478C23.5246 23.2596 23.5246 22.4682 23.0365 21.98L17.5564 16.5L23.0365 11.02C23.5246 10.5318 23.5246 9.74035 23.0365 9.25219C22.5483 8.76404 21.7568 8.76404 21.2687 9.25219L15.7887 14.7322L10.6621 9.60565C10.174 9.1175 9.3825 9.1175 8.89435 9.60565Z" }, void 0) }), void 0), jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.89435 9.60565C8.40619 10.0938 8.40619 10.8853 8.89435 11.3734L14.0209 16.5L8.89433 21.6266C8.40617 22.1147 8.40617 22.9062 8.89433 23.3943C9.38248 23.8825 10.1739 23.8825 10.6621 23.3943L15.7887 18.2677L21.2687 23.7478C21.7569 24.2359 22.5483 24.2359 23.0365 23.7478C23.5246 23.2596 23.5246 22.4682 23.0365 21.98L17.5564 16.5L23.0365 11.02C23.5246 10.5318 23.5246 9.74035 23.0365 9.25219C22.5483 8.76404 21.7568 8.76404 21.2687 9.25219L15.7887 14.7322L10.6621 9.60565C10.174 9.1175 9.3825 9.1175 8.89435 9.60565Z", fill: theme.colors.shades['300'].color }, void 0), jsxRuntime.jsx("path", { d: "M14.0209 16.5L14.5866 17.0657L15.1523 16.5L14.5866 15.9343L14.0209 16.5ZM8.89433 21.6266L9.46001 22.1922L8.89433 21.6266ZM10.6621 23.3943L11.2278 23.96L10.6621 23.3943ZM15.7887 18.2677L16.3544 17.7021L15.7887 17.1364L15.223 17.7021L15.7887 18.2677ZM17.5564 16.5L16.9908 15.9343L16.4251 16.5L16.9908 17.0657L17.5564 16.5ZM23.0365 11.02L23.6021 11.5856L23.0365 11.02ZM21.2687 9.25219L21.8344 9.81788L21.2687 9.25219ZM15.7887 14.7322L15.223 15.2979L15.7887 15.8636L16.3544 15.2979L15.7887 14.7322ZM9.46003 10.8077C9.2843 10.632 9.2843 10.3471 9.46003 10.1713L8.32866 9.03997C7.52809 9.84054 7.52809 11.1385 8.32866 11.9391L9.46003 10.8077ZM14.5866 15.9343L9.46003 10.8077L8.32866 11.9391L13.4552 17.0657L14.5866 15.9343ZM9.46001 22.1922L14.5866 17.0657L13.4552 15.9343L8.32864 21.0609L9.46001 22.1922ZM9.46001 22.8286C9.28428 22.6529 9.28428 22.368 9.46001 22.1922L8.32864 21.0609C7.52807 21.8614 7.52807 23.1594 8.32864 23.96L9.46001 22.8286ZM10.0964 22.8286C9.92067 23.0044 9.63575 23.0044 9.46001 22.8286L8.32864 23.96C9.12922 24.7606 10.4272 24.7606 11.2278 23.96L10.0964 22.8286ZM15.223 17.7021L10.0964 22.8286L11.2278 23.96L16.3544 18.8334L15.223 17.7021ZM21.8344 23.1821L16.3544 17.7021L15.223 18.8334L20.703 24.3135L21.8344 23.1821ZM22.4708 23.1821C22.2951 23.3578 22.0101 23.3578 21.8344 23.1821L20.703 24.3135C21.5036 25.114 22.8016 25.114 23.6022 24.3135L22.4708 23.1821ZM22.4708 22.5457C22.6465 22.7214 22.6465 23.0064 22.4708 23.1821L23.6022 24.3135C24.4027 23.5129 24.4027 22.2149 23.6022 21.4143L22.4708 22.5457ZM16.9908 17.0657L22.4708 22.5457L23.6022 21.4143L18.1221 15.9343L16.9908 17.0657ZM22.4708 10.4543L16.9908 15.9343L18.1221 17.0657L23.6021 11.5856L22.4708 10.4543ZM22.4708 9.81788C22.6465 9.99361 22.6465 10.2785 22.4708 10.4543L23.6021 11.5856C24.4027 10.7851 24.4027 9.48708 23.6021 8.68651L22.4708 9.81788ZM21.8344 9.81788C22.0101 9.64214 22.295 9.64214 22.4708 9.81788L23.6021 8.68651C22.8016 7.88593 21.5036 7.88593 20.703 8.68651L21.8344 9.81788ZM16.3544 15.2979L21.8344 9.81788L20.703 8.68651L15.223 14.1665L16.3544 15.2979ZM10.0964 10.1713L15.223 15.2979L16.3544 14.1665L11.2278 9.03997L10.0964 10.1713ZM9.46003 10.1713C9.63577 9.9956 9.92069 9.9956 10.0964 10.1713L11.2278 9.03997C10.4272 8.23939 9.12924 8.23939 8.32866 9.03997L9.46003 10.1713Z", fill: "white", mask: "url(#path-1-inside-1)" }, void 0), jsxRuntime.jsx("circle", { cx: "16", cy: "16.5", r: "12", stroke: theme.colors.shades['300'].color, strokeWidth: "0.5" }, void 0)] }), void 0));
6531
6685
  };
6532
6686
 
6533
- var CustomRadioGroup = newStyled(RadioGroup)(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
6534
- var CustomRadioGroupLabel = newStyled(RadioGroup.Label)(templateObject_2$y || (templateObject_2$y = __makeTemplateObject(["\n font-size: 0.88rem;\n"], ["\n font-size: 0.88rem;\n"])));
6535
- var CustomRadioGroupOption = newStyled(RadioGroup.Option)(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n margin-right: 1rem;\n\n svg {\n cursor: pointer;\n }\n"], ["\n margin-right: 1rem;\n\n svg {\n cursor: pointer;\n }\n"])));
6536
- var Span = newStyled.span(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n font-weight: 600;\n"], ["\n font-weight: 600;\n"])));
6537
- var OptionsContainer = newStyled.div(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n display: flex;\n margin-top: 0.63rem;\n"], ["\n display: flex;\n margin-top: 0.63rem;\n"])));
6687
+ var CustomRadioGroup = newStyled(RadioGroup)(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
6688
+ newStyled(RadioGroup.Label)(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n font-size: 0.88rem;\n"], ["\n font-size: 0.88rem;\n"])));
6689
+ var CustomRadioGroupOption = newStyled(RadioGroup.Option)(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n margin-right: 1rem;\n\n svg {\n cursor: pointer;\n }\n"], ["\n margin-right: 1rem;\n\n svg {\n cursor: pointer;\n }\n"])));
6690
+ var Span = newStyled.span(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n font-weight: 600;\n"], ["\n font-weight: 600;\n"])));
6691
+ var OptionsContainer = newStyled.div(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n display: flex;\n margin-top: 0.63rem;\n flex-wrap: wrap;\n"], ["\n display: flex;\n margin-top: 0.63rem;\n flex-wrap: wrap;\n"])));
6538
6692
  var Label$1 = function (_a) {
6539
6693
  var label = _a.label, values = _a.values;
6540
- return (jsxRuntime.jsxs(CustomRadioGroupLabel, { children: [label, " ", jsxRuntime.jsx(Span, { children: values }, void 0)] }, void 0));
6694
+ return (jsxRuntime.jsxs(Text$3, __assign({ variant: "body", weight: "regular", size: "small" }, { children: [label, " ", jsxRuntime.jsx(Span, { children: values }, void 0)] }), void 0));
6541
6695
  };
6542
6696
  var Option = function (_a) {
6543
6697
  var value = _a.value, children = _a.children;
6544
6698
  return (jsxRuntime.jsx(CustomRadioGroupOption, __assign({ value: value }, { children: children }), void 0));
6545
6699
  };
6546
6700
  var ColorRadioGroup = function (_a) {
6547
- var value = _a.value, onChange = _a.onChange, children = _a.children;
6548
- return (jsxRuntime.jsx(CustomRadioGroup, __assign({ value: value, onChange: onChange }, { children: children }), void 0));
6701
+ var value = _a.value, onChange = _a.onChange, children = _a.children, className = _a.className;
6702
+ return (jsxRuntime.jsx(CustomRadioGroup, __assign({ value: value, onChange: onChange, className: className }, { children: children }), void 0));
6549
6703
  };
6550
6704
  var ColorRadioGroup$1 = Object.assign(ColorRadioGroup, {
6551
6705
  Label: Label$1,
6552
6706
  Option: Option,
6553
6707
  OptionsContainer: OptionsContainer,
6554
6708
  });
6555
- var templateObject_1$R, templateObject_2$y, templateObject_3$l, templateObject_4$e, templateObject_5$7;
6709
+ var templateObject_1$Q, templateObject_2$x, templateObject_3$k, templateObject_4$b, templateObject_5$6;
6556
6710
 
6557
- var Container$x = newStyled.div(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject(["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"], ["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"])), function (_a) {
6711
+ var Container$x = newStyled.div(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"], ["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"])), function (_a) {
6558
6712
  var borderColor = _a.borderColor;
6559
6713
  return borderColor;
6560
6714
  });
6561
- var Image$4 = newStyled.img(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"], ["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"])));
6715
+ var Image$2 = newStyled.img(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"], ["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"])));
6562
6716
  var PatternSelector = function (_a) {
6563
6717
  var url = _a.url, selected = _a.selected, dataTestId = _a.dataTestId;
6564
6718
  var theme = useTheme();
6565
6719
  var outerBorder = selected ? theme.colors.shades['550'].color : 'transparent';
6566
- return (jsxRuntime.jsx(Container$x, __assign({ "data-testid": dataTestId, borderColor: outerBorder }, { children: jsxRuntime.jsx(Image$4, { src: url, alt: "pattern" }, void 0) }), void 0));
6720
+ return (jsxRuntime.jsx(Container$x, __assign({ "data-testid": dataTestId, borderColor: outerBorder }, { children: jsxRuntime.jsx(Image$2, { src: url, alt: "pattern" }, void 0) }), void 0));
6567
6721
  };
6568
- var templateObject_1$Q, templateObject_2$x;
6722
+ var templateObject_1$P, templateObject_2$w;
6569
6723
 
6570
6724
  var renderOptions$1 = function (options) {
6571
6725
  if (options.length)
6572
- return options.map(function (option) { return (jsxRuntime.jsx(ColorRadioGroup$1.Option, __assign({ value: option }, { children: function (_a) {
6726
+ return options.map(function (option) { return (jsx(ColorRadioGroup$1.Option, __assign({ value: option }, { children: function (_a) {
6573
6727
  var checked = _a.checked;
6574
- return option.color ? (jsxRuntime.jsx(ColorSelector, __assign({}, option.color, { selected: checked, dataTestId: "".concat(option.label, "-selector") }), void 0)) : (option.pattern && jsxRuntime.jsx(PatternSelector, { url: option.pattern.url, selected: checked }, void 0));
6728
+ return option.color ? (jsx(ColorSelector, __assign({}, option.color, { selected: checked, dataTestId: "".concat(option.label, "-selector") }), void 0)) : (option.pattern && jsx(PatternSelector, { url: option.pattern.url, selected: checked }, void 0));
6575
6729
  } }), option.label)); });
6576
6730
  else
6577
- return jsxRuntime.jsx(OutOfStock, { title: "out of stock color" }, void 0);
6578
- };
6579
- var getInitialValue$1 = function (options, selectedValue) {
6580
- if (selectedValue && options.includes(selectedValue))
6581
- return selectedValue;
6582
- else if (selectedValue)
6583
- return options[0];
6584
- else
6585
- ;
6731
+ return jsx(OutOfStock, { title: "out of stock color" }, void 0);
6586
6732
  };
6587
6733
  var SingleColorPicker = function (_a) {
6588
- var options = _a.options, selectedValue = _a.selectedValue, label = _a.label, onChange = _a.onChange;
6589
- var initialValue = getInitialValue$1(options, selectedValue);
6590
- var _b = React.useState(initialValue), selectedColor = _b[0], setSelectedColor = _b[1];
6591
- var onChangeHandler = function (selectedOption) {
6592
- setSelectedColor(selectedOption);
6593
- onChange(selectedOption);
6594
- };
6595
- return (jsxRuntime.jsxs(ColorRadioGroup$1, __assign({ value: selectedColor, onChange: onChangeHandler }, { children: [jsxRuntime.jsx(ColorRadioGroup$1.Label, { label: label, values: selectedColor && selectedColor.label }, void 0), jsxRuntime.jsx(ColorRadioGroup$1.OptionsContainer, { children: renderOptions$1(options) }, void 0)] }), void 0));
6734
+ var options = _a.options, selectedValue = _a.selectedValue, label = _a.label, onChange = _a.onChange, _b = _a.inline, inline = _b === void 0 ? false : _b;
6735
+ return (jsxs(ColorRadioGroup$1, __assign({ value: selectedValue, onChange: onChange, css: { flexDirection: inline ? 'row' : 'column', alignItems: inline ? 'center' : 'start' } }, { children: [jsx(ColorRadioGroup$1.Label, { label: label, values: selectedValue && !inline ? selectedValue.label : undefined }, void 0), jsx(ColorRadioGroup$1.OptionsContainer, __assign({ css: { marginTop: inline ? '0' : '0.63rem', marginLeft: inline ? '1.5rem' : '0' }, "data-testid": "radio-group-options-container" }, { children: renderOptions$1(options) }), void 0)] }), void 0));
6596
6736
  };
6597
6737
 
6598
6738
  var renderOptions = function (selectedColor, options) {
@@ -6631,38 +6771,44 @@ var MultiColorPicker = function (_a) {
6631
6771
  return (jsxRuntime.jsxs(ColorRadioGroup$1, __assign({ value: selectedColor, onChange: onChangeHandler }, { children: [jsxRuntime.jsx(ColorRadioGroup$1.Label, { label: label, values: valueLabels }, void 0), jsxRuntime.jsx(ColorRadioGroup$1.OptionsContainer, { children: renderOptions(selectedColor, options) }, void 0)] }), void 0));
6632
6772
  };
6633
6773
 
6634
- var Image$3 = newStyled.img(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"], ["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"])), function (_a) {
6774
+ var Image$1 = newStyled.img(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"], ["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"])), function (_a) {
6635
6775
  var selected = _a.selected, theme = _a.theme;
6636
6776
  return selected ? "0.063rem solid ".concat(theme.colors.shades['700'].color) : 'inherit';
6637
6777
  });
6638
6778
  var ImageSmallPreview = function (_a) {
6639
6779
  var imageUrl = _a.imageUrl, alt = _a.alt, _b = _a.selected, selected = _b === void 0 ? false : _b, className = _a.className;
6640
6780
  var theme = useTheme();
6641
- return jsxRuntime.jsx(Image$3, { className: className, src: imageUrl, alt: alt, selected: selected, theme: theme }, void 0);
6781
+ return jsxRuntime.jsx(Image$1, { className: className, src: imageUrl, alt: alt, selected: selected, theme: theme }, void 0);
6642
6782
  };
6643
- var templateObject_1$P;
6783
+ var templateObject_1$O;
6644
6784
 
6645
- var Container$w = newStyled.div(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n padding-right: 1.25rem;\n overflow: auto;\n"], ["\n display: flex;\n flex-direction: column;\n padding-right: 1.25rem;\n overflow: auto;\n"])));
6646
- var Button$4 = newStyled.button(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"], ["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"])));
6785
+ var Container$w = newStyled.div(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n grid-row-gap: 20px;\n display: grid;\n max-height: 45rem;\n height: min-content;\n overflow: auto;\n align-items: flex-start;\n"], ["\n grid-row-gap: 20px;\n display: grid;\n max-height: 45rem;\n height: min-content;\n overflow: auto;\n align-items: flex-start;\n"])));
6786
+ var Button$5 = newStyled.button(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"], ["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"])));
6647
6787
  var ImagePreviewList = function (_a) {
6648
6788
  var images = _a.images, selectedImage = _a.selectedImage, onClick = _a.onClick, dataTestId = _a.dataTestId;
6649
- return (jsx(Container$w, __assign({ "data-testid": dataTestId }, { children: images.map(function (item) {
6650
- return (jsx(Button$4, __assign({ onClick: function () { return onClick(item); } }, { children: jsx(ImageSmallPreview, { css: { marginBottom: '1.25rem' }, imageUrl: item.imageUrl, alt: item.alt, selected: item.key === selectedImage.key }, void 0) }), item.key));
6789
+ return (jsxRuntime.jsx(Container$w, __assign({ "data-testid": dataTestId }, { children: images.map(function (item) {
6790
+ return (jsxRuntime.jsx(Button$5, __assign({ onClick: function () { return onClick(item); } }, { children: jsxRuntime.jsx(ImageSmallPreview, { imageUrl: item.imageUrl, alt: item.alt, selected: item.key === selectedImage.key }, void 0) }), item.key));
6651
6791
  }) }), void 0));
6652
6792
  };
6653
- var templateObject_1$O, templateObject_2$w;
6793
+ var templateObject_1$N, templateObject_2$v;
6654
6794
 
6655
- var Container$v = newStyled.div(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n position: relative;\n max-height: 45rem;\n max-width: 33.125rem;\n"], ["\n position: relative;\n max-height: 45rem;\n max-width: 33.125rem;\n"])));
6656
- var Image$2 = newStyled.img(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
6657
- var TopTagContainer$1 = newStyled.div(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n"])));
6658
- var BottomTagContainer$1 = newStyled.div(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"], ["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));
6795
+ var Img = newStyled.img(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"], ["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"])), function (props) { return props.height; }, function (props) { return props.width; }, function (props) { return props.borderRadius; }, function (props) { return props.objectFit; }, function (props) { return props.objectPosition; });
6796
+ var Image = function (_a) {
6797
+ var src = _a.src, alt = _a.alt, height = _a.height, width = _a.width, borderRadius = _a.borderRadius, objectFit = _a.objectFit, objectPosition = _a.objectPosition, className = _a.className;
6798
+ return (jsxRuntime.jsx(Img, { src: src, alt: alt, height: height, width: width, borderRadius: borderRadius, objectFit: objectFit, objectPosition: objectPosition, className: className }, void 0));
6799
+ };
6800
+ var templateObject_1$M;
6801
+
6802
+ var Container$v = newStyled.div(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n position: relative;\n height: 45rem;\n"], ["\n position: relative;\n height: 45rem;\n"])));
6803
+ var TopTagContainer$1 = newStyled.div(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n"])));
6804
+ var BottomTagContainer$1 = newStyled.div(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"], ["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));
6659
6805
  var ImageProductWithTags$1 = function (_a) {
6660
6806
  var image = _a.image, DiscountTagElement = _a.DiscountTagElement, BestSellerTagElement = _a.BestSellerTagElement, dataTestId = _a.dataTestId;
6661
- return (jsxRuntime.jsxs(Container$v, __assign({ "data-testid": dataTestId }, { children: [jsxRuntime.jsx(Image$2, { src: image.imageUrl, alt: image.alt }, void 0), jsxRuntime.jsx(TopTagContainer$1, { children: DiscountTagElement }, void 0), jsxRuntime.jsx(BottomTagContainer$1, { children: BestSellerTagElement }, void 0)] }), void 0));
6807
+ return (jsxRuntime.jsxs(Container$v, __assign({ "data-testid": dataTestId }, { children: [jsxRuntime.jsx(Image, { src: image.imageUrl, alt: image.alt, objectFit: "cover", objectPosition: "center", width: "530px", height: "720px" }, void 0), jsxRuntime.jsx(TopTagContainer$1, { children: DiscountTagElement }, void 0), jsxRuntime.jsx(BottomTagContainer$1, { children: BestSellerTagElement }, void 0)] }), void 0));
6662
6808
  };
6663
- var templateObject_1$N, templateObject_2$v, templateObject_3$k, templateObject_4$d;
6809
+ var templateObject_1$L, templateObject_2$u, templateObject_3$j;
6664
6810
 
6665
- var Container$u = newStyled.div(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: fit-content;\n max-height: 45rem;\n"], ["\n display: flex;\n flex-direction: row;\n width: fit-content;\n max-height: 45rem;\n"])));
6811
+ var Container$u = newStyled.div(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n display: grid;\n grid-template-columns: auto auto;\n grid-column-gap: 20px;\n max-height: 45rem;\n width: fit-content;\n"], ["\n display: grid;\n grid-template-columns: auto auto;\n grid-column-gap: 20px;\n max-height: 45rem;\n width: fit-content;\n"])));
6666
6812
  var ProductGallery = function (_a) {
6667
6813
  var images = _a.images, selectedValue = _a.selectedValue, DiscountTagElement = _a.DiscountTagElement, BestSellerTagElement = _a.BestSellerTagElement, productImageDataTestId = _a.productImageDataTestId, previewListDataTestId = _a.previewListDataTestId;
6668
6814
  var initialValue = selectedValue && images.includes(selectedValue) ? selectedValue : images[0];
@@ -6674,7 +6820,7 @@ var ProductGallery = function (_a) {
6674
6820
  setSelectedImage(value);
6675
6821
  } }, void 0), jsxRuntime.jsx(ImageProductWithTags$1, { image: selectedImage, DiscountTagElement: DiscountTagElement, BestSellerTagElement: BestSellerTagElement, dataTestId: productImageDataTestId }, void 0)] }, void 0));
6676
6822
  };
6677
- var templateObject_1$M;
6823
+ var templateObject_1$K;
6678
6824
 
6679
6825
  /* base styles & size variants */
6680
6826
  var StarStyles = {
@@ -6712,8 +6858,8 @@ var StarStyles = {
6712
6858
  });
6713
6859
  },
6714
6860
  };
6715
- var Container$t = newStyled.div(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
6716
- var templateObject_1$L;
6861
+ var Container$t = newStyled.div(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
6862
+ var templateObject_1$J;
6717
6863
 
6718
6864
  var StarContainer = newStyled.div(function (_a) {
6719
6865
  var size = _a.size;
@@ -6768,8 +6914,8 @@ var LabelStyles = {
6768
6914
  });
6769
6915
  },
6770
6916
  };
6771
- var Container$s = newStyled.div(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6772
- var templateObject_1$K;
6917
+ var Container$s = newStyled.div(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6918
+ var templateObject_1$I;
6773
6919
 
6774
6920
  var CustomLabel = newStyled.div(function (_a) {
6775
6921
  var theme = _a.theme, size = _a.size;
@@ -6785,8 +6931,8 @@ var Rating = function (_a) {
6785
6931
  return (jsxRuntime.jsxs(Container$s, { children: [jsxRuntime.jsx(StarList, { rating: rating, size: size, starsNumber: starsNumber, fill: theme.colors.pallete.primary.color }, void 0), jsxRuntime.jsxs(CustomLabel, __assign({ theme: theme, size: size, "data-testid": "CustomLabel" }, { children: [reviews, " ", reviewsText] }), void 0)] }, void 0));
6786
6932
  };
6787
6933
 
6788
- var Container$r = newStyled.div(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"], ["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"])));
6789
- var P$1 = newStyled.p(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"], ["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"])), function (props) { return props.theme.colors.shades['550'].color; });
6934
+ var Container$r = newStyled.div(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"], ["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"])));
6935
+ var P$1 = newStyled.p(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"], ["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"])), function (props) { return props.theme.colors.shades['550'].color; });
6790
6936
  var textButtonStyles = function (theme) { return ({
6791
6937
  border: 'none',
6792
6938
  background: 'transparent',
@@ -6801,7 +6947,7 @@ var FitPredictor = function (_a) {
6801
6947
  var theme = useTheme();
6802
6948
  return (jsxs(Container$r, __assign({ theme: theme }, { children: [jsx(Container$r, { children: jsx(Icon.Other.FitPredictor, { width: 1.125, height: 1.125, fill: theme.colors.shades['550'].color }, void 0) }, void 0), jsx(P$1, __assign({ theme: theme }, { children: "FIT PREDICTOR" }), void 0), jsx(BaseButton, __assign({ css: textButtonStyles(theme), onClick: onClick }, { children: "Calculate your size" }), void 0)] }), void 0));
6803
6949
  };
6804
- var templateObject_1$J, templateObject_2$u;
6950
+ var templateObject_1$H, templateObject_2$t;
6805
6951
 
6806
6952
  var H2$1 = newStyled.h2(function (_a) {
6807
6953
  var color = _a.color;
@@ -6815,7 +6961,7 @@ var H2$1 = newStyled.h2(function (_a) {
6815
6961
  margin: '0.938rem 4.188rem',
6816
6962
  });
6817
6963
  });
6818
- var Bar = newStyled.div(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"], ["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"])), function (_a) {
6964
+ var Bar = newStyled.div(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"], ["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"])), function (_a) {
6819
6965
  var backgroundColor = _a.backgroundColor;
6820
6966
  return backgroundColor;
6821
6967
  }, function (_a) {
@@ -6854,7 +7000,7 @@ var ProgressBar = function (_a) {
6854
7000
  var theme = useTheme();
6855
7001
  return (jsxRuntime.jsxs(Container$q, __assign({ "data-testid": "PBContainer", widthAuto: widthAuto }, { children: [jsxRuntime.jsx(Background, __assign({ backgroundColor: theme.colors.shades['100'].color }, { children: jsxRuntime.jsx(Bar, { "data-testid": "PBBar", backgroundColor: fillColor, percent: percent }, void 0) }), void 0), description && jsxRuntime.jsx(H2$1, __assign({ color: theme.colors.pallete.secondary.color }, { children: description }), void 0)] }), void 0));
6856
7002
  };
6857
- var templateObject_1$I;
7003
+ var templateObject_1$G;
6858
7004
 
6859
7005
  var getStylesBySize$4 = function (size) {
6860
7006
  switch (size) {
@@ -6875,7 +7021,7 @@ var getStylesBySize$4 = function (size) {
6875
7021
  };
6876
7022
  }
6877
7023
  };
6878
- var Container$p = newStyled.div(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"], ["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"])), function (_a) {
7024
+ var Container$p = newStyled.div(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"], ["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"])), function (_a) {
6879
7025
  var backgroundColor = _a.backgroundColor;
6880
7026
  return backgroundColor;
6881
7027
  }, function (_a) {
@@ -6905,7 +7051,7 @@ var IconButton = function (_a) {
6905
7051
  var theme = useTheme();
6906
7052
  return (jsxRuntime.jsx(Container$p, __assign({ className: disabled ? 'disabled' : '', backgroundColor: theme.component.button.primary.active.backgroundColor, hoverBackgroundColor: theme.component.button.secondary.active.backgroundColor, disabledColor: theme.colors.shades['50'].color, disabledIconColor: theme.colors.shades['200'].color, size: size, "data-testid": "Container", onClick: disabled ? function () { } : onClick }, { children: children }), void 0));
6907
7053
  };
6908
- var templateObject_1$H;
7054
+ var templateObject_1$F;
6909
7055
 
6910
7056
  var TooltipArrow = function (_a) {
6911
7057
  var height = _a.height, width = _a.width, fill = _a.fill, stroke = _a.stroke;
@@ -6985,7 +7131,7 @@ var getTooltipAlignItems = function (position, align) {
6985
7131
  }
6986
7132
  };
6987
7133
 
6988
- var Wrapper$5 = newStyled.div(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"], ["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"])), function (_a) {
7134
+ var Wrapper$5 = newStyled.div(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"], ["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"])), function (_a) {
6989
7135
  var position = _a.position;
6990
7136
  return getWrapperFlexDirection(position);
6991
7137
  });
@@ -7009,11 +7155,11 @@ var TooltipContainer = newStyled.div(function (_a) {
7009
7155
  var getTooltipMargin = function (actual, expected, margin) {
7010
7156
  return actual === expected ? margin : '0';
7011
7157
  };
7012
- var ContentWrapper = newStyled.div(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"], ["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"])), function (_a) {
7158
+ var ContentWrapper = newStyled.div(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"], ["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"])), function (_a) {
7013
7159
  var borderColor = _a.borderColor;
7014
7160
  return borderColor;
7015
7161
  });
7016
- var TooltipArrowContainer = newStyled.div(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n width: 1.25rem;\n height: 0.75rem;\n display: flex;\n transform: rotate(", ");\n padding: ", ";\n margin: ", ";\n"], ["\n width: 1.25rem;\n height: 0.75rem;\n display: flex;\n transform: rotate(", ");\n padding: ", ";\n margin: ", ";\n"])), function (_a) {
7162
+ var TooltipArrowContainer = newStyled.div(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n width: 1.25rem;\n height: 0.75rem;\n display: flex;\n transform: rotate(", ");\n padding: ", ";\n margin: ", ";\n"], ["\n width: 1.25rem;\n height: 0.75rem;\n display: flex;\n transform: rotate(", ");\n padding: ", ";\n margin: ", ";\n"])), function (_a) {
7017
7163
  var position = _a.position;
7018
7164
  return getArrowRotation(position);
7019
7165
  }, function (_a) {
@@ -7023,17 +7169,17 @@ var TooltipArrowContainer = newStyled.div(templateObject_3$j || (templateObject_
7023
7169
  var position = _a.position;
7024
7170
  return getArrowContainerMargin(position);
7025
7171
  });
7026
- var TooltipText = newStyled.div(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n font-style: normal;\n font-weight: normal;\n font-size: 0.875rem;\n line-height: 1.125rem;\n margin: 0;\n color: ", ";\n"], ["\n font-style: normal;\n font-weight: normal;\n font-size: 0.875rem;\n line-height: 1.125rem;\n margin: 0;\n color: ", ";\n"])), function (_a) {
7172
+ var TooltipText = newStyled.div(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n font-style: normal;\n font-weight: normal;\n font-size: 0.875rem;\n line-height: 1.125rem;\n margin: 0;\n color: ", ";\n"], ["\n font-style: normal;\n font-weight: normal;\n font-size: 0.875rem;\n line-height: 1.125rem;\n margin: 0;\n color: ", ";\n"])), function (_a) {
7027
7173
  var color = _a.color;
7028
7174
  return color;
7029
7175
  });
7030
- var TopSection = newStyled.div(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 0.688rem;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 0.688rem;\n"])));
7031
- var Title$3 = newStyled.h1(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: 600;\n line-height: 1.375rem;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: 600;\n line-height: 1.375rem;\n margin: 0;\n color: ", ";\n"])), function (_a) {
7176
+ var TopSection = newStyled.div(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 0.688rem;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 0.688rem;\n"])));
7177
+ var Title$3 = newStyled.h1(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: 600;\n line-height: 1.375rem;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: 600;\n line-height: 1.375rem;\n margin: 0;\n color: ", ";\n"])), function (_a) {
7032
7178
  var color = _a.color;
7033
7179
  return color;
7034
7180
  });
7035
- var IconContainer$4 = newStyled.div(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.125rem;\n margin-right: 0.563rem;\n"], ["\n width: 1.375rem;\n height: 1.125rem;\n margin-right: 0.563rem;\n"])));
7036
- var templateObject_1$G, templateObject_2$t, templateObject_3$j, templateObject_4$c, templateObject_5$6, templateObject_6$5, templateObject_7$3;
7181
+ var IconContainer$4 = newStyled.div(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.125rem;\n margin-right: 0.563rem;\n"], ["\n width: 1.375rem;\n height: 1.125rem;\n margin-right: 0.563rem;\n"])));
7182
+ var templateObject_1$E, templateObject_2$s, templateObject_3$i, templateObject_4$a, templateObject_5$5, templateObject_6$4, templateObject_7$2;
7037
7183
 
7038
7184
  var Tooltip = function (_a) {
7039
7185
  var children = _a.children, position = _a.position, text = _a.text, _b = _a.align, align = _b === void 0 ? 'center' : _b, onClick = _a.onClick, header = _a.header;
@@ -7184,9 +7330,9 @@ var ContainerStyles = {
7184
7330
  },
7185
7331
  };
7186
7332
 
7187
- var Wrapper$4 = newStyled.div(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
7333
+ var Wrapper$4 = newStyled.div(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
7188
7334
  var Container$o = newStyled.div(__assign({}, ContainerStyles.baseStyles), function (props) { return [ContainerStyles[props.size](props.theme)]; });
7189
- var Input$2 = newStyled.input(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n cursor: ", ";\n height: 100%;\n width: 100%;\n margin: 0;\n"], ["\n position: absolute;\n opacity: 0;\n cursor: ", ";\n height: 100%;\n width: 100%;\n margin: 0;\n"])), function (_a) {
7335
+ var Input$2 = newStyled.input(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n cursor: ", ";\n height: 100%;\n width: 100%;\n margin: 0;\n"], ["\n position: absolute;\n opacity: 0;\n cursor: ", ";\n height: 100%;\n width: 100%;\n margin: 0;\n"])), function (_a) {
7190
7336
  var disabled = _a.disabled;
7191
7337
  return (disabled ? 'not-allowed' : 'pointer');
7192
7338
  });
@@ -7203,7 +7349,7 @@ var RadioInput = function (_a) {
7203
7349
  };
7204
7350
  return (jsxRuntime.jsxs(Wrapper$4, { children: [jsxRuntime.jsxs(Container$o, __assign({ theme: theme, size: size, "data-testid": "container" }, { children: [jsxRuntime.jsx(Input$2, { id: "".concat(name, "-").concat(id), type: "radio", name: name, value: value, checked: checked, onChange: function (e) { return (disabled ? null : handleChange(e, label)); }, disabled: disabled }, void 0), jsxRuntime.jsx(CustomRadio, { size: size, isChecked: checked, disabled: disabled, theme: theme, "data-testid": "custom-radio" }, void 0)] }), void 0), jsxRuntime.jsx(Label$2, __assign({ htmlFor: "".concat(name, "-").concat(id), "data-testid": "label", variant: "regular", size: size, disabled: disabled }, { children: label }), void 0)] }, void 0));
7205
7351
  };
7206
- var templateObject_1$F, templateObject_2$s;
7352
+ var templateObject_1$D, templateObject_2$r;
7207
7353
 
7208
7354
  var RadioGroupInput = function (_a) {
7209
7355
  var name = _a.name, _b = _a.options, options = _b === void 0 ? [] : _b, value = _a.value, onChange = _a.onChange, _c = _a.size, size = _c === void 0 ? exports.ComponentSize.Medium : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d;
@@ -7217,9 +7363,9 @@ var RadioGroupInput = function (_a) {
7217
7363
  }) }), void 0));
7218
7364
  };
7219
7365
 
7220
- var Wrapper$3 = newStyled.div(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7221
- var Container$n = newStyled.div(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
7222
- var Text$3 = newStyled.h4(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n"])), function (_a) {
7366
+ var Wrapper$3 = newStyled.div(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7367
+ var Container$n = newStyled.div(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
7368
+ var Text$2 = newStyled.h4(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n"])), function (_a) {
7223
7369
  var color = _a.color;
7224
7370
  return color;
7225
7371
  }, function (_a) {
@@ -7232,32 +7378,32 @@ var Text$3 = newStyled.h4(templateObject_3$i || (templateObject_3$i = __makeTemp
7232
7378
  var Minimalistic = function (_a) {
7233
7379
  var _b = _a.backgroundColor, backgroundColor = _b === void 0 ? '#FCFAF7' : _b, _c = _a.borderColor, borderColor = _c === void 0 ? '#E7C9B2' : _c, originalPrice = _a.originalPrice, price = _a.price, savingPrice = _a.savingPrice, getMorePayLessText = _a.getMorePayLessText, youAreSavingText = _a.youAreSavingText, getQtyForText = _a.getQtyForText, discount = _a.discount, offText = _a.offText, _d = _a.widthAuto, widthAuto = _d === void 0 ? false : _d;
7234
7380
  var theme = useTheme();
7235
- return (jsxRuntime.jsx(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto, border: { borderColor: borderColor, borderWidth: '0.063rem' }, flex: false }, { children: jsxRuntime.jsxs(Wrapper$3, { children: [jsxRuntime.jsxs(Container$n, __assign({ "data-testid": "TopSection" }, { children: [jsxRuntime.jsx(Text$3, __assign({ color: theme.colors.pallete.secondary.color, weight: "600", margin: "0 1.25rem 0 0" }, { children: getMorePayLessText }), void 0), jsxRuntime.jsx(PriceLabel, { finalPrice: price, originalPrice: originalPrice, color: "#3A3A3A", size: exports.ComponentSize.Small }, void 0)] }), void 0), jsxRuntime.jsxs(Container$n, __assign({ "data-testid": "BottomSection" }, { children: [jsxRuntime.jsxs(Text$3, __assign({ color: "#d3373c", weight: "600", margin: "0 1.25rem 0 0" }, { children: [getQtyForText, " ", discount, "% ", offText] }), void 0), jsxRuntime.jsxs(Text$3, __assign({ color: theme.colors.pallete.secondary.color }, { children: [youAreSavingText, ": ", savingPrice] }), void 0)] }), void 0)] }, void 0) }), void 0));
7381
+ return (jsxRuntime.jsx(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto, border: { borderColor: borderColor, borderWidth: '0.063rem' }, flex: false }, { children: jsxRuntime.jsxs(Wrapper$3, { children: [jsxRuntime.jsxs(Container$n, __assign({ "data-testid": "TopSection" }, { children: [jsxRuntime.jsx(Text$2, __assign({ color: theme.colors.pallete.secondary.color, weight: "600", margin: "0 1.25rem 0 0" }, { children: getMorePayLessText }), void 0), jsxRuntime.jsx(PriceLabel, { finalPrice: price, originalPrice: originalPrice, color: "#3A3A3A", size: exports.ComponentSize.Small }, void 0)] }), void 0), jsxRuntime.jsxs(Container$n, __assign({ "data-testid": "BottomSection" }, { children: [jsxRuntime.jsxs(Text$2, __assign({ color: "#d3373c", weight: "600", margin: "0 1.25rem 0 0" }, { children: [getQtyForText, " ", discount, "% ", offText] }), void 0), jsxRuntime.jsxs(Text$2, __assign({ color: theme.colors.pallete.secondary.color }, { children: [youAreSavingText, ": ", savingPrice] }), void 0)] }), void 0)] }, void 0) }), void 0));
7236
7382
  };
7237
- var templateObject_1$E, templateObject_2$r, templateObject_3$i;
7383
+ var templateObject_1$C, templateObject_2$q, templateObject_3$h;
7238
7384
 
7239
- var Container$m = newStyled.div(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7240
- var Title$2 = newStyled.h1(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"], ["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"])), function (props) { return props.color; });
7241
- var Details$1 = newStyled.span(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-weight: 400;\n font-size: 1rem;\n margin: 0;\n line-height: 1.5rem;\n justify-content: center;\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n font-weight: 400;\n font-size: 1rem;\n margin: 0;\n line-height: 1.5rem;\n justify-content: center;\n color: ", ";\n"])), function (props) { return props.color; });
7242
- var PriceContainer$1 = newStyled.span(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n margin: 0 0.313rem;\n display: flex;\n align-items: center;\n"], ["\n margin: 0 0.313rem;\n display: flex;\n align-items: center;\n"])));
7385
+ var Container$m = newStyled.div(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7386
+ var Title$2 = newStyled.h1(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"], ["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"])), function (props) { return props.color; });
7387
+ var Details$1 = newStyled.span(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-weight: 400;\n font-size: 1rem;\n margin: 0;\n line-height: 1.5rem;\n justify-content: center;\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n font-weight: 400;\n font-size: 1rem;\n margin: 0;\n line-height: 1.5rem;\n justify-content: center;\n color: ", ";\n"])), function (props) { return props.color; });
7388
+ var PriceContainer$1 = newStyled.span(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n margin: 0 0.313rem;\n display: flex;\n align-items: center;\n"], ["\n margin: 0 0.313rem;\n display: flex;\n align-items: center;\n"])));
7243
7389
  var Simple = function (_a) {
7244
7390
  var title = _a.title, freeShippingText = _a.freeShippingText, price = _a.price, anyQtyForText = _a.anyQtyForText, backgroundColor = _a.backgroundColor, _b = _a.widthAuto, widthAuto = _b === void 0 ? false : _b;
7245
7391
  var theme = useTheme();
7246
7392
  return (jsxRuntime.jsx(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto }, { children: jsxRuntime.jsxs(Container$m, { children: [jsxRuntime.jsx(Title$2, __assign({ color: theme.colors.pallete.secondary.color, "data-testid": "Title" }, { children: title }), void 0), jsxRuntime.jsxs(Details$1, __assign({ color: theme.colors.pallete.secondary.color, "data-testid": "Details" }, { children: [anyQtyForText, jsxRuntime.jsx(PriceContainer$1, __assign({ "data-testid": "Price" }, { children: jsxRuntime.jsx(PriceLabel, { finalPrice: price, color: "#d3373c", size: exports.ComponentSize.Small }, void 0) }), void 0), "+ ", freeShippingText] }), void 0)] }, void 0) }), void 0));
7247
7393
  };
7248
- var templateObject_1$D, templateObject_2$q, templateObject_3$h, templateObject_4$b;
7394
+ var templateObject_1$B, templateObject_2$p, templateObject_3$g, templateObject_4$9;
7249
7395
 
7250
7396
  var Bundle = {
7251
7397
  Minimalistic: Minimalistic,
7252
7398
  Simple: Simple,
7253
7399
  };
7254
7400
 
7255
- var Container$l = newStyled.div(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"])));
7401
+ var Container$l = newStyled.div(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"])));
7256
7402
  var Tag = function (_a) {
7257
7403
  var text = _a.text, className = _a.className;
7258
7404
  return jsxRuntime.jsx(Container$l, __assign({ className: className }, { children: text }), void 0);
7259
7405
  };
7260
- var templateObject_1$C;
7406
+ var templateObject_1$A;
7261
7407
 
7262
7408
  var getStylesBySize$3 = function (size) {
7263
7409
  switch (size) {
@@ -7358,11 +7504,11 @@ var Timer = function (_a) {
7358
7504
  return (jsxRuntime.jsxs("div", __assign({ "data-testid": "Time" }, { children: [hours, "h ", minutes, "m ", seconds, "s"] }), void 0));
7359
7505
  };
7360
7506
 
7361
- var Label = newStyled.span(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"], ["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"])), function (_a) {
7507
+ var Label = newStyled.span(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"], ["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"])), function (_a) {
7362
7508
  var color = _a.color;
7363
7509
  return color;
7364
7510
  });
7365
- var MandatoryIcon = newStyled.span(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n color: ", ";\n margin-left: 0.25rem;\n"], ["\n color: ", ";\n margin-left: 0.25rem;\n"])), function (_a) {
7511
+ var MandatoryIcon = newStyled.span(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n color: ", ";\n margin-left: 0.25rem;\n"], ["\n color: ", ";\n margin-left: 0.25rem;\n"])), function (_a) {
7366
7512
  var color = _a.color;
7367
7513
  return color;
7368
7514
  });
@@ -7371,7 +7517,7 @@ var InputLabel = function (_a) {
7371
7517
  var theme = useTheme();
7372
7518
  return (jsxRuntime.jsxs(Label, __assign({ color: isDisabled ? theme.colors.shades['250'].color : theme.colors.shades['700'].color }, { children: [label, isRequired && jsxRuntime.jsx(MandatoryIcon, __assign({ color: theme.colors.semantic.urgent.color }, { children: "*" }), void 0)] }), void 0));
7373
7519
  };
7374
- var templateObject_1$B, templateObject_2$p;
7520
+ var templateObject_1$z, templateObject_2$o;
7375
7521
 
7376
7522
  var isEmpty = function (value) {
7377
7523
  return value.length === 0;
@@ -7381,20 +7527,20 @@ var sliceString = function (str, maxLength) {
7381
7527
  return str.length > maxLength ? "".concat(str.slice(0, maxLength), "...") : str;
7382
7528
  };
7383
7529
 
7384
- var ErrorText = newStyled.h3(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"], ["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"])), function (props) { return props.color; });
7385
- var ErrorContainer = newStyled.div(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"], ["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"])));
7530
+ var ErrorText = newStyled.h3(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"], ["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"])), function (props) { return props.color; });
7531
+ var ErrorContainer = newStyled.div(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"], ["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"])));
7386
7532
  var Error$1 = function (_a) {
7387
7533
  var error = _a.error;
7388
7534
  var theme = useTheme();
7389
7535
  return (jsxRuntime.jsxs(ErrorContainer, { children: [jsxRuntime.jsx(Icon.Actions.LightExclamation, { fill: theme.colors.semantic.urgent.color, width: 0.875, height: 0.875 }, void 0), jsxRuntime.jsx(ErrorText, __assign({ color: theme.colors.semantic.urgent.color }, { children: error }), void 0)] }, void 0));
7390
7536
  };
7391
- var templateObject_1$A, templateObject_2$o;
7537
+ var templateObject_1$y, templateObject_2$n;
7392
7538
 
7393
- var Container$k = newStyled.div(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n input {\n border-color: ", ";\n }\n"], ["\n input {\n border-color: ", ";\n }\n"])), function (_a) {
7539
+ var Container$k = newStyled.div(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n input {\n border-color: ", ";\n }\n"], ["\n input {\n border-color: ", ";\n }\n"])), function (_a) {
7394
7540
  var color = _a.color;
7395
7541
  return color;
7396
7542
  });
7397
- var StyledInput = newStyled.input(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n padding: ", ";\n font-size: ", ";\n border-radius: ", ";\n border: ", ";\n line-height: ", ";\n color: ", ";\n font-weight: ", ";\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n box-shadow: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"], ["\n padding: ", ";\n font-size: ", ";\n border-radius: ", ";\n border: ", ";\n line-height: ", ";\n color: ", ";\n font-weight: ", ";\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n box-shadow: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"])), function (_a) {
7543
+ var StyledInput = newStyled.input(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n padding: ", ";\n font-size: ", ";\n border-radius: ", ";\n border: ", ";\n line-height: ", ";\n color: ", ";\n font-weight: ", ";\n flex: 1 1 50%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n box-shadow: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"], ["\n padding: ", ";\n font-size: ", ";\n border-radius: ", ";\n border: ", ";\n line-height: ", ";\n color: ", ";\n font-weight: ", ";\n flex: 1 1 50%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n box-shadow: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"])), function (_a) {
7398
7544
  var padding = _a.padding;
7399
7545
  return padding;
7400
7546
  }, function (_a) {
@@ -7437,34 +7583,49 @@ var StyledInput = newStyled.input(templateObject_2$n || (templateObject_2$n = __
7437
7583
  var disabledColor = _a.disabledColor;
7438
7584
  return disabledColor;
7439
7585
  });
7440
- var InputWrapper = newStyled.div(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n position: relative;\n display: flex;\n height: 100%;\n"], ["\n position: relative;\n display: flex;\n height: 100%;\n"])));
7441
- var templateObject_1$z, templateObject_2$n, templateObject_3$g;
7586
+ var InputWrapper = newStyled.div(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n position: relative;\n display: flex;\n height: ", ";\n"], ["\n position: relative;\n display: flex;\n height: ", ";\n"])), function (_a) {
7587
+ var size = _a.size;
7588
+ return (size === 'small' ? '36px' : '44px');
7589
+ });
7590
+ var templateObject_1$x, templateObject_2$m, templateObject_3$f;
7442
7591
 
7443
7592
  var BaseInput = function (_a) {
7444
- var onChange = _a.onChange, _b = _a.defaultValue, defaultValue = _b === void 0 ? '' : _b, label = _a.label, children = _a.children, required = _a.required, onValidation = _a.onValidation, rest = __rest(_a, ["onChange", "defaultValue", "label", "children", "required", "onValidation"]);
7593
+ var _b;
7594
+ var value = _a.value, onChange = _a.onChange, _c = _a.defaultValue, defaultValue = _c === void 0 ? '' : _c, label = _a.label, children = _a.children, required = _a.required, onValidation = _a.onValidation, size = _a.size, rest = __rest(_a, ["value", "onChange", "defaultValue", "label", "children", "required", "onValidation", "size"]);
7445
7595
  var theme = useTheme();
7446
- var _c = React.useState(defaultValue), value = _c[0], setValue = _c[1];
7447
- var _d = React.useState(exports.InputValidationType.Empty), status = _d[0], setStatus = _d[1];
7596
+ var _d = React.useState((_b = value !== null && value !== void 0 ? value : defaultValue) !== null && _b !== void 0 ? _b : ''), internalValue = _d[0], setInternalValue = _d[1];
7597
+ var _e = React.useState(exports.InputValidationType.Empty), status = _e[0], setStatus = _e[1];
7448
7598
  var handleChange = function (_a) {
7449
- var value = _a.target.value;
7450
- setValue(value);
7451
- onChange && onChange(value);
7599
+ var target = _a.target;
7600
+ if (onChange) {
7601
+ onChange(target.value);
7602
+ }
7603
+ if (value == null) {
7604
+ setInternalValue(target.value);
7605
+ }
7452
7606
  };
7453
7607
  var validate = function (_a) {
7454
7608
  var value = _a.target.value;
7455
- var newStatus = handleValidations(value);
7456
- setStatus(newStatus);
7457
- onValidation && onValidation(newStatus);
7458
- };
7459
- var handleValidations = function (value) {
7609
+ var status = exports.InputValidationType.Valid;
7460
7610
  if (required && isEmpty(value)) {
7461
- return exports.InputValidationType.Error;
7611
+ status = exports.InputValidationType.Error;
7462
7612
  }
7463
7613
  if (!required && isEmpty(value)) {
7464
- return exports.InputValidationType.Empty;
7614
+ status = exports.InputValidationType.Empty;
7465
7615
  }
7466
- return exports.InputValidationType.Valid;
7616
+ setStatus(status);
7467
7617
  };
7618
+ React.useEffect(function () {
7619
+ if (value == null) {
7620
+ return;
7621
+ }
7622
+ setInternalValue(value);
7623
+ }, [value]);
7624
+ React.useEffect(function () {
7625
+ if (onValidation != null) {
7626
+ onValidation(status);
7627
+ }
7628
+ }, [onValidation, status]);
7468
7629
  var styling = {
7469
7630
  border: theme.component.input.border,
7470
7631
  borderRadius: theme.component.input.borderRadius,
@@ -7483,39 +7644,57 @@ var BaseInput = function (_a) {
7483
7644
  ? theme.colors.shades['700'].color
7484
7645
  : status === exports.InputValidationType.Error
7485
7646
  ? theme.colors.semantic.urgent.color
7486
- : '' }, { children: [label && (jsxRuntime.jsx(InputLabel, { label: label, isDisabled: rest.disabled, isRequired: Boolean(required) }, void 0)), jsxRuntime.jsxs(InputWrapper, __assign({ className: "inputWrapper" }, { children: [jsxRuntime.jsx(StyledInput, __assign({ "data-testid": "base-input", type: "text", onChange: handleChange, onBlur: validate, required: Boolean(required), value: value }, rest, styling), void 0), children] }), void 0), required && status === exports.InputValidationType.Error && jsxRuntime.jsx(Error$1, { error: required }, void 0)] }), void 0));
7647
+ : '' }, { children: [label && (jsxRuntime.jsx(InputLabel, { label: label, isDisabled: rest.disabled, isRequired: Boolean(required) }, void 0)), jsxRuntime.jsxs(InputWrapper, __assign({ className: "inputWrapper", size: size }, { children: [jsxRuntime.jsx(StyledInput, __assign({ "data-testid": "base-input", type: "text", onChange: handleChange, onBlur: validate, required: Boolean(required), value: internalValue }, rest, styling), void 0), children] }), void 0), required && status === exports.InputValidationType.Error && jsxRuntime.jsx(Error$1, { error: required }, void 0)] }), void 0));
7487
7648
  };
7488
7649
 
7489
- var Container$j = newStyled.div(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n input {\n border-radius: ", ";\n }\n"], ["\n input {\n border-radius: ", ";\n }\n"])), function (_a) {
7650
+ var Button$4 = function (_a) {
7651
+ var variant = _a.variant, props = __rest(_a, ["variant"]);
7652
+ if (variant === 'primary') {
7653
+ return jsxRuntime.jsx(ButtonPrimary, __assign({}, props), void 0);
7654
+ }
7655
+ if (variant === 'secondary') {
7656
+ return jsxRuntime.jsx(ButtonSecondary, __assign({}, props), void 0);
7657
+ }
7658
+ if (variant === 'secondary-outline') {
7659
+ return jsxRuntime.jsx(ButtonSecondary, __assign({}, props), void 0);
7660
+ }
7661
+ throw new Error("Invalid button variant ".concat(variant));
7662
+ };
7663
+
7664
+ var Container$j = newStyled.div(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n overflow: hidden;\n\n input {\n border-radius: ", ";\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: none;\n }\n"], ["\n overflow: hidden;\n\n input {\n border-radius: ", ";\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: none;\n }\n"])), function (_a) {
7490
7665
  var theme = _a.theme;
7491
7666
  return theme.component.inputCustom.input.borderRadius;
7492
7667
  });
7493
- var ButtonContainer$1 = newStyled.div(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n width: 7.125rem;\n height: 100%;\n position: absolute;\n right: 0;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: ", ";\n }\n"], ["\n width: 7.125rem;\n height: 100%;\n position: absolute;\n right: 0;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: ", ";\n }\n"])), function (_a) {
7668
+ var ButtonContainer$1 = newStyled.div(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n max-width: 50%;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: ", ";\n }\n"], ["\n max-width: 50%;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: ", ";\n }\n"])), function (_a) {
7494
7669
  var theme = _a.theme;
7495
7670
  return theme.component.inputCustom.button.borderRadius;
7496
7671
  });
7497
7672
  var Custom = function (_a) {
7498
- var onClick = _a.onClick, text = _a.text, type = _a.type, rest = __rest(_a, ["onClick", "text", "type"]);
7673
+ var onClick = _a.onClick, text = _a.text, variant = _a.variant, rest = __rest(_a, ["onClick", "text", "variant"]);
7499
7674
  var theme = useTheme();
7500
- var props = {
7675
+ var props = React.useMemo(function () { return ({
7676
+ variant: variant,
7501
7677
  onClick: onClick,
7502
7678
  text: text,
7503
7679
  disabled: rest.disabled,
7504
- };
7505
- return (jsxRuntime.jsx(Container$j, __assign({ theme: theme }, { children: jsxRuntime.jsx(BaseInput, __assign({}, rest, { children: jsxRuntime.jsx(ButtonContainer$1, __assign({ theme: theme }, { children: type === 'primary' ? jsxRuntime.jsx(ButtonPrimary, __assign({}, props), void 0) : jsxRuntime.jsx(ButtonSecondary, __assign({}, props), void 0) }), void 0) }), void 0) }), void 0));
7680
+ }); }, [variant, onClick, text, rest.disabled]);
7681
+ return (jsxRuntime.jsx(Container$j, __assign({ theme: theme }, { children: jsxRuntime.jsx(BaseInput, __assign({}, rest, { children: jsxRuntime.jsx(ButtonContainer$1, __assign({ theme: theme }, { children: jsxRuntime.jsx(Button$4, __assign({}, props), void 0) }), void 0) }), void 0) }), void 0));
7506
7682
  };
7507
- var templateObject_1$y, templateObject_2$m;
7683
+ var templateObject_1$w, templateObject_2$l;
7508
7684
 
7509
- var SuccessContainer = newStyled.div(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n height: 3rem;\n display: flex;\n"], ["\n height: 3rem;\n display: flex;\n"])));
7510
- var SuccessMessage = newStyled.div(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"], ["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"])));
7511
- var SuccessText = newStyled.span(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n margin-left: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n margin-left: 0.313rem;\n"])));
7685
+ var SuccessContainer = newStyled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n height: ", ";\n display: flex;\n"], ["\n height: ", ";\n display: flex;\n"])), function (_a) {
7686
+ var size = _a.size;
7687
+ return (size === 'small' ? '36px' : '');
7688
+ });
7689
+ var SuccessMessage = newStyled.div(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"], ["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"])));
7690
+ var SuccessText = newStyled.span(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n margin-left: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n margin-left: 0.313rem;\n"])));
7512
7691
  var Success = function (_a) {
7513
- var children = _a.children, successText = _a.successText;
7514
- return (jsxRuntime.jsxs(SuccessContainer, { children: [jsxRuntime.jsxs(SuccessMessage, { children: [jsxRuntime.jsx(Icon.Actions.Check, { fill: "#5EAD63", width: 1.375, height: 1.063 }, void 0), jsxRuntime.jsx(SuccessText, { children: successText }, void 0)] }, void 0), children] }, void 0));
7692
+ var children = _a.children, successText = _a.successText, size = _a.size;
7693
+ return (jsxRuntime.jsxs(SuccessContainer, __assign({ size: size }, { children: [jsxRuntime.jsxs(SuccessMessage, { children: [jsxRuntime.jsx(Icon.Actions.Check, { fill: "#5EAD63", width: 1.375, height: 1.063 }, void 0), jsxRuntime.jsx(SuccessText, { children: successText }, void 0)] }, void 0), children] }), void 0));
7515
7694
  };
7516
- var templateObject_1$x, templateObject_2$l, templateObject_3$f;
7695
+ var templateObject_1$v, templateObject_2$k, templateObject_3$e;
7517
7696
 
7518
- var ButtonContainer = newStyled.div(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n margin-left: 0.625rem;\n height: 100%;\n\n button {\n width: 100%;\n height: 100%;\n background-color: ", ";\n }\n"], ["\n margin-left: 0.625rem;\n height: 100%;\n\n button {\n width: 100%;\n height: 100%;\n background-color: ", ";\n }\n"])), function (_a) {
7697
+ var ButtonContainer = newStyled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n margin-left: 0.625rem;\n\n button {\n width: 100%;\n height: 100%;\n background-color: ", ";\n }\n"], ["\n margin-left: 0.625rem;\n\n button {\n width: 100%;\n height: 100%;\n background-color: ", ";\n }\n"])), function (_a) {
7519
7698
  var status = _a.status, type = _a.type, theme = _a.theme;
7520
7699
  return status === exports.InputValidationType.Empty &&
7521
7700
  type === 'primary' &&
@@ -7524,15 +7703,18 @@ var ButtonContainer = newStyled.div(templateObject_1$w || (templateObject_1$w =
7524
7703
  var BasePlusButton = function (_a) {
7525
7704
  var onClick = _a.onClick, onClickEdit = _a.onClickEdit, text = _a.text, success = _a.success, editText = _a.editText, successText = _a.successText, rest = __rest(_a, ["onClick", "onClickEdit", "text", "success", "editText", "successText"]);
7526
7705
  var _b = React.useState(exports.InputValidationType.Empty), status = _b[0], setStatus = _b[1];
7706
+ var _c = React.useState(''), inputValue = _c[0], setInputValue = _c[1];
7527
7707
  var theme = useTheme();
7528
- var SuccessComponent = (jsxRuntime.jsx(Success, __assign({ successText: successText }, { children: jsxRuntime.jsx(ButtonContainer, __assign({ status: status, type: "secondary", theme: theme }, { children: jsxRuntime.jsx(ButtonSecondaryOutline, { text: editText, onClick: onClickEdit, disabled: rest.disabled }, void 0) }), void 0) }), void 0));
7529
- var Input = (jsxRuntime.jsx(BaseInput, __assign({}, rest, { onValidation: setStatus }, { children: jsxRuntime.jsx(ButtonContainer, __assign({ status: status, type: "primary", theme: theme }, { children: jsxRuntime.jsx(ButtonSecondary, { text: text, onClick: onClick, disabled: rest.disabled || status === exports.InputValidationType.Error }, void 0) }), void 0) }), void 0));
7530
- return success ? SuccessComponent : Input;
7708
+ var onChangeInput = React.useCallback(function (value) { return setInputValue(value); }, []);
7709
+ if (success) {
7710
+ return (jsxRuntime.jsx(Success, __assign({ successText: successText, size: rest.size }, { children: jsxRuntime.jsx(ButtonContainer, __assign({ status: status, type: "secondary", theme: theme }, { children: jsxRuntime.jsx(ButtonSecondaryOutline, { text: editText, onClick: onClickEdit, disabled: rest.disabled }, void 0) }), void 0) }), void 0));
7711
+ }
7712
+ return (jsxRuntime.jsx(BaseInput, __assign({}, rest, { onValidation: setStatus, onChange: onChangeInput }, { children: jsxRuntime.jsx(ButtonContainer, __assign({ status: status, type: "primary", theme: theme }, { children: jsxRuntime.jsx(ButtonSecondary, { text: text, onClick: function () { return onClick(inputValue); }, disabled: rest.disabled || status === exports.InputValidationType.Error }, void 0) }), void 0) }), void 0));
7531
7713
  };
7532
- var templateObject_1$w;
7714
+ var templateObject_1$u;
7533
7715
 
7534
- var Container$i = newStyled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n input {\n padding-right: 2.688rem;\n }\n"], ["\n input {\n padding-right: 2.688rem;\n }\n"])));
7535
- var IconContainer$3 = newStyled.div(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n\n svg path {\n fill: ", ";\n }\n"], ["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n\n svg path {\n fill: ", ";\n }\n"])), function (props) { return props.color; });
7716
+ var Container$i = newStyled.div(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n input {\n padding-right: 2.688rem;\n }\n"], ["\n input {\n padding-right: 2.688rem;\n }\n"])));
7717
+ var IconContainer$3 = newStyled.div(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n display: flex;\n align-items: center;\n\n svg path {\n fill: ", ";\n }\n"], ["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n display: flex;\n align-items: center;\n\n svg path {\n fill: ", ";\n }\n"])), function (props) { return props.color; });
7536
7718
  var BasePlusIcon = function (_a) {
7537
7719
  var Icon = _a.Icon, rest = __rest(_a, ["Icon"]);
7538
7720
  var theme = useTheme();
@@ -7543,7 +7725,7 @@ var BasePlusIcon = function (_a) {
7543
7725
  ? theme.colors.semantic.urgent.color
7544
7726
  : '' }, { children: React.createElement(Icon, { fill: theme.colors.shades['250'].color }) }), void 0) }), void 0) }, void 0));
7545
7727
  };
7546
- var templateObject_1$v, templateObject_2$k;
7728
+ var templateObject_1$t, templateObject_2$j;
7547
7729
 
7548
7730
  var Input$1 = {
7549
7731
  Simple: BaseInput,
@@ -7552,7 +7734,7 @@ var Input$1 = {
7552
7734
  SimplePlusIcon: BasePlusIcon,
7553
7735
  };
7554
7736
 
7555
- var Container$h = newStyled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"], ["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"])), function (_a) {
7737
+ var Container$h = newStyled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"], ["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"])), function (_a) {
7556
7738
  var width = _a.width;
7557
7739
  return width;
7558
7740
  }, function (_a) {
@@ -7570,9 +7752,9 @@ var PaymentMethod = function (_a) {
7570
7752
  var theme = useTheme();
7571
7753
  return (jsxRuntime.jsx(Container$h, __assign({ width: width, height: height, borderColor: theme.colors.shades['100'].color, isClickable: Boolean(onClick), onClick: onClick, "data-testid": "payment-method-container" }, { children: React.createElement(Icon) }), void 0));
7572
7754
  };
7573
- var templateObject_1$u;
7755
+ var templateObject_1$s;
7574
7756
 
7575
- var Text$2 = newStyled.h3(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"], ["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"])), function (_a) {
7757
+ var Text$1 = newStyled.h3(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"], ["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"])), function (_a) {
7576
7758
  var backgroundColor = _a.backgroundColor;
7577
7759
  return backgroundColor;
7578
7760
  }, function (_a) {
@@ -7582,29 +7764,29 @@ var Text$2 = newStyled.h3(templateObject_1$t || (templateObject_1$t = __makeTemp
7582
7764
  var OfferBanner = function (_a) {
7583
7765
  var discountAppliedText = _a.discountAppliedText, backgroundColor = _a.backgroundColor;
7584
7766
  var theme = useTheme();
7585
- return (jsxRuntime.jsx(Text$2, __assign({ backgroundColor: backgroundColor, color: theme.colors.shades['700'].color, "data-testid": "OfferBanner" }, { children: discountAppliedText }), void 0));
7767
+ return (jsxRuntime.jsx(Text$1, __assign({ backgroundColor: backgroundColor, color: theme.colors.shades['700'].color, "data-testid": "OfferBanner" }, { children: discountAppliedText }), void 0));
7586
7768
  };
7587
- var templateObject_1$t;
7769
+ var templateObject_1$r;
7588
7770
 
7589
- var Wrapper$2 = newStyled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"])));
7590
- var GrandTotal = newStyled.h1(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) { return props.color; });
7591
- var Currency = newStyled.span(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n margin: 0;\n margin-right: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"], ["\n margin: 0;\n margin-right: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"])));
7592
- var Container$g = newStyled.div(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"])), function (props) { return props.highlightColor; });
7593
- var Discount = newStyled.h3(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n"])));
7771
+ var Wrapper$2 = newStyled.div(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"])));
7772
+ var GrandTotal = newStyled.h1(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) { return props.color; });
7773
+ var Currency = newStyled.span(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n margin: 0;\n margin-right: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"], ["\n margin: 0;\n margin-right: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"])));
7774
+ var Container$g = newStyled.div(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"])), function (props) { return props.highlightColor; });
7775
+ var Discount = newStyled.h3(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n"])));
7594
7776
  var Total = function (_a) {
7595
7777
  var total = _a.total, currency = _a.currency, saving = _a.saving, _b = _a.highlightColor, highlightColor = _b === void 0 ? '#2f806a' : _b;
7596
7778
  var theme = useTheme();
7597
7779
  return (jsxRuntime.jsxs(Wrapper$2, __assign({ "data-testid": "total-wrapper" }, { children: [jsxRuntime.jsxs(GrandTotal, __assign({ color: theme.colors.shades['550'].color }, { children: [jsxRuntime.jsx(Currency, { children: currency }, void 0), total] }), void 0), saving && (jsxRuntime.jsxs(Container$g, __assign({ "data-testid": "subtotal-container", highlightColor: highlightColor }, { children: [jsxRuntime.jsx(Discount, { children: saving.savingText }, void 0), jsxRuntime.jsx(Discount, { children: saving.amount }, void 0)] }), void 0))] }), void 0));
7598
7780
  };
7599
- var templateObject_1$s, templateObject_2$j, templateObject_3$e, templateObject_4$a, templateObject_5$5;
7781
+ var templateObject_1$q, templateObject_2$i, templateObject_3$d, templateObject_4$8, templateObject_5$4;
7600
7782
 
7601
- var Wrapper$1 = newStyled.div(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7783
+ var Wrapper$1 = newStyled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7602
7784
  var color = _a.color;
7603
7785
  return color;
7604
7786
  });
7605
- var ItemContainer = newStyled.div(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
7606
- var Item$1 = newStyled.h4(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n margin: 0;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"], ["\n margin: 0;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"])));
7607
- var CouponItem = newStyled(Item$1)(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7787
+ var ItemContainer = newStyled.div(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
7788
+ var Item$1 = newStyled.h4(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n margin: 0;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"], ["\n margin: 0;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"])));
7789
+ var CouponItem = newStyled(Item$1)(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7608
7790
  var color = _a.color;
7609
7791
  return color;
7610
7792
  });
@@ -7616,22 +7798,22 @@ var Subtotal = function (_a) {
7616
7798
  return (jsxRuntime.jsxs(ItemContainer, { children: [jsxRuntime.jsxs(CouponItem, __assign({ color: highlightColor }, { children: [coupon.couponText, " ", c.code, " ", coupon.appliedText] }), void 0), jsxRuntime.jsx(CouponItem, __assign({ color: highlightColor }, { children: c.amount }), void 0)] }, i));
7617
7799
  })] }), void 0));
7618
7800
  };
7619
- var templateObject_1$r, templateObject_2$i, templateObject_3$d, templateObject_4$9;
7801
+ var templateObject_1$p, templateObject_2$h, templateObject_3$c, templateObject_4$7;
7620
7802
 
7621
7803
  var Totals = {
7622
7804
  Total: Total,
7623
7805
  Subtotal: Subtotal,
7624
7806
  };
7625
7807
 
7626
- var Container$f = newStyled.div(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"], ["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"])), function (props) { return props.color; });
7627
- var IconContainer$2 = newStyled.div(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"], ["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"])));
7628
- var Text$1 = newStyled.p(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 400;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 400;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
7629
- var Details = newStyled.span(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n color: ", ";\n font-weight: 700;\n"], ["\n color: ", ";\n font-weight: 700;\n"])), function (props) { return props.color; });
7808
+ var Container$f = newStyled.div(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"], ["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"])), function (props) { return props.color; });
7809
+ var IconContainer$2 = newStyled.div(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"], ["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"])));
7810
+ var Text = newStyled.p(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 400;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 400;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
7811
+ var Details = newStyled.span(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n color: ", ";\n font-weight: 700;\n"], ["\n color: ", ";\n font-weight: 700;\n"])), function (props) { return props.color; });
7630
7812
  var Note = function (_a) {
7631
7813
  var accentColor = _a.accentColor, color = _a.color, backgroundColor = _a.backgroundColor, importantNoteText = _a.importantNoteText, text = _a.text;
7632
- return (jsxRuntime.jsxs(Container$f, __assign({ color: backgroundColor, "data-testid": "Container" }, { children: [jsxRuntime.jsx(IconContainer$2, { children: jsxRuntime.jsx(Icon.Actions.LightExclamation, { fill: accentColor }, void 0) }, void 0), jsxRuntime.jsx("div", { children: jsxRuntime.jsxs(Text$1, __assign({ color: color }, { children: [jsxRuntime.jsxs(Details, __assign({ color: accentColor }, { children: [importantNoteText, ":"] }), void 0), " ", text] }), void 0) }, void 0)] }), void 0));
7814
+ return (jsxRuntime.jsxs(Container$f, __assign({ color: backgroundColor, "data-testid": "Container" }, { children: [jsxRuntime.jsx(IconContainer$2, { children: jsxRuntime.jsx(Icon.Actions.LightExclamation, { fill: accentColor }, void 0) }, void 0), jsxRuntime.jsx("div", { children: jsxRuntime.jsxs(Text, __assign({ color: color }, { children: [jsxRuntime.jsxs(Details, __assign({ color: accentColor }, { children: [importantNoteText, ":"] }), void 0), " ", text] }), void 0) }, void 0)] }), void 0));
7633
7815
  };
7634
- var templateObject_1$q, templateObject_2$h, templateObject_3$c, templateObject_4$8;
7816
+ var templateObject_1$o, templateObject_2$g, templateObject_3$b, templateObject_4$6;
7635
7817
 
7636
7818
  /* eslint-disable no-param-reassign */
7637
7819
  var index$2 = function (breakpoints) {
@@ -7721,14 +7903,14 @@ var mediaQueries = function (_a) {
7721
7903
  ], { literal: true });
7722
7904
  };
7723
7905
 
7724
- var Title$1 = newStyled.h1(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"], ["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"])), function (props) { return props.color; });
7725
- var Line = newStyled.div(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"], ["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"])), function (props) { return props.backgroundColor; });
7726
- var Row$1 = newStyled.div(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n display: flex;\n ", "\n justify-content: space-between;\n align-items: flex-start;\n"], ["\n display: flex;\n ", "\n justify-content: space-between;\n align-items: flex-start;\n"])), function (props) {
7906
+ var Title$1 = newStyled.h1(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"], ["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"])), function (props) { return props.color; });
7907
+ var Line = newStyled.div(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"], ["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"])), function (props) { return props.backgroundColor; });
7908
+ var Row$1 = newStyled.div(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n display: flex;\n ", "\n justify-content: space-between;\n align-items: flex-start;\n"], ["\n display: flex;\n ", "\n justify-content: space-between;\n align-items: flex-start;\n"])), function (props) {
7727
7909
  return mediaQueries(props)({
7728
7910
  flexDirection: ['column', 'row'],
7729
7911
  });
7730
7912
  });
7731
- var Col$1 = newStyled.div(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n ", "\n"])), function (props) {
7913
+ var Col$1 = newStyled.div(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n ", "\n"])), function (props) {
7732
7914
  return mediaQueries(props)({
7733
7915
  margin: ['0', '0 1.25rem'],
7734
7916
  marginBottom: ['1.875rem', '0'],
@@ -7737,13 +7919,13 @@ var Col$1 = newStyled.div(templateObject_4$7 || (templateObject_4$7 = __makeTemp
7737
7919
  width: ['100%', 'inherit'],
7738
7920
  });
7739
7921
  });
7740
- var IconContainer$1 = newStyled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.375rem;\n margin-right: 0.438rem;\n ", "\n"], ["\n width: 1.375rem;\n height: 1.375rem;\n margin-right: 0.438rem;\n ", "\n"])), function (props) {
7922
+ var IconContainer$1 = newStyled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.375rem;\n margin-right: 0.438rem;\n ", "\n"], ["\n width: 1.375rem;\n height: 1.375rem;\n margin-right: 0.438rem;\n ", "\n"])), function (props) {
7741
7923
  return mediaQueries(props)({
7742
7924
  marginBottom: ['1.875rem', '0'],
7743
7925
  width: ['auto', '1.375rem'],
7744
7926
  });
7745
7927
  });
7746
- var SectionTitle = newStyled.h1(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n ", "\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 600;\n margin: 0;\n"], ["\n ", "\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 600;\n margin: 0;\n"])), function (props) {
7928
+ var SectionTitle = newStyled.h1(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n ", "\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 600;\n margin: 0;\n"], ["\n ", "\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 600;\n margin: 0;\n"])), function (props) {
7747
7929
  return mediaQueries(props)({
7748
7930
  display: ['block', 'flex'],
7749
7931
  });
@@ -7751,53 +7933,46 @@ var SectionTitle = newStyled.h1(templateObject_6$4 || (templateObject_6$4 = __ma
7751
7933
  var theme = _a.theme;
7752
7934
  return theme.colors.shades['700'].color;
7753
7935
  });
7754
- var SectionDetails = newStyled.p(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-top: 0.625rem;\n"], ["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-top: 0.625rem;\n"])), function (props) { return props.color; });
7755
- var KeepMeUpdated = newStyled.h1(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n color: #0078ff;\n border-radius: 0.313rem;\n padding: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 600;\n margin: 0;\n margin-top: 0.625rem;\n display: flex;\n align-items: center;\n background-color: #fff;\n user-select: none;\n\n svg {\n margin-right: 0.375rem;\n }\n\n &:hover {\n cursor: pointer;\n }\n"], ["\n border: 0.063rem solid ", ";\n color: #0078ff;\n border-radius: 0.313rem;\n padding: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 600;\n margin: 0;\n margin-top: 0.625rem;\n display: flex;\n align-items: center;\n background-color: #fff;\n user-select: none;\n\n svg {\n margin-right: 0.375rem;\n }\n\n &:hover {\n cursor: pointer;\n }\n"])), function (props) { return props.borderColor; });
7936
+ var SectionDetails = newStyled.p(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-top: 0.625rem;\n"], ["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-top: 0.625rem;\n"])), function (props) { return props.color; });
7937
+ var KeepMeUpdated = newStyled.h1(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n color: #0078ff;\n border-radius: 0.313rem;\n padding: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 600;\n margin: 0;\n margin-top: 0.625rem;\n display: flex;\n align-items: center;\n background-color: #fff;\n user-select: none;\n\n svg {\n margin-right: 0.375rem;\n }\n\n &:hover {\n cursor: pointer;\n }\n"], ["\n border: 0.063rem solid ", ";\n color: #0078ff;\n border-radius: 0.313rem;\n padding: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 600;\n margin: 0;\n margin-top: 0.625rem;\n display: flex;\n align-items: center;\n background-color: #fff;\n user-select: none;\n\n svg {\n margin-right: 0.375rem;\n }\n\n &:hover {\n cursor: pointer;\n }\n"])), function (props) { return props.borderColor; });
7756
7938
  var DeliveryDetails = function (_a) {
7757
7939
  var deliveryDetailsText = _a.deliveryDetailsText, arrivingBy = _a.arrivingBy, shippingTo = _a.shippingTo, instantOrderUpdate = _a.instantOrderUpdate, note = _a.note;
7758
7940
  var theme = useTheme();
7759
7941
  return (jsxRuntime.jsxs("div", __assign({ "data-testid": "DeliveryDetails" }, { children: [jsxRuntime.jsx(Title$1, __assign({ color: theme.colors.pallete.secondary.color }, { children: deliveryDetailsText }), void 0), jsxRuntime.jsx(Line, { backgroundColor: theme.colors.shades['100'].color }, void 0), note && jsxRuntime.jsx(Note, __assign({}, note), void 0), jsxRuntime.jsxs(Row$1, __assign({ "data-testid": "DD-row", theme: theme }, { children: [jsxRuntime.jsxs(Col$1, __assign({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$1, __assign({ theme: theme }, { children: jsxRuntime.jsx(Icon.PDP.Clock, {}, void 0) }), void 0), arrivingBy.title] }), void 0), jsxRuntime.jsx(SectionDetails, __assign({ color: theme.colors.shades['700'].color }, { children: arrivingBy.details }), void 0)] }), void 0), jsxRuntime.jsxs(Col$1, __assign({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$1, __assign({ theme: theme }, { children: jsxRuntime.jsx(Icon.Navigation.MapMarker, {}, void 0) }), void 0), shippingTo.title] }), void 0), jsxRuntime.jsx(SectionDetails, __assign({ color: theme.colors.shades['700'].color }, { children: shippingTo.details }), void 0)] }), void 0), jsxRuntime.jsxs(Col$1, __assign({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$1, __assign({ theme: theme }, { children: jsxRuntime.jsx(Icon.Messaging.Messenger, {}, void 0) }), void 0), instantOrderUpdate.title] }), void 0), jsxRuntime.jsx(SectionDetails, __assign({ color: theme.colors.shades['700'].color }, { children: instantOrderUpdate.details }), void 0), jsxRuntime.jsxs(KeepMeUpdated, __assign({ onClick: instantOrderUpdate.keepMeUpdated.onClick, borderColor: theme.colors.shades['150'].color }, { children: [jsxRuntime.jsx(Icon.Messaging.Messenger, { width: 1, height: 1, fill: "#0078FF" }, void 0), instantOrderUpdate.keepMeUpdated.title] }), void 0)] }), void 0)] }), void 0)] }), void 0));
7760
7942
  };
7761
- var templateObject_1$p, templateObject_2$g, templateObject_3$b, templateObject_4$7, templateObject_5$4, templateObject_6$4, templateObject_7$2, templateObject_8$1;
7943
+ var templateObject_1$n, templateObject_2$f, templateObject_3$a, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$1, templateObject_8;
7762
7944
 
7763
- var Container$e = newStyled.div(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"])));
7764
- var H1$2 = newStyled.h1(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"])), function (props) { return props.color; });
7945
+ var Container$e = newStyled.div(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"])));
7946
+ var H1$2 = newStyled.h1(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"])), function (props) { return props.color; });
7765
7947
  var ScrollToTop = function (_a) {
7766
7948
  var scrollToTopText = _a.scrollToTopText, onClick = _a.onClick;
7767
7949
  var theme = useTheme();
7768
7950
  return (jsxRuntime.jsxs(Container$e, __assign({ onClick: onClick, "data-testid": "Container" }, { children: [jsxRuntime.jsx(H1$2, __assign({ color: theme.colors.shades['700'].color }, { children: scrollToTopText }), void 0), jsxRuntime.jsx(Icon.Arrows.ChevronUpSolid, { width: 1.375, height: 1.375, fill: theme.colors.pallete.primary.color }, void 0)] }), void 0));
7769
7951
  };
7770
- var templateObject_1$o, templateObject_2$f;
7952
+ var templateObject_1$m, templateObject_2$e;
7771
7953
 
7772
- var Container$d = newStyled.div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"])));
7773
- var H1$1 = newStyled.h1(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"])), function (props) { return props.color; });
7954
+ var Container$d = newStyled.div(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"])));
7955
+ var H1$1 = newStyled.h1(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"])), function (props) { return props.color; });
7774
7956
  var OrderBar = function (_a) {
7775
7957
  var message = _a.message;
7776
7958
  var theme = useTheme();
7777
7959
  return (jsxRuntime.jsxs(Container$d, { children: [jsxRuntime.jsx(Icon.Actions.Check, { width: 1.25, height: 0.875, fill: "#2F806A" }, void 0), jsxRuntime.jsx(H1$1, __assign({ color: theme.colors.shades['700'].color }, { children: message }), void 0)] }, void 0));
7778
7960
  };
7779
- var templateObject_1$n, templateObject_2$e;
7961
+ var templateObject_1$l, templateObject_2$d;
7780
7962
 
7781
- var TableElement = newStyled.table(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"], ["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; });
7782
- var TableCell = newStyled.td(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7783
- var TableHead = newStyled.th(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n font-weight: 700;\n\n &:last-child {\n border-right: none;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n font-weight: 700;\n\n &:last-child {\n border-right: none;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7784
- var TableRow = newStyled.tr(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n\n &.background {\n background-color: ", ";\n }\n"], ["\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n\n &.background {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; });
7963
+ var TableElement = newStyled.table(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"], ["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; });
7964
+ var TableCell = newStyled.td(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7965
+ var TableHead = newStyled.th(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n font-weight: 700;\n\n &:last-child {\n border-right: none;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n font-weight: 700;\n\n &:last-child {\n border-right: none;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7966
+ var TableRow = newStyled.tr(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n\n &.background {\n background-color: ", ";\n }\n"], ["\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n\n &.background {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; });
7785
7967
  var SizeTable = function (_a) {
7786
7968
  var headers = _a.headers, data = _a.data;
7787
7969
  var theme = useTheme();
7788
7970
  return (jsxRuntime.jsxs(TableElement, __assign({ color: theme.colors.shades['700'].color, borderColor: theme.colors.shades['100'].color }, { children: [jsxRuntime.jsx("thead", { children: jsxRuntime.jsx(TableRow, __assign({ backgroundColor: theme.colors.shades['10'].color }, { children: headers.map(function (header, index) { return (jsxRuntime.jsx(TableHead, __assign({ borderColor: theme.colors.shades['100'].color }, { children: header }), index)); }) }), void 0) }, void 0), jsxRuntime.jsx("tbody", { children: data.map(function (row, index) { return (jsxRuntime.jsx(TableRow, __assign({ className: index % 2 !== 0 ? '' : 'background', backgroundColor: theme.colors.shades['10'].color }, { children: row.map(function (cell, index) { return (jsxRuntime.jsx(TableCell, __assign({ borderColor: theme.colors.shades['100'].color }, { children: cell }), index)); }) }), index)); }) }, void 0)] }), void 0));
7789
7971
  };
7790
- var templateObject_1$m, templateObject_2$d, templateObject_3$a, templateObject_4$6;
7791
-
7792
- var Img = newStyled.img(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"], ["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"])), function (props) { return props.height; }, function (props) { return props.width; }, function (props) { return props.borderRadius; }, function (props) { return props.objectFit; }, function (props) { return props.objectPosition; });
7793
- var Image$1 = function (_a) {
7794
- var src = _a.src, alt = _a.alt, height = _a.height, width = _a.width, borderRadius = _a.borderRadius, objectFit = _a.objectFit, objectPosition = _a.objectPosition;
7795
- return (jsxRuntime.jsx(Img, { src: src, alt: alt, height: height, width: width, borderRadius: borderRadius, objectFit: objectFit, objectPosition: objectPosition }, void 0));
7796
- };
7797
- var templateObject_1$l;
7972
+ var templateObject_1$k, templateObject_2$c, templateObject_3$9, templateObject_4$4;
7798
7973
 
7799
- var Container$c = newStyled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n"], ["\n display: flex;\n flex-direction: row;\n width: auto;\n"])));
7800
- var DescriptionContainer = newStyled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"])), function (_a) {
7974
+ var Container$c = newStyled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n"], ["\n display: flex;\n flex-direction: row;\n width: auto;\n"])));
7975
+ var DescriptionContainer = newStyled.div(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"])), function (_a) {
7801
7976
  var theme = _a.theme;
7802
7977
  return mediaQueries({ theme: theme })({
7803
7978
  marginLeft: ['0.938rem', '1.875rem'],
@@ -7823,7 +7998,7 @@ var Subtitle = newStyled.h3(function (_a) {
7823
7998
  margin: '0.063rem 0',
7824
7999
  });
7825
8000
  });
7826
- var PriceContainer = newStyled.div(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n display: flex;\n ", ";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"], ["\n display: flex;\n ", ";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"])), function (_a) {
8001
+ var PriceContainer = newStyled.div(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n display: flex;\n ", ";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"], ["\n display: flex;\n ", ";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"])), function (_a) {
7827
8002
  var withTag = _a.withTag, theme = _a.theme;
7828
8003
  return withTag
7829
8004
  ? mediaQueries({ theme: theme })({
@@ -7835,9 +8010,9 @@ var PriceContainer = newStyled.div(templateObject_3$9 || (templateObject_3$9 = _
7835
8010
  var SimpleOrderItem = function (_a) {
7836
8011
  var title = _a.title, subtitle = _a.subtitle, image = _a.image, price = _a.price, tag = _a.tag;
7837
8012
  var theme = useTheme();
7838
- return (jsxRuntime.jsxs(Container$c, { children: [jsxRuntime.jsx(Image$1, { src: image.src, alt: image.alt, width: "4.063rem", height: "5.375rem", objectFit: "cover", objectPosition: "center" }, void 0), jsxRuntime.jsxs(DescriptionContainer, __assign({ "data-testid": "order-item-description-container", theme: theme }, { children: [jsxRuntime.jsx(Title, __assign({ color: theme.colors.shades['700'].color }, { children: title }), void 0), jsxRuntime.jsx(Subtitle, __assign({ color: theme.colors.shades['700'].color }, { children: subtitle }), void 0), jsxRuntime.jsxs(PriceContainer, __assign({ "data-testid": "order-item-price-container", withTag: !!tag, theme: theme }, { children: [tag && (jsxRuntime.jsx(OfferBanner, { discountAppliedText: tag === null || tag === void 0 ? void 0 : tag.text, backgroundColor: tag === null || tag === void 0 ? void 0 : tag.backgroundColor }, void 0)), jsxRuntime.jsx(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color || theme.colors.shades['700'].color, size: exports.ComponentSize.Small }, void 0)] }), void 0)] }), void 0)] }, void 0));
8013
+ return (jsxRuntime.jsxs(Container$c, { children: [jsxRuntime.jsx(Image, { src: image.src, alt: image.alt, width: "4.063rem", height: "5.375rem", objectFit: "cover", objectPosition: "center" }, void 0), jsxRuntime.jsxs(DescriptionContainer, __assign({ "data-testid": "order-item-description-container", theme: theme }, { children: [jsxRuntime.jsx(Title, __assign({ color: theme.colors.shades['700'].color }, { children: title }), void 0), jsxRuntime.jsx(Subtitle, __assign({ color: theme.colors.shades['700'].color }, { children: subtitle }), void 0), jsxRuntime.jsxs(PriceContainer, __assign({ "data-testid": "order-item-price-container", withTag: !!tag, theme: theme }, { children: [tag && (jsxRuntime.jsx(OfferBanner, { discountAppliedText: tag === null || tag === void 0 ? void 0 : tag.text, backgroundColor: tag === null || tag === void 0 ? void 0 : tag.backgroundColor }, void 0)), jsxRuntime.jsx(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color || theme.colors.shades['700'].color, size: exports.ComponentSize.Small }, void 0)] }), void 0)] }), void 0)] }, void 0));
7839
8014
  };
7840
- var templateObject_1$k, templateObject_2$c, templateObject_3$9;
8015
+ var templateObject_1$j, templateObject_2$b, templateObject_3$8;
7841
8016
 
7842
8017
  function formatDate(date) {
7843
8018
  var day = date.getDate();
@@ -7846,47 +8021,47 @@ function formatDate(date) {
7846
8021
  return month < 10 ? "".concat(day, "/0").concat(month, "/").concat(year) : "".concat(day, "/").concat(month, "/").concat(year);
7847
8022
  }
7848
8023
 
7849
- var Container$b = newStyled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"], ["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"])));
7850
- var Heading = newStyled.div(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"])), function (_a) {
8024
+ var Container$b = newStyled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"], ["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"])));
8025
+ var Heading = newStyled.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"])), function (_a) {
7851
8026
  var theme = _a.theme;
7852
8027
  return mediaQueries({ theme: theme })({
7853
8028
  fontSize: ['14px', '16px'],
7854
8029
  lineHeight: ['22px', '24px'],
7855
8030
  });
7856
8031
  });
7857
- var Content = newStyled.div(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n ", ";\n"])), function (_a) {
8032
+ var Content = newStyled.div(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n ", ";\n"])), function (_a) {
7858
8033
  var theme = _a.theme;
7859
8034
  return mediaQueries({ theme: theme })({
7860
8035
  flexDirection: ['column', 'row'],
7861
8036
  });
7862
8037
  });
7863
- var ReviewContainer = newStyled.div(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n"])), function (_a) {
8038
+ var ReviewContainer = newStyled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n"])), function (_a) {
7864
8039
  var theme = _a.theme;
7865
8040
  return mediaQueries({ theme: theme })({
7866
8041
  margin: ['0 0 8px 0', '0 50px 0 0'],
7867
8042
  });
7868
8043
  });
7869
- var H2 = newStyled.h2(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n font-weight: 600;\n ", ";\n margin: 0;\n"], ["\n font-weight: 600;\n ", ";\n margin: 0;\n"])), function (_a) {
8044
+ var H2 = newStyled.h2(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n font-weight: 600;\n ", ";\n margin: 0;\n"], ["\n font-weight: 600;\n ", ";\n margin: 0;\n"])), function (_a) {
7870
8045
  var theme = _a.theme;
7871
8046
  return mediaQueries({ theme: theme })({
7872
8047
  fontSize: ['16px', '18px'],
7873
8048
  lineHeight: ['24px', '28px'],
7874
8049
  });
7875
8050
  });
7876
- var H3$1 = newStyled.h3(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 24px;\n ", ";\n margin: 10px 0 8px;\n"], ["\n font-size: 16px;\n line-height: 24px;\n ", ";\n margin: 10px 0 8px;\n"])), function (_a) {
8051
+ var H3$1 = newStyled.h3(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 24px;\n ", ";\n margin: 10px 0 8px;\n"], ["\n font-size: 16px;\n line-height: 24px;\n ", ";\n margin: 10px 0 8px;\n"])), function (_a) {
7877
8052
  var theme = _a.theme;
7878
8053
  return mediaQueries({ theme: theme })({
7879
8054
  fontSize: ['14px', '16px'],
7880
8055
  lineHeight: ['22px', '24px'],
7881
8056
  });
7882
8057
  });
7883
- var P = newStyled.p(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n"], ["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n"])));
8058
+ var P = newStyled.p(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n"], ["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n"])));
7884
8059
  var Review = function (_a) {
7885
8060
  var reviewerName = _a.reviewerName, date = _a.date, rating = _a.rating, stars = _a.stars, title = _a.title, description = _a.description, image = _a.image;
7886
8061
  var theme = useTheme();
7887
- return (jsxRuntime.jsxs(Container$b, { children: [jsxRuntime.jsxs(Heading, __assign({ theme: theme }, { children: [jsxRuntime.jsx(H2, __assign({ theme: theme }, { children: reviewerName }), void 0), formatDate(date)] }), void 0), jsxRuntime.jsx(StarList, { starsNumber: 5, rating: rating, fill: stars.color, size: stars.size }, void 0), jsxRuntime.jsxs(Content, __assign({ "data-testid": "review-content", theme: theme }, { children: [jsxRuntime.jsxs(ReviewContainer, __assign({ theme: theme }, { children: [jsxRuntime.jsx(H3$1, __assign({ theme: theme }, { children: title }), void 0), jsxRuntime.jsx(P, { children: description }, void 0)] }), void 0), jsxRuntime.jsx(Image$1, { src: image.src, alt: image.alt, width: "7.5rem", height: "10rem" }, void 0)] }), void 0)] }, void 0));
8062
+ return (jsxRuntime.jsxs(Container$b, { children: [jsxRuntime.jsxs(Heading, __assign({ theme: theme }, { children: [jsxRuntime.jsx(H2, __assign({ theme: theme }, { children: reviewerName }), void 0), formatDate(date)] }), void 0), jsxRuntime.jsx(StarList, { starsNumber: 5, rating: rating, fill: stars.color, size: stars.size }, void 0), jsxRuntime.jsxs(Content, __assign({ "data-testid": "review-content", theme: theme }, { children: [jsxRuntime.jsxs(ReviewContainer, __assign({ theme: theme }, { children: [jsxRuntime.jsx(H3$1, __assign({ theme: theme }, { children: title }), void 0), jsxRuntime.jsx(P, { children: description }, void 0)] }), void 0), jsxRuntime.jsx(Image, { src: image.src, alt: image.alt, width: "7.5rem", height: "10rem" }, void 0)] }), void 0)] }, void 0));
7888
8063
  };
7889
- var templateObject_1$j, templateObject_2$b, templateObject_3$8, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$1;
8064
+ var templateObject_1$i, templateObject_2$a, templateObject_3$7, templateObject_4$3, templateObject_5$2, templateObject_6$2, templateObject_7;
7890
8065
 
7891
8066
  var Button$3 = newStyled.button(function () { return ({
7892
8067
  background: 'transparent',
@@ -12129,14 +12304,14 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12129
12304
  return Slider;
12130
12305
  }(React__default["default"].Component);
12131
12306
 
12132
- var StyledSlider = newStyled(Slider)(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"], ["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"])), function (props) { return "".concat(props.dotsSpacing, "rem"); }, function (props) { return "".concat(props.dotListMarginTop, "rem"); }, function (_a) {
12307
+ var StyledSlider = newStyled(Slider)(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"], ["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"])), function (props) { return "".concat(props.dotsSpacing, "rem"); }, function (props) { return "".concat(props.dotListMarginTop, "rem"); }, function (_a) {
12133
12308
  var arrowPaddingOffset = _a.arrowPaddingOffset, _b = _a.arrowPadding, arrowPadding = _b === void 0 ? 0 : _b;
12134
12309
  return "-".concat(arrowPaddingOffset + arrowPadding, "rem");
12135
12310
  }, function (_a) {
12136
12311
  var arrowPaddingOffset = _a.arrowPaddingOffset, _b = _a.arrowPadding, arrowPadding = _b === void 0 ? 0 : _b;
12137
12312
  return "-".concat(arrowPaddingOffset + arrowPadding, "rem");
12138
12313
  });
12139
- var templateObject_1$i;
12314
+ var templateObject_1$h;
12140
12315
 
12141
12316
  var getStylesBySize$1 = function (size) {
12142
12317
  // rem units
@@ -12195,13 +12370,13 @@ var SliderNavigation = function (_a) {
12195
12370
  } }, { children: jsx(StyledSlider, __assign({}, settings, { arrowPadding: arrows && arrows.arrowPadding, dotListMarginTop: dotListMarginTop, arrowPaddingOffset: arrows ? arrows.arrowWidth : 0, dotsSpacing: styles.dotsSpacing }, { children: children }), void 0) }), void 0));
12196
12371
  };
12197
12372
 
12198
- var List = newStyled.ul(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n display: flex;\n margin: 0;\n padding: 0;\n"], ["\n display: flex;\n margin: 0;\n padding: 0;\n"])));
12199
- var Item = newStyled.li(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"], ["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"])));
12200
- var DropdownWrapper = newStyled.div(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n right: -0.938rem;\n min-width: 9.375rem;\n position: absolute;\n padding-top: 0.625rem;\n margin-top: -0.188rem;\n width: max-content;\n visibility: hidden;\n"], ["\n right: -0.938rem;\n min-width: 9.375rem;\n position: absolute;\n padding-top: 0.625rem;\n margin-top: -0.188rem;\n width: max-content;\n visibility: hidden;\n"])));
12201
- var ArrowContainer = newStyled.div(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n transform: rotate(180deg);\n display: flex;\n justify-content: flex-start;\n margin-bottom: -0.063rem;\n padding-left: 0.938rem;\n"], ["\n transform: rotate(180deg);\n display: flex;\n justify-content: flex-start;\n margin-bottom: -0.063rem;\n padding-left: 0.938rem;\n"])));
12202
- var StyledDropdown = newStyled.ul(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n border: 0.063rem solid ", ";\n border-radius: 0.5rem;\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n"], ["\n margin: 0;\n padding: 0;\n border: 0.063rem solid ", ";\n border-radius: 0.5rem;\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n"])), function (props) { return props.borderColor; });
12203
- var DropdownItem = newStyled.li(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n list-style: none;\n padding: 0.813rem;\n border-bottom: 0.063rem solid ", ";\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: ", ";\n }\n\n &:last-child {\n border-bottom: none;\n border-radius: 0 0 0.5rem 0.5rem;\n }\n\n &:first-of-type {\n border-radius: 0.5rem 0.5rem 0 0;\n }\n\n &:only-child {\n border-radius: 0.5rem;\n }\n"], ["\n list-style: none;\n padding: 0.813rem;\n border-bottom: 0.063rem solid ", ";\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: ", ";\n }\n\n &:last-child {\n border-bottom: none;\n border-radius: 0 0 0.5rem 0.5rem;\n }\n\n &:first-of-type {\n border-radius: 0.5rem 0.5rem 0 0;\n }\n\n &:only-child {\n border-radius: 0.5rem;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; }, function (props) { return props.hoverColor; });
12204
- var templateObject_1$h, templateObject_2$a, templateObject_3$7, templateObject_4$4, templateObject_5$2, templateObject_6$2;
12373
+ var List = newStyled.ul(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n margin: 0;\n padding: 0;\n"], ["\n display: flex;\n margin: 0;\n padding: 0;\n"])));
12374
+ var Item = newStyled.li(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"], ["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"])));
12375
+ var DropdownWrapper = newStyled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n right: -0.938rem;\n min-width: 9.375rem;\n position: absolute;\n padding-top: 0.625rem;\n margin-top: -0.188rem;\n width: max-content;\n visibility: hidden;\n"], ["\n right: -0.938rem;\n min-width: 9.375rem;\n position: absolute;\n padding-top: 0.625rem;\n margin-top: -0.188rem;\n width: max-content;\n visibility: hidden;\n"])));
12376
+ var ArrowContainer = newStyled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n transform: rotate(180deg);\n display: flex;\n justify-content: flex-start;\n margin-bottom: -0.063rem;\n padding-left: 0.938rem;\n"], ["\n transform: rotate(180deg);\n display: flex;\n justify-content: flex-start;\n margin-bottom: -0.063rem;\n padding-left: 0.938rem;\n"])));
12377
+ var StyledDropdown = newStyled.ul(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n border: 0.063rem solid ", ";\n border-radius: 0.5rem;\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n"], ["\n margin: 0;\n padding: 0;\n border: 0.063rem solid ", ";\n border-radius: 0.5rem;\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n"])), function (props) { return props.borderColor; });
12378
+ var DropdownItem = newStyled.li(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n list-style: none;\n padding: 0.813rem;\n border-bottom: 0.063rem solid ", ";\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: ", ";\n }\n\n &:last-child {\n border-bottom: none;\n border-radius: 0 0 0.5rem 0.5rem;\n }\n\n &:first-of-type {\n border-radius: 0.5rem 0.5rem 0 0;\n }\n\n &:only-child {\n border-radius: 0.5rem;\n }\n"], ["\n list-style: none;\n padding: 0.813rem;\n border-bottom: 0.063rem solid ", ";\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: ", ";\n }\n\n &:last-child {\n border-bottom: none;\n border-radius: 0 0 0.5rem 0.5rem;\n }\n\n &:first-of-type {\n border-radius: 0.5rem 0.5rem 0 0;\n }\n\n &:only-child {\n border-radius: 0.5rem;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; }, function (props) { return props.hoverColor; });
12379
+ var templateObject_1$g, templateObject_2$9, templateObject_3$6, templateObject_4$2, templateObject_5$1, templateObject_6$1;
12205
12380
 
12206
12381
  var DropdownListIcons = function (_a) {
12207
12382
  var items = _a.items;
@@ -12214,7 +12389,7 @@ var Dropdown = function (_a) {
12214
12389
  return (jsxRuntime.jsxs(DropdownWrapper, __assign({ className: "dropdownWrapper", "data-testid": "Dropdown-wrapper" }, { children: [jsxRuntime.jsx(ArrowContainer, { children: jsxRuntime.jsx(TooltipArrow, { stroke: theme.colors.shades['200'].color, fill: "#fff", width: 1.25, height: 0.75 }, void 0) }, void 0), jsxRuntime.jsx(StyledDropdown, __assign({ borderColor: theme.colors.shades['200'].color }, { children: items.map(function (item, index) { return (jsxRuntime.jsx(DropdownItem, __assign({ onClick: item.callback, borderColor: theme.colors.shades['200'].color, color: theme.colors.shades['550'].color, hoverColor: theme.colors.shades['10'].color }, { children: item.description }), index)); }) }), void 0)] }), void 0));
12215
12390
  };
12216
12391
 
12217
- var StyledButton = newStyled(BaseButton)(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return props.hoverBackgroundColor; });
12392
+ var StyledButton = newStyled(BaseButton)(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return props.hoverBackgroundColor; });
12218
12393
  var AmazonButton = function (_a) {
12219
12394
  var onClick = _a.onClick;
12220
12395
  return (jsxRuntime.jsx(StyledButton, __assign({ backgroundColor: "#FED865", hoverBackgroundColor: "#F1CB58", onClick: onClick }, { children: jsxRuntime.jsx(Icon.Payment.Amazon, { width: 5.375, height: 1.25 }, void 0) }), void 0));
@@ -12223,23 +12398,23 @@ var PaypalButton = function (_a) {
12223
12398
  var onClick = _a.onClick;
12224
12399
  return (jsxRuntime.jsx(StyledButton, __assign({ backgroundColor: "#ffc439", hoverBackgroundColor: "#F4BF41", onClick: onClick }, { children: jsxRuntime.jsx(Icon.Payment.Paypal, { width: 4.938, height: 1.25 }, void 0) }), void 0));
12225
12400
  };
12226
- var templateObject_1$g;
12401
+ var templateObject_1$f;
12227
12402
 
12228
- var Wrapper = newStyled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return (props.rightToLeft ? '0' : '1.25rem'); });
12229
- var Col = newStyled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
12230
- var Row = newStyled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n margin-left: 10px;\n\n ", "};\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n margin-left: 10px;\n\n ", "};\n"])), function (props) {
12403
+ var Wrapper = newStyled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return (props.rightToLeft ? '0' : '1.25rem'); });
12404
+ var Col = newStyled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
12405
+ var Row = newStyled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n margin-left: 10px;\n\n ", "};\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n margin-left: 10px;\n\n ", "};\n"])), function (props) {
12231
12406
  return props.rightToLeft &&
12232
12407
  "\n flex-direction: row-reverse;\n justify-content: space-between;\n ";
12233
12408
  });
12234
- var H5 = newStyled.h5(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 500;\n margin-bottom: 0.125rem;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 500;\n margin-bottom: 0.125rem;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
12235
- var H3 = newStyled.h3(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 700;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 700;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
12236
- var FreeShipping = newStyled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n font-weight: 600;\n color: ", ";\n"], ["\n font-weight: 600;\n color: ", ";\n"])), function (props) { return props.color; });
12409
+ var H5 = newStyled.h5(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 500;\n margin-bottom: 0.125rem;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 500;\n margin-bottom: 0.125rem;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
12410
+ var H3 = newStyled.h3(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 700;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 700;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
12411
+ var FreeShipping = newStyled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-weight: 600;\n color: ", ";\n"], ["\n font-weight: 600;\n color: ", ";\n"])), function (props) { return props.color; });
12237
12412
  var CrossSellCheckbox = function (_a) {
12238
12413
  var imageURL = _a.imageURL, title = _a.title, description = _a.description, freeShippingText = _a.freeShippingText, rightToLeft = _a.rightToLeft, onChange = _a.onChange;
12239
12414
  var theme = useTheme();
12240
- return (jsxRuntime.jsxs(Wrapper, __assign({ backgroundColor: theme.colors.shades['10'].color, rightToLeft: Boolean(rightToLeft) }, { children: [jsxRuntime.jsx(Checkbox, { text: "", id: "checkbox", onChange: onChange, size: exports.ComponentSize.Small, variant: "secondary" }, void 0), jsxRuntime.jsxs(Row, __assign({ rightToLeft: Boolean(rightToLeft) }, { children: [jsxRuntime.jsx(Image$1, { src: imageURL, alt: "Cross sell image", borderRadius: "0.5rem" }, void 0), jsxRuntime.jsxs(Col, { children: [jsxRuntime.jsx(H5, __assign({ color: theme.colors.shades['700'].color }, { children: title }), void 0), jsxRuntime.jsxs(H3, __assign({ color: theme.colors.semantic.urgent.color }, { children: [description, jsxRuntime.jsxs(FreeShipping, __assign({ color: theme.colors.shades['700'].color }, { children: [' ', "+ ", freeShippingText] }), void 0)] }), void 0)] }, void 0)] }), void 0)] }), void 0));
12415
+ return (jsxRuntime.jsxs(Wrapper, __assign({ backgroundColor: theme.colors.shades['10'].color, rightToLeft: Boolean(rightToLeft) }, { children: [jsxRuntime.jsx(Checkbox, { text: "", id: "checkbox", onChange: onChange, size: exports.ComponentSize.Small, variant: "secondary" }, void 0), jsxRuntime.jsxs(Row, __assign({ rightToLeft: Boolean(rightToLeft) }, { children: [jsxRuntime.jsx(Image, { src: imageURL, alt: "Cross sell image", borderRadius: "0.5rem" }, void 0), jsxRuntime.jsxs(Col, { children: [jsxRuntime.jsx(H5, __assign({ color: theme.colors.shades['700'].color }, { children: title }), void 0), jsxRuntime.jsxs(H3, __assign({ color: theme.colors.semantic.urgent.color }, { children: [description, jsxRuntime.jsxs(FreeShipping, __assign({ color: theme.colors.shades['700'].color }, { children: [' ', "+ ", freeShippingText] }), void 0)] }), void 0)] }, void 0)] }), void 0)] }), void 0));
12241
12416
  };
12242
- var templateObject_1$f, templateObject_2$9, templateObject_3$6, templateObject_4$3, templateObject_5$1, templateObject_6$1;
12417
+ var templateObject_1$e, templateObject_2$8, templateObject_3$5, templateObject_4$1, templateObject_5, templateObject_6;
12243
12418
 
12244
12419
  var index = /*#__PURE__*/Object.freeze({
12245
12420
  __proto__: null,
@@ -12254,8 +12429,8 @@ var ImageContainer = newStyled.div(function (_a) {
12254
12429
  height: height,
12255
12430
  });
12256
12431
  });
12257
- var Container$a = newStyled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n"])));
12258
- var H1 = newStyled.h1(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.colors.pallete.secondary.color; }, function (props) { return props.align; });
12432
+ var Container$a = newStyled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n"])));
12433
+ var H1 = newStyled.h1(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.colors.pallete.secondary.color; }, function (props) { return props.align; });
12259
12434
  var getStylesBySize = function (size) {
12260
12435
  switch (size) {
12261
12436
  case exports.ComponentSize.Medium:
@@ -12280,11 +12455,11 @@ var ProductItemMobile = function (_a) {
12280
12455
  var title = _a.title, image = _a.image, price = _a.price, rating = _a.rating, size = _a.size, tags = _a.tags, _b = _a.alignName, alignName = _b === void 0 ? 'center' : _b;
12281
12456
  var theme = useTheme();
12282
12457
  var styles = getStylesBySize(size);
12283
- return (jsxs(Container$a, { children: [tags ? (jsxs(ImageContainer, __assign({ width: styles === null || styles === void 0 ? void 0 : styles.width, height: styles === null || styles === void 0 ? void 0 : styles.height, "data-testid": "tags-image-container" }, { children: [jsx(Image$1, { src: image.src, alt: image.alt, width: "100%", height: "100%" }, void 0), jsx(SeasonOfferTag, { text: tags.seasonOfferTagText, size: exports.ComponentSize.Small, css: { position: 'absolute', top: 0, left: 0 } }, void 0), jsx(CategoryTag, { text: tags.categoryTagText, size: exports.ComponentSize.Small, css: { position: 'absolute', bottom: '1rem', left: 0 } }, void 0)] }), void 0)) : (jsx(Image$1, { src: image.src, alt: image.alt, width: styles === null || styles === void 0 ? void 0 : styles.width, height: styles === null || styles === void 0 ? void 0 : styles.height }, void 0)), jsx(H1, __assign({ theme: theme, align: alignName }, { children: title }), void 0), jsx(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color, size: exports.ComponentSize.Small }, void 0), jsx(Rating, { size: exports.ComponentSize.XSmall, rating: rating.rating, reviews: rating.reviews, reviewsText: "" }, void 0)] }, void 0));
12458
+ return (jsxs(Container$a, { children: [tags ? (jsxs(ImageContainer, __assign({ width: styles === null || styles === void 0 ? void 0 : styles.width, height: styles === null || styles === void 0 ? void 0 : styles.height, "data-testid": "tags-image-container" }, { children: [jsx(Image, { src: image.src, alt: image.alt, width: "100%", height: "100%" }, void 0), jsx(SeasonOfferTag, { text: tags.seasonOfferTagText, size: exports.ComponentSize.Small, css: { position: 'absolute', top: 0, left: 0 } }, void 0), jsx(CategoryTag, { text: tags.categoryTagText, size: exports.ComponentSize.Small, css: { position: 'absolute', bottom: '1rem', left: 0 } }, void 0)] }), void 0)) : (jsx(Image, { src: image.src, alt: image.alt, width: styles === null || styles === void 0 ? void 0 : styles.width, height: styles === null || styles === void 0 ? void 0 : styles.height }, void 0)), jsx(H1, __assign({ theme: theme, align: alignName }, { children: title }), void 0), jsx(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color, size: exports.ComponentSize.Small }, void 0), jsx(Rating, { size: exports.ComponentSize.XSmall, rating: rating.rating, reviews: rating.reviews, reviewsText: "" }, void 0)] }, void 0));
12284
12459
  };
12285
- var templateObject_1$e, templateObject_2$8;
12460
+ var templateObject_1$d, templateObject_2$7;
12286
12461
 
12287
- var Container$9 = newStyled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n display: flex;\n row-gap: 1.875rem;\n column-gap: 1.875rem;\n flex-wrap: wrap;\n"], ["\n display: flex;\n row-gap: 1.875rem;\n column-gap: 1.875rem;\n flex-wrap: wrap;\n"])));
12462
+ var Container$9 = newStyled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n display: flex;\n row-gap: 1.875rem;\n column-gap: 1.875rem;\n flex-wrap: wrap;\n"], ["\n display: flex;\n row-gap: 1.875rem;\n column-gap: 1.875rem;\n flex-wrap: wrap;\n"])));
12288
12463
  function withProductGrid(ProductItemComponent, data) {
12289
12464
  function WithProductGrid(props) {
12290
12465
  return (jsxRuntime.jsx(Container$9, __assign({ "data-testid": "product-grid-container" }, { children: data.map(function (product, index) { return (jsxRuntime.jsx(ProductItemComponent, __assign({}, product, props), index)); }) }), void 0));
@@ -12294,18 +12469,18 @@ function withProductGrid(ProductItemComponent, data) {
12294
12469
  WithProductGrid.displayName = "withGrid(".concat(wrappedComponentName, ")");
12295
12470
  return WithProductGrid;
12296
12471
  }
12297
- var templateObject_1$d;
12472
+ var templateObject_1$c;
12298
12473
 
12299
12474
  var Collection = {
12300
12475
  ProductItemMobile: ProductItemMobile,
12301
12476
  withProductGrid: withProductGrid,
12302
12477
  };
12303
12478
 
12304
- var Backdrop = newStyled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n position: fixed;\n z-index: 2;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n transition: background-color 0.3s ease-out;\n\n ", "\n"], ["\n position: fixed;\n z-index: 2;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n transition: background-color 0.3s ease-out;\n\n ", "\n"])), function (_a) {
12479
+ var Backdrop = newStyled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n position: fixed;\n z-index: 2;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n transition: background-color 0.3s ease-out;\n\n ", "\n"], ["\n position: fixed;\n z-index: 2;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n transition: background-color 0.3s ease-out;\n\n ", "\n"])), function (_a) {
12305
12480
  var isOpen = _a.isOpen, backgroundColor = _a.backgroundColor;
12306
12481
  return isOpen ? "background-color: ".concat(backgroundColor, ";") : 'transparent';
12307
12482
  });
12308
- var Sidebar = newStyled.div(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n height: 100%;\n width: ", ";\n position: fixed;\n z-index: 3;\n ", ": 0;\n top: 0;\n background-color: ", ";\n overflow-x: hidden;\n transition: transform 0.3s ease-in-out;\n\n ", "\n"], ["\n height: 100%;\n width: ", ";\n position: fixed;\n z-index: 3;\n ", ": 0;\n top: 0;\n background-color: ", ";\n overflow-x: hidden;\n transition: transform 0.3s ease-in-out;\n\n ", "\n"])), function (_a) {
12483
+ var Sidebar = newStyled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n height: 100%;\n width: ", ";\n position: fixed;\n z-index: 3;\n ", ": 0;\n top: 0;\n background-color: ", ";\n overflow-x: hidden;\n transition: transform 0.3s ease-in-out;\n\n ", "\n"], ["\n height: 100%;\n width: ", ";\n position: fixed;\n z-index: 3;\n ", ": 0;\n top: 0;\n background-color: ", ";\n overflow-x: hidden;\n transition: transform 0.3s ease-in-out;\n\n ", "\n"])), function (_a) {
12309
12484
  var width = _a.width;
12310
12485
  return width;
12311
12486
  }, function (_a) {
@@ -12346,16 +12521,16 @@ var Drawer = function (_a) {
12346
12521
  }, [isOpen, onClose, onOpen]);
12347
12522
  return isMounted ? (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Backdrop, { backgroundColor: backdropColor, isOpen: isOpenState, "data-testid": "Drawer-Backdrop", onClick: onClickOutside && onClickOutside }, void 0), jsxRuntime.jsx(Sidebar, __assign({ position: position, width: width, backgroundColor: backgroundColor, isOpen: isOpenState, "data-testid": "Drawer-Sidebar" }, { children: children }), void 0)] }, void 0)) : null;
12348
12523
  };
12349
- var templateObject_1$c, templateObject_2$7;
12524
+ var templateObject_1$b, templateObject_2$6;
12350
12525
 
12351
- var Container$8 = newStyled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n"], ["\n width: ", ";\n height: ", ";\n"])), function (_a) {
12526
+ var Container$8 = newStyled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n"], ["\n width: ", ";\n height: ", ";\n"])), function (_a) {
12352
12527
  var size = _a.size;
12353
12528
  return (size ? size : '100%');
12354
12529
  }, function (_a) {
12355
12530
  var size = _a.size;
12356
12531
  return (size ? size : '100%');
12357
12532
  });
12358
- var Animation = newStyled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n @keyframes svg--animation {\n 0% {\n transform: rotateZ(0deg);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n }\n width: 100%;\n height: 100%;\n animation: linear infinite svg--animation;\n animation-duration: ", "s;\n"], ["\n @keyframes svg--animation {\n 0% {\n transform: rotateZ(0deg);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n }\n width: 100%;\n height: 100%;\n animation: linear infinite svg--animation;\n animation-duration: ", "s;\n"])), function (_a) {
12533
+ var Animation = newStyled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n @keyframes svg--animation {\n 0% {\n transform: rotateZ(0deg);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n }\n width: 100%;\n height: 100%;\n animation: linear infinite svg--animation;\n animation-duration: ", "s;\n"], ["\n @keyframes svg--animation {\n 0% {\n transform: rotateZ(0deg);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n }\n width: 100%;\n height: 100%;\n animation: linear infinite svg--animation;\n animation-duration: ", "s;\n"])), function (_a) {
12359
12534
  var animationDuration = _a.animationDuration;
12360
12535
  return animationDuration;
12361
12536
  });
@@ -12363,11 +12538,11 @@ var Spinner = function (_a) {
12363
12538
  var fill = _a.fill, background = _a.background, _b = _a.animationDuration, animationDuration = _b === void 0 ? 1 : _b, _c = _a.complete, complete = _c === void 0 ? false : _c, completeIconStroke = _a.completeIconStroke, size = _a.size;
12364
12539
  return (jsxRuntime.jsx(Container$8, __assign({ size: size, "data-testid": "Container" }, { children: complete ? (jsxRuntime.jsx(Icon.Actions.LightCheck, { fill: fill, strokeWidth: completeIconStroke }, void 0)) : (jsxRuntime.jsx(Animation, __assign({ animationDuration: animationDuration, "data-testid": "Animation" }, { children: jsxRuntime.jsx(Icon.Other.Loading, { fill: fill, backgroundColor: background }, void 0) }), void 0)) }), void 0));
12365
12540
  };
12366
- var templateObject_1$b, templateObject_2$6;
12541
+ var templateObject_1$a, templateObject_2$5;
12367
12542
 
12368
- var UL = newStyled.ul(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 100%;\n"], ["\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 100%;\n"])));
12369
- var LI = newStyled.li(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n list-style: none;\n background-color: ", ";\n padding: 0.375rem 0.625rem;\n border-radius: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n color: ", ";\n font-weight: 400;\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n display: flex;\n align-items: center;\n"], ["\n list-style: none;\n background-color: ", ";\n padding: 0.375rem 0.625rem;\n border-radius: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n color: ", ";\n font-weight: 400;\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n display: flex;\n align-items: center;\n"])), function (props) { return props.backgroundColor; }, function (props) { return props.color; });
12370
- var CloseIconContainer = newStyled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n width: 0.656rem;\n height: 0.656rem;\n display: flex;\n align-items: center;\n margin-left: 0.5rem;\n cursor: pointer;\n"], ["\n width: 0.656rem;\n height: 0.656rem;\n display: flex;\n align-items: center;\n margin-left: 0.5rem;\n cursor: pointer;\n"])));
12543
+ var UL = newStyled.ul(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 100%;\n"], ["\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 100%;\n"])));
12544
+ var LI = newStyled.li(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n list-style: none;\n background-color: ", ";\n padding: 0.375rem 0.625rem;\n border-radius: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n color: ", ";\n font-weight: 400;\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n display: flex;\n align-items: center;\n"], ["\n list-style: none;\n background-color: ", ";\n padding: 0.375rem 0.625rem;\n border-radius: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n color: ", ";\n font-weight: 400;\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n display: flex;\n align-items: center;\n"])), function (props) { return props.backgroundColor; }, function (props) { return props.color; });
12545
+ var CloseIconContainer = newStyled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n width: 0.656rem;\n height: 0.656rem;\n display: flex;\n align-items: center;\n margin-left: 0.5rem;\n cursor: pointer;\n"], ["\n width: 0.656rem;\n height: 0.656rem;\n display: flex;\n align-items: center;\n margin-left: 0.5rem;\n cursor: pointer;\n"])));
12371
12546
  var Tags = function (_a) {
12372
12547
  var _b = _a.color, color = _b === void 0 ? '#fff6ef' : _b, items = _a.items, onCloseClick = _a.onCloseClick;
12373
12548
  var theme = useTheme();
@@ -12375,7 +12550,7 @@ var Tags = function (_a) {
12375
12550
  return (jsxRuntime.jsxs(LI, __assign({ color: theme.colors.shades['700'].color, backgroundColor: color }, { children: [item, jsxRuntime.jsx(CloseIconContainer, __assign({ "data-testid": "li-close-icon", onClick: function () { return onCloseClick(index); } }, { children: jsxRuntime.jsx(Icon.Actions.Close, { fill: theme.colors.shades['700'].color }, void 0) }), void 0)] }), index));
12376
12551
  }) }), void 0));
12377
12552
  };
12378
- var templateObject_1$a, templateObject_2$5, templateObject_3$5;
12553
+ var templateObject_1$9, templateObject_2$4, templateObject_3$4;
12379
12554
 
12380
12555
  function FilteringDropdown(_a) {
12381
12556
  var options = _a.options, _b = _a.disabled, disabled = _b === void 0 ? false : _b, placeHolder = _a.placeHolder, _c = _a.wide, wide = _c === void 0 ? false : _c, _d = _a.sliceAfter, sliceAfter = _d === void 0 ? 100 : _d, _e = _a.filter, filter = _e === void 0 ? false : _e, onChange = _a.onChange;
@@ -12408,15 +12583,15 @@ function FilteringDropdown(_a) {
12408
12583
  }) }, void 0)] }), void 0));
12409
12584
  }
12410
12585
 
12411
- var Container$7 = newStyled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n"])));
12412
- var IconContainer = newStyled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n width: 0.531rem;\n height: 0.875rem;\n display: flex;\n align-items: center;\n cursor: pointer;\n"], ["\n width: 0.531rem;\n height: 0.875rem;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));
12413
- var PageNumbersContainer = newStyled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n display: flex;\n ", ";\n"], ["\n display: flex;\n ", ";\n"])), function (_a) {
12586
+ var Container$7 = newStyled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n"])));
12587
+ var IconContainer = newStyled.div(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n width: 0.531rem;\n height: 0.875rem;\n display: flex;\n align-items: center;\n cursor: pointer;\n"], ["\n width: 0.531rem;\n height: 0.875rem;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));
12588
+ var PageNumbersContainer = newStyled.div(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n display: flex;\n ", ";\n"], ["\n display: flex;\n ", ";\n"])), function (_a) {
12414
12589
  var theme = _a.theme;
12415
12590
  return mediaQueries({ theme: theme })({
12416
12591
  margin: ['0 0.75rem', '0 1.25rem'],
12417
12592
  });
12418
12593
  });
12419
- var PageNumber = newStyled.span(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n font-weight: ", ";\n color: ", ";\n text-align: center;\n cursor: pointer;\n border-bottom: ", ";\n ", ";\n"], ["\n font-weight: ", ";\n color: ", ";\n text-align: center;\n cursor: pointer;\n border-bottom: ", ";\n ", ";\n"])), function (_a) {
12594
+ var PageNumber = newStyled.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-weight: ", ";\n color: ", ";\n text-align: center;\n cursor: pointer;\n border-bottom: ", ";\n ", ";\n"], ["\n font-weight: ", ";\n color: ", ";\n text-align: center;\n cursor: pointer;\n border-bottom: ", ";\n ", ";\n"])), function (_a) {
12420
12595
  var bold = _a.bold;
12421
12596
  return (bold ? '700' : '500');
12422
12597
  }, function (_a) {
@@ -12433,7 +12608,7 @@ var PageNumber = newStyled.span(templateObject_4$2 || (templateObject_4$2 = __ma
12433
12608
  width: ['1.25rem', '1.875rem'],
12434
12609
  });
12435
12610
  });
12436
- var templateObject_1$9, templateObject_2$4, templateObject_3$4, templateObject_4$2;
12611
+ var templateObject_1$8, templateObject_2$3, templateObject_3$3, templateObject_4;
12437
12612
 
12438
12613
  var Pagination = function (_a) {
12439
12614
  var from = _a.from, to = _a.to, _b = _a.currentPage, currentPage = _b === void 0 ? from : _b, onChange = _a.onChange, _c = _a.underlineActive, underlineActive = _c === void 0 ? true : _c, _d = _a.boldActive, boldActive = _d === void 0 ? true : _d, _e = _a.disabled, disabled = _e === void 0 ? false : _e;
@@ -12449,110 +12624,6 @@ var Pagination = function (_a) {
12449
12624
  return (jsxRuntime.jsxs(Container$7, __assign({ "data-testid": "PaginationContainer" }, { children: [jsxRuntime.jsx(IconContainer, __assign({ onClick: function () { return handlePageChange(page - 1); }, "data-testid": "LeftChevron" }, { children: jsxRuntime.jsx(Icon.Arrows.ChevronLeft, { fill: disabled ? theme.colors.shades['250'].color : theme.colors.shades['700'].color }, void 0) }), void 0), jsxRuntime.jsx(PageNumbersContainer, __assign({ "data-testid": "PageNumbersContainer", theme: theme }, { children: new Array(to - from + 1).fill(0).map(function (_, i) { return (jsxRuntime.jsx(PageNumber, __assign({ onClick: function () { return handlePageChange(i + from); }, bold: boldActive && page === i + from, underline: underlineActive && page === i + from, role: 'button', color: disabled ? theme.colors.shades['250'].color : theme.colors.shades['700'].color, borderColor: disabled ? theme.colors.shades['250'].color : theme.colors.shades['700'].color, theme: theme }, { children: i + from }), i)); }) }), void 0), jsxRuntime.jsx(IconContainer, __assign({ onClick: function () { return handlePageChange(page + 1); }, "data-testid": "RightChevron" }, { children: jsxRuntime.jsx(Icon.Arrows.ChevronRight, { fill: disabled ? theme.colors.shades['250'].color : theme.colors.shades['700'].color }, void 0) }), void 0)] }), void 0));
12450
12625
  };
12451
12626
 
12452
- // This defines which HTML tag to render for each `variant`, it also defines
12453
- // `variants` styles that are consistent through all themes.
12454
- var TAGS = {
12455
- hero1: newStyled.h1(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""]))),
12456
- hero2: newStyled.h2(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject([""], [""]))),
12457
- hero3: newStyled.h3(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject([""], [""]))),
12458
- display1: newStyled.h1(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject([""], [""]))),
12459
- display2: newStyled.h2(templateObject_5 || (templateObject_5 = __makeTemplateObject([""], [""]))),
12460
- heading1: newStyled.h1(templateObject_6 || (templateObject_6 = __makeTemplateObject([""], [""]))),
12461
- heading2: newStyled.h2(templateObject_7 || (templateObject_7 = __makeTemplateObject([""], [""]))),
12462
- heading3: newStyled.h3(templateObject_8 || (templateObject_8 = __makeTemplateObject([""], [""]))),
12463
- heading4: newStyled.h4(templateObject_9 || (templateObject_9 = __makeTemplateObject([""], [""]))),
12464
- heading5: newStyled.h5(templateObject_10 || (templateObject_10 = __makeTemplateObject([""], [""]))),
12465
- heading6: newStyled.h6(templateObject_11 || (templateObject_11 = __makeTemplateObject([""], [""]))),
12466
- body: newStyled.p(templateObject_12 || (templateObject_12 = __makeTemplateObject([""], [""]))),
12467
- link: newStyled.a(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n cursor: pointer;\n color: inherit;\n text-decoration: ", ";\n "], ["\n cursor: pointer;\n color: inherit;\n text-decoration: ", ";\n "])), function (props) { return (props.underline ? 'underline' : 'none'); }),
12468
- button: newStyled.span(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "]))),
12469
- pricing: newStyled.span(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: inline-block;\n font-weight: ", ";\n text-decoration: ", ";\n "], ["\n display: inline-block;\n font-weight: ", ";\n text-decoration: ", ";\n "])), function (props) { return (props.original ? 'normal' : 'bold'); }, function (props) { return (props.original ? 'line-through' : 'bold'); }),
12470
- label: newStyled.label(templateObject_16 || (templateObject_16 = __makeTemplateObject([""], [""]))),
12471
- tag: newStyled.span(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: inline-block;\n text-transform: ", ";\n "], ["\n display: inline-block;\n text-transform: ", ";\n "])), function (props) { return (props.allCaps ? 'uppercase' : ''); }),
12472
- };
12473
- var Text = function (_a) {
12474
- var variant = _a.variant, children = _a.children, size = _a.size, weight = _a.weight, allProps = __rest(_a, ["variant", "children", "size", "weight"]);
12475
- var theme = useTheme();
12476
- var Tag = React.useMemo(function () { return TAGS[variant] || 'p'; }, [variant]);
12477
- var props = React.useMemo(function () {
12478
- var _a;
12479
- return (__assign(__assign({}, ((_a = DEFAULTS === null || DEFAULTS === void 0 ? void 0 : DEFAULTS[variant]) !== null && _a !== void 0 ? _a : {})), allProps));
12480
- }, [variant, allProps]);
12481
- var commonCSS = React.useMemo(function () {
12482
- var _a, _b;
12483
- // These are the common style inside a `variant`.
12484
- // E.g.: Common styles for all "button".
12485
- var variantstyle = (_a = theme.typography.variants[variant]) !== null && _a !== void 0 ? _a : {
12486
- fontSize: 14,
12487
- lineHeight: 1,
12488
- };
12489
- // This allow us to define different styles for different `sizes` inside a `variant`
12490
- // E.g.: "button-small", "button-regular"
12491
- //
12492
- // We use .filter(Boolean) to ignore the `size` on the `variants` that don't have it.
12493
- // E.g.: "hero1", "display1"
12494
- var variantName = [variant, size].filter(Boolean).join('-');
12495
- // These are styles specific to `variation-size`.
12496
- var variantSizeStyle = (_b = theme.typography.variants[variantName]) !== null && _b !== void 0 ? _b : {};
12497
- var style = __assign(__assign({ margin: 0, color: theme.colors.text.color }, variantstyle), variantSizeStyle);
12498
- if (weight) {
12499
- style.fontWeight = theme.typography.config.weight[weight];
12500
- }
12501
- if (props.disabled) {
12502
- style.opacity = 0.5;
12503
- style.cursor = 'not-allowed';
12504
- style.color = theme.colors.text.disabled;
12505
- }
12506
- return style;
12507
- }, [theme, variant, weight, size, props.disabled]);
12508
- // This is to make TS happy, because `href` doesn't exists on other `variants`
12509
- var propsHref = props.href;
12510
- var href = React.useMemo(function () {
12511
- // We could use `pointer-events: none` but it prevents us from using
12512
- // `cursor: not-allowed`, so we're changing the `href` for `disabled` links.
12513
- if (propsHref != null && props.disabled) {
12514
- return 'javascript:void(0)';
12515
- }
12516
- return propsHref;
12517
- }, [props.disabled, propsHref]);
12518
- return (jsx(Tag, __assign({}, props, { css: commonCSS, href: href }, { children: children }), void 0));
12519
- };
12520
- var DEFAULTS = {
12521
- heading1: {
12522
- weight: 'bold',
12523
- },
12524
- heading2: {
12525
- weight: 'bold',
12526
- },
12527
- heading3: {
12528
- weight: 'bold',
12529
- },
12530
- hero1: {
12531
- weight: 'heavy',
12532
- },
12533
- hero2: {
12534
- weight: 'heavy',
12535
- },
12536
- hero3: {
12537
- weight: 'heavy',
12538
- },
12539
- display1: {
12540
- weight: 'bold',
12541
- },
12542
- display2: {
12543
- weight: 'bold',
12544
- },
12545
- body: {
12546
- size: 'regular',
12547
- weight: 'regular',
12548
- },
12549
- button: {
12550
- size: 'regular',
12551
- weight: 'bold',
12552
- },
12553
- };
12554
- var templateObject_1$8, templateObject_2$3, templateObject_3$3, templateObject_4$1, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
12555
-
12556
12627
  var Container$6 = newStyled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 0.688rem 0rem;\n ", ",\n"], ["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 0.688rem 0rem;\n ", ",\n"])), function (props) {
12557
12628
  return mediaQueries(props)({
12558
12629
  borderTop: ["0.063rem solid ".concat(props.theme.colors.shades['100'].color), 'none'],
@@ -12572,7 +12643,7 @@ var Description = newStyled.div({
12572
12643
  var ProductItem = function (_a) {
12573
12644
  var src = _a.src, title = _a.title, price = _a.price;
12574
12645
  var theme = useTheme();
12575
- return (jsxRuntime.jsxs(Container$6, __assign({ theme: theme }, { children: [jsxRuntime.jsx(Image$1, { src: src, alt: "", width: "4.063rem", height: "5.375rem" }, void 0), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Text, __assign({ variant: "body", weight: "regular", size: "regular" }, { children: title }), void 0), jsxRuntime.jsx(PriceLabel, { finalPrice: price, color: "#C64844", size: exports.ComponentSize.Small }, void 0)] }, void 0)] }), void 0));
12646
+ return (jsxRuntime.jsxs(Container$6, __assign({ theme: theme }, { children: [jsxRuntime.jsx(Image, { src: src, alt: "", width: "4.063rem", height: "5.375rem" }, void 0), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Text$3, __assign({ variant: "body", weight: "regular", size: "regular" }, { children: title }), void 0), jsxRuntime.jsx(PriceLabel, { finalPrice: price, color: "#C64844", size: exports.ComponentSize.Small }, void 0)] }, void 0)] }), void 0));
12576
12647
  };
12577
12648
  var templateObject_1$7;
12578
12649
 
@@ -12583,7 +12654,7 @@ var Container$5 = newStyled.div({
12583
12654
  });
12584
12655
  var Footer = function (_a) {
12585
12656
  var text = _a.text, onClick = _a.onClick;
12586
- return (jsxRuntime.jsx(Container$5, { children: jsxRuntime.jsx(Text, __assign({ variant: "link", size: "regular", underline: true, onClick: onClick }, { children: text }), void 0) }, void 0));
12657
+ return (jsxRuntime.jsx(Container$5, { children: jsxRuntime.jsx(Text$3, __assign({ variant: "link", size: "regular", underline: true, onClick: onClick }, { children: text }), void 0) }, void 0));
12587
12658
  };
12588
12659
 
12589
12660
  var Ul = newStyled.ul({
@@ -12617,7 +12688,7 @@ var Header = newStyled.div(templateObject_3$2 || (templateObject_3$2 = __makeTem
12617
12688
  var ResultsPanel = function (_a) {
12618
12689
  var options = _a.options, header = _a.header, footer = _a.footer, onClick = _a.onClick, onViewAll = _a.onViewAll, dataTestId = _a.dataTestId;
12619
12690
  var theme = useTheme();
12620
- return (jsxRuntime.jsxs(Container$4, __assign({ "data-testid": dataTestId, theme: theme }, { children: [header && (jsxRuntime.jsx(Header, __assign({ theme: theme }, { children: jsxRuntime.jsx(Text, __assign({ variant: "heading6", weight: "demi" }, { children: header }), void 0) }), void 0)), jsxRuntime.jsx(Ul, { children: options.map(function (item, index) { return (jsxRuntime.jsx(Li, __assign({ theme: theme }, { children: jsxRuntime.jsx(Button$2, __assign({ onClick: function () { return onClick(item); } }, { children: jsxRuntime.jsx(ProductItem, { src: item.src, title: item.title, price: item.price }, void 0) }), void 0) }), index)); }) }, void 0), footer && jsxRuntime.jsx(Footer, { text: footer, onClick: onViewAll }, void 0)] }), void 0));
12691
+ return (jsxRuntime.jsxs(Container$4, __assign({ "data-testid": dataTestId, theme: theme }, { children: [header && (jsxRuntime.jsx(Header, __assign({ theme: theme }, { children: jsxRuntime.jsx(Text$3, __assign({ variant: "heading6", weight: "demi" }, { children: header }), void 0) }), void 0)), jsxRuntime.jsx(Ul, { children: options.map(function (item, index) { return (jsxRuntime.jsx(Li, __assign({ theme: theme }, { children: jsxRuntime.jsx(Button$2, __assign({ onClick: function () { return onClick(item); } }, { children: jsxRuntime.jsx(ProductItem, { src: item.src, title: item.title, price: item.price }, void 0) }), void 0) }), index)); }) }, void 0), footer && jsxRuntime.jsx(Footer, { text: footer, onClick: onViewAll }, void 0)] }), void 0));
12621
12692
  };
12622
12693
  var templateObject_1$6, templateObject_2$2, templateObject_3$2;
12623
12694
 
@@ -12771,15 +12842,14 @@ var SearchBar = function (_a) {
12771
12842
  }, onViewAll: function () { return onSearch(state.term); } }, void 0))] }), void 0));
12772
12843
  };
12773
12844
 
12774
- var Container$2 = newStyled.div(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n position: relative;\n max-height: 31.875rem;\n max-width: 23.438rem;\n"], ["\n position: relative;\n max-height: 31.875rem;\n max-width: 23.438rem;\n"])));
12775
- var Image = newStyled.img(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
12776
- var TopTagContainer = newStyled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n"])));
12777
- var BottomTagContainer = newStyled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"], ["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));
12845
+ var Container$2 = newStyled.div(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n position: relative;\n max-height: 31.875rem;\n"], ["\n position: relative;\n max-height: 31.875rem;\n"])));
12846
+ var TopTagContainer = newStyled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n"])));
12847
+ var BottomTagContainer = newStyled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"], ["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));
12778
12848
  var ImageProductWithTags = function (_a) {
12779
12849
  var image = _a.image, DiscountTagElement = _a.DiscountTagElement, BestSellerTagElement = _a.BestSellerTagElement, dataTestId = _a.dataTestId;
12780
- return (jsxRuntime.jsxs(Container$2, __assign({ "data-testid": dataTestId }, { children: [jsxRuntime.jsx(Image, { src: image.imageUrl, alt: image.alt }, void 0), jsxRuntime.jsx(TopTagContainer, { children: DiscountTagElement }, void 0), jsxRuntime.jsx(BottomTagContainer, { children: BestSellerTagElement }, void 0)] }), void 0));
12850
+ return (jsxRuntime.jsxs(Container$2, __assign({ "data-testid": dataTestId }, { children: [jsxRuntime.jsx(Image, { src: image.imageUrl, alt: image.alt, objectFit: "cover", objectPosition: "center top", width: "100%", height: "510px" }, void 0), jsxRuntime.jsx(TopTagContainer, { children: DiscountTagElement }, void 0), jsxRuntime.jsx(BottomTagContainer, { children: BestSellerTagElement }, void 0)] }), void 0));
12781
12851
  };
12782
- var templateObject_1$4, templateObject_2$1, templateObject_3$1, templateObject_4;
12852
+ var templateObject_1$4, templateObject_2$1, templateObject_3$1;
12783
12853
 
12784
12854
  var Button = newStyled.button(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n"], ["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n"])));
12785
12855
  var ArrowButton = function (_a) {
@@ -12803,29 +12873,19 @@ var NavigationButton = newStyled(ArrowButton)(templateObject_1$1 || (templateObj
12803
12873
  var RightButton = newStyled(NavigationButton)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n right: 0;\n"], ["\n right: 0;\n"])));
12804
12874
  var LeftButton = newStyled(NavigationButton)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n left: 0;\n"], ["\n left: 0;\n"])));
12805
12875
  var SlideNavigation = function (_a) {
12806
- var quantity = _a.quantity, initialIndex = _a.initialIndex, onNavigate = _a.onNavigate, dataTestId = _a.dataTestId;
12876
+ var quantity = _a.quantity, selectedIndex = _a.selectedIndex, onNavigate = _a.onNavigate, dataTestId = _a.dataTestId;
12877
+ var theme = useTheme();
12807
12878
  var upperLimit = quantity - 1;
12808
12879
  var lowerLimit = 0;
12809
- var initialValue = initialIndex && lowerLimit <= initialIndex && initialIndex <= upperLimit
12810
- ? initialIndex
12811
- : lowerLimit;
12812
- var _b = React.useState(initialValue), currentIndex = _b[0], setCurrentIndex = _b[1];
12813
- var theme = useTheme();
12814
- var getNextIndex = function () { return currentIndex + 1; };
12815
- var getPreviousIndex = function () { return currentIndex - 1; };
12816
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [currentIndex > lowerLimit && (jsxRuntime.jsx(LeftButton, { Icon: jsxRuntime.jsx(Icon.Arrows.ChevronLeft, { height: 2.125, width: 1.25, fill: theme.colors.shades['700'].color, opacity: 0.5 }, void 0), onClick: function () {
12817
- var index = getPreviousIndex();
12818
- setCurrentIndex(index);
12819
- onNavigate(index);
12820
- } }, void 0)), currentIndex < upperLimit && (jsxRuntime.jsx(RightButton, { Icon: jsxRuntime.jsx(Icon.Arrows.ChevronRight, { height: 2.125, width: 1.25, fill: theme.colors.shades['700'].color, opacity: 0.5 }, void 0), onClick: function () {
12821
- var index = getNextIndex();
12822
- setCurrentIndex(index);
12823
- onNavigate(index);
12824
- } }, void 0)), jsxRuntime.jsx(SlideDots, { quantity: quantity, selectedIndex: currentIndex, containerDataTestId: dataTestId }, void 0)] }, void 0));
12880
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [selectedIndex > lowerLimit && (jsxRuntime.jsx(LeftButton, { Icon: jsxRuntime.jsx(Icon.Arrows.ChevronLeft, { height: 2.125, width: 1.25, fill: theme.colors.shades['700'].color, opacity: 0.5 }, void 0), onClick: function () {
12881
+ onNavigate(selectedIndex - 1);
12882
+ } }, void 0)), selectedIndex < upperLimit && (jsxRuntime.jsx(RightButton, { Icon: jsxRuntime.jsx(Icon.Arrows.ChevronRight, { height: 2.125, width: 1.25, fill: theme.colors.shades['700'].color, opacity: 0.5 }, void 0), onClick: function () {
12883
+ onNavigate(selectedIndex + 1);
12884
+ } }, void 0)), jsxRuntime.jsx(SlideDots, { quantity: quantity, selectedIndex: selectedIndex, containerDataTestId: dataTestId }, void 0)] }, void 0));
12825
12885
  };
12826
12886
  var templateObject_1$1, templateObject_2, templateObject_3;
12827
12887
 
12828
- var Container = newStyled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n width: fit-content;\n position: relative;\n"], ["\n display: flex;\n flex-direction: column;\n height: fit-content;\n width: fit-content;\n position: relative;\n"])));
12888
+ var Container = newStyled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"], ["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"])));
12829
12889
  var ProductGalleryMobile = function (_a) {
12830
12890
  var images = _a.images, selectedValue = _a.selectedValue, DiscountTagElement = _a.DiscountTagElement, BestSellerTagElement = _a.BestSellerTagElement, productImageDataTestId = _a.productImageDataTestId, slideDotsDataTestId = _a.slideDotsDataTestId;
12831
12891
  var initialValue = selectedValue && images.includes(selectedValue) ? selectedValue : images[0];
@@ -12833,10 +12893,39 @@ var ProductGalleryMobile = function (_a) {
12833
12893
  React.useEffect(function () {
12834
12894
  setSelectedImage(initialValue);
12835
12895
  }, [initialValue]);
12836
- return (jsxRuntime.jsxs(Container, { children: [jsxRuntime.jsx(ImageProductWithTags, { image: selectedImage, DiscountTagElement: DiscountTagElement, BestSellerTagElement: BestSellerTagElement, dataTestId: productImageDataTestId }, void 0), jsxRuntime.jsx(SlideNavigation, { quantity: images.length, initialIndex: images.indexOf(selectedImage), onNavigate: function (index) { return setSelectedImage(images[index]); }, dataTestId: slideDotsDataTestId }, void 0)] }, void 0));
12896
+ return (jsxRuntime.jsxs(Container, { children: [jsxRuntime.jsx(ImageProductWithTags, { image: selectedImage, DiscountTagElement: DiscountTagElement, BestSellerTagElement: BestSellerTagElement, dataTestId: productImageDataTestId }, void 0), jsxRuntime.jsx(SlideNavigation, { quantity: images.length, selectedIndex: images.indexOf(selectedImage), onNavigate: function (index) { return setSelectedImage(images[index]); }, dataTestId: slideDotsDataTestId }, void 0)] }, void 0));
12837
12897
  };
12838
12898
  var templateObject_1;
12839
12899
 
12900
+ var Portal = function (_a) {
12901
+ var id = _a.id, className = _a.className, children = _a.children;
12902
+ var _b = React.useState(false), mounted = _b[0], setMounted = _b[1];
12903
+ var container = React.useRef(null);
12904
+ React.useEffect(function () {
12905
+ var element = document.getElementById(id);
12906
+ if (element == null) {
12907
+ element = document.createElement('div');
12908
+ element.id = id;
12909
+ document.body.appendChild(element);
12910
+ }
12911
+ if (element == null) {
12912
+ throw new Error("Unable to find/create container (".concat(id, ")"));
12913
+ }
12914
+ element.dataset.testId = id;
12915
+ setMounted(true);
12916
+ container.current = element;
12917
+ }, [id]);
12918
+ React.useEffect(function () {
12919
+ if (mounted) {
12920
+ container.current.className = className !== null && className !== void 0 ? className : '';
12921
+ }
12922
+ }, [className, mounted]);
12923
+ if (mounted === false) {
12924
+ return null;
12925
+ }
12926
+ return reactDom.createPortal(children, container.current, id);
12927
+ };
12928
+
12840
12929
  exports.Accordion = Accordion;
12841
12930
  exports.AmazonButton = AmazonButton;
12842
12931
  exports.AssetsProvider = AssetsProvider;
@@ -12858,7 +12947,7 @@ exports.FilteringTags = Tags;
12858
12947
  exports.FitPredictor = FitPredictor;
12859
12948
  exports.Icon = Icon;
12860
12949
  exports.IconButton = IconButton;
12861
- exports.Image = Image$1;
12950
+ exports.Image = Image;
12862
12951
  exports.Input = Input$1;
12863
12952
  exports.MultiColorPicker = MultiColorPicker;
12864
12953
  exports.OfferBanner = OfferBanner;
@@ -12866,11 +12955,13 @@ exports.OrderBar = OrderBar;
12866
12955
  exports.Pagination = Pagination;
12867
12956
  exports.PaymentMethod = PaymentMethod;
12868
12957
  exports.PaypalButton = PaypalButton;
12958
+ exports.Portal = Portal;
12869
12959
  exports.PriceLabel = PriceLabel;
12870
12960
  exports.ProductGallery = ProductGallery;
12871
12961
  exports.ProductGalleryMobile = ProductGalleryMobile;
12872
12962
  exports.ProgressBar = ProgressBar;
12873
12963
  exports.RadioGroupInput = RadioGroupInput;
12964
+ exports.RadioInput = RadioInput;
12874
12965
  exports.Rating = Rating;
12875
12966
  exports.Review = Review;
12876
12967
  exports.ScrollToTop = ScrollToTop;
@@ -12885,7 +12976,7 @@ exports.SizeTable = SizeTable;
12885
12976
  exports.SliderNavigation = SliderNavigation;
12886
12977
  exports.Spinner = Spinner;
12887
12978
  exports.StarList = StarList;
12888
- exports.Text = Text;
12979
+ exports.Text = Text$3;
12889
12980
  exports.TextButton = TextButton;
12890
12981
  exports.ThemeProvider = ThemeProvider;
12891
12982
  exports.ThemeVariables = ThemeVariables;