@ubnt/store.core 9.31.0-dts-fix.2 → 9.31.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 (374) hide show
  1. package/CHANGELOG.md +0 -3
  2. package/lib/_virtual/_virtual_multi-entry.js +203 -0
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -0
  4. package/lib/_virtual/_virtual_multi-entry.mjs +176 -0
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -0
  6. package/lib/apis/smartcat.test.d.ts +1 -0
  7. package/lib/assets/attention.svg +5 -5
  8. package/lib/assets/attention2.svg +5 -5
  9. package/lib/assets/udmPro.jpg +0 -0
  10. package/lib/assets/udmPro2.jpg +0 -0
  11. package/lib/assets/udmProMax.jpg +0 -0
  12. package/lib/assets/udmProMax2.jpg +0 -0
  13. package/lib/assets/udmProSpecial.jpg +0 -0
  14. package/lib/assets/udmProSpecial2.jpg +0 -0
  15. package/lib/components/Accordion/Accordion.types.d.ts +36 -0
  16. package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +2 -0
  17. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -0
  18. package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +30 -0
  19. package/lib/components/AppDownloadBanner/index.d.ts +1 -0
  20. package/lib/components/Avatar/Avatar.types.d.ts +10 -0
  21. package/lib/components/BackInStock/BackInStock.types.d.ts +26 -0
  22. package/lib/components/Banner/Banner.types.d.ts +22 -0
  23. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  24. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
  25. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +16 -0
  26. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  27. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +2 -0
  28. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -0
  29. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +10 -0
  30. package/lib/components/BuiltFeaturesSection/index.d.ts +1 -0
  31. package/lib/components/Button/Button.types.d.ts +23 -0
  32. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +33 -0
  33. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +16 -0
  34. package/lib/components/CardSection/CardSection.types.d.ts +13 -0
  35. package/lib/components/CarouselGallery/CarouselGallery.d.ts +2 -0
  36. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +17 -0
  37. package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +12 -0
  38. package/lib/components/CarouselGallery/index.d.ts +1 -0
  39. package/lib/components/CartIcon/CartIcon.types.d.ts +8 -0
  40. package/lib/components/CartSummary/CartSummary.types.d.ts +11 -0
  41. package/lib/components/CategoryTabs/CategoryTabs.types.d.ts +24 -0
  42. package/lib/components/Checkbox/Checkbox.types.d.ts +8 -0
  43. package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +35 -0
  44. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +10 -0
  45. package/lib/components/Compare/Compare.d.ts +2 -0
  46. package/lib/components/Compare/Compare.styles.d.ts +36 -0
  47. package/lib/components/Compare/Compare.types.d.ts +34 -0
  48. package/lib/components/Compare/CompareData.d.ts +22 -0
  49. package/lib/components/Compare/ProductTable.d.ts +6 -0
  50. package/lib/components/Compare/index.d.ts +2 -0
  51. package/lib/components/CompareChart/CompareChart.d.ts +2 -0
  52. package/lib/components/CompareChart/CompareChart.styles.d.ts +37 -0
  53. package/lib/components/CompareChart/CompareChart.types.d.ts +17 -0
  54. package/lib/components/CompareChart/CompareChartData.d.ts +69 -0
  55. package/lib/components/CompareChart/index.d.ts +2 -0
  56. package/lib/components/CompareSection/CompareSection.d.ts +5 -0
  57. package/lib/components/CompareSection/CompareSection.data.d.ts +10 -0
  58. package/lib/components/CompareSection/CompareSection.styles.d.ts +17 -0
  59. package/lib/components/CompareSection/CompareSection.types.d.ts +20 -0
  60. package/lib/components/CompareSection/index.d.ts +1 -0
  61. package/lib/components/Container/Container.types.d.ts +11 -0
  62. package/lib/components/CustomImage/CustomImage.types.d.ts +88 -0
  63. package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +2 -0
  64. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -0
  65. package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +6 -0
  66. package/lib/components/DeploymentGallery/index.d.ts +1 -0
  67. package/lib/components/Explore/Explore.test.d.ts +1 -0
  68. package/lib/components/Explore/Explore.types.d.ts +11 -0
  69. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
  70. package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +18 -0
  71. package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +89 -0
  72. package/lib/components/Gallery/GalleryControls/GalleryControls.types.d.ts +16 -0
  73. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.types.d.ts +7 -0
  74. package/lib/components/GradientButton/GradientButton.types.d.ts +4 -0
  75. package/lib/components/GridGallery/GridModal/GridModal.types.d.ts +8 -0
  76. package/lib/components/Header/AccountFrame/AccountFrame.types.d.ts +8 -0
  77. package/lib/components/Header/AccountMenu/AccountMenu.types.d.ts +9 -0
  78. package/lib/components/Header/CartModal/CartModal.d.ts +2 -0
  79. package/lib/components/Header/CartModal/CartModal.styles.d.ts +14 -0
  80. package/lib/components/Header/CartModal/CartModal.types.d.ts +9 -0
  81. package/lib/components/Header/CartModal/Empty/Empty.types.d.ts +6 -0
  82. package/lib/components/Header/CartModal/Item/Item.d.ts +7 -0
  83. package/lib/components/Header/CartModal/Item/Item.styles.d.ts +12 -0
  84. package/lib/components/Header/CartModal/Item/index.d.ts +1 -0
  85. package/lib/components/Header/CartModal/index.d.ts +1 -0
  86. package/lib/components/Header/CartModalV2/CartModal.types.d.ts +8 -0
  87. package/lib/components/Header/CartModalV2/Item/Item.types.d.ts +7 -0
  88. package/lib/components/Header/LanguageFrame/LanguageFrame.types.d.ts +6 -0
  89. package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.test.d.ts +1 -0
  90. package/lib/components/Header/LinksModal/LinksModal.d.ts +2 -0
  91. package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +6 -0
  92. package/lib/components/Header/LinksModal/LinksModal.types.d.ts +11 -0
  93. package/lib/components/Header/LinksModal/index.d.ts +1 -0
  94. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +31 -0
  95. package/lib/components/Header/Navigation/Carousel/Carousel.types.d.ts +16 -0
  96. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.types.d.ts +35 -0
  97. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +11 -0
  98. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +40 -0
  99. package/lib/components/Header/Overlay/Overlay.types.d.ts +6 -0
  100. package/lib/components/Header/SearchTab/SearchTab.d.ts +2 -0
  101. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +4 -0
  102. package/lib/components/Header/SearchTab/SearchTab.types.d.ts +13 -0
  103. package/lib/components/Header/SearchTab/index.d.ts +1 -0
  104. package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +2 -0
  105. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -0
  106. package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +20 -0
  107. package/lib/components/HeroFadeGallery/index.d.ts +1 -0
  108. package/lib/components/HeroVideo/HeroVideo.types.d.ts +9 -0
  109. package/lib/components/HowToUseSection/HowToUseSection.d.ts +2 -0
  110. package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +13 -0
  111. package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +46 -0
  112. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +15 -0
  113. package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +11 -0
  114. package/lib/components/HowToUseSection/index.d.ts +1 -0
  115. package/lib/components/ImageCarousel/ImageCarousel.types.d.ts +11 -0
  116. package/lib/components/ImageModal/ImageModal.types.d.ts +10 -0
  117. package/lib/components/InputSelect/InputSelect.types.d.ts +13 -0
  118. package/lib/components/LandingPage/Block/Block.types.d.ts +11 -0
  119. package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +19 -0
  120. package/lib/components/LandingPage/Cards/Cards.types.d.ts +19 -0
  121. package/lib/components/LandingPage/LandingPage.types.d.ts +16 -0
  122. package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +39 -0
  123. package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +20 -0
  124. package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +92 -0
  125. package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +9 -0
  126. package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +120 -0
  127. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +65 -0
  128. package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +91 -0
  129. package/lib/components/LayoutRendererV1/index.d.ts +1 -0
  130. package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +6 -0
  131. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +55 -0
  132. package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +93 -0
  133. package/lib/components/LayoutRendererV2/index.d.ts +1 -0
  134. package/lib/components/Loader/Loader.types.d.ts +9 -0
  135. package/lib/components/LoaderDots/LoaderDots.types.d.ts +4 -0
  136. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.types.d.ts +7 -0
  137. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.types.d.ts +46 -0
  138. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types.d.ts +12 -0
  139. package/lib/components/MicrositeCustomContent/MicrositeCustomContent.d.ts +2 -0
  140. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.types.d.ts +26 -0
  141. package/lib/components/MicrositeFeatureProgressBar/index.d.ts +1 -0
  142. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts +15 -0
  143. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.d.ts +2 -0
  144. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +4 -0
  145. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
  146. package/lib/components/MicrositeSection/AllFeaturesButton/index.d.ts +1 -0
  147. package/lib/components/MicrositeSection/Features/Features.d.ts +2 -0
  148. package/lib/components/MicrositeSection/Features/Features.styles.d.ts +24 -0
  149. package/lib/components/MicrositeSection/Features/Features.types.d.ts +18 -0
  150. package/lib/components/MicrositeSection/Features/index.d.ts +1 -0
  151. package/lib/components/MicrositeSection/MicrositeSection.d.ts +11 -0
  152. package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +43 -0
  153. package/lib/components/MicrositeSection/MicrositeSection.types.d.ts +103 -0
  154. package/lib/components/MicrositeSection/MicrositeSection.utils.d.ts +32 -0
  155. package/lib/components/MicrositeSection/index.d.ts +1 -0
  156. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.types.d.ts +9 -0
  157. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.types.d.ts +5 -0
  158. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +42 -0
  159. package/lib/components/Microsites/MicrositeProductPageSample.constants.d.ts +9 -0
  160. package/lib/components/MobileModal/MobileModal.types.d.ts +15 -0
  161. package/lib/components/ModelCompareV3/CheckWithNote.d.ts +3 -0
  162. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +592 -0
  163. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  164. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  165. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  166. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  167. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  168. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  169. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  170. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  171. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  172. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  173. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  174. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  175. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  176. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  177. package/lib/components/ModelCompareV3/data/products/8PoEGen1.d.ts +2 -0
  178. package/lib/components/ModelCompareV3/data/products/8PoESFPGen1.d.ts +2 -0
  179. package/lib/components/ModelCompareV3/data/products/acInWall.d.ts +2 -0
  180. package/lib/components/ModelCompareV3/data/products/aiBullet.d.ts +2 -0
  181. package/lib/components/ModelCompareV3/data/products/airFiber37dBiMonsterDish.d.ts +2 -0
  182. package/lib/components/ModelCompareV3/data/products/airFiber60HD.d.ts +2 -0
  183. package/lib/components/ModelCompareV3/data/products/airFiber60XG.d.ts +2 -0
  184. package/lib/components/ModelCompareV3/data/products/airFiber60XTremeRange.d.ts +2 -0
  185. package/lib/components/ModelCompareV3/data/products/airFiberX23dBiSlant45.d.ts +2 -0
  186. package/lib/components/ModelCompareV3/data/products/airFiberX24dBiSlant45.d.ts +2 -0
  187. package/lib/components/ModelCompareV3/data/products/airFiberX30dBiSlant45.d.ts +2 -0
  188. package/lib/components/ModelCompareV3/data/products/airFiberX34dBiSlant45.d.ts +2 -0
  189. package/lib/components/ModelCompareV3/data/products/airMAX30dBiRocketDishLW.d.ts +2 -0
  190. package/lib/components/ModelCompareV3/data/products/airMAXAC30dBiRocketDish.d.ts +2 -0
  191. package/lib/components/ModelCompareV3/data/products/airMAXAC31dBiRocketDish.d.ts +2 -0
  192. package/lib/components/ModelCompareV3/data/products/airMAXAC34dBiRocketDish.d.ts +2 -0
  193. package/lib/components/ModelCompareV3/data/products/airMAXSector5GHzTitanium.d.ts +11 -0
  194. package/lib/components/ModelCompareV3/data/products/airMaxGigaBeam.d.ts +2 -0
  195. package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamLongRange.d.ts +2 -0
  196. package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamPlus.d.ts +2 -0
  197. package/lib/components/ModelCompareV3/data/products/edgePointS16.d.ts +2 -0
  198. package/lib/components/ModelCompareV3/data/products/edgeSwitch12f.d.ts +2 -0
  199. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +6 -0
  200. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +6 -0
  201. package/lib/components/ModelCompareV3/data/products/gponOlt.d.ts +2 -0
  202. package/lib/components/ModelCompareV3/data/products/standard16PoEGen1.d.ts +2 -0
  203. package/lib/components/ModelCompareV3/data/products/standard24PoEGen1.d.ts +2 -0
  204. package/lib/components/ModelCompareV3/data/products/standard48PoEGen1.d.ts +2 -0
  205. package/lib/components/ModelCompareV3/data/products/switchesUtility.d.ts +2 -0
  206. package/lib/components/ModelCompareV3/data/products/u6lite.d.ts +2 -0
  207. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  208. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  209. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  210. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  211. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  212. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  213. package/lib/components/ModelCompareV3/data/products/xg6PoEGen1.d.ts +2 -0
  214. package/lib/components/ModelCompareV3/data/products/xgsxg.d.ts +2 -0
  215. package/lib/components/ModelCompareV3/translations/index.d.ts +11 -0
  216. package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +11 -0
  217. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -0
  218. package/lib/components/NewToUnifiBox/index.d.ts +1 -0
  219. package/lib/components/Pagination/Pagination.types.d.ts +5 -0
  220. package/lib/components/Popover/Popover.types.d.ts +8 -0
  221. package/lib/components/ProductCard/ProductCard.types.d.ts +9 -0
  222. package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +36 -0
  223. package/lib/components/ProductCompare/ProductCompare.types.d.ts +17 -0
  224. package/lib/components/ProductCompare/mapping.test.d.ts +1 -0
  225. package/lib/components/ProductDetails/ProductDetails.types.d.ts +6 -0
  226. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +19 -0
  227. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +17 -0
  228. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +2 -0
  229. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +10 -0
  230. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +25 -0
  231. package/lib/components/ProductSectionNavigation/index.d.ts +1 -0
  232. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +2 -0
  233. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +10 -0
  234. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +21 -0
  235. package/lib/components/ProductSectionNavigationV2/index.d.ts +2 -0
  236. package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +25 -0
  237. package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +6 -0
  238. package/lib/components/ProductTechSpecs/ProductTechSpecs.types.d.ts +13 -0
  239. package/lib/components/ProductTechSpecs/index.d.ts +2 -0
  240. package/lib/components/ProductUpsell/ProductUpsell.d.ts +2 -0
  241. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +19 -0
  242. package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +38 -0
  243. package/lib/components/ProductUpsell/index.d.ts +1 -0
  244. package/lib/components/ProductWizard/Options/Options.types.d.ts +8 -0
  245. package/lib/components/ProductWizard/ProductWizard.types.d.ts +99 -0
  246. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +7 -0
  247. package/lib/components/ProgressCircle/ProgressCircle.types.d.ts +9 -0
  248. package/lib/components/QuantityControls/QuantityControls.types.d.ts +11 -0
  249. package/lib/components/QuantityInput/QuantityInput.types.d.ts +10 -0
  250. package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +32 -0
  251. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +11 -0
  252. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +25 -0
  253. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +32 -0
  254. package/lib/components/RelatedProductsVariantSelector/index.d.ts +1 -0
  255. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +13 -0
  256. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +20 -0
  257. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +30 -0
  258. package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +1 -0
  259. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +13 -0
  260. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +22 -0
  261. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +31 -0
  262. package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +1 -0
  263. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +2 -0
  264. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +19 -0
  265. package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +1 -0
  266. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +2 -0
  267. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -0
  268. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +19 -0
  269. package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +1 -0
  270. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  271. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  272. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.types.d.ts +36 -0
  273. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  274. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  275. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  276. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  277. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.types.d.ts +7 -0
  278. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  279. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  280. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.types.d.ts +9 -0
  281. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.types.d.ts +5 -0
  282. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +54 -0
  283. package/lib/components/Search/Input/Input.types.d.ts +19 -0
  284. package/lib/components/SearchInput/Input.styles.d.ts +18 -0
  285. package/lib/components/StaticModal/StaticModal.types.d.ts +10 -0
  286. package/lib/components/StorageSliders/Slider/Slider.types.d.ts +5 -0
  287. package/lib/components/TabinationButtons/TabinationButtons.d.ts +2 -0
  288. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +13 -0
  289. package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +22 -0
  290. package/lib/components/TabinationButtons/index.d.ts +1 -0
  291. package/lib/components/TopologyScheme/TopologyScheme.d.ts +2 -0
  292. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +20 -0
  293. package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +35 -0
  294. package/lib/components/TopologyScheme/index.d.ts +2 -0
  295. package/lib/components/UICare/UICare.types.d.ts +52 -0
  296. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +6 -0
  297. package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +11 -0
  298. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +1 -0
  299. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +11 -0
  300. package/lib/components/VariantSelector/Variant/Variant.types.d.ts +18 -0
  301. package/lib/components/VariantSelector/VariantSelector.types.d.ts +38 -0
  302. package/lib/components/VariantSelector/utils.d.ts +11 -0
  303. package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +5 -0
  304. package/lib/components/VariantSelectorV1/VariantSelector.d.ts +2 -0
  305. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +35 -0
  306. package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +66 -0
  307. package/lib/components/VariantSelectorV1/index.d.ts +1 -0
  308. package/lib/components/VariantSelectorV2/VariantSelector.d.ts +2 -0
  309. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +21 -0
  310. package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +66 -0
  311. package/lib/components/VariantSelectorV2/index.d.ts +1 -0
  312. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +7 -0
  313. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +7 -0
  314. package/lib/components/VideoCookiesConsent/index.d.ts +1 -0
  315. package/lib/components/VideoPlayer/VideoPlayer.d.ts +8 -0
  316. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +7 -0
  317. package/lib/components/VideoPlayer/index.d.ts +1 -0
  318. package/lib/components/VideoPlayerNew/VideoPlayer.types.d.ts +14 -0
  319. package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +2 -0
  320. package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +18 -0
  321. package/lib/components/YouTubePlayer/index.d.ts +1 -0
  322. package/lib/constants/address.d.ts +2 -2
  323. package/lib/constants/address.js +3 -3
  324. package/lib/constants/address.js.map +1 -1
  325. package/lib/constants/address.mjs +3 -3
  326. package/lib/constants/address.mjs.map +1 -1
  327. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  328. package/lib/constants/icons/options/colors/index.js +3 -3
  329. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  330. package/lib/constants/icons/options/styles/index.js +3 -3
  331. package/lib/constants/optionIcons.js +6 -6
  332. package/lib/constants/optionIcons.mjs +4 -4
  333. package/lib/constants/postalCode.test.d.ts +1 -0
  334. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +128 -0
  335. package/lib/constants/storybook.d.ts +11 -0
  336. package/lib/contexts/MenuContext/mapping.test.d.ts +1 -0
  337. package/lib/contexts/MenuContext/utils.test.d.ts +1 -0
  338. package/lib/helpers/jsx.d.ts +6 -0
  339. package/lib/helpers/routes.d.ts +1 -0
  340. package/lib/types/utils.test.d.ts +1 -0
  341. package/lib/utils/address.data.d.ts +17 -0
  342. package/lib/utils/address.test.d.ts +1 -0
  343. package/lib/utils/array.test.d.ts +1 -0
  344. package/lib/utils/canvas.d.ts +8 -0
  345. package/lib/utils/cdn.d.ts +5 -0
  346. package/lib/utils/collectionSlug.test.d.ts +1 -0
  347. package/lib/utils/countriesAndZones.test.d.ts +1 -0
  348. package/lib/utils/langauge.test.d.ts +1 -0
  349. package/lib/utils/measures.test.d.ts +1 -0
  350. package/lib/utils/money/allocators/fixedAmount.test.d.ts +1 -0
  351. package/lib/utils/money/allocators/productAmount.test.d.ts +1 -0
  352. package/lib/utils/money/constants.test.d.ts +1 -0
  353. package/lib/utils/money/exchangeRate.test.d.ts +1 -0
  354. package/lib/utils/money/format.test.d.ts +1 -0
  355. package/lib/utils/money/misc.test.d.ts +1 -0
  356. package/lib/utils/money/shipping.test.d.ts +1 -0
  357. package/lib/utils/money/tax.private.test.d.ts +1 -0
  358. package/lib/utils/money/tax.test.d.ts +1 -0
  359. package/lib/utils/nextjs/createInlineScript.test.d.ts +1 -0
  360. package/lib/utils/nextjs/mergeCspDirectives.test.d.ts +1 -0
  361. package/lib/utils/nextjs/sanitizeImageDomains.test.d.ts +1 -0
  362. package/lib/utils/nextjs/stringifyForInject.test.d.ts +1 -0
  363. package/lib/utils/number.test.d.ts +1 -0
  364. package/lib/utils/storeId.test.d.ts +1 -0
  365. package/lib/utils/string.test.d.ts +1 -0
  366. package/lib/utils/tags.test.d.ts +1 -0
  367. package/lib/utils/tax/index.test.d.ts +1 -0
  368. package/lib/utils/url.test.d.ts +1 -0
  369. package/lib/utils/validations/index.d.ts +5 -0
  370. package/lib/utils/validations/postalCodeSuperRefinement.test.d.ts +1 -0
  371. package/lib/utils/variant.test.d.ts +1 -0
  372. package/lib/utils/wattage.test.d.ts +1 -0
  373. package/lib/utils/zod.test.d.ts +1 -0
  374. package/package.json +2 -2
