@ubnt/store.core 9.61.1-new-design → 9.61.2

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 (616) hide show
  1. package/CHANGELOG.md +5 -131
  2. package/lib/_virtual/_virtual_multi-entry.js +10 -13
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +11 -13
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.d.ts +2 -12
  7. package/lib/apis/smartcat.js +4 -27
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +4 -27
  10. package/lib/apis/smartcat.mjs.map +1 -1
  11. package/lib/assets/attention.svg +5 -5
  12. package/lib/assets/attention2.svg +5 -5
  13. package/lib/assets/icons/menu/{icon-location-pin.svg.js → icon-globe.svg.js} +6 -6
  14. package/lib/assets/icons/menu/icon-globe.svg.js.map +1 -0
  15. package/lib/assets/icons/menu/icon-globe.svg.mjs +3 -0
  16. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +1 -0
  17. package/lib/assets/logoUnifi.svg +2 -10
  18. package/lib/assets/minus4.svg +8 -8
  19. package/lib/assets/minus5.svg +8 -8
  20. package/lib/assets/plus2.svg +1 -4
  21. package/lib/assets/plus3.svg +4 -1
  22. package/lib/assets/plus5.svg +9 -9
  23. package/lib/assets/plus6.svg +9 -9
  24. package/lib/components/Accordion/Accordion.js +4 -4
  25. package/lib/components/Avatar/Avatar.js +2 -2
  26. package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
  27. package/lib/components/Button/Button.js +5 -12
  28. package/lib/components/Button/Button.js.map +1 -1
  29. package/lib/components/Button/Button.mjs +1 -8
  30. package/lib/components/Button/Button.mjs.map +1 -1
  31. package/lib/components/Button/CartButton.d.ts +1 -3
  32. package/lib/components/Button/CartButton.js +6 -11
  33. package/lib/components/Button/CartButton.js.map +1 -1
  34. package/lib/components/Button/CartButton.mjs +4 -8
  35. package/lib/components/Button/CartButton.mjs.map +1 -1
  36. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  37. package/lib/components/ButtonGroup/ButtonGroup.js +9 -16
  38. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  39. package/lib/components/ButtonGroup/ButtonGroup.mjs +9 -16
  40. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  41. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +6 -10
  42. package/lib/components/ButtonGroup/ButtonGroup.styles.js +20 -60
  43. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  44. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +20 -60
  45. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  46. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -5
  47. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  48. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
  49. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  50. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
  51. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  52. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
  53. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
  54. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  55. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
  56. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  57. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
  58. package/lib/components/CardSection/Card/Card.js +6 -6
  59. package/lib/components/CardSection/CardSection.js +2 -2
  60. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  61. package/lib/components/CartIcon/CartIcon.js +2 -2
  62. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +2 -4
  63. package/lib/components/CategoryTabs/CategoryTabs.styles.js +5 -8
  64. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  65. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +6 -7
  66. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  67. package/lib/components/Checkbox/Checkbox.js +4 -4
  68. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  69. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  70. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  71. package/lib/components/Container/Container.d.ts +1 -1
  72. package/lib/components/Container/Container.js +4 -5
  73. package/lib/components/Container/Container.js.map +1 -1
  74. package/lib/components/Container/Container.mjs +4 -5
  75. package/lib/components/Container/Container.mjs.map +1 -1
  76. package/lib/components/Container/index.stories.d.ts +5 -5
  77. package/lib/components/CustomImage/CustomImage.js +12 -12
  78. package/lib/components/Explore/Explore.js +5 -5
  79. package/lib/components/Explore/ExploreData.js +12 -12
  80. package/lib/components/Explore/ExploreData.js.map +1 -1
  81. package/lib/components/Explore/ExploreData.mjs +12 -12
  82. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  83. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
  84. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
  85. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  86. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
  87. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
  88. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
  89. package/lib/components/Footer/Footer.js +2 -2
  90. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  91. package/lib/components/Gallery/Gallery.context.js +17 -17
  92. package/lib/components/Gallery/Gallery.js +9 -9
  93. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  94. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  95. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  96. package/lib/components/GridGallery/GridGallery.js +8 -8
  97. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  98. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  99. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  100. package/lib/components/Header/AccountMenu/AccountMenu.js +20 -30
  101. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  102. package/lib/components/Header/AccountMenu/AccountMenu.mjs +3 -13
  103. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  104. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  105. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  106. package/lib/components/Header/CartModalV2/Item/Item.js +7 -7
  107. package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
  108. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  109. package/lib/components/Header/Header.js +43 -43
  110. package/lib/components/Header/Header.js.map +1 -1
  111. package/lib/components/Header/Header.mjs +9 -9
  112. package/lib/components/Header/Header.mjs.map +1 -1
  113. package/lib/components/Header/Header.styles.d.ts +12 -7
  114. package/lib/components/Header/Header.styles.js +32 -10
  115. package/lib/components/Header/Header.styles.js.map +1 -1
  116. package/lib/components/Header/Header.styles.mjs +31 -10
  117. package/lib/components/Header/Header.styles.mjs.map +1 -1
  118. package/lib/components/Header/Header.types.d.ts +5 -29
  119. package/lib/components/Header/Header.types.js +1 -2
  120. package/lib/components/Header/Header.types.js.map +1 -1
  121. package/lib/components/Header/Header.types.mjs +1 -2
  122. package/lib/components/Header/Header.types.mjs.map +1 -1
  123. package/lib/components/Header/IsolatedHeader.d.ts +0 -1
  124. package/lib/components/Header/IsolatedHeader.js +50 -50
  125. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  126. package/lib/components/Header/IsolatedHeader.mjs +46 -47
  127. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  128. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  129. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  130. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  131. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  132. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  133. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  134. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -1
  135. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  136. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  137. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  138. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  139. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  140. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  141. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +109 -116
  142. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  143. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +104 -111
  144. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  145. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +0 -9
  146. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +1 -15
  147. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  148. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +2 -13
  149. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  150. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +6 -12
  151. package/lib/components/Header/Overlay/Overlay.js +3 -3
  152. package/lib/components/Header/ProHeader/ProHeader.d.ts +5 -9
  153. package/lib/components/Header/ProHeader/ProHeader.js +189 -270
  154. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  155. package/lib/components/Header/ProHeader/ProHeader.mjs +171 -251
  156. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  157. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +25 -30
  158. package/lib/components/Header/ProHeader/ProHeader.styles.js +66 -119
  159. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  160. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +65 -112
  161. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  162. package/lib/components/Header/translations/ar.json.js +1 -4
  163. package/lib/components/Header/translations/ar.json.js.map +1 -1
  164. package/lib/components/Header/translations/ar.json.mjs +2 -4
  165. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  166. package/lib/components/Header/translations/de.json.js +1 -4
  167. package/lib/components/Header/translations/de.json.js.map +1 -1
  168. package/lib/components/Header/translations/de.json.mjs +2 -4
  169. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  170. package/lib/components/Header/translations/el.json.js +1 -4
  171. package/lib/components/Header/translations/el.json.js.map +1 -1
  172. package/lib/components/Header/translations/el.json.mjs +2 -4
  173. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  174. package/lib/components/Header/translations/en.json.js +1 -7
  175. package/lib/components/Header/translations/en.json.js.map +1 -1
  176. package/lib/components/Header/translations/en.json.mjs +2 -6
  177. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  178. package/lib/components/Header/translations/es.json.js +1 -4
  179. package/lib/components/Header/translations/es.json.js.map +1 -1
  180. package/lib/components/Header/translations/es.json.mjs +2 -4
  181. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  182. package/lib/components/Header/translations/fr.json.js +1 -4
  183. package/lib/components/Header/translations/fr.json.js.map +1 -1
  184. package/lib/components/Header/translations/fr.json.mjs +2 -4
  185. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  186. package/lib/components/Header/translations/it.json.js +1 -4
  187. package/lib/components/Header/translations/it.json.js.map +1 -1
  188. package/lib/components/Header/translations/it.json.mjs +2 -4
  189. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  190. package/lib/components/Header/translations/ja.json.js +1 -4
  191. package/lib/components/Header/translations/ja.json.js.map +1 -1
  192. package/lib/components/Header/translations/ja.json.mjs +2 -4
  193. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  194. package/lib/components/Header/translations/pt-BR.json.js +1 -4
  195. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  196. package/lib/components/Header/translations/pt-BR.json.mjs +2 -4
  197. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  198. package/lib/components/Header/translations/zh-Hans.json.js +1 -4
  199. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  200. package/lib/components/Header/translations/zh-Hans.json.mjs +2 -4
  201. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  202. package/lib/components/Header/translations/zh-Hant-TW.json.js +1 -4
  203. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  204. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +2 -4
  205. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  206. package/lib/components/Hero/Hero.js +5 -5
  207. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  208. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  209. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  210. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  211. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  212. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  213. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  214. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  215. package/lib/components/LandingPage/LandingPage.js +2 -2
  216. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  217. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  218. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  219. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  220. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  221. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  222. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  223. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  224. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  225. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  226. package/lib/components/LoaderDots/LoaderDots.js +1 -3
  227. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  228. package/lib/components/LoaderDots/LoaderDots.mjs +1 -3
  229. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  230. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +1 -2
  231. package/lib/components/LoaderDots/LoaderDots.styles.js +1 -11
  232. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  233. package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -11
  234. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  235. package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -2
  236. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  237. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  238. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  239. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  240. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  241. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  242. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  243. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  244. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  245. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  246. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  247. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  248. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  249. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  250. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  251. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  252. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  253. package/lib/components/MobileModal/MobileModal.js +4 -4
  254. package/lib/components/Modal/Modal.js +3 -3
  255. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  256. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  257. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  258. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  259. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  260. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  261. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  262. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  263. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  264. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  265. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  266. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  267. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  268. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  269. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
  270. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  271. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
  272. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  273. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  274. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  275. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  276. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  277. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  278. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  279. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  280. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  281. package/lib/components/ModelCompareV3/data/products/g4Instant.js +2 -2
  282. package/lib/components/ModelCompareV3/data/products/g4Instant.js.map +1 -1
  283. package/lib/components/ModelCompareV3/data/products/g4Instant.mjs +2 -2
  284. package/lib/components/ModelCompareV3/data/products/g4Instant.mjs.map +1 -1
  285. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
  286. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  287. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
  288. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  289. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
  290. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  291. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
  292. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  293. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
  294. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  295. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
  296. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  297. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
  298. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  299. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
  300. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  301. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
  302. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  303. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
  304. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  305. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +2 -4
  306. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  307. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +2 -4
  308. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  309. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +2 -2
  310. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  311. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +2 -2
  312. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  313. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  314. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  315. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  316. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  317. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
  318. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  319. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
  320. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  321. package/lib/components/ModelCompareV3/data/products/udmPro.js +3 -3
  322. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  323. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
  324. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  325. package/lib/components/ModelCompareV3/data/products/udmProMax.js +3 -3
  326. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  327. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +3 -3
  328. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  329. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
  330. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  331. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
  332. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  333. package/lib/components/ModelCompareV3/data/products/udr.js +41 -5
  334. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  335. package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
  336. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  337. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  338. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  339. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  340. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  341. package/lib/components/ModelCompareV3/translations/ar.json.js +0 -1
  342. package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
  343. package/lib/components/ModelCompareV3/translations/ar.json.mjs +0 -1
  344. package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
  345. package/lib/components/ModelCompareV3/translations/de.json.js +0 -1
  346. package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
  347. package/lib/components/ModelCompareV3/translations/de.json.mjs +0 -1
  348. package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
  349. package/lib/components/ModelCompareV3/translations/el.json.js +0 -1
  350. package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
  351. package/lib/components/ModelCompareV3/translations/el.json.mjs +0 -1
  352. package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
  353. package/lib/components/ModelCompareV3/translations/en.json.js +0 -1
  354. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  355. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -1
  356. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  357. package/lib/components/ModelCompareV3/translations/es.json.js +0 -1
  358. package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
  359. package/lib/components/ModelCompareV3/translations/es.json.mjs +0 -1
  360. package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
  361. package/lib/components/ModelCompareV3/translations/fr.json.js +0 -1
  362. package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
  363. package/lib/components/ModelCompareV3/translations/fr.json.mjs +0 -1
  364. package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
  365. package/lib/components/ModelCompareV3/translations/it.json.js +0 -1
  366. package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
  367. package/lib/components/ModelCompareV3/translations/it.json.mjs +0 -1
  368. package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
  369. package/lib/components/ModelCompareV3/translations/ja.json.js +0 -1
  370. package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
  371. package/lib/components/ModelCompareV3/translations/ja.json.mjs +0 -1
  372. package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
  373. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +0 -1
  374. package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
  375. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +0 -1
  376. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
  377. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  378. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +0 -1
  379. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
  380. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +0 -1
  381. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
  382. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +0 -1
  383. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
  384. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +0 -1
  385. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
  386. package/lib/components/Pagination/Pagination.js +3 -3
  387. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  388. package/lib/components/ProductCard/ProductCard.js +7 -7
  389. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  390. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  391. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  392. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  393. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  394. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  395. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  396. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  397. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  398. package/lib/components/ProductWizard/Options/Options.js +3 -3
  399. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  400. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  401. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  402. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  403. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  404. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  405. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  406. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  407. package/lib/components/QuantityInput/QuantityInput.js +1 -6
  408. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  409. package/lib/components/QuantityInput/QuantityInput.mjs +1 -6
  410. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  411. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  412. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -2
  413. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  414. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -2
  415. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  416. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  417. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  418. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
  419. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  420. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  421. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
  422. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  423. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  424. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  425. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  426. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  427. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  428. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  429. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  430. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
  431. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  432. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  433. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  434. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  435. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  436. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  437. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +17 -17
  438. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  439. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  440. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  441. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  442. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  443. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  444. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  445. package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -1
  446. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -1
  447. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  448. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  449. package/lib/components/ScrollWrapper/ScrollWrapper.js +26 -34
  450. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  451. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +8 -16
  452. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  453. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -2
  454. package/lib/components/Search/Input/Input.d.ts +1 -1
  455. package/lib/components/Search/Input/Input.js +8 -8
  456. package/lib/components/Search/Input/Input.js.map +1 -1
  457. package/lib/components/Search/Input/Input.mjs +4 -4
  458. package/lib/components/Search/Input/Input.mjs.map +1 -1
  459. package/lib/components/Search/Input/Input.styles.js +1 -0
  460. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  461. package/lib/components/Search/Input/Input.styles.mjs +1 -0
  462. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  463. package/lib/components/Search/Input/Input.types.d.ts +2 -3
  464. package/lib/components/Search/Modal/Modal.js +3 -3
  465. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  466. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  467. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  468. package/lib/components/Tooltip/Tooltip.js +5 -5
  469. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  470. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  471. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  472. package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
  473. package/lib/components/index.d.ts +0 -1
  474. package/lib/components/index.js +0 -2
  475. package/lib/components/index.js.map +1 -1
  476. package/lib/components/index.mjs +0 -2
  477. package/lib/components/index.mjs.map +1 -1
  478. package/lib/constants/icons/generic/index.js +3 -3
  479. package/lib/constants/icons/generic/index.mjs +1 -1
  480. package/lib/constants/icons/generic/plus.svg.js +5 -5
  481. package/lib/constants/icons/generic/plus.svg.mjs +2 -2
  482. package/lib/constants/proStoreCategories/mapping/filters.d.ts +0 -17
  483. package/lib/constants/proStoreCategories/mapping/filters.js +0 -17
  484. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  485. package/lib/constants/proStoreCategories/mapping/filters.mjs +0 -17
  486. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  487. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -4
  488. package/lib/constants/proStoreCategories/mapping/index.js +51 -50
  489. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  490. package/lib/constants/proStoreCategories/mapping/index.mjs +49 -49
  491. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  492. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -5
  493. package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
  494. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  495. package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
  496. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  497. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -9
  498. package/lib/constants/proStoreCategories/mapping/unifi.js +9 -9
  499. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  500. package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -9
  501. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  502. package/lib/constants/proStoreCategories/translations/ar.json.js +3 -7
  503. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  504. package/lib/constants/proStoreCategories/translations/ar.json.mjs +4 -7
  505. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  506. package/lib/constants/proStoreCategories/translations/de.json.js +3 -7
  507. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  508. package/lib/constants/proStoreCategories/translations/de.json.mjs +4 -7
  509. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  510. package/lib/constants/proStoreCategories/translations/el.json.js +3 -7
  511. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  512. package/lib/constants/proStoreCategories/translations/el.json.mjs +4 -7
  513. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  514. package/lib/constants/proStoreCategories/translations/en.json.js +3 -7
  515. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  516. package/lib/constants/proStoreCategories/translations/en.json.mjs +4 -7
  517. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  518. package/lib/constants/proStoreCategories/translations/es.json.js +3 -7
  519. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  520. package/lib/constants/proStoreCategories/translations/es.json.mjs +4 -7
  521. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  522. package/lib/constants/proStoreCategories/translations/fr.json.js +3 -7
  523. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  524. package/lib/constants/proStoreCategories/translations/fr.json.mjs +4 -7
  525. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  526. package/lib/constants/proStoreCategories/translations/it.json.js +3 -7
  527. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  528. package/lib/constants/proStoreCategories/translations/it.json.mjs +4 -7
  529. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  530. package/lib/constants/proStoreCategories/translations/ja.json.js +3 -7
  531. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  532. package/lib/constants/proStoreCategories/translations/ja.json.mjs +4 -7
  533. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  534. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +3 -7
  535. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  536. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +4 -7
  537. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  538. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -7
  539. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  540. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +4 -7
  541. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  542. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -7
  543. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  544. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +4 -7
  545. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  546. package/lib/constants/proStoreFilters/mapping.d.ts +3 -55
  547. package/lib/constants/proStoreFilters/mapping.js +10 -140
  548. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  549. package/lib/constants/proStoreFilters/mapping.mjs +10 -140
  550. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  551. package/lib/constants/theme.js +0 -4
  552. package/lib/constants/theme.js.map +1 -1
  553. package/lib/constants/theme.mjs +0 -4
  554. package/lib/constants/theme.mjs.map +1 -1
  555. package/lib/contexts/MenuContext/context.js +34 -34
  556. package/lib/contexts/MenuContext/context.js.map +1 -1
  557. package/lib/contexts/MenuContext/context.mjs +1 -1
  558. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  559. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  560. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  561. package/lib/helpers/index.js +0 -1
  562. package/lib/helpers/index.js.map +1 -1
  563. package/lib/helpers/index.mjs +1 -1
  564. package/lib/helpers/proStoreCategories.js +2 -2
  565. package/lib/helpers/ux.d.ts +0 -8
  566. package/lib/helpers/ux.js +0 -15
  567. package/lib/helpers/ux.js.map +1 -1
  568. package/lib/helpers/ux.mjs +1 -15
  569. package/lib/helpers/ux.mjs.map +1 -1
  570. package/lib/hooks/useHasTouch.js +3 -3
  571. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  572. package/lib/hooks/useHorizontalScroll.js +2 -2
  573. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  574. package/lib/hooks/useScrollToY.js +2 -2
  575. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  576. package/lib/hooks/useTranslation.js +6 -6
  577. package/lib/utils/nextjs/ssr/registry.js +2 -2
  578. package/package.json +1 -1
  579. package/lib/assets/cart-secondary.svg +0 -5
  580. package/lib/assets/icon-location-pin.svg +0 -5
  581. package/lib/assets/icons/cart-secondary.svg.js +0 -27
  582. package/lib/assets/icons/cart-secondary.svg.js.map +0 -1
  583. package/lib/assets/icons/cart-secondary.svg.mjs +0 -3
  584. package/lib/assets/icons/cart-secondary.svg.mjs.map +0 -1
  585. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +0 -1
  586. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +0 -3
  587. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +0 -1
  588. package/lib/components/ButtonGroupBasic/index.stories.d.ts +0 -6
  589. package/lib/components/Header/Header.stories.d.ts +0 -111
  590. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +0 -7
  591. package/lib/components/Header/LogoIcon/LogoIcon.js +0 -46
  592. package/lib/components/Header/LogoIcon/LogoIcon.js.map +0 -1
  593. package/lib/components/Header/LogoIcon/LogoIcon.mjs +0 -36
  594. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +0 -1
  595. package/lib/components/Header/LogoIcon/index.d.ts +0 -1
  596. package/lib/components/Header/LogoIcon/index.js +0 -6
  597. package/lib/components/Header/LogoIcon/index.js.map +0 -1
  598. package/lib/components/Header/LogoIcon/index.mjs +0 -3
  599. package/lib/components/Header/LogoIcon/index.mjs.map +0 -1
  600. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +0 -2
  601. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +0 -79
  602. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +0 -1
  603. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +0 -71
  604. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +0 -1
  605. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +0 -5
  606. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +0 -11
  607. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +0 -86
  608. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +0 -1
  609. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +0 -72
  610. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +0 -1
  611. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +0 -12
  612. package/lib/components/ProductTechSpecsV2/index.d.ts +0 -1
  613. package/lib/components/ProductTechSpecsV2/index.js +0 -6
  614. package/lib/components/ProductTechSpecsV2/index.js.map +0 -1
  615. package/lib/components/ProductTechSpecsV2/index.mjs +0 -3
  616. package/lib/components/ProductTechSpecsV2/index.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="9" cy="9" r="9" fill="#F7D55E"/>
