@ubnt/store.core 9.65.0-beta.3 → 9.65.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 (839) hide show
  1. package/CHANGELOG.md +12 -651
  2. package/lib/_virtual/_virtual_multi-entry.js +2 -15
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/assets/attention.svg +5 -5
  7. package/lib/assets/attention2.svg +5 -5
  8. package/lib/assets/check2.svg +3 -3
  9. package/lib/assets/check3.svg +3 -3
  10. package/lib/assets/express7.jpg +0 -0
  11. package/lib/assets/express72.jpg +0 -0
  12. package/lib/assets/minus4.svg +8 -8
  13. package/lib/assets/minus5.svg +8 -8
  14. package/lib/assets/plus5.svg +9 -9
  15. package/lib/assets/plus6.svg +9 -9
  16. package/lib/assets/udmPro.jpg +0 -0
  17. package/lib/assets/udmPro2.jpg +0 -0
  18. package/lib/assets/udmProMax.jpg +0 -0
  19. package/lib/assets/udmProMax2.jpg +0 -0
  20. package/lib/assets/udmProSpecial.jpg +0 -0
  21. package/lib/assets/udmProSpecial2.jpg +0 -0
  22. package/lib/assets/udr2.jpg +0 -0
  23. package/lib/assets/udr3.jpg +0 -0
  24. package/lib/assets/udr7.jpg +0 -0
  25. package/lib/assets/udr72.jpg +0 -0
  26. package/lib/components/Accordion/Accordion.js +9 -9
  27. package/lib/components/Accordion/Accordion.js.map +1 -1
  28. package/lib/components/Accordion/Accordion.mjs +9 -9
  29. package/lib/components/Accordion/Accordion.mjs.map +1 -1
  30. package/lib/components/Accordion/Accordion.styles.d.ts +18 -18
  31. package/lib/components/Accordion/Accordion.styles.js +22 -28
  32. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  33. package/lib/components/Accordion/Accordion.styles.mjs +22 -28
  34. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  35. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -23
  36. package/lib/components/Avatar/Avatar.js +3 -4
  37. package/lib/components/Avatar/Avatar.js.map +1 -1
  38. package/lib/components/Avatar/Avatar.mjs +3 -4
  39. package/lib/components/Avatar/Avatar.mjs.map +1 -1
  40. package/lib/components/Avatar/Avatar.styles.d.ts +2 -2
  41. package/lib/components/BackInStock/BackInStock.styles.d.ts +7 -12
  42. package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
  43. package/lib/components/Badge/Badge.styles.d.ts +2 -2
  44. package/lib/components/Banner/Banner.js +4 -4
  45. package/lib/components/Banner/Banner.js.map +1 -1
  46. package/lib/components/Banner/Banner.mjs +4 -4
  47. package/lib/components/Banner/Banner.mjs.map +1 -1
  48. package/lib/components/Banner/Banner.styles.d.ts +16 -16
  49. package/lib/components/Banner/Banner.styles.js +9 -9
  50. package/lib/components/Banner/Banner.styles.js.map +1 -1
  51. package/lib/components/Banner/Banner.styles.mjs +9 -9
  52. package/lib/components/Banner/Banner.styles.mjs.map +1 -1
  53. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
  54. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -9
  55. package/lib/components/Button/Button.styles.d.ts +4 -4
  56. package/lib/components/ButtonGroup/ButtonGroup.js +5 -5
  57. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  58. package/lib/components/ButtonGroup/ButtonGroup.mjs +5 -5
  59. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  60. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +13 -13
  61. package/lib/components/ButtonGroup/ButtonGroup.styles.js +15 -15
  62. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  63. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +15 -15
  64. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  65. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  66. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
  67. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  68. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
  69. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  70. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +4 -8
  71. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
  72. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  73. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
  74. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  75. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
  76. package/lib/components/CardSection/Card/Card.js +10 -10
  77. package/lib/components/CardSection/Card/Card.js.map +1 -1
  78. package/lib/components/CardSection/Card/Card.mjs +10 -10
  79. package/lib/components/CardSection/Card/Card.mjs.map +1 -1
  80. package/lib/components/CardSection/Card/Card.styles.d.ts +21 -21
  81. package/lib/components/CardSection/Card/Card.styles.js +22 -22
  82. package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
  83. package/lib/components/CardSection/Card/Card.styles.mjs +22 -22
  84. package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
  85. package/lib/components/CardSection/CardSection.styles.d.ts +4 -4
  86. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +11 -11
  87. package/lib/components/CartIcon/CartIcon.js +2 -2
  88. package/lib/components/CartIcon/CartIcon.js.map +1 -1
  89. package/lib/components/CartIcon/CartIcon.mjs +2 -2
  90. package/lib/components/CartIcon/CartIcon.mjs.map +1 -1
  91. package/lib/components/CartIcon/CartIcon.styles.d.ts +5 -5
  92. package/lib/components/CartIcon/CartIcon.styles.js +4 -4
  93. package/lib/components/CartIcon/CartIcon.styles.js.map +1 -1
  94. package/lib/components/CartIcon/CartIcon.styles.mjs +4 -4
  95. package/lib/components/CartIcon/CartIcon.styles.mjs.map +1 -1
  96. package/lib/components/CartSummary/CartSummary.js +1 -1
  97. package/lib/components/CartSummary/CartSummary.js.map +1 -1
  98. package/lib/components/CartSummary/CartSummary.mjs +1 -1
  99. package/lib/components/CartSummary/CartSummary.mjs.map +1 -1
  100. package/lib/components/CartSummary/CartSummary.styles.d.ts +13 -19
  101. package/lib/components/CartSummary/CartSummary.styles.js +2 -2
  102. package/lib/components/CartSummary/CartSummary.styles.js.map +1 -1
  103. package/lib/components/CartSummary/CartSummary.styles.mjs +2 -2
  104. package/lib/components/CartSummary/CartSummary.styles.mjs.map +1 -1
  105. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +6 -6
  106. package/lib/components/CategoryTabs/CategoryTabs.styles.js +1 -1
  107. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  108. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +1 -1
  109. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  110. package/lib/components/Checkbox/Checkbox.js +0 -3
  111. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  112. package/lib/components/Checkbox/Checkbox.mjs +0 -3
  113. package/lib/components/Checkbox/Checkbox.mjs.map +1 -1
  114. package/lib/components/Checkbox/Checkbox.styles.d.ts +3 -3
  115. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +8 -8
  116. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +3 -3
  117. package/lib/components/Compare/Compare.styles.d.ts +34 -36
  118. package/lib/components/CompareChart/CompareChart.styles.d.ts +36 -40
  119. package/lib/components/CompareSection/CompareSection.styles.d.ts +16 -18
  120. package/lib/components/Container/Container.styles.d.ts +3 -3
  121. package/lib/components/CustomImage/CustomImage.styles.d.ts +12 -12
  122. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -4
  123. package/lib/components/Explore/Explore.styles.d.ts +28 -36
  124. package/lib/components/Explore/Explore.styles.js +6 -6
  125. package/lib/components/Explore/Explore.styles.js.map +1 -1
  126. package/lib/components/Explore/Explore.styles.mjs +6 -6
  127. package/lib/components/Explore/Explore.styles.mjs.map +1 -1
  128. package/lib/components/Explore/ExploreData.js +11 -11
  129. package/lib/components/Explore/ExploreData.js.map +1 -1
  130. package/lib/components/Explore/ExploreData.mjs +11 -11
  131. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  132. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +3 -5
  133. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +15 -15
  134. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +22 -22
  135. package/lib/components/Footer/Footer.js +1 -0
  136. package/lib/components/Footer/Footer.js.map +1 -1
  137. package/lib/components/Footer/Footer.mjs +1 -0
  138. package/lib/components/Footer/Footer.mjs.map +1 -1
  139. package/lib/components/Footer/Footer.styles.d.ts +34 -39
  140. package/lib/components/Footer/Footer.styles.js +1 -1
  141. package/lib/components/Footer/Footer.styles.js.map +1 -1
  142. package/lib/components/Footer/Footer.styles.mjs +1 -1
  143. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  144. package/lib/components/Gallery/Gallery.js +1 -1
  145. package/lib/components/Gallery/Gallery.js.map +1 -1
  146. package/lib/components/Gallery/Gallery.mjs +1 -1
  147. package/lib/components/Gallery/Gallery.mjs.map +1 -1
  148. package/lib/components/Gallery/Gallery.styles.d.ts +8 -12
  149. package/lib/components/Gallery/Gallery.styles.js +1 -3
  150. package/lib/components/Gallery/Gallery.styles.js.map +1 -1
  151. package/lib/components/Gallery/Gallery.styles.mjs +1 -3
  152. package/lib/components/Gallery/Gallery.styles.mjs.map +1 -1
  153. package/lib/components/Gallery/GalleryControls/GalleryControls.js +1 -1
  154. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +1 -1
  155. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +1 -1
  156. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +1 -1
  157. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.d.ts +9 -9
  158. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +2 -2
  159. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +1 -1
  160. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +2 -2
  161. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +1 -1
  162. package/lib/components/Gallery/GalleryItem/GalleryItem.js +5 -5
  163. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +1 -1
  164. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +5 -5
  165. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +1 -1
  166. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.d.ts +10 -10
  167. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +11 -11
  168. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +1 -1
  169. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +11 -11
  170. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +1 -1
  171. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.d.ts +8 -8
  172. package/lib/components/GradientButton/GradientButton.d.ts +1 -1
  173. package/lib/components/GradientButton/GradientButton.js +0 -2
  174. package/lib/components/GradientButton/GradientButton.js.map +1 -1
  175. package/lib/components/GradientButton/GradientButton.mjs +0 -2
  176. package/lib/components/GradientButton/GradientButton.mjs.map +1 -1
  177. package/lib/components/GradientButton/GradientButton.styles.d.ts +4 -4
  178. package/lib/components/GradientButton/GradientButton.styles.js +6 -6
  179. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  180. package/lib/components/GradientButton/GradientButton.styles.mjs +6 -6
  181. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  182. package/lib/components/GridGallery/GridGallery.js +1 -1
  183. package/lib/components/GridGallery/GridGallery.js.map +1 -1
  184. package/lib/components/GridGallery/GridGallery.mjs +1 -1
  185. package/lib/components/GridGallery/GridGallery.mjs.map +1 -1
  186. package/lib/components/GridGallery/GridGallery.styles.d.ts +13 -13
  187. package/lib/components/GridGallery/GridGallery.styles.js +2 -2
  188. package/lib/components/GridGallery/GridGallery.styles.js.map +1 -1
  189. package/lib/components/GridGallery/GridGallery.styles.mjs +2 -2
  190. package/lib/components/GridGallery/GridGallery.styles.mjs.map +1 -1
  191. package/lib/components/GridGallery/GridModal/GridModal.js +1 -1
  192. package/lib/components/GridGallery/GridModal/GridModal.js.map +1 -1
  193. package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
  194. package/lib/components/GridGallery/GridModal/GridModal.mjs.map +1 -1
  195. package/lib/components/GridGallery/GridModal/GridModal.styles.d.ts +7 -7
  196. package/lib/components/GridGallery/GridModal/GridModal.styles.js +4 -4
  197. package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
  198. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +4 -4
  199. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
  200. package/lib/components/Header/AccountFrame/AccountFrame.js +1 -1
  201. package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
  202. package/lib/components/Header/AccountFrame/AccountFrame.mjs +1 -1
  203. package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
  204. package/lib/components/Header/AccountFrame/AccountFrame.styles.d.ts +15 -19
  205. package/lib/components/Header/AccountFrame/AccountFrame.styles.js +2 -2
  206. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  207. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +2 -2
  208. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  209. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.d.ts +3 -3
  210. package/lib/components/Header/AccountMenu/AccountMenu.styles.d.ts +12 -30
  211. package/lib/components/Header/CartModal/CartModal.styles.d.ts +13 -15
  212. package/lib/components/Header/CartModal/Empty/Empty.styles.d.ts +1 -1
  213. package/lib/components/Header/CartModal/Item/Item.styles.d.ts +10 -10
  214. package/lib/components/Header/CartModalV2/CartModal.styles.d.ts +21 -23
  215. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +13 -13
  216. package/lib/components/Header/Header.js +3 -3
  217. package/lib/components/Header/Header.js.map +1 -1
  218. package/lib/components/Header/Header.mjs +3 -3
  219. package/lib/components/Header/Header.mjs.map +1 -1
  220. package/lib/components/Header/Header.styles.d.ts +41 -45
  221. package/lib/components/Header/Header.styles.js +1 -1
  222. package/lib/components/Header/Header.styles.js.map +1 -1
  223. package/lib/components/Header/Header.styles.mjs +1 -1
  224. package/lib/components/Header/Header.styles.mjs.map +1 -1
  225. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.d.ts +17 -14
  226. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +51 -0
  227. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  228. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +47 -1
  229. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  230. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.d.ts +3 -3
  231. package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +4 -4
  232. package/lib/components/Header/MenuItem/MenuItem.js +5 -4
  233. package/lib/components/Header/MenuItem/MenuItem.js.map +1 -1
  234. package/lib/components/Header/MenuItem/MenuItem.mjs +5 -4
  235. package/lib/components/Header/MenuItem/MenuItem.mjs.map +1 -1
  236. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +15 -15
  237. package/lib/components/Header/MenuItem/MenuItem.styles.js +8 -8
  238. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  239. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +8 -8
  240. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  241. package/lib/components/Header/Navigation/Carousel/Carousel.js +6 -6
  242. package/lib/components/Header/Navigation/Carousel/Carousel.js.map +1 -1
  243. package/lib/components/Header/Navigation/Carousel/Carousel.mjs +6 -6
  244. package/lib/components/Header/Navigation/Carousel/Carousel.mjs.map +1 -1
  245. package/lib/components/Header/Navigation/Carousel/Carousel.styles.d.ts +20 -20
  246. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +16 -16
  247. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
  248. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +16 -16
  249. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
  250. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +7 -7
  251. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
  252. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +7 -7
  253. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
  254. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +23 -29
  255. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +19 -19
  256. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  257. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +19 -19
  258. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  259. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +9 -9
  260. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  261. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +9 -9
  262. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  263. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +36 -40
  264. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +18 -18
  265. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  266. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +18 -18
  267. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  268. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +9 -9
  269. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  270. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +9 -9
  271. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  272. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +5 -7
  273. package/lib/components/Header/Overlay/Overlay.styles.d.ts +2 -2
  274. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +28 -34
  275. package/lib/components/Header/ProHeader/ProHeader.styles.js +2 -2
  276. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  277. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +2 -2
  278. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  279. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +3 -3
  280. package/lib/components/Hero/Hero.styles.d.ts +28 -28
  281. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -12
  282. package/lib/components/HeroVideo/HeroVideo.styles.d.ts +7 -7
  283. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +14 -14
  284. package/lib/components/ImageCarousel/ImageCarousel.styles.d.ts +34 -38
  285. package/lib/components/ImageCarousel/ImageCarousel.styles.js +4 -5
  286. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  287. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +4 -5
  288. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  289. package/lib/components/ImageModal/ImageModal.styles.d.ts +6 -8
  290. package/lib/components/ImageSequence/ImageSequence.styles.d.ts +8 -8
  291. package/lib/components/InputSelect/InputSelect.styles.d.ts +8 -4
  292. package/lib/components/LandingPage/Block/Block.styles.d.ts +4 -4
  293. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +17 -17
  294. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +9 -9
  295. package/lib/components/LandingPage/Cards/Cards.styles.js +1 -1
  296. package/lib/components/LandingPage/Cards/Cards.styles.js.map +1 -1
  297. package/lib/components/LandingPage/Cards/Cards.styles.mjs +1 -1
  298. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +1 -1
  299. package/lib/components/LandingPage/LandingPage.styles.d.ts +5 -5
  300. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +3 -3
  301. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +2 -2
  302. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +22 -26
  303. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +22 -22
  304. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +21 -23
  305. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +54 -60
  306. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +49 -57
  307. package/lib/components/LearnMoreLink/LearnMoreLink.styles.d.ts +2 -2
  308. package/lib/components/Loader/Loader.styles.d.ts +4 -4
  309. package/lib/components/Loader/Spinner/Spinner.styles.d.ts +3 -3
  310. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -2
  311. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.d.ts +9 -11
  312. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +25 -25
  313. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +2 -2
  314. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
  315. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +2 -2
  316. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
  317. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.d.ts +6 -6
  318. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.d.ts +8 -8
  319. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.d.ts +18 -20
  320. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +2 -2
  321. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
  322. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +2 -2
  323. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
  324. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.d.ts +11 -11
  325. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.d.ts +14 -14
  326. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.d.ts +24 -28
  327. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +2 -2
  328. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
  329. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +2 -2
  330. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
  331. package/lib/components/MicrositeHero/MicrositeHero.styles.d.ts +41 -41
  332. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.d.ts +6 -6
  333. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -15
  334. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.d.ts +15 -15
  335. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.d.ts +12 -14
  336. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +2 -2
  337. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
  338. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +2 -2
  339. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
  340. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +3 -5
  341. package/lib/components/MicrositeSection/Features/Features.styles.d.ts +15 -15
  342. package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +24 -24
  343. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +6 -8
  344. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.d.ts +2 -2
  345. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +17 -17
  346. package/lib/components/Microsites/MicrositeProductPage.styles.d.ts +8 -16
  347. package/lib/components/MobileModal/MobileModal.styles.d.ts +8 -8
  348. package/lib/components/Modal/Modal.styles.d.ts +1 -1
  349. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
  350. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
  351. package/lib/components/ModelCompareV3/ModelCompareV3.styles.d.ts +34 -84
  352. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +7 -8
  353. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  354. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +7 -8
  355. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  356. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
  357. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.d.ts +2 -2
  358. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.d.ts +1 -1
  359. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  360. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  361. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  362. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  363. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  364. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  365. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  366. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  367. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  368. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  369. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  370. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  371. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  372. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  373. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  374. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  375. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  376. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  377. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  378. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  379. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  380. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  381. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  382. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  383. package/lib/components/ModelCompareV3/assets/check.svg.js +1 -1
  384. package/lib/components/ModelCompareV3/assets/check.svg.mjs +2 -2
  385. package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
  386. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
  387. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  388. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  389. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  390. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  391. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  392. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  393. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  394. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  395. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  396. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  397. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  398. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  399. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
  400. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  401. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
  402. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  403. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  404. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  405. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  406. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  407. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  408. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  409. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  410. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  411. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  412. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  413. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  414. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  415. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  416. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  417. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  418. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  419. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  420. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  421. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  422. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  423. package/lib/components/ModelCompareV3/data/products/express7.js +2 -2
  424. package/lib/components/ModelCompareV3/data/products/express7.js.map +1 -1
  425. package/lib/components/ModelCompareV3/data/products/express7.mjs +2 -2
  426. package/lib/components/ModelCompareV3/data/products/express7.mjs.map +1 -1
  427. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -2
  428. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  429. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -2
  430. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  431. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -2
  432. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  433. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -2
  434. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  435. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -2
  436. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  437. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -2
  438. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  439. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -2
  440. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  441. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -2
  442. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  443. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  444. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  445. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  446. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  447. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  448. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  449. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  450. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  451. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
  452. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  453. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
  454. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  455. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
  456. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  457. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
  458. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  459. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
  460. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  461. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
  462. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  463. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  464. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  465. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  466. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  467. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  468. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  469. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  470. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  471. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  472. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  473. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  474. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  475. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  476. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  477. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  478. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  479. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  480. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  481. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  482. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  483. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  484. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  485. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  486. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  487. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  488. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  489. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  490. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  491. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  492. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  493. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  494. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  495. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
  496. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  497. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
  498. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  499. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  500. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  501. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  502. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  503. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  504. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  505. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  506. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  507. package/lib/components/ModelCompareV3/data/products/ucgFiber.js +1 -1
  508. package/lib/components/ModelCompareV3/data/products/ucgFiber.js.map +1 -1
  509. package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
  510. package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs.map +1 -1
  511. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  512. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  513. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  514. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  515. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
  516. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  517. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
  518. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  519. package/lib/components/ModelCompareV3/data/products/udmPro.js +4 -4
  520. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  521. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +4 -4
  522. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  523. package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
  524. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  525. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
  526. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  527. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +4 -4
  528. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  529. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +4 -4
  530. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  531. package/lib/components/ModelCompareV3/data/products/udr.js +2 -2
  532. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  533. package/lib/components/ModelCompareV3/data/products/udr.mjs +2 -2
  534. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  535. package/lib/components/ModelCompareV3/data/products/udr7.js +2 -2
  536. package/lib/components/ModelCompareV3/data/products/udr7.js.map +1 -1
  537. package/lib/components/ModelCompareV3/data/products/udr7.mjs +2 -2
  538. package/lib/components/ModelCompareV3/data/products/udr7.mjs.map +1 -1
  539. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  540. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  541. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  542. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  543. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
  544. package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
  545. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  546. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
  547. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  548. package/lib/components/ModelCompareV3/translations/ar.json.js +10 -10
  549. package/lib/components/ModelCompareV3/translations/ar.json.mjs +10 -10
  550. package/lib/components/ModelCompareV3/translations/de.json.js +2 -2
  551. package/lib/components/ModelCompareV3/translations/de.json.mjs +2 -2
  552. package/lib/components/ModelCompareV3/translations/el.json.js +1 -1
  553. package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -1
  554. package/lib/components/ModelCompareV3/translations/en.json.js +0 -2
  555. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  556. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -2
  557. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  558. package/lib/components/ModelCompareV3/translations/es.json.js +2 -2
  559. package/lib/components/ModelCompareV3/translations/es.json.mjs +2 -2
  560. package/lib/components/ModelCompareV3/translations/fr.json.js +1 -1
  561. package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -1
  562. package/lib/components/ModelCompareV3/translations/it.json.js +1 -1
  563. package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -1
  564. package/lib/components/ModelCompareV3/translations/ja.json.js +7 -7
  565. package/lib/components/ModelCompareV3/translations/ja.json.mjs +7 -7
  566. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -1
  567. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -1
  568. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  569. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +5 -5
  570. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +5 -5
  571. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +8 -8
  572. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +8 -8
  573. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -5
  574. package/lib/components/Pagination/Pagination.styles.d.ts +4 -4
  575. package/lib/components/Popover/Popover.styles.d.ts +7 -11
  576. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +7 -7
  577. package/lib/components/ProductCard/ProductCard.styles.d.ts +16 -16
  578. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +37 -45
  579. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +3 -3
  580. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +1 -1
  581. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +3 -3
  582. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +1 -1
  583. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +18 -18
  584. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +2 -2
  585. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +13 -10
  586. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +6 -6
  587. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +9 -11
  588. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +6 -6
  589. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +7 -7
  590. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +6 -6
  591. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +14 -14
  592. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +18 -20
  593. package/lib/components/ProductWizard/Options/Options.styles.d.ts +2 -2
  594. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +16 -22
  595. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +9 -9
  596. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +1 -1
  597. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +1 -1
  598. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +1 -1
  599. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +1 -1
  600. package/lib/components/QuantityControls/QuantityControls.styles.d.ts +2 -2
  601. package/lib/components/QuantityInput/QuantityInput.styles.d.ts +12 -16
  602. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +14 -14
  603. package/lib/components/RelatedProducts/RelatedProducts.styles.js +2 -2
  604. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +1 -1
  605. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +2 -2
  606. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +1 -1
  607. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +21 -23
  608. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +16 -36
  609. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +16 -38
  610. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -1
  611. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +0 -600
  612. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  613. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +0 -596
  614. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  615. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.d.ts +6 -6
  616. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +1 -5
  617. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +0 -4
  618. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  619. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +0 -4
  620. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  621. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +13 -13
  622. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  623. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  624. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.d.ts +20 -20
  625. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  626. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  627. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.d.ts +6 -6
  628. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  629. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  630. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  631. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  632. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  633. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  634. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  635. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  636. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.d.ts +9 -9
  637. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  638. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  639. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.d.ts +1 -1
  640. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.d.ts +5 -5
  641. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.d.ts +10 -10
  642. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
  643. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  644. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.d.ts +17 -19
  645. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  646. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  647. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  648. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  649. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.d.ts +16 -16
  650. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.d.ts +3 -3
  651. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.d.ts +3 -3
  652. package/lib/components/ResourceCalculatorV1/translations/en.json.js +0 -4
  653. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  654. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +0 -4
  655. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  656. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  657. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.d.ts +3 -3
  658. package/lib/components/ScrollWrapper/ScrollWrapper.styles.d.ts +14 -18
  659. package/lib/components/Search/Input/Input.styles.d.ts +11 -13
  660. package/lib/components/Search/Input/Input.styles.js +1 -1
  661. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  662. package/lib/components/Search/Input/Input.styles.mjs +1 -1
  663. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  664. package/lib/components/Search/Modal/Modal.styles.d.ts +18 -20
  665. package/lib/components/SearchInput/Input.styles.d.ts +7 -9
  666. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +1 -1
  667. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.d.ts +3 -3
  668. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.d.ts +3 -3
  669. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.d.ts +8 -8
  670. package/lib/components/StaticModal/StaticModal.styles.d.ts +2 -2
  671. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +5 -7
  672. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +12 -12
  673. package/lib/components/StorybookUtils/StoryButtonColumn.d.ts +1 -1
  674. package/lib/components/StorybookUtils/StoryButtonRow.d.ts +1 -1
  675. package/lib/components/StorybookUtils/StoryWrapper.d.ts +2 -2
  676. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +9 -9
  677. package/lib/components/Toggle/Toggle.styles.d.ts +3 -3
  678. package/lib/components/Toggle/Toggle.styles.js +1 -1
  679. package/lib/components/Toggle/Toggle.styles.js.map +1 -1
  680. package/lib/components/Toggle/Toggle.styles.mjs +1 -1
  681. package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
  682. package/lib/components/Tooltip/Tooltip.styles.d.ts +3 -33
  683. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +17 -17
  684. package/lib/components/UICare/UICare.styles.d.ts +16 -19
  685. package/lib/components/VariantSelector/CheckBox/CheckBox.js +1 -1
  686. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +1 -1
  687. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +6 -6
  688. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +1 -1
  689. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +2 -2
  690. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +7 -7
  691. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +18 -18
  692. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +65 -75
  693. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +13 -17
  694. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +3 -3
  695. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +28 -32
  696. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +19 -23
  697. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +6 -8
  698. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +5 -5
  699. package/lib/components/VideoPlayerNew/VideoPlayer.styles.d.ts +28 -31
  700. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +2 -2
  701. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
  702. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +2 -2
  703. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
  704. package/lib/constants/mixin.d.ts +3 -3
  705. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -2
  706. package/lib/constants/proStoreCategories/mapping/index.js +46 -31
  707. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  708. package/lib/constants/proStoreCategories/mapping/index.mjs +44 -30
  709. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  710. package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
  711. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  712. package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
  713. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  714. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -7
  715. package/lib/constants/proStoreCategories/mapping/unifi.js +9 -7
  716. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  717. package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -7
  718. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  719. package/lib/constants/proStoreCategories/translations/ar.json.js +2 -5
  720. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  721. package/lib/constants/proStoreCategories/translations/ar.json.mjs +3 -5
  722. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  723. package/lib/constants/proStoreCategories/translations/de.json.js +2 -5
  724. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  725. package/lib/constants/proStoreCategories/translations/de.json.mjs +3 -5
  726. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  727. package/lib/constants/proStoreCategories/translations/el.json.js +2 -5
  728. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  729. package/lib/constants/proStoreCategories/translations/el.json.mjs +3 -5
  730. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  731. package/lib/constants/proStoreCategories/translations/en.json.js +2 -2
  732. package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -2
  733. package/lib/constants/proStoreCategories/translations/es.json.js +2 -5
  734. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  735. package/lib/constants/proStoreCategories/translations/es.json.mjs +3 -5
  736. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  737. package/lib/constants/proStoreCategories/translations/fr.json.js +2 -2
  738. package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -2
  739. package/lib/constants/proStoreCategories/translations/it.json.js +2 -5
  740. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  741. package/lib/constants/proStoreCategories/translations/it.json.mjs +3 -5
  742. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  743. package/lib/constants/proStoreCategories/translations/ja.json.js +2 -5
  744. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  745. package/lib/constants/proStoreCategories/translations/ja.json.mjs +3 -5
  746. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  747. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -5
  748. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  749. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +3 -5
  750. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  751. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -2
  752. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -2
  753. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -2
  754. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -2
  755. package/lib/constants/proStoreFilters/mapping.d.ts +1 -17
  756. package/lib/constants/proStoreFilters/mapping.js +0 -16
  757. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  758. package/lib/constants/proStoreFilters/mapping.mjs +0 -16
  759. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  760. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  761. package/lib/contexts/MenuContext/presets.js +2 -4
  762. package/lib/contexts/MenuContext/presets.js.map +1 -1
  763. package/lib/contexts/MenuContext/presets.mjs +2 -4
  764. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  765. package/lib/helpers/index.d.ts +0 -1
  766. package/lib/helpers/index.js +0 -11
  767. package/lib/helpers/index.js.map +1 -1
  768. package/lib/helpers/index.mjs +0 -1
  769. package/lib/helpers/index.mjs.map +1 -1
  770. package/lib/types/generated.d.ts +1 -1
  771. package/lib/types/generated.js.map +1 -1
  772. package/lib/types/generated.mjs.map +1 -1
  773. package/lib/types/index.d.ts +0 -1
  774. package/lib/types/index.js +0 -2
  775. package/lib/types/index.js.map +1 -1
  776. package/lib/types/index.mjs +0 -1
  777. package/lib/types/index.mjs.map +1 -1
  778. package/lib/utils/address.d.ts +62 -278
  779. package/lib/utils/address.js +8 -11
  780. package/lib/utils/address.js.map +1 -1
  781. package/lib/utils/address.mjs +8 -11
  782. package/lib/utils/address.mjs.map +1 -1
  783. package/lib/utils/array.d.ts +0 -4
  784. package/lib/utils/array.js +0 -10
  785. package/lib/utils/array.js.map +1 -1
  786. package/lib/utils/array.mjs +1 -10
  787. package/lib/utils/array.mjs.map +1 -1
  788. package/package.json +43 -42
  789. package/lib/assets/crestron.svg +0 -3
  790. package/lib/assets/ucg-fiber.png +0 -0
  791. package/lib/assets/udr7.png +0 -0
  792. package/lib/assets/ux.png +0 -0
  793. package/lib/assets/ux7.png +0 -0
  794. package/lib/components/ModelCompareV3/assets/crestron.svg.js +0 -27
  795. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  796. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  797. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  798. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  799. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  800. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  801. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  802. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  803. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js +0 -27
  804. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js.map +0 -1
  805. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs +0 -3
  806. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs.map +0 -1
  807. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js +0 -27
  808. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js.map +0 -1
  809. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs +0 -3
  810. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs.map +0 -1
  811. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js +0 -27
  812. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js.map +0 -1
  813. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs +0 -3
  814. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs.map +0 -1
  815. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js +0 -27
  816. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js.map +0 -1
  817. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs +0 -3
  818. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs.map +0 -1
  819. package/lib/helpers/product.d.ts +0 -87
  820. package/lib/helpers/product.js +0 -346
  821. package/lib/helpers/product.js.map +0 -1
  822. package/lib/helpers/product.mjs +0 -335
  823. package/lib/helpers/product.mjs.map +0 -1
  824. package/lib/helpers/product.test.d.ts +0 -1
  825. package/lib/types/product.d.ts +0 -87
  826. package/lib/types/product.js +0 -14
  827. package/lib/types/product.js.map +0 -1
  828. package/lib/types/product.mjs +0 -13
  829. package/lib/types/product.mjs.map +0 -1
  830. package/lib/utils/productSort.d.ts +0 -41
  831. package/lib/utils/productSort.js +0 -67
  832. package/lib/utils/productSort.js.map +0 -1
  833. package/lib/utils/productSort.mjs +0 -60
  834. package/lib/utils/productSort.mjs.map +0 -1
  835. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  836. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  837. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  838. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  839. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -55,9 +55,7 @@ const GalleryTrack = styled.div`
55
55
  inset: 0;
56
56
  display: flex;
57
57
  will-change: transform;
58
- transition: ${({
59
- $withTransition
60
- }) => $withTransition ? `transform 0.2s` : "none"};
58
+ transition: ${props => props.withTransition ? `transform 0.2s` : "none"};
61
59
 
62
60
  /**
63
61
  * Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else
@@ -1 +1 @@
1
- {"version":3,"file":"Gallery.styles.mjs","sources":["../../../src/components/Gallery/Gallery.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport type { GalleryProps } from \"./Gallery.types\";\n\n/**\n * For gallery with outside (side) controls add flex container with spacing\n */\nexport const GalleryWrapper = styled.div`\n display: flex;\n flex-direction: row;\n column-gap: 50vw;\n overflow: hidden;\n height: 100%;\n width: 100%;\n\n /* Center the image vertically if the only child in the container */\n &:only-child {\n margin-top: auto;\n margin-bottom: auto;\n }\n`;\n\nexport const GalleryImageContainer = styled.div<\n Pick<GalleryProps, \"aspectRatio\">\n>`\n position: relative;\n width: 100%;\n height: auto;\n\n /* In certain conditions need to gallery to be certain aspect-ratio */\n aspect-ratio: ${(props) =>\n props.aspectRatio\n ? `${props.aspectRatio[0]} / ${props.aspectRatio[1]}`\n : \"auto\"};\n`;\n\nexport const GalleryLabel = styled.div`\n text-align: center;\n /* Make it allocate space even tho there isn't anything */\n white-space: pre;\n\n /**\n * HACK: Using margin-bottom usual margin-top way of combining things as this makes it in this case a bit easier to\n * conditionally render the labels without requiring css in other places\n */\n margin-bottom: 24px;\n`;\n\nconst GalleryClickThird = styled.div`\n position: absolute;\n top: 0;\n height: 100%;\n width: 33.3%;\n z-index: 2;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryClickThirdLeft = styled(GalleryClickThird)`\n left: 0;\n`;\n\nexport const GalleryClickThirdRight = styled(GalleryClickThird)`\n right: 0;\n`;\n\nexport const GalleryTrack = styled.div<{ $withTransition: boolean }>`\n position: absolute;\n inset: 0;\n display: flex;\n will-change: transform;\n transition: ${({ $withTransition }) =>\n $withTransition ? `transform 0.2s` : \"none\"};\n\n /**\n * Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else\n * worked.\n * @see https://stackoverflow.com/a/15918159/1378261\n */\n -webkit-backface-visibility: hidden;\n * {\n -webkit-transform: translate3d(0, 0, 0);\n }\n`;\n"],"names":["GalleryWrapper","styled","div","GalleryImageContainer","props","aspectRatio","GalleryLabel","GalleryClickThird","GalleryClickThirdLeft","GalleryClickThirdRight","GalleryTrack","$withTransition"],"mappings":";;AAOO,MAAMA,iBAAiBC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAe9B,MAAMC,wBAAwBF,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAQzBE,KAAA,IACfA,KAAM,CAAAC,WAAA,GACF,GAAGD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,MAAMD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,KACjD,MAAM;AAAA,CAAA;AAGP,MAAMC,eAAeL,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAYnC,MAAMK,oBAAoBN,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAYpB,MAAAM,qBAAA,GAAwBP,OAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIhD,MAAAE,sBAAA,GAAyBR,OAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIvD,MAAMG,eAAeT,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKnB,CAAC;EAAES;AACf,CAAA,KAAAA,eAAA,GAAkB,mBAAmB,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"Gallery.styles.mjs","sources":["../../../src/components/Gallery/Gallery.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport type { GalleryProps } from \"./Gallery.types\";\n\n/**\n * For gallery with outside (side) controls add flex container with spacing\n */\nexport const GalleryWrapper = styled.div`\n display: flex;\n flex-direction: row;\n column-gap: 50vw;\n overflow: hidden;\n height: 100%;\n width: 100%;\n\n /* Center the image vertically if the only child in the container */\n &:only-child {\n margin-top: auto;\n margin-bottom: auto;\n }\n`;\n\nexport const GalleryImageContainer = styled.div<\n Pick<GalleryProps, \"aspectRatio\">\n>`\n position: relative;\n width: 100%;\n height: auto;\n\n /* In certain conditions need to gallery to be certain aspect-ratio */\n aspect-ratio: ${(props) =>\n props.aspectRatio\n ? `${props.aspectRatio[0]} / ${props.aspectRatio[1]}`\n : \"auto\"};\n`;\n\nexport const GalleryLabel = styled.div`\n text-align: center;\n /* Make it allocate space even tho there isn't anything */\n white-space: pre;\n\n /**\n * HACK: Using margin-bottom usual margin-top way of combining things as this makes it in this case a bit easier to\n * conditionally render the labels without requiring css in other places\n */\n margin-bottom: 24px;\n`;\n\nconst GalleryClickThird = styled.div`\n position: absolute;\n top: 0;\n height: 100%;\n width: 33.3%;\n z-index: 2;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryClickThirdLeft = styled(GalleryClickThird)`\n left: 0;\n`;\n\nexport const GalleryClickThirdRight = styled(GalleryClickThird)`\n right: 0;\n`;\n\nexport const GalleryTrack = styled.div<{ withTransition: boolean }>`\n position: absolute;\n inset: 0;\n display: flex;\n will-change: transform;\n transition: ${(props) => (props.withTransition ? `transform 0.2s` : \"none\")};\n\n /**\n * Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else\n * worked.\n * @see https://stackoverflow.com/a/15918159/1378261\n */\n -webkit-backface-visibility: hidden;\n * {\n -webkit-transform: translate3d(0, 0, 0);\n }\n`;\n"],"names":["GalleryWrapper","styled","div","GalleryImageContainer","props","aspectRatio","GalleryLabel","GalleryClickThird","GalleryClickThirdLeft","GalleryClickThirdRight","GalleryTrack","withTransition"],"mappings":";;AAOO,MAAMA,iBAAiBC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAe9B,MAAMC,wBAAwBF,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAQzBE,KAAA,IACfA,KAAM,CAAAC,WAAA,GACF,GAAGD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,MAAMD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,KACjD,MAAM;AAAA,CAAA;AAGP,MAAMC,eAAeL,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAYnC,MAAMK,oBAAoBN,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAYpB,MAAAM,qBAAA,GAAwBP,OAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIhD,MAAAE,sBAAA,GAAyBR,OAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIvD,MAAMG,eAAeT,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKlBE,KAAA,IAAWA,KAAM,CAAAO,cAAA,GAAiB,mBAAmB,MAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
@@ -42,7 +42,7 @@ const GalleryControl = react.memo(function GalleryRightControl({
42
42
  src: arrowRightMicroSvg__default["default"],
43
43
  height: 24,
44
44
  width: 24,
45
- $side: side,
45
+ side,
46
46
  $rounded: rounded
47
47
  }), label && /* @__PURE__ */jsxRuntime.jsx(GalleryControls_styles.GalleryControlLabel, {
48
48
  children: label
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryControls.js","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.tsx"],"sourcesContent":["import { memo, useCallback } from \"react\";\n\nimport arrowRightMicroSvg from \"../../../assets/icons/arrowRightMicro.svg\";\nimport { useGalleryControls } from \"../Gallery.context\";\nimport type { GalleryControlsProps } from \"../Gallery.types\";\nimport * as S from \"./GalleryControls.styles\";\nimport type {\n GalleryBottomControlsProps,\n GalleryInsideControlsProps,\n} from \"./GalleryControls.types\";\n\nexport const GalleryControl = memo(function GalleryRightControl({\n label,\n side,\n rounded,\n onClick,\n}: GalleryControlsProps) {\n const { setNext, setPrevious } = useGalleryControls();\n\n const handleClick = useCallback(() => {\n onClick?.();\n\n switch (side) {\n case \"left\":\n setPrevious();\n break;\n case \"right\":\n setNext();\n break;\n }\n }, [onClick, side, setPrevious, setNext]);\n\n return (\n <S.GalleryArrow\n $rounded={rounded}\n onClick={handleClick}\n aria-label={side === \"left\" ? \"Previous\" : \"Next\"}\n >\n <S.GalleryArrowIcon\n src={arrowRightMicroSvg}\n height={24}\n width={24}\n $side={side}\n $rounded={rounded}\n />\n {label && <S.GalleryControlLabel>{label}</S.GalleryControlLabel>}\n </S.GalleryArrow>\n );\n});\n\nexport const GalleryOutsideControlsInfo = () => {\n const { currentImageLabel } = useGalleryControls();\n return <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>;\n};\n\nexport const GalleryBottomControls = memo(function GalleryBottomControls({\n className,\n size,\n onControl,\n}: GalleryBottomControlsProps) {\n const { currentImageLabel } = useGalleryControls();\n return (\n <S.GalleryBottomControlsContainer className={className} size={size}>\n <GalleryControl onClick={onControl} side=\"left\" />\n <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>\n <GalleryControl onClick={onControl} side=\"right\" />\n </S.GalleryBottomControlsContainer>\n );\n});\n\nexport const GalleryInsideControls = ({\n onControl,\n}: GalleryInsideControlsProps) => {\n return (\n <S.GalleryInsideControls>\n <GalleryControl onClick={onControl} side=\"left\" rounded />\n <GalleryControl onClick={onControl} side=\"right\" rounded />\n </S.GalleryInsideControls>\n );\n};\n"],"names":["GalleryControl","memo","GalleryRightControl","label","side","rounded","onClick","setNext","setPrevious","useGalleryControls","handleClick","useCallback","jsxs","S.GalleryArrow","GalleryArrow","$rounded","children","jsx","S.GalleryArrowIcon","GalleryArrowIcon","src","arrowRightMicroSvg","height","width","$side","S.GalleryControlLabel","GalleryOutsideControlsInfo","currentImageLabel","S.GalleryControlsInfo","GalleryControlsInfo","GalleryBottomControls","GalleryBottomControls2","className","size","onControl","S.GalleryBottomControlsContainer","GalleryBottom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ls.tsx"],"sourcesContent":["import { memo, useCallback } from \"react\";\n\nimport arrowRightMicroSvg from \"../../../assets/icons/arrowRightMicro.svg\";\nimport { useGalleryControls } from \"../Gallery.context\";\nimport type { GalleryControlsProps } from \"../Gallery.types\";\nimport * as S from \"./GalleryControls.styles\";\nimport type {\n GalleryBottomControlsProps,\n GalleryInsideControlsProps,\n} from \"./GalleryControls.types\";\n\nexport const GalleryControl = memo(function GalleryRightControl({\n label,\n side,\n rounded,\n onClick,\n}: GalleryControlsProps) {\n const { setNext, setPrevious } = useGalleryControls();\n\n const handleClick = useCallback(() => {\n onClick?.();\n\n switch (side) {\n case \"left\":\n setPrevious();\n break;\n case \"right\":\n setNext();\n break;\n }\n }, [onClick, side, setPrevious, setNext]);\n\n return (\n <S.GalleryArrow\n $rounded={rounded}\n onClick={handleClick}\n aria-label={side === \"left\" ? \"Previous\" : \"Next\"}\n >\n <S.GalleryArrowIcon\n src={arrowRightMicroSvg}\n height={24}\n width={24}\n side={side}\n $rounded={rounded}\n />\n {label && <S.GalleryControlLabel>{label}</S.GalleryControlLabel>}\n </S.GalleryArrow>\n );\n});\n\nexport const GalleryOutsideControlsInfo = () => {\n const { currentImageLabel } = useGalleryControls();\n return <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>;\n};\n\nexport const GalleryBottomControls = memo(function GalleryBottomControls({\n className,\n size,\n onControl,\n}: GalleryBottomControlsProps) {\n const { currentImageLabel } = useGalleryControls();\n return (\n <S.GalleryBottomControlsContainer className={className} size={size}>\n <GalleryControl onClick={onControl} side=\"left\" />\n <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>\n <GalleryControl onClick={onControl} side=\"right\" />\n </S.GalleryBottomControlsContainer>\n );\n});\n\nexport const GalleryInsideControls = ({\n onControl,\n}: GalleryInsideControlsProps) => {\n return (\n <S.GalleryInsideControls>\n <GalleryControl onClick={onControl} side=\"left\" rounded />\n <GalleryControl onClick={onControl} side=\"right\" rounded />\n </S.GalleryInsideControls>\n );\n};\n"],"names":["GalleryControl","memo","GalleryRightControl","label","side","rounded","onClick","setNext","setPrevious","useGalleryControls","handleClick","useCallback","jsxs","S.GalleryArrow","GalleryArrow","$rounded","children","jsx","S.GalleryArrowIcon","GalleryArrowIcon","src","arrowRightMicroSvg","height","width","S.GalleryControlLabel","GalleryOutsideControlsInfo","currentImageLabel","S.GalleryControlsInfo","GalleryControlsInfo","GalleryBottomControls","GalleryBottomControls2","className","size","onControl","S.GalleryBottomControlsContainer","GalleryBottomControlsContainer","GalleryInsideControls","S.GalleryInsideControls"],"mappings":";;;;;;;;;;;;;;;AAWa,MAAAA,cAAA,GAAiBC,KAAAA,CAAAA,IAAK,CAAA,SAASC,mBAAoBA,CAAA;EAC9DC,KAAA;EACAC,IAAA;EACAC,OAAA;EACAC;AACF,CAAyB,EAAA;EACvB,MAAM;IAAEC,OAAA;IAASC;EAAY,CAAA,GAAIC,eAAmB,CAAAA,kBAAA,CAAA,CAAA;EAE9C,MAAAC,WAAA,GAAcC,KAAAA,CAAAA,YAAY,MAAM;IAC1BL,OAAA,IAAA;IAEV,QAAQF,IAAM;MACZ,KAAK,MAAA;QACSI,WAAA,EAAA;QACZ;MACF,KAAK,OAAA;QACKD,OAAA,EAAA;QACR;IACJ;KACC,CAACD,OAAA,EAASF,IAAM,EAAAI,WAAA,EAAaD,OAAO,CAAC,CAAA;EAGtC,sBAAAK,UAAA,CAAAA,IAAA,CAACC,sBAAE,CAAAC,YAAA,EAAF;IACCC,QAAU,EAAAV,OAAA;IACVC,OAAS,EAAAI,WAAA;IACT,YAAA,EAAYN,IAAS,KAAA,MAAA,GAAS,UAAa,GAAA,MAAA;IAE3CY,QAAA,EAAA,CAAA,eAAAC,UAAA,CAAAA,GAAA,CAACC,sBAAE,CAAAC,gBAAA,EAAF;MACCC,GAAK,EAAAC,2BAAA,CAAA,SAAA,CAAA;MACLC,MAAQ,EAAA,EAAA;MACRC,KAAO,EAAA,EAAA;MACPnB,IAAA;MACAW,QA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AAA,eAAAC,cAAA,CAACjB;MAAeM,OAAS,EAAA2B,SAAA;MAAW7B,IAAK,EAAA,MAAA;MAAOC,SAAO;KAAC,CAAA,EAAA,8BACvDL,cAAe,EAAA;MAAAM,OAAA,EAAS2B;MAAW7B,IAAK,EAAA,OAAA;MAAQC,SAAO;KAAC,CAAA;EAC3D,CAAA,CAAA;AAEJ,CAAA;;;;"}
@@ -34,7 +34,7 @@ const GalleryControl = memo(function GalleryRightControl({
34
34
  src: arrowRightMicroSvg__default,
35
35
  height: 24,
36
36
  width: 24,
37
- $side: side,
37
+ side,
38
38
  $rounded: rounded
39
39
  }), label && /* @__PURE__ */jsx(GalleryControlLabel, {
40
40
  children: label
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryControls.mjs","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.tsx"],"sourcesContent":["import { memo, useCallback } from \"react\";\n\nimport arrowRightMicroSvg from \"../../../assets/icons/arrowRightMicro.svg\";\nimport { useGalleryControls } from \"../Gallery.context\";\nimport type { GalleryControlsProps } from \"../Gallery.types\";\nimport * as S from \"./GalleryControls.styles\";\nimport type {\n GalleryBottomControlsProps,\n GalleryInsideControlsProps,\n} from \"./GalleryControls.types\";\n\nexport const GalleryControl = memo(function GalleryRightControl({\n label,\n side,\n rounded,\n onClick,\n}: GalleryControlsProps) {\n const { setNext, setPrevious } = useGalleryControls();\n\n const handleClick = useCallback(() => {\n onClick?.();\n\n switch (side) {\n case \"left\":\n setPrevious();\n break;\n case \"right\":\n setNext();\n break;\n }\n }, [onClick, side, setPrevious, setNext]);\n\n return (\n <S.GalleryArrow\n $rounded={rounded}\n onClick={handleClick}\n aria-label={side === \"left\" ? \"Previous\" : \"Next\"}\n >\n <S.GalleryArrowIcon\n src={arrowRightMicroSvg}\n height={24}\n width={24}\n $side={side}\n $rounded={rounded}\n />\n {label && <S.GalleryControlLabel>{label}</S.GalleryControlLabel>}\n </S.GalleryArrow>\n );\n});\n\nexport const GalleryOutsideControlsInfo = () => {\n const { currentImageLabel } = useGalleryControls();\n return <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>;\n};\n\nexport const GalleryBottomControls = memo(function GalleryBottomControls({\n className,\n size,\n onControl,\n}: GalleryBottomControlsProps) {\n const { currentImageLabel } = useGalleryControls();\n return (\n <S.GalleryBottomControlsContainer className={className} size={size}>\n <GalleryControl onClick={onControl} side=\"left\" />\n <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>\n <GalleryControl onClick={onControl} side=\"right\" />\n </S.GalleryBottomControlsContainer>\n );\n});\n\nexport const GalleryInsideControls = ({\n onControl,\n}: GalleryInsideControlsProps) => {\n return (\n <S.GalleryInsideControls>\n <GalleryControl onClick={onControl} side=\"left\" rounded />\n <GalleryControl onClick={onControl} side=\"right\" rounded />\n </S.GalleryInsideControls>\n );\n};\n"],"names":["GalleryControl","memo","GalleryRightControl","label","side","rounded","onClick","setNext","setPrevious","useGalleryControls","handleClick","useCallback","jsxs","S.GalleryArrow","$rounded","children","jsx","S.GalleryArrowIcon","src","arrowRightMicroSvg","height","width","$side","S.GalleryControlLabel","GalleryOutsideControlsInfo","currentImageLabel","S.GalleryControlsInfo","GalleryBottomControls","GalleryBottomControls2","className","size","onControl","S.GalleryBottomControlsContainer","GalleryInsideControls","S.GalleryInsideControls"],"mappings":";;;;;;;AAWa,MAAAA,cAAA,GAAiBC,IAAK,CAAA,SAASC,mBAAoBA,CAAA;EAC9DC,KAAA;EACAC,IAAA;EACAC,OAAA;EACAC;AACF,CAAyB,EAAA;EACvB,MAAM;IAAEC,OAAA;IAASC;EAAY,CAAA,GAAIC,kBAAmB,CAAA,CAAA;EAE9C,MAAAC,WAAA,GAAcC,YAAY,MAAM;IAC1BL,OAAA,IAAA;IAEV,QAAQF,IAAM;MACZ,KAAK,MAAA;QACSI,WAAA,EAAA;QACZ;MACF,KAAK,OAAA;QACKD,OAAA,EAAA;QACR;IACJ;KACC,CAACD,OAAA,EAASF,IAAM,EAAAI,W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CAAA;AAEJ,CAAC,CAAA;AAEM,MAAM6B,wBAAwBA,CAAC;EACpCF;AACF,CAAkC,KAAA;EAE9B,sBAAAnB,IAAA,CAACsB,uBAAE,EAAF;IACCnB,QAAA,EAAA,CAAA,eAAAC,GAAA,CAAChB;MAAeM,OAAS,EAAAyB,SAAA;MAAW3B,IAAK,EAAA,MAAA;MAAOC,SAAO;KAAC,CAAA,EAAA,mBACvDL,cAAe,EAAA;MAAAM,OAAA,EAASyB;MAAW3B,IAAK,EAAA,OAAA;MAAQC,SAAO;KAAC,CAAA;EAC3D,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"GalleryControls.mjs","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.tsx"],"sourcesContent":["import { memo, useCallback } from \"react\";\n\nimport arrowRightMicroSvg from \"../../../assets/icons/arrowRightMicro.svg\";\nimport { useGalleryControls } from \"../Gallery.context\";\nimport type { GalleryControlsProps } from \"../Gallery.types\";\nimport * as S from \"./GalleryControls.styles\";\nimport type {\n GalleryBottomControlsProps,\n GalleryInsideControlsProps,\n} from \"./GalleryControls.types\";\n\nexport const GalleryControl = memo(function GalleryRightControl({\n label,\n side,\n rounded,\n onClick,\n}: GalleryControlsProps) {\n const { setNext, setPrevious } = useGalleryControls();\n\n const handleClick = useCallback(() => {\n onClick?.();\n\n switch (side) {\n case \"left\":\n setPrevious();\n break;\n case \"right\":\n setNext();\n break;\n }\n }, [onClick, side, setPrevious, setNext]);\n\n return (\n <S.GalleryArrow\n $rounded={rounded}\n onClick={handleClick}\n aria-label={side === \"left\" ? \"Previous\" : \"Next\"}\n >\n <S.GalleryArrowIcon\n src={arrowRightMicroSvg}\n height={24}\n width={24}\n side={side}\n $rounded={rounded}\n />\n {label && <S.GalleryControlLabel>{label}</S.GalleryControlLabel>}\n </S.GalleryArrow>\n );\n});\n\nexport const GalleryOutsideControlsInfo = () => {\n const { currentImageLabel } = useGalleryControls();\n return <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>;\n};\n\nexport const GalleryBottomControls = memo(function GalleryBottomControls({\n className,\n size,\n onControl,\n}: GalleryBottomControlsProps) {\n const { currentImageLabel } = useGalleryControls();\n return (\n <S.GalleryBottomControlsContainer className={className} size={size}>\n <GalleryControl onClick={onControl} side=\"left\" />\n <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>\n <GalleryControl onClick={onControl} side=\"right\" />\n </S.GalleryBottomControlsContainer>\n );\n});\n\nexport const GalleryInsideControls = ({\n onControl,\n}: GalleryInsideControlsProps) => {\n return (\n <S.GalleryInsideControls>\n <GalleryControl onClick={onControl} side=\"left\" rounded />\n <GalleryControl onClick={onControl} side=\"right\" rounded />\n </S.GalleryInsideControls>\n );\n};\n"],"names":["GalleryControl","memo","GalleryRightControl","label","side","rounded","onClick","setNext","setPrevious","useGalleryControls","handleClick","useCallback","jsxs","S.GalleryArrow","$rounded","children","jsx","S.GalleryArrowIcon","src","arrowRightMicroSvg","height","width","S.GalleryControlLabel","GalleryOutsideControlsInfo","currentImageLabel","S.GalleryControlsInfo","GalleryBottomControls","GalleryBottomControls2","className","size","onControl","S.GalleryBottomControlsContainer","GalleryInsideControls","S.GalleryInsideControls"],"mappings":";;;;;;;AAWa,MAAAA,cAAA,GAAiBC,IAAK,CAAA,SAASC,mBAAoBA,CAAA;EAC9DC,KAAA;EACAC,IAAA;EACAC,OAAA;EACAC;AACF,CAAyB,EAAA;EACvB,MAAM;IAAEC,OAAA;IAASC;EAAY,CAAA,GAAIC,kBAAmB,CAAA,CAAA;EAE9C,MAAAC,WAAA,GAAcC,YAAY,MAAM;IAC1BL,OAAA,IAAA;IAEV,QAAQF,IAAM;MACZ,KAAK,MAAA;QACSI,WAAA,EAAA;QACZ;MACF,KAAK,OAAA;QACKD,OAAA,EAAA;QACR;IACJ;KACC,CAACD,OAAA,EAASF,IAAM,EAAAI,WAAA,EAAaD,OAAO,CAAC,CAAA;EAGtC,sBAAAK,IAAA,CAACC,YAAE,EA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E9B,sBAAAlB,IAAA,CAACqB,uBAAE,EAAF;IACClB,QAAA,EAAA,CAAA,eAAAC,GAAA,CAAChB;MAAeM,OAAS,EAAAwB,SAAA;MAAW1B,IAAK,EAAA,MAAA;MAAOC,SAAO;KAAC,CAAA,EAAA,mBACvDL,cAAe,EAAA;MAAAM,OAAA,EAASwB;MAAW1B,IAAK,EAAA,OAAA;MAAQC,SAAO;KAAC,CAAA;EAC3D,CAAA,CAAA;AAEJ,CAAA;"}
@@ -1,12 +1,12 @@
1
1
  import type { GalleryBottomControlsProps } from "./GalleryControls.types";
2
- export declare const GalleryArrow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
2
+ export declare const GalleryArrow: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
3
  $rounded?: boolean;
4
- }>> & string;
5
- export declare const GalleryArrowIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../../StyleableSvgImage").StyleableSvgImageProps, {
6
- $side: string;
4
+ }, never>;
5
+ export declare const GalleryArrowIcon: import("styled-components").StyledComponent<({ src, width, height, renderedHeight, className, }: import("../../StyleableSvgImage").StyleableSvgImageProps) => JSX.Element, import("styled-components").DefaultTheme, {
6
+ side: string;
7
7
  $rounded?: boolean;
8
- }>> & string & Omit<({ src, width, height, renderedHeight, className, }: import("../../StyleableSvgImage").StyleableSvgImageProps) => JSX.Element, keyof import("react").Component<any, {}, any>>;
9
- export declare const GalleryControlLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
- export declare const GalleryBottomControlsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<GalleryBottomControlsProps, "size">>> & string;
11
- export declare const GalleryControlsInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
- export declare const GalleryInsideControls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ }, never>;
9
+ export declare const GalleryControlLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const GalleryBottomControlsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<GalleryBottomControlsProps, "size">, never>;
11
+ export declare const GalleryControlsInfo: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const GalleryInsideControls: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -55,8 +55,8 @@ const GalleryArrowIcon = styled__default["default"](StyleableSvgImage.StyleableS
55
55
  }) => $rounded ? theme.theme.colors.white : "#494949"};
