@ubnt/store.core 9.58.0-beta.1 → 9.58.0-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 (690) hide show
  1. package/CHANGELOG.md +114 -557
  2. package/lib/_virtual/_virtual_multi-entry.js +15 -25
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +13 -13
  5. package/lib/apis/smartcat.d.ts +12 -2
  6. package/lib/apis/smartcat.js +27 -4
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +27 -4
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/attention.svg +5 -5
  11. package/lib/assets/attention2.svg +5 -5
  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/crestron.svg.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/plus2.svg +4 -1
  24. package/lib/assets/plus3.svg +1 -4
  25. package/lib/assets/udmPro.jpg +0 -0
  26. package/lib/assets/udmPro2.jpg +0 -0
  27. package/lib/assets/udmProMax.jpg +0 -0
  28. package/lib/assets/udmProMax2.jpg +0 -0
  29. package/lib/assets/udmProSpecial.jpg +0 -0
  30. package/lib/assets/udmProSpecial2.jpg +0 -0
  31. package/lib/components/Accordion/Accordion.js +4 -4
  32. package/lib/components/Avatar/Avatar.js +2 -2
  33. package/lib/components/Button/Button.js +12 -5
  34. package/lib/components/Button/Button.js.map +1 -1
  35. package/lib/components/Button/Button.mjs +8 -1
  36. package/lib/components/Button/Button.mjs.map +1 -1
  37. package/lib/components/Button/CartButton.d.ts +3 -1
  38. package/lib/components/Button/CartButton.js +11 -6
  39. package/lib/components/Button/CartButton.js.map +1 -1
  40. package/lib/components/Button/CartButton.mjs +8 -4
  41. package/lib/components/Button/CartButton.mjs.map +1 -1
  42. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  43. package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
  44. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  45. package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
  46. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  47. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
  48. package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
  49. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  50. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
  51. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  52. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
  53. package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
  54. package/lib/components/CardSection/Card/Card.js +6 -6
  55. package/lib/components/CardSection/CardSection.js +2 -2
  56. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  57. package/lib/components/CartIcon/CartIcon.js +2 -2
  58. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
  59. package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
  60. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  61. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
  62. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  63. package/lib/components/Checkbox/Checkbox.js +4 -4
  64. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  65. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  66. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  67. package/lib/components/Container/Container.d.ts +1 -1
  68. package/lib/components/Container/Container.js +5 -4
  69. package/lib/components/Container/Container.js.map +1 -1
  70. package/lib/components/Container/Container.mjs +5 -4
  71. package/lib/components/Container/Container.mjs.map +1 -1
  72. package/lib/components/Container/index.stories.d.ts +5 -5
  73. package/lib/components/CustomImage/CustomImage.js +12 -12
  74. package/lib/components/Explore/Explore.js +5 -5
  75. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
  76. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
  77. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  78. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
  79. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
  80. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
  81. package/lib/components/Footer/Footer.js +2 -2
  82. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  83. package/lib/components/Gallery/Gallery.context.js +17 -17
  84. package/lib/components/Gallery/Gallery.js +9 -9
  85. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  86. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  87. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  88. package/lib/components/GridGallery/GridGallery.js +8 -8
  89. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  90. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  91. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  92. package/lib/components/Header/AccountMenu/AccountMenu.js +30 -20
  93. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  94. package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
  95. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  96. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  97. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  98. package/lib/components/Header/CartModalV2/Item/Item.js +7 -7
  99. package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
  100. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  101. package/lib/components/Header/Header.js +40 -40
  102. package/lib/components/Header/Header.js.map +1 -1
  103. package/lib/components/Header/Header.mjs +6 -6
  104. package/lib/components/Header/Header.mjs.map +1 -1
  105. package/lib/components/Header/Header.stories.d.ts +111 -0
  106. package/lib/components/Header/Header.styles.d.ts +7 -12
  107. package/lib/components/Header/Header.styles.js +10 -32
  108. package/lib/components/Header/Header.styles.js.map +1 -1
  109. package/lib/components/Header/Header.styles.mjs +10 -31
  110. package/lib/components/Header/Header.styles.mjs.map +1 -1
  111. package/lib/components/Header/Header.types.d.ts +29 -5
  112. package/lib/components/Header/Header.types.js +2 -1
  113. package/lib/components/Header/Header.types.js.map +1 -1
  114. package/lib/components/Header/Header.types.mjs +2 -1
  115. package/lib/components/Header/Header.types.mjs.map +1 -1
  116. package/lib/components/Header/IsolatedHeader.d.ts +1 -0
  117. package/lib/components/Header/IsolatedHeader.js +50 -50
  118. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  119. package/lib/components/Header/IsolatedHeader.mjs +47 -46
  120. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  121. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  122. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
  123. package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
  124. package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
  125. package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
  126. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
  127. package/lib/components/Header/LogoIcon/index.d.ts +1 -0
  128. package/lib/components/Header/LogoIcon/index.js +6 -0
  129. package/lib/components/Header/LogoIcon/index.js.map +1 -0
  130. package/lib/components/Header/LogoIcon/index.mjs +3 -0
  131. package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
  132. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  133. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  134. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  135. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  136. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  137. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
  138. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  139. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  140. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  141. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  142. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  143. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  144. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +116 -109
  145. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  146. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
  147. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  148. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
  149. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
  150. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  151. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
  152. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  153. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
  154. package/lib/components/Header/Overlay/Overlay.js +3 -3
  155. package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
  156. package/lib/components/Header/ProHeader/ProHeader.js +270 -189
  157. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  158. package/lib/components/Header/ProHeader/ProHeader.mjs +251 -171
  159. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  160. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +30 -25
  161. package/lib/components/Header/ProHeader/ProHeader.styles.js +119 -66
  162. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  163. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +112 -65
  164. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  165. package/lib/components/Header/translations/ar.json.js +4 -1
  166. package/lib/components/Header/translations/ar.json.js.map +1 -1
  167. package/lib/components/Header/translations/ar.json.mjs +4 -2
  168. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  169. package/lib/components/Header/translations/de.json.js +4 -1
  170. package/lib/components/Header/translations/de.json.js.map +1 -1
  171. package/lib/components/Header/translations/de.json.mjs +4 -2
  172. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  173. package/lib/components/Header/translations/el.json.js +4 -1
  174. package/lib/components/Header/translations/el.json.js.map +1 -1
  175. package/lib/components/Header/translations/el.json.mjs +4 -2
  176. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  177. package/lib/components/Header/translations/en.json.js +7 -1
  178. package/lib/components/Header/translations/en.json.js.map +1 -1
  179. package/lib/components/Header/translations/en.json.mjs +6 -2
  180. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  181. package/lib/components/Header/translations/es.json.js +4 -1
  182. package/lib/components/Header/translations/es.json.js.map +1 -1
  183. package/lib/components/Header/translations/es.json.mjs +4 -2
  184. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  185. package/lib/components/Header/translations/fr.json.js +4 -1
  186. package/lib/components/Header/translations/fr.json.js.map +1 -1
  187. package/lib/components/Header/translations/fr.json.mjs +4 -2
  188. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  189. package/lib/components/Header/translations/it.json.js +4 -1
  190. package/lib/components/Header/translations/it.json.js.map +1 -1
  191. package/lib/components/Header/translations/it.json.mjs +4 -2
  192. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  193. package/lib/components/Header/translations/ja.json.js +4 -1
  194. package/lib/components/Header/translations/ja.json.js.map +1 -1
  195. package/lib/components/Header/translations/ja.json.mjs +4 -2
  196. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  197. package/lib/components/Header/translations/pt-BR.json.js +4 -1
  198. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  199. package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
  200. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  201. package/lib/components/Header/translations/zh-Hans.json.js +4 -1
  202. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  203. package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
  204. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  205. package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
  206. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  207. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
  208. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  209. package/lib/components/Hero/Hero.js +5 -5
  210. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  211. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  212. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  213. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  214. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  215. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  216. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  217. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  218. package/lib/components/LandingPage/LandingPage.js +2 -2
  219. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  220. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  221. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  222. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  223. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  224. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  225. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  226. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  227. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  228. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  229. package/lib/components/LoaderDots/LoaderDots.js +3 -1
  230. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  231. package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
  232. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  233. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
  234. package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
  235. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  236. package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
  237. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  238. package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
  239. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  240. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  241. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  242. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  243. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  244. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  245. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  246. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  247. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  248. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  249. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  250. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  251. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  252. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  253. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  254. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  255. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  256. package/lib/components/MobileModal/MobileModal.js +4 -4
  257. package/lib/components/Modal/Modal.js +3 -3
  258. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  259. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  260. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  261. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
  262. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  263. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  264. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  265. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  266. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  267. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  268. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  269. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  270. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  271. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  272. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  273. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  274. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  275. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  276. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  277. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  278. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  279. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  280. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  281. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  282. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  283. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  284. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  285. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  286. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  287. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  288. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  289. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  290. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  291. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  292. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  293. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  294. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  295. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  296. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  297. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  298. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  299. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  300. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  301. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  302. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  303. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
  304. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  305. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
  306. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  307. package/lib/components/ModelCompareV3/data/products/e7Campus.js +0 -2
  308. package/lib/components/ModelCompareV3/data/products/e7Campus.js.map +1 -1
  309. package/lib/components/ModelCompareV3/data/products/e7Campus.mjs +0 -2
  310. package/lib/components/ModelCompareV3/data/products/e7Campus.mjs.map +1 -1
  311. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  312. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  313. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  314. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  315. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  316. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  317. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  318. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  319. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  320. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  321. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  322. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  323. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  324. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  325. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  326. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  327. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  328. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  329. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  330. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  331. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
  332. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  333. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
  334. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  335. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
  336. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  337. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
  338. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  339. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  340. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  341. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  342. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  343. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  344. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  345. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  346. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  347. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  348. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  349. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  350. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  351. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  352. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  353. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  354. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  355. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  356. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  357. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  358. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  359. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  360. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  361. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  362. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  363. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  364. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  365. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  366. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  367. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  368. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  369. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  370. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  371. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
  372. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  373. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
  374. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  375. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  376. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  377. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  378. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  379. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  380. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  381. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  382. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  383. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  384. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  385. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  386. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  387. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  388. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  389. package/lib/components/ModelCompareV3/data/products/waveMLO6.js +9 -2
  390. package/lib/components/ModelCompareV3/data/products/waveMLO6.js.map +1 -1
  391. package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs +9 -2
  392. package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs.map +1 -1
  393. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
  394. package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
  395. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  396. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
  397. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  398. package/lib/components/ModelCompareV3/translations/ar.json.js +10 -11
  399. package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
  400. package/lib/components/ModelCompareV3/translations/ar.json.mjs +10 -11
  401. package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
  402. package/lib/components/ModelCompareV3/translations/de.json.js +2 -3
  403. package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
  404. package/lib/components/ModelCompareV3/translations/de.json.mjs +2 -3
  405. package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
  406. package/lib/components/ModelCompareV3/translations/el.json.js +1 -2
  407. package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
  408. package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -2
  409. package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
  410. package/lib/components/ModelCompareV3/translations/en.json.js +1 -4
  411. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  412. package/lib/components/ModelCompareV3/translations/en.json.mjs +1 -4
  413. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  414. package/lib/components/ModelCompareV3/translations/es.json.js +2 -3
  415. package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
  416. package/lib/components/ModelCompareV3/translations/es.json.mjs +2 -3
  417. package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
  418. package/lib/components/ModelCompareV3/translations/fr.json.js +1 -2
  419. package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
  420. package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -2
  421. package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
  422. package/lib/components/ModelCompareV3/translations/it.json.js +1 -2
  423. package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
  424. package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -2
  425. package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
  426. package/lib/components/ModelCompareV3/translations/ja.json.js +7 -8
  427. package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
  428. package/lib/components/ModelCompareV3/translations/ja.json.mjs +7 -8
  429. package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
  430. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -2
  431. package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
  432. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -2
  433. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
  434. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  435. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +5 -6
  436. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
  437. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +5 -6
  438. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
  439. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +8 -9
  440. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
  441. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +8 -9
  442. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
  443. package/lib/components/Pagination/Pagination.js +3 -3
  444. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  445. package/lib/components/ProductCard/ProductCard.js +7 -7
  446. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  447. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  448. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  449. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  450. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  451. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  452. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  453. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  454. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  455. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  456. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +81 -0
  457. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  458. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +73 -0
  459. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  460. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  461. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  462. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
  463. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  464. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
  465. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  466. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  467. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  468. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  469. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  470. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  471. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  472. package/lib/components/ProductWizard/Options/Options.js +3 -3
  473. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  474. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  475. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  476. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  477. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  478. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  479. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  480. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  481. package/lib/components/QuantityInput/QuantityInput.js +6 -1
  482. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  483. package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
  484. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  485. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  486. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  487. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  488. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
  489. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  490. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  491. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  492. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  493. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  494. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  495. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
  496. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  497. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  498. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  499. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  500. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  501. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  502. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  503. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  504. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  505. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  506. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  507. package/lib/components/ScrollWrapper/ScrollWrapper.js +33 -25
  508. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  509. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
  510. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  511. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
  512. package/lib/components/Search/Input/Input.d.ts +1 -1
  513. package/lib/components/Search/Input/Input.js +8 -8
  514. package/lib/components/Search/Input/Input.js.map +1 -1
  515. package/lib/components/Search/Input/Input.mjs +4 -4
  516. package/lib/components/Search/Input/Input.mjs.map +1 -1
  517. package/lib/components/Search/Input/Input.styles.js +0 -1
  518. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  519. package/lib/components/Search/Input/Input.styles.mjs +0 -1
  520. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  521. package/lib/components/Search/Input/Input.types.d.ts +3 -2
  522. package/lib/components/Search/Modal/Modal.js +3 -3
  523. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  524. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  525. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  526. package/lib/components/Tooltip/Tooltip.js +5 -5
  527. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  528. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  529. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  530. package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
  531. package/lib/components/index.d.ts +1 -0
  532. package/lib/components/index.js +2 -0
  533. package/lib/components/index.js.map +1 -1
  534. package/lib/components/index.mjs +2 -0
  535. package/lib/components/index.mjs.map +1 -1
  536. package/lib/constants/icons/generic/index.js +3 -3
  537. package/lib/constants/icons/generic/index.mjs +1 -1
  538. package/lib/constants/icons/generic/plus.svg.js +5 -5
  539. package/lib/constants/icons/generic/plus.svg.mjs +2 -2
  540. package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
  541. package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
  542. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  543. package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
  544. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  545. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -0
  546. package/lib/constants/proStoreCategories/mapping/index.js +25 -10
  547. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  548. package/lib/constants/proStoreCategories/mapping/index.mjs +25 -10
  549. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  550. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
  551. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -0
  552. package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
  553. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  554. package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
  555. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  556. package/lib/constants/proStoreCategories/translations/ar.json.js +5 -4
  557. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  558. package/lib/constants/proStoreCategories/translations/ar.json.mjs +5 -4
  559. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  560. package/lib/constants/proStoreCategories/translations/de.json.js +5 -4
  561. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  562. package/lib/constants/proStoreCategories/translations/de.json.mjs +5 -4
  563. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  564. package/lib/constants/proStoreCategories/translations/el.json.js +6 -5
  565. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  566. package/lib/constants/proStoreCategories/translations/el.json.mjs +6 -5
  567. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  568. package/lib/constants/proStoreCategories/translations/en.json.js +5 -1
  569. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  570. package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -2
  571. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  572. package/lib/constants/proStoreCategories/translations/es.json.js +5 -4
  573. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  574. package/lib/constants/proStoreCategories/translations/es.json.mjs +5 -4
  575. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  576. package/lib/constants/proStoreCategories/translations/fr.json.js +5 -1
  577. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  578. package/lib/constants/proStoreCategories/translations/fr.json.mjs +5 -2
  579. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  580. package/lib/constants/proStoreCategories/translations/it.json.js +5 -4
  581. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  582. package/lib/constants/proStoreCategories/translations/it.json.mjs +5 -4
  583. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  584. package/lib/constants/proStoreCategories/translations/ja.json.js +5 -4
  585. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  586. package/lib/constants/proStoreCategories/translations/ja.json.mjs +5 -4
  587. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  588. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +5 -4
  589. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  590. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +5 -4
  591. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  592. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +5 -1
  593. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  594. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +5 -2
  595. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  596. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +5 -1
  597. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  598. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +5 -2
  599. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  600. package/lib/constants/proStoreFilters/mapping.d.ts +43 -7
  601. package/lib/constants/proStoreFilters/mapping.js +129 -15
  602. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  603. package/lib/constants/proStoreFilters/mapping.mjs +129 -15
  604. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  605. package/lib/constants/theme.js +4 -0
  606. package/lib/constants/theme.js.map +1 -1
  607. package/lib/constants/theme.mjs +4 -0
  608. package/lib/constants/theme.mjs.map +1 -1
  609. package/lib/contexts/MenuContext/context.js +34 -34
  610. package/lib/contexts/MenuContext/context.js.map +1 -1
  611. package/lib/contexts/MenuContext/context.mjs +1 -1
  612. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  613. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  614. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  615. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  616. package/lib/contexts/MenuContext/presets.js +2 -4
  617. package/lib/contexts/MenuContext/presets.js.map +1 -1
  618. package/lib/contexts/MenuContext/presets.mjs +2 -4
  619. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  620. package/lib/helpers/index.d.ts +0 -1
  621. package/lib/helpers/index.js +1 -11
  622. package/lib/helpers/index.js.map +1 -1
  623. package/lib/helpers/index.mjs +1 -2
  624. package/lib/helpers/index.mjs.map +1 -1
  625. package/lib/helpers/proStoreCategories.js +2 -2
  626. package/lib/helpers/ux.d.ts +8 -0
  627. package/lib/helpers/ux.js +15 -0
  628. package/lib/helpers/ux.js.map +1 -1
  629. package/lib/helpers/ux.mjs +15 -1
  630. package/lib/helpers/ux.mjs.map +1 -1
  631. package/lib/hooks/useHasTouch.js +3 -3
  632. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  633. package/lib/hooks/useHorizontalScroll.js +2 -2
  634. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  635. package/lib/hooks/useScrollToY.js +2 -2
  636. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  637. package/lib/hooks/useTranslation.js +6 -6
  638. package/lib/types/generated.d.ts +1 -1
  639. package/lib/types/generated.js.map +1 -1
  640. package/lib/types/generated.mjs.map +1 -1
  641. package/lib/types/index.d.ts +0 -1
  642. package/lib/types/index.js +0 -2
  643. package/lib/types/index.js.map +1 -1
  644. package/lib/types/index.mjs +0 -1
  645. package/lib/types/index.mjs.map +1 -1
  646. package/lib/utils/address.d.ts +62 -278
  647. package/lib/utils/address.js +8 -11
  648. package/lib/utils/address.js.map +1 -1
  649. package/lib/utils/address.mjs +8 -11
  650. package/lib/utils/address.mjs.map +1 -1
  651. package/lib/utils/array.d.ts +0 -4
  652. package/lib/utils/array.js +0 -10
  653. package/lib/utils/array.js.map +1 -1
  654. package/lib/utils/array.mjs +1 -10
  655. package/lib/utils/array.mjs.map +1 -1
  656. package/lib/utils/nextjs/ssr/registry.js +2 -2
  657. package/package.json +42 -42
  658. package/lib/assets/crestron.svg +0 -3
  659. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  660. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  661. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  662. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  663. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  664. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  665. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  666. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  667. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  668. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  669. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  670. package/lib/helpers/product.d.ts +0 -87
  671. package/lib/helpers/product.js +0 -346
  672. package/lib/helpers/product.js.map +0 -1
  673. package/lib/helpers/product.mjs +0 -335
  674. package/lib/helpers/product.mjs.map +0 -1
  675. package/lib/helpers/product.test.d.ts +0 -1
  676. package/lib/types/product.d.ts +0 -87
  677. package/lib/types/product.js +0 -14
  678. package/lib/types/product.js.map +0 -1
  679. package/lib/types/product.mjs +0 -13
  680. package/lib/types/product.mjs.map +0 -1
  681. package/lib/utils/productSort.d.ts +0 -41
  682. package/lib/utils/productSort.js +0 -67
  683. package/lib/utils/productSort.js.map +0 -1
  684. package/lib/utils/productSort.mjs +0 -60
  685. package/lib/utils/productSort.mjs.map +0 -1
  686. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  687. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  688. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  689. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  690. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var asset = require('../../../../../utils/asset.js');