3
- <path d="M9.73071 4.64062C9.40595 4.07813 8.59405 4.07812 8.26929 4.64062L4.37218 11.3906C4.04742 11.9531 4.45336 12.6562 5.10288 12.6562H12.8971C13.5466 12.6562 13.9526 11.9531 13.6278 11.3906L9.73071 4.64062Z" stroke="white" stroke-width="0.5625"/>
4
- <path d="M9.22274 9.12833L9.48295 7.30685C9.52494 7.01295 9.29688 6.75 9 6.75C8.70312 6.75 8.47506 7.01295 8.51705 7.30685L8.77726 9.12833C8.81406 9.3859 9.18594 9.3859 9.22274 9.12833Z" fill="white"/>
5
- <circle cx="9" cy="10.6875" r="0.5625" fill="#F7D55E"/>
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="8" cy="8" r="8" fill="#A4A7B5"/>
3
+ <path d="M12.1136 10.125L8.64952 4.125C8.36084 3.625 7.63916 3.625 7.35048 4.125L3.88638 10.125C3.5977 10.625 3.95855 11.25 4.5359 11.25H11.4641C12.0415 11.25 12.4023 10.625 12.1136 10.125Z" stroke="white" stroke-width="0.5"/>
4
+ <path d="M8.19799 8.11407L8.42929 6.49497C8.46661 6.23373 8.2639 6 8 6C7.7361 6 7.53339 6.23373 7.57071 6.49497L7.80201 8.11407C7.83472 8.34302 8.16528 8.34303 8.19799 8.11407Z" fill="white"/>
5
+ <circle cx="8" cy="9.5" r="0.5" fill="white"/>
6
6
  </svg>
