@ubnt/store.core 9.64.0 → 9.64.1-new-design

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 (618) hide show
  1. package/CHANGELOG.md +148 -1
  2. package/lib/_virtual/_virtual_multi-entry.js +13 -10
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +13 -11
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.d.ts +12 -2
  7. package/lib/apis/smartcat.js +27 -4
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +27 -4
  10. package/lib/apis/smartcat.mjs.map +1 -1
  11. package/lib/assets/arrow2.svg +3 -0
  12. package/lib/assets/cart-secondary.svg +5 -0
  13. package/lib/assets/icon-location-pin.svg +5 -0
  14. package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
  15. package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
  16. package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
  17. package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
  18. package/lib/{components/ModelCompareV3/assets/Switching/aggregation.jpg.js → assets/icons/menu/icon-location-pin.svg.js} +6 -6
  19. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
  20. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
  21. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
  22. package/lib/assets/logoUnifi.svg +10 -2
  23. package/lib/assets/poe2.svg +3 -2
  24. package/lib/assets/poe3.svg +2 -3
  25. package/lib/assets/port.svg +4 -2
  26. package/lib/assets/port2.svg +2 -4
  27. package/lib/assets/udmPro.jpg +0 -0
  28. package/lib/assets/udmPro2.jpg +0 -0
  29. package/lib/assets/udmProMax.jpg +0 -0
  30. package/lib/assets/udmProMax2.jpg +0 -0
  31. package/lib/assets/udmProSpecial.jpg +0 -0
  32. package/lib/assets/udmProSpecial2.jpg +0 -0
  33. package/lib/assets/udr2.jpg +0 -0
  34. package/lib/assets/udr3.jpg +0 -0
  35. package/lib/assets/udr7.jpg +0 -0
  36. package/lib/assets/udr72.jpg +0 -0
  37. package/lib/components/Accordion/Accordion.js +4 -4
  38. package/lib/components/Avatar/Avatar.js +2 -2
  39. package/lib/components/BackInStock/BackInStock.types.d.ts +1 -0
  40. package/lib/components/Button/Button.js +12 -5
  41. package/lib/components/Button/Button.js.map +1 -1
  42. package/lib/components/Button/Button.mjs +8 -1
  43. package/lib/components/Button/Button.mjs.map +1 -1
  44. package/lib/components/Button/CartButton.d.ts +3 -1
  45. package/lib/components/Button/CartButton.js +11 -6
  46. package/lib/components/Button/CartButton.js.map +1 -1
  47. package/lib/components/Button/CartButton.mjs +8 -4
  48. package/lib/components/Button/CartButton.mjs.map +1 -1
  49. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  50. package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
  51. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  52. package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
  53. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  54. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
  55. package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
  56. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  57. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
  58. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  59. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
  60. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  61. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +16 -4
  62. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  63. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +17 -5
  64. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  65. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -1
  66. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +82 -17
  67. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  68. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +82 -17
  69. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  70. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +4 -0
  71. package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
  72. package/lib/components/CardSection/Card/Card.d.ts +1 -1
  73. package/lib/components/CardSection/Card/Card.js +9 -7
  74. package/lib/components/CardSection/Card/Card.js.map +1 -1
  75. package/lib/components/CardSection/Card/Card.mjs +3 -1
  76. package/lib/components/CardSection/Card/Card.mjs.map +1 -1
  77. package/lib/components/CardSection/Card/Card.types.d.ts +1 -0
  78. package/lib/components/CardSection/Card/Card.types.js.map +1 -1
  79. package/lib/components/CardSection/Card/Card.types.mjs.map +1 -1
  80. package/lib/components/CardSection/CardSection.js +2 -2
  81. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  82. package/lib/components/CartIcon/CartIcon.js +2 -2
  83. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
  84. package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
  85. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  86. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
  87. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  88. package/lib/components/Checkbox/Checkbox.js +4 -4
  89. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  90. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  91. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  92. package/lib/components/Container/Container.d.ts +1 -1
  93. package/lib/components/Container/Container.js +5 -4
  94. package/lib/components/Container/Container.js.map +1 -1
  95. package/lib/components/Container/Container.mjs +5 -4
  96. package/lib/components/Container/Container.mjs.map +1 -1
  97. package/lib/components/Container/index.stories.d.ts +5 -5
  98. package/lib/components/CustomImage/CustomImage.js +12 -12
  99. package/lib/components/Explore/Explore.js +5 -5
  100. package/lib/components/Explore/ExploreData.js +11 -11
  101. package/lib/components/Explore/ExploreData.js.map +1 -1
  102. package/lib/components/Explore/ExploreData.mjs +11 -11
  103. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  104. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  105. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
  106. package/lib/components/Footer/Footer.js +2 -2
  107. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  108. package/lib/components/Gallery/Gallery.context.js +17 -17
  109. package/lib/components/Gallery/Gallery.js +9 -9
  110. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  111. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  112. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  113. package/lib/components/GridGallery/GridGallery.js +8 -8
  114. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  115. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  116. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  117. package/lib/components/Header/AccountMenu/AccountMenu.js +30 -20
  118. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  119. package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
  120. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  121. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  122. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  123. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  124. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  125. package/lib/components/Header/Header.js +43 -43
  126. package/lib/components/Header/Header.js.map +1 -1
  127. package/lib/components/Header/Header.mjs +9 -9
  128. package/lib/components/Header/Header.mjs.map +1 -1
  129. package/lib/components/Header/Header.stories.d.ts +111 -0
  130. package/lib/components/Header/Header.styles.d.ts +7 -12
  131. package/lib/components/Header/Header.styles.js +10 -32
  132. package/lib/components/Header/Header.styles.js.map +1 -1
  133. package/lib/components/Header/Header.styles.mjs +10 -31
  134. package/lib/components/Header/Header.styles.mjs.map +1 -1
  135. package/lib/components/Header/Header.types.d.ts +29 -5
  136. package/lib/components/Header/Header.types.js +2 -1
  137. package/lib/components/Header/Header.types.js.map +1 -1
  138. package/lib/components/Header/Header.types.mjs +2 -1
  139. package/lib/components/Header/Header.types.mjs.map +1 -1
  140. package/lib/components/Header/IsolatedHeader.d.ts +1 -0
  141. package/lib/components/Header/IsolatedHeader.js +50 -50
  142. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  143. package/lib/components/Header/IsolatedHeader.mjs +47 -46
  144. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  145. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  146. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
  147. package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
  148. package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
  149. package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
  150. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
  151. package/lib/components/Header/LogoIcon/index.d.ts +1 -0
  152. package/lib/components/Header/LogoIcon/index.js +6 -0
  153. package/lib/components/Header/LogoIcon/index.js.map +1 -0
  154. package/lib/components/Header/LogoIcon/index.mjs +3 -0
  155. package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
  156. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  157. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  158. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  159. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  160. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  161. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
  162. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  163. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  164. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  165. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  166. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  167. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  168. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +116 -109
  169. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  170. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
  171. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  172. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
  173. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
  174. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  175. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
  176. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  177. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
  178. package/lib/components/Header/Overlay/Overlay.js +3 -3
  179. package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
  180. package/lib/components/Header/ProHeader/ProHeader.js +290 -189
  181. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  182. package/lib/components/Header/ProHeader/ProHeader.mjs +270 -171
  183. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  184. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +38 -23
  185. package/lib/components/Header/ProHeader/ProHeader.styles.js +205 -67
  186. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  187. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +194 -66
  188. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  189. package/lib/components/Header/translations/ar.json.js +4 -1
  190. package/lib/components/Header/translations/ar.json.js.map +1 -1
  191. package/lib/components/Header/translations/ar.json.mjs +4 -2
  192. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  193. package/lib/components/Header/translations/de.json.js +4 -1
  194. package/lib/components/Header/translations/de.json.js.map +1 -1
  195. package/lib/components/Header/translations/de.json.mjs +4 -2
  196. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  197. package/lib/components/Header/translations/el.json.js +4 -1
  198. package/lib/components/Header/translations/el.json.js.map +1 -1
  199. package/lib/components/Header/translations/el.json.mjs +4 -2
  200. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  201. package/lib/components/Header/translations/en.json.js +7 -1
  202. package/lib/components/Header/translations/en.json.js.map +1 -1
  203. package/lib/components/Header/translations/en.json.mjs +6 -2
  204. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  205. package/lib/components/Header/translations/es.json.js +4 -1
  206. package/lib/components/Header/translations/es.json.js.map +1 -1
  207. package/lib/components/Header/translations/es.json.mjs +4 -2
  208. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  209. package/lib/components/Header/translations/fr.json.js +4 -1
  210. package/lib/components/Header/translations/fr.json.js.map +1 -1
  211. package/lib/components/Header/translations/fr.json.mjs +4 -2
  212. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  213. package/lib/components/Header/translations/it.json.js +4 -1
  214. package/lib/components/Header/translations/it.json.js.map +1 -1
  215. package/lib/components/Header/translations/it.json.mjs +4 -2
  216. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  217. package/lib/components/Header/translations/ja.json.js +4 -1
  218. package/lib/components/Header/translations/ja.json.js.map +1 -1
  219. package/lib/components/Header/translations/ja.json.mjs +4 -2
  220. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  221. package/lib/components/Header/translations/pt-BR.json.js +4 -1
  222. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  223. package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
  224. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  225. package/lib/components/Header/translations/zh-Hans.json.js +4 -1
  226. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  227. package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
  228. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  229. package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
  230. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  231. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
  232. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  233. package/lib/components/Hero/Hero.js +5 -5
  234. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  235. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  236. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  237. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  238. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  239. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  240. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  241. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  242. package/lib/components/LandingPage/LandingPage.js +2 -2
  243. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  244. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  245. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  246. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  247. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  248. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  249. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  250. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  251. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  252. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  253. package/lib/components/LoaderDots/LoaderDots.js +3 -1
  254. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  255. package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
  256. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  257. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
  258. package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
  259. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  260. package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
  261. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  262. package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
  263. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  264. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  265. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  266. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  267. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  268. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  269. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  270. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  271. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  272. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  273. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  274. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  275. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  276. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  277. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  278. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  279. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  280. package/lib/components/MobileModal/MobileModal.js +4 -4
  281. package/lib/components/Modal/Modal.js +3 -3
  282. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  283. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  284. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  285. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  286. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  287. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  288. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  289. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  290. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  291. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  292. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  293. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  294. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  295. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  296. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  297. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  298. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  299. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  300. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  301. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  302. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  303. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  304. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  305. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  306. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  307. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  308. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  309. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  310. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  311. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  312. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  313. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  314. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  315. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  316. package/lib/components/ModelCompareV3/assets/poe.svg.js +1 -1
  317. package/lib/components/ModelCompareV3/assets/poe.svg.mjs +2 -2
  318. package/lib/components/ModelCompareV3/assets/port.svg.js +1 -1
  319. package/lib/components/ModelCompareV3/assets/port.svg.mjs +2 -2
  320. package/lib/components/ModelCompareV3/data/CloudGateways.js +12 -12
  321. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +8 -8
  322. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +3 -2
  323. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  324. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +3 -2
  325. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  326. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +4 -2
  327. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  328. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +4 -2
  329. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  330. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  331. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  332. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  333. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  334. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  335. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  336. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  337. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  338. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  339. package/lib/components/ModelCompareV3/data/products/express7.js.map +1 -1
  340. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  341. package/lib/components/ModelCompareV3/data/products/express7.mjs.map +1 -1
  342. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +5 -3
  343. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  344. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +5 -3
  345. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  346. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +5 -3
  347. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  348. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +5 -3
  349. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  350. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +4 -2
  351. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  352. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +4 -2
  353. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  354. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +5 -3
  355. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  356. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +5 -3
  357. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  358. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +3 -1
  359. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  360. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +3 -1
  361. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  362. package/lib/components/ModelCompareV3/data/products/ucgFiber.js +1 -1
  363. package/lib/components/ModelCompareV3/data/products/ucgFiber.js.map +1 -1
  364. package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
  365. package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs.map +1 -1
  366. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  367. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  368. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  369. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  370. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
  371. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  372. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
  373. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  374. package/lib/components/ModelCompareV3/data/products/udmPro.js +4 -4
  375. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  376. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +4 -4
  377. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  378. package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
  379. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  380. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
  381. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  382. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +4 -4
  383. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  384. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +4 -4
  385. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  386. package/lib/components/ModelCompareV3/data/products/udr.js +2 -2
  387. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  388. package/lib/components/ModelCompareV3/data/products/udr.mjs +2 -2
  389. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  390. package/lib/components/ModelCompareV3/data/products/udr7.js +2 -2
  391. package/lib/components/ModelCompareV3/data/products/udr7.js.map +1 -1
  392. package/lib/components/ModelCompareV3/data/products/udr7.mjs +2 -2
  393. package/lib/components/ModelCompareV3/data/products/udr7.mjs.map +1 -1
  394. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  395. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  396. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  397. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  398. package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.js +1 -1
  399. package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.mjs +1 -1
  400. package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.js +1 -1
  401. package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.mjs +1 -1
  402. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js +1 -1
  403. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +1 -1
  404. package/lib/components/Pagination/Pagination.js +3 -3
  405. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  406. package/lib/components/ProductCard/ProductCard.js +7 -7
  407. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  408. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  409. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  410. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  411. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  412. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  413. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  414. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  415. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  416. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  417. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  418. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  419. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  420. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  421. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  422. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  423. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +86 -0
  424. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  425. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +72 -0
  426. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  427. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  428. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  429. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  430. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  431. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  432. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  433. package/lib/components/ProductWizard/Options/Options.js +3 -3
  434. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  435. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  436. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  437. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  438. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  439. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  440. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  441. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  442. package/lib/components/QuantityInput/QuantityInput.js +6 -1
  443. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  444. package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
  445. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  446. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  447. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -2
  448. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  449. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -2
  450. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  451. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  452. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  453. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  454. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  455. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  456. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  457. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  458. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  459. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  460. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  461. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  462. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +4 -4
  463. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs +2 -2
  464. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.js +1 -1
  465. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.mjs +2 -2
  466. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.js +1 -1
  467. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.mjs +2 -2
  468. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  469. package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -1
  470. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -1
  471. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  472. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  473. package/lib/components/ScrollWrapper/ScrollWrapper.js +34 -26
  474. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  475. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
  476. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  477. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
  478. package/lib/components/Search/Input/Input.d.ts +1 -1
  479. package/lib/components/Search/Input/Input.js +8 -8
  480. package/lib/components/Search/Input/Input.js.map +1 -1
  481. package/lib/components/Search/Input/Input.mjs +4 -4
  482. package/lib/components/Search/Input/Input.mjs.map +1 -1
  483. package/lib/components/Search/Input/Input.styles.js +0 -1
  484. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  485. package/lib/components/Search/Input/Input.styles.mjs +0 -1
  486. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  487. package/lib/components/Search/Input/Input.types.d.ts +3 -2
  488. package/lib/components/Search/Modal/Modal.js +3 -3
  489. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  490. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  491. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  492. package/lib/components/Tooltip/Tooltip.js +5 -5
  493. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  494. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  495. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  496. package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
  497. package/lib/components/index.d.ts +1 -0
  498. package/lib/components/index.js +2 -0
  499. package/lib/components/index.js.map +1 -1
  500. package/lib/components/index.mjs +2 -0
  501. package/lib/components/index.mjs.map +1 -1
  502. package/lib/constants/icons/header/arrow.svg.js +27 -0
  503. package/lib/constants/icons/header/arrow.svg.js.map +1 -0
  504. package/lib/constants/icons/header/arrow.svg.mjs +3 -0
  505. package/lib/constants/icons/header/arrow.svg.mjs.map +1 -0
  506. package/lib/constants/icons/header/index.d.ts +1 -0
  507. package/lib/constants/icons/header/index.js +9 -0
  508. package/lib/constants/icons/header/index.js.map +1 -1
  509. package/lib/constants/icons/header/index.mjs +2 -0
  510. package/lib/constants/icons/header/index.mjs.map +1 -1
  511. package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
  512. package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
  513. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  514. package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
  515. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  516. package/lib/constants/proStoreCategories/mapping/index.d.ts +5 -2
  517. package/lib/constants/proStoreCategories/mapping/index.js +55 -51
  518. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  519. package/lib/constants/proStoreCategories/mapping/index.mjs +54 -49
  520. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  521. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
  522. package/lib/constants/proStoreCategories/mapping/redirects.js +18 -3
  523. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  524. package/lib/constants/proStoreCategories/mapping/redirects.mjs +18 -3
  525. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  526. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +10 -9
  527. package/lib/constants/proStoreCategories/mapping/unifi.js +10 -9
  528. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  529. package/lib/constants/proStoreCategories/mapping/unifi.mjs +10 -9
  530. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  531. package/lib/constants/proStoreCategories/translations/ar.json.js +8 -1
  532. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  533. package/lib/constants/proStoreCategories/translations/ar.json.mjs +8 -2
  534. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  535. package/lib/constants/proStoreCategories/translations/de.json.js +7 -0
  536. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  537. package/lib/constants/proStoreCategories/translations/de.json.mjs +7 -1
  538. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  539. package/lib/constants/proStoreCategories/translations/el.json.js +8 -1
  540. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  541. package/lib/constants/proStoreCategories/translations/el.json.mjs +8 -2
  542. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  543. package/lib/constants/proStoreCategories/translations/en.json.js +7 -2
  544. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  545. package/lib/constants/proStoreCategories/translations/en.json.mjs +7 -3
  546. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  547. package/lib/constants/proStoreCategories/translations/es.json.js +8 -1
  548. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  549. package/lib/constants/proStoreCategories/translations/es.json.mjs +8 -2
  550. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  551. package/lib/constants/proStoreCategories/translations/fr.json.js +8 -1
  552. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  553. package/lib/constants/proStoreCategories/translations/fr.json.mjs +8 -2
  554. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  555. package/lib/constants/proStoreCategories/translations/it.json.js +8 -1
  556. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  557. package/lib/constants/proStoreCategories/translations/it.json.mjs +8 -2
  558. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  559. package/lib/constants/proStoreCategories/translations/ja.json.js +8 -1
  560. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  561. package/lib/constants/proStoreCategories/translations/ja.json.mjs +8 -2
  562. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  563. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +7 -0
  564. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  565. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +7 -1
  566. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  567. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +8 -1
  568. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  569. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +8 -2
  570. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  571. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +8 -1
  572. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  573. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +8 -2
  574. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  575. package/lib/constants/proStoreFilters/mapping.d.ts +56 -4
  576. package/lib/constants/proStoreFilters/mapping.js +141 -11
  577. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  578. package/lib/constants/proStoreFilters/mapping.mjs +141 -11
  579. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  580. package/lib/constants/theme.js +4 -0
  581. package/lib/constants/theme.js.map +1 -1
  582. package/lib/constants/theme.mjs +4 -0
  583. package/lib/constants/theme.mjs.map +1 -1
  584. package/lib/contexts/MenuContext/context.js +34 -34
  585. package/lib/contexts/MenuContext/context.js.map +1 -1
  586. package/lib/contexts/MenuContext/context.mjs +1 -1
  587. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  588. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  589. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  590. package/lib/helpers/index.js +1 -0
  591. package/lib/helpers/index.js.map +1 -1
  592. package/lib/helpers/index.mjs +1 -1
  593. package/lib/helpers/proStoreCategories.js +2 -2
  594. package/lib/helpers/ux.d.ts +8 -0
  595. package/lib/helpers/ux.js +15 -0
  596. package/lib/helpers/ux.js.map +1 -1
  597. package/lib/helpers/ux.mjs +15 -1
  598. package/lib/helpers/ux.mjs.map +1 -1
  599. package/lib/hooks/useHasTouch.js +3 -3
  600. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  601. package/lib/hooks/useHorizontalScroll.js +2 -2
  602. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  603. package/lib/hooks/useScrollToY.js +2 -2
  604. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  605. package/lib/hooks/useTranslation.js +6 -6
  606. package/lib/utils/nextjs/ssr/registry.js +2 -2
  607. package/package.json +1 -1
  608. package/lib/assets/aggregation.jpg +0 -0
  609. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  610. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  611. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  612. package/lib/components/ModelCompareV3/assets/Switching/aggregation.jpg.js.map +0 -1
  613. package/lib/components/ModelCompareV3/assets/Switching/aggregation.jpg.mjs +0 -3
  614. package/lib/components/ModelCompareV3/assets/Switching/aggregation.jpg.mjs.map +0 -1
  615. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -117
  616. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +0 -1
  617. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -109
  618. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +0 -1
