@ubnt/store.core 9.64.1-new-design.2 → 9.65.0-beta.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 (1056) hide show
  1. package/CHANGELOG.md +620 -145
  2. package/lib/_virtual/_virtual_multi-entry.js +25 -15
  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 +2 -12
  6. package/lib/apis/smartcat.js +4 -27
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +4 -27
  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/crestron.svg +3 -0
  13. package/lib/assets/express.jpg +0 -0
  14. package/lib/assets/express2.jpg +0 -0
  15. package/lib/assets/express7.jpg +0 -0
  16. package/lib/assets/express72.jpg +0 -0
  17. package/lib/assets/icons/menu/{icon-location-pin.svg.js → icon-globe.svg.js} +6 -6
  18. package/lib/assets/icons/menu/icon-globe.svg.js.map +1 -0
  19. package/lib/assets/icons/menu/icon-globe.svg.mjs +3 -0
  20. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +1 -0
  21. package/lib/assets/logoUnifi.svg +2 -10
  22. package/lib/assets/minus4.svg +8 -8
  23. package/lib/assets/minus5.svg +8 -8
  24. package/lib/assets/plus5.svg +9 -9
  25. package/lib/assets/plus6.svg +9 -9
  26. package/lib/assets/ucg-fiber.png +0 -0
  27. package/lib/assets/udr2.jpg +0 -0
  28. package/lib/assets/udr3.jpg +0 -0
  29. package/lib/assets/udr7.jpg +0 -0
  30. package/lib/assets/udr7.png +0 -0
  31. package/lib/assets/udr72.jpg +0 -0
  32. package/lib/assets/ux.png +0 -0
  33. package/lib/assets/ux7.png +0 -0
  34. package/lib/components/Accordion/Accordion.js +13 -13
  35. package/lib/components/Accordion/Accordion.js.map +1 -1
  36. package/lib/components/Accordion/Accordion.mjs +9 -9
  37. package/lib/components/Accordion/Accordion.mjs.map +1 -1
  38. package/lib/components/Accordion/Accordion.styles.d.ts +18 -18
  39. package/lib/components/Accordion/Accordion.styles.js +28 -22
  40. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  41. package/lib/components/Accordion/Accordion.styles.mjs +28 -22
  42. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  43. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +23 -21
  44. package/lib/components/Avatar/Avatar.js +6 -5
  45. package/lib/components/Avatar/Avatar.js.map +1 -1
  46. package/lib/components/Avatar/Avatar.mjs +4 -3
  47. package/lib/components/Avatar/Avatar.mjs.map +1 -1
  48. package/lib/components/Avatar/Avatar.styles.d.ts +2 -2
  49. package/lib/components/BackInStock/BackInStock.styles.d.ts +12 -7
  50. package/lib/components/Badge/Badge.styles.d.ts +2 -2
  51. package/lib/components/Banner/Banner.js +4 -4
  52. package/lib/components/Banner/Banner.js.map +1 -1
  53. package/lib/components/Banner/Banner.mjs +4 -4
  54. package/lib/components/Banner/Banner.mjs.map +1 -1
  55. package/lib/components/Banner/Banner.styles.d.ts +16 -16
  56. package/lib/components/Banner/Banner.styles.js +9 -9
  57. package/lib/components/Banner/Banner.styles.js.map +1 -1
  58. package/lib/components/Banner/Banner.styles.mjs +9 -9
  59. package/lib/components/Banner/Banner.styles.mjs.map +1 -1
  60. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
  61. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -9
  62. package/lib/components/Button/Button.js +5 -12
  63. package/lib/components/Button/Button.js.map +1 -1
  64. package/lib/components/Button/Button.mjs +1 -8
  65. package/lib/components/Button/Button.mjs.map +1 -1
  66. package/lib/components/Button/Button.styles.d.ts +4 -4
  67. package/lib/components/Button/CartButton.d.ts +1 -3
  68. package/lib/components/Button/CartButton.js +6 -11
  69. package/lib/components/Button/CartButton.js.map +1 -1
  70. package/lib/components/Button/CartButton.mjs +4 -8
  71. package/lib/components/Button/CartButton.mjs.map +1 -1
  72. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  73. package/lib/components/ButtonGroup/ButtonGroup.js +4 -11
  74. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  75. package/lib/components/ButtonGroup/ButtonGroup.mjs +4 -11
  76. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  77. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +8 -12
  78. package/lib/components/ButtonGroup/ButtonGroup.styles.js +6 -46
  79. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  80. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +6 -46
  81. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  82. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -5
  83. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -5
  84. package/lib/components/CardSection/Card/Card.d.ts +1 -1
  85. package/lib/components/CardSection/Card/Card.js +17 -19
  86. package/lib/components/CardSection/Card/Card.js.map +1 -1
  87. package/lib/components/CardSection/Card/Card.mjs +11 -13
  88. package/lib/components/CardSection/Card/Card.mjs.map +1 -1
  89. package/lib/components/CardSection/Card/Card.styles.d.ts +21 -21
  90. package/lib/components/CardSection/Card/Card.styles.js +22 -22
  91. package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
  92. package/lib/components/CardSection/Card/Card.styles.mjs +22 -22
  93. package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
  94. package/lib/components/CardSection/Card/Card.types.d.ts +0 -1
  95. package/lib/components/CardSection/Card/Card.types.js.map +1 -1
  96. package/lib/components/CardSection/Card/Card.types.mjs.map +1 -1
  97. package/lib/components/CardSection/CardSection.js +2 -2
  98. package/lib/components/CardSection/CardSection.styles.d.ts +4 -4
  99. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +11 -11
  100. package/lib/components/CartIcon/CartIcon.js +4 -4
  101. package/lib/components/CartIcon/CartIcon.js.map +1 -1
  102. package/lib/components/CartIcon/CartIcon.mjs +2 -2
  103. package/lib/components/CartIcon/CartIcon.mjs.map +1 -1
  104. package/lib/components/CartIcon/CartIcon.styles.d.ts +5 -5
  105. package/lib/components/CartIcon/CartIcon.styles.js +4 -4
  106. package/lib/components/CartIcon/CartIcon.styles.js.map +1 -1
  107. package/lib/components/CartIcon/CartIcon.styles.mjs +4 -4
  108. package/lib/components/CartIcon/CartIcon.styles.mjs.map +1 -1
  109. package/lib/components/CartSummary/CartSummary.js +1 -1
  110. package/lib/components/CartSummary/CartSummary.js.map +1 -1
  111. package/lib/components/CartSummary/CartSummary.mjs +1 -1
  112. package/lib/components/CartSummary/CartSummary.mjs.map +1 -1
  113. package/lib/components/CartSummary/CartSummary.styles.d.ts +19 -13
  114. package/lib/components/CartSummary/CartSummary.styles.js +2 -2
  115. package/lib/components/CartSummary/CartSummary.styles.js.map +1 -1
  116. package/lib/components/CartSummary/CartSummary.styles.mjs +2 -2
  117. package/lib/components/CartSummary/CartSummary.styles.mjs.map +1 -1
  118. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +6 -8
  119. package/lib/components/CategoryTabs/CategoryTabs.styles.js +6 -9
  120. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  121. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -8
  122. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  123. package/lib/components/Checkbox/Checkbox.js +7 -4
  124. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  125. package/lib/components/Checkbox/Checkbox.mjs +3 -0
  126. package/lib/components/Checkbox/Checkbox.mjs.map +1 -1
  127. package/lib/components/Checkbox/Checkbox.styles.d.ts +3 -3
  128. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  129. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +8 -8
  130. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  131. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +3 -3
  132. package/lib/components/Compare/Compare.styles.d.ts +36 -34
  133. package/lib/components/CompareChart/CompareChart.styles.d.ts +40 -36
  134. package/lib/components/CompareSection/CompareSection.styles.d.ts +18 -16
  135. package/lib/components/Container/Container.d.ts +1 -1
  136. package/lib/components/Container/Container.js +4 -5
  137. package/lib/components/Container/Container.js.map +1 -1
  138. package/lib/components/Container/Container.mjs +4 -5
  139. package/lib/components/Container/Container.mjs.map +1 -1
  140. package/lib/components/Container/Container.styles.d.ts +3 -3
  141. package/lib/components/Container/index.stories.d.ts +5 -5
  142. package/lib/components/CustomImage/CustomImage.js +12 -12
  143. package/lib/components/CustomImage/CustomImage.styles.d.ts +12 -12
  144. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -4
  145. package/lib/components/Explore/Explore.js +5 -5
  146. package/lib/components/Explore/Explore.styles.d.ts +36 -28
  147. package/lib/components/Explore/Explore.styles.js +6 -6
  148. package/lib/components/Explore/Explore.styles.js.map +1 -1
  149. package/lib/components/Explore/Explore.styles.mjs +6 -6
  150. package/lib/components/Explore/Explore.styles.mjs.map +1 -1
  151. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +5 -3
  152. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  153. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +15 -15
  154. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
  155. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +22 -22
  156. package/lib/components/Footer/Footer.js +2 -3
  157. package/lib/components/Footer/Footer.js.map +1 -1
  158. package/lib/components/Footer/Footer.mjs +0 -1
  159. package/lib/components/Footer/Footer.mjs.map +1 -1
  160. package/lib/components/Footer/Footer.styles.d.ts +39 -34
  161. package/lib/components/Footer/Footer.styles.js +1 -1
  162. package/lib/components/Footer/Footer.styles.js.map +1 -1
  163. package/lib/components/Footer/Footer.styles.mjs +1 -1
  164. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  165. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  166. package/lib/components/Gallery/Gallery.context.js +17 -17
  167. package/lib/components/Gallery/Gallery.js +10 -10
  168. package/lib/components/Gallery/Gallery.js.map +1 -1
  169. package/lib/components/Gallery/Gallery.mjs +1 -1
  170. package/lib/components/Gallery/Gallery.mjs.map +1 -1
  171. package/lib/components/Gallery/Gallery.styles.d.ts +12 -8
  172. package/lib/components/Gallery/Gallery.styles.js +3 -1
  173. package/lib/components/Gallery/Gallery.styles.js.map +1 -1
  174. package/lib/components/Gallery/Gallery.styles.mjs +3 -1
  175. package/lib/components/Gallery/Gallery.styles.mjs.map +1 -1
  176. package/lib/components/Gallery/GalleryControls/GalleryControls.js +5 -5
  177. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +1 -1
  178. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +1 -1
  179. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +1 -1
  180. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.d.ts +9 -9
  181. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +2 -2
  182. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +1 -1
  183. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +2 -2
  184. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +1 -1
  185. package/lib/components/Gallery/GalleryItem/GalleryItem.js +13 -13
  186. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +1 -1
  187. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +5 -5
  188. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +1 -1
  189. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.d.ts +10 -10
  190. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +11 -11
  191. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +1 -1
  192. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +11 -11
  193. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +1 -1
  194. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  195. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.d.ts +8 -8
  196. package/lib/components/GradientButton/GradientButton.d.ts +1 -1
  197. package/lib/components/GradientButton/GradientButton.js +2 -0
  198. package/lib/components/GradientButton/GradientButton.js.map +1 -1
  199. package/lib/components/GradientButton/GradientButton.mjs +2 -0
  200. package/lib/components/GradientButton/GradientButton.mjs.map +1 -1
  201. package/lib/components/GradientButton/GradientButton.styles.d.ts +4 -4
  202. package/lib/components/GradientButton/GradientButton.styles.js +6 -6
  203. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  204. package/lib/components/GradientButton/GradientButton.styles.mjs +6 -6
  205. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  206. package/lib/components/GridGallery/GridGallery.js +9 -9
  207. package/lib/components/GridGallery/GridGallery.js.map +1 -1
  208. package/lib/components/GridGallery/GridGallery.mjs +1 -1
  209. package/lib/components/GridGallery/GridGallery.mjs.map +1 -1
  210. package/lib/components/GridGallery/GridGallery.styles.d.ts +13 -13
  211. package/lib/components/GridGallery/GridGallery.styles.js +2 -2
  212. package/lib/components/GridGallery/GridGallery.styles.js.map +1 -1
  213. package/lib/components/GridGallery/GridGallery.styles.mjs +2 -2
  214. package/lib/components/GridGallery/GridGallery.styles.mjs.map +1 -1
  215. package/lib/components/GridGallery/GridModal/GridModal.js +7 -7
  216. package/lib/components/GridGallery/GridModal/GridModal.js.map +1 -1
  217. package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
  218. package/lib/components/GridGallery/GridModal/GridModal.mjs.map +1 -1
  219. package/lib/components/GridGallery/GridModal/GridModal.styles.d.ts +7 -7
  220. package/lib/components/GridGallery/GridModal/GridModal.styles.js +4 -4
  221. package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
  222. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +4 -4
  223. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
  224. package/lib/components/Header/AccountFrame/AccountFrame.js +12 -12
  225. package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
  226. package/lib/components/Header/AccountFrame/AccountFrame.mjs +1 -1
  227. package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
  228. package/lib/components/Header/AccountFrame/AccountFrame.styles.d.ts +19 -15
  229. package/lib/components/Header/AccountFrame/AccountFrame.styles.js +2 -2
  230. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  231. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +2 -2
  232. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  233. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  234. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.d.ts +3 -3
  235. package/lib/components/Header/AccountMenu/AccountMenu.js +20 -30
  236. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  237. package/lib/components/Header/AccountMenu/AccountMenu.mjs +3 -13
  238. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  239. package/lib/components/Header/AccountMenu/AccountMenu.styles.d.ts +30 -12
  240. package/lib/components/Header/CartModal/CartModal.styles.d.ts +15 -13
  241. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  242. package/lib/components/Header/CartModal/Empty/Empty.styles.d.ts +1 -1
  243. package/lib/components/Header/CartModal/Item/Item.styles.d.ts +10 -10
  244. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  245. package/lib/components/Header/CartModalV2/CartModal.styles.d.ts +23 -21
  246. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  247. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +13 -13
  248. package/lib/components/Header/Header.js +40 -40
  249. package/lib/components/Header/Header.js.map +1 -1
  250. package/lib/components/Header/Header.mjs +6 -6
  251. package/lib/components/Header/Header.mjs.map +1 -1
  252. package/lib/components/Header/Header.styles.d.ts +49 -40
  253. package/lib/components/Header/Header.styles.js +33 -11
  254. package/lib/components/Header/Header.styles.js.map +1 -1
  255. package/lib/components/Header/Header.styles.mjs +32 -11
  256. package/lib/components/Header/Header.styles.mjs.map +1 -1
  257. package/lib/components/Header/Header.types.d.ts +5 -29
  258. package/lib/components/Header/Header.types.js +1 -2
  259. package/lib/components/Header/Header.types.js.map +1 -1
  260. package/lib/components/Header/Header.types.mjs +1 -2
  261. package/lib/components/Header/Header.types.mjs.map +1 -1
  262. package/lib/components/Header/IsolatedHeader.d.ts +0 -1
  263. package/lib/components/Header/IsolatedHeader.js +50 -50
  264. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  265. package/lib/components/Header/IsolatedHeader.mjs +46 -47
  266. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  267. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  268. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.d.ts +14 -17
  269. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +0 -51
  270. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  271. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +1 -47
  272. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  273. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.d.ts +3 -3
  274. package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +4 -4
  275. package/lib/components/Header/MenuItem/MenuItem.js +4 -5
  276. package/lib/components/Header/MenuItem/MenuItem.js.map +1 -1
  277. package/lib/components/Header/MenuItem/MenuItem.mjs +4 -5
  278. package/lib/components/Header/MenuItem/MenuItem.mjs.map +1 -1
  279. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +15 -15
  280. package/lib/components/Header/MenuItem/MenuItem.styles.js +11 -11
  281. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  282. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +11 -11
  283. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  284. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -1
  285. package/lib/components/Header/Navigation/Carousel/Carousel.js +11 -11
  286. package/lib/components/Header/Navigation/Carousel/Carousel.js.map +1 -1
  287. package/lib/components/Header/Navigation/Carousel/Carousel.mjs +6 -6
  288. package/lib/components/Header/Navigation/Carousel/Carousel.mjs.map +1 -1
  289. package/lib/components/Header/Navigation/Carousel/Carousel.styles.d.ts +20 -20
  290. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +16 -16
  291. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
  292. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +16 -16
  293. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
  294. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +19 -19
  295. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
  296. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +7 -7
  297. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
  298. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +29 -23
  299. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +19 -19
  300. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  301. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +19 -19
  302. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  303. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +15 -15
  304. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  305. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +9 -9
  306. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  307. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +40 -36
  308. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +18 -18
  309. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  310. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +18 -18
  311. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  312. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  313. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +117 -124
  314. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  315. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +112 -119
  316. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  317. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +7 -14
  318. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +1 -15
  319. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  320. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +2 -13
  321. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  322. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +6 -12
  323. package/lib/components/Header/Overlay/Overlay.js +3 -3
  324. package/lib/components/Header/Overlay/Overlay.styles.d.ts +2 -2
  325. package/lib/components/Header/ProHeader/ProHeader.d.ts +5 -9
  326. package/lib/components/Header/ProHeader/ProHeader.js +189 -290
  327. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  328. package/lib/components/Header/ProHeader/ProHeader.mjs +171 -270
  329. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  330. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +40 -49
  331. package/lib/components/Header/ProHeader/ProHeader.styles.js +68 -206
  332. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  333. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +67 -195
  334. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  335. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +3 -3
  336. package/lib/components/Header/translations/ar.json.js +1 -4
  337. package/lib/components/Header/translations/ar.json.js.map +1 -1
  338. package/lib/components/Header/translations/ar.json.mjs +2 -4
  339. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  340. package/lib/components/Header/translations/de.json.js +1 -4
  341. package/lib/components/Header/translations/de.json.js.map +1 -1
  342. package/lib/components/Header/translations/de.json.mjs +2 -4
  343. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  344. package/lib/components/Header/translations/el.json.js +1 -4
  345. package/lib/components/Header/translations/el.json.js.map +1 -1
  346. package/lib/components/Header/translations/el.json.mjs +2 -4
  347. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  348. package/lib/components/Header/translations/en.json.js +1 -7
  349. package/lib/components/Header/translations/en.json.js.map +1 -1
  350. package/lib/components/Header/translations/en.json.mjs +2 -6
  351. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  352. package/lib/components/Header/translations/es.json.js +1 -4
  353. package/lib/components/Header/translations/es.json.js.map +1 -1
  354. package/lib/components/Header/translations/es.json.mjs +2 -4
  355. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  356. package/lib/components/Header/translations/fr.json.js +1 -4
  357. package/lib/components/Header/translations/fr.json.js.map +1 -1
  358. package/lib/components/Header/translations/fr.json.mjs +2 -4
  359. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  360. package/lib/components/Header/translations/it.json.js +1 -4
  361. package/lib/components/Header/translations/it.json.js.map +1 -1
  362. package/lib/components/Header/translations/it.json.mjs +2 -4
  363. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  364. package/lib/components/Header/translations/ja.json.js +1 -4
  365. package/lib/components/Header/translations/ja.json.js.map +1 -1
  366. package/lib/components/Header/translations/ja.json.mjs +2 -4
  367. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  368. package/lib/components/Header/translations/pt-BR.json.js +1 -4
  369. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  370. package/lib/components/Header/translations/pt-BR.json.mjs +2 -4
  371. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  372. package/lib/components/Header/translations/zh-Hans.json.js +1 -4
  373. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  374. package/lib/components/Header/translations/zh-Hans.json.mjs +2 -4
  375. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  376. package/lib/components/Header/translations/zh-Hant-TW.json.js +1 -4
  377. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  378. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +2 -4
  379. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  380. package/lib/components/Hero/Hero.js +5 -5
  381. package/lib/components/Hero/Hero.styles.d.ts +28 -28
  382. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -12
  383. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  384. package/lib/components/HeroVideo/HeroVideo.styles.d.ts +7 -7
  385. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +14 -14
  386. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  387. package/lib/components/ImageCarousel/ImageCarousel.styles.d.ts +38 -34
  388. package/lib/components/ImageCarousel/ImageCarousel.styles.js +5 -4
  389. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  390. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +5 -4
  391. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  392. package/lib/components/ImageModal/ImageModal.styles.d.ts +8 -6
  393. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  394. package/lib/components/ImageSequence/ImageSequence.styles.d.ts +8 -8
  395. package/lib/components/InputSelect/InputSelect.styles.d.ts +4 -8
  396. package/lib/components/LandingPage/Block/Block.styles.d.ts +4 -4
  397. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  398. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +17 -17
  399. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  400. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +9 -9
  401. package/lib/components/LandingPage/Cards/Cards.styles.js +1 -1
  402. package/lib/components/LandingPage/Cards/Cards.styles.js.map +1 -1
  403. package/lib/components/LandingPage/Cards/Cards.styles.mjs +1 -1
  404. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +1 -1
  405. package/lib/components/LandingPage/LandingPage.js +2 -2
  406. package/lib/components/LandingPage/LandingPage.styles.d.ts +5 -5
  407. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  408. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +3 -3
  409. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  410. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +2 -2
  411. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  412. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +26 -22
  413. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  414. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +22 -22
  415. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  416. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +23 -21
  417. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +60 -54
  418. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +57 -49
  419. package/lib/components/LearnMoreLink/LearnMoreLink.styles.d.ts +2 -2
  420. package/lib/components/Loader/Loader.styles.d.ts +4 -4
  421. package/lib/components/Loader/Spinner/Spinner.styles.d.ts +3 -3
  422. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  423. package/lib/components/LoaderDots/LoaderDots.js +1 -3
  424. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  425. package/lib/components/LoaderDots/LoaderDots.mjs +1 -3
  426. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  427. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +3 -4
  428. package/lib/components/LoaderDots/LoaderDots.styles.js +1 -11
  429. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  430. package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -11
  431. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  432. package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -2
  433. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  434. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.d.ts +11 -9
  435. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  436. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +25 -25
  437. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +2 -2
  438. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
  439. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +2 -2
  440. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
  441. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  442. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.d.ts +6 -6
  443. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.d.ts +8 -8
  444. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  445. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.d.ts +20 -18
  446. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +2 -2
  447. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
  448. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +2 -2
  449. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
  450. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.d.ts +11 -11
  451. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.d.ts +14 -14
  452. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  453. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.d.ts +28 -24
  454. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +2 -2
  455. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
  456. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +2 -2
  457. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
  458. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  459. package/lib/components/MicrositeHero/MicrositeHero.styles.d.ts +41 -41
  460. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  461. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.d.ts +6 -6
  462. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  463. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -15
  464. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  465. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.d.ts +15 -15
  466. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.d.ts +14 -12
  467. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +2 -2
  468. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
  469. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +2 -2
  470. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
  471. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  472. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +5 -3
  473. package/lib/components/MicrositeSection/Features/Features.styles.d.ts +15 -15
  474. package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +24 -24
  475. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +8 -6
  476. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  477. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.d.ts +2 -2
  478. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  479. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +17 -17
  480. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  481. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  482. package/lib/components/Microsites/MicrositeProductPage.styles.d.ts +16 -8
  483. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  484. package/lib/components/MobileModal/MobileModal.js +4 -4
  485. package/lib/components/MobileModal/MobileModal.styles.d.ts +8 -8
  486. package/lib/components/Modal/Modal.js +3 -3
  487. package/lib/components/Modal/Modal.styles.d.ts +1 -1
  488. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  489. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  490. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  491. package/lib/components/ModelCompareV3/ModelCompareV3.styles.d.ts +84 -34
  492. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +8 -7
  493. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  494. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +8 -7
  495. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  496. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +1 -0
  497. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  498. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  499. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  500. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  501. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  502. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  503. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  504. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  505. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  506. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.d.ts +2 -2
  507. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  508. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.d.ts +1 -1
  509. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  510. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
  511. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  512. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  513. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  514. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  515. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  516. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  517. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  518. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
  519. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
  520. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  521. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  522. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  523. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  524. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  525. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  526. package/lib/{assets/icons/cart-secondary.svg.js → components/ModelCompareV3/assets/crestron.svg.js} +6 -6
  527. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +1 -0
  528. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +3 -0
  529. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +1 -0
  530. package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
  531. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
  532. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +3 -2
  533. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  534. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +3 -2
  535. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  536. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +10 -3
  537. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  538. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +10 -3
  539. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  540. package/lib/components/ModelCompareV3/data/Switching.js +3 -2
  541. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  542. package/lib/components/ModelCompareV3/data/Switching.mjs +3 -2
  543. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  544. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
  545. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  546. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
  547. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  548. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +7 -0
  549. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  550. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +7 -0
  551. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  552. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +7 -0
  553. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  554. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +7 -0
  555. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  556. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +7 -0
  557. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  558. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +7 -0
  559. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  560. package/lib/components/ModelCompareV3/data/products/express.js +1 -1
  561. package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
  562. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  563. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  564. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +7 -0
  565. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  566. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +7 -0
  567. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  568. package/lib/components/ModelCompareV3/data/products/missionCritical.js +7 -0
  569. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  570. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +7 -0
  571. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  572. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +7 -0
  573. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  574. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +7 -0
  575. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  576. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +7 -0
  577. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  578. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +7 -0
  579. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  580. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +7 -0
  581. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  582. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +7 -0
  583. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  584. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +7 -0
  585. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  586. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +7 -0
  587. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  588. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +7 -0
  589. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  590. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +7 -0
  591. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  592. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +7 -0
  593. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  594. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +7 -0
  595. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  596. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +7 -0
  597. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  598. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +7 -0
  599. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  600. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +7 -0
  601. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  602. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +7 -0
  603. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  604. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +8 -0
  605. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  606. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +8 -0
  607. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  608. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +7 -0
  609. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  610. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +7 -0
  611. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  612. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +7 -0
  613. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  614. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +7 -0
  615. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  616. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +10 -1
  617. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  618. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +10 -1
  619. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  620. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +7 -0
  621. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  622. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +7 -0
  623. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  624. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  625. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  626. package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
  627. package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
  628. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +2 -0
  629. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +18 -0
  630. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +1 -0
  631. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +10 -0
  632. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +1 -0
  633. package/lib/components/ModelCompareV3/data/properties/index.d.ts +1 -0
  634. package/lib/components/ModelCompareV3/data/properties/index.js +2 -0
  635. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  636. package/lib/components/ModelCompareV3/data/properties/index.mjs +1 -0
  637. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  638. package/lib/components/ModelCompareV3/translations/ar.json.js +10 -10
  639. package/lib/components/ModelCompareV3/translations/ar.json.mjs +10 -10
  640. package/lib/components/ModelCompareV3/translations/de.json.js +2 -2
  641. package/lib/components/ModelCompareV3/translations/de.json.mjs +2 -2
  642. package/lib/components/ModelCompareV3/translations/el.json.js +1 -1
  643. package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -1
  644. package/lib/components/ModelCompareV3/translations/en.json.js +2 -0
  645. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  646. package/lib/components/ModelCompareV3/translations/en.json.mjs +2 -0
  647. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  648. package/lib/components/ModelCompareV3/translations/es.json.js +2 -2
  649. package/lib/components/ModelCompareV3/translations/es.json.mjs +2 -2
  650. package/lib/components/ModelCompareV3/translations/fr.json.js +1 -1
  651. package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -1
  652. package/lib/components/ModelCompareV3/translations/it.json.js +1 -1
  653. package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -1
  654. package/lib/components/ModelCompareV3/translations/ja.json.js +7 -7
  655. package/lib/components/ModelCompareV3/translations/ja.json.mjs +7 -7
  656. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -1
  657. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -1
  658. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  659. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +5 -5
  660. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +5 -5
  661. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +8 -8
  662. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +8 -8
  663. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -5
  664. package/lib/components/Pagination/Pagination.js +3 -3
  665. package/lib/components/Pagination/Pagination.styles.d.ts +4 -4
  666. package/lib/components/Popover/Popover.styles.d.ts +11 -7
  667. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  668. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +7 -7
  669. package/lib/components/ProductCard/ProductCard.js +7 -7
  670. package/lib/components/ProductCard/ProductCard.styles.d.ts +16 -16
  671. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  672. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +45 -37
  673. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +3 -3
  674. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +1 -1
  675. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +3 -3
  676. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +1 -1
  677. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  678. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +18 -18
  679. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  680. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +2 -2
  681. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  682. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +10 -13
  683. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  684. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +6 -6
  685. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +11 -9
  686. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +6 -6
  687. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +7 -7
  688. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  689. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +6 -6
  690. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +14 -14
  691. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +20 -18
  692. package/lib/components/ProductWizard/Options/Options.js +3 -3
  693. package/lib/components/ProductWizard/Options/Options.styles.d.ts +2 -2
  694. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  695. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +22 -16
  696. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  697. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +9 -9
  698. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +1 -1
  699. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +1 -1
  700. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +1 -1
  701. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +1 -1
  702. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  703. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  704. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  705. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  706. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  707. package/lib/components/QuantityControls/QuantityControls.styles.d.ts +2 -2
  708. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  709. package/lib/components/QuantityInput/QuantityInput.js +1 -6
  710. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  711. package/lib/components/QuantityInput/QuantityInput.mjs +1 -6
  712. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  713. package/lib/components/QuantityInput/QuantityInput.styles.d.ts +16 -12
  714. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  715. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +14 -14
  716. package/lib/components/RelatedProducts/RelatedProducts.styles.js +2 -2
  717. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +1 -1
  718. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +2 -2
  719. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +1 -1
  720. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +23 -21
  721. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +36 -16
  722. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +38 -16
  723. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -1
  724. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +602 -2
  725. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  726. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +598 -2
  727. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  728. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  729. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.d.ts +6 -6
  730. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +5 -1
  731. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +4 -0
  732. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  733. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +4 -0
  734. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  735. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  736. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +13 -13
  737. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
  738. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  739. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.d.ts +20 -20
  740. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  741. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
  742. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  743. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.d.ts +6 -6
  744. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  745. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  746. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  747. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  748. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  749. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  750. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  751. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
  752. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  753. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.d.ts +9 -9
  754. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  755. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  756. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  757. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  758. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.d.ts +1 -1
  759. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.d.ts +5 -5
  760. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  761. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.d.ts +10 -10
  762. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +17 -17
  763. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  764. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.d.ts +19 -17
  765. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  766. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  767. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  768. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  769. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  770. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.d.ts +16 -16
  771. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  772. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.d.ts +3 -3
  773. package/lib/{constants/icons/header/arrow.svg.js → components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js} +6 -6
  774. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js.map +1 -0
  775. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs +3 -0
  776. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs.map +1 -0
  777. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js +27 -0
  778. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js.map +1 -0
  779. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs +3 -0
  780. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs.map +1 -0
  781. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js +27 -0
  782. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js.map +1 -0
  783. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs +3 -0
  784. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs.map +1 -0
  785. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js +27 -0
  786. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js.map +1 -0
  787. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs +3 -0
  788. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs.map +1 -0
  789. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.d.ts +3 -3
  790. package/lib/components/ResourceCalculatorV1/translations/en.json.js +5 -1
  791. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  792. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +5 -1
  793. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  794. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  795. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  796. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.d.ts +3 -3
  797. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  798. package/lib/components/ScrollWrapper/ScrollWrapper.js +26 -34
  799. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  800. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +8 -16
  801. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  802. package/lib/components/ScrollWrapper/ScrollWrapper.styles.d.ts +18 -14
  803. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -2
  804. package/lib/components/Search/Input/Input.d.ts +1 -1
  805. package/lib/components/Search/Input/Input.js +8 -8
  806. package/lib/components/Search/Input/Input.js.map +1 -1
  807. package/lib/components/Search/Input/Input.mjs +4 -4
  808. package/lib/components/Search/Input/Input.mjs.map +1 -1
  809. package/lib/components/Search/Input/Input.styles.d.ts +13 -11
  810. package/lib/components/Search/Input/Input.styles.js +2 -1
  811. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  812. package/lib/components/Search/Input/Input.styles.mjs +2 -1
  813. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  814. package/lib/components/Search/Input/Input.types.d.ts +2 -3
  815. package/lib/components/Search/Modal/Modal.js +3 -3
  816. package/lib/components/Search/Modal/Modal.styles.d.ts +20 -18
  817. package/lib/components/SearchInput/Input.styles.d.ts +9 -7
  818. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +1 -1
  819. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.d.ts +3 -3
  820. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.d.ts +3 -3
  821. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.d.ts +8 -8
  822. package/lib/components/StaticModal/StaticModal.styles.d.ts +2 -2
  823. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  824. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +7 -5
  825. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  826. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  827. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +12 -12
  828. package/lib/components/StorybookUtils/StoryButtonColumn.d.ts +1 -1
  829. package/lib/components/StorybookUtils/StoryButtonRow.d.ts +1 -1
  830. package/lib/components/StorybookUtils/StoryWrapper.d.ts +2 -2
  831. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +9 -9
  832. package/lib/components/Toggle/Toggle.styles.d.ts +3 -3
  833. package/lib/components/Toggle/Toggle.styles.js +1 -1
  834. package/lib/components/Toggle/Toggle.styles.js.map +1 -1
  835. package/lib/components/Toggle/Toggle.styles.mjs +1 -1
  836. package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
  837. package/lib/components/Tooltip/Tooltip.js +5 -5
  838. package/lib/components/Tooltip/Tooltip.styles.d.ts +33 -3
  839. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +17 -17
  840. package/lib/components/UICare/UICare.styles.d.ts +19 -16
  841. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +6 -6
  842. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +7 -7
  843. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  844. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +18 -18
  845. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  846. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +75 -65
  847. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  848. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +17 -13
  849. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +3 -3
  850. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +32 -28
  851. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +23 -19
  852. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +8 -6
  853. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +5 -5
  854. package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
  855. package/lib/components/VideoPlayerNew/VideoPlayer.styles.d.ts +31 -28
  856. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +2 -2
  857. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
  858. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +2 -2
  859. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
  860. package/lib/components/index.d.ts +0 -1
  861. package/lib/components/index.js +0 -2
  862. package/lib/components/index.js.map +1 -1
  863. package/lib/components/index.mjs +0 -2
  864. package/lib/components/index.mjs.map +1 -1
  865. package/lib/constants/icons/header/index.d.ts +0 -1
  866. package/lib/constants/icons/header/index.js +0 -9
  867. package/lib/constants/icons/header/index.js.map +1 -1
  868. package/lib/constants/icons/header/index.mjs +0 -2
  869. package/lib/constants/icons/header/index.mjs.map +1 -1
  870. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  871. package/lib/constants/icons/options/colors/index.js +3 -3
  872. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  873. package/lib/constants/icons/options/styles/index.js +3 -3
  874. package/lib/constants/mixin.d.ts +3 -3
  875. package/lib/constants/optionIcons.js +6 -6
  876. package/lib/constants/optionIcons.mjs +4 -4
  877. package/lib/constants/proStoreCategories/mapping/filters.d.ts +0 -17
  878. package/lib/constants/proStoreCategories/mapping/filters.js +0 -17
  879. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  880. package/lib/constants/proStoreCategories/mapping/filters.mjs +0 -17
  881. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  882. package/lib/constants/proStoreCategories/mapping/index.d.ts +0 -3
  883. package/lib/constants/proStoreCategories/mapping/index.js +6 -25
  884. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  885. package/lib/constants/proStoreCategories/mapping/index.mjs +6 -25
  886. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  887. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -5
  888. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +0 -3
  889. package/lib/constants/proStoreCategories/mapping/unifi.js +0 -3
  890. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  891. package/lib/constants/proStoreCategories/mapping/unifi.mjs +0 -3
  892. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  893. package/lib/constants/proStoreCategories/translations/ar.json.js +5 -9
  894. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  895. package/lib/constants/proStoreCategories/translations/ar.json.mjs +5 -9
  896. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  897. package/lib/constants/proStoreCategories/translations/de.json.js +3 -7
  898. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  899. package/lib/constants/proStoreCategories/translations/de.json.mjs +3 -7
  900. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  901. package/lib/constants/proStoreCategories/translations/el.json.js +5 -9
  902. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  903. package/lib/constants/proStoreCategories/translations/el.json.mjs +5 -9
  904. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  905. package/lib/constants/proStoreCategories/translations/en.json.js +0 -5
  906. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  907. package/lib/constants/proStoreCategories/translations/en.json.mjs +1 -5
  908. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  909. package/lib/constants/proStoreCategories/translations/es.json.js +4 -8
  910. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  911. package/lib/constants/proStoreCategories/translations/es.json.mjs +4 -8
  912. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  913. package/lib/constants/proStoreCategories/translations/fr.json.js +1 -8
  914. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  915. package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -8
  916. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  917. package/lib/constants/proStoreCategories/translations/it.json.js +4 -8
  918. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  919. package/lib/constants/proStoreCategories/translations/it.json.mjs +4 -8
  920. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  921. package/lib/constants/proStoreCategories/translations/ja.json.js +4 -8
  922. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  923. package/lib/constants/proStoreCategories/translations/ja.json.mjs +4 -8
  924. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  925. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +3 -7
  926. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  927. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +3 -7
  928. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  929. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -8
  930. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  931. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -8
  932. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  933. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +8 -15
  934. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  935. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +9 -15
  936. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  937. package/lib/constants/proStoreFilters/mapping.d.ts +10 -44
  938. package/lib/constants/proStoreFilters/mapping.js +19 -131
  939. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  940. package/lib/constants/proStoreFilters/mapping.mjs +19 -131
  941. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  942. package/lib/constants/theme.js +0 -4
  943. package/lib/constants/theme.js.map +1 -1
  944. package/lib/constants/theme.mjs +0 -4
  945. package/lib/constants/theme.mjs.map +1 -1
  946. package/lib/contexts/MenuContext/context.js +34 -34
  947. package/lib/contexts/MenuContext/context.js.map +1 -1
  948. package/lib/contexts/MenuContext/context.mjs +1 -1
  949. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  950. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  951. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  952. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  953. package/lib/contexts/MenuContext/presets.js +4 -2
  954. package/lib/contexts/MenuContext/presets.js.map +1 -1
  955. package/lib/contexts/MenuContext/presets.mjs +4 -2
  956. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  957. package/lib/helpers/index.d.ts +1 -0
  958. package/lib/helpers/index.js +11 -1
  959. package/lib/helpers/index.js.map +1 -1
  960. package/lib/helpers/index.mjs +2 -1
  961. package/lib/helpers/index.mjs.map +1 -1
  962. package/lib/helpers/proStoreCategories.js +2 -2
  963. package/lib/helpers/product.d.ts +87 -0
  964. package/lib/helpers/product.js +346 -0
  965. package/lib/helpers/product.js.map +1 -0
  966. package/lib/helpers/product.mjs +335 -0
  967. package/lib/helpers/product.mjs.map +1 -0
  968. package/lib/helpers/product.test.d.ts +1 -0
  969. package/lib/helpers/ux.d.ts +0 -8
  970. package/lib/helpers/ux.js +0 -15
  971. package/lib/helpers/ux.js.map +1 -1
  972. package/lib/helpers/ux.mjs +1 -15
  973. package/lib/helpers/ux.mjs.map +1 -1
  974. package/lib/hooks/useHasTouch.js +3 -3
  975. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  976. package/lib/hooks/useHorizontalScroll.js +2 -2
  977. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  978. package/lib/hooks/useScrollToY.js +2 -2
  979. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  980. package/lib/hooks/useTranslation.js +6 -6
  981. package/lib/types/generated.d.ts +1 -1
  982. package/lib/types/generated.js.map +1 -1
  983. package/lib/types/generated.mjs.map +1 -1
  984. package/lib/types/index.d.ts +1 -0
  985. package/lib/types/index.js +2 -0
  986. package/lib/types/index.js.map +1 -1
  987. package/lib/types/index.mjs +1 -0
  988. package/lib/types/index.mjs.map +1 -1
  989. package/lib/types/product.d.ts +87 -0
  990. package/lib/types/product.js +14 -0
  991. package/lib/types/product.js.map +1 -0
  992. package/lib/types/product.mjs +13 -0
  993. package/lib/types/product.mjs.map +1 -0
  994. package/lib/utils/address.d.ts +278 -62
  995. package/lib/utils/address.js +11 -8
  996. package/lib/utils/address.js.map +1 -1
  997. package/lib/utils/address.mjs +11 -8
  998. package/lib/utils/address.mjs.map +1 -1
  999. package/lib/utils/array.d.ts +4 -0
  1000. package/lib/utils/array.js +10 -0
  1001. package/lib/utils/array.js.map +1 -1
  1002. package/lib/utils/array.mjs +10 -1
  1003. package/lib/utils/array.mjs.map +1 -1
  1004. package/lib/utils/nextjs/ssr/registry.js +2 -2
  1005. package/lib/utils/productSort.d.ts +41 -0
  1006. package/lib/utils/productSort.js +67 -0
  1007. package/lib/utils/productSort.js.map +1 -0
  1008. package/lib/utils/productSort.mjs +60 -0
  1009. package/lib/utils/productSort.mjs.map +1 -0
  1010. package/lib/utils/validations/lastNameSuperRefinement.d.ts +11 -0
  1011. package/lib/utils/validations/lastNameSuperRefinement.js +25 -0
  1012. package/lib/utils/validations/lastNameSuperRefinement.js.map +1 -0
  1013. package/lib/utils/validations/lastNameSuperRefinement.mjs +21 -0
  1014. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +1 -0
  1015. package/package.json +42 -43
  1016. package/lib/assets/arrow2.svg +0 -3
  1017. package/lib/assets/cart-secondary.svg +0 -5
  1018. package/lib/assets/icon-location-pin.svg +0 -5
  1019. package/lib/assets/icons/cart-secondary.svg.js.map +0 -1
  1020. package/lib/assets/icons/cart-secondary.svg.mjs +0 -3
  1021. package/lib/assets/icons/cart-secondary.svg.mjs.map +0 -1
  1022. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +0 -1
  1023. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +0 -3
  1024. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +0 -1
  1025. package/lib/components/ButtonGroupBasic/index.stories.d.ts +0 -6
  1026. package/lib/components/Header/Header.stories.d.ts +0 -111
  1027. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +0 -7
  1028. package/lib/components/Header/LogoIcon/LogoIcon.js +0 -46
  1029. package/lib/components/Header/LogoIcon/LogoIcon.js.map +0 -1
  1030. package/lib/components/Header/LogoIcon/LogoIcon.mjs +0 -36
  1031. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +0 -1
  1032. package/lib/components/Header/LogoIcon/index.d.ts +0 -1
  1033. package/lib/components/Header/LogoIcon/index.js +0 -6
  1034. package/lib/components/Header/LogoIcon/index.js.map +0 -1
  1035. package/lib/components/Header/LogoIcon/index.mjs +0 -3
  1036. package/lib/components/Header/LogoIcon/index.mjs.map +0 -1
  1037. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +0 -2
  1038. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +0 -79
  1039. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +0 -1
  1040. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +0 -71
  1041. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +0 -1
  1042. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +0 -5
  1043. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +0 -11
  1044. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +0 -86
  1045. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +0 -1
  1046. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +0 -72
  1047. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +0 -1
  1048. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +0 -12
  1049. package/lib/components/ProductTechSpecsV2/index.d.ts +0 -1
  1050. package/lib/components/ProductTechSpecsV2/index.js +0 -6
  1051. package/lib/components/ProductTechSpecsV2/index.js.map +0 -1
  1052. package/lib/components/ProductTechSpecsV2/index.mjs +0 -3
  1053. package/lib/components/ProductTechSpecsV2/index.mjs.map +0 -1
  1054. package/lib/constants/icons/header/arrow.svg.js.map +0 -1
  1055. package/lib/constants/icons/header/arrow.svg.mjs +0 -3
  1056. package/lib/constants/icons/header/arrow.svg.mjs.map +0 -1