@@ -1,6 +1,6 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="8" cy="8" r="8" fill="#A4A7B5"/>
3
- <path d="M12.1136 10.125L8.64952 4.125C8.36084 3.625 7.63916 3.625 7.35048 4.125L3.88638 10.125C3.5977 10.625 3.95855 11.25 4.5359 11.25H11.4641C12.0415 11.25 12.4023 10.625 12.1136 10.125Z" stroke="white" stroke-width="0.5"/>
4
- <path d="M8.19799 8.11407L8.42929 6.49497C8.46661 6.23373 8.2639 6 8 6C7.7361 6 7.53339 6.23373 7.57071 6.49497L7.80201 8.11407C7.83472 8.34302 8.16528 8.34303 8.19799 8.11407Z" fill="white"/>
5
- <circle cx="8" cy="9.5" r="0.5" fill="white"/>
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="9" cy="9" r="9" fill="#F7D55E"/>
3
+ <path d="M9.73071 4.64062C9.40595 4.07813 8.59405 4.07812 8.26929 4.64062L4.37218 11.3906C4.04742 11.9531 4.45336 12.6562 5.10288 12.6562H12.8971C13.5466 12.6562 13.9526 11.9531 13.6278 11.3906L9.73071 4.64062Z" stroke="white" stroke-width="0.5625"/>
4
+ <path d="M9.22274 9.12833L9.48295 7.30685C9.52494 7.01295 9.29688 6.75 9 6.75C8.70312 6.75 8.47506 7.01295 8.51705 7.30685L8.77726 9.12833C8.81406 9.3859 9.18594 9.3859 9.22274 9.12833Z" fill="white"/>
5
+ <circle cx="9" cy="10.6875" r="0.5625" fill="#F7D55E"/>
6
6
  </svg>
@@ -3,25 +3,25 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var LocationPinIcon = require("../../icon-location-pin.svg");
6
+ var GlobeIcon = require("../../globe.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var LocationPinIcon__default = /*#__PURE__*/_interopDefault(LocationPinIcon);
12
+ var GlobeIcon__default = /*#__PURE__*/_interopDefault(GlobeIcon);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return LocationPinIcon__default["default"];
16
+ return GlobeIcon__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(LocationPinIcon).forEach(function (k) {
19
+ Object.keys(GlobeIcon).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return LocationPinIcon[k];
23
+ return GlobeIcon[k];
24
24
  }
25
25
  });
26
26
  });
27
- //# sourceMappingURL=icon-location-pin.svg.js.map
27
+ //# sourceMappingURL=icon-globe.svg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-globe.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from "../../globe.svg";
2
+ export { default } from "../../globe.svg";
3
+ //# sourceMappingURL=icon-globe.svg.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-globe.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,12 +1,4 @@
1
- <svg width="59" height="18" viewBox="0 0 59 18" fill="none"
1
+ <svg width="46" height="14" viewBox="0 0 46 14" fill="none"
2
2
  xmlns="http://www.w3.org/2000/svg">
3
- <path d="M34.6668 2.1844C34.6668 3.36186 35.6437 4.33873 36.8513 4.33873C38.0286 4.33873 39.0055 3.39189 39.0055 2.1844C39.0055 0.976868 38.0587 0 36.8513 0C35.6437 0 34.6668 1.0069 34.6668 2.1844Z" fill="currentColor"/>
4
- <path d="M54.2476 2.1844C54.2476 3.36186 55.2244 4.33873 56.432 4.33873C57.6094 4.33873 58.5862 3.39189 58.5862 2.1844C58.5862 0.976868 57.6394 0 56.432 0C55.2244 0 54.2476 1.0069 54.2476 2.1844Z" fill="currentColor"/>
5
- <path d="M38.7133 5.85562H34.9576V17.8594H38.7133V5.85562Z" fill="currentColor"/>
6
- <path d="M52.4907 0.532516H41.8557V17.8594H45.6114V11.3138H51.3995V8.03815H45.6114V3.80814H52.4907V0.532516Z" fill="currentColor"/>
7
- <path d="M58.2957 5.85562H54.54V17.8594H58.2957V5.85562Z" fill="currentColor"/>
8
- <path d="M13.0968 8.03815V5.85191H15.2776V3.66939H17.46V5.85191H15.2794V8.03439H17.4619V8.72626C17.4619 9.52501 17.3943 10.4719 17.2368 11.2163C17.1506 11.6325 17.0175 12.045 16.8618 12.4425C16.7646 12.691 16.6582 12.9325 16.5443 13.1623L16.4958 13.259C16.4788 13.2921 16.4615 13.3249 16.4443 13.3575L16.4132 13.4156C16.4002 13.4399 16.387 13.464 16.3737 13.488C16.3553 13.5211 16.3369 13.5539 16.3182 13.5863C16.0574 14.0419 15.7557 14.4787 15.405 14.8894L15.3631 14.9384L15.3604 14.9417C15.2747 15.0419 15.1901 15.1408 15.0974 15.2382C14.9907 15.3525 14.8801 15.4613 14.7675 15.5681C13.3705 16.9125 11.5519 17.7525 9.64874 17.9457C9.42004 17.9681 8.96063 17.9925 8.72992 17.9925C8.6131 17.9925 8.43732 17.9863 8.26263 17.9772C8.0929 17.9683 7.92407 17.9567 7.81128 17.9457C5.90808 17.7525 4.08929 16.9125 2.69257 15.5681L2.65009 15.5263L2.64844 15.5246C2.55249 15.4307 2.45691 15.3373 2.36444 15.2382C2.25568 15.1238 2.15808 15.0075 2.05682 14.8894C1.70819 14.4787 1.40442 14.0419 1.14368 13.5863C1.08252 13.4789 1.02264 13.3676 0.9646 13.2531C0.914062 13.1535 0.864807 13.0514 0.817017 12.9475C0.78186 12.8713 0.74762 12.794 0.714294 12.7159C0.69873 12.6796 0.68335 12.6432 0.668152 12.6066L0.645447 12.5513L0.624939 12.5006L0.601868 12.4425C0.444397 12.045 0.31311 11.6325 0.225037 11.2163C0.0675659 10.4738 0 9.52501 0 8.72626V0.532516H4.36304V8.03815L4.3634 8.17635C4.36359 8.25618 4.36395 8.36105 4.36469 8.4646C4.36578 8.59772 4.36761 8.72864 4.37054 8.80128C4.38007 9.06001 4.3894 9.31316 4.41559 9.56438C4.48883 10.2394 4.63696 10.8769 4.9444 11.4188C5.0343 11.5763 5.12439 11.7263 5.23132 11.8706C5.88757 12.7462 6.88495 13.4025 8.1319 13.5863C8.28003 13.6069 8.57996 13.6257 8.72992 13.6257C8.88007 13.6257 9.17999 13.6088 9.32812 13.5863C10.5731 13.4025 11.5724 12.7462 12.2287 11.8706C12.2944 11.7833 12.3534 11.6933 12.4092 11.6013C12.4457 11.5412 12.4808 11.4803 12.5156 11.4188C12.8231 10.8769 12.9732 10.2394 13.0444 9.56438C13.0706 9.31316 13.08 9.06001 13.0893 8.80128C13.0928 8.71367 13.0946 8.54132 13.0957 8.38257L13.0966 8.1503L13.0968 8.03815Z" fill="currentColor"/>
9
- <path d="M15.2776 3.66939H13.6406V2.03252H15.2776V3.66939Z" fill="currentColor"/>
10
- <path d="M15.8231 0.395645H16.9144V1.48686H15.8231V0.395645Z" fill="currentColor"/>
11
- <path d="M31.8168 17.8594H28.0875V10.8018C28.0875 10.8018 28.0875 10.5544 28.0838 10.4737V10.4686C28.08 10.3598 28.0761 10.2527 28.0649 10.1456C28.0349 9.85684 27.9712 9.58122 27.8381 9.34872L27.8309 9.33618L27.8282 9.33138C27.7921 9.26999 27.7571 9.2103 27.7143 9.15372C27.4312 8.77684 27.0037 8.49564 26.4675 8.41685C26.4435 8.4126 26.4102 8.40889 26.3747 8.40591L26.3331 8.40285C26.2868 8.39983 26.2412 8.39809 26.2106 8.39809C26.1731 8.39919 26.113 8.40221 26.0568 8.40642C26.0175 8.40939 25.9799 8.41296 25.9537 8.41685C25.4174 8.49564 24.988 8.77684 24.7068 9.15372C24.6965 9.16759 24.6866 9.18146 24.6771 9.19537C24.6669 9.21039 24.657 9.22545 24.6473 9.2406C24.6248 9.27594 24.6037 9.31178 24.5832 9.34872C24.4519 9.58122 24.3862 9.85684 24.3561 10.1456C24.3431 10.2544 24.3393 10.3631 24.3356 10.4737C24.3338 10.5544 24.3338 10.8018 24.3338 10.8018V17.8462H20.6025V5.84248H24.1968V6.93375C24.1968 6.93375 25.4756 5.34 28.0294 5.45247C30.3243 5.55373 31.8168 7.31625 31.8168 9.70876V17.8594Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M26.9757 1.69953C26.9757 2.61581 27.7357 3.3758 28.6743 3.3758V3.37487C29.5906 3.37487 30.3506 2.6372 30.3506 1.6986C30.3506 0.759998 29.6139 0 28.6743 0C27.7348 0 26.9757 0.783254 26.9757 1.69953ZM42.212 1.69953C42.212 2.61581 42.972 3.3758 43.9106 3.3758V3.37487C44.8269 3.37487 45.5868 2.6372 45.5868 1.6986C45.5868 0.759998 44.8492 0 43.9106 0C42.972 0 42.212 0.783254 42.212 1.69953ZM30.1246 4.55534H27.2018V13.8958H30.1246V4.55534ZM40.8436 0.413063H32.5683V13.8967H35.4911V8.80281H39.9943V6.25398H35.4911V2.96189H40.8436V0.413063ZM45.3608 4.55534H42.438V13.8958H45.3608V4.55534ZM10.1907 6.25398V4.55259H10.1916H11.8893V6.25119H13.5869V6.78886C13.5869 7.41118 13.5339 8.14792 13.4121 8.72746C13.3441 9.05118 13.2409 9.37304 13.12 9.68187C12.9962 9.99722 12.853 10.2995 12.6976 10.5712C12.4948 10.9247 12.2595 11.2651 11.9869 11.5842L11.9657 11.6092C11.8949 11.6928 11.8248 11.7755 11.7479 11.8558C11.6651 11.9451 11.5786 12.0288 11.4911 12.1126C10.4046 13.1591 8.98788 13.8121 7.50789 13.9628C7.33021 13.9814 6.97207 14 6.79347 14C6.61486 13.9991 6.25673 13.9805 6.07905 13.9628C4.59813 13.8121 3.18232 13.1591 2.09581 12.1126L2.09488 12.1117L2.09488 12.1117L2.09487 12.1117L2.09486 12.1117C2.00774 12.0273 1.92156 11.9439 1.83906 11.8558C1.76211 11.7755 1.69207 11.6928 1.62126 11.6093L1.62124 11.6092L1.6 11.5842C1.32744 11.2651 1.09209 10.9256 0.8893 10.5712C0.733951 10.3005 0.590696 9.99815 0.466975 9.68187C0.346046 9.37304 0.24279 9.05118 0.174883 8.72746C0.0530231 8.14792 0 7.41118 0 6.78886V0.413063H3.39441V6.25398C3.39441 6.25398 3.39441 6.70142 3.39999 6.84839L3.40102 6.8765C3.40807 7.06849 3.41494 7.25565 3.43534 7.44281C3.49115 7.96746 3.60743 8.46513 3.8465 8.8856C3.91534 9.00746 3.98604 9.1256 4.06976 9.23722C4.58045 9.91815 5.35812 10.4298 6.32742 10.5721C6.44277 10.5888 6.67626 10.6037 6.79254 10.6037C6.90975 10.6037 7.1423 10.5888 7.25765 10.5721C8.22695 10.4298 9.00463 9.91815 9.51532 9.23722C9.59904 9.12467 9.66974 9.00746 9.73858 8.8856C9.97765 8.4642 10.0939 7.96746 10.1497 7.44281C10.1701 7.25566 10.177 7.06852 10.1841 6.87653V6.87652V6.87651V6.8765V6.87649L10.1851 6.84839C10.1907 6.70142 10.1907 6.25398 10.1907 6.25398ZM11.8874 1.58144H10.6139V2.85492H11.8874V1.58144ZM12.3125 0.307027H13.1618V1.15633H12.3125V0.307027ZM13.586 4.55258H11.8883V3.80839V2.85491H13.586V4.55258ZM24.7581 13.8967H21.8548V13.8958V8.40555C21.8548 8.40555 21.8548 8.213 21.852 8.14974C21.8493 8.06323 21.8465 7.97858 21.8372 7.89393C21.813 7.66788 21.7637 7.45393 21.6604 7.27347C21.6307 7.22137 21.6009 7.17114 21.5646 7.12277C21.3451 6.82974 21.0111 6.61021 20.5944 6.54882C20.5451 6.54137 20.4446 6.53486 20.3944 6.53486C20.3441 6.53486 20.2437 6.54137 20.1944 6.54882C19.7776 6.61021 19.4437 6.82974 19.2241 7.12277C19.1879 7.17021 19.1581 7.22137 19.1283 7.27347C19.0251 7.45486 18.9758 7.66881 18.9516 7.89393C18.9432 7.97858 18.9395 8.06323 18.9367 8.14974C18.9339 8.213 18.9339 8.40555 18.9339 8.40555V13.8865H16.0307V4.54603H18.8279V5.39533C18.8279 5.39533 19.8241 4.15533 21.8111 4.24278C23.5972 4.32185 24.7581 5.69207 24.7581 7.55439V13.8967Z" fill="currentColor"/>
12
4
  </svg>