56
56
 
57
57
  ${({
58
- $side
59
- }) => $side === "left" && styled.css`
58
+ side
59
+ }) => side === "left" && styled.css`
60
60
  transform: rotate(180deg);
61
61
  `}
62
62
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryControls.styles.js","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport type { GalleryBottomControlsProps } from \"./GalleryControls.types\";\n\nconst SMALL_SIZE_CONTROLS = css`\n width: 100px;\n height: 40px;\n font-size: 14px;\n`;\n\nexport const GalleryArrow = styled.button<{ $rounded?: boolean }>`\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n transform-origin: center center;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n border-radius: 50px;\n cursor: pointer;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n width: 40px;\n height: 40px;\n }\n\n ${({ $rounded }) =>\n $rounded &&\n css`\n height: 50px;\n width: 50px;\n border-radius: 25px; /* 50% of width/height */\n background-color: ${theme.colors.black20};\n `}\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryArrowIcon = styled(StyleableSvgImage)<{\n $side: string;\n $rounded?: boolean;\n}>`\n color: ${({ $rounded }) => ($rounded ? theme.colors.white : \"#494949\")};\n\n ${({ $side }) =>\n $side === \"left\" &&\n css`\n transform: rotate(180deg);\n `}\n`;\n\nexport const GalleryControlLabel = styled.div`\n position: relative;\n user-select: none;\n`;\n\nexport const GalleryBottomControlsContainer = styled.div<\n Pick<GalleryBottomControlsProps, \"size\">\n>`\n position: relative;\n z-index: 3;\n width: 160px;\n height: 60px;\n background: rgba(255 255 255 / 0.6);\n border-radius: 50px;\n color: #494949;\n margin: 0 auto;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n font-size: 16px;\n\n ${({ size }) => size === \"small\" && SMALL_SIZE_CONTROLS}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n ${SMALL_SIZE_CONTROLS}\n }\n`;\n\nexport const GalleryControlsInfo = styled.div`\n text-align: center;\n margin-top: 0;\n`;\n\nexport const GalleryInsideControls = styled.div`\n position: absolute;\n inset: 0 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n`;\n"],"names":["SMALL_SIZE_CONTROLS","css","GalleryArrow","styled","button","BREAKPOINTS","TABLET_AND_DOWN","$rounded","theme","colors","black20","GalleryArrowIcon","StyleableSvgImage","white","$side","GalleryControlLabel","div","GalleryBottomControlsContainer","size","GalleryControlsInfo","GalleryInsideControls"],"mappings":";;;;;;;;;;;;;;AAOA,MAAMA,mBAAsB,GAA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AA,CAAA;AAKnC,MAAMI,wBAAwBjB,eAAO,CAAA,SAAA,CAAA,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;"}
1
+ {"version":3,"file":"GalleryControls.styles.js","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport type { GalleryBottomControlsProps } from \"./GalleryControls.types\";\n\nconst SMALL_SIZE_CONTROLS = css`\n width: 100px;\n height: 40px;\n font-size: 14px;\n`;\n\nexport const GalleryArrow = styled.button<{ $rounded?: boolean }>`\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n transform-origin: center center;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n border-radius: 50px;\n cursor: pointer;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n width: 40px;\n height: 40px;\n }\n\n ${({ $rounded }) =>\n $rounded &&\n css`\n height: 50px;\n width: 50px;\n border-radius: 25px; /* 50% of width/height */\n background-color: ${theme.colors.black20};\n `}\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryArrowIcon = styled(StyleableSvgImage)<{\n side: string;\n $rounded?: boolean;\n}>`\n color: ${({ $rounded }) => ($rounded ? theme.colors.white : \"#494949\")};\n\n ${({ side }) =>\n side === \"left\" &&\n css`\n transform: rotate(180deg);\n `}\n`;\n\nexport const GalleryControlLabel = styled.div`\n position: relative;\n user-select: none;\n`;\n\nexport const GalleryBottomControlsContainer = styled.div<\n Pick<GalleryBottomControlsProps, \"size\">\n>`\n position: relative;\n z-index: 3;\n width: 160px;\n height: 60px;\n background: rgba(255 255 255 / 0.6);\n border-radius: 50px;\n color: #494949;\n margin: 0 auto;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n font-size: 16px;\n\n ${({ size }) => size === \"small\" && SMALL_SIZE_CONTROLS}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n ${SMALL_SIZE_CONTROLS}\n }\n`;\n\nexport const GalleryControlsInfo = styled.div`\n text-align: center;\n margin-top: 0;\n`;\n\nexport const GalleryInsideControls = styled.div`\n position: absolute;\n inset: 0 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n`;\n"],"names":["SMALL_SIZE_CONTROLS","css","GalleryArrow","styled","button","BREAKPOINTS","TABLET_AND_DOWN","$rounded","theme","colors","black20","GalleryArrowIcon","StyleableSvgImage","white","side","GalleryControlLabel","div","GalleryBottomControlsContainer","size","GalleryControlsInfo","GalleryInsideControls"],"mappings":";;;;;;;;;;;;;;AAOA,MAAMA,mBAAsB,GAAAC,MAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMrB,MAAMC,eAAeC,eAAO,CAAA,SAAA,CAAA,CAAAC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAcxBC,MAAAA,CAAAA,YAAYC,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA,IAKlC,CAAC;EAAEC;CAAS,KACZA,QACA,IAAAN,MAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,0BAIsBO,KAAA,CAAAA,KAAA,CAAMC,OAAOC,OAAO;AAAA,KACzC;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOQ,MAAAC,gBAAA,GAAmBR,eAAAA,CAAAA,SAAAA,EAAOS,iBAAAA,CAAAA,iBAAiB,CAAA;AAAA,WAI7C,CAAC;EAAEL;CAAS,KAAOA,WAAWC,KAAAA,CAAAA,KAAM,CAAAC,MAAA,CAAOI,QAAQ,SAAU;AAAA;AAAA,IAEpE,CAAC;EAAEC;AAAK,CAAA,KACRA,SAAS,MACT,IAAAb,MAAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGE,MAAMc,sBAAsBZ,eAAO,CAAA,SAAA,CAAA,CAAAa,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnC,MAAMC,iCAAiCd,eAAO,CAAA,SAAA,CAAA,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAiBjD,CAAC;EAAEE;AAAA,CAAW,KAAAA,IAAA,KAAS,WAAWlB,mBAAmB;AAAA;AAAA,WAE9CK,MAAAA,CAAAA,YAAYC,eAAe;AAAA,MAChCN,mBAAmB;AAAA;AAAA,CAAA;AAIlB,MAAMmB,sBAAsBhB,eAAO,CAAA,SAAA,CAAA,CAAAa,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnC,MAAMI,wBAAwBjB,eAAO,CAAA,SAAA,CAAA,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;"}
@@ -47,8 +47,8 @@ const GalleryArrowIcon = styled(StyleableSvgImage)`
47
47
  }) => $rounded ? theme.colors.white : "#494949"};
48
48
 
49
49
  ${({
50
- $side
51
- }) => $side === "left" && css`
50
+ side
51
+ }) => side === "left" && css`
52
52
  transform: rotate(180deg);
53
53
  `}