@@ -1,5 +1,4 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { LineLoader } from '@ubnt/ui-components/LineLoader';
1
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
2
  import merge from 'lodash/merge';
4
3
  import { memo, useRef, useState, useMemo, useEffect, useCallback } from 'react';
5
4
  import { useMedia, useClickAway } from 'react-use';
@@ -11,22 +10,25 @@ import { BREAKPOINTS } from '../../../constants/layout.mjs';
11
10
  import '../../../contexts/MenuContext/index.mjs';
12
11
  import { SiteId } from '../../../contexts/MenuContext/mapping.mjs';
13
12
  import { ModalId } from '../../../contexts/MenuContext/types.mjs';
13
+ import { getTrueSize } from '../../../helpers/ux.mjs';
14
14
  import '../../../hooks/index.mjs';
15
15
  import '../../../types/index.mjs';
16
16
  import { imageSrc } from '../../../utils/asset.mjs';
17
17
  import { checkUnreachable } from '../../../utils/errors.mjs';
18
18
  import '../../MobileModal/index.mjs';
19
- import '../../StyleableSvgImage/index.mjs';
19
+ import '../../ScrollWrapper/index.mjs';
20
20
  import '../../Tooltip/index.mjs';
21
21
  import '../AccountFrame/index.mjs';