@@ -1,15 +1,15 @@
1
- <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
3
- <g clip-path="url(#clip0_426_15898)">
4
- <path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
1
+ <svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
3
+ <g clip-path="url(#clip0_658_406)">
4
+ <path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
5
5
  </g>
6
6
  </mask>
7
- <g mask="url(#mask0_426_15898)">
8
- <rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
7
+ <g mask="url(#mask0_658_406)">
8
+ <rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
9
9
  </g>
10
10
  <defs>
11
- <clipPath id="clip0_426_15898">
12
- <rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
11
+ <clipPath id="clip0_658_406">
12
+ <rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
13
13
  </clipPath>
14
14
  </defs>
15
15
  </svg>
@@ -1,15 +1,15 @@
1
- <svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
3
- <g clip-path="url(#clip0_658_406)">
4
- <path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
1
+ <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
3
+ <g clip-path="url(#clip0_426_15898)">
4
+ <path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
5
5
  </g>
6
6
  </mask>
7
- <g mask="url(#mask0_658_406)">
8
- <rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
7
+ <g mask="url(#mask0_426_15898)">
8
+ <rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
9
9
  </g>
10
10
  <defs>
11
- <clipPath id="clip0_658_406">
12
- <rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
11
+ <clipPath id="clip0_426_15898">
12
+ <rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
13
13
  </clipPath>
14
14
  </defs>
15
15
  </svg>
@@ -1,4 +1 @@
1
- <svg width="14" height="14" viewBox="0 0 14 14" fill="none"
2
- xmlns="http://www.w3.org/2000/svg">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8 0.453333 7.54667 0 7 0C6.45333 0 6 0.453333 6 1V6H1C0.453333 6 0 6.45333 0 7C0 7.54667 0.453333 8 1 8H6V13C6 13.5467 6.45333 14 7 14C7.54667 14 8 13.5467 8 13V8H13C13.5467 8 14 7.54667 14 7C14 6.45333 13.5467 6 13 6H8V1Z" fill="currentColor"/>
4
- </svg>
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 7.49985V13.4998C6.5 13.776 6.72386 13.9998 7 13.9998C7.27614 13.9998 7.5 13.776 7.5 13.4998V7.49985H13.5C13.7761 7.49985 14 7.27599 14 6.99985C14 6.7237 13.7761 6.49985 13.5 6.49985H7.5V0.499847C7.5 0.223705 7.27614 -0.000152588 7 -0.000152588C6.72386 -0.000152588 6.5 0.223705 6.5 0.499847V6.49985H0.5C0.223858 6.49985 0 6.7237 0 6.99985C0 7.27599 0.223857 7.49985 0.5 7.49985H6.5Z" fill="currentColor"/></svg>
@@ -1 +1,4 @@
1
- <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 7.49985V13.4998C6.5 13.776 6.72386 13.9998 7 13.9998C7.27614 13.9998 7.5 13.776 7.5 13.4998V7.49985H13.5C13.7761 7.49985 14 7.27599 14 6.99985C14 6.7237 13.7761 6.49985 13.5 6.49985H7.5V0.499847C7.5 0.223705 7.27614 -0.000152588 7 -0.000152588C6.72386 -0.000152588 6.5 0.223705 6.5 0.499847V6.49985H0.5C0.223858 6.49985 0 6.7237 0 6.99985C0 7.27599 0.223857 7.49985 0.5 7.49985H6.5Z" fill="currentColor"/></svg>
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none"
2
+ xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8 0.453333 7.54667 0 7 0C6.45333 0 6 0.453333 6 1V6H1C0.453333 6 0 6.45333 0 7C0 7.54667 0.453333 8 1 8H6V13C6 13.5467 6.45333 14 7 14C7.54667 14 8 13.5467 8 13V8H13C13.5467 8 14 7.54667 14 7C14 6.45333 13.5467 6 13 6H8V1Z" fill="currentColor"/>
4
+ </svg>
@@ -1,16 +1,16 @@
1
- <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
3
- <g clip-path="url(#clip0_426_15903)">
4
- <path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
5
- <path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
1
+ <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
3
+ <g clip-path="url(#clip0_658_411)">
4
+ <path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
5
+ <path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
6
6
  </g>
7
7
  </mask>
8
- <g mask="url(#mask0_426_15903)">
9
- <rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
8
+ <g mask="url(#mask0_658_411)">
9
+ <rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
10
10
  </g>
11
11
  <defs>
12
- <clipPath id="clip0_426_15903">
13
- <rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
12
+ <clipPath id="clip0_658_411">
13
+ <rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
14
14
  </clipPath>
15
15
  </defs>
16
16
  </svg>
@@ -1,16 +1,16 @@
1
- <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
3
- <g clip-path="url(#clip0_658_411)">
4
- <path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
5
- <path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
1
+ <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
3
+ <g clip-path="url(#clip0_426_15903)">
4
+ <path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
5
+ <path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
6
6
  </g>
7
7
  </mask>
8
- <g mask="url(#mask0_658_411)">
9
- <rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
8
+ <g mask="url(#mask0_426_15903)">
9
+ <rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
10
10
  </g>
11
11
  <defs>
12
- <clipPath id="clip0_658_411">
13
- <rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
12
+ <clipPath id="clip0_426_15903">
13
+ <rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
14
14
  </clipPath>
15
15
  </defs>
16
16
  </svg>
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
4
+ var react = require('react');
5
5
  require('../../assets/icons/carouselArrow.svg.js');
6
6
  require('../StyleableSvgImage/index.js');
7
7
  var Accordion_styles = require('./Accordion.styles.js');