54
54
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryControls.styles.mjs","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport type { GalleryBottomControlsProps } from \"./GalleryControls.types\";\n\nconst SMALL_SIZE_CONTROLS = css`\n width: 100px;\n height: 40px;\n font-size: 14px;\n`;\n\nexport const GalleryArrow = styled.button<{ $rounded?: boolean }>`\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n transform-origin: center center;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n border-radius: 50px;\n cursor: pointer;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n width: 40px;\n height: 40px;\n }\n\n ${({ $rounded }) =>\n $rounded &&\n css`\n height: 50px;\n width: 50px;\n border-radius: 25px; /* 50% of width/height */\n background-color: ${theme.colors.black20};\n `}\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryArrowIcon = styled(StyleableSvgImage)<{\n $side: string;\n $rounded?: boolean;\n}>`\n color: ${({ $rounded }) => ($rounded ? theme.colors.white : \"#494949\")};\n\n ${({ $side }) =>\n $side === \"left\" &&\n css`\n transform: rotate(180deg);\n `}\n`;\n\nexport const GalleryControlLabel = styled.div`\n position: relative;\n user-select: none;\n`;\n\nexport const GalleryBottomControlsContainer = styled.div<\n Pick<GalleryBottomControlsProps, \"size\">\n>`\n position: relative;\n z-index: 3;\n width: 160px;\n height: 60px;\n background: rgba(255 255 255 / 0.6);\n border-radius: 50px;\n color: #494949;\n margin: 0 auto;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n font-size: 16px;\n\n ${({ size }) => size === \"small\" && SMALL_SIZE_CONTROLS}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n ${SMALL_SIZE_CONTROLS}\n }\n`;\n\nexport const GalleryControlsInfo = styled.div`\n text-align: center;\n margin-top: 0;\n`;\n\nexport const GalleryInsideControls = styled.div`\n position: absolute;\n inset: 0 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n`;\n"],"names":["SMALL_SIZE_CONTROLS","css","GalleryArrow","styled","button","BREAKPOINTS","TABLET_AND_DOWN","$rounded","theme","colors","black20","GalleryArrowIcon","StyleableSvgImage","white","$side","GalleryControlLabel","div","GalleryBottomControlsContainer","size","GalleryControlsInfo","GalleryInsideControls"],"mappings":";;;;;;AAOA,MAAMA,mBAAsB,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMrB,MAAMC,eAAeC,MAAO,CAAAC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAcxBC,YAAYC,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA,IAKlC,CAAC;EAAEC;CAAS,KACZA,QACA,IAAAN,GAAA;AAAA;AAAA;AAAA;AAAA,0BAIsBO,KAAA,CAAMC,OAAOC,OAAO;AAAA,KACzC;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOQ,MAAAC,gBAAA,GAAmBR,OAAOS,iBAAiB,CAAA;AAAA,WAI7C,CAAC;EAAEL;CAAS,KAAOA,WAAWC,KAAM,CAAAC,MAAA,CAAOI,QAAQ,SAAU;AAAA;AAAA,IAEpE,CAAC;EAAEC;AAAM,CAAA,KACTA,UAAU,MACV,IAAAb,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGE,MAAMc,sBAAsBZ,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnC,MAAMC,iCAAiCd,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAiBjD,CAAC;EAAEE;AAAA,CAAW,KAAAA,IAAA,KAAS,WAAWlB,mBAAmB;AAAA;AAAA,WAE9CK,YAAYC,eAAe;AAAA,MAChCN,mBAAmB;AAAA;AAAA,CAAA;AAIlB,MAAMmB,sBAAsBhB,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnC,MAAMI,wBAAwBjB,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"GalleryControls.styles.mjs","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport type { GalleryBottomControlsProps } from \"./GalleryControls.types\";\n\nconst SMALL_SIZE_CONTROLS = css`\n width: 100px;\n height: 40px;\n font-size: 14px;\n`;\n\nexport const GalleryArrow = styled.button<{ $rounded?: boolean }>`\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n transform-origin: center center;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n border-radius: 50px;\n cursor: pointer;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n width: 40px;\n height: 40px;\n }\n\n ${({ $rounded }) =>\n $rounded &&\n css`\n height: 50px;\n width: 50px;\n border-radius: 25px; /* 50% of width/height */\n background-color: ${theme.colors.black20};\n `}\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryArrowIcon = styled(StyleableSvgImage)<{\n side: string;\n $rounded?: boolean;\n}>`\n color: ${({ $rounded }) => ($rounded ? theme.colors.white : \"#494949\")};\n\n ${({ side }) =>\n side === \"left\" &&\n css`\n transform: rotate(180deg);\n `}\n`;\n\nexport const GalleryControlLabel = styled.div`\n position: relative;\n user-select: none;\n`;\n\nexport const GalleryBottomControlsContainer = styled.div<\n Pick<GalleryBottomControlsProps, \"size\">\n>`\n position: relative;\n z-index: 3;\n width: 160px;\n height: 60px;\n background: rgba(255 255 255 / 0.6);\n border-radius: 50px;\n color: #494949;\n margin: 0 auto;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n font-size: 16px;\n\n ${({ size }) => size === \"small\" && SMALL_SIZE_CONTROLS}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n ${SMALL_SIZE_CONTROLS}\n }\n`;\n\nexport const GalleryControlsInfo = styled.div`\n text-align: center;\n margin-top: 0;\n`;\n\nexport const GalleryInsideControls = styled.div`\n position: absolute;\n inset: 0 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n`;\n"],"names":["SMALL_SIZE_CONTROLS","css","GalleryArrow","styled","button","BREAKPOINTS","TABLET_AND_DOWN","$rounded","theme","colors","black20","GalleryArrowIcon","StyleableSvgImage","white","side","GalleryControlLabel","div","GalleryBottomControlsContainer","size","GalleryControlsInfo","GalleryInsideControls"],"mappings":";;;;;;AAOA,MAAMA,mBAAsB,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMrB,MAAMC,eAAeC,MAAO,CAAAC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAcxBC,YAAYC,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA,IAKlC,CAAC;EAAEC;CAAS,KACZA,QACA,IAAAN,GAAA;AAAA;AAAA;AAAA;AAAA,0BAIsBO,KAAA,CAAMC,OAAOC,OAAO;AAAA,KACzC;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOQ,MAAAC,gBAAA,GAAmBR,OAAOS,iBAAiB,CAAA;AAAA,WAI7C,CAAC;EAAEL;CAAS,KAAOA,WAAWC,KAAM,CAAAC,MAAA,CAAOI,QAAQ,SAAU;AAAA;AAAA,IAEpE,CAAC;EAAEC;AAAK,CAAA,KACRA,SAAS,MACT,IAAAb,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGE,MAAMc,sBAAsBZ,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnC,MAAMC,iCAAiCd,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAiBjD,CAAC;EAAEE;AAAA,CAAW,KAAAA,IAAA,KAAS,WAAWlB,mBAAmB;AAAA;AAAA,WAE9CK,YAAYC,eAAe;AAAA,MAChCN,mBAAmB;AAAA;AAAA,CAAA;AAIlB,MAAMmB,sBAAsBhB,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnC,MAAMI,wBAAwBjB,MAAO,CAAAa,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
@@ -60,11 +60,11 @@ const GalleryItem = react.memo(function GalleryItem2({
60
60
  }, [isVisible]);
61
61
  return /* @__PURE__ */jsxRuntime.jsx(GalleryItem_styles.GalleryItemWrapper, {
62
62
  onTransitionEnd,
63
- $fade: fade,
64
- $isActive: isActive,
65
- $isVisible: isVisible,
66
- $couldBeNext: couldBeNext,
67
- $hoverable: item.isVideo,
63
+ fade,
64
+ isActive,
65
+ isVisible,
66
+ couldBeNext,
67
+ hoverable: item.isVideo,
68
68
  onMouseEnter: handleMouseEnter,
69
69
  onMouseLeave: () => {
70
70
  isVideoHovering.current = false;
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryItem.js","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useRef, useState } from \"react\";\nimport { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport type { GalleryItemProps } from \"../Gallery.types\";\nimport { GalleryImage, GalleryItemWrapper, Video } from \"./GalleryItem.styles\";\n\nexport const GalleryItem = memo(function GalleryItem({\n item,\n renderImage,\n priority,\n onTransitionEnd,\n fade,\n isActive,\n couldBeNext = true,\n objectFit = \"cover\",\n}: GalleryItemProps) {\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const handleMouseEnter = useCallback(() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.play();\n videoRef.current.onended = () => {\n if (videoRef.current) {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n }\n };\n }\n }, []);\n\n const [isVisible, setIsVisible] = useState(isActive);\n\n // Set isVisible to false after fade out animation\n useEffect(() => {\n if (!isActive) {\n window.setTimeout(() => {\n setIsVisible(false);\n }, 500);\n return;\n }\n\n if (!isVisible) {\n setIsVisible(true);\n }\n }, [isActive, isVisible]);\n\n // Stop video when not visible\n useEffect(() => {\n if (!isVisible && videoRef.current) {\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n }\n }, [isVisible]);\n\n return (\n <GalleryItemWrapper\n onTransitionEnd={onTransitionEnd}\n $fade={fade}\n $isActive={isActive}\n $isVisible={isVisible}\n $couldBeNext={couldBeNext}\n $hoverable={item.isVideo}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={item?.childAssets?.find((child) => !child.isVideo)?.src}\n $aspectRatio={item.width / item.height}\n controls={false}\n autoPlay={isMobile}\n />\n ) : (\n <GalleryImage\n asset={item}\n renderImage={renderImage}\n sizes=\"100%\"\n objectFit={objectFit}\n layout=\"fill\"\n priority={priority}\n />\n )}\n </GalleryItemWrapper>\n );\n});\n"],"names":["GalleryItem","memo","GalleryItem2","item","renderImage","priority","onTransitionEnd","fade","isActive","couldBeNext","objectFit","videoRef","useRef","isVideoHovering","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","handleMouseEnter","useCallback","current","isVideoPlaying","currentTime","paused","ended","play","onended","pause","isVisible","setIsVisible","useState","useEffect","window","setTimeout","jsx","GalleryItemWrapper","$fade","$isActive","$isVisible","$couldBeNext","$hoverable","isVideo","onMouseEnter","onMouseLeave","children","Video","ref","src","width","height","muted","playsInline","poster","childAssets","find","child","$aspectRatio","controls","autoPlay","GalleryImage","asset","sizes","layout"],"mappings":";;;;;;;;AAOa,MAAAA,WAAA,GAAcC,KAAAA,CAAAA,IAAK,CAAA,SAASD,YAAYE,CAAA;EACnDC,IAAA;EACAC,WAAA;EACAC,QAAA;EACAC,eAAA;EACAC,IAAA;EACAC,QAAA;EACAC,WAAc,GAAA,IAAA;EACdC,SAAY,GAAA;AACd,CAAqB,EAAA;EACb,MAAAC,QAAA,GAAWC,aAAyB,IAAI,CAAA;EACxC,MAAAC,eAAA,GAAkBD,aAAgB,KAAK,CAAA;EAE7C,MAAME,QAAW,GAAAC,QAAA,CAAAA,QAAA,CAASC,MAAY,CAAAA,WAAA,CAAAC,eAAA,EAAiB,KAAK,CAAA;EAEtD,MAAAC,gBAAA,GAAmBC,KAAAA,CAAAA,YAAY,MAAM;IAEzCN,eAAA,CAAgBO,OAAU,GAAA,IAAA;IAEtB,IAAA,CAACT,SAASS,OAAS,EAAA;MACrB;IACF;IAGA,MAAMC,cAAiB,GAAA,CAAC,EACtBV,QAAA,CAASS,OAAQ,CAAAE,WAAA,GAAc,CAC/B,IAAA,CAACX,QAAS,CAAAS,OAAA,CAAQG,MAClB,IAAA,CAACZ,SAASS,OAAQ,CAAAI,KAAA,CAAA;IAGpB,IAAI,CAACH,cAAgB,EAAA;MACnBV,QAAA,CAASS,QAAQK,IAAK,EAAA;MACbd,QAAA,CAAAS,OAAA,CAAQM,UAAU,MAAM;QAC/B,IAAIf,SAASS,OAAS,EAAA;UAChB,IAAA,CAACP,gBAAgBO,OAAS,EAAA;YAE5BT,QAAA,CAASS,QAAQO,KAAM,EAAA;YACvBhB,QAAA,CAASS,QAAQE,WAAc,GAAA,CAAA;UAAA,CAC1B,MAAA;YAELX,QAAA,CAASS,QAAQE,WAAc,GAAA,CAAA;YAC/BX,QAAA,CAASS,QAAQK,IAAK,EAAA;UACxB;QACF;MAAA,CACF;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AQjD,MAAMkD,WAAa,EAAAC,IAAA,CAAMC,KAAU,IAAA,CAACA,KAAM,CAAAd,OAAO,CAAG,EAAAM,GAAA;MAC5DS,YAAA,EAAcrD,IAAK,CAAA6C,KAAA,GAAQ7C,IAAK,CAAA8C,MAAA;MAChCQ,QAAU,EAAA,KAAA;MACVC,QAAU,EAAA5C;IAAA,CAAA,CAGZ,kBAAAoB,UAAA,CAAAA,GAAA,CAACyB,kBAAA,CAAAA,YAAA,EAAA;MACCC,KAAO,EAAAzD,IAAA;MACPC,WAAA;MACAyD,KAAM,EAAA,MAAA;MACNnD,SAAA;MACAoD,MAAO,EAAA,MAAA;MACPzD;IAAA,CACF;EAAA,CAAA,CAEJ;AAEJ,CAAC,CAAA;"}
1
+ {"version":3,"file":"GalleryItem.js","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useRef, useState } from \"react\";\nimport { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport type { GalleryItemProps } from \"../Gallery.types\";\nimport { GalleryImage, GalleryItemWrapper, Video } from \"./GalleryItem.styles\";\n\nexport const GalleryItem = memo(function GalleryItem({\n item,\n renderImage,\n priority,\n onTransitionEnd,\n fade,\n isActive,\n couldBeNext = true,\n objectFit = \"cover\",\n}: GalleryItemProps) {\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const handleMouseEnter = useCallback(() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.play();\n videoRef.current.onended = () => {\n if (videoRef.current) {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n }\n };\n }\n }, []);\n\n const [isVisible, setIsVisible] = useState(isActive);\n\n // Set isVisible to false after fade out animation\n useEffect(() => {\n if (!isActive) {\n window.setTimeout(() => {\n setIsVisible(false);\n }, 500);\n return;\n }\n\n if (!isVisible) {\n setIsVisible(true);\n }\n }, [isActive, isVisible]);\n\n // Stop video when not visible\n useEffect(() => {\n if (!isVisible && videoRef.current) {\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n }\n }, [isVisible]);\n\n return (\n <GalleryItemWrapper\n onTransitionEnd={onTransitionEnd}\n fade={fade}\n isActive={isActive}\n isVisible={isVisible}\n couldBeNext={couldBeNext}\n hoverable={item.isVideo}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={item?.childAssets?.find((child) => !child.isVideo)?.src}\n $aspectRatio={item.width / item.height}\n controls={false}\n autoPlay={isMobile}\n />\n ) : (\n <GalleryImage\n asset={item}\n renderImage={renderImage}\n sizes=\"100%\"\n objectFit={objectFit}\n layout=\"fill\"\n priority={priority}\n />\n )}\n </GalleryItemWrapper>\n );\n});\n"],"names":["GalleryItem","memo","GalleryItem2","item","renderImage","priority","onTransitionEnd","fade","isActive","couldBeNext","objectFit","videoRef","useRef","isVideoHovering","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","handleMouseEnter","useCallback","current","isVideoPlaying","currentTime","paused","ended","play","onended","pause","isVisible","setIsVisible","useState","useEffect","window","setTimeout","jsx","GalleryItemWrapper","hoverable","isVideo","onMouseEnter","onMouseLeave","children","Video","ref","src","width","height","muted","playsInline","poster","childAssets","find","child","$aspectRatio","controls","autoPlay","GalleryImage","asset","sizes","layout"],"mappings":";;;;;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A;MAChCQ,QAAU,EAAA,KAAA;MACVC,QAAU,EAAAxC;IAAA,CAAA,CAGZ,kBAAAoB,UAAA,CAAAA,GAAA,CAACqB,kBAAA,CAAAA,YAAA,EAAA;MACCC,KAAO,EAAArD,IAAA;MACPC,WAAA;MACAqD,KAAM,EAAA,MAAA;MACN/C,SAAA;MACAgD,MAAO,EAAA,MAAA;MACPrD;IAAA,CACF;EAAA,CAAA,CAEJ;AAEJ,CAAC,CAAA;"}
@@ -58,11 +58,11 @@ const GalleryItem = memo(function GalleryItem2({
58
58
  }, [isVisible]);
59
59
  return /* @__PURE__ */jsx(GalleryItemWrapper, {
60
60
  onTransitionEnd,
61
- $fade: fade,
62
- $isActive: isActive,
63
- $isVisible: isVisible,
64
- $couldBeNext: couldBeNext,
65
- $hoverable: item.isVideo,
61
+ fade,
62
+ isActive,
63
+ isVisible,
64
+ couldBeNext,
65
+ hoverable: item.isVideo,
66
66
  onMouseEnter: handleMouseEnter,
67
67
  onMouseLeave: () => {
68
68
  isVideoHovering.current = false;
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryItem.mjs","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useRef, useState } from \"react\";\nimport { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport type { GalleryItemProps } from \"../Gallery.types\";\nimport { GalleryImage, GalleryItemWrapper, Video } from \"./GalleryItem.styles\";\n\nexport const GalleryItem = memo(function GalleryItem({\n item,\n renderImage,\n priority,\n onTransitionEnd,\n fade,\n isActive,\n couldBeNext = true,\n objectFit = \"cover\",\n}: GalleryItemProps) {\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const handleMouseEnter = useCallback(() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.play();\n videoRef.current.onended = () => {\n if (videoRef.current) {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n }\n };\n }\n }, []);\n\n const [isVisible, setIsVisible] = useState(isActive);\n\n // Set isVisible to false after fade out animation\n useEffect(() => {\n if (!isActive) {\n window.setTimeout(() => {\n setIsVisible(false);\n }, 500);\n return;\n }\n\n if (!isVisible) {\n setIsVisible(true);\n }\n }, [isActive, isVisible]);\n\n // Stop video when not visible\n useEffect(() => {\n if (!isVisible && videoRef.current) {\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n }\n }, [isVisible]);\n\n return (\n <GalleryItemWrapper\n onTransitionEnd={onTransitionEnd}\n $fade={fade}\n $isActive={isActive}\n $isVisible={isVisible}\n $couldBeNext={couldBeNext}\n $hoverable={item.isVideo}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={item?.childAssets?.find((child) => !child.isVideo)?.src}\n $aspectRatio={item.width / item.height}\n controls={false}\n autoPlay={isMobile}\n />\n ) : (\n <GalleryImage\n asset={item}\n renderImage={renderImage}\n sizes=\"100%\"\n objectFit={objectFit}\n layout=\"fill\"\n priority={priority}\n />\n )}\n </GalleryItemWrapper>\n );\n});\n"],"names":["GalleryItem","memo","GalleryItem2","item","renderImage","priority","onTransitionEnd","fade","isActive","couldBeNext","objectFit","videoRef","useRef","isVideoHovering","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","handleMouseEnter","useCallback","current","isVideoPlaying","currentTime","paused","ended","play","onended","pause","isVisible","setIsVisible","useState","useEffect","window","setTimeout","jsx","GalleryItemWrapper","$fade","$isActive","$isVisible","$couldBeNext","$hoverable","isVideo","onMouseEnter","onMouseLeave","children","Video","ref","src","width","height","muted","playsInline","poster","childAssets","find","child","$aspectRatio","controls","autoPlay","GalleryImage","asset","sizes","layout"],"mappings":";;;;;;AAOa,MAAAA,WAAA,GAAcC,IAAK,CAAA,SAASD,YAAYE,CAAA;EACnDC,IAAA;EACAC,WAAA;EACAC,QAAA;EACAC,eAAA;EACAC,IAAA;EACAC,QAAA;EACAC,WAAc,GAAA,IAAA;EACdC,SAAY,GAAA;AACd,CAAqB,EAAA;EACb,MAAAC,QAAA,GAAWC,OAAyB,IAAI,CAAA;EACxC,MAAAC,eAAA,GAAkBD,OAAgB,KAAK,CAAA;EAE7C,MAAME,QAAW,GAAAC,QAAA,CAASC,WAAY,CAAAC,eAAA,EAAiB,KAAK,CAAA;EAEtD,MAAAC,gBAAA,GAAmBC,YAAY,MAAM;IAEzCN,eAAA,CAAgBO,OAAU,GAAA,IAAA;IAEtB,IAAA,CAACT,SAASS,OAAS,EAAA;MACrB;IACF;IAGA,MAAMC,cAAiB,GAAA,CAAC,EACtBV,QAAA,CAASS,OAAQ,CAAAE,WAAA,GAAc,CAC/B,IAAA,CAACX,QAAS,CAAAS,OAAA,CAAQG,MAClB,IAAA,CAACZ,SAASS,OAAQ,CAAAI,KAAA,CAAA;IAGpB,IAAI,CAACH,cAAgB,EAAA;MACnBV,QAAA,CAASS,QAAQK,IAAK,EAAA;MACbd,QAAA,CAAAS,OAAA,CAAQM,UAAU,MAAM;QAC/B,IAAIf,SAASS,OAAS,EAAA;UAChB,IAAA,CAACP,gBAAgBO,OAAS,EAAA;YAE5BT,QAAA,CAASS,QAAQO,KAAM,EAAA;YACvBhB,QAAA,CAASS,QAAQE,WAAc,GAAA,CAAA;UAAA,CAC1B,MAAA;YAELX,QAAA,CAASS,QAAQE,WAAc,GAAA,CAAA;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AAC,IAAA,CAAMC,KAAU,IAAA,CAACA,KAAM,CAAAd,OAAO,CAAG,EAAAM,GAAA;MAC5DS,YAAA,EAAcrD,IAAK,CAAA6C,KAAA,GAAQ7C,IAAK,CAAA8C,MAAA;MAChCQ,QAAU,EAAA,KAAA;MACVC,QAAU,EAAA5C;IAAA,CAAA,CAGZ,kBAAAoB,GAAA,CAACyB,YAAA,EAAA;MACCC,KAAO,EAAAzD,IAAA;MACPC,WAAA;MACAyD,KAAM,EAAA,MAAA;MACNnD,SAAA;MACAoD,MAAO,EAAA,MAAA;MACPzD;IAAA,CACF;EAAA,CAAA,CAEJ;AAEJ,CAAC,CAAA;"}
1
+ {"version":3,"file":"GalleryItem.mjs","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useRef, useState } from \"react\";\nimport { useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport type { GalleryItemProps } from \"../Gallery.types\";\nimport { GalleryImage, GalleryItemWrapper, Video } from \"./GalleryItem.styles\";\n\nexport const GalleryItem = memo(function GalleryItem({\n item,\n renderImage,\n priority,\n onTransitionEnd,\n fade,\n isActive,\n couldBeNext = true,\n objectFit = \"cover\",\n}: GalleryItemProps) {\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const handleMouseEnter = useCallback(() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.play();\n videoRef.current.onended = () => {\n if (videoRef.current) {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n }\n };\n }\n }, []);\n\n const [isVisible, setIsVisible] = useState(isActive);\n\n // Set isVisible to false after fade out animation\n useEffect(() => {\n if (!isActive) {\n window.setTimeout(() => {\n setIsVisible(false);\n }, 500);\n return;\n }\n\n if (!isVisible) {\n setIsVisible(true);\n }\n }, [isActive, isVisible]);\n\n // Stop video when not visible\n useEffect(() => {\n if (!isVisible && videoRef.current) {\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n }\n }, [isVisible]);\n\n return (\n <GalleryItemWrapper\n onTransitionEnd={onTransitionEnd}\n fade={fade}\n isActive={isActive}\n isVisible={isVisible}\n couldBeNext={couldBeNext}\n hoverable={item.isVideo}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={item?.childAssets?.find((child) => !child.isVideo)?.src}\n $aspectRatio={item.width / item.height}\n controls={false}\n autoPlay={isMobile}\n />\n ) : (\n <GalleryImage\n asset={item}\n renderImage={renderImage}\n sizes=\"100%\"\n objectFit={objectFit}\n layout=\"fill\"\n priority={priority}\n />\n )}\n </GalleryItemWrapper>\n );\n});\n"],"names":["GalleryItem","memo","GalleryItem2","item","renderImage","priority","onTransitionEnd","fade","isActive","couldBeNext","objectFit","videoRef","useRef","isVideoHovering","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","handleMouseEnter","useCallback","current","isVideoPlaying","currentTime","paused","ended","play","onended","pause","isVisible","setIsVisible","useState","useEffect","window","setTimeout","jsx","GalleryItemWrapper","hoverable","isVideo","onMouseEnter","onMouseLeave","children","Video","ref","src","width","height","muted","playsInline","poster","childAssets","find","child","$aspectRatio","controls","autoPlay","GalleryImage","asset","sizes","layout"],"mappings":";;;;;;AAOa,MAAAA,WAAA,GAAcC,IAAK,CAAA,SAASD,YA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O,EAAA,MAAA;MACPrD;IAAA,CACF;EAAA,CAAA,CAEJ;AAEJ,CAAC,CAAA;"}
@@ -1,11 +1,11 @@
1
- export declare const GalleryItemWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
- $fade?: boolean;
3
- $isActive: boolean;
4
- $isVisible: boolean;
5
- $couldBeNext: boolean;
6
- $hoverable?: boolean;
7
- }>> & string;
8
- export declare const GalleryImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../CustomImage/CustomImage.types").CustomImageProps, never>> & string & Omit<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, keyof import("react").Component<any, {}, any>>;
9
- export declare const Video: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, {
1
+ export declare const GalleryItemWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
+ fade?: boolean;
3
+ isActive: boolean;
4
+ isVisible: boolean;
5
+ couldBeNext: boolean;
6
+ hoverable?: boolean;
7
+ }, never>;
8
+ export declare const GalleryImage: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const Video: import("styled-components").StyledComponent<"video", import("styled-components").DefaultTheme, {
10
10
  $aspectRatio: number;
11
- }>> & string;
11
+ }, never>;
@@ -17,17 +17,17 @@ const GalleryItemWrapper = styled__default["default"].div`
17
17
  display: none;
18
18
 
19
19
  ${({
20
- $couldBeNext,
21
- $isActive
22
- }) => ($couldBeNext || $isActive) && styled.css`
20
+ couldBeNext,
21
+ isActive
22
+ }) => (couldBeNext || isActive) && styled.css`
23
23
  display: block;
24
24
  `}