@@ -0,0 +1,3 @@
1
+ export * from "../../../../assets/udr7.png";
2
+ export { default } from "../../../../assets/udr7.png";
3
+ //# sourceMappingURL=udr7.png.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"udr7.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ });
6
+ var ux = require("../../../../assets/ux.png");
7
+ function _interopDefault(e) {
8
+ return e && e.__esModule ? e : {
9
+ default: e
10
+ };
11
+ }
12
+ var ux__default = /*#__PURE__*/_interopDefault(ux);
13
+ Object.defineProperty(exports, "default", {
14
+ enumerable: true,
15
+ get: function () {
16
+ return ux__default["default"];
17
+ }
18
+ });
19
+ Object.keys(ux).forEach(function (k) {
20
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
+ enumerable: true,
22
+ get: function () {
23
+ return ux[k];
24
+ }
25
+ });
26
+ });
27
+ //# sourceMappingURL=ux.png.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from "../../../../assets/ux.png";
2
+ export { default } from "../../../../assets/ux.png";
3
+ //# sourceMappingURL=ux.png.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ });
6
+ var ux7 = require("../../../../assets/ux7.png");
7
+ function _interopDefault(e) {
8
+ return e && e.__esModule ? e : {
9
+ default: e
10
+ };
11
+ }
12
+ var ux7__default = /*#__PURE__*/_interopDefault(ux7);
13
+ Object.defineProperty(exports, "default", {
14
+ enumerable: true,
15
+ get: function () {
16
+ return ux7__default["default"];
17
+ }
18
+ });
19
+ Object.keys(ux7).forEach(function (k) {
20
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
+ enumerable: true,
22
+ get: function () {
23
+ return ux7[k];
24
+ }
25
+ });
26
+ });
27
+ //# sourceMappingURL=ux7.png.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux7.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from "../../../../assets/ux7.png";
2
+ export { default } from "../../../../assets/ux7.png";
3
+ //# sourceMappingURL=ux7.png.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux7.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- export declare const HorizontalOptionSelectWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
1
+ export declare const HorizontalOptionSelectWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
3
3
  $active: boolean;
