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

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