25
25
 
26
26
  ${({
27
- $fade,
28
- $isActive,
29
- $isVisible
30
- }) => $fade && styled.css`
27
+ fade,
28
+ isActive,
29
+ isVisible
30
+ }) => fade && styled.css`
31
31
  opacity: 0;
32
32
  position: absolute;
33
33
  inset: 0;
@@ -35,15 +35,15 @@ const GalleryItemWrapper = styled__default["default"].div`
35
35
  transition: 0.5s opacity;
36
36
  visibility: hidden;
37
37
 
38
- ${$isActive && "opacity: 1;"}
38
+ ${isActive && "opacity: 1;"}
39
39
 
40
- ${$isVisible && "visibility: visible;"}
40
+ ${isVisible && "visibility: visible;"}
41
41
  `};
42
42
 
43
43
  /* For manual video gallery change cursor to be hoverable */
44
44
  ${({
45
- $hoverable
46
- }) => !!$hoverable && styled.css`
45
+ hoverable
46
+ }) => !!hoverable && styled.css`
47
47
  &:hover {
48
48
  cursor: pointer;
49
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryItem.styles.js","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { CustomImage } from \"../../CustomImage\";\n\nexport const GalleryItemWrapper = styled.div<{\n $fade?: boolean;\n $isActive: boolean;\n $isVisible: boolean;\n $couldBeNext: boolean;\n $hoverable?: boolean;\n}>`\n position: relative;\n flex: 1 0 100%;\n height: 100%;\n display: none;\n\n ${({ $couldBeNext, $isActive }) =>\n ($couldBeNext || $isActive) &&\n css`\n display: block;\n `}\n\n ${({ $fade, $isActive, $isVisible }) =>\n $fade &&\n css`\n opacity: 0;\n position: absolute;\n inset: 0;\n will-change: opacity;\n transition: 0.5s opacity;\n visibility: hidden;\n\n ${$isActive && \"opacity: 1;\"}\n\n ${$isVisible && \"visibility: visible;\"}\n `};\n\n /* For manual video gallery change cursor to be hoverable */\n ${({ $hoverable }) =>\n !!$hoverable &&\n css`\n &:hover {\n cursor: pointer;\n }\n `}\n`;\n\nexport const GalleryImage = styled(CustomImage)`\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n user-select: none;\n -webkit-user-drag: none;\n`;\n\nexport const Video = styled.video<{\n $aspectRatio: number;\n}>`\n width: 100%;\n height: auto;\n max-height: 100%;\n object-fit: contain;\n aspect-ratio: ${({ $aspectRatio }) => $aspectRatio};\n position: absolute;\n top: 0;\n left: 0;\n -webkit-user-drag: none;\n`;\n"],"names":["GalleryItemWrapper","styled","div","$couldBeNext","$isActive","css","$fade","$isVisible","$hoverable","GalleryImage","CustomImage","Video","video","$aspectRatio"],"mappings":";;;;;;;;;;;;AAIO,MAAMA,qBAAqBC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYrC,CAAC;EAAEC,YAAA;EAAcC;AAAU,CAAA,KAAA,CAC1BD,gBAAgBC,SACjB,KAAAC,UAAA;AAAA;AAAA,KAEC;AAAA;AAAA,IAED,CAAC;EAAEC,KAAA;EAAOF,SAAW;EAAAG;MACrBD,KACA,IAAAD,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAQID,aAAa,aAAa;AAAA;AAAA,QAE1BG,cAAc,sBAAsB;AAAA,KACvC;AAAA;AAAA;AAAA,IAGD,CAAC;EAAEC;AAAA,CACH,KAAA,CAAC,CAACA,UACF,IAAAH,MAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,KAIC;AAAA,CAAA;AAGQ,MAAAI,YAAA,GAAeR,eAAAA,CAAAA,SAAAA,EAAOS,WAAAA,CAAAA,WAAW,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAWvC,MAAMC,QAAQV,eAAO,CAAA,SAAA,CAAA,CAAAW,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOV,CAAC;EAAEC;AAAa,CAAA,KAAMA,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;"}
1
+ {"version":3,"file":"GalleryItem.styles.js","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { CustomImage } from \"../../CustomImage\";\n\nexport const GalleryItemWrapper = styled.div<{\n fade?: boolean;\n isActive: boolean;\n isVisible: boolean;\n couldBeNext: boolean;\n hoverable?: boolean;\n}>`\n position: relative;\n flex: 1 0 100%;\n height: 100%;\n display: none;\n\n ${({ couldBeNext, isActive }) =>\n (couldBeNext || isActive) &&\n css`\n display: block;\n `}\n\n ${({ fade, isActive, isVisible }) =>\n fade &&\n css`\n opacity: 0;\n position: absolute;\n inset: 0;\n will-change: opacity;\n transition: 0.5s opacity;\n visibility: hidden;\n\n ${isActive && \"opacity: 1;\"}\n\n ${isVisible && \"visibility: visible;\"}\n `};\n\n /* For manual video gallery change cursor to be hoverable */\n ${({ hoverable }) =>\n !!hoverable &&\n css`\n &:hover {\n cursor: pointer;\n }\n `}\n`;\n\nexport const GalleryImage = styled(CustomImage)`\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n user-select: none;\n -webkit-user-drag: none;\n`;\n\nexport const Video = styled.video<{\n $aspectRatio: number;\n}>`\n width: 100%;\n height: auto;\n max-height: 100%;\n object-fit: contain;\n aspect-ratio: ${({ $aspectRatio }) => $aspectRatio};\n position: absolute;\n top: 0;\n left: 0;\n -webkit-user-drag: none;\n`;\n"],"names":["GalleryItemWrapper","styled","div","couldBeNext","isActive","css","fade","isVisible","hoverable","GalleryImage","CustomImage","Video","video","$aspectRatio"],"mappings":";;;;;;;;;;;;AAIO,MAAMA,qBAAqBC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYrC,CAAC;EAAEC,WAAA;EAAaC;AAAS,CAAA,KAAA,CACxBD,eAAeC,QAChB,KAAAC,UAAA;AAAA;AAAA,KAEC;AAAA;AAAA,IAED,CAAC;EAAEC,IAAA;EAAMF,QAAU;EAAAG;MACnBD,IACA,IAAAD,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAQID,YAAY,aAAa;AAAA;AAAA,QAEzBG,aAAa,sBAAsB;AAAA,KACtC;AAAA;AAAA;AAAA,IAGD,CAAC;EAAEC;AAAA,CACH,KAAA,CAAC,CAACA,SACF,IAAAH,MAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,KAIC;AAAA,CAAA;AAGQ,MAAAI,YAAA,GAAeR,eAAAA,CAAAA,SAAAA,EAAOS,WAAAA,CAAAA,WAAW,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAWvC,MAAMC,QAAQV,eAAO,CAAA,SAAA,CAAA,CAAAW,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOV,CAAC;EAAEC;AAAa,CAAA,KAAMA,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;"}
@@ -9,17 +9,17 @@ const GalleryItemWrapper = styled.div`
9
9
  display: none;
10
10
 
11
11
  ${({
12
- $couldBeNext,
13
- $isActive
14
- }) => ($couldBeNext || $isActive) && css`
12
+ couldBeNext,
13
+ isActive
14
+ }) => (couldBeNext || isActive) && css`
15
15
  display: block;
16
16
  `}