4
- }, never>;
4
+ }>> & string;
@@ -57,6 +57,10 @@ var EN_TRANSLATION = {
57
57
  "device.UX": "UX",
58
58
  "device.EFG": "EFG",
59
59
  "device.UCG Max": "UCG Max",
60
+ "device.ucgFiber": "UCG Fiber",
61
+ "device.Udr7": "UDR 7",
62
+ "device.Ux7": "UX 7",
63
+ "device.Ux": "UX",
60
64
  add: add,
61
65
  estimatesMayVary: estimatesMayVary,
62
66
  network: network,
@@ -147,7 +151,7 @@ var EN_TRANSLATION = {
147
151
  protect: protect,
148
152
  "protect.2kCameras": "2K Cameras",
149
153
  "protect.4kCameras": "4K Cameras",
150
- "protect.CkG2PlusNote": "Recording retention is calculated based on the pre-installed storage (HDD or SSD). Increase retention by upgrading to a higher-capacity drive.",
154
+ "protect.CkG2PlusNote": "Recording retention calculated for the pre-installed 1 TB HDD. Increase retention by upgrading storage capacity.",
151
155
  "protect.DreamWallNote": "Recording retention calculated for the pre-installed 512 GB microSD card. Increase retention by upgrading storage capacity.",
152
156
  "protect.days": "Days",
153
157
  "protect.hdCameras": "HD Cameras",
@@ -1 +1 @@
1
- {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -52,6 +52,10 @@ var EN_TRANSLATION = {
52
52
  "device.UX": "UX",
53
53
  "device.EFG": "EFG",
54
54
  "device.UCG Max": "UCG Max",
55
+ "device.ucgFiber": "UCG Fiber",
56
+ "device.Udr7": "UDR 7",
57
+ "device.Ux7": "UX 7",
58
+ "device.Ux": "UX",
55
59
  add: add,
56
60
  estimatesMayVary: estimatesMayVary,
57
61
  network: network,
@@ -142,7 +146,7 @@ var EN_TRANSLATION = {
142
146
  protect: protect,
143
147
  "protect.2kCameras": "2K Cameras",
144
148
  "protect.4kCameras": "4K Cameras",
145
- "protect.CkG2PlusNote": "Recording retention is calculated based on the pre-installed storage (HDD or SSD). Increase retention by upgrading to a higher-capacity drive.",
149
+ "protect.CkG2PlusNote": "Recording retention calculated for the pre-installed 1 TB HDD. Increase retention by upgrading storage capacity.",
146
150
  "protect.DreamWallNote": "Recording retention calculated for the pre-installed 512 GB microSD card. Increase retention by upgrading storage capacity.",
147
151
  "protect.days": "Days",
148
152
  "protect.hdCameras": "HD Cameras",
@@ -1 +1 @@
1
- {"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  export declare const useResourceCalculatorTranslation: () => {
2
- intl: import("@formatjs/intl").IntlShape<"add" | "network" | "protect" | "talk" | "access" | "portCount" | "ports" | "capacityCalculator" | "access.doors" | "addPorts" | "adjustYourDevice" | "assignPoeDevices" | "capacityExceeded" | "category.Access Points" | "category.Cameras" | "category.Connect Display" | "category.Door Access" | "category.Talk" | "cloudKeyNote" | "computeResources" | "designCenter.startYourProject" | "designCenter.title" | "device.UDM Pro / SE" | "device.ENVR" | "device.UDM Pro Max" | "device.UNVR" | "device.UNVR Pro" | "device.CloudKey+" | "device.UDW" | "device.UDR" | "device.UDR7" | "device.UX" | "device.EFG" | "device.UCG Max" | "estimatesMayVary" | "network.accessPoints" | "network.adBlocking" | "network.clientsPerAP" | "network.maxFeaturesNote" | "network.qos" | "network.securityDetections" | "network.vpn" | "notAvailable" | "poeCapacity" | "poeConsumer.AC In-Wall" | "poeConsumer.AC Lite" | "poeConsumer.AC Long-Range" | "poeConsumer.AC Mesh" | "poeConsumer.AC Mesh Pro" | "poeConsumer.AC Pro" | "poeConsumer.AI 360" | "poeConsumer.AI Bullet" | "poeConsumer.AI DSLR" | "poeConsumer.AI DSLR LD" | "poeConsumer.AI Pro" | "poeConsumer.AI Theta" | "poeConsumer.Access Hub" | "poeConsumer.Access Reader G2" | "poeConsumer.Access Reader G2 Pro" | "poeConsumer.Access Reader Lite" | "poeConsumer.Analog Telephone Adapter" | "poeConsumer.Building Bridge" | "poeConsumer.Building Bridge XG" | "poeConsumer.Connect Display" | "poeConsumer.G3 Flex" | "poeConsumer.G4 Bullet" | "poeConsumer.G4 Dome" | "poeConsumer.G4 Doorbell Pro PoE Kit" | "poeConsumer.G4 PTZ" | "poeConsumer.G4 Pro" | "poeConsumer.G5 Bullet" | "poeConsumer.G5 Dome" | "poeConsumer.G5 Flex" | "poeConsumer.G5 Pro" | "poeConsumer.G5 Pro with Enhancer" | "poeConsumer.Phone Touch" | "poeConsumer.Phone Touch Max" | "poeConsumer.Protect Floodlight" | "poeConsumer.Protect Viewport" | "poeConsumer.Swiss Army Knife Ultra" | "poeConsumer.U6 Enterprise" | "poeConsumer.U6 Enterprise In-Wall" | "poeConsumer.U6 In-Wall" | "poeConsumer.U6 Lite" | "poeConsumer.U6 Long-Range" | "poeConsumer.U6 Mesh" | "poeConsumer.U6 Pro" | "poeConsumer.U6+" | "poeConsumer.U7 Pro" | "poeConsumer.WiFi BaseStation XG" | "poeConsumer.empty" | "poePowerBudget" | "poeProvider.8 PoE (Gen1)" | "poeProvider.8 PoE, SFP (Gen1)" | "poeProvider.Enterprise 24 PoE" | "poeProvider.Enterprise 48 PoE" | "poeProvider.Enterprise 8 PoE" | "poeProvider.Flex" | "poeProvider.Industrial" | "poeProvider.Lite 16 PoE" | "poeProvider.Lite 8 PoE" | "poeProvider.Mission Critical" | "poeProvider.Pro 24 PoE" | "poeProvider.Pro 48 PoE" | "poeProvider.Pro 8 PoE" | "poeProvider.Pro Max 24 PoE" | "poeProvider.Pro Max 48 PoE" | "poeProvider.Standard 16 PoE" | "poeProvider.Standard 16 PoE (Gen1)" | "poeProvider.Standard 24 PoE" | "poeProvider.Standard 24 PoE (Gen1)" | "poeProvider.Standard 48 PoE" | "poeProvider.Standard 48 PoE (Gen1)" | "poeProvider.Ultra" | "poeProvider.Ultra 210W" | "poeProvider.Ultra 60W" | "poeProvider.XG 6 PoE (Gen1)" | "protect.2kCameras" | "protect.4kCameras" | "protect.CkG2PlusNote" | "protect.DreamWallNote" | "protect.days" | "protect.hdCameras" | "protect.noStorage" | "protect.storageDriveSize" | "protect.storageProtection" | "recommendedPoeSwitches" | "removePorts" | "requirements" | "showLess" | "showMore" | "systemCapacity" | "talk.callRecording" | "talk.phones" | "watts">;
3
- formatMessage: (id: "add" | "network" | "protect" | "talk" | "access" | "portCount" | "ports" | "capacityCalculator" | "access.doors" | "addPorts" | "adjustYourDevice" | "assignPoeDevices" | "capacityExceeded" | "category.Access Points" | "category.Cameras" | "category.Connect Display" | "category.Door Access" | "category.Talk" | "cloudKeyNote" | "computeResources" | "designCenter.startYourProject" | "designCenter.title" | "device.UDM Pro / SE" | "device.ENVR" | "device.UDM Pro Max" | "device.UNVR" | "device.UNVR Pro" | "device.CloudKey+" | "device.UDW" | "device.UDR" | "device.UDR7" | "device.UX" | "device.EFG" | "device.UCG Max" | "estimatesMayVary" | "network.accessPoints" | "network.adBlocking" | "network.clientsPerAP" | "network.maxFeaturesNote" | "network.qos" | "network.securityDetections" | "network.vpn" | "notAvailable" | "poeCapacity" | "poeConsumer.AC In-Wall" | "poeConsumer.AC Lite" | "poeConsumer.AC Long-Range" | "poeConsumer.AC Mesh" | "poeConsumer.AC Mesh Pro" | "poeConsumer.AC Pro" | "poeConsumer.AI 360" | "poeConsumer.AI Bullet" | "poeConsumer.AI DSLR" | "poeConsumer.AI DSLR LD" | "poeConsumer.AI Pro" | "poeConsumer.AI Theta" | "poeConsumer.Access Hub" | "poeConsumer.Access Reader G2" | "poeConsumer.Access Reader G2 Pro" | "poeConsumer.Access Reader Lite" | "poeConsumer.Analog Telephone Adapter" | "poeConsumer.Building Bridge" | "poeConsumer.Building Bridge XG" | "poeConsumer.Connect Display" | "poeConsumer.G3 Flex" | "poeConsumer.G4 Bullet" | "poeConsumer.G4 Dome" | "poeConsumer.G4 Doorbell Pro PoE Kit" | "poeConsumer.G4 PTZ" | "poeConsumer.G4 Pro" | "poeConsumer.G5 Bullet" | "poeConsumer.G5 Dome" | "poeConsumer.G5 Flex" | "poeConsumer.G5 Pro" | "poeConsumer.G5 Pro with Enhancer" | "poeConsumer.Phone Touch" | "poeConsumer.Phone Touch Max" | "poeConsumer.Protect Floodlight" | "poeConsumer.Protect Viewport" | "poeConsumer.Swiss Army Knife Ultra" | "poeConsumer.U6 Enterprise" | "poeConsumer.U6 Enterprise In-Wall" | "poeConsumer.U6 In-Wall" | "poeConsumer.U6 Lite" | "poeConsumer.U6 Long-Range" | "poeConsumer.U6 Mesh" | "poeConsumer.U6 Pro" | "poeConsumer.U6+" | "poeConsumer.U7 Pro" | "poeConsumer.WiFi BaseStation XG" | "poeConsumer.empty" | "poePowerBudget" | "poeProvider.8 PoE (Gen1)" | "poeProvider.8 PoE, SFP (Gen1)" | "poeProvider.Enterprise 24 PoE" | "poeProvider.Enterprise 48 PoE" | "poeProvider.Enterprise 8 PoE" | "poeProvider.Flex" | "poeProvider.Industrial" | "poeProvider.Lite 16 PoE" | "poeProvider.Lite 8 PoE" | "poeProvider.Mission Critical" | "poeProvider.Pro 24 PoE" | "poeProvider.Pro 48 PoE" | "poeProvider.Pro 8 PoE" | "poeProvider.Pro Max 24 PoE" | "poeProvider.Pro Max 48 PoE" | "poeProvider.Standard 16 PoE" | "poeProvider.Standard 16 PoE (Gen1)" | "poeProvider.Standard 24 PoE" | "poeProvider.Standard 24 PoE (Gen1)" | "poeProvider.Standard 48 PoE" | "poeProvider.Standard 48 PoE (Gen1)" | "poeProvider.Ultra" | "poeProvider.Ultra 210W" | "poeProvider.Ultra 60W" | "poeProvider.XG 6 PoE (Gen1)" | "protect.2kCameras" | "protect.4kCameras" | "protect.CkG2PlusNote" | "protect.DreamWallNote" | "protect.days" | "protect.hdCameras" | "protect.noStorage" | "protect.storageDriveSize" | "protect.storageProtection" | "recommendedPoeSwitches" | "removePorts" | "requirements" | "showLess" | "showMore" | "systemCapacity" | "talk.callRecording" | "talk.phones" | "watts", values?: {
2
+ intl: import("@formatjs/intl").IntlShape<"add" | "network" | "protect" | "talk" | "access" | "portCount" | "ports" | "capacityCalculator" | "access.doors" | "addPorts" | "adjustYourDevice" | "assignPoeDevices" | "capacityExceeded" | "category.Access Points" | "category.Cameras" | "category.Connect Display" | "category.Door Access" | "category.Talk" | "cloudKeyNote" | "computeResources" | "designCenter.startYourProject" | "designCenter.title" | "device.UDM Pro / SE" | "device.ENVR" | "device.UDM Pro Max" | "device.UNVR" | "device.UNVR Pro" | "device.CloudKey+" | "device.UDW" | "device.UDR" | "device.UDR7" | "device.UX" | "device.EFG" | "device.UCG Max" | "device.ucgFiber" | "device.Udr7" | "device.Ux7" | "device.Ux" | "estimatesMayVary" | "network.accessPoints" | "network.adBlocking" | "network.clientsPerAP" | "network.maxFeaturesNote" | "network.qos" | "network.securityDetections" | "network.vpn" | "notAvailable" | "poeCapacity" | "poeConsumer.AC In-Wall" | "poeConsumer.AC Lite" | "poeConsumer.AC Long-Range" | "poeConsumer.AC Mesh" | "poeConsumer.AC Mesh Pro" | "poeConsumer.AC Pro" | "poeConsumer.AI 360" | "poeConsumer.AI Bullet" | "poeConsumer.AI DSLR" | "poeConsumer.AI DSLR LD" | "poeConsumer.AI Pro" | "poeConsumer.AI Theta" | "poeConsumer.Access Hub" | "poeConsumer.Access Reader G2" | "poeConsumer.Access Reader G2 Pro" | "poeConsumer.Access Reader Lite" | "poeConsumer.Analog Telephone Adapter" | "poeConsumer.Building Bridge" | "poeConsumer.Building Bridge XG" | "poeConsumer.Connect Display" | "poeConsumer.G3 Flex" | "poeConsumer.G4 Bullet" | "poeConsumer.G4 Dome" | "poeConsumer.G4 Doorbell Pro PoE Kit" | "poeConsumer.G4 PTZ" | "poeConsumer.G4 Pro" | "poeConsumer.G5 Bullet" | "poeConsumer.G5 Dome" | "poeConsumer.G5 Flex" | "poeConsumer.G5 Pro" | "poeConsumer.G5 Pro with Enhancer" | "poeConsumer.Phone Touch" | "poeConsumer.Phone Touch Max" | "poeConsumer.Protect Floodlight" | "poeConsumer.Protect Viewport" | "poeConsumer.Swiss Army Knife Ultra" | "poeConsumer.U6 Enterprise" | "poeConsumer.U6 Enterprise In-Wall" | "poeConsumer.U6 In-Wall" | "poeConsumer.U6 Lite" | "poeConsumer.U6 Long-Range" | "poeConsumer.U6 Mesh" | "poeConsumer.U6 Pro" | "poeConsumer.U6+" | "poeConsumer.U7 Pro" | "poeConsumer.WiFi BaseStation XG" | "poeConsumer.empty" | "poePowerBudget" | "poeProvider.8 PoE (Gen1)" | "poeProvider.8 PoE, SFP (Gen1)" | "poeProvider.Enterprise 24 PoE" | "poeProvider.Enterprise 48 PoE" | "poeProvider.Enterprise 8 PoE" | "poeProvider.Flex" | "poeProvider.Industrial" | "poeProvider.Lite 16 PoE" | "poeProvider.Lite 8 PoE" | "poeProvider.Mission Critical" | "poeProvider.Pro 24 PoE" | "poeProvider.Pro 48 PoE" | "poeProvider.Pro 8 PoE" | "poeProvider.Pro Max 24 PoE" | "poeProvider.Pro Max 48 PoE" | "poeProvider.Standard 16 PoE" | "poeProvider.Standard 16 PoE (Gen1)" | "poeProvider.Standard 24 PoE" | "poeProvider.Standard 24 PoE (Gen1)" | "poeProvider.Standard 48 PoE" | "poeProvider.Standard 48 PoE (Gen1)" | "poeProvider.Ultra" | "poeProvider.Ultra 210W" | "poeProvider.Ultra 60W" | "poeProvider.XG 6 PoE (Gen1)" | "protect.2kCameras" | "protect.4kCameras" | "protect.CkG2PlusNote" | "protect.DreamWallNote" | "protect.days" | "protect.hdCameras" | "protect.noStorage" | "protect.storageDriveSize" | "protect.storageProtection" | "recommendedPoeSwitches" | "removePorts" | "requirements" | "showLess" | "showMore" | "systemCapacity" | "talk.callRecording" | "talk.phones" | "watts">;
3
+ formatMessage: (id: "add" | "network" | "protect" | "talk" | "access" | "portCount" | "ports" | "capacityCalculator" | "access.doors" | "addPorts" | "adjustYourDevice" | "assignPoeDevices" | "capacityExceeded" | "category.Access Points" | "category.Cameras" | "category.Connect Display" | "category.Door Access" | "category.Talk" | "cloudKeyNote" | "computeResources" | "designCenter.startYourProject" | "designCenter.title" | "device.UDM Pro / SE" | "device.ENVR" | "device.UDM Pro Max" | "device.UNVR" | "device.UNVR Pro" | "device.CloudKey+" | "device.UDW" | "device.UDR" | "device.UDR7" | "device.UX" | "device.EFG" | "device.UCG Max" | "device.ucgFiber" | "device.Udr7" | "device.Ux7" | "device.Ux" | "estimatesMayVary" | "network.accessPoints" | "network.adBlocking" | "network.clientsPerAP" | "network.maxFeaturesNote" | "network.qos" | "network.securityDetections" | "network.vpn" | "notAvailable" | "poeCapacity" | "poeConsumer.AC In-Wall" | "poeConsumer.AC Lite" | "poeConsumer.AC Long-Range" | "poeConsumer.AC Mesh" | "poeConsumer.AC Mesh Pro" | "poeConsumer.AC Pro" | "poeConsumer.AI 360" | "poeConsumer.AI Bullet" | "poeConsumer.AI DSLR" | "poeConsumer.AI DSLR LD" | "poeConsumer.AI Pro" | "poeConsumer.AI Theta" | "poeConsumer.Access Hub" | "poeConsumer.Access Reader G2" | "poeConsumer.Access Reader G2 Pro" | "poeConsumer.Access Reader Lite" | "poeConsumer.Analog Telephone Adapter" | "poeConsumer.Building Bridge" | "poeConsumer.Building Bridge XG" | "poeConsumer.Connect Display" | "poeConsumer.G3 Flex" | "poeConsumer.G4 Bullet" | "poeConsumer.G4 Dome" | "poeConsumer.G4 Doorbell Pro PoE Kit" | "poeConsumer.G4 PTZ" | "poeConsumer.G4 Pro" | "poeConsumer.G5 Bullet" | "poeConsumer.G5 Dome" | "poeConsumer.G5 Flex" | "poeConsumer.G5 Pro" | "poeConsumer.G5 Pro with Enhancer" | "poeConsumer.Phone Touch" | "poeConsumer.Phone Touch Max" | "poeConsumer.Protect Floodlight" | "poeConsumer.Protect Viewport" | "poeConsumer.Swiss Army Knife Ultra" | "poeConsumer.U6 Enterprise" | "poeConsumer.U6 Enterprise In-Wall" | "poeConsumer.U6 In-Wall" | "poeConsumer.U6 Lite" | "poeConsumer.U6 Long-Range" | "poeConsumer.U6 Mesh" | "poeConsumer.U6 Pro" | "poeConsumer.U6+" | "poeConsumer.U7 Pro" | "poeConsumer.WiFi BaseStation XG" | "poeConsumer.empty" | "poePowerBudget" | "poeProvider.8 PoE (Gen1)" | "poeProvider.8 PoE, SFP (Gen1)" | "poeProvider.Enterprise 24 PoE" | "poeProvider.Enterprise 48 PoE" | "poeProvider.Enterprise 8 PoE" | "poeProvider.Flex" | "poeProvider.Industrial" | "poeProvider.Lite 16 PoE" | "poeProvider.Lite 8 PoE" | "poeProvider.Mission Critical" | "poeProvider.Pro 24 PoE" | "poeProvider.Pro 48 PoE" | "poeProvider.Pro 8 PoE" | "poeProvider.Pro Max 24 PoE" | "poeProvider.Pro Max 48 PoE" | "poeProvider.Standard 16 PoE" | "poeProvider.Standard 16 PoE (Gen1)" | "poeProvider.Standard 24 PoE" | "poeProvider.Standard 24 PoE (Gen1)" | "poeProvider.Standard 48 PoE" | "poeProvider.Standard 48 PoE (Gen1)" | "poeProvider.Ultra" | "poeProvider.Ultra 210W" | "poeProvider.Ultra 60W" | "poeProvider.XG 6 PoE (Gen1)" | "protect.2kCameras" | "protect.4kCameras" | "protect.CkG2PlusNote" | "protect.DreamWallNote" | "protect.days" | "protect.hdCameras" | "protect.noStorage" | "protect.storageDriveSize" | "protect.storageProtection" | "recommendedPoeSwitches" | "removePorts" | "requirements" | "showLess" | "showMore" | "systemCapacity" | "talk.callRecording" | "talk.phones" | "watts", values?: {
4
4
  [x: string]: import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>;
5
5
  }) => string;
6
6
  };
@@ -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,3 +1,3 @@
1
- export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const StyledImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const StyledVideo: import("styled-components").StyledComponent<"video", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const Wrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const StyledImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
3
+ export declare const StyledVideo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, never>> & string;
@@ -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, draggable, alignActive, disableScrollToActive, }: 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, draggable, }: 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');
@@ -36,26 +36,24 @@ const ScrollWrapper = function ScrollWrapper2({
36
36
  onScrollChange,
37
37
  enableWheelScroll,
38
38
  arrowIcon,
39
- draggable,
40
- alignActive = "center",
41
- disableScrollToActive
39
+ draggable
42
40
  }) {
43
- const containerRef = React.useRef(null);
41
+ const containerRef = react.useRef(null);
44
42
  const [containerMeasureRef, containerSize] = reactUse.useMeasure();
45
43
  useHorizontalScroll.useHorizontalScroll(containerRef, !!enableWheelScroll);
46
- React.useEffect(() => {
44
+ react.useEffect(() => {
47
45
  if (containerRef.current) {
48
46
  containerMeasureRef(containerRef.current);
49
47
  }
50
48
  }, [containerMeasureRef]);
51
- const getContainerItemWidth = React.useCallback(() => {
49
+ const getContainerItemWidth = react.useCallback(() => {
52
50
  const containerItem = containerRef.current?.querySelector(`.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`);
53
51
  if (!containerItem) {
54
52
  return 0;
55
53
  }
56
54
  return containerItem.getBoundingClientRect().width;
57
55
  }, []);
58
- const getInvisibleItemOffset = React.useCallback(({
56
+ const getInvisibleItemOffset = react.useCallback(({
59
57
  scrollDirection
60
58
  }) => {
61
59
  if (!containerRef.current) {
@@ -113,7 +111,7 @@ const ScrollWrapper = function ScrollWrapper2({
113
111
  }
114
112
  return 0;
115
113
  }, [direction]);
116
- const getVisibleItemsWidth = React.useCallback(() => {
114
+ const getVisibleItemsWidth = react.useCallback(() => {
117
115
  if (!containerRef.current) {
118
116
  return 0;
119
117
  }
@@ -131,7 +129,7 @@ const ScrollWrapper = function ScrollWrapper2({
131
129
  });
132
130
  return visibleItemsWidth;
133
131
  }, [direction, gap]);
134
- const getActiveIndexOffset = React.useCallback(index => {
132
+ const getActiveIndexOffset = react.useCallback(index => {
135
133
  const offset = {
136
134
  left: void 0,
137
135
  top: void 0
@@ -144,16 +142,10 @@ const ScrollWrapper = function ScrollWrapper2({
144
142
  if (actNav) {
145
143
  const actNavRect = actNav.getBoundingClientRect();
146
144
  if (direction === "horizontal") {
147
- if (alignActive === "left") {
148
- if (actNavRect.left < containerRect.left || actNavRect.right > containerRect.right) {
149
- offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft;
150
- }
151
- } else {
152
- if (actNavRect.right > containerRect.right) {
153
- offset.left = actNavRect.right - containerRect.right + containerRef.current.scrollLeft + (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) + containerRect.width / 2 - actNavRect.width / 2;
154
- } else if (actNavRect.left < containerRect.left) {
155
- offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft - (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) - containerRect.width / 2 + actNavRect.width / 2;
156
- }
145
+ if (actNavRect.right > containerRect.right) {
146
+ offset.left = actNavRect.right - containerRect.right + containerRef.current.scrollLeft + (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) + containerRect.width / 2 - actNavRect.width / 2;
147
+ } else if (actNavRect.left < containerRect.left) {
148
+ offset.left = actNavRect.left - containerRect.left + containerRef.current.scrollLeft - (!hideArrows ? ScrollWrapper_styles.FADE_BUTTON_SIZE : 0) - containerRect.width / 2 + actNavRect.width / 2;
157
149
  }
158
150
  } else if (direction === "vertical") {
159
151
  if (actNavRect.bottom > containerRect.bottom) {
@@ -164,15 +156,15 @@ const ScrollWrapper = function ScrollWrapper2({
164
156
  }
165
157
  }
166
158
  return offset;
167
- }, [direction, alignActive, hideArrows]);
159
+ }, [direction, hideArrows]);
168
160
  const {
169
161
  x: refScrollX,
170
162
  y: refScrollY
171
163
  } = reactUse.useScroll(containerRef);
172
164
  const windowSize = reactUse.useWindowSize();
173
- const [scrollX, setScrollX] = React.useState(0);
174
- const [scrollY, setScrollY] = React.useState(0);
175
- React.useEffect(() => {
165
+ const [scrollX, setScrollX] = react.useState(0);
166
+ const [scrollY, setScrollY] = react.useState(0);
167
+ react.useEffect(() => {
176
168
  if (!containerRef.current) return;
177
169
  const initScrollX = containerRef.current.scrollLeft;
178
170
  const initScrollY = containerRef.current.scrollTop;
@@ -184,7 +176,7 @@ const ScrollWrapper = function ScrollWrapper2({
184
176
  scrollWidth: containerRef.current.scrollWidth
185
177
  });
186
178
  }, [onScrollChange]);
187
- React.useEffect(() => {
179
+ react.useEffect(() => {
188
180
  setScrollX(refScrollX);
189
181
  setScrollY(refScrollY);
190
182
  onScrollChange?.({
@@ -197,9 +189,9 @@ const ScrollWrapper = function ScrollWrapper2({
197
189
  windowSize,
198
190
  // #############################################################################
199
191
  onScrollChange, refScrollX, refScrollY]);
200
- const [showFadeStart, setShowFadeStart] = React.useState(false);
201
- const [showFadeEnd, setShowFadeEnd] = React.useState(false);
202
- React.useEffect(() => {
192
+ const [showFadeStart, setShowFadeStart] = react.useState(false);
193
+ const [showFadeEnd, setShowFadeEnd] = react.useState(false);
194
+ react.useEffect(() => {
203
195
  if (!containerRef.current) return;
204
196
  const width = containerRef.current.offsetWidth;
205
197
  const height = containerRef.current.offsetHeight;
@@ -221,7 +213,7 @@ const ScrollWrapper = function ScrollWrapper2({
221
213
  containerSize.width, windowSize,
222
214
  // #############################################################################
223
215
  direction, scrollX, scrollY, items]);
224
- const handleArrowClick = React.useCallback(first => {
216
+ const handleArrowClick = react.useCallback(first => {
225
217
  const container = containerRef.current;
226
218
  if (!container) return;
227
219
  const scrollDirection = first ? -1 : 1;
@@ -278,9 +270,9 @@ const ScrollWrapper = function ScrollWrapper2({
278
270
  behavior: "smooth"
279
271
  });
280
272
  }, [direction, scrollX, scrollY, scrollStepType, gap, getContainerItemWidth, getVisibleItemsWidth, getInvisibleItemOffset]);
281
- React.useEffect(() => {
273
+ react.useEffect(() => {
282
274
  window.setTimeout(() => {
283
- if (!containerRef.current || disableScrollToActive) return;
275
+ if (!containerRef.current) return;
284
276
  if (activeIndex !== void 0 && activeIndex > -1) {
285
277
  const offset = getActiveIndexOffset(activeIndex);
286
278
  if (offset.left !== void 0) {
@@ -297,12 +289,12 @@ const ScrollWrapper = function ScrollWrapper2({
297
289
  });
298
290
  }
299
291
  }, 0);
300
- }, [activeIndex, getActiveIndexOffset, disableScrollToActive]);
301
- const arrowIconSrc = React.useMemo(() => {
292
+ }, [activeIndex, getActiveIndexOffset]);
293
+ const arrowIconSrc = react.useMemo(() => {
302
294
  const icon = arrowIcon?.icon ?? ArrowRightIcon__default["default"];
303
295
  return typeof icon === "string" ? icon : icon.src;
304
296
  }, [arrowIcon]);
305
- React.useEffect(() => {
297
+ react.useEffect(() => {
306
298
  if (!draggable || !containerRef.current) return;
307
299
  const container = containerRef.current;
308
300
  let isDragging = false;
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollWrapper.js","sources":["../../../src/components/ScrollWrapper/ScrollWrapper.tsx"],"sourcesContent":["import { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { useMeasure, useScroll, useWindowSize } from \"react-use\";\n\nimport ArrowRightIcon from \"../../assets/icons/arrowRight.svg\";\nimport { useHorizontalScroll } from \"../../hooks/useHorizontalScroll\";\nimport * as S from \"./ScrollWrapper.styles\";\nimport { FADE_BUTTON_SIZE } from \"./ScrollWrapper.styles\";\nimport type { ScrollWrapperProps } from \"./ScrollWrapper.types\";\n\nconst SCROLL_CONTAINER_ITEM_CLASS_NAME = \"scroll-container-item\";\n\nconst NEAR_BOUNDARY_WIDTH = 10;\n\nexport const ScrollWrapper = function ScrollWrapper({\n align,\n direction,\n items,\n fillType,\n fillColor,\n accentColor,\n arrowColor,\n scrollStepType = \"scrollScreen\",\n gap,\n className,\n arrowFadeColor,\n activeIndex,\n circleArrowBackground,\n arrowGap,\n gradientSize,\n hideArrows,\n onScrollChange,\n enableWheelScroll,\n arrowIcon,\n draggable,\n alignActive = \"center\",\n disableScrollToActive,\n}: ScrollWrapperProps) {\n // #############################################################################\n // Container ref\n // #############################################################################\n const containerRef = useRef<null | HTMLDivElement>(null);\n const [containerMeasureRef, containerSize] = useMeasure<HTMLDivElement>();\n\n useHorizontalScroll(containerRef, !!enableWheelScroll);\n\n // Set measure ref\n useEffect(() => {\n if (containerRef.current) {\n containerMeasureRef(containerRef.current);\n }\n }, [containerMeasureRef]);\n\n const getContainerItemWidth = useCallback((): number => {\n const containerItem = containerRef.current?.querySelector(\n `.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`,\n );\n\n if (!containerItem) {\n return 0;\n }\n\n return containerItem.getBoundingClientRect().width;\n }, []);\n\n const getInvisibleItemOffset = useCallback(\n ({ scrollDirection }: { scrollDirection: 1 | -1 }): number => {\n if (!containerRef.current) {\n return 0; // If container is not available, return 0\n }\n\n const container = containerRef.current;\n const items = container.querySelectorAll(\n `.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`,\n );\n const containerRect = container.getBoundingClientRect();\n const isHorizontal = direction === \"horizontal\";\n\n // Offset for gradient element, as it covers the last item\n const fadeSize = 20;\n\n if (isHorizontal) {\n const padding =\n scrollDirection === 1\n ? parseFloat(window.getComputedStyle(container)[\"paddingRight\"])\n : parseFloat(window.getComputedStyle(container)[\"paddingLeft\"]);\n const offset = Math.max(padding, fadeSize);\n const containerEdgeWithoutPadding =\n scrollDirection === 1\n ? containerRect[\"right\"] - offset\n : containerRect[\"left\"] + offset;\n\n if (scrollDirection === 1) {\n for (const item of Array.from(items)) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible horizontally\n if (itemRect.right > containerEdgeWithoutPadding) {\n return Math.abs(itemRect.right - containerEdgeWithoutPadding);\n }\n }\n } else {\n for (let i = items.length - 1; i >= 0; i--) {\n const item = items[i];\n if (item) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible horizontally\n if (itemRect.left < containerEdgeWithoutPadding) {\n return Math.abs(containerEdgeWithoutPadding - itemRect.left);\n }\n }\n }\n }\n } else {\n const padding =\n scrollDirection === 1\n ? parseFloat(window.getComputedStyle(container)[\"paddingBottom\"])\n : parseFloat(window.getComputedStyle(container)[\"paddingTop\"]);\n const offset = Math.max(padding, fadeSize);\n\n const containerEdgeWithoutPadding =\n scrollDirection === 1\n ? containerRect[\"bottom\"] - offset\n : containerRect[\"top\"] + offset;\n\n if (scrollDirection === 1) {\n for (const item of Array.from(items)) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible vertically\n if (itemRect.bottom > containerEdgeWithoutPadding) {\n return Math.abs(itemRect.bottom - containerEdgeWithoutPadding);\n }\n }\n } else {\n for (let i = items.length - 1; i >= 0; i--) {\n const item = items[i];\n if (item) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible vertically\n if (itemRect.top < containerEdgeWithoutPadding) {\n return Math.abs(containerEdgeWithoutPadding - itemRect.top);\n }\n }\n }\n }\n }\n\n // If all items are fully visible, return 0\n return 0;\n },\n [direction],\n );\n\n const getVisibleItemsWidth = useCallback((): number => {\n if (!containerRef.current) {\n return 0;\n }\n\n const containerRect = containerRef.current.getBoundingClientRect();\n const containerItems = containerRef.current.querySelectorAll(\n `.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`,\n );\n\n let visibleItemsWidth = 0;\n\n containerItems.forEach((item) => {\n const itemRect = item.getBoundingClientRect();\n\n if (\n (direction === \"horizontal\" &&\n itemRect.left >= containerRect.left &&\n itemRect.right <= containerRect.right) ||\n (direction === \"vertical\" &&\n itemRect.top >= containerRect.top &&\n itemRect.bottom <= containerRect.bottom)\n ) {\n // Do not add gap for first item because gaps should always be \"gaps = items - 1\"\n if (visibleItemsWidth !== 0 && gap !== undefined) {\n visibleItemsWidth += gap;\n }\n\n visibleItemsWidth +=\n direction === \"horizontal\" ? itemRect.width : itemRect.height;\n }\n });\n\n return visibleItemsWidth;\n }, [direction, gap]);\n\n const getActiveIndexOffset = useCallback(\n (index: number): { left: number | undefined; top: number | undefined } => {\n const offset: { left: undefined | number; top: undefined | number } = {\n left: undefined,\n top: undefined,\n };\n if (!containerRef.current) {\n return offset;\n }\n\n const containerRect = containerRef.current.getBoundingClientRect();\n const actNav = containerRef.current.children[index] as HTMLElement;\n\n if (actNav) {\n const actNavRect = actNav.getBoundingClientRect();\n\n if (direction === \"horizontal\") {\n if (alignActive === \"left\") {\n // Align active item to the left\n if (\n actNavRect.left < containerRect.left ||\n actNavRect.right > containerRect.right\n ) {\n offset.left =\n actNavRect.left -\n containerRect.left +\n containerRef.current.scrollLeft;\n }\n } else {\n // Default behavior: Align active item to the center\n if (actNavRect.right > containerRect.right) {\n offset.left =\n actNavRect.right -\n containerRect.right +\n containerRef.current.scrollLeft +\n (!hideArrows ? FADE_BUTTON_SIZE : 0) +\n containerRect.width / 2 -\n actNavRect.width / 2;\n } else if (actNavRect.left < containerRect.left) {\n offset.left =\n actNavRect.left -\n containerRect.left +\n containerRef.current.scrollLeft -\n (!hideArrows ? FADE_BUTTON_SIZE : 0) -\n containerRect.width / 2 +\n actNavRect.width / 2;\n }\n }\n } else if (direction === \"vertical\") {\n if (actNavRect.bottom > containerRect.bottom) {\n offset.top =\n actNavRect.bottom -\n containerRect.bottom +\n containerRef.current.scrollTop +\n (!hideArrows ? FADE_BUTTON_SIZE : 0);\n } else if (actNavRect.top < containerRect.top) {\n offset.top =\n actNavRect.top -\n containerRect.top +\n containerRef.current.scrollTop +\n (!hideArrows ? FADE_BUTTON_SIZE : 0);\n }\n }\n }\n\n return offset;\n },\n [direction, alignActive, hideArrows],\n );\n\n // #############################################################################\n // Handle scrolling\n // #############################################################################\n const { x: refScrollX, y: refScrollY } = useScroll(containerRef);\n // Keep track of window size to detect resize\n const windowSize = useWindowSize();\n\n // Keep track of the current scroll position and size\n // State is needed due to initial not being tracked by useScroll\n const [scrollX, setScrollX] = useState(0);\n const [scrollY, setScrollY] = useState(0);\n\n // Set initial data\n useEffect(() => {\n if (!containerRef.current) return;\n\n const initScrollX = containerRef.current.scrollLeft;\n const initScrollY = containerRef.current.scrollTop;\n\n setScrollX(initScrollX);\n setScrollY(initScrollY);\n\n onScrollChange?.({\n scrollX: initScrollX,\n scrollY: initScrollY,\n scrollWidth: containerRef.current.scrollWidth,\n });\n }, [onScrollChange]);\n\n // Set scroll positions on scroll and resize\n useEffect(() => {\n setScrollX(refScrollX);\n setScrollY(refScrollY);\n\n onScrollChange?.({\n scrollX: refScrollX,\n scrollY: refScrollY,\n scrollWidth: containerRef.current?.scrollWidth ?? 0,\n });\n }, [\n // HACK: needed windowSize to retrigger the effect\n windowSize,\n // #############################################################################\n onScrollChange,\n refScrollX,\n refScrollY,\n ]);\n\n // #############################################################################\n // Parse fade display state\n // #############################################################################\n const [showFadeStart, setShowFadeStart] = useState(false);\n const [showFadeEnd, setShowFadeEnd] = useState(false);\n\n useEffect(() => {\n if (!containerRef.current) return;\n\n const width = containerRef.current.offsetWidth;\n const height = containerRef.current.offsetHeight;\n const scrollWidth = containerRef.current.scrollWidth;\n const scrollHeight = containerRef.current.scrollHeight;\n\n // 1px added to fix issue with 1 pixel (sometimes arrow doesn't disappear when it should)\n // happens only when scroll behavior is smooth\n const scrollXFixOffset = 1;\n\n switch (direction) {\n case \"horizontal\":\n setShowFadeStart(scrollX > 0);\n\n setShowFadeEnd(\n Math.ceil(scrollX + scrollXFixOffset) < scrollWidth - width,\n );\n break;\n case \"vertical\":\n setShowFadeStart(scrollY > 0);\n setShowFadeEnd(\n Math.ceil(scrollY + scrollXFixOffset) < scrollHeight - height,\n );\n break;\n }\n }, [\n // HACK: needed windowSize, containerSize.width to retrigger the effect\n containerSize.width,\n windowSize,\n // #############################################################################\n direction,\n scrollX,\n scrollY,\n items,\n ]);\n\n // #############################################################################\n // Handle arrow click scroll\n // #############################################################################\n const handleArrowClick = useCallback(\n (first: boolean) => {\n // Ensure the container reference is available\n const container = containerRef.current;\n if (!container) return;\n\n // Determine the scroll direction based on the `first` parameter\n const scrollDirection = first ? -1 : 1;\n\n // Destructure properties from the container for ease of use\n const {\n scrollWidth,\n scrollHeight,\n offsetWidth,\n offsetHeight,\n clientWidth,\n } = container;\n\n // Determine if the scrolling direction is horizontal or vertical\n const isHorizontal = direction === \"horizontal\";\n const scrollPosition = isHorizontal ? scrollX : scrollY;\n const scrollSize = isHorizontal ? scrollWidth : scrollHeight;\n\n // Calculate the scroll step based on the scrollStepType\n let scrollStep = 0;\n switch (scrollStepType) {\n case \"scrollScreen\":\n scrollStep = isHorizontal ? offsetWidth : offsetHeight;\n break;\n case \"itemWidth\":\n scrollStep = getContainerItemWidth();\n break;\n case \"visibleItemsWidth\":\n scrollStep = getVisibleItemsWidth();\n break;\n case \"nextItem\":\n scrollStep = getInvisibleItemOffset({\n scrollDirection,\n });\n break;\n }\n\n // Calculate the new scroll position\n const newScrollPosition =\n scrollPosition + scrollDirection * (scrollStep + (gap ?? 0));\n\n // Ensure the new scroll position is within bounds\n const newScrollPositionWithinBounds = Math.max(\n 0,\n Math.min(scrollSize - scrollStep, newScrollPosition),\n );\n\n // Calculate the possible scroll amount\n const possibleScroll = scrollSize - clientWidth;\n const nearBoundary = NEAR_BOUNDARY_WIDTH;\n\n // Scroll to the beginning if the new position is near the start\n if (newScrollPosition < nearBoundary || newScrollPosition < 0) {\n container.scrollTo({\n left: 0,\n top: 0,\n behavior: \"smooth\",\n });\n return;\n }\n\n // Scroll to the end if the new position is near the end\n if (\n possibleScroll - newScrollPosition < nearBoundary ||\n newScrollPosition > possibleScroll\n ) {\n container.scrollTo({\n left: possibleScroll,\n top: possibleScroll,\n behavior: \"smooth\",\n });\n return;\n }\n\n // Smooth scroll to the new position within bounds\n container.scrollTo({\n left: isHorizontal ? newScrollPositionWithinBounds : undefined,\n top: !isHorizontal ? newScrollPositionWithinBounds : undefined,\n behavior: \"smooth\",\n });\n },\n [\n direction,\n scrollX,\n scrollY,\n scrollStepType,\n gap,\n getContainerItemWidth,\n getVisibleItemsWidth,\n getInvisibleItemOffset,\n ],\n );\n\n // #############################################################################\n // Scroll to start or active index on mount\n // #############################################################################\n useEffect(() => {\n window.setTimeout(() => {\n if (!containerRef.current || disableScrollToActive) return;\n\n // Scroll into view, if activeIndex is provided\n if (activeIndex !== undefined && activeIndex > -1) {\n const offset = getActiveIndexOffset(activeIndex);\n\n if (offset.left !== undefined) {\n containerRef.current.scrollLeft = offset.left;\n }\n if (offset.top !== undefined) {\n containerRef.current.scrollTop = offset.top;\n }\n } else {\n containerRef.current.scrollTo({\n left: 0,\n top: 0,\n behavior: \"smooth\",\n });\n }\n }, 0);\n }, [activeIndex, getActiveIndexOffset, disableScrollToActive]);\n\n // #############################################################################\n // Arrow icon\n // #############################################################################\n const arrowIconSrc = useMemo(() => {\n const icon = arrowIcon?.icon ?? ArrowRightIcon;\n\n return typeof icon === \"string\" ? icon : icon.src;\n }, [arrowIcon]);\n\n // #############################################################################\n // Handle drag scroll\n // #############################################################################\n useEffect(() => {\n if (!draggable || !containerRef.current) return;\n\n const container = containerRef.current;\n let isDragging = false;\n let hasDragged = false;\n let startX = 0;\n let startY = 0;\n let scrollLeft = 0;\n let scrollTop = 0;\n\n const onPointerDown = (e: PointerEvent) => {\n if (e.pointerType !== \"mouse\" || e.buttons !== 1) return;\n\n isDragging = true;\n hasDragged = false;\n startX = e.pageX - container.offsetLeft;\n startY = e.pageY - container.offsetTop;\n scrollLeft = container.scrollLeft;\n scrollTop = container.scrollTop;\n document.body.style.cursor = \"grabbing\";\n container.style.cursor = \"grabbing\";\n };\n\n const onPointerMove = (e: PointerEvent) => {\n if (e.pointerType !== \"mouse\") return;\n\n if (!isDragging) return;\n\n e.preventDefault();\n hasDragged = true;\n\n const walkMultiplier = 1; // Adjust the multiplier for faster/slower scrolling\n\n const x = e.pageX - container.offsetLeft;\n const y = e.pageY - container.offsetTop;\n const walkX = (x - startX) * walkMultiplier;\n const walkY = (y - startY) * walkMultiplier;\n container.scrollLeft = scrollLeft - walkX;\n container.scrollTop = scrollTop - walkY;\n };\n\n const onPointerUp = (e: PointerEvent) => {\n if (e.pointerType !== \"mouse\") return;\n\n isDragging = false;\n document.body.style.cursor = \"unset\";\n container.style.cursor = \"unset\";\n };\n\n const onVisibilityChange = () => {\n isDragging = false;\n document.body.style.cursor = \"unset\";\n container.style.cursor = \"unset\";\n hasDragged = false;\n };\n\n const onClick = (e: MouseEvent) => {\n if (hasDragged) {\n e.preventDefault(); // Prevents anchor tag from navigating if dragging occurred\n e.stopPropagation();\n }\n };\n\n container.addEventListener(\"pointerdown\", onPointerDown);\n document.addEventListener(\"pointermove\", onPointerMove);\n document.addEventListener(\"pointerup\", onPointerUp);\n\n document.addEventListener(\"visibilitychange\", onVisibilityChange);\n\n // Prevent clicks on anchor tags after dragging\n container.querySelectorAll(\"a\").forEach((anchor) => {\n anchor.addEventListener(\"click\", onClick);\n });\n\n return () => {\n container.removeEventListener(\"pointerdown\", onPointerDown);\n document.removeEventListener(\"pointermove\", onPointerMove);\n document.removeEventListener(\"pointerup\", onPointerUp);\n\n document.removeEventListener(\"visibilitychange\", onVisibilityChange);\n\n container.querySelectorAll(\"a\").forEach((anchor) => {\n anchor.removeEventListener(\"click\", onClick);\n });\n };\n }, [draggable]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.OuterContainer\n $align={align}\n $direction={direction}\n $showFadeStart={showFadeStart}\n $showFadeEnd={showFadeEnd}\n $fillType={fillType}\n $fillColor={fillColor}\n $gradientSize={gradientSize}\n className={className}\n >\n <S.ScrollContainer ref={containerRef} $direction={direction} $gap={gap}>\n {items.map((item, i) => (\n <S.Item\n key={item.id + i}\n className={SCROLL_CONTAINER_ITEM_CLASS_NAME}\n $draggable={!!draggable}\n >\n {item.render()}\n </S.Item>\n ))}\n </S.ScrollContainer>\n\n <S.LeftArrowIcon\n $show={showFadeStart && !hideArrows}\n $first\n $fillType={fillType}\n $fillColor={fillColor}\n $accentColor={accentColor}\n $direction={direction}\n $arrowFadeColor={arrowFadeColor}\n $circleArrowBackground={circleArrowBackground}\n onClick={() => handleArrowClick(true)}\n $arrowGap={arrowGap}\n >\n <S.ArrowIconSvg\n $arrowColor={arrowColor}\n width={arrowIcon?.width ?? (circleArrowBackground ? 10 : 8)}\n height={arrowIcon?.height ?? (circleArrowBackground ? 16 : 13)}\n src={arrowIconSrc}\n />\n </S.LeftArrowIcon>\n\n <S.RightArrowIcon\n $show={showFadeEnd && !hideArrows}\n $fillType={fillType}\n $fillColor={fillColor}\n $accentColor={accentColor}\n $direction={direction}\n $arrowFadeColor={arrowFadeColor}\n $circleArrowBackground={circleArrowBackground}\n onClick={() => handleArrowClick(false)}\n $arrowGap={arrowGap}\n >\n <S.ArrowIconSvg\n $arrowColor={arrowColor}\n width={arrowIcon?.width ?? (circleArrowBackground ? 10 : 8)}\n height={arrowIcon?.height ?? (circleArrowBackground ? 16 : 13)}\n src={arrowIconSrc}\n />\n </S.RightArrowIcon>\n </S.OuterContainer>\n );\n};\n"],"names":["SCROLL_CONTAINER_ITEM_CLASS_NAME","NEAR_BOUNDARY_WIDTH","ScrollWrapper","ScrollWrapper2","align","direction","items","fillType","fillColor","accentColor","arrowColor","scrollStepType","gap","className","arrowFadeColor","activeIndex","circleArrowBackground","arrowGap","gradientSize","hideArrows","onScrollChange","enableWheelScroll","arrowIcon","draggable","alignActive","disableScrollToActive","containerRef","useRef","containerMeasureRef","containerSize","useMeasure","useHorizontalScroll","useEffect","current","getContainerItemWidth","useCallback","containerItem","querySelector","getBoundingClientRect","width","getInvisibleItemOffset","scrollDirection","container","querySelectorAll","containerRect","isHorizontal","fadeSize","padding","parseFloat","window","getComputedStyle","offset","Math","max","containerEdgeWithoutPadding","item","Array","from","itemRect","right","abs","i","length","left","bottom","top","getVisibleItemsWidth","containerItems","visibleItemsWidth","forEach","height","getActiveIndexOffset","index","actNav","children","actNavRect","scrollLeft","FADE_BUTTON_SIZE","scrollTop","x","refScrollX","y","refScrollY","useScroll","windowSize","useWindowSize","scrollX","setScrollX","useState","scrollY","setScrollY","initScrollX","initScrollY","scrollWidth","showFadeStart","setShowFadeStart","showFadeEnd","setShowFadeEnd","offsetWidth","offsetHeight","scrollHeight","scrollXFixOffset","ceil","handleArrowClick","first","clientWidth","scrollPosition","scrollSize","scrollStep","newScrollPosition","newScrollPositionWithinBounds","min","possibleScroll","nearBoundary","scrollTo","behavior","setTimeout","arrowIconSrc","useMemo","icon","ArrowRightIcon","src","isDragging","hasDragged","startX","startY","onPointerDown","e","pointerType","buttons","pageX","offsetLeft","pageY","offsetTop","document","body","style","cursor","onPointerMove","preventDefault","walkMultiplier","walkX","walkY","onPointerUp","onVisibilityChange","onClick","stopPropagation","addEventListener","anchor","removeEventListener","jsxs","S.OuterContainer","OuterContainer","$align","$direction","$showFadeStart","$showFadeEnd","$fillType","$fillColor","$gradientSize","jsx","S.ScrollContainer","ScrollContainer","ref","$gap","map","S.Item","Item","$draggable","render","id","S.LeftArrowIcon","LeftArrowIcon","$show","$first","$accentColor","$arrowFadeColor","$circleArrowBackground","$arrowGap","S.ArrowIconSvg","ArrowIconSvg","$arrowColor","S.RightArrowIcon","RightArrowIcon"],"mappings":";;;;;;;;;;;;;;;;AASA,MAAMA,gCAAmC,GAAA,uBAAA;AAEzC,MAAMC,mBAAsB,GAAA,EAAA;AAEf,MAAAC,aAAA,GAAgB,SAASA,cAAcC,CAAA;EAClDC,KAAA;EACAC,SAAA;EACAC,KAAA;EACAC,QAAA;EACAC,SAAA;EACAC,WAAA;EACAC,UAAA;EACAC,cAAiB,GAAA,cAAA;EACjBC,GAAA;EACAC,SAAA;EACAC,cAAA;EACAC,WAAA;EACAC,qBAAA;EACAC,QAAA;EACAC,YAAA;EACAC,UAAA;EACAC,cAAA;EACAC,iBAAA;EACAC,SAAA;EACAC,SAAA;EACAC,WAAc,GAAA,QAAA;EACdC;AACF,CAAuB,EAAA;EAIf,MAAAC,YAAA,GAAeC,aAA8B,IAAI,CAAA;EACvD,MAAM,CAACC,mBAAA,EAAqBC,aAAa,CAAA,GAAIC,QAA2B,CAAAA,UAAA,CAAA,CAAA;EAEpDC,mBAAAA,CAAAA,mBAAA,CAAAL,YAAA,EAAc,CAAC,CA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,SAAA,EAAWiB,KAAU,KAAAvB,qBAAA,GAAwB,EAAK,GAAA,CAAA,CAAA;QACzDsD,MAAQ,EAAAhD,SAAA,EAAWgD,MAAW,KAAAtD,qBAAA,GAAwB,EAAK,GAAA,EAAA,CAAA;QAC3DyG,GAAK,EAAAJ;MAAA,CACP;IAAA,CACF,CAAA;EAAA,CAAA,CACF;AAEJ,CAAA;"}
1
+ {"version":3,"file":"ScrollWrapper.js","sources":["../../../src/components/ScrollWrapper/ScrollWrapper.tsx"],"sourcesContent":["import { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { useMeasure, useScroll, useWindowSize } from \"react-use\";\n\nimport ArrowRightIcon from \"../../assets/icons/arrowRight.svg\";\nimport { useHorizontalScroll } from \"../../hooks/useHorizontalScroll\";\nimport * as S from \"./ScrollWrapper.styles\";\nimport { FADE_BUTTON_SIZE } from \"./ScrollWrapper.styles\";\nimport type { ScrollWrapperProps } from \"./ScrollWrapper.types\";\n\nconst SCROLL_CONTAINER_ITEM_CLASS_NAME = \"scroll-container-item\";\n\nconst NEAR_BOUNDARY_WIDTH = 10;\n\nexport const ScrollWrapper = function ScrollWrapper({\n align,\n direction,\n items,\n fillType,\n fillColor,\n accentColor,\n arrowColor,\n scrollStepType = \"scrollScreen\",\n gap,\n className,\n arrowFadeColor,\n activeIndex,\n circleArrowBackground,\n arrowGap,\n gradientSize,\n hideArrows,\n onScrollChange,\n enableWheelScroll,\n arrowIcon,\n draggable,\n}: ScrollWrapperProps) {\n // #############################################################################\n // Container ref\n // #############################################################################\n const containerRef = useRef<null | HTMLDivElement>(null);\n const [containerMeasureRef, containerSize] = useMeasure<HTMLDivElement>();\n\n useHorizontalScroll(containerRef, !!enableWheelScroll);\n\n // Set measure ref\n useEffect(() => {\n if (containerRef.current) {\n containerMeasureRef(containerRef.current);\n }\n }, [containerMeasureRef]);\n\n const getContainerItemWidth = useCallback((): number => {\n const containerItem = containerRef.current?.querySelector(\n `.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`,\n );\n\n if (!containerItem) {\n return 0;\n }\n\n return containerItem.getBoundingClientRect().width;\n }, []);\n\n const getInvisibleItemOffset = useCallback(\n ({ scrollDirection }: { scrollDirection: 1 | -1 }): number => {\n if (!containerRef.current) {\n return 0; // If container is not available, return 0\n }\n\n const container = containerRef.current;\n const items = container.querySelectorAll(\n `.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`,\n );\n const containerRect = container.getBoundingClientRect();\n const isHorizontal = direction === \"horizontal\";\n\n // Offset for gradient element, as it covers the last item\n const fadeSize = 20;\n\n if (isHorizontal) {\n const padding =\n scrollDirection === 1\n ? parseFloat(window.getComputedStyle(container)[\"paddingRight\"])\n : parseFloat(window.getComputedStyle(container)[\"paddingLeft\"]);\n const offset = Math.max(padding, fadeSize);\n const containerEdgeWithoutPadding =\n scrollDirection === 1\n ? containerRect[\"right\"] - offset\n : containerRect[\"left\"] + offset;\n\n if (scrollDirection === 1) {\n for (const item of Array.from(items)) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible horizontally\n if (itemRect.right > containerEdgeWithoutPadding) {\n return Math.abs(itemRect.right - containerEdgeWithoutPadding);\n }\n }\n } else {\n for (let i = items.length - 1; i >= 0; i--) {\n const item = items[i];\n if (item) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible horizontally\n if (itemRect.left < containerEdgeWithoutPadding) {\n return Math.abs(containerEdgeWithoutPadding - itemRect.left);\n }\n }\n }\n }\n } else {\n const padding =\n scrollDirection === 1\n ? parseFloat(window.getComputedStyle(container)[\"paddingBottom\"])\n : parseFloat(window.getComputedStyle(container)[\"paddingTop\"]);\n const offset = Math.max(padding, fadeSize);\n\n const containerEdgeWithoutPadding =\n scrollDirection === 1\n ? containerRect[\"bottom\"] - offset\n : containerRect[\"top\"] + offset;\n\n if (scrollDirection === 1) {\n for (const item of Array.from(items)) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible vertically\n if (itemRect.bottom > containerEdgeWithoutPadding) {\n return Math.abs(itemRect.bottom - containerEdgeWithoutPadding);\n }\n }\n } else {\n for (let i = items.length - 1; i >= 0; i--) {\n const item = items[i];\n if (item) {\n const itemRect = item.getBoundingClientRect();\n // Check if item is partially or fully invisible vertically\n if (itemRect.top < containerEdgeWithoutPadding) {\n return Math.abs(containerEdgeWithoutPadding - itemRect.top);\n }\n }\n }\n }\n }\n\n // If all items are fully visible, return 0\n return 0;\n },\n [direction],\n );\n\n const getVisibleItemsWidth = useCallback((): number => {\n if (!containerRef.current) {\n return 0;\n }\n\n const containerRect = containerRef.current.getBoundingClientRect();\n const containerItems = containerRef.current.querySelectorAll(\n `.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`,\n );\n\n let visibleItemsWidth = 0;\n\n containerItems.forEach((item) => {\n const itemRect = item.getBoundingClientRect();\n\n if (\n (direction === \"horizontal\" &&\n itemRect.left >= containerRect.left &&\n itemRect.right <= containerRect.right) ||\n (direction === \"vertical\" &&\n itemRect.top >= containerRect.top &&\n itemRect.bottom <= containerRect.bottom)\n ) {\n // Do not add gap for first item because gaps should always be \"gaps = items - 1\"\n if (visibleItemsWidth !== 0 && gap !== undefined) {\n visibleItemsWidth += gap;\n }\n\n visibleItemsWidth +=\n direction === \"horizontal\" ? itemRect.width : itemRect.height;\n }\n });\n\n return visibleItemsWidth;\n }, [direction, gap]);\n\n const getActiveIndexOffset = useCallback(\n (index: number): { left: number | undefined; top: number | undefined } => {\n const offset: { left: undefined | number; top: undefined | number } = {\n left: undefined,\n top: undefined,\n };\n if (!containerRef.current) {\n return offset;\n }\n\n const containerRect = containerRef.current.getBoundingClientRect();\n const actNav = containerRef.current.children[index] as HTMLElement;\n\n if (actNav) {\n const actNavRect = actNav.getBoundingClientRect();\n\n if (direction === \"horizontal\") {\n if (actNavRect.right > containerRect.right) {\n offset.left =\n actNavRect.right -\n containerRect.right +\n containerRef.current.scrollLeft +\n (!hideArrows ? FADE_BUTTON_SIZE : 0) +\n containerRect.width / 2 -\n actNavRect.width / 2;\n } else if (actNavRect.left < containerRect.left) {\n offset.left =\n actNavRect.left -\n containerRect.left +\n containerRef.current.scrollLeft -\n (!hideArrows ? FADE_BUTTON_SIZE : 0) -\n containerRect.width / 2 +\n actNavRect.width / 2;\n }\n } else if (direction === \"vertical\") {\n if (actNavRect.bottom > containerRect.bottom) {\n offset.top =\n actNavRect.bottom -\n containerRect.bottom +\n containerRef.current.scrollTop +\n (!hideArrows ? FADE_BUTTON_SIZE : 0);\n } else if (actNavRect.top < containerRect.top) {\n offset.top =\n actNavRect.top -\n containerRect.top +\n containerRef.current.scrollTop +\n (!hideArrows ? FADE_BUTTON_SIZE : 0);\n }\n }\n }\n return offset;\n },\n [direction, hideArrows],\n );\n\n // #############################################################################\n // Handle scrolling\n // #############################################################################\n const { x: refScrollX, y: refScrollY } = useScroll(containerRef);\n // Keep track of window size to detect resize\n const windowSize = useWindowSize();\n\n // Keep track of the current scroll position and size\n // State is needed due to initial not being tracked by useScroll\n const [scrollX, setScrollX] = useState(0);\n const [scrollY, setScrollY] = useState(0);\n\n // Set initial data\n useEffect(() => {\n if (!containerRef.current) return;\n\n const initScrollX = containerRef.current.scrollLeft;\n const initScrollY = containerRef.current.scrollTop;\n\n setScrollX(initScrollX);\n setScrollY(initScrollY);\n\n onScrollChange?.({\n scrollX: initScrollX,\n scrollY: initScrollY,\n scrollWidth: containerRef.current.scrollWidth,\n });\n }, [onScrollChange]);\n\n // Set scroll positions on scroll and resize\n useEffect(() => {\n setScrollX(refScrollX);\n setScrollY(refScrollY);\n\n onScrollChange?.({\n scrollX: refScrollX,\n scrollY: refScrollY,\n scrollWidth: containerRef.current?.scrollWidth ?? 0,\n });\n }, [\n // HACK: needed windowSize to retrigger the effect\n windowSize,\n // #############################################################################\n onScrollChange,\n refScrollX,\n refScrollY,\n ]);\n\n // #############################################################################\n // Parse fade display state\n // #############################################################################\n const [showFadeStart, setShowFadeStart] = useState(false);\n const [showFadeEnd, setShowFadeEnd] = useState(false);\n\n useEffect(() => {\n if (!containerRef.current) return;\n\n const width = containerRef.current.offsetWidth;\n const height = containerRef.current.offsetHeight;\n const scrollWidth = containerRef.current.scrollWidth;\n const scrollHeight = containerRef.current.scrollHeight;\n\n // 1px added to fix issue with 1 pixel (sometimes arrow doesn't disappear when it should)\n // happens only when scroll behavior is smooth\n const scrollXFixOffset = 1;\n\n switch (direction) {\n case \"horizontal\":\n setShowFadeStart(scrollX > 0);\n\n setShowFadeEnd(\n Math.ceil(scrollX + scrollXFixOffset) < scrollWidth - width,\n );\n break;\n case \"vertical\":\n setShowFadeStart(scrollY > 0);\n setShowFadeEnd(\n Math.ceil(scrollY + scrollXFixOffset) < scrollHeight - height,\n );\n break;\n }\n }, [\n // HACK: needed windowSize, containerSize.width to retrigger the effect\n containerSize.width,\n windowSize,\n // #############################################################################\n direction,\n scrollX,\n scrollY,\n items,\n ]);\n\n // #############################################################################\n // Handle arrow click scroll\n // #############################################################################\n const handleArrowClick = useCallback(\n (first: boolean) => {\n // Ensure the container reference is available\n const container = containerRef.current;\n if (!container) return;\n\n // Determine the scroll direction based on the `first` parameter\n const scrollDirection = first ? -1 : 1;\n\n // Destructure properties from the container for ease of use\n const {\n scrollWidth,\n scrollHeight,\n offsetWidth,\n offsetHeight,\n clientWidth,\n } = container;\n\n // Determine if the scrolling direction is horizontal or vertical\n const isHorizontal = direction === \"horizontal\";\n const scrollPosition = isHorizontal ? scrollX : scrollY;\n const scrollSize = isHorizontal ? scrollWidth : scrollHeight;\n\n // Calculate the scroll step based on the scrollStepType\n let scrollStep = 0;\n switch (scrollStepType) {\n case \"scrollScreen\":\n scrollStep = isHorizontal ? offsetWidth : offsetHeight;\n break;\n case \"itemWidth\":\n scrollStep = getContainerItemWidth();\n break;\n case \"visibleItemsWidth\":\n scrollStep = getVisibleItemsWidth();\n break;\n case \"nextItem\":\n scrollStep = getInvisibleItemOffset({\n scrollDirection,\n });\n break;\n }\n\n // Calculate the new scroll position\n const newScrollPosition =\n scrollPosition + scrollDirection * (scrollStep + (gap ?? 0));\n\n // Ensure the new scroll position is within bounds\n const newScrollPositionWithinBounds = Math.max(\n 0,\n Math.min(scrollSize - scrollStep, newScrollPosition),\n );\n\n // Calculate the possible scroll amount\n const possibleScroll = scrollSize - clientWidth;\n const nearBoundary = NEAR_BOUNDARY_WIDTH;\n\n // Scroll to the beginning if the new position is near the start\n if (newScrollPosition < nearBoundary || newScrollPosition < 0) {\n container.scrollTo({\n left: 0,\n top: 0,\n behavior: \"smooth\",\n });\n return;\n }\n\n // Scroll to the end if the new position is near the end\n if (\n possibleScroll - newScrollPosition < nearBoundary ||\n newScrollPosition > possibleScroll\n ) {\n container.scrollTo({\n left: possibleScroll,\n top: possibleScroll,\n behavior: \"smooth\",\n });\n return;\n }\n\n // Smooth scroll to the new position within bounds\n container.scrollTo({\n left: isHorizontal ? newScrollPositionWithinBounds : undefined,\n top: !isHorizontal ? newScrollPositionWithinBounds : undefined,\n behavior: \"smooth\",\n });\n },\n [\n direction,\n scrollX,\n scrollY,\n scrollStepType,\n gap,\n getContainerItemWidth,\n getVisibleItemsWidth,\n getInvisibleItemOffset,\n ],\n );\n\n // #############################################################################\n // Scroll to start or active index on mount\n // #############################################################################\n useEffect(() => {\n window.setTimeout(() => {\n if (!containerRef.current) return;\n\n // Scroll into view, if activeIndex is provided\n if (activeIndex !== undefined && activeIndex > -1) {\n const offset = getActiveIndexOffset(activeIndex);\n\n if (offset.left !== undefined) {\n containerRef.current.scrollLeft = offset.left;\n }\n if (offset.top !== undefined) {\n containerRef.current.scrollTop = offset.top;\n }\n } else {\n containerRef.current.scrollTo({\n left: 0,\n top: 0,\n behavior: \"smooth\",\n });\n }\n }, 0);\n }, [activeIndex, getActiveIndexOffset]);\n\n // #############################################################################\n // Arrow icon\n // #############################################################################\n const arrowIconSrc = useMemo(() => {\n const icon = arrowIcon?.icon ?? ArrowRightIcon;\n\n return typeof icon === \"string\" ? icon : icon.src;\n }, [arrowIcon]);\n\n // #############################################################################\n // Handle drag scroll\n // #############################################################################\n useEffect(() => {\n if (!draggable || !containerRef.current) return;\n\n const container = containerRef.current;\n let isDragging = false;\n let hasDragged = false;\n let startX = 0;\n let startY = 0;\n let scrollLeft = 0;\n let scrollTop = 0;\n\n const onPointerDown = (e: PointerEvent) => {\n if (e.pointerType !== \"mouse\" || e.buttons !== 1) return;\n\n isDragging = true;\n hasDragged = false;\n startX = e.pageX - container.offsetLeft;\n startY = e.pageY - container.offsetTop;\n scrollLeft = container.scrollLeft;\n scrollTop = container.scrollTop;\n document.body.style.cursor = \"grabbing\";\n container.style.cursor = \"grabbing\";\n };\n\n const onPointerMove = (e: PointerEvent) => {\n if (e.pointerType !== \"mouse\") return;\n\n if (!isDragging) return;\n\n e.preventDefault();\n hasDragged = true;\n\n const walkMultiplier = 1; // Adjust the multiplier for faster/slower scrolling\n\n const x = e.pageX - container.offsetLeft;\n const y = e.pageY - container.offsetTop;\n const walkX = (x - startX) * walkMultiplier;\n const walkY = (y - startY) * walkMultiplier;\n container.scrollLeft = scrollLeft - walkX;\n container.scrollTop = scrollTop - walkY;\n };\n\n const onPointerUp = (e: PointerEvent) => {\n if (e.pointerType !== \"mouse\") return;\n\n isDragging = false;\n document.body.style.cursor = \"unset\";\n container.style.cursor = \"unset\";\n };\n\n const onVisibilityChange = () => {\n isDragging = false;\n document.body.style.cursor = \"unset\";\n container.style.cursor = \"unset\";\n hasDragged = false;\n };\n\n const onClick = (e: MouseEvent) => {\n if (hasDragged) {\n e.preventDefault(); // Prevents anchor tag from navigating if dragging occurred\n e.stopPropagation();\n }\n };\n\n container.addEventListener(\"pointerdown\", onPointerDown);\n document.addEventListener(\"pointermove\", onPointerMove);\n document.addEventListener(\"pointerup\", onPointerUp);\n\n document.addEventListener(\"visibilitychange\", onVisibilityChange);\n\n // Prevent clicks on anchor tags after dragging\n container.querySelectorAll(\"a\").forEach((anchor) => {\n anchor.addEventListener(\"click\", onClick);\n });\n\n return () => {\n container.removeEventListener(\"pointerdown\", onPointerDown);\n document.removeEventListener(\"pointermove\", onPointerMove);\n document.removeEventListener(\"pointerup\", onPointerUp);\n\n document.removeEventListener(\"visibilitychange\", onVisibilityChange);\n\n container.querySelectorAll(\"a\").forEach((anchor) => {\n anchor.removeEventListener(\"click\", onClick);\n });\n };\n }, [draggable]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.OuterContainer\n $align={align}\n $direction={direction}\n $showFadeStart={showFadeStart}\n $showFadeEnd={showFadeEnd}\n $fillType={fillType}\n $fillColor={fillColor}\n $gradientSize={gradientSize}\n className={className}\n >\n <S.ScrollContainer ref={containerRef} $direction={direction} $gap={gap}>\n {items.map((item, i) => (\n <S.Item\n key={item.id + i}\n className={SCROLL_CONTAINER_ITEM_CLASS_NAME}\n $draggable={!!draggable}\n >\n {item.render()}\n </S.Item>\n ))}\n </S.ScrollContainer>\n\n <S.LeftArrowIcon\n $show={showFadeStart && !hideArrows}\n $first\n $fillType={fillType}\n $fillColor={fillColor}\n $accentColor={accentColor}\n $direction={direction}\n $arrowFadeColor={arrowFadeColor}\n $circleArrowBackground={circleArrowBackground}\n onClick={() => handleArrowClick(true)}\n $arrowGap={arrowGap}\n >\n <S.ArrowIconSvg\n $arrowColor={arrowColor}\n width={arrowIcon?.width ?? (circleArrowBackground ? 10 : 8)}\n height={arrowIcon?.height ?? (circleArrowBackground ? 16 : 13)}\n src={arrowIconSrc}\n />\n </S.LeftArrowIcon>\n\n <S.RightArrowIcon\n $show={showFadeEnd && !hideArrows}\n $fillType={fillType}\n $fillColor={fillColor}\n $accentColor={accentColor}\n $direction={direction}\n $arrowFadeColor={arrowFadeColor}\n $circleArrowBackground={circleArrowBackground}\n onClick={() => handleArrowClick(false)}\n $arrowGap={arrowGap}\n >\n <S.ArrowIconSvg\n $arrowColor={arrowColor}\n width={arrowIcon?.width ?? (circleArrowBackground ? 10 : 8)}\n height={arrowIcon?.height ?? (circleArrowBackground ? 16 : 13)}\n src={arrowIconSrc}\n />\n </S.RightArrowIcon>\n </S.OuterContainer>\n );\n};\n"],"names":["SCROLL_CONTAINER_ITEM_CLASS_NAME","NEAR_BOUNDARY_WIDTH","ScrollWrapper","ScrollWrapper2","align","direction","items","fillType","fillColor","accentColor","arrowColor","scrollStepType","gap","className","arrowFadeColor","activeIndex","circleArrowBackground","arrowGap","gradientSize","hideArrows","onScrollChange","enableWheelScroll","arrowIcon","draggable","containerRef","useRef","containerMeasureRef","containerSize","useMeasure","useHorizontalScroll","useEffect","current","getContainerItemWidth","useCallback","containerItem","querySelector","getBoundingClientRect","width","getInvisibleItemOffset","scrollDirection","container","querySelectorAll","containerRect","isHorizontal","fadeSize","padding","parseFloat","window","getComputedStyle","offset","Math","max","containerEdgeWithoutPadding","item","Array","from","itemRect","right","abs","i","length","left","bottom","top","getVisibleItemsWidth","containerItems","visibleItemsWidth","forEach","height","getActiveIndexOffset","index","actNav","children","actNavRect","scrollLeft","FADE_BUTTON_SIZE","scrollTop","x","refScrollX","y","refScrollY","useScroll","windowSize","useWindowSize","scrollX","setScrollX","useState","scrollY","setScrollY","initScrollX","initScrollY","scrollWidth","showFadeStart","setShowFadeStart","showFadeEnd","setShowFadeEnd","offsetWidth","offsetHeight","scrollHeight","scrollXFixOffset","ceil","handleArrowClick","first","clientWidth","scrollPosition","scrollSize","scrollStep","newScrollPosition","newScrollPositionWithinBounds","min","possibleScroll","nearBoundary","scrollTo","behavior","setTimeout","arrowIconSrc","useMemo","icon","ArrowRightIcon","src","isDragging","hasDragged","startX","startY","onPointerDown","e","pointerType","buttons","pageX","offsetLeft","pageY","offsetTop","document","body","style","cursor","onPointerMove","preventDefault","walkMultiplier","walkX","walkY","onPointerUp","onVisibilityChange","onClick","stopPropagation","addEventListener","anchor","removeEventListener","jsxs","S.OuterContainer","OuterContainer","$align","$direction","$showFadeStart","$showFadeEnd","$fillType","$fillColor","$gradientSize","jsx","S.ScrollContainer","ScrollContainer","ref","$gap","map","S.Item","Item","$draggable","render","id","S.LeftArrowIcon","LeftArrowIcon","$show","$first","$accentColor","$arrowFadeColor","$circleArrowBackground","$arrowGap","S.ArrowIconSvg","ArrowIconSvg","$arrowColor","S.RightArrowIcon","RightArrowIcon"],"mappings":";;;;;;;;;;;;;;;;AASA,MAAMA,gCAAmC,GAAA,uBAAA;AAEzC,MAAMC,mBAAsB,GAAA,EAAA;AAEf,MAAAC,aAAA,GAAgB,SAASA,cAAcC,CAAA;EAClDC,KAAA;EACAC,SAAA;EACAC,KAAA;EACAC,QAAA;EACAC,SAAA;EACAC,WAAA;EACAC,UAAA;EACAC,cAAiB,GAAA,cAAA;EACjBC,GAAA;EACAC,SAAA;EACAC,cAAA;EACAC,WAAA;EACAC,qBAAA;EACAC,QAAA;EACAC,YAAA;EACAC,UAAA;EACAC,cAAA;EACAC,iBAAA;EACAC,SAAA;EACAC;AACF,CAAuB,EAAA;EAIf,MAAAC,YAAA,GAAeC,aAA8B,IAAI,CAAA;EACvD,MAAM,CAACC,mBAAA,EAAqBC,aAAa,CAAA,GAAIC,QAA2B,CAAAA,UAAA,CAAA,CAAA;EAEpDC,mBAAAA,CAAAA,mBAAA,CAAAL,YAAA,EAAc,CAAC,CAACH,iBAAiB,CAAA;EAGrDS,KAAAA,CAAAA,SAAA,CAAU,MAAM;IACd,IAAIN,aAAaO,OAAS,EAAA;MACxBL,mBAAA,CAAoBF,aAAaO,OAAO,CAAA;IAC1C;EAAA,CACF,EAAG,CAACL,mBAAmB,CAAC,CAAA;EAElB,MAAAM,qBAAA,GAAwBC,KAAAA,CAAAA,YAAY,MAAc;IAChD,MAAAC,aAAA,GAAgBV,aAAaO,OAAS,EAAAI,aAAA,CAC1C,IAAInC,gCAAgC,EAAA,CACtC;IAEA,IAAI,CAACkC,aAAe,EAAA;MACX,OAAA,CAAA;IACT;IAEO,OAAAA,aAAA,CAAcE,sBAAwB,CAAA,CAAAC,KAAA;EAC/C,CAAA,EAAG,EAAE,CAAA;EAEL,MAAMC,sBAAyB,GAAAL,KAAA,CAAAA,WAAA,CAC7B,CAAC;IAAEM;EAA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