6
6
  require('./assets/attention.svg.js');
7
7
  var Part = require('./Part.js');
8
8
  var ProgressBarChart_styles = require('./ProgressBarChart.styles.js');
9
- var attentionIcon = require("../../../../../assets/attention2.svg");
9
+ var attentionIcon = require("../../../../../assets/attention.svg");
10
10
  function _interopDefault(e) {
11
11
  return e && e.__esModule ? e : {
12
12
  default: e
@@ -21,9 +21,9 @@ const ProgressBarChart = ({
21
21
  warnLabel,
22
22
  warnThresholdPercentDecimal
23
23
  }) => {
24
- const progressBarRef = react.useRef(null);
25
- const [progressBarContainerWidth, setProgressBarContainerWidth] = react.useState(0);
26
- react.useEffect(() => {
24
+ const progressBarRef = React.useRef(null);
25
+ const [progressBarContainerWidth, setProgressBarContainerWidth] = React.useState(0);
26
+ React.useEffect(() => {
27
27
  if (!progressBarRef.current) {
28
28
  return;
29
29
  }
@@ -35,7 +35,7 @@ const ProgressBarChart = ({
35
35
  resizeObserver.observe(progressBarRef.current);
36
36
  return () => resizeObserver.disconnect();
37
37
  }, [setProgressBarContainerWidth, progressBarRef]);
38
- const parts = react.useMemo(() => {
38
+ const parts = React.useMemo(() => {
39
39
  const partsCount = Math.floor((progressBarContainerWidth + Part.PART_GAP_PX) / (Part.PART_WIDTH_PX + Part.PART_GAP_PX));
40
40
  const parts2 = [];
41
41
  for (let i = 0; i < partsCount; i++) {
@@ -43,10 +43,10 @@ const ProgressBarChart = ({
43
43
  }
44
44
  return parts2;
45
45
  }, [progressBarContainerWidth]);
46
- const isWarnLimitExceeded = react.useMemo(() => {
46
+ const isWarnLimitExceeded = React.useMemo(() => {
47
47
  return warnThresholdPercentDecimal !== void 0 && warnThresholdPercentDecimal <= progressBarPercentDecimal;
48
48
  }, [warnThresholdPercentDecimal, progressBarPercentDecimal]);
49
- const mappedParts = react.useMemo(() => {
49
+ const mappedParts = React.useMemo(() => {
50
50
  const lastActivePartIndex = Math.round(parts.length * progressBarPercentDecimal);
51
51
  if (warnThresholdPercentDecimal && isWarnLimitExceeded) {
52
52
  const thresholdPartIndex = Math.round(parts.length * warnThresholdPercentDecimal);
@@ -4,7 +4,7 @@ import { imageSrc } from '../../../../../utils/asset.mjs';
4
4
  import './assets/attention.svg.mjs';
5
5
  import { PART_GAP_PX, PART_WIDTH_PX, Part } from './Part.mjs';
6
6
  import { ProgressBarChartContainer, ProgressBarChartHeader, ProgressBarChartTitle, ProgressBarWrapper, ProgressBarPartsContainer, ProgressBarAttentionLabel, ProgressBarAttentionLabelIcon } from './ProgressBarChart.styles.mjs';
7
- import attentionIcon__default from "../../../../../assets/attention2.svg";
7
+ import attentionIcon__default from "../../../../../assets/attention.svg";
8
8
  "use strict";
9
9
  const ProgressBarChart = ({
10
10
  title,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var attentionIcon = require("../../../../../../assets/attention2.svg");
6
+ var attentionIcon = require("../../../../../../assets/attention.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../../../../assets/attention2.svg";
2
- export { default } from "../../../../../../assets/attention2.svg";
1
+ export * from "../../../../../../assets/attention.svg";
2
+ export { default } from "../../../../../../assets/attention.svg";
3
3
  //# sourceMappingURL=attention.svg.mjs.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
5
5
  "use strict";
6
6
  const useComputeResourceCalculator = ({
7
7
  deviceResourceData,
8
8
  inputs
9
9
  }) => {
10
- const networkResources = react.useMemo(() => {
10
+ const networkResources = React.useMemo(() => {
11
11
  const networkDeviceResources = deviceResourceData.Network;
12
12
  const networkInputs = inputs[ComputeResourceCalculator_types.FeatureId.Network];
13
13
  if (!networkInputs.enabled || !networkDeviceResources) {
@@ -46,7 +46,7 @@ const useComputeResourceCalculator = ({
46
46
  }
47
47
  return sum;
48
48
  }, [deviceResourceData, inputs]);
49
- const protectResources = react.useMemo(() => {
49
+ const protectResources = React.useMemo(() => {
50
50
  const protectDeviceResources = deviceResourceData.Protect;
51
51
  const protectInputs = inputs[ComputeResourceCalculator_types.FeatureId.Protect];
52
52
  const CAMERA_WEIGHT_FACTOR = 1.5;
@@ -76,7 +76,7 @@ const useComputeResourceCalculator = ({
76
76
  }
77
77
  return sum;
78
78
  }, [deviceResourceData, inputs]);
79
- const talkResources = react.useMemo(() => {
79
+ const talkResources = React.useMemo(() => {
80
80
  const talkDeviceResources = deviceResourceData.Talk;
81
81
  const talkInputs = inputs[ComputeResourceCalculator_types.FeatureId.Talk];
82
82
  if (!talkInputs.enabled || !talkDeviceResources) {
@@ -100,7 +100,7 @@ const useComputeResourceCalculator = ({
100
100
  }
101
101
  return sum;
102
102
  }, [deviceResourceData, inputs]);
103
- const accessResources = react.useMemo(() => {
103
+ const accessResources = React.useMemo(() => {
104
104
  const accessDeviceResources = deviceResourceData.Access;
105
105
  const accessInputs = inputs[ComputeResourceCalculator_types.FeatureId.Access];
106
106
  if (!accessInputs.enabled || !accessDeviceResources) {
@@ -119,7 +119,7 @@ const useComputeResourceCalculator = ({
119
119
  }
120
120
  return sum;
121
121
  }, [deviceResourceData, inputs]);
122
- const computedResourcesLoadRatio = react.useMemo(() => {
122
+ const computedResourcesLoadRatio = React.useMemo(() => {
123
123
  return networkResources + talkResources + accessResources + protectResources;
124
124
  }, [networkResources, talkResources, accessResources, protectResources]);
125
125
  return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../../contexts/MenuContext/index.js');
6
6
  var mapping = require('../../../contexts/MenuContext/mapping.js');
7
7
  var asset = require('../../../utils/asset.js');
@@ -27,17 +27,17 @@ const PoeCalculator = () => {
27
27
  const {
28
28
  formatMessage
29
29
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
30
- const [poeConsumerPorts, setPoeConsumerPorts] = react.useState(getEmptyPorts(PoeCalculator_constants.PORT_GROUP_SIZE));
31
- const handleAddPortGroup = react.useCallback(poePortGroupSize => {
30
+ const [poeConsumerPorts, setPoeConsumerPorts] = React.useState(getEmptyPorts(PoeCalculator_constants.PORT_GROUP_SIZE));
31
+ const handleAddPortGroup = React.useCallback(poePortGroupSize => {
32
32
  setPoeConsumerPorts([...poeConsumerPorts, ...getEmptyPorts(poePortGroupSize)]);
33
33
  }, [poeConsumerPorts, setPoeConsumerPorts]);
34
- const handleDeletePorts = react.useCallback((deleteIndexStart, deleteCount) => {
34
+ const handleDeletePorts = React.useCallback((deleteIndexStart, deleteCount) => {
35
35
  const updatedPoeConsumerPorts = poeConsumerPorts.filter((_, i) => {
36
36
  return i < deleteIndexStart || i >= deleteIndexStart + deleteCount;
37
37
  });
38
38
  setPoeConsumerPorts(updatedPoeConsumerPorts);
39
39
  }, [poeConsumerPorts, setPoeConsumerPorts]);
40
- const handleUpdatePorts = react.useCallback((portIndexes, poeConsumerId, missingPortCount) => {
40
+ const handleUpdatePorts = React.useCallback((portIndexes, poeConsumerId, missingPortCount) => {
41
41
  const poeConsumerDevice = PoeCalculator_constants.POE_CONSUMERS.find(item => item.id === poeConsumerId);
42
42
  const portData = poeConsumerDevice ? {
43
43
  wattage: poeConsumerDevice.wattage,
@@ -66,10 +66,10 @@ const PoeCalculator = () => {
66
66
  });
67
67
  setPoeConsumerPorts([...updatedPoeConsumerPorts, ...portsToBeAdded]);
68
68
  }, [poeConsumerPorts, setPoeConsumerPorts]);
69
- const totalPoeConsumersWattage = react.useMemo(() => {
69
+ const totalPoeConsumersWattage = React.useMemo(() => {
70
70
  return poeConsumerPorts.reduce((accumulator, port) => accumulator + port.wattage, 0);
71
71
  }, [poeConsumerPorts]);
72
- const poeProviderHasEnoughPorts = react.useCallback(poeProvider => {
72
+ const poeProviderHasEnoughPorts = React.useCallback(poeProvider => {
73
73
  const poeProviderPorts = {
74
74
  ...poeProvider.poePorts
75
75
  };
@@ -94,7 +94,7 @@ const PoeCalculator = () => {
94
94
  }
95
95
  return Math.min(...Object.values(poeProviderPorts)) >= 0;
96
96
  }, [poeConsumerPorts]);
97
- const recommendedPoeProviders = react.useMemo(() => {
97
+ const recommendedPoeProviders = React.useMemo(() => {
98
98
  if (totalPoeConsumersWattage === 0) {
99
99
  return [];
100
100
  }
@@ -103,7 +103,7 @@ const PoeCalculator = () => {
103
103
  return poeProviderHasEnoughPorts(poeProvider) && hasEnoughPoeBudget;
104
104
  });
105
105
  }, [totalPoeConsumersWattage, poeProviderHasEnoughPorts]);
106
- const getPoeProviderTotalPortCount = react.useCallback(poePorts => {
106
+ const getPoeProviderTotalPortCount = React.useCallback(poePorts => {
107
107
  return Object.values(poePorts).reduce((acc, curr) => acc + curr, 0);
108
108
  }, []);
109
109
  const {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../../../CustomImage/index.js');
6
6
  var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
7
7
  require('./assets/delete.svg.js');
@@ -31,7 +31,7 @@ const PoeConsumerConfigurator = ({
31
31
  const {
32
32
  formatMessage
33
33
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
34
- const emptyPortIndexes = react.useMemo(() => {
34
+ const emptyPortIndexes = React.useMemo(() => {
35
35
  const indexes = [];
36
36
  for (const [i, port] of poeConsumerPorts.entries()) {
37
37
  if (port.wattage === 0) {
@@ -40,7 +40,7 @@ const PoeConsumerConfigurator = ({
40
40
  }
41
41
  return indexes;
42
42
  }, [poeConsumerPorts]);
43
- const groupedPoeConsumerPorts = react.useMemo(() => {
43
+ const groupedPoeConsumerPorts = React.useMemo(() => {
44
44
  const result = [];
45
45
  for (let i = 0; i < poeConsumerPorts.length; i += portGroupSize) {
46
46
  const chunk = poeConsumerPorts.slice(i, i + portGroupSize);
@@ -48,14 +48,14 @@ const PoeConsumerConfigurator = ({
48
48
  }
49
49
  return result;
50
50
  }, [poeConsumerPorts, portGroupSize]);
51
- const [focusedPortIndex, setFocusedPortIndex] = react.useState(null);
52
- const handleConfiguePort = react.useCallback(portIndex => {
51
+ const [focusedPortIndex, setFocusedPortIndex] = React.useState(null);
52
+ const handleConfiguePort = React.useCallback(portIndex => {
53
53
  setFocusedPortIndex(portIndex);
54
54
  }, [setFocusedPortIndex]);
55
- const handleCloseModal = react.useCallback(() => {
55
+ const handleCloseModal = React.useCallback(() => {
56
56
  setFocusedPortIndex(null);
57
57
  }, [setFocusedPortIndex]);
58
- const handleSelectConsumerDevice = react.useCallback((poeConsumerId, count) => {
58
+ const handleSelectConsumerDevice = React.useCallback((poeConsumerId, count) => {
59
59
  if (focusedPortIndex !== null) {
60
60
  const emptyPortIndexesWithoutFocusedPort = emptyPortIndexes.filter(portIndex => portIndex !== focusedPortIndex);
61
61
  const countOfAdditionalPorts = count - 1;
@@ -65,11 +65,11 @@ const PoeConsumerConfigurator = ({
65
65
  handleCloseModal();
66
66
  }
67
67
  }, [focusedPortIndex, handleCloseModal, onUpdatePorts, emptyPortIndexes]);
68
- const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = react.useState(null);
69
- const handlePortGroupHighlight = react.useCallback(groupIndex => {
68
+ const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = React.useState(null);
69
+ const handlePortGroupHighlight = React.useCallback(groupIndex => {
70
70
  setHighlightedPortGroupIndex(groupIndex);
71
71
  }, [setHighlightedPortGroupIndex]);
72
- const handleDeletePortGroup = react.useCallback(poePortGroupIndex => {
72
+ const handleDeletePortGroup = React.useCallback(poePortGroupIndex => {
73
73
  const deleteIndexStart = poePortGroupIndex * portGroupSize;
74
74
  onDeletePorts(deleteIndexStart, portGroupSize);
75
75
  }, [portGroupSize, onDeletePorts]);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var asset = require('../../../../../../utils/asset.js');
6
6
  require('../../../../../CustomImage/index.js');
7
7
  require('../../../../../StyleableSvgImage/index.js');
@@ -42,20 +42,20 @@ const PoeConsumerSelectModal = ({
42
42
  const {
43
43
  formatMessage
44
44
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
45
- const stopPropagation = react.useCallback(event => {
45
+ const stopPropagation = React.useCallback(event => {
46
46
  event.stopPropagation();
47
47
  }, []);
48
- const inputRef = react.useRef(null);
49
- const [searchQuery, setSearchQuery] = react.useState("");
50
- const handleSearchQueryChange = react.useCallback(e => {
48
+ const inputRef = React.useRef(null);
49
+ const [searchQuery, setSearchQuery] = React.useState("");
50
+ const handleSearchQueryChange = React.useCallback(e => {
51
51
  setSearchQuery(e.target.value);
52
52
  }, [setSearchQuery]);
53
- const handleFocusSearchInput = react.useCallback(() => {
53
+ const handleFocusSearchInput = React.useCallback(() => {
54
54
  if (inputRef.current) {
55
55
  inputRef.current.focus();
56
56
  }
57
57
  }, []);
58
- const filterSearchItems = react.useCallback(items2 => {
58
+ const filterSearchItems = React.useCallback(items2 => {
59
59
  if (searchQuery.trim().length === 0) {
60
60
  return items2;
61
61
  }
@@ -63,16 +63,16 @@ const PoeConsumerSelectModal = ({
63
63
  return item.title.toLowerCase().includes(searchQuery.toLowerCase());
64
64
  });
65
65
  }, [searchQuery]);
66
- const itemCategories = react.useMemo(() => {
66
+ const itemCategories = React.useMemo(() => {
67
67
  const allCategories = items.map(item => item.category);
68
68
  return [...new Set(allCategories)];
69
69
  }, [items]);
70
- const [currentItemCategory, setCurrentItemCategory] = react.useState(itemCategories[0] || null);
71
- const handleSelectCategory = react.useCallback(id => {
70
+ const [currentItemCategory, setCurrentItemCategory] = React.useState(itemCategories[0] || null);
71
+ const handleSelectCategory = React.useCallback(id => {
72
72
  setCurrentItemCategory(id);
73
73
  setSearchQuery("");
74
74
  }, [setCurrentItemCategory, setSearchQuery]);
75
- const displayedPoeConsumerItems = react.useMemo(() => {
75
+ const displayedPoeConsumerItems = React.useMemo(() => {
76
76
  let itemsTmp = [...items];
77
77
  itemsTmp = itemsTmp.filter(item => item.category === currentItemCategory);
78
78
  itemsTmp = filterSearchItems(itemsTmp);
@@ -85,18 +85,18 @@ const PoeConsumerSelectModal = ({
85
85
  }, ...itemsTmp];
86
86
  return itemsTmp;
87
87
  }, [items, currentItemCategory, filterSearchItems]);
88
- const [count, setCount] = react.useState(1);
89
- react.useEffect(() => {
88
+ const [count, setCount] = React.useState(1);
89
+ React.useEffect(() => {
90
90
  if (isOpen) {
91
91
  setCount(1);
92
92
  }
93
93
  }, [setCount, isOpen]);
94
- const handleIncrementCount = react.useCallback(() => {
94
+ const handleIncrementCount = React.useCallback(() => {
95
95
  if (count < maxCount) {
96
96
  setCount(count + 1);
97
97
  }
98
98
  }, [maxCount, count, setCount]);
99
- const handleDecrementCount = react.useCallback(() => {
99
+ const handleDecrementCount = React.useCallback(() => {
100
100
  if (count > 1) {
101
101
  setCount(count - 1);
102
102
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../../../CustomImage/index.js');
6
6
  var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
7
7
  require('./assets/poe.svg.js');
@@ -28,7 +28,7 @@ const RecommendedPoeSwitches = ({
28
28
  const {
29
29
  formatMessage
30
30
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
31
- const showTotalValues = react.useMemo(() => {
31
+ const showTotalValues = React.useMemo(() => {
32
32
  return totalConsumerPorts > 0;
33
33
  }, [totalConsumerPorts]);
34
34
  return /* @__PURE__ */jsxRuntime.jsxs(RecommendedPoeSwitches_styles.RecommendedDevices, {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  var layout = require('../../constants/layout.js');
7
7
  require('./components/index.js');
@@ -23,14 +23,14 @@ const ResourceCalculatorV1 = ({
23
23
  formatMessage
24
24
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
25
25
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
26
- const [activeCalculatorId, setActiveCalculatorId] = react.useState(enabledCalculatorIds[0]);
27
- const enabledCalculators = react.useMemo(() => {
26
+ const [activeCalculatorId, setActiveCalculatorId] = React.useState(enabledCalculatorIds[0]);
27
+ const enabledCalculators = React.useMemo(() => {
28
28
  return Object.entries(ResourceCalculator_constants.RESOURCE_CALCULATORS).filter(([key]) => enabledCalculatorIds.includes(key)).map(([, value]) => value);
29
29
  }, [enabledCalculatorIds]);
30
- const handleCalculatorSelect = react.useCallback(calculatorId => {
30
+ const handleCalculatorSelect = React.useCallback(calculatorId => {
31
31
  setActiveCalculatorId(calculatorId);
32
32
  }, [setActiveCalculatorId]);
33
- const activeCalculatorLayout = react.useMemo(() => {
33
+ const activeCalculatorLayout = React.useMemo(() => {
34
34
  switch (activeCalculatorId) {
35
35
  case ResourceCalculator_types.CalculatorId.ComputeResourceCalculator:
36
36
  return /* @__PURE__ */jsxRuntime.jsx(ComputeResourceCalculator.ComputeResourceCalculator, {
@@ -40,7 +40,7 @@ const ResourceCalculatorV1 = ({
40
40
  return /* @__PURE__ */jsxRuntime.jsx(PoeCalculator.PoeCalculator, {});
41
41
  }
42
42
  }, [activeCalculatorId, defaultActiveDeviceId]);
43
- const calculatorSelectProps = react.useMemo(() => {
43
+ const calculatorSelectProps = React.useMemo(() => {
44
44
  return {
45
45
  activeId: activeCalculatorId.toString(),
46
46
  items: enabledCalculators.map(calculator => ({
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var ReverseLoopingVideo_styles = require('./ReverseLoopingVideo.styles.js');
6
6
  "use strict";
7
7
  const RESET_STEP_MS = 20;
@@ -10,8 +10,8 @@ const ReverseLoopingVideo = ({
10
10
  poster,
11
11
  playing
12
12
  }) => {
13
- const animationFrame = react.useRef(0);
14
- const resetCurrentTime = react.useCallback(el => {
13
+ const animationFrame = React.useRef(0);
14
+ const resetCurrentTime = React.useCallback(el => {
15
15
  if (playing || !el.currentTime) return;
16
16
  if (el.currentTime >= el.duration) {
17
17
  el.currentTime = 0;
@@ -26,8 +26,8 @@ const ReverseLoopingVideo = ({
26
26
  }
27
27
  });
28
28
  }, [playing]);
29
- const videoRef = react.useRef(null);
30
- react.useEffect(() => {
29
+ const videoRef = React.useRef(null);
30
+ React.useEffect(() => {
31
31
  const el = videoRef.current;
32
32
  if (!el) return;
33
33
  if (playing) {
@@ -1,2 +1,2 @@
1
1
  import type { ScrollWrapperProps } from "./ScrollWrapper.types";
2
- export declare const ScrollWrapper: ({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, }: ScrollWrapperProps) => JSX.Element;
2
+ export declare const ScrollWrapper: ({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, alignActive, disableScrollToActive, }: ScrollWrapperProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  require('../../assets/icons/arrowRight.svg.js');
7
7
  var useHorizontalScroll = require('../../hooks/useHorizontalScroll.js');
@@ -35,24 +35,26 @@ const ScrollWrapper = function ScrollWrapper2({
35
35
  hideArrows,
36
36
  onScrollChange,
37
37
  enableWheelScroll,
38
- arrowIcon
38
+ arrowIcon,
39
+ alignActive = "center",
40
+ disableScrollToActive
39
41
  }) {
40
- const containerRef = react.useRef(null);
42
+ const containerRef = React.useRef(null);
41
43
  const [containerMeasureRef, containerSize] = reactUse.useMeasure();
42
44
  useHorizontalScroll.useHorizontalScroll(containerRef, !!enableWheelScroll);
43
- react.useEffect(() => {
45
+ React.useEffect(() => {
44
46
  if (containerRef.current) {
45
47
  containerMeasureRef(containerRef.current);
46
48
  }
47
49
  }, [containerMeasureRef]);
48
- const getContainerItemWidth = react.useCallback(() => {
50
+ const getContainerItemWidth = React.useCallback(() => {
49
51
  const containerItem = containerRef.current?.querySelector(`.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`);
50
52
  if (!containerItem) {
51
53
  return 0;
52
54
  }
53
55
  return containerItem.getBoundingClientRect().width;
54
56
  }, []);
55
- const getInvisibleItemOffset = react.useCallback(({
57
+ const getInvisibleItemOffset = React.useCallback(({
56
58
  scrollDirection
57
59
  }) => {
58
60
  if (!containerRef.current) {
@@ -110,7 +112,7 @@ const ScrollWrapper = function ScrollWrapper2({
110
112
  }
111
113
  return 0;
112
114
  }, [direction]);
113
- const getVisibleItemsWidth = react.useCallback(() => {
115
+ const getVisibleItemsWidth = React.useCallback(() => {
114
116
  if (!containerRef.current) {
115
117
  return 0;
116
118
  }
@@ -128,7 +130,7 @@ const ScrollWrapper = function ScrollWrapper2({
128
130
  });
129
131
  return visibleItemsWidth;
130
132
  }, [direction, gap]);
131
- const getActiveIndexOffset = react.useCallback(index => {
133
+ const getActiveIndexOffset = React.useCallback(index => {
132
134
  const offset = {
133
135
  left: void 0,
134
136
  top: void 0
@@ -141,10 +143,16 @@ const ScrollWrapper = function ScrollWrapper2({
141
143
  if (actNav) {
142
144
  const actNavRect = actNav.getBoundingClientRect();
143
145
  if (direction === "horizontal") {
144
- if (actNavRect.right > containerRect.right) {
145
- offset.left = actNavRect.right - containerRect.right + containerRef.current.scrollLeft + (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) + containerRect.width / 2 - actNavRect.width / 2;
146
- } else if (actNavRect.left < containerRect.left) {
147
- offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft - (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) - containerRect.width / 2 + actNavRect.width / 2;
146
+ if (alignActive === "left") {
147
+ if (actNavRect.left < containerRect.left || actNavRect.right > containerRect.right) {
148
+ offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft;
149
+ }
150
+ } else {
151
+ if (actNavRect.right > containerRect.right) {
152
+ offset.left = actNavRect.right - containerRect.right + containerRef.current.scrollLeft + (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) + containerRect.width / 2 - actNavRect.width / 2;
153
+ } else if (actNavRect.left < containerRect.left) {
154
+ offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft - (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) - containerRect.width / 2 + actNavRect.width / 2;
155
+ }
148
156
  }
149
157
  } else if (direction === "vertical") {
150
158
  if (actNavRect.bottom > containerRect.bottom) {
@@ -155,15 +163,15 @@ const ScrollWrapper = function ScrollWrapper2({
155
163
  }
156
164
  }
157
165
  return offset;
158
- }, [direction, hideArrows]);
166
+ }, [direction, alignActive, hideArrows]);
159
167
  const {
160
168
  x: refScrollX,
161
169
  y: refScrollY
162
170
  } = reactUse.useScroll(containerRef);
163
171
  const windowSize = reactUse.useWindowSize();
164
- const [scrollX, setScrollX] = react.useState(0);
165
- const [scrollY, setScrollY] = react.useState(0);
166
- react.useEffect(() => {
172
+ const [scrollX, setScrollX] = React.useState(0);
173
+ const [scrollY, setScrollY] = React.useState(0);
174
+ React.useEffect(() => {
167
175
  if (!containerRef.current) return;
168
176
  const initScrollX = containerRef.current.scrollLeft;
169
177
  const initScrollY = containerRef.current.scrollTop;
@@ -175,7 +183,7 @@ const ScrollWrapper = function ScrollWrapper2({
175
183
  scrollWidth: containerRef.current.scrollWidth
176
184
  });
177
185
  }, [onScrollChange]);
178
- react.useEffect(() => {
186
+ React.useEffect(() => {
179
187
  setScrollX(refScrollX);
180
188
  setScrollY(refScrollY);
181
189
  onScrollChange?.({
@@ -187,9 +195,9 @@ const ScrollWrapper = function ScrollWrapper2({
187
195
  // HACK: needed windowSize to retrigger the effect
188
196
  // eslint-disable-next-line react-hooks/exhaustive-deps
189
197
  windowSize]);
190
- const [showFadeStart, setShowFadeStart] = react.useState(false);
191
- const [showFadeEnd, setShowFadeEnd] = react.useState(false);
192
- react.useEffect(() => {
198
+ const [showFadeStart, setShowFadeStart] = React.useState(false);
199
+ const [showFadeEnd, setShowFadeEnd] = React.useState(false);
200
+ React.useEffect(() => {
193
201
  if (!containerRef.current) return;
194
202
  const width = containerRef.current.offsetWidth;
195
203
  const height = containerRef.current.offsetHeight;
@@ -212,7 +220,7 @@ const ScrollWrapper = function ScrollWrapper2({
212
220
  containerSize.width, windowSize,
213
221
  // #############################################################################
214
222
  direction, scrollX, scrollY, items]);
215
- const handleArrowClick = react.useCallback(first => {
223
+ const handleArrowClick = React.useCallback(first => {
216
224
  const container = containerRef.current;
217
225
  if (!container) return;
218
226
  const scrollDirection = first ? -1 : 1;
@@ -269,9 +277,9 @@ const ScrollWrapper = function ScrollWrapper2({
269
277
  behavior: "smooth"
270
278
  });
271
279
  }, [direction, scrollX, scrollY, scrollStepType, gap, getContainerItemWidth, getVisibleItemsWidth, getInvisibleItemOffset]);
272
- react.useEffect(() => {
280
+ React.useEffect(() => {
273
281
  window.setTimeout(() => {
274
- if (!containerRef.current) return;
282
+ if (!containerRef.current || disableScrollToActive) return;
275
283
  if (activeIndex !== void 0 && activeIndex > -1) {
276
284
  const offset = getActiveIndexOffset(activeIndex);
277
285
  if (offset.left !== void 0) {
@@ -288,8 +296,8 @@ const ScrollWrapper = function ScrollWrapper2({
288
296
  });
289
297
  }
290
298
  }, 0);
291
- }, [activeIndex, getActiveIndexOffset]);
292
- const arrowIconSrc = react.useMemo(() => {
299
+ }, [activeIndex, getActiveIndexOffset, disableScrollToActive]);
300
+ const arrowIconSrc = React.useMemo(() => {
293
301
  const icon = arrowIcon?.icon ?? ArrowRightIcon__default["default"];
294
302
  return typeof icon === "string" ? icon : icon.src;
295
303
  }, [arrowIcon]);