17
17
 
18
18
  ${({
19
- $fade,
20
- $isActive,
21
- $isVisible
22
- }) => $fade && css`
19
+ fade,
20
+ isActive,
21
+ isVisible
22
+ }) => fade && css`
23
23
  opacity: 0;
24
24
  position: absolute;
25
25
  inset: 0;
@@ -27,15 +27,15 @@ const GalleryItemWrapper = styled.div`
27
27
  transition: 0.5s opacity;
28
28
  visibility: hidden;
29
29
 
30
- ${$isActive && "opacity: 1;"}
30
+ ${isActive && "opacity: 1;"}
31
31
 
32
- ${$isVisible && "visibility: visible;"}
32
+ ${isVisible && "visibility: visible;"}
33
33
  `};
34
34
 
35
35
  /* For manual video gallery change cursor to be hoverable */
36
36
  ${({
37
- $hoverable
38
- }) => !!$hoverable && css`
37
+ hoverable
38
+ }) => !!hoverable && css`
39
39
  &:hover {
40
40
  cursor: pointer;
41
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryItem.styles.mjs","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { CustomImage } from \"../../CustomImage\";\n\nexport const GalleryItemWrapper = styled.div<{\n $fade?: boolean;\n $isActive: boolean;\n $isVisible: boolean;\n $couldBeNext: boolean;\n $hoverable?: boolean;\n}>`\n position: relative;\n flex: 1 0 100%;\n height: 100%;\n display: none;\n\n ${({ $couldBeNext, $isActive }) =>\n ($couldBeNext || $isActive) &&\n css`\n display: block;\n `}\n\n ${({ $fade, $isActive, $isVisible }) =>\n $fade &&\n css`\n opacity: 0;\n position: absolute;\n inset: 0;\n will-change: opacity;\n transition: 0.5s opacity;\n visibility: hidden;\n\n ${$isActive && \"opacity: 1;\"}\n\n ${$isVisible && \"visibility: visible;\"}\n `};\n\n /* For manual video gallery change cursor to be hoverable */\n ${({ $hoverable }) =>\n !!$hoverable &&\n css`\n &:hover {\n cursor: pointer;\n }\n `}\n`;\n\nexport const GalleryImage = styled(CustomImage)`\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n user-select: none;\n -webkit-user-drag: none;\n`;\n\nexport const Video = styled.video<{\n $aspectRatio: number;\n}>`\n width: 100%;\n height: auto;\n max-height: 100%;\n object-fit: contain;\n aspect-ratio: ${({ $aspectRatio }) => $aspectRatio};\n position: absolute;\n top: 0;\n left: 0;\n -webkit-user-drag: none;\n`;\n"],"names":["GalleryItemWrapper","styled","div","$couldBeNext","$isActive","css","$fade","$isVisible","$hoverable","GalleryImage","CustomImage","Video","video","$aspectRatio"],"mappings":";;;;AAIO,MAAMA,qBAAqBC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYrC,CAAC;EAAEC,YAAA;EAAcC;AAAU,CAAA,KAAA,CAC1BD,gBAAgBC,SACjB,KAAAC,GAAA;AAAA;AAAA,KAEC;AAAA;AAAA,IAED,CAAC;EAAEC,KAAA;EAAOF,SAAW;EAAAG;MACrBD,KACA,IAAAD,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAQID,aAAa,aAAa;AAAA;AAAA,QAE1BG,cAAc,sBAAsB;AAAA,KACvC;AAAA;AAAA;AAAA,IAGD,CAAC;EAAEC;AAAA,CACH,KAAA,CAAC,CAACA,UACF,IAAAH,GAAA;AAAA;AAAA;AAAA;AAAA,KAIC;AAAA,CAAA;AAGQ,MAAAI,YAAA,GAAeR,OAAOS,WAAW,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAWvC,MAAMC,QAAQV,MAAO,CAAAW,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOV,CAAC;EAAEC;AAAa,CAAA,KAAMA,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"GalleryItem.styles.mjs","sources":["../../../../src/components/Gallery/GalleryItem/GalleryItem.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { CustomImage } from \"../../CustomImage\";\n\nexport const GalleryItemWrapper = styled.div<{\n fade?: boolean;\n isActive: boolean;\n isVisible: boolean;\n couldBeNext: boolean;\n hoverable?: boolean;\n}>`\n position: relative;\n flex: 1 0 100%;\n height: 100%;\n display: none;\n\n ${({ couldBeNext, isActive }) =>\n (couldBeNext || isActive) &&\n css`\n display: block;\n `}\n\n ${({ fade, isActive, isVisible }) =>\n fade &&\n css`\n opacity: 0;\n position: absolute;\n inset: 0;\n will-change: opacity;\n transition: 0.5s opacity;\n visibility: hidden;\n\n ${isActive && \"opacity: 1;\"}\n\n ${isVisible && \"visibility: visible;\"}\n `};\n\n /* For manual video gallery change cursor to be hoverable */\n ${({ hoverable }) =>\n !!hoverable &&\n css`\n &:hover {\n cursor: pointer;\n }\n `}\n`;\n\nexport const GalleryImage = styled(CustomImage)`\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n user-select: none;\n -webkit-user-drag: none;\n`;\n\nexport const Video = styled.video<{\n $aspectRatio: number;\n}>`\n width: 100%;\n height: auto;\n max-height: 100%;\n object-fit: contain;\n aspect-ratio: ${({ $aspectRatio }) => $aspectRatio};\n position: absolute;\n top: 0;\n left: 0;\n -webkit-user-drag: none;\n`;\n"],"names":["GalleryItemWrapper","styled","div","couldBeNext","isActive","css","fade","isVisible","hoverable","GalleryImage","CustomImage","Video","video","$aspectRatio"],"mappings":";;;;AAIO,MAAMA,qBAAqBC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYrC,CAAC;EAAEC,WAAA;EAAaC;AAAS,CAAA,KAAA,CACxBD,eAAeC,QAChB,KAAAC,GAAA;AAAA;AAAA,KAEC;AAAA;AAAA,IAED,CAAC;EAAEC,IAAA;EAAMF,QAAU;EAAAG;MACnBD,IACA,IAAAD,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAQID,YAAY,aAAa;AAAA;AAAA,QAEzBG,aAAa,sBAAsB;AAAA,KACtC;AAAA;AAAA;AAAA,IAGD,CAAC;EAAEC;AAAA,CACH,KAAA,CAAC,CAACA,SACF,IAAAH,GAAA;AAAA;AAAA;AAAA;AAAA,KAIC;AAAA,CAAA;AAGQ,MAAAI,YAAA,GAAeR,OAAOS,WAAW,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAWvC,MAAMC,QAAQV,MAAO,CAAAW,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOV,CAAC;EAAEC;AAAa,CAAA,KAAMA,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
@@ -1,19 +1,19 @@
1
1
  export declare const GALLERY_TRANSITION_MS = 400;