22
22
  import '../AccountFrame/Mobile/index.mjs';
23
- import { SkeletonCircleLoader, HEADER_ICON_SIZE, SvgIcon, HeaderWrap, Container, Anchor, SiteTitleWrap, LogoIconWrap, CartIcon, ModalWrap, ModalInnerWrap } from '../Header.styles.mjs';
23
+ import { SkeletonCircleLoader, HEADER_ICON_SIZE, SvgIcon, HeaderWrap, Container, Anchor, SiteTitleWrap, LogoIconWrap, MenuItemLabel, CartIcon, ModalWrap, ModalInnerWrap } from '../Header.styles.mjs';
24
24
  import { defaultHeaderTranslations } from '../Header.types.mjs';
25
25
  import '../LanguageFrame/index.mjs';
26
26
  import '../LanguageFrame/Mobile/index.mjs';
27
+ import '../LogoIcon/index.mjs';
28
+ import '../MenuItem/index.mjs';
27
29
  import '../Navigation/ProMobileMenu/index.mjs';
28
30
  import '../translations/index.mjs';
29
- import { ProIconWrap, AvatarWrap, ProHeaderWrap, Header, Wrap, LeftWrap, BreakpointsWrap, CountryButton, CenterWrap, Search, ProductLineSelectorWrap, ProductLineSelectorItem, RightWrap, ProIconInnerFillWrap, VerticalDivider, SearchTabWrap } from './ProHeader.styles.mjs';
31
+ import { WRAP_GAP, ProIconWrap, AvatarWrap, ProHeaderWrap, ProHeader as ProHeader$1, Wrap, LeftWrap, ProductLineSelectorWrap, ProductLineSelectorButton, ProductLineSelectIcon, ProductLineSelectorList, ProductLineSelectorListItem, CurrentStoreWrap, CurrentStoreFlag, CenterWrap, SearchWrap, Search, SearchCancel, InlineCategoryWrap, CATEGORY_ITEMS_GAP, RightWrap, ProIconInnerFillWrap, VerticalDivider, LineLoader } from './ProHeader.styles.mjs';
30
32
  import { ProductLine } from '../../../types/generated.mjs';