@@ -28,7 +28,7 @@ const AccordionItem = function AccordionItem2({
28
28
  disableHeaderPadding,
29
29
  disableContentPadding
30
30
  }) {
31
- const [isInnerActive, setIsInnerActive] = React.useState(isActive);
31
+ const [isInnerActive, setIsInnerActive] = react.useState(isActive);
32
32
  return /* @__PURE__ */jsxRuntime.jsxs(Accordion_styles.AccordionSection, {
33
33
  isActive: !showMultiple ? isActive : isInnerActive,
34
34
  hideSeparator,
@@ -70,8 +70,8 @@ const Accordion = function Accordion2({
70
70
  disableContentPadding,
71
71
  className
72
72
  }) {
73
- const [activeIndex, setActiveIndex] = React.useState(typeof initialActiveIndex !== "undefined" ? initialActiveIndex : -1);
74
- React.useEffect(() => {
73
+ const [activeIndex, setActiveIndex] = react.useState(typeof initialActiveIndex !== "undefined" ? initialActiveIndex : -1);
74
+ react.useEffect(() => {
75
75
  if (initialActiveIndex === -1) {
76
76
  setActiveIndex(initialActiveIndex);
77
77
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
4
+ var react = require('react');
5
5
  require('../../assets/account/no-user-avatar.png.js');
6
6
  require('../CustomImage/index.js');
7
7
  var Avatar_styles = require('./Avatar.styles.js');
@@ -26,7 +26,7 @@ const Avatar = function Avatar2({
26
26
  size,
27
27
  className
28
28
  }) {
29
- const width = React.useMemo(() => {
29
+ const width = react.useMemo(() => {
30
30
  return SIZES[size] ?? SIZES.medium;
31
31
  }, [size]);
32
32
  const srcLink = typeof src === "string" ? src : src?.src;
@@ -15,7 +15,6 @@ export interface BackInStockProps {
15
15
  storeId: StoreId;
16
16
  url: string;
17
17
  };
18
- loading?: boolean;
19
18
  }
20
19
  interface BackInStockTranslations {
21
20
  logIn: string;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
4
+ var react = require('react');
5
5
  require('../LoaderDots/index.js');
6
6
  var Button_styles = require('./Button.styles.js');
7
7
  var LoaderDots = require('../LoaderDots/LoaderDots.js');
8
8
  "use strict";
9
9
  const BUTTON_LOADING_DELAY_MS = 2e3;
10
- const Button = React.forwardRef(function Button2({
10
+ const Button = react.forwardRef(function Button2({
11
11
  children,
12
12
  anchor,
13
13
  size = "medium",
@@ -18,11 +18,11 @@ const Button = React.forwardRef(function Button2({
18
18
  onClick,
19
19
  ...args
20
20
  }, ref) {
21
- const [loading, setLoading] = React.useState(!!loadingInitial);
22
- React.useEffect(() => {
21
+ const [loading, setLoading] = react.useState(!!loadingInitial);
22
+ react.useEffect(() => {
23
23
  setLoading(!!loadingInitial);
24
24
  }, [loadingInitial]);
25
- const onClickCustom = React.useCallback(e => {
25
+ const onClickCustom = react.useCallback(e => {
26
26
  if (loading || disabled) {
27
27
  e.preventDefault();
28
28
  e.stopPropagation();
@@ -36,12 +36,6 @@ const Button = React.forwardRef(function Button2({
36
36
  }
37
37
  }
38
38
  }, [disabled, loading, loadAfterAction, onClick]);
39
- const loaderDotsColor = React.useMemo(() => {
40
- if (args.variant === "secondary") {
41
- return "primaryBlue";
42
- }
43
- return "white";
44
- }, [args.variant]);
45
39
  return /* @__PURE__ */jsxRuntime.jsx(Button_styles.StyledButton, {
46
40
  ...args,
47
41
  as: anchor ? "a" : void 0,
@@ -54,7 +48,6 @@ const Button = React.forwardRef(function Button2({
54
48
  children: /* @__PURE__ */jsxRuntime.jsxs(Button_styles.InnerWrap, {
55
49
  children: [loading && /* @__PURE__ */jsxRuntime.jsx(Button_styles.LoaderDotsWrap, {
56
50
  children: /* @__PURE__ */jsxRuntime.jsx(LoaderDots.LoaderDots, {
57
- color: loaderDotsColor,
58
51
  size: size === "large" ? "large" : void 0
59
52
  })
60
53
  }), children]
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import type { MouseEvent, PropsWithChildren } from \"react\";\nimport { forwardRef, useCallback, useEffect, useMemo, useState } from \"react\";\n\nimport { LoaderDots } from \"../LoaderDots\";\nimport * as S from \"./Button.styles\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport const BUTTON_LOADING_DELAY_MS = 2000;\n\nexport const Button = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | null,\n PropsWithChildren<ButtonProps>\n>(function Button(\n {\n children,\n anchor,\n size = \"medium\",\n loading: loadingInitial,\n loadAfterAction,\n disabled,\n flush,\n onClick,\n ...args\n },\n ref,\n) {\n // #############################################################################\n // Handle loading\n // #############################################################################\n const [loading, setLoading] = useState(!!loadingInitial);\n\n // Handle external loading state change\n useEffect(() => {\n setLoading(!!loadingInitial);\n }, [loadingInitial]);\n\n // #############################################################################\n // Handle action and loading after action\n // #############################################################################\n const onClickCustom = useCallback(\n (e: MouseEvent<HTMLElement>) => {\n // Prevent action if loading or disabled\n if (loading || disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n // Call the action\n if (onClick) {\n onClick(e);\n\n // Add a delay before the next action can be triggered\n if (loadAfterAction) {\n setLoading(true);\n setTimeout(() => setLoading(false), BUTTON_LOADING_DELAY_MS);\n }\n }\n },\n [disabled, loading, loadAfterAction, onClick],\n );\n\n const loaderDotsColor = useMemo(() => {\n if (args.variant === \"secondary\") {\n return \"primaryBlue\";\n }\n return \"white\";\n }, [args.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.StyledButton\n {...args}\n as={anchor ? \"a\" : undefined}\n disabled={disabled || loading}\n size={size}\n $flush={flush}\n $loading={loading}\n onClick={onClickCustom}\n // @ts-expect-error By using as=\"a\" we can't safely determine which to use type-wise here\n ref={ref}\n >\n <S.InnerWrap>\n {loading && (\n <S.LoaderDotsWrap>\n <LoaderDots\n color={loaderDotsColor}\n size={size === \"large\" ? \"large\" : undefined}\n />\n </S.LoaderDotsWrap>\n )}\n {children}\n </S.InnerWrap>\n </S.StyledButton>\n );\n});\n"],"names":["BUTTON_LOADING_DELAY_MS","Button","forwardRef","Button2","children","anchor","size","loading","loadingInitial","loadAfterAction","disabled","flush","onClick","args","ref","setLoading","useState","useEffect","onClickCustom","useCallback","e","preventDefault","stopPropagation","setTimeout","loaderDotsColor","useMemo","variant","jsx","S.StyledButton","StyledButton","as","$flush","$loading","jsxs","S.InnerWrap","S.LoaderDotsWrap","LoaderDots","color"],"mappings":";;;;;;;;AAOO,MAAMA,uBAA0B,GAAA,GAAA;AAE1B,MAAAC,MAAA,GAASC,KAAAA,CAAAA,UAGpB,CAAA,SAASD,OACTE,CAAA;EACEC,QAAA;EACAC,MAAA;EACAC,IAAO,GAAA,QAAA;EACPC,OAAS,EAAAC,cAAA;EACTC,eAAA;EACAC,QAAA;EACAC,KAAA;EACAC,OAAA;EACA,GAAGC;AACL,CAAA,EACAC,GACA,EAAA;EAIA,MAAM,CAACP,OAAS,EAAAQ,UAAU,IAAIC,KAAAA,CAAAA,QAAS,CAAA,CAAC,CAACR,cAAc,CAAA;EAGvDS,KAAAA,CAAAA,SAAA,CAAU,MAAM;IACHF,UAAA,CAAA,CAAC,CAACP,cAAc,CAAA;EAAA,CAC7B,EAAG,CAACA,cAAc,CAAC,CAAA;EAKnB,MAAMU,aAAgB,GAAAC,KAAA,CAAAA,WAAA,CACnBC,CAA+B,IAAA;IAE9B,IAAIb,WAAWG,QAAU,EAAA;MACvBU,CAAA,CAAEC,cAAe,CAAA,CAAA;MACjBD,CAAA,CAAEE,eAAgB,CAAA,CAAA;MAClB;IACF;IAGA,IAAIV,OAAS,EAAA;MACXA,OAAA,CAAQQ,CAAC,CAAA;MAGT,IAAIX,eAAiB,EAAA;QACnBM,UAAA,CAAW,IAAI,CAAA;QACfQ,UAAA,CAAW,MAAMR,UAAA,CAAW,KAAK,CAAA,EAAGf,uBAAuB,CAAA;MAC7D;IACF;EACF,CAAA,EACA,CAACU,QAAA,EAAUH,OAAS,EAAAE,eAAA,EAAiBG,OAAO,CAAA,CAC9C;EAEM,MAAAY,eAAA,GAAkBC,KAAAA,CAAAA,QAAQ,MAAM;IAChC,IAAAZ,IAAA,CAAKa,YAAY,WAAa,EAAA;MACzB,OAAA,aAAA;IACT;IACO,OAAA,OAAA;EAAA,CACN,EAAA,CAACb,IAAK,CAAAa,OAAO,CAAC,CAAA;EAMf,sBAAAC,UAAA,CAAAA,GAAA,CAACC,aAAE,CAAAC,YAAA,EAAF;IACE,GAAGhB,IAAA;IACJiB,EAAA,EAAIzB,SAAS,GAAM,GAAA,KAAA,CAAA;IACnBK,UAAUA,QAAY,IAAAH,OAAA;IACtBD,IAAA;IACAyB,MAAQ,EAAApB,KAAA;IACRqB,QAAU,EAAAzB,OAAA;IACVK,OAAS,EAAAM,aAAA;IAETJ,GAAA;IAEAV,QAAA,iBAAA6B,UAAA,CAAAA,IAAA,CAACC,uBAAE,EAAF;MACE9B,QAAA,EAAA,CACCG,OAAA,mBAAAoB,UAAA,CAAAA,GAAA,CAACQ,4BAAE,EAAF;QACC/B,QAAA,EAAA,eAAAuB,UAAA,CAAAA,GAAA,CAACS,UAAA,CAAAA,UAAA,EAAA;UACCC,KAAO,EAAAb,eAAA;UACPlB,IAAA,EAAMA,IAAS,KAAA,OAAA,GAAU,OAAU,GAAA,KAAA;QAAA,CAAA;OAEvC,CAAA,EAEDF,QAAA;KACH;EAAA,CAAA,CACF;AAEJ,CAAC,CAAA;;"}
1
+ {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import type { MouseEvent, PropsWithChildren } from \"react\";\nimport { forwardRef, useCallback, useEffect, useState } from \"react\";\n\nimport { LoaderDots } from \"../LoaderDots\";\nimport * as S from \"./Button.styles\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport const BUTTON_LOADING_DELAY_MS = 2000;\n\nexport const Button = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | null,\n PropsWithChildren<ButtonProps>\n>(function Button(\n {\n children,\n anchor,\n size = \"medium\",\n loading: loadingInitial,\n loadAfterAction,\n disabled,\n flush,\n onClick,\n ...args\n },\n ref,\n) {\n // #############################################################################\n // Handle loading\n // #############################################################################\n const [loading, setLoading] = useState(!!loadingInitial);\n\n // Handle external loading state change\n useEffect(() => {\n setLoading(!!loadingInitial);\n }, [loadingInitial]);\n\n // #############################################################################\n // Handle action and loading after action\n // #############################################################################\n const onClickCustom = useCallback(\n (e: MouseEvent<HTMLElement>) => {\n // Prevent action if loading or disabled\n if (loading || disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n // Call the action\n if (onClick) {\n onClick(e);\n\n // Add a delay before the next action can be triggered\n if (loadAfterAction) {\n setLoading(true);\n setTimeout(() => setLoading(false), BUTTON_LOADING_DELAY_MS);\n }\n }\n },\n [disabled, loading, loadAfterAction, onClick],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.StyledButton\n {...args}\n as={anchor ? \"a\" : undefined}\n disabled={disabled || loading}\n size={size}\n $flush={flush}\n $loading={loading}\n onClick={onClickCustom}\n // @ts-expect-error By using as=\"a\" we can't safely determine which to use type-wise here\n ref={ref}\n >\n <S.InnerWrap>\n {loading && (\n <S.LoaderDotsWrap>\n <LoaderDots size={size === \"large\" ? \"large\" : undefined} />\n </S.LoaderDotsWrap>\n )}\n {children}\n </S.InnerWrap>\n </S.StyledButton>\n );\n});\n"],"names":["BUTTON_LOADING_DELAY_MS","Button","forwardRef","Button2","children","anchor","size","loading","loadingInitial","loadAfterAction","disabled","flush","onClick","args","ref","setLoading","useState","useEffect","onClickCustom","useCallback","e","preventDefault","stopPropagation","setTimeout","jsx","S.StyledButton","StyledButton","as","$flush","$loading","jsxs","S.InnerWrap","S.LoaderDotsWrap","LoaderDots"],"mappings":";;;;;;;;AAOO,MAAMA,uBAA0B,GAAA,GAAA;AAE1B,MAAAC,MAAA,GAASC,KAAAA,CAAAA,UAGpB,CAAA,SAASD,OACTE,CAAA;EACEC,QAAA;EACAC,MAAA;EACAC,IAAO,GAAA,QAAA;EACPC,OAAS,EAAAC,cAAA;EACTC,eAAA;EACAC,QAAA;EACAC,KAAA;EACAC,OAAA;EACA,GAAGC;AACL,CAAA,EACAC,GACA,EAAA;EAIA,MAAM,CAACP,OAAS,EAAAQ,UAAU,IAAIC,KAAAA,CAAAA,QAAS,CAAA,CAAC,CAACR,cAAc,CAAA;EAGvDS,KAAAA,CAAAA,SAAA,CAAU,MAAM;IACHF,UAAA,CAAA,CAAC,CAACP,cAAc,CAAA;EAAA,CAC7B,EAAG,CAACA,cAAc,CAAC,CAAA;EAKnB,MAAMU,aAAgB,GAAAC,KAAA,CAAAA,WAAA,CACnBC,CAA+B,IAAA;IAE9B,IAAIb,WAAWG,QAAU,EAAA;MACvBU,CAAA,CAAEC,cAAe,CAAA,CAAA;MACjBD,CAAA,CAAEE,eAAgB,CAAA,CAAA;MAClB;IACF;IAGA,IAAIV,OAAS,EAAA;MACXA,OAAA,CAAQQ,CAAC,CAAA;MAGT,IAAIX,eAAiB,EAAA;QACnBM,UAAA,CAAW,IAAI,CAAA;QACfQ,UAAA,CAAW,MAAMR,UAAA,CAAW,KAAK,CAAA,EAAGf,uBAAuB,CAAA;MAC7D;IACF;EACF,CAAA,EACA,CAACU,QAAA,EAAUH,OAAS,EAAAE,eAAA,EAAiBG,OAAO,CAAA,CAC9C;EAME,sBAAAY,UAAA,CAAAA,GAAA,CAACC,aAAE,CAAAC,YAAA,EAAF;IACE,GAAGb,IAAA;IACJc,EAAA,EAAItB,SAAS,GAAM,GAAA,KAAA,CAAA;IACnBK,UAAUA,QAAY,IAAAH,OAAA;IACtBD,IAAA;IACAsB,MAAQ,EAAAjB,KAAA;IACRkB,QAAU,EAAAtB,OAAA;IACVK,OAAS,EAAAM,aAAA;IAETJ,GAAA;IAEAV,QAAA,iBAAA0B,UAAA,CAAAA,IAAA,CAACC,uBAAE,EAAF;MACE3B,QAAA,EAAA,CACCG,OAAA,IAAAiB,eAAAA,UAAAA,CAAAA,GAAA,CAACQ,aAAAA,CAAAA,cAAE,EAAF;QACC5B,QAAA,EAAA,eAAAoB,UAAA,CAAAA,GAAA,CAACS,UAAW,CAAAA,UAAA,EAAA;UAAA3B,IAAA,EAAMA,IAAS,KAAA,OAAA,GAAU,OAAU,GAAA,KAAA;QAAA,CAAW;MAC5D,CAAA,CAAA,EAEDF,QAAA;KACH;EAAA,CAAA,CACF;AAEJ,CAAC,CAAA;;"}
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { forwardRef, useState, useEffect, useCallback, useMemo } from 'react';
2
+ import { forwardRef, useState, useEffect, useCallback } from 'react';
3
3
  import '../LoaderDots/index.mjs';
4
4
  import { StyledButton, InnerWrap, LoaderDotsWrap } from './Button.styles.mjs';
5
5
  import { LoaderDots } from '../LoaderDots/LoaderDots.mjs';
@@ -34,12 +34,6 @@ const Button = forwardRef(function Button2({
34
34
  }
35
35
  }
36
36
  }, [disabled, loading, loadAfterAction, onClick]);
37
- const loaderDotsColor = useMemo(() => {
38
- if (args.variant === "secondary") {
39
- return "primaryBlue";
40
- }
41
- return "white";
42
- }, [args.variant]);
43
37
  return /* @__PURE__ */jsx(StyledButton, {
44
38
  ...args,
45
39
  as: anchor ? "a" : void 0,
@@ -52,7 +46,6 @@ const Button = forwardRef(function Button2({
52
46
  children: /* @__PURE__ */jsxs(InnerWrap, {
53
47
  children: [loading && /* @__PURE__ */jsx(LoaderDotsWrap, {
54
48
  children: /* @__PURE__ */jsx(LoaderDots, {
55
- color: loaderDotsColor,
56
49
  size: size === "large" ? "large" : void 0
57
50
  })
58
51
  }), children]
@@ -1 +1 @@
1
- {"version":3,"file":"Button.mjs","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import type { MouseEvent, PropsWithChildren } from \"react\";\nimport { forwardRef, useCallback, useEffect, useMemo, useState } from \"react\";\n\nimport { LoaderDots } from \"../LoaderDots\";\nimport * as S from \"./Button.styles\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport const BUTTON_LOADING_DELAY_MS = 2000;\n\nexport const Button = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | null,\n PropsWithChildren<ButtonProps>\n>(function Button(\n {\n children,\n anchor,\n size = \"medium\",\n loading: loadingInitial,\n loadAfterAction,\n disabled,\n flush,\n onClick,\n ...args\n },\n ref,\n) {\n // #############################################################################\n // Handle loading\n // #############################################################################\n const [loading, setLoading] = useState(!!loadingInitial);\n\n // Handle external loading state change\n useEffect(() => {\n setLoading(!!loadingInitial);\n }, [loadingInitial]);\n\n // #############################################################################\n // Handle action and loading after action\n // #############################################################################\n const onClickCustom = useCallback(\n (e: MouseEvent<HTMLElement>) => {\n // Prevent action if loading or disabled\n if (loading || disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n // Call the action\n if (onClick) {\n onClick(e);\n\n // Add a delay before the next action can be triggered\n if (loadAfterAction) {\n setLoading(true);\n setTimeout(() => setLoading(false), BUTTON_LOADING_DELAY_MS);\n }\n }\n },\n [disabled, loading, loadAfterAction, onClick],\n );\n\n const loaderDotsColor = useMemo(() => {\n if (args.variant === \"secondary\") {\n return \"primaryBlue\";\n }\n return \"white\";\n }, [args.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.StyledButton\n {...args}\n as={anchor ? \"a\" : undefined}\n disabled={disabled || loading}\n size={size}\n $flush={flush}\n $loading={loading}\n onClick={onClickCustom}\n // @ts-expect-error By using as=\"a\" we can't safely determine which to use type-wise here\n ref={ref}\n >\n <S.InnerWrap>\n {loading && (\n <S.LoaderDotsWrap>\n <LoaderDots\n color={loaderDotsColor}\n size={size === \"large\" ? \"large\" : undefined}\n />\n </S.LoaderDotsWrap>\n )}\n {children}\n </S.InnerWrap>\n </S.StyledButton>\n );\n});\n"],"names":["BUTTON_LOADING_DELAY_MS","Button","forwardRef","Button2","children","anchor","size","loading","loadingInitial","loadAfterAction","disabled","flush","onClick","args","ref","setLoading","useState","useEffect","onClickCustom","useCallback","e","preventDefault","stopPropagation","setTimeout","loaderDotsColor","useMemo","variant","jsx","S.StyledButton","as","$flush","$loading","jsxs","S.InnerWrap","S.LoaderDotsWrap","LoaderDots","color"],"mappings":";;;;;;AAOO,MAAMA,uBAA0B,GAAA,GAAA;AAE1B,MAAAC,MAAA,GAASC,UAGpB,CAAA,SAASD,OACTE,CAAA;EACEC,QAAA;EACAC,MAAA;EACAC,IAAO,GAAA,QAAA;EACPC,OAAS,EAAAC,cAAA;EACTC,eAAA;EACAC,QAAA;EACAC,KAAA;EACAC,OAAA;EACA,GAAGC;AACL,CAAA,EACAC,GACA,EAAA;EAIA,MAAM,CAACP,OAAS,EAAAQ,UAAU,IAAIC,QAAS,CAAA,CAAC,CAACR,cAAc,CAAA;EAGvDS,SAAA,CAAU,MAAM;IACHF,UAAA,CAAA,CAAC,CAACP,cAAc,CAAA;EAAA,CAC7B,EAAG,CAACA,cAAc,CAAC,CAAA;EAKnB,MAAMU,aAAgB,GAAAC,WAAA,CACnBC,CAA+B,IAAA;IAE9B,IAAIb,WAAWG,QAAU,EAAA;MACvBU,CAAA,CAAEC,cAAe,CAAA,CAAA;MACjBD,CAAA,CAAEE,eAAgB,CAAA,CAAA;MAClB;IACF;IAGA,IAAIV,OAAS,EAAA;MACXA,OAAA,CAAQQ,CAAC,CAAA;MAGT,IAAIX,eAAiB,EAAA;QACnBM,UAAA,CAAW,IAAI,CAAA;QACfQ,UAAA,CAAW,MAAMR,UAAA,CAAW,KAAK,CAAA,EAAGf,uBAAuB,CAAA;MAC7D;IACF;EACF,CAAA,EACA,CAACU,QAAA,EAAUH,OAAS,EAAAE,eAAA,EAAiBG,OAAO,CAAA,CAC9C;EAEM,MAAAY,eAAA,GAAkBC,QAAQ,MAAM;IAChC,IAAAZ,IAAA,CAAKa,YAAY,WAAa,EAAA;MACzB,OAAA,aAAA;IACT;IACO,OAAA,OAAA;EAAA,CACN,EAAA,CAACb,IAAK,CAAAa,OAAO,CAAC,CAAA;EAMf,sBAAAC,GAAA,CAACC,YAAE,EAAF;IACE,GAAGf,IAAA;IACJgB,EAAA,EAAIxB,SAAS,GAAM,GAAA,KAAA,CAAA;IACnBK,UAAUA,QAAY,IAAAH,OAAA;IACtBD,IAAA;IACAwB,MAAQ,EAAAnB,KAAA;IACRoB,QAAU,EAAAxB,OAAA;IACVK,OAAS,EAAAM,aAAA;IAETJ,GAAA;IAEAV,QAAA,iBAAA4B,IAAA,CAACC,SAAE,EAAF;MACE7B,QAAA,EAAA,CACCG,OAAA,mBAAAoB,GAAA,CAACO,cAAE,EAAF;QACC9B,QAAA,EAAA,eAAAuB,GAAA,CAACQ,UAAA,EAAA;UACCC,KAAO,EAAAZ,eAAA;UACPlB,IAAA,EAAMA,IAAS,KAAA,OAAA,GAAU,OAAU,GAAA,KAAA;QAAA,CAAA;OAEvC,CAAA,EAEDF,QAAA;KACH;EAAA,CAAA,CACF;AAEJ,CAAC,CAAA;"}
1
+ {"version":3,"file":"Button.mjs","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import type { MouseEvent, PropsWithChildren } from \"react\";\nimport { forwardRef, useCallback, useEffect, useState } from \"react\";\n\nimport { LoaderDots } from \"../LoaderDots\";\nimport * as S from \"./Button.styles\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport const BUTTON_LOADING_DELAY_MS = 2000;\n\nexport const Button = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | null,\n PropsWithChildren<ButtonProps>\n>(function Button(\n {\n children,\n anchor,\n size = \"medium\",\n loading: loadingInitial,\n loadAfterAction,\n disabled,\n flush,\n onClick,\n ...args\n },\n ref,\n) {\n // #############################################################################\n // Handle loading\n // #############################################################################\n const [loading, setLoading] = useState(!!loadingInitial);\n\n // Handle external loading state change\n useEffect(() => {\n setLoading(!!loadingInitial);\n }, [loadingInitial]);\n\n // #############################################################################\n // Handle action and loading after action\n // #############################################################################\n const onClickCustom = useCallback(\n (e: MouseEvent<HTMLElement>) => {\n // Prevent action if loading or disabled\n if (loading || disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n // Call the action\n if (onClick) {\n onClick(e);\n\n // Add a delay before the next action can be triggered\n if (loadAfterAction) {\n setLoading(true);\n setTimeout(() => setLoading(false), BUTTON_LOADING_DELAY_MS);\n }\n }\n },\n [disabled, loading, loadAfterAction, onClick],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.StyledButton\n {...args}\n as={anchor ? \"a\" : undefined}\n disabled={disabled || loading}\n size={size}\n $flush={flush}\n $loading={loading}\n onClick={onClickCustom}\n // @ts-expect-error By using as=\"a\" we can't safely determine which to use type-wise here\n ref={ref}\n >\n <S.InnerWrap>\n {loading && (\n <S.LoaderDotsWrap>\n <LoaderDots size={size === \"large\" ? \"large\" : undefined} />\n </S.LoaderDotsWrap>\n )}\n {children}\n </S.InnerWrap>\n </S.StyledButton>\n );\n});\n"],"names":["BUTTON_LOADING_DELAY_MS","Button","forwardRef","Button2","children","anchor","size","loading","loadingInitial","loadAfterAction","disabled","flush","onClick","args","ref","setLoading","useState","useEffect","onClickCustom","useCallback","e","preventDefault","stopPropagation","setTimeout","jsx","S.StyledButton","as","$flush","$loading","jsxs","S.InnerWrap","S.LoaderDotsWrap","LoaderDots"],"mappings":";;;;;;AAOO,MAAMA,uBAA0B,GAAA,GAAA;AAE1B,MAAAC,MAAA,GAASC,UAGpB,CAAA,SAASD,OACTE,CAAA;EACEC,QAAA;EACAC,MAAA;EACAC,IAAO,GAAA,QAAA;EACPC,OAAS,EAAAC,cAAA;EACTC,eAAA;EACAC,QAAA;EACAC,KAAA;EACAC,OAAA;EACA,GAAGC;AACL,CAAA,EACAC,GACA,EAAA;EAIA,MAAM,CAACP,OAAS,EAAAQ,UAAU,IAAIC,QAAS,CAAA,CAAC,CAACR,cAAc,CAAA;EAGvDS,SAAA,CAAU,MAAM;IACHF,UAAA,CAAA,CAAC,CAACP,cAAc,CAAA;EAAA,CAC7B,EAAG,CAACA,cAAc,CAAC,CAAA;EAKnB,MAAMU,aAAgB,GAAAC,WAAA,CACnBC,CAA+B,IAAA;IAE9B,IAAIb,WAAWG,QAAU,EAAA;MACvBU,CAAA,CAAEC,cAAe,CAAA,CAAA;MACjBD,CAAA,CAAEE,eAAgB,CAAA,CAAA;MAClB;IACF;IAGA,IAAIV,OAAS,EAAA;MACXA,OAAA,CAAQQ,CAAC,CAAA;MAGT,IAAIX,eAAiB,EAAA;QACnBM,UAAA,CAAW,IAAI,CAAA;QACfQ,UAAA,CAAW,MAAMR,UAAA,CAAW,KAAK,CAAA,EAAGf,uBAAuB,CAAA;MAC7D;IACF;EACF,CAAA,EACA,CAACU,QAAA,EAAUH,OAAS,EAAAE,eAAA,EAAiBG,OAAO,CAAA,CAC9C;EAME,sBAAAY,GAAA,CAACC,YAAE,EAAF;IACE,GAAGZ,IAAA;IACJa,EAAA,EAAIrB,SAAS,GAAM,GAAA,KAAA,CAAA;IACnBK,UAAUA,QAAY,IAAAH,OAAA;IACtBD,IAAA;IACAqB,MAAQ,EAAAhB,KAAA;IACRiB,QAAU,EAAArB,OAAA;IACVK,OAAS,EAAAM,aAAA;IAETJ,GAAA;IAEAV,QAAA,iBAAAyB,IAAA,CAACC,SAAE,EAAF;MACE1B,QAAA,EAAA,CACCG,OAAA,IAAA,eAAAiB,GAAA,CAACO,cAAE,EAAF;QACC3B,QAAA,EAAA,eAAAoB,GAAA,CAACQ,UAAW,EAAA;UAAA1B,IAAA,EAAMA,IAAS,KAAA,OAAA,GAAU,OAAU,GAAA,KAAA;QAAA,CAAW;MAC5D,CAAA,CAAA,EAEDF,QAAA;KACH;EAAA,CAAA,CACF;AAEJ,CAAC,CAAA;"}
@@ -13,7 +13,5 @@ export interface CartButtonProps extends ButtonProps {
13
13
  * (optional) Label to display on the button. If not provided, only the icon will be displayed
14
14
  */
15
15
  label?: string;
16
- iconWidth?: number;
17
- iconHeight?: number;
18
16
  }
19
- export declare const CartButton: ({ icon, hideIcon, preLabel, label, iconHeight, iconWidth, ...props }: CartButtonProps) => JSX.Element;
17
+ export declare const CartButton: ({ icon, hideIcon, preLabel, label, ...props }: CartButtonProps) => JSX.Element;
@@ -1,15 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
4
+ var react = require('react');
5
5
  var styled = require('styled-components');
6
- require('../../assets/icons/cart-secondary.svg.js');
7
6
  require('../../assets/icons/cart.svg.js');
8
7
  require('../../assets/icons/cartPlus.svg.js');
9
8
  require('../StyleableSvgImage/index.js');
10
9
  var Button = require('./Button.js');
11
10
  var CartPlusIcon = require("../../assets/cartPlus.svg");
12
- var CartIconSecondary = require("../../assets/cart-secondary.svg");
13
11
  var CartIcon = require("../../assets/cart.svg");
14
12
  var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
15
13
  function _interopDefault(e) {
@@ -19,7 +17,6 @@ function _interopDefault(e) {
19
17
  }
20
18
  var styled__default = /*#__PURE__*/_interopDefault(styled);
21
19
  var CartPlusIcon__default = /*#__PURE__*/_interopDefault(CartPlusIcon);
22
- var CartIconSecondary__default = /*#__PURE__*/_interopDefault(CartIconSecondary);
23
20
  var CartIcon__default = /*#__PURE__*/_interopDefault(CartIcon);
24
21
  "use strict";
25
22
  const ButtonStyled = styled__default["default"](Button.Button)`
@@ -76,18 +73,16 @@ const CartButton = function CartButton2({
76
73
  hideIcon,
77
74
  preLabel,
78
75
  label,
79
- iconHeight = 16,
80
- iconWidth = 20,
81
76
  ...props
82
77
  }) {
83
- const Icon = React.useMemo(() => {
78
+ const Icon = react.useMemo(() => {
84
79
  switch (icon) {
85
80
  case "cart":
86
- return props.variant === "secondary" ? CartIconSecondary__default["default"] : CartIcon__default["default"];
81
+ return CartIcon__default["default"];
87
82
  case "plus":
88
83
  return CartPlusIcon__default["default"];
89
84
  }
90
- }, [icon, props.variant]);
85
+ }, [icon]);
91
86
  return /* @__PURE__ */jsxRuntime.jsx(ButtonStyled, {
92
87
  ...props,
93
88
  label,
@@ -95,8 +90,8 @@ const CartButton = function CartButton2({
95
90
  children: /* @__PURE__ */jsxRuntime.jsxs(ButtonInnerWrap, {
96
91
  children: [!hideIcon && /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
97
92
  src: Icon,
98
- width: iconWidth,
99
- height: iconHeight
93
+ width: 20,
94
+ height: 16
100
95
  }), (!!preLabel || !!label) && /* @__PURE__ */jsxRuntime.jsxs(Labels, {
101
96
  children: [!!preLabel && /* @__PURE__ */jsxRuntime.jsx(PreLabel, {
102
97
  children: preLabel
@@ -1 +1 @@
1
- {"version":3,"file":"CartButton.js","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIconSecondary from \"../../assets/icons/cart-secondary.svg\";\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n /**\n * (optional) Mini-Text to display before the label, used for additional context. See example for more details\n * @example\n * preLabel=\"Available again week of\"\n * label=\"Oct. 10\"\n */\n preLabel?: string;\n /**\n * (optional) Label to display on the button. If not provided, only the icon will be displayed\n */\n label?: string;\n\n iconWidth?: number;\n iconHeight?: number;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n ${({ label, preLabel }) => {\n // If both label and preLabel don't force any sizing;\n if (!!label && !!preLabel) {\n return;\n }\n\n /**\n * For historical reasons, we have to set a fixed height and padding for button. I get the height to match the\n * design but the padding is way bigger than it can be, would make sense to just vertically align content.\n * FIXME: investigate if we can remove padding and just vertically align content\n */\n if (label) {\n return css`\n padding: 10px 15px;\n height: 40px;\n `;\n }\n\n // And otherwise rendering just icon force both width and height to be 40px\n return css`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n `;\n }}\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst Labels = styled.div`\n display: inline-flex;\n flex-direction: column;\n`;\n\nconst PreLabel = styled.span`\n /* Size relative to regular label size, e.g if 14px label than 10px preLabel */\n font-size: 0.714em;\n line-height: 1.2;\n font-weight: 400;\n`;\n\nconst Label = styled.span<{ $forceBold?: boolean }>`\n ${({ $forceBold }) =>\n $forceBold\n ? css`\n font-weight: bold;\n `\n : undefined};\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n preLabel,\n label,\n iconHeight = 16,\n iconWidth = 20,\n ...props\n}: CartButtonProps) {\n const Icon = useMemo(() => {\n switch (icon) {\n case \"cart\":\n return props.variant === \"secondary\" ? CartIconSecondary : CartIcon;\n\n case \"plus\":\n return CartPlusIcon;\n }\n }, [icon, props.variant]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label} preLabel={preLabel}>\n <ButtonInnerWrap>\n {!hideIcon && (\n <StyleableSvgImage src={Icon} width={iconWidth} height={iconHeight} />\n )}\n {(!!preLabel || !!label) && (\n <Labels>\n {!!preLabel && <PreLabel>{preLabel}</PreLabel>}\n {!!label && (\n <Label\n // Enforce bold label if preLabel is present as per design, preLabel is always regular weight\n $forceBold={!!preLabel}\n >\n {label}\n </Label>\n )}\n </Labels>\n )}\n </ButtonInnerWrap>\n </ButtonStyled>\n );\n};\n"],"names":["ButtonStyled","styled","Button","label","preLabel","css","ButtonInnerWrap","div","Labels","PreLabel","span","Label","$forceBold","CartButton","CartButton2","icon","hideIcon","iconHeight","iconWidth","props","Icon","useMemo","variant","CartIconSecondary","CartIcon","CartPlusIcon","children","StyleableSvgImage","src","width","height","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA6BA,MAAMA,YAAA,GAAeC,eAAAA,CAAAA,SAAAA,EAAOC,MAAAA,CAAAA,MAAM,CAAA;AAAA,IAC9B,CAAC;EAAEC,KAAO;EAAAC;CAAe,KAAA;EAEzB,IAAI,CAAC,CAACD,KAAS,IAAA,CAAC,CAACC,QAAU,EAAA;IACzB;EACF;EAOA,IAAID,KAAO,EAAA;IACF,OAAAE,UAAA;AAAA;AAAA;AAAA,OAAA;EAIT;EAGO,OAAAA,UAAA;AAAA;AAAA;AAAA;AAAA,KAAA;AAKT,CAAC;AAAA;AAAA,IAEC,CAAC;EAAEF;AAAA,CACH,KAAA,CAAC,CAACA,KACF,IAAAE,MAAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGL,MAAMC,kBAAkBL,eAAO,CAAA,SAAA,CAAA,CAAAM,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAM/B,MAAMC,SAASP,eAAO,CAAA,SAAA,CAAA,CAAAM,GAAA;AAAA;AAAA;AAAA,CAAA;AAKtB,MAAME,WAAWR,eAAO,CAAA,SAAA,CAAA,CAAAS,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,QAAQV,eAAO,CAAA,SAAA,CAAA,CAAAS,IAAA;AAAA,IACjB,CAAC;EAAEE;CAAW,KACdA,UACI,GAAAP,MAAAA,CAAAA,GAAA;AAAA;AAAA,SAAA,GAGA,KAAS,CAAA;AAAA,CAAA;AAGJ,MAAAQ,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,MAAA;EACPC,QAAA;EACAZ,QAAA;EACAD,KAAA;EACAc,UAAa,GAAA,EAAA;EACbC,SAAY,GAAA,EAAA;EACZ,GAAGC;AACL,CAAoB,EAAA;EACZ,MAAAC,IAAA,GAAOC,KAAAA,CAAAA,QAAQ,MAAM;IACzB,QAAQN,IAAM;MACZ,KAAK,MAAA;QACI,OAAAI,KAAA,CAAMG,OAAY,KAAA,WAAA,GAAcC,0BAAAA,CAAAA,SAAAA,CAAoB,GAAAC,iBAAAA,CAAAA,SAAAA,CAAA;MAE7D,KAAK,MAAA;QACI,OAAAC,gCAAA;IACX;EACC,CAAA,EAAA,CAACV,IAAM,EAAAI,KAAA,CAAMG,OAAO,CAAC,CAAA;EAKxB,OAAA,8BACGtB,YAAc,EAAA;IAAA,GAAGmB;IAAOhB,KAAc;IAAAC,QAAA;IACrCsB,yCAACpB,eACE,EAAA;MAAAoB,QAAA,EAAA,CAAC,CAAAV,QAAA,kCACCW,iBAAkB,CAAAA,iBAAA,EAAA;QAAAC,GAAA,EAAKR;QAAMS,KAAO,EAAAX,SAAA;QAAWY,QAAQb;OAAY,CAAA,EAAA,CAEpE,CAAC,CAACb,QAAA,IAAY,CAAC,CAACD,KAAA,KAAA,+BACfK,MACE,EAAA;QAAAkB,QAAA,EAAA,CAAA,CAAC,CAACtB,QAAA,IAAA,eAAa2B,UAAA,CAAAA,GAAA,CAAAtB,QAAA,EAAA;UAAUiB,QAAS,EAAAtB;SAAA,CAAA,EAClC,CAAC,CAACD,KACD,IAAA,eAAA4B,UAAA,CAAAA,GAAA,CAACpB,KAAA,EAAA;UAECC,UAAA,EAAY,CAAC,CAACR,QAAA;UAEbsB,QAAA,EAAAvB;QAAA,CACH,CAAA;OAEJ,CAAA;IAEJ,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"CartButton.js","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n /**\n * (optional) Mini-Text to display before the label, used for additional context. See example for more details\n * @example\n * preLabel=\"Available again week of\"\n * label=\"Oct. 10\"\n */\n preLabel?: string;\n /**\n * (optional) Label to display on the button. If not provided, only the icon will be displayed\n */\n label?: string;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n ${({ label, preLabel }) => {\n // If both label and preLabel don't force any sizing;\n if (!!label && !!preLabel) {\n return;\n }\n\n /**\n * For historical reasons, we have to set a fixed height and padding for button. I get the height to match the\n * design but the padding is way bigger than it can be, would make sense to just vertically align content.\n * FIXME: investigate if we can remove padding and just vertically align content\n */\n if (label) {\n return css`\n padding: 10px 15px;\n height: 40px;\n `;\n }\n\n // And otherwise rendering just icon force both width and height to be 40px\n return css`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n `;\n }}\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst Labels = styled.div`\n display: inline-flex;\n flex-direction: column;\n`;\n\nconst PreLabel = styled.span`\n /* Size relative to regular label size, e.g if 14px label than 10px preLabel */\n font-size: 0.714em;\n line-height: 1.2;\n font-weight: 400;\n`;\n\nconst Label = styled.span<{ $forceBold?: boolean }>`\n ${({ $forceBold }) =>\n $forceBold\n ? css`\n font-weight: bold;\n `\n : undefined};\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n preLabel,\n label,\n ...props\n}: CartButtonProps) {\n const Icon = useMemo(() => {\n switch (icon) {\n case \"cart\":\n return CartIcon;\n\n case \"plus\":\n return CartPlusIcon;\n }\n }, [icon]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label} preLabel={preLabel}>\n <ButtonInnerWrap>\n {!hideIcon && <StyleableSvgImage src={Icon} width={20} height={16} />}\n {(!!preLabel || !!label) && (\n <Labels>\n {!!preLabel && <PreLabel>{preLabel}</PreLabel>}\n {!!label && (\n <Label\n // Enforce bold label if preLabel is present as per design, preLabel is always regular weight\n $forceBold={!!preLabel}\n >\n {label}\n </Label>\n )}\n </Labels>\n )}\n </ButtonInnerWrap>\n </ButtonStyled>\n );\n};\n"],"names":["ButtonStyled","styled","Button","label","preLabel","css","ButtonInnerWrap","div","Labels","PreLabel","span","Label","$forceBold","CartButton","CartButton2","icon","hideIcon","props","Icon","useMemo","CartIcon","CartPlusIcon","children","StyleableSvgImage","src","width","height","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAyBA,MAAMA,YAAA,GAAeC,eAAAA,CAAAA,SAAAA,EAAOC,MAAAA,CAAAA,MAAM,CAAA;AAAA,IAC9B,CAAC;EAAEC,KAAO;EAAAC;CAAe,KAAA;EAEzB,IAAI,CAAC,CAACD,KAAS,IAAA,CAAC,CAACC,QAAU,EAAA;IACzB;EACF;EAOA,IAAID,KAAO,EAAA;IACF,OAAAE,UAAA;AAAA;AAAA;AAAA,OAAA;EAIT;EAGO,OAAAA,UAAA;AAAA;AAAA;AAAA;AAAA,KAAA;AAKT,CAAC;AAAA;AAAA,IAEC,CAAC;EAAEF;AAAA,CACH,KAAA,CAAC,CAACA,KACF,IAAAE,MAAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGL,MAAMC,kBAAkBL,eAAO,CAAA,SAAA,CAAA,CAAAM,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAM/B,MAAMC,SAASP,eAAO,CAAA,SAAA,CAAA,CAAAM,GAAA;AAAA;AAAA;AAAA,CAAA;AAKtB,MAAME,WAAWR,eAAO,CAAA,SAAA,CAAA,CAAAS,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,QAAQV,eAAO,CAAA,SAAA,CAAA,CAAAS,IAAA;AAAA,IACjB,CAAC;EAAEE;CAAW,KACdA,UACI,GAAAP,MAAAA,CAAAA,GAAA;AAAA;AAAA,SAAA,GAGA,KAAS,CAAA;AAAA,CAAA;AAGJ,MAAAQ,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,MAAA;EACPC,QAAA;EACAZ,QAAA;EACAD,KAAA;EACA,GAAGc;AACL,CAAoB,EAAA;EACZ,MAAAC,IAAA,GAAOC,KAAAA,CAAAA,QAAQ,MAAM;IACzB,QAAQJ,IAAM;MACZ,KAAK,MAAA;QACI,OAAAK,4BAAA;MAET,KAAK,MAAA;QACI,OAAAC,gCAAA;IACX;EAAA,CACF,EAAG,CAACN,IAAI,CAAC,CAAA;EAKT,OAAA,8BACGf,YAAc,EAAA;IAAA,GAAGiB;IAAOd,KAAc;IAAAC,QAAA;IACrCkB,yCAAChB,eACE,EAAA;MAAAgB,QAAA,EAAA,CAAC,CAAAN,QAAA,kCAAaO,iBAAkB,CAAAA,iBAAA,EAAA;QAAAC,GAAA,EAAKN;QAAMO,KAAO,EAAA,EAAA;QAAIC,QAAQ;OAAI,CAAA,EAAA,CACjE,CAAC,CAACtB,QAAA,IAAY,CAAC,CAACD,KAAA,KAAA,+BACfK,MACE,EAAA;QAAAc,QAAA,EAAA,CAAA,CAAC,CAAClB,QAAA,IAAA,eAAauB,UAAA,CAAAA,GAAA,CAAAlB,QAAA,EAAA;UAAUa,QAAS,EAAAlB;SAAA,CAAA,EAClC,CAAC,CAACD,KACD,IAAA,eAAAwB,UAAA,CAAAA,GAAA,CAAChB,KAAA,EAAA;UAECC,UAAA,EAAY,CAAC,CAACR,QAAA;UAEbkB,QAAA,EAAAnB;QAAA,CACH,CAAA;OAEJ,CAAA;IAEJ,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
@@ -1,13 +1,11 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { useMemo } from 'react';
3
3
  import styled, { css } from 'styled-components';
4
- import '../../assets/icons/cart-secondary.svg.mjs';
5
4
  import '../../assets/icons/cart.svg.mjs';
6
5
  import '../../assets/icons/cartPlus.svg.mjs';
7
6
  import '../StyleableSvgImage/index.mjs';
8
7
  import { Button } from './Button.mjs';
9
8
  import CartPlusIcon__default from "../../assets/cartPlus.svg";
10
- import CartIconSecondary__default from "../../assets/cart-secondary.svg";
11
9
  import CartIcon__default from "../../assets/cart.svg";
12
10
  import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
13
11
  "use strict";
@@ -65,18 +63,16 @@ const CartButton = function CartButton2({
65
63
  hideIcon,
66
64
  preLabel,
67
65
  label,
68
- iconHeight = 16,
69
- iconWidth = 20,
70
66
  ...props
71
67
  }) {
72
68
  const Icon = useMemo(() => {
73
69
  switch (icon) {
74
70
  case "cart":
75
- return props.variant === "secondary" ? CartIconSecondary__default : CartIcon__default;
71
+ return CartIcon__default;
76
72
  case "plus":
77
73
  return CartPlusIcon__default;
78
74
  }
79
- }, [icon, props.variant]);
75
+ }, [icon]);
80
76
  return /* @__PURE__ */jsx(ButtonStyled, {
81
77
  ...props,
82
78
  label,
@@ -84,8 +80,8 @@ const CartButton = function CartButton2({
84
80
  children: /* @__PURE__ */jsxs(ButtonInnerWrap, {
85
81
  children: [!hideIcon && /* @__PURE__ */jsx(StyleableSvgImage, {
86
82
  src: Icon,
87
- width: iconWidth,
88
- height: iconHeight
83
+ width: 20,
84
+ height: 16
89
85
  }), (!!preLabel || !!label) && /* @__PURE__ */jsxs(Labels, {
90
86
  children: [!!preLabel && /* @__PURE__ */jsx(PreLabel, {
91
87
  children: preLabel