2
2
  export declare const GALLERY_THUMBNAILS_GAP = 8;
3
3
  export declare const GALLERY_THUMBNAILS_SIDE_PADDING = 8;
4
- export declare const ThumbnailsWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const ThumbnailsInnerWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
- export declare const ThumbnailWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
- export declare const Thumbnail: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ export declare const ThumbnailsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const ThumbnailsInnerWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const ThumbnailWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const Thumbnail: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
8
  $active: boolean;
9
9
  $expanded: boolean;
10
10
  $index: number;
11
11
  $scrollOffset: number;
12
12
  $containerWidth: number;
13
13
  $itemsCount: number;
14
- }>> & string;
15
- export declare const Image: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../CustomImage/CustomImage.types").CustomImageProps, never>> & string & Omit<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, keyof import("react").Component<any, {}, any>>;
16
- export declare const Wrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
14
+ }, never>;
15
+ export declare const Image: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
17
17
  $expanded: boolean;
18
18
  $allowPointers?: boolean;
19
- }>> & string;
19
+ }, never>;
@@ -1,2 +1,2 @@
1
1
  import type { GradientButtonProps } from "./GradientButton.types";
2
- export declare const GradientButton: ({ children, active, className, borderRadius, ...props }: GradientButtonProps) => JSX.Element;
2
+ export declare const GradientButton: ({ children, active, className, ...props }: GradientButtonProps) => JSX.Element;
@@ -7,13 +7,11 @@ const GradientButton = ({
7
7
  children,
8
8
  active,
9
9
  className,
10
- borderRadius,
11
10
  ...props
12
11
  }) => {
13
12
  return /* @__PURE__ */jsxRuntime.jsx(GradientButton_styles.StyledButton, {
14
13
  className,
15
14
  active,
16
- $borderRadius: borderRadius,
17
15
  ...props,
18
16
  children: /* @__PURE__ */jsxRuntime.jsx(GradientButton_styles.StyledButtonInner, {
19
17
  children
@@ -1 +1 @@
1
- {"version":3,"file":"GradientButton.js","sources":["../../../src/components/GradientButton/GradientButton.tsx"],"sourcesContent":["import * as S from \"./GradientButton.styles\";\nimport type { GradientButtonProps } from \"./GradientButton.types\";\n\nexport const GradientButton = ({\n children,\n active,\n className,\n borderRadius,\n ...props\n}: GradientButtonProps) => {\n return (\n <S.StyledButton\n className={className}\n active={active}\n $borderRadius={borderRadius}\n {...props}\n >\n <S.StyledButtonInner>{children}</S.StyledButtonInner>\n </S.StyledButton>\n );\n};\n"],"names":["GradientButton","children","active","className","borderRadius","props","jsx","S.StyledButton","StyledButton","$borderRadius","S.StyledButtonInner"],"mappings":";;;;;AAGO,MAAMA,iBAAiBA,CAAC;EAC7BC,QAAA;EACAC,MAAA;EACAC,SAAA;EACAC,YAAA;EACA,GAAGC;AACL,CAA2B,KAAA;EAEvB,sBAAAC,UAAA,CAAAA,GAAA,CAACC,qBAAE,CAAAC,YAAA,EAAF;IACCL,SAAA;IACAD,MAAA;IACAO,aAAe,EAAAL,YAAA;IACd,GAAGC,KAAA;IAEJJ,QAAC,iBAAAK,UAAA,CAAAA,GAAA,CAAAI,uCAAA,EAAA;MAAqBT;IAAS,CAAA;EAAA,CAAA,CACjC;AAEJ,CAAA;"}
1
+ {"version":3,"file":"GradientButton.js","sources":["../../../src/components/GradientButton/GradientButton.tsx"],"sourcesContent":["import * as S from \"./GradientButton.styles\";\nimport type { GradientButtonProps } from \"./GradientButton.types\";\n\nexport const GradientButton = ({\n children,\n active,\n className,\n ...props\n}: GradientButtonProps) => {\n return (\n <S.StyledButton className={className} active={active} {...props}>\n <S.StyledButtonInner>{children}</S.StyledButtonInner>\n </S.StyledButton>\n );\n};\n"],"names":["GradientButton","children","active","className","props","jsx","S.StyledButton","StyledButton","S.StyledButtonInner","StyledButtonInner"],"mappings":";;;;;AAGO,MAAMA,iBAAiBA,CAAC;EAC7BC,QAAA;EACAC,MAAA;EACAC,SAAA;EACA,GAAGC;AACL,CAA2B,KAAA;EACzB,OAAA,eACGC,UAAA,CAAAA,GAAA,CAAAC,qBAAA,CAAAC,YAAA,EAAA;IAAeJ,SAAsB;IAAAD,MAAA;IAAiB,GAAGE,KAAA;IACxDH,QAAC,EAAA,eAAAI,UAAA,CAAAA,GAAA,CAAAG,qBAAA,CAAAC,iBAAA,EAAA;MAAqBR;IAAS,CAAA;EACjC,CAAA,CAAA;AAEJ,CAAA;"}
@@ -5,13 +5,11 @@ const GradientButton = ({
5
5
  children,
6
6
  active,
7
7
  className,
8
- borderRadius,
9
8
  ...props
10
9
  }) => {
11
10
  return /* @__PURE__ */jsx(StyledButton, {
12
11
  className,
13
12
  active,
14
- $borderRadius: borderRadius,
15
13
  ...props,
16
14
  children: /* @__PURE__ */jsx(StyledButtonInner, {
17
15
  children
@@ -1 +1 @@
1
- {"version":3,"file":"GradientButton.mjs","sources":["../../../src/components/GradientButton/GradientButton.tsx"],"sourcesContent":["import * as S from \"./GradientButton.styles\";\nimport type { GradientButtonProps } from \"./GradientButton.types\";\n\nexport const GradientButton = ({\n children,\n active,\n className,\n borderRadius,\n ...props\n}: GradientButtonProps) => {\n return (\n <S.StyledButton\n className={className}\n active={active}\n $borderRadius={borderRadius}\n {...props}\n >\n <S.StyledButtonInner>{children}</S.StyledButtonInner>\n </S.StyledButton>\n );\n};\n"],"names":["GradientButton","children","active","className","borderRadius","props","jsx","S.StyledButton","$borderRadius","S.StyledButtonInner"],"mappings":";;;AAGO,MAAMA,iBAAiBA,CAAC;EAC7BC,QAAA;EACAC,MAAA;EACAC,SAAA;EACAC,YAAA;EACA,GAAGC;AACL,CAA2B,KAAA;EAEvB,sBAAAC,GAAA,CAACC,YAAE,EAAF;IACCJ,SAAA;IACAD,MAAA;IACAM,aAAe,EAAAJ,YAAA;IACd,GAAGC,KAAA;IAEJJ,QAAC,iBAAAK,GAAA,CAAAG,iBAAA,EAAA;MAAqBR;IAAS,CAAA;EAAA,CAAA,CACjC;AAEJ,CAAA;"}
1
+ {"version":3,"file":"GradientButton.mjs","sources":["../../../src/components/GradientButton/GradientButton.tsx"],"sourcesContent":["import * as S from \"./GradientButton.styles\";\nimport type { GradientButtonProps } from \"./GradientButton.types\";\n\nexport const GradientButton = ({\n children,\n active,\n className,\n ...props\n}: GradientButtonProps) => {\n return (\n <S.StyledButton className={className} active={active} {...props}>\n <S.StyledButtonInner>{children}</S.StyledButtonInner>\n </S.StyledButton>\n );\n};\n"],"names":["GradientButton","children","active","className","props","jsx","S.StyledButton","S.StyledButtonInner"],"mappings":";;;AAGO,MAAMA,iBAAiBA,CAAC;EAC7BC,QAAA;EACAC,MAAA;EACAC,SAAA;EACA,GAAGC;AACL,CAA2B,KAAA;EACzB,OAAA,eACGC,GAAA,CAAAC,YAAA,EAAA;IAAeH,SAAsB;IAAAD,MAAA;IAAiB,GAAGE,KAAA;IACxDH,QAAC,EAAA,eAAAI,GAAA,CAAAE,iBAAA,EAAA;MAAqBN;IAAS,CAAA;EACjC,CAAA,CAAA;AAEJ,CAAA;"}
@@ -1,5 +1,5 @@
1
- export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
1
+ export declare const StyledButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
2
2
  active?: boolean;
3
- $borderRadius?: number;
4
- }>> & string;
5
- export declare const StyledButtonInner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
3
+ borderRadius?: number;
4
+ }, never>;
5
+ export declare const StyledButtonInner: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;