31
33
  import { useMenu } from '../../../contexts/MenuContext/context.mjs';
32
34
  import { useTranslation } from '../../../hooks/useTranslation.mjs';
@@ -34,8 +36,10 @@ import EN_TRANSLATION from '../translations/en.json.mjs';
34
36
  import { Language } from '../../../types/constants.mjs';
35
37
  import NoUserAvatar__default from "../../../assets/no-user-avatar.png";
36
38
  import _externalAssets_CtJIOg_A__default from "../../../assets/account.svg";
37
- import { StyleableSvgImage } from '../../StyleableSvgImage/StyleableSvgImage.mjs';
38
- import _externalAssets_BPYvPCPi__default from "../../../assets/logo.svg";
39
+ import { HeaderLogoIcon } from '../LogoIcon/LogoIcon.mjs';
40
+ import _externalAssets_D0npbJ7x__default from "../../../assets/arrow2.svg";
41
+ import { ScrollWrapper } from '../../ScrollWrapper/ScrollWrapper.mjs';
42
+ import { MenuItem } from '../MenuItem/MenuItem.mjs';
39
43
  import _externalAssets_g50k1DIN__default from "../../../assets/search.svg";
40
44
  import { Tooltip } from '../../Tooltip/Tooltip.mjs';
41
45
  import _externalAssets_DJH57LL8__default from "../../../assets/globe.svg";
@@ -50,7 +54,9 @@ import { AccountFrameMobile } from '../AccountFrame/Mobile/Mobile.mjs';
50
54
  import { AccountFrame } from '../AccountFrame/AccountFrame.mjs';
51
55
  import { NavigationProMobileMenu } from '../Navigation/ProMobileMenu/ProMobileMenu.mjs';
52
56
  "use strict";