@@ -0,0 +1,91 @@
1
+ import type { BreadcrumbsProps } from "../Breadcrumbs/Breadcrumbs.types";
2
+ import type { BuiltFeaturesSectionProps } from "../BuiltFeaturesSection/BuiltFeaturesSection.types";
3
+ import type { CompareSectionProps } from "../CompareSection/CompareSection.types";
4
+ import type { RenderImageProps } from "../CustomImage/CustomImage.types";
5
+ import type { Image } from "../Hero/Hero.types";
6
+ import type { ProductSectionNavigationProps } from "../ProductSectionNavigation/ProductSectionNavigation.types";
7
+ import type { ProductUpsellProps } from "../ProductUpsell/ProductUpsell.types";
8
+ import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
9
+ import type { RelatedProductsVariantSelectorsProps } from "../RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types";
10
+ import type { UICareProps } from "../UICare/UICare.types";
11
+ import type { VariantSelectorProps } from "../VariantSelectorV1/VariantSelector.types";
12
+ export interface SubCategory {
13
+ title: string;
14
+ id: string;
15
+ shortDescription?: string;
16
+ items?: SubCategory[];
17
+ }
18
+ interface Category {
19
+ sectionTitle: string;
20
+ id: string;
21
+ items: SubCategory[];
22
+ }
23
+ export declare enum Layout {
24
+ product = "product",
25
+ accessories = "accessories"
26
+ }
27
+ export declare enum Tabs {
28
+ photos = "photos",
29
+ intro = "intro",
30
+ deployment = "deployment"
31
+ }
32
+ export declare const PRODUCT_PAGE = "product-page";
33
+ export interface LayoutRendererProps {
34
+ collection?: {
35
+ title?: string;
36
+ descriptionHtml?: string;
37
+ videoUrl?: string;
38
+ images?: Image[];
39
+ slug: string;
40
+ };
41
+ currentProduct: {
42
+ title: string;
43
+ videoUrl?: string;
44
+ shortDescription: string;
45
+ descriptionHtml?: string;
46
+ images?: Image[];
47
+ datasheet?: {
48
+ sku: string;
49
+ html: string;
50
+ };
51
+ hasUICare?: boolean;
52
+ relatedProductsVariantSelectorsProps?: Omit<RelatedProductsVariantSelectorsProps, "renderImage" | "translations">;
53
+ topologyImages?: Image[];
54
+ deploymentImages?: Image[];
55
+ techSpecsImages?: Image[];
56
+ inTheBoxImages?: Image[];
57
+ } | null;
58
+ productSectionNavigationProps: Omit<ProductSectionNavigationProps, "items">;
59
+ onBreadcrumbClick: BreadcrumbsProps["onBreadcrumbClick"];
60
+ variantSelectorProps: Omit<VariantSelectorProps, "renderImage" | "translations">;
61
+ renderImage: (props: RenderImageProps) => React.ReactNode;
62
+ wizardProps?: ProductWizardProps;
63
+ uiCareProps?: Omit<UICareProps, "renderImage">;
64
+ upsellProps?: Omit<ProductUpsellProps, "renderImage">;
65
+ layout?: Layout;
66
+ categories?: Category[];
67
+ activeCategories?: string[];
68
+ categoryChangeHandler: (id: string) => void;
69
+ language: string;
70
+ showCookiesConsentOptions: () => void;
71
+ videoNoCookiesConsent: boolean;
72
+ translations: {
73
+ productSpecification?: string;
74
+ /** Variant Selector translations */
75
+ variantSelector: VariantSelectorProps["translations"];
76
+ /** Related Products Variant selector translations */
77
+ relatedProductsVariantSelectors: RelatedProductsVariantSelectorsProps["translations"];
78
+ /** For DeploymentGallery component - `title` prop */
79
+ deploymentGalleryTitle: string;
80
+ /** For RelatedProducts component - `title` prop */
81
+ tabs: Record<keyof typeof Tabs, string>;
82
+ compareSection: CompareSectionProps["translations"];
83
+ topLevelBreadcrumb: string;
84
+ builtFeaturesSection: BuiltFeaturesSectionProps["translations"];
85
+ };
86
+ /**
87
+ * Called when gallery item changes
88
+ */
89
+ onGalleryChange?: () => void;
90
+ }
91
+ export {};
@@ -0,0 +1 @@
1
+ export { LayoutRenderer } from "./LayoutRenderer";
@@ -0,0 +1,6 @@
1
+ import type { LayoutRendererProps } from "./LayoutRenderer.types";
2
+ /**
3
+ * Layout Renderer
4
+ * @version 2
5
+ */
6
+ export declare const LayoutRenderer: ({ currentProduct, collection, productSectionNavigationProps, variantSelectorProps, renderImage, wizardProps, uiCareProps, upsellProps, layout, categories, activeCategories, categoryChangeHandler, translations, language, showCookiesConsentOptions, videoNoCookiesConsent, }: LayoutRendererProps) => JSX.Element;
@@ -0,0 +1,55 @@
1
+ export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
2
+ imageCarouselFullScreen?: boolean;
3
+ }, never>;
4
+ export declare const UpsellContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
5
+ imageCarouselFullScreen?: boolean;
6
+ }, never>;
7
+ export declare const ProductSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ marginTop?: boolean;
9
+ }, never>;
10
+ export declare const ProductDetailWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
+ gap?: string;
12
+ }, never>;
13
+ export declare const ProductShortDescriptionDesktop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
14
+ export declare const ProductDescriptionDesktop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const ProductKeyFeatures: import("styled-components").StyledComponent<({ className, disableHeader, keyFeatures, }: import("../ProductKeyFeatures/ProductKeyFeatures.types").ProductKeyFeaturesProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const ProductTitle: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const ProductDescription: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
18
+ export declare const LeftSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
+ export declare const LeftSideAccessories: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
+ export declare const TechSpecsImage: 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>;
21
+ export declare const RightSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
22
+ export declare const UICare: import("styled-components").StyledComponent<({ className, isModalOpen, translations, renderImage, onAddToCart, onCancel, onClickOutside, }: import("../UICare/UICare.types").UICareProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
23
+ export declare const AccessoriesImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
24
+ export declare const ImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
25
+ export declare const FullScreenWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
26
+ export declare const AccessoriesDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
27
+ export declare const ProductCategories: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
28
+ export declare const ProductCategory: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
29
+ export declare const ProductCategoryTitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
30
+ export declare const ProductCategoriesButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
31
+ export declare const ProductCategoryButtons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
32
+ export declare const ProductSpecificationsSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
33
+ export declare const ProductSpecificationsSectionTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
34
+ export declare const ProductSpecificationsSectionContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
35
+ $motif?: import("@ubnt/ui-components").Motif;
36
+ }, never>;
37
+ export declare const ProductAccordion: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
38
+ export declare const TopologyImage: 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>;
39
+ export declare const VideoContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
40
+ export declare const TopologyScheme: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
41
+ export declare const DescriptionItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
42
+ export declare const DescriptionIconCircle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
43
+ export declare const DescriptionIconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
44
+ export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
45
+ export declare const ProductLayoutHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
46
+ export declare const ProductLayoutTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
47
+ export declare const ProductLayoutDescription: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
48
+ export declare const ProductLayoutTabinationButtons: import("styled-components").StyledComponent<({ className, variant, tabs, activeTabId, onTabClick, }: import("../TabinationButtons/TabinationButtons.types").TabinationButtonsProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
49
+ export declare const ProductLayoutSpecificationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
50
+ export declare const ProductLayoutSpecificationTitle: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, {}, never>;
51
+ export declare const ProductLayoutSpecificationContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
52
+ $motif?: import("@ubnt/ui-components").Motif;
53
+ }, never>;
54
+ export declare const ProductLayoutGalleryContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
55
+ export declare const ProductLayoutVideoPlayer: import("styled-components").StyledComponent<({ showCookiesConsentOptions, videoSrc, videoNoCookiesConsent, aspectRatio, className, }: import("../VideoPlayer").VideoPlayerProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,93 @@
1
+ import type { BreadcrumbsProps } from "../Breadcrumbs/Breadcrumbs.types";
2
+ import type { BuiltFeaturesSectionProps } from "../BuiltFeaturesSection/BuiltFeaturesSection.types";
3
+ import type { CompareSectionProps } from "../CompareSection/CompareSection.types";
4
+ import type { RenderImageProps } from "../CustomImage/CustomImage.types";
5
+ import type { Image } from "../Hero/Hero.types";
6
+ import type { ProductSectionNavigationProps } from "../ProductSectionNavigation/ProductSectionNavigation.types";
7
+ import type { ProductUpsellProps } from "../ProductUpsell/ProductUpsell.types";
8
+ import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
9
+ import type { RelatedProductsVariantSelectorsProps } from "../RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types";
10
+ import type { UICareProps } from "../UICare/UICare.types";
11
+ import type { VariantSelectorProps } from "../VariantSelectorV1/VariantSelector.types";
12
+ export interface SubCategory {
13
+ title: string;
14
+ id: string;
15
+ shortDescription?: string;
16
+ items?: SubCategory[];
17
+ }
18
+ interface Category {
19
+ sectionTitle: string;
20
+ id: string;
21
+ items: SubCategory[];
22
+ }
23
+ export declare enum Layout {
24
+ product = "product",
25
+ accessories = "accessories"
26
+ }
27
+ export declare enum Tabs {
28
+ "3d" = "3d",
29
+ photos = "photos",
30
+ intro = "intro",
31
+ deployment = "deployment"
32
+ }
33
+ export declare const PRODUCT_PAGE = "product-page";
34
+ export interface LayoutRendererProps {
35
+ collection?: {
36
+ title?: string;
37
+ descriptionHtml?: string;
38
+ videoUrl?: string;
39
+ images?: Image[];
40
+ slug: string;
41
+ };
42
+ currentProduct: {
43
+ title: string;
44
+ videoUrl?: string;
45
+ shortDescription: string;
46
+ descriptionHtml?: string;
47
+ images?: Image[];
48
+ datasheet?: {
49
+ sku: string;
50
+ html: string;
51
+ };
52
+ hasUICare?: boolean;
53
+ relatedProductsVariantSelectorsProps?: Omit<RelatedProductsVariantSelectorsProps, "renderImage" | "translations">;
54
+ topologyImages?: Image[];
55
+ deploymentImages?: Image[];
56
+ techSpecsImages?: Image[];
57
+ inTheBoxImages?: Image[];
58
+ } | null;
59
+ productSectionNavigationProps: Omit<ProductSectionNavigationProps, "items">;
60
+ onBreadcrumbClick: BreadcrumbsProps["onBreadcrumbClick"];
61
+ variantSelectorProps: Omit<VariantSelectorProps, "renderImage" | "translations">;
62
+ renderImage: (props: RenderImageProps) => React.ReactNode;
63
+ wizardProps?: ProductWizardProps;
64
+ uiCareProps?: Omit<UICareProps, "renderImage">;
65
+ upsellProps?: Omit<ProductUpsellProps, "renderImage">;
66
+ layout?: Layout;
67
+ categories?: Category[];
68
+ activeCategories?: string[];
69
+ categoryChangeHandler: (id: string) => void;
70
+ language: string;
71
+ showCookiesConsentOptions: () => void;
72
+ videoNoCookiesConsent: boolean;
73
+ translations: {
74
+ productSpecification?: string;
75
+ /** Variant Selector translations */
76
+ variantSelector: VariantSelectorProps["translations"];
77
+ /** Related Products Variant selector translations */
78
+ relatedProductsVariantSelectors: RelatedProductsVariantSelectorsProps["translations"];
79
+ /** For DeploymentGallery component - `title` prop */
80
+ deploymentGalleryTitle: string;
81
+ /** For RelatedProducts component - `title` prop */
82
+ tabs: Record<keyof typeof Tabs, string>;
83
+ compareSection: CompareSectionProps["translations"];
84
+ topLevelBreadcrumb: string;
85
+ builtFeaturesSection: BuiltFeaturesSectionProps["translations"];
86
+ specifications: string;
87
+ };
88
+ /**
89
+ * Called when gallery item changes
90
+ */
91
+ onGalleryChange?: () => void;
92
+ }
93
+ export {};
@@ -0,0 +1 @@
1
+ export { LayoutRenderer } from "./LayoutRenderer";
@@ -0,0 +1,9 @@
1
+ export type LoaderSize = "small" | "medium" | "large";
2
+ export type LoaderAlign = "left" | "center" | "right";
3
+ export interface Props {
4
+ className?: string;
5
+ size?: LoaderSize;
6
+ align?: LoaderAlign;
7
+ /** Display the spinner handle on both sides */
8
+ mirrored?: boolean;
9
+ }
@@ -0,0 +1,4 @@
1
+ export type LoaderDotsSize = "medium" | "large";
2
+ export type Props = {
3
+ size?: LoaderDotsSize;
4
+ };
@@ -0,0 +1,7 @@
1
+ import type { Episode } from "../MeetUniFiVideoPlayer.types";
2
+ export type EpisodeCardProps = {
3
+ episode: Episode;
4
+ onClick?: (episodeId: string) => void;
5
+ onMouseOver?: () => void;
6
+ onMouseOut?: () => void;
7
+ };
@@ -0,0 +1,46 @@
1
+ import type { ReactNode } from "react";
2
+ export type Episode = {
3
+ id: string;
4
+ title: ReactNode;
5
+ season: number;
6
+ episode: number;
7
+ thumbnailSrc: string;
8
+ previewVideo: {
9
+ src: string;
10
+ posterSrc: string;
11
+ };
12
+ video: {
13
+ src: {
14
+ hd: string;
15
+ uhd?: string;
16
+ };
17
+ posterSrc: string;
18
+ };
19
+ hasShadow?: boolean;
20
+ color?: string;
21
+ };
22
+ export interface MeetUniFiVideoPlayerProps {
23
+ title?: string;
24
+ id?: string;
25
+ background?: {
26
+ desktop?: string;
27
+ mobile?: string;
28
+ };
29
+ /**
30
+ * Determines if need to add "Next Episode - coming soon" card
31
+ */
32
+ comingSoon?: {
33
+ backgroundSrc: string;
34
+ };
35
+ /**
36
+ * List of episodes
37
+ * Minimum 1 episode
38
+ */
39
+ episodes: [Episode, ...Episode[]];
40
+ isInView?: boolean;
41
+ /**
42
+ * Flips block title and episode title position and styling
43
+ */
44
+ flipTitle?: boolean;
45
+ className?: string;
46
+ }
@@ -0,0 +1,12 @@
1
+ import type { MicrositeBuyButtonProps } from "../MicrositeBuyButton";
2
+ import type { MicrositeFeatureProgressBarProps } from "../MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.types";
3
+ interface MicrositeColumnFeatureBlockProps {
4
+ title: string;
5
+ features: MicrositeFeatureProgressBarProps[];
6
+ }
7
+ export interface MicrositeColumnFeatureProgressBarProps {
8
+ blocks: MicrositeColumnFeatureBlockProps[];
9
+ blockMinWidth?: number;
10
+ buyButton?: MicrositeBuyButtonProps;
11
+ }
12
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { CustomContent } from "../Microsites/Microsites.types";
2
+ export declare const MicrositeCustomContent: (customContent: CustomContent["data"]) => JSX.Element;
@@ -0,0 +1,26 @@
1
+ import type { ReactNode } from "react";
2
+ import type { MicrositeBuyButtonProps } from "../MicrositeBuyButton";
3
+ export interface MicrositeFeatureIconProps {
4
+ className?: string;
5
+ color?: string;
6
+ title?: string;
7
+ subTitle?: string;
8
+ action?: ReactNode;
9
+ isLongLanguage?: boolean;
10
+ icons: {
11
+ id: string;
12
+ /**
13
+ * The icon to show
14
+ */
15
+ src: string;
16
+ height: number;
17
+ width: number;
18
+ label: ReactNode;
19
+ /**
20
+ * The width of the label for correct text wrapping
21
+ */
22
+ labelWidth?: number;
23
+ className?: string;
24
+ }[];
25
+ buyButton?: MicrositeBuyButtonProps;
26
+ }
@@ -0,0 +1 @@
1
+ export { MicrositeFeatureProgressBar } from "./MicrositeFeatureProgressBar";
@@ -0,0 +1,15 @@
1
+ import type { MicrositeFeatureProgressBarProps } from "../MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.types";
2
+ export interface MicrositeProductLearnMoreBlockProps {
3
+ title: string;
4
+ subtitle?: string;
5
+ description?: string;
6
+ button?: {
7
+ href: string;
8
+ label: string;
9
+ onClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;
10
+ };
11
+ backgroundImage?: string;
12
+ mobileBackgroundImage?: string;
13
+ features?: MicrositeFeatureProgressBarProps[];
14
+ className?: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ import type { AllFeaturesButtonProps } from "./AllFeaturesButton.types";
2
+ export declare const AllFeaturesButton: ({ className, onClick, }: AllFeaturesButtonProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../Button/Button.types").ButtonProps & {
2
+ children?: import("react").ReactNode;
3
+ } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const InnerWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,4 @@
1
+ export interface AllFeaturesButtonProps {
2
+ className?: string;
3
+ onClick?: () => void;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./AllFeaturesButton";
@@ -0,0 +1,2 @@
1
+ import type { FeaturesProps } from "./Features.types";
2
+ export declare const Features: import("react").ForwardRefExoticComponent<FeaturesProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,24 @@
1
+ import type { Motif } from "@ubnt/ui-components/utils";
2
+ import type { FeaturesType } from "./Features.types";
3
+ export declare const HORIZONTAL_FEATURES_GAP = 40;
4
+ export declare const VERTICAL_FEATURES_GAP = 77;
5
+ export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
+ $type: FeaturesType;
7
+ }, never>;
8
+ export declare const ContentWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const IconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const SubWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const Sub: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
+ export declare const SubSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
14
+ export declare const MainWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const Main: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const MainSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const Bar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
+ export declare const Item: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
19
+ $type: FeaturesType;
20
+ $filled?: boolean;
21
+ $motif?: Motif;
22
+ $hasIcon?: boolean;
23
+ }, never>;
24
+ export declare const FeaturesButtonWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,18 @@
1
+ import type { Motif } from "@ubnt/ui-components/utils";
2
+ import type { StaticImageData } from "next/image";
3
+ export type FeaturesType = "vertical" | "horizontal" | "static";
4
+ export interface FeatureItem {
5
+ sub: string;
6
+ subSide?: string;
7
+ main: string;
8
+ mainSide?: string;
9
+ filled?: boolean;
10
+ icon?: string | StaticImageData;
11
+ }
12
+ export interface FeaturesProps {
13
+ className?: string;
14
+ type: FeaturesType;
15
+ items: FeatureItem[];
16
+ motif?: Motif;
17
+ onAllFeatures?: () => void;
18
+ }
@@ -0,0 +1 @@
1
+ export * from "./Features";
@@ -0,0 +1,11 @@
1
+ import type { PropsWithChildren } from "react";
2
+ import type { MicrositeSectionProps } from "./MicrositeSection.types";
3
+ export declare const FEATURES_DEFAULT_FRAME_RATE = 30;
4
+ /**
5
+ * Video formatting:
6
+ * Need to experiment with `ffmpeg -g` option
7
+ * Sometimes it requires 5, sometimes as low as 0.2
8
+ * Still not entirely sure what it is ¯\_(ツ)_/¯
9
+ * @see https://stackoverflow.com/a/60173291
10
+ */
11
+ export declare const MicrositeSection: ({ className, children, heading: headingInitial, subHeading: subHeadingInitial, featuresType: featuresTypeInitial, frameRate: frameRateInitial, segments: segmentsRaw, allFeaturesButton, startEarly, startEarlyFactor, floatIn, onMotifChange, onExitAbove, onExitBelow, overlay, marginTop, marginBottom, metaMarginBottom, zIndex, }: PropsWithChildren<MicrositeSectionProps>) => JSX.Element;
@@ -0,0 +1,43 @@
1
+ import type { Motif } from "@ubnt/ui-components/utils";
2
+ import type { FeaturesType } from "./Features/Features.types";
3
+ export declare const WrapOuter: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
4
+ $marginTop?: number;
5
+ $marginBottom?: number;
6
+ $zIndex?: number;
7
+ }, never>;
8
+ export declare const OverlayWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const OverlayClose: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
+ $motif?: Motif;
12
+ $dynamic?: boolean;
13
+ }, never>;
14
+ export declare const Heading: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const SubHeading: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const HeadingButtonWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const MetaWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
18
+ $metaMarginBottom?: number;
19
+ }, never>;
20
+ export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
21
+ $featuresType: FeaturesType;
22
+ }, never>;
23
+ export declare const FeaturesWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
24
+ $type: FeaturesType;
25
+ }, never>;
26
+ export declare const FeaturesGradient: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
27
+ $type: FeaturesType;
28
+ $motif?: Motif;
29
+ }, never>;
30
+ export declare const Features: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("./Features/Features.types").FeaturesProps & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
31
+ export declare const CanvasesWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
32
+ export declare const CanvasWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
33
+ $z: number;
34
+ $originalType: FeaturesType;
35
+ }, never>;
36
+ export declare const Canvas: import("styled-components").StyledComponent<"canvas", import("styled-components").DefaultTheme, {}, never>;
37
+ export declare const GradientOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
38
+ $motif?: Motif;
39
+ /** Shadow vmin */
40
+ $size: number;
41
+ /** Use safe-space positioning */
42
+ $video?: boolean;
43
+ }, never>;
@@ -0,0 +1,103 @@
1
+ import type { Motif } from "@ubnt/ui-components/utils";
2
+ import type { StaticImageData } from "next/image";
3
+ import type { ReactNode } from "react";
4
+ import type { FeatureItem, FeaturesType } from "./Features/Features.types";
5
+ export type AllFeaturesButtonPosition = "heading" | "features";
6
+ export interface FeatureSegmentItem {
7
+ id: string;
8
+ /** Override section heading */
9
+ heading?: string;
10
+ /** Override section sub-heading */
11
+ subHeading?: string;
12
+ motif?: Motif;
13
+ /**
14
+ * Apply a gradient within the "safe area"
15
+ * ```
16
+ * __________________1440x700
17
+ * |__________760x560 |
18
+ * | | |
19
+ * | | |
20
+ * |__________|_______|
21
+ * ```
22
+ */
23
+ gradient?: boolean;
24
+ /**
25
+ * Will fade out near the end to reveal the next item
26
+ * Note: Does not work well with motif changes
27
+ */
28
+ fadeOut?: boolean;
29
+ canvas: {
30
+ frames: (string | StaticImageData)[];
31
+ looping?: boolean;
32
+ style?: React.CSSProperties;
33
+ };
34
+ feature: FeatureItem;
35
+ }
36
+ export interface MicrositeSectionProps {
37
+ className?: string;
38
+ heading?: string;
39
+ subHeading?: string;
40
+ featuresType?: FeaturesType;
41
+ frameRate?: number;
42
+ segments?: FeatureSegmentItem[];
43
+ /**
44
+ * Start playback by a screen factor earlier
45
+ */
46
+ startEarly?: boolean;
47
+ /**
48
+ * Screen height multiplier of how early to start animating
49
+ * Default is 0.5 - when the section is half visible
50
+ */
51
+ startEarlyFactor?: number;
52
+ /**
53
+ * Image will float-down as scrolling in the view
54
+ */
55
+ floatIn?: boolean;
56
+ allFeaturesButton?: {
57
+ /**
58
+ * The "features" option is not supported if using "static" featuresType
59
+ */
60
+ position: AllFeaturesButtonPosition;
61
+ onClick: () => void;
62
+ };
63
+ /**
64
+ * Motif transitions during segments
65
+ */
66
+ onMotifChange?: (motif: Motif) => void;
67
+ /**
68
+ * Scrolled out of view above
69
+ */
70
+ onExitAbove?: () => void;
71
+ /**
72
+ * Scrolled out of view below
73
+ */
74
+ onExitBelow?: () => void;
75
+ overlay?: {
76
+ show: boolean;
77
+ onClose: () => void;
78
+ render: () => ReactNode;
79
+ };
80
+ marginTop?: number;
81
+ marginBottom?: number;
82
+ metaMarginBottom?: number;
83
+ zIndex?: number;
84
+ }
85
+ export interface ParsedSegmentItem extends FeatureSegmentItem {
86
+ frameCount: number;
87
+ /** Based on total frame count */
88
+ from: number;
89
+ /** Based on total frame count */
90
+ to: number;
91
+ }
92
+ export interface MicrositeSectionCache {
93
+ isInFullView: boolean;
94
+ motif: Motif | null;
95
+ currentSegmentIndex: number | null;
96
+ currentImageSrc: string | null;
97
+ currentLoopIndex: number;
98
+ currentLoopFrameSkipCount: number;
99
+ frameImages: Array<{
100
+ segmentId: string;
101
+ images: HTMLImageElement[];
102
+ }>;
103
+ }