53
- const defaultProductLineOptions = [{
57
+ const PRO_HEADER_MOBILE_UP = BREAKPOINTS.TABLET_UP;
58
+ const PRO_HEADER_MOBILE_AND_DOWN = BREAKPOINTS.TABLET_AND_DOWN;
59
+ const DEFAULT_PRODUCT_LINE_OPTIONS = [{
54
60
  value: ProductLine.Unifi,
55
61
  label: "UniFi"
56
62
  }, {
@@ -67,8 +73,9 @@ const ProHeader = memo(function ProHeader2({
67
73
  onCartClick,
68
74
  showLineLoader,
69
75
  searchValue,
76
+ searchInputWidth,
77
+ searchInputChildren,
70
78
  onSearch,
71
- currentCountryName,
72
79
  handleStorePickerClick,
73
80
  earlyAccess,
74
81
  handlePurchaseHistoryClick,
@@ -76,17 +83,22 @@ const ProHeader = memo(function ProHeader2({
76
83
  handleProductLineChange,
77
84
  handleMobileMenuClick,
78
85
  productLineValue,
86
+ categories,
87
+ hideInlineCategories,
79
88
  embedConfig,
80
89
  onSearchFocus,
81
90
  onSearchBlur,
82
91
  onSearchClick,
83
- productLineOptions = defaultProductLineOptions,
92
+ productLineOptions = DEFAULT_PRODUCT_LINE_OPTIONS,
84
93
  accountMenu,
85
- onLanguageChange
94
+ onLanguageChange,
95
+ logo
86
96
  }) {
87
- const isMobile = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);
97
+ const isMobile = useMedia(PRO_HEADER_MOBILE_AND_DOWN, false);
88
98
  const rootRef = useRef(null);
89
- const [searchInputRef, setSearchInputRef] = useState(null);
99
+ const wrapRef = useRef(null);
100
+ const containerRef = useRef(null);
101
+ const [searchInputEl, setSearchInputEl] = useState(null);
90
102
  const translations = useMemo(() => {
91
103
  return merge(defaultHeaderTranslations, initialTranslations);
92
104
  }, [initialTranslations]);
@@ -148,45 +160,72 @@ const ProHeader = memo(function ProHeader2({
148
160
  activeModal === ModalId.ProMobileMenu
149
161
  );
150
162
  }, [activeModal]);
163
+ const [canFocusSearch, setCanFocusSearch] = useState(false);
164
+ useEffect(() => {
165
+ if (activeModal !== ModalId.Search) {
166
+ setCanFocusSearch(false);
167
+ }
168
+ }, [activeModal]);
169
+ useEffect(() => {
170
+ if (!canFocusSearch || activeModal !== ModalId.Search || !searchInputEl) return;
171
+ const interval = setInterval(() => {
172
+ if (document.activeElement === searchInputEl) {
173
+ clearInterval(interval);
174
+ }
175
+ searchInputEl.focus();
176
+ setCanFocusSearch(false);
177
+ }, 0);
178
+ return () => clearInterval(interval);
179
+ }, [activeModal, canFocusSearch, searchInputEl]);
180
+ const isSearching = activeModal === ModalId.Search || !!searchValue;
151
181
  const onClickAwayFromSearchModal = useCallback(() => {
182
+ if (searchValue) return;
152
183
  if (activeModal === ModalId.Search) {
153
184
  setActiveModal(null);
154
185
  onSearchClick?.();
155
186
  }
156
- }, [activeModal, onSearchClick, setActiveModal]);
187
+ }, [activeModal, onSearchClick, searchValue, setActiveModal]);
188
+ const [initialSearchValueHandled, setInitialSearchValueHandled] = useState(false);
189
+ useEffect(() => {
190
+ if (!initialSearchValueHandled && searchValue) {
191
+ setActiveModal(ModalId.Search);
192
+ setInitialSearchValueHandled(true);
193
+ }
194
+ }, [initialSearchValueHandled, searchValue, setActiveModal]);
157
195
  const blurSearchInput = useCallback(() => {
158
- if (!searchInputRef || activeModal !== ModalId.Search) {
196
+ if (!searchInputEl || activeModal !== ModalId.Search) {
159
197
  return;
160
198
  }
161
199
  if (searchValue?.length) {
162
- searchInputRef.blur();
200
+ searchInputEl.blur();
163
201
  } else {
164
202
  onClickAwayFromSearchModal();
165
203
  }
166
- }, [activeModal, onClickAwayFromSearchModal, searchInputRef, searchValue?.length]);
204
+ }, [activeModal, onClickAwayFromSearchModal, searchInputEl, searchValue?.length]);
167
205
  useClickAway(rootRef, () => {
168
206
  onClickAwayFromSearchModal();
169
207
  }, ["click"]);
170
- const handleSearchFocus = useCallback(() => {
208
+ const handleSearchCancel = useCallback(() => {
209
+ setActiveModal(null);
210
+ onSearch?.("");
211
+ }, [onSearch, setActiveModal]);
212
+ const handleSearchOnClear = useCallback(() => {
213
+ setActiveModal(ModalId.Search);
214
+ onSearch?.("");
215
+ }, [onSearch, setActiveModal]);
216
+ const handleSearchOnFocus = useCallback(() => {
171
217
  setIsSearchFocused(true);
172
218
  onSearchFocus?.();
173
219
  }, [setIsSearchFocused, onSearchFocus]);
174
- const handleSearchBlur = useCallback(() => {
220
+ const handleSearchOnBlur = useCallback(() => {
175
221
  setIsSearchFocused(false);
176
222
  onSearchBlur?.();
177
223
  }, [setIsSearchFocused, onSearchBlur]);
178
- const handleShowSearchTab = useCallback(e => {
224
+ const handleOpenSearch = useCallback(e => {
179
225
  handleModalOpen(e, ModalId.Search);
180
226
  onSearchClick?.();
181
- if (searchInputRef) {
182
- const interval = setInterval(() => {
183
- if (document.activeElement === searchInputRef) {
184
- clearInterval(interval);
185
- }
186
- searchInputRef.focus();
187
- }, 0);
188
- }
189
- }, [handleModalOpen, onSearchClick, searchInputRef]);
227
+ setCanFocusSearch(true);
228
+ }, [handleModalOpen, onSearchClick]);
190
229
  const handleSearchValueChange = useCallback(e => {
191
230
  onSearch?.(e.target.value);
192
231
  }, [onSearch]);
@@ -212,7 +251,7 @@ const ProHeader = memo(function ProHeader2({
212
251
  case ProductLine.Amplifi:
213
252
  return 164;
214
253
  default:
215
- return 150;
254
+ return 160;
216
255
  }
217
256
  }, [productLineValue]);
218
257
  useEffect(() => {
@@ -231,12 +270,36 @@ const ProHeader = memo(function ProHeader2({
231
270
  const cartQuantity = useMemo(() => {
232
271
  return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;
233
272
  }, [cart?.items]);
273
+ const homeLinkUrl = useMemo(() => {
274
+ return logo?.url ?? createSiteUrl([SiteId.Ui, ""]);
275
+ }, [createSiteUrl, logo?.url]);
234
276
  const homeLinkClickHandler = useCallback(e => {
235
277
  if (embedConfig?.homeLinkClickHandler) {
236
278
  e.preventDefault();
237
279
  embedConfig.homeLinkClickHandler();
280
+ return;
238
281
  }
239
- }, [embedConfig]);
282
+ logo?.onClick?.(e, homeLinkUrl);
283
+ }, [embedConfig, homeLinkUrl, logo]);
284
+ useEffect(() => {
285
+ const containerEl = containerRef.current;
286
+ if (!containerEl) return;
287
+ const wrapEl = wrapRef.current;
288
+ if (!wrapEl) return;
289
+ const [leftEl, centerEl, rightEl] = Array.from(wrapEl.children);
290
+ if (!leftEl || !centerEl || !rightEl) return;
291
+ const handle = () => {
292
+ if (isMobile) {
293
+ centerEl.style.maxWidth = "none";
294
+ } else {
295
+ centerEl.style.maxWidth = containerEl.offsetWidth - getTrueSize(leftEl).width - getTrueSize(rightEl).width - WRAP_GAP * 2 -
296
+ // Remove extra 2 pixels just to be sure there's no overflow
297
+ 2 + "px";
298
+ }
299
+ window.requestAnimationFrame(handle);
300
+ };
301
+ window.requestAnimationFrame(handle);
302
+ }, [isMobile]);
240
303
  const handleAvatarClick = useCallback(e => {
241
304
  if (embedConfig?.avatarClickHandler) {
242
305
  embedConfig.avatarClickHandler();
@@ -273,12 +336,17 @@ const ProHeader = memo(function ProHeader2({
273
336
  })
274
337
  });
275
338
  }, [embedConfig?.moveAvatarIconToLeft, account?.customer?.picture, account?.loading, embedConfig?.displayAvatarAsImage, embedConfig?.hideAvatarIcon, handleAvatarClick, motif]);
276
- return /* @__PURE__ */jsxs(ProHeaderWrap, {
339
+ const [showProductLineSelectorDropdown, setShowProductLineSelectorDrowdown] = useState(false);
340
+ const productLineSelectorRef = useRef(null);
341
+ useClickAway(productLineSelectorRef, () => {
342
+ setShowProductLineSelectorDrowdown(false);
343
+ }, ["click"]);
344
+ return /* @__PURE__ */jsx(ProHeaderWrap, {
277
345
  ref: rootRef,
278
346
  $sticky: !!embedConfig,
279
347
  $disableBlur: activeModal === ModalId.Language && isMobile,
280
- children: [/* @__PURE__ */jsx(HeaderWrap, {
281
- children: /* @__PURE__ */jsxs(Header, {
348
+ children: /* @__PURE__ */jsx(HeaderWrap, {
349
+ children: /* @__PURE__ */jsxs(ProHeader$1, {
282
350
  sticky: sticky || !!embedConfig,
283
351
  isStickyEmbed: !!embedConfig,
284
352
  className,
@@ -287,137 +355,185 @@ const ProHeader = memo(function ProHeader2({
287
355
  size: embedConfig?.fullWidthHeader ? "full" : "desktop",
288
356
  noVerticalMargin: true,
289
357
  noPaddings: !!embedConfig?.fullWidthHeader,
358
+ ref: containerRef,
290
359
  children: [/* @__PURE__ */jsxs(Wrap, {
291
- children: [/* @__PURE__ */jsxs(LeftWrap, {
360
+ ref: wrapRef,
361
+ children: [/* @__PURE__ */jsx(LeftWrap, {
292
362
  $addSpaceOnDesktop: !!embedConfig?.fullWidthHeader,
293
- children: [!embedConfig?.hideLogo && /* @__PURE__ */jsx(Anchor, {
294
- href: createSiteUrl([SiteId.Ui, ""]),
295
- onClick: homeLinkClickHandler,
296
- children: embedConfig?.siteTitle ? /* @__PURE__ */jsx(SiteTitleWrap, {
297
- children: embedConfig.siteTitle
298
- }) : /* @__PURE__ */jsx(LogoIconWrap, {
299
- motif,
300
- $burger: false,
301
- children: /* @__PURE__ */jsx(StyleableSvgImage, {
302
- src: _externalAssets_BPYvPCPi__default,
303
- width: 17,
304
- height: 20
363
+ hideBreakpoint: isSearching ? PRO_HEADER_MOBILE_AND_DOWN : void 0,
364
+ children: activeModal !== ModalId.ProMobileMenu && /* @__PURE__ */jsxs(Fragment, {
365
+ children: [!logo?.hide && !embedConfig?.hideLogo && /* @__PURE__ */jsx(Anchor, {
366
+ href: homeLinkUrl,
367
+ onClick: homeLinkClickHandler,
368
+ children: embedConfig?.siteTitle ? /* @__PURE__ */jsx(SiteTitleWrap, {
369
+ children: embedConfig.siteTitle
370
+ }) : /* @__PURE__ */jsx(LogoIconWrap, {
371
+ motif,
372
+ children: /* @__PURE__ */jsx(HeaderLogoIcon, {
373
+ productLine: logo?.productLine ?? productLineValue
374
+ })
305
375
  })
306
- })
307
- }), embedConfig?.moveAvatarIconToLeft && avatarHtml, /* @__PURE__ */jsx(BreakpointsWrap, {
308
- hideBreakpoint: BREAKPOINTS.TABLET_AND_DOWN,
309
- children: currentCountryName && /* @__PURE__ */jsx(CountryButton, {
310
- "data-test-id": "country-select-btn",
311
- type: "button",
376
+ }), embedConfig?.moveAvatarIconToLeft && avatarHtml, /* @__PURE__ */jsxs(ProductLineSelectorWrap, {
377
+ ref: productLineSelectorRef,
378
+ hideBreakpoint: PRO_HEADER_MOBILE_AND_DOWN,
379
+ children: [/* @__PURE__ */jsx(ProductLineSelectorButton, {
380
+ $active: showProductLineSelectorDropdown,
381
+ onClick: () => setShowProductLineSelectorDrowdown(!showProductLineSelectorDropdown),
382
+ children: /* @__PURE__ */jsx(ProductLineSelectIcon, {
383
+ src: _externalAssets_D0npbJ7x__default,
384
+ width: HEADER_ICON_SIZE,
385
+ height: HEADER_ICON_SIZE
386
+ })
387
+ }), /* @__PURE__ */jsx(ProductLineSelectorList, {
388
+ $show: showProductLineSelectorDropdown,
389
+ children: productLineOptions.map(productLine => /* @__PURE__ */jsx(ProductLineSelectorListItem, {
390
+ $active: productLineValue === productLine.value,
391
+ onClick: () => {
392
+ setShowProductLineSelectorDrowdown(false);
393
+ handleProductLineChange?.(productLine.value);
394
+ },
395
+ children: productLine.label
396
+ }, productLine.value))
397
+ })]
398
+ }), !!logo?.currentStore && /* @__PURE__ */jsxs(CurrentStoreWrap, {
399
+ hideBreakpoint: PRO_HEADER_MOBILE_AND_DOWN,
312
400
  onClick: handleStorePickerClick,
313
- children: currentCountryName
314
- })
315
- })]
316
- }), /* @__PURE__ */jsxs(CenterWrap, {
317
- children: [/* @__PURE__ */jsx(Search, {
318
- onValueChange: handleSearchValueChange,
319
- placeholder: searchPlaceholder,
320
- isSearchFocused: !!searchValue || isSearchFocused,
321
- value: searchValue || "",
322
- showCancel: !!searchValue,
323
- onCancelClick: () => {
324
- onSearch?.("");
325
- },
326
- width: 420,
327
- onFocus: handleSearchFocus,
328
- onBlur: handleSearchBlur,
329
- hideBreakpoint: BREAKPOINTS.MOBILE_AND_DOWN,
330
- focusedWidth: searchFocusWidth
331
- }), /* @__PURE__ */jsx(BreakpointsWrap, {
332
- hideBreakpoint: BREAKPOINTS.TABLET_AND_DOWN,
333
- children: /* @__PURE__ */jsx(ProductLineSelectorWrap, {
334
- children: productLineOptions.map(option => /* @__PURE__ */jsx(ProductLineSelectorItem, {
335
- onClick: () => handleProductLineChange?.(option.value),
336
- $active: option.value === productLineValue,
337
- "data-test-id": `product-line-selector-${option.value}`,
338
- children: option.label
339
- }, option.value))
401
+ children: [/* @__PURE__ */jsx(CurrentStoreFlag, {
402
+ children: logo.currentStore.flag
403
+ }), logo.currentStore.name]
404
+ })]
405
+ })
406
+ }), /* @__PURE__ */jsx(CenterWrap, {
407
+ hideBreakpoint: !isSearching ? PRO_HEADER_MOBILE_AND_DOWN : void 0,
408
+ children: isSearching ? /* @__PURE__ */jsxs(SearchWrap, {
409
+ children: [/* @__PURE__ */jsx(Search, {
410
+ setInputRef: setSearchInputEl,
411
+ onValueChange: handleSearchValueChange,
412
+ placeholder: searchPlaceholder,
413
+ isSearchFocused: !!searchValue || isSearchFocused,
414
+ value: searchValue ?? "",
415
+ showCancel: !!searchValue,
416
+ onCancelClick: handleSearchOnClear,
417
+ width: searchInputWidth ?? 420,
418
+ onFocus: handleSearchOnFocus,
419
+ onBlur: handleSearchOnBlur,
420
+ focusedWidth: searchFocusWidth,
421
+ children: searchInputChildren
422
+ }), /* @__PURE__ */jsx(SearchCancel, {
423
+ onClick: handleSearchCancel,
424
+ children: formatMessage("Cancel")
425
+ })]
426
+ }) : /* @__PURE__ */jsx(InlineCategoryWrap, {
427
+ $hide: hideInlineCategories,
428
+ children: /* @__PURE__ */jsx(ScrollWrapper, {
429
+ direction: "horizontal",
430
+ align: "center",
431
+ scrollStepType: "scrollScreen",
432
+ fillType: "gradient",
433
+ gradientSize: WRAP_GAP * 4,
434
+ gap: CATEGORY_ITEMS_GAP,
435
+ activeIndex: categories.activeIndex,
436
+ items: categories.items.map((category, i) => ({
437
+ id: category.id,
438
+ render() {
439
+ const active = categories.activeIndex === i;
440
+ return /* @__PURE__ */jsx(MenuItem, {
441
+ "data-test-id": `inline-category${active ? "-selected" : ""}`,
442
+ as: "a",
443
+ href: category.url ?? "#",
444
+ onClick: category.onClick && category.url ? e => category.onClick?.(e, category.url) : void 0,
445
+ active,
446
+ motif,
447
+ children: /* @__PURE__ */jsx(MenuItemLabel, {
448
+ children: category.label
449
+ })
450
+ }, category.id);
451
+ }
452
+ }))
340
453
  })
341
- })]
454
+ })
342
455
  }), /* @__PURE__ */jsxs(RightWrap, {
343
456
  $addSpaceOnDesktop: !!embedConfig?.fullWidthHeader,
344
- children: [/* @__PURE__ */jsx(ProIconWrap, {
345
- hideBreakpoint: BREAKPOINTS.MOBILE_UP,
346
- motif,
347
- onClick: handleShowSearchTab,
348
- children: /* @__PURE__ */jsx(ProIconInnerFillWrap, {
349
- $active: activeModal === ModalId.Search || !!searchValue?.length,
350
- $transparent: !!embedConfig,
457
+ hideBreakpoint: isSearching ? PRO_HEADER_MOBILE_AND_DOWN : void 0,
458
+ children: [activeModal !== ModalId.ProMobileMenu && !(isSearching && !isMobile) && /* @__PURE__ */jsxs(Fragment, {
459
+ children: [/* @__PURE__ */jsx(ProIconWrap, {
460
+ "data-test-id": "search-btn",
461
+ motif,
462
+ onClick: handleOpenSearch,
463
+ children: /* @__PURE__ */jsx(ProIconInnerFillWrap, {
464
+ $active: isSearching,
465
+ $transparent: !!embedConfig || !isMobile,
466
+ children: /* @__PURE__ */jsx(SvgIcon, {
467
+ src: _externalAssets_g50k1DIN__default,
468
+ width: HEADER_ICON_SIZE,
469
+ height: HEADER_ICON_SIZE
470
+ })
471
+ })
472
+ }), cart && /* @__PURE__ */jsx(ProIconWrap, {
473
+ motif,
474
+ "data-test-id": "cart-btn",
475
+ onClick: e => cartQuantity > 0 && handleModalOpen(e, ModalId.Cart),
476
+ $isDefaultCursor: cartQuantity < 1,
477
+ children: cart?.loading ? /* @__PURE__ */jsx(SkeletonCircleLoader, {
478
+ diameter: HEADER_ICON_SIZE
479
+ }) : cartQuantity > 0 ? /* @__PURE__ */jsx(CartIcon, {
480
+ itemCount: cartQuantity,
481
+ motif,
482
+ width: HEADER_ICON_SIZE,
483
+ height: HEADER_ICON_SIZE
484
+ }) : /* @__PURE__ */jsx(Tooltip, {
485
+ description: translations.cart.empty,
486
+ motif: "light",
487
+ isInteractive: true,
488
+ position: "bottom",
489
+ style: {
490
+ height: `${HEADER_ICON_SIZE}px`
491
+ },
492
+ children: /* @__PURE__ */jsx(CartIcon, {
493
+ itemCount: cartQuantity,
494
+ motif,
495
+ width: HEADER_ICON_SIZE,
496
+ height: HEADER_ICON_SIZE
497
+ })
498
+ })
499
+ }), !embedConfig && !handlePurchaseHistoryClick && /* @__PURE__ */jsx(VerticalDivider, {
500
+ hideBreakpoint: PRO_HEADER_MOBILE_AND_DOWN
501
+ }), isMultiLanguage && !embedConfig?.hideLanguagePicker && /* @__PURE__ */jsx(ProIconWrap, {
502
+ motif,
503
+ "data-test-id": "language-picker-btn",
504
+ onClick: e => handleModalOpen(e, ModalId.Language),
351
505
  children: /* @__PURE__ */jsx(SvgIcon, {
352
- src: _externalAssets_g50k1DIN__default,
506
+ src: _externalAssets_DJH57LL8__default,
353
507
  width: HEADER_ICON_SIZE,
354
508
  height: HEADER_ICON_SIZE
355
509
  })
356
- })
357
- }), cart && /* @__PURE__ */jsx(ProIconWrap, {
358
- motif,
359
- "data-test-id": "cart-btn",
360
- onClick: e => cartQuantity > 0 && handleModalOpen(e, ModalId.Cart),
361
- $isDefaultCursor: cartQuantity < 1,
362
- children: cart?.loading ? /* @__PURE__ */jsx(SkeletonCircleLoader, {
363
- diameter: HEADER_ICON_SIZE
364
- }) : cartQuantity > 0 ? /* @__PURE__ */jsx(CartIcon, {
365
- itemCount: cartQuantity,
510
+ }), handlePurchaseHistoryClick && /* @__PURE__ */jsx(ProIconWrap, {
511
+ hideBreakpoint: PRO_HEADER_MOBILE_AND_DOWN,
366
512
  motif,
367
- width: HEADER_ICON_SIZE,
368
- height: HEADER_ICON_SIZE
369
- }) : /* @__PURE__ */jsx(Tooltip, {
370
- description: translations.cart.empty,
371
- motif: "light",
372
- isInteractive: true,
373
- position: "bottom",
374
- style: {
375
- height: `${HEADER_ICON_SIZE}px`
376
- },
377
- children: /* @__PURE__ */jsx(CartIcon, {
378
- itemCount: cartQuantity,
379
- motif,
513
+ "data-test-id": "purchase-history-btn",
514
+ onClick: handlePurchaseHistoryClick,
515
+ children: /* @__PURE__ */jsx(SvgIcon, {
516
+ src: HistoryIcon__default,
380
517
  width: HEADER_ICON_SIZE,
381
518
  height: HEADER_ICON_SIZE
382
519
  })
383
- })
384
- }), !embedConfig && !handlePurchaseHistoryClick && /* @__PURE__ */jsx(VerticalDivider, {
385
- hideBreakpoint: BREAKPOINTS.TABLET_AND_DOWN
386
- }), isMultiLanguage && !embedConfig?.hideLanguagePicker && /* @__PURE__ */jsx(ProIconWrap, {
387
- motif,
388
- "data-test-id": "language-picker-btn",
389
- onClick: e => handleModalOpen(e, ModalId.Language),
390
- children: /* @__PURE__ */jsx(SvgIcon, {
391
- src: _externalAssets_DJH57LL8__default,
392
- width: HEADER_ICON_SIZE,
393
- height: HEADER_ICON_SIZE
394
- })
395
- }), handlePurchaseHistoryClick && /* @__PURE__ */jsx(ProIconWrap, {
396
- hideBreakpoint: BREAKPOINTS.TABLET_AND_DOWN,
397
- motif,
398
- "data-test-id": "purchase-history-btn",
399
- onClick: handlePurchaseHistoryClick,
400
- children: /* @__PURE__ */jsx(SvgIcon, {
401
- src: HistoryIcon__default,
402
- width: HEADER_ICON_SIZE,
403
- height: HEADER_ICON_SIZE
404
- })
405
- }), earlyAccess && /* @__PURE__ */jsx(ProIconWrap, {
406
- hideBreakpoint: BREAKPOINTS.TABLET_AND_DOWN,
407
- motif,
408
- onClick: earlyAccess.onClick,
409
- children: earlyAccess.loading ? /* @__PURE__ */jsx(SkeletonCircleLoader, {
410
- diameter: HEADER_ICON_SIZE
411
- }) : /* @__PURE__ */jsx(SvgIcon, {
412
- src: EAIcon__default,
413
- width: HEADER_ICON_SIZE,
414
- height: HEADER_ICON_SIZE * 0.8,
415
- renderedHeight: HEADER_ICON_SIZE * 0.8
416
- })
417
- }), !embedConfig?.moveAvatarIconToLeft ? !accountMenu ? avatarHtml : accountMenu : null, /* @__PURE__ */jsx(VerticalDivider, {
418
- hideBreakpoint: BREAKPOINTS.TABLET_UP
520
+ }), earlyAccess && /* @__PURE__ */jsx(ProIconWrap, {
521
+ hideBreakpoint: PRO_HEADER_MOBILE_AND_DOWN,
522
+ motif,
523
+ onClick: earlyAccess.onClick,
524
+ children: earlyAccess.loading ? /* @__PURE__ */jsx(SkeletonCircleLoader, {
525
+ diameter: HEADER_ICON_SIZE
526
+ }) : /* @__PURE__ */jsx(SvgIcon, {
527
+ src: EAIcon__default,
528
+ width: HEADER_ICON_SIZE,
529
+ height: HEADER_ICON_SIZE * 0.8,
530
+ renderedHeight: HEADER_ICON_SIZE * 0.8
531
+ })
532
+ }), !embedConfig?.moveAvatarIconToLeft ? !accountMenu ? avatarHtml : accountMenu : null, /* @__PURE__ */jsx(VerticalDivider, {
533
+ hideBreakpoint: PRO_HEADER_MOBILE_UP
534
+ })]
419
535
  }), /* @__PURE__ */jsx(ProIconWrap, {
420
- hideBreakpoint: BREAKPOINTS.TABLET_UP,
536
+ hideBreakpoint: PRO_HEADER_MOBILE_UP,
421
537
  motif,
422
538
  onClick: handleHamburgerClick,
423
539
  children: activeModal === ModalId.ProMobileMenu ? /* @__PURE__ */jsx(SvgIcon, {
@@ -484,36 +600,19 @@ const ProHeader = memo(function ProHeader2({
484
600
  }), !isSsr && activeModal === ModalId.ProMobileMenu && /* @__PURE__ */jsx(NavigationProMobileMenu, {
485
601
  translations,
486
602
  onClose: handleModalClose,
487
- currentCountryName,
603
+ logo,
488
604
  handleStorePickerClick,
489
605
  handleOrderHistoryClick,
490
606
  handlePurchaseHistoryClick,
491
607
  handleProductLineChange,
492
608
  productLineValue,
493
609
  productLineOptions,
494
- extraSectionItems: embedConfig?.mobileMenuExtraSectionItems
610
+ categories,
611
+ hideExtraSection: !!embedConfig
495
612
  })]
496
613
  })
497
- }), /* @__PURE__ */jsx(SearchTabWrap, {
498
- $show: activeModal === ModalId.Search,
499
- $isStickyEmbed: !!embedConfig,
500
- hideBreakpoint: BREAKPOINTS.MOBILE_UP,
501
- children: /* @__PURE__ */jsx(Search, {
502
- setInputRef: setSearchInputRef,
503
- onValueChange: handleSearchValueChange,
504
- placeholder: searchPlaceholder,
505
- isSearchFocused: !!searchValue || isSearchFocused,
506
- value: searchValue || "",
507
- showCancel: !!searchValue,
508
- onCancelClick: () => {
509
- onSearch?.("");
510
- },
511
- onFocus: handleSearchFocus,
512
- onBlur: handleSearchBlur,
513
- focusedWidth: searchFocusWidth
514
- })
515
- })]
614
+ })
516
615
  });
517
616
  });
518
- export { ProHeader };
617
+ export { PRO_HEADER_MOBILE_AND_DOWN, PRO_HEADER_MOBILE_UP, ProHeader };
519
618
  //# sourceMappingURL=ProHeader.mjs.map