@ubnt/store.core 9.58.0-beta.2 → 9.58.0-new-design
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +102 -563
- package/lib/_virtual/_virtual_multi-entry.js +15 -25
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +13 -13
- package/lib/apis/smartcat.d.ts +12 -2
- package/lib/apis/smartcat.js +27 -4
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +27 -4
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/cart-secondary.svg +5 -0
- package/lib/assets/icon-location-pin.svg +5 -0
- package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
- package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
- package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
- package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
- package/lib/{components/ModelCompareV3/assets/crestron.svg.js → assets/icons/menu/icon-location-pin.svg.js} +6 -6
- package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
- package/lib/assets/logoUnifi.svg +10 -2
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/components/Accordion/Accordion.js +4 -4
- package/lib/components/Avatar/Avatar.js +2 -2
- package/lib/components/Button/Button.js +12 -5
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.mjs +8 -1
- package/lib/components/Button/Button.mjs.map +1 -1
- package/lib/components/Button/CartButton.d.ts +3 -1
- package/lib/components/Button/CartButton.js +11 -6
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +8 -4
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
- package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
- package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
- package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
- package/lib/components/CardSection/Card/Card.js +6 -6
- package/lib/components/CardSection/CardSection.js +2 -2
- package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
- package/lib/components/CartIcon/CartIcon.js +2 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +4 -4
- package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
- package/lib/components/Compare/Compare.styles.d.ts +5 -5
- package/lib/components/Container/Container.d.ts +1 -1
- package/lib/components/Container/Container.js +5 -4
- package/lib/components/Container/Container.js.map +1 -1
- package/lib/components/Container/Container.mjs +5 -4
- package/lib/components/Container/Container.mjs.map +1 -1
- package/lib/components/Container/index.stories.d.ts +5 -5
- package/lib/components/CustomImage/CustomImage.js +12 -12
- package/lib/components/Explore/Explore.js +5 -5
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/hooks/useFooterContent.js +5 -5
- package/lib/components/Gallery/Gallery.context.js +17 -17
- package/lib/components/Gallery/Gallery.js +9 -9
- package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
- package/lib/components/GridGallery/GridGallery.js +8 -8
- package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
- package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
- package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
- package/lib/components/Header/AccountMenu/AccountMenu.js +30 -20
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
- package/lib/components/Header/CartModalV2/CartModal.js +5 -5
- package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
- package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/Header/Header.js +40 -40
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +6 -6
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.stories.d.ts +111 -0
- package/lib/components/Header/Header.styles.d.ts +7 -12
- package/lib/components/Header/Header.styles.js +10 -32
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +10 -31
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +29 -5
- package/lib/components/Header/Header.types.js +2 -1
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +2 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/IsolatedHeader.d.ts +1 -0
- package/lib/components/Header/IsolatedHeader.js +50 -50
- package/lib/components/Header/IsolatedHeader.js.map +1 -1
- package/lib/components/Header/IsolatedHeader.mjs +47 -46
- package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
- package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
- package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
- package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
- package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
- package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
- package/lib/components/Header/LogoIcon/index.d.ts +1 -0
- package/lib/components/Header/LogoIcon/index.js +6 -0
- package/lib/components/Header/LogoIcon/index.js.map +1 -0
- package/lib/components/Header/LogoIcon/index.mjs +3 -0
- package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
- package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
- package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +116 -109
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
- package/lib/components/Header/Overlay/Overlay.js +3 -3
- package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
- package/lib/components/Header/ProHeader/ProHeader.js +270 -189
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +251 -171
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +30 -25
- package/lib/components/Header/ProHeader/ProHeader.styles.js +119 -66
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +112 -65
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/Header/translations/ar.json.js +4 -1
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +4 -2
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +4 -1
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +4 -2
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +4 -1
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +4 -2
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +7 -1
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +6 -2
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +4 -1
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +4 -2
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +4 -1
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +4 -2
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +4 -1
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +4 -2
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +4 -1
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +4 -2
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +4 -1
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +4 -1
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/Hero/Hero.js +5 -5
- package/lib/components/Hero/Hero.styles.d.ts +2 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
- package/lib/components/HeroVideo/HeroVideo.js +5 -5
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
- package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
- package/lib/components/ImageSequence/ImageSequence.js +8 -8
- package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
- package/lib/components/LandingPage/Cards/Cards.js +10 -10
- package/lib/components/LandingPage/LandingPage.js +2 -2
- package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
- package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
- package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
- package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
- package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
- package/lib/components/LoaderDots/LoaderDots.js +3 -1
- package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
- package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
- package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +13 -13
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/Microsites/MicrositePageContext.js +2 -2
- package/lib/components/Microsites/MicrositeProductPage.js +3 -3
- package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
- package/lib/components/MobileModal/MobileModal.js +4 -4
- package/lib/components/Modal/Modal.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
- package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
- package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.js +2 -3
- package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO6.js +9 -2
- package/lib/components/ModelCompareV3/data/products/waveMLO6.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs +9 -2
- package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.js +11 -11
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +11 -11
- package/lib/components/ModelCompareV3/translations/de.json.js +3 -3
- package/lib/components/ModelCompareV3/translations/de.json.mjs +3 -3
- package/lib/components/ModelCompareV3/translations/el.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/el.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/en.json.js +2 -4
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +2 -4
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +3 -3
- package/lib/components/ModelCompareV3/translations/es.json.mjs +3 -3
- package/lib/components/ModelCompareV3/translations/fr.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/it.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/it.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/ja.json.js +8 -8
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +8 -8
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +6 -6
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +6 -6
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +9 -9
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +9 -9
- package/lib/components/Pagination/Pagination.js +3 -3
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
- package/lib/components/ProductCard/ProductCard.js +7 -7
- package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
- package/lib/components/ProductCompare/ProductCompare.js +7 -7
- package/lib/components/ProductDetails/ProductDetails.js +5 -5
- package/lib/components/ProductGrid/ProductGrid.js +10 -10
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +81 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +73 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
- package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
- package/lib/components/ProductTechSpecsV2/index.js +6 -0
- package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
- package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
- package/lib/components/ProductWizard/Options/Options.js +3 -3
- package/lib/components/ProductWizard/ProductWizard.js +2 -2
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
- package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
- package/lib/components/QuantityControls/QuantityControls.js +6 -6
- package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
- package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +6 -1
- package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
- package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
- package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +33 -25
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
- package/lib/components/Search/Input/Input.d.ts +1 -1
- package/lib/components/Search/Input/Input.js +8 -8
- package/lib/components/Search/Input/Input.js.map +1 -1
- package/lib/components/Search/Input/Input.mjs +4 -4
- package/lib/components/Search/Input/Input.mjs.map +1 -1
- package/lib/components/Search/Input/Input.styles.js +0 -1
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.mjs +0 -1
- package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
- package/lib/components/Search/Input/Input.types.d.ts +3 -2
- package/lib/components/Search/Modal/Modal.js +3 -3
- package/lib/components/StorageSliders/Slider/Slider.js +3 -3
- package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
- package/lib/components/StorageSliders/StorageSliders.js +4 -4
- package/lib/components/Tooltip/Tooltip.js +5 -5
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
- package/lib/components/VariantSelector/Variant/Variant.js +40 -40
- package/lib/components/VariantSelector/VariantSelector.js +16 -16
- package/lib/components/VideoPlayerNew/VideoPlayer.js +20 -20
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +2 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
- package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
- package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
- package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -0
- package/lib/constants/proStoreCategories/mapping/index.js +20 -6
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +20 -6
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +6 -5
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +6 -5
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +43 -7
- package/lib/constants/proStoreFilters/mapping.js +129 -15
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +129 -15
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/constants/theme.js +4 -0
- package/lib/constants/theme.js.map +1 -1
- package/lib/constants/theme.mjs +4 -0
- package/lib/constants/theme.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +34 -34
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +1 -1
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/presets.d.ts +1 -1
- package/lib/contexts/MenuContext/presets.js +2 -4
- package/lib/contexts/MenuContext/presets.js.map +1 -1
- package/lib/contexts/MenuContext/presets.mjs +2 -4
- package/lib/contexts/MenuContext/presets.mjs.map +1 -1
- package/lib/helpers/index.d.ts +0 -1
- package/lib/helpers/index.js +1 -11
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +1 -2
- package/lib/helpers/index.mjs.map +1 -1
- package/lib/helpers/proStoreCategories.js +2 -2
- package/lib/helpers/ux.d.ts +8 -0
- package/lib/helpers/ux.js +15 -0
- package/lib/helpers/ux.js.map +1 -1
- package/lib/helpers/ux.mjs +15 -1
- package/lib/helpers/ux.mjs.map +1 -1
- package/lib/hooks/useHasTouch.js +3 -3
- package/lib/hooks/useHddRetentionCalculator.js +5 -5
- package/lib/hooks/useHorizontalScroll.js +2 -2
- package/lib/hooks/useLockBodyScrollCustom.js +3 -3
- package/lib/hooks/useScrollToY.js +2 -2
- package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
- package/lib/hooks/useTranslation.js +6 -6
- package/lib/types/generated.d.ts +1 -1
- package/lib/types/generated.js.map +1 -1
- package/lib/types/generated.mjs.map +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +0 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/utils/address.d.ts +62 -278
- package/lib/utils/address.js +8 -11
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +8 -11
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/array.d.ts +0 -4
- package/lib/utils/array.js +0 -10
- package/lib/utils/array.js.map +1 -1
- package/lib/utils/array.mjs +1 -10
- package/lib/utils/array.mjs.map +1 -1
- package/lib/utils/nextjs/ssr/registry.js +2 -2
- package/package.json +42 -42
- package/lib/assets/crestron.svg +0 -3
- package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
- package/lib/helpers/product.d.ts +0 -87
- package/lib/helpers/product.js +0 -346
- package/lib/helpers/product.js.map +0 -1
- package/lib/helpers/product.mjs +0 -335
- package/lib/helpers/product.mjs.map +0 -1
- package/lib/helpers/product.test.d.ts +0 -1
- package/lib/types/product.d.ts +0 -87
- package/lib/types/product.js +0 -14
- package/lib/types/product.js.map +0 -1
- package/lib/types/product.mjs +0 -13
- package/lib/types/product.mjs.map +0 -1
- package/lib/utils/productSort.d.ts +0 -41
- package/lib/utils/productSort.js +0 -67
- package/lib/utils/productSort.js.map +0 -1
- package/lib/utils/productSort.mjs +0 -60
- package/lib/utils/productSort.mjs.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
- package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
- package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
var Checkbox_styles = require('./Checkbox.styles.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
const Checkbox = function Checkbox2({
|
|
8
8
|
radio,
|
|
9
9
|
...props
|
|
10
10
|
}) {
|
|
11
|
-
const [isSsr, setIsSsr] =
|
|
12
|
-
|
|
11
|
+
const [isSsr, setIsSsr] = React.useState(true);
|
|
12
|
+
React.useEffect(() => {
|
|
13
13
|
setIsSsr(false);
|
|
14
14
|
}, []);
|
|
15
|
-
const onRadioClick =
|
|
15
|
+
const onRadioClick = React.useCallback(e => {
|
|
16
16
|
const checked = Boolean(props.checked);
|
|
17
17
|
if (checked) {
|
|
18
18
|
props.onChange?.(
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var merge = require('lodash/merge');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
var reactUse = require('react-use');
|
|
7
7
|
var layout = require('../../constants/layout.js');
|
|
8
8
|
require('../Accordion/index.js');
|
|
@@ -64,19 +64,19 @@ const CloserLookSection = function CloserLookSection2({
|
|
|
64
64
|
bannerHtml
|
|
65
65
|
}) {
|
|
66
66
|
const isTablet = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
|
|
67
|
-
const wrapRef =
|
|
68
|
-
const translations =
|
|
67
|
+
const wrapRef = React.useRef(null);
|
|
68
|
+
const translations = React.useMemo(() => {
|
|
69
69
|
return merge__default["default"](CloserLookSection_constants.defaultCloserLookSectionTranslations, initialTranslations);
|
|
70
70
|
}, [initialTranslations]);
|
|
71
|
-
const [activeTabId, setActiveTabId] =
|
|
72
|
-
const [activeFaqSection, setActiveFaqSection] =
|
|
73
|
-
|
|
71
|
+
const [activeTabId, setActiveTabId] = React.useState();
|
|
72
|
+
const [activeFaqSection, setActiveFaqSection] = React.useState();
|
|
73
|
+
React.useEffect(() => {
|
|
74
74
|
onTabChange?.(activeTabId);
|
|
75
75
|
}, [activeTabId, onTabChange]);
|
|
76
|
-
const parsedCompareVariants =
|
|
76
|
+
const parsedCompareVariants = React.useMemo(() => {
|
|
77
77
|
return ProductCompare_utils.parseProductCompareVariants(productCompareProps?.variants ?? []);
|
|
78
78
|
}, [productCompareProps?.variants]);
|
|
79
|
-
const tabs =
|
|
79
|
+
const tabs = React.useMemo(() => {
|
|
80
80
|
const assetIsNotVideoOnTablet = asset => !isTablet || !asset.isVideo;
|
|
81
81
|
const items = [glanceAssets.length ? {
|
|
82
82
|
id: "Glance" /* Glance */,
|
|
@@ -117,14 +117,14 @@ const CloserLookSection = function CloserLookSection2({
|
|
|
117
117
|
} : null];
|
|
118
118
|
return items.filter(tab => !!tab);
|
|
119
119
|
}, [glanceAssets.length, photosAssets, translations.tabs.glance, translations.tabs.product, translations.tabs.deployment, translations.tabs.inTheBox, translations.tabs.buildFeatures, translations.tabs.performanceImages, translations.tabs.compare, translations.tabs.installationTutorial, translations.tabs.capacityCalculator, translations.tabs.recommendedAddons, translations.tabs.faq, deploymentAssets.length, inTheBoxAssets.length, buildFeatureAssets.length, performanceAssets.length, parsedCompareVariants.length, installationAssets, capacityCalculator, recommendedAddonsProps?.products.length, faq?.items.length, isTablet]);
|
|
120
|
-
|
|
120
|
+
React.useEffect(() => {
|
|
121
121
|
for (const tab of tabs) {
|
|
122
122
|
setActiveTabId(tab.id);
|
|
123
123
|
break;
|
|
124
124
|
}
|
|
125
125
|
}, [tabs]);
|
|
126
126
|
const location = reactUse.useLocation();
|
|
127
|
-
|
|
127
|
+
React.useEffect(() => {
|
|
128
128
|
const wrapEl = wrapRef.current;
|
|
129
129
|
if (!wrapEl || !location.hash) return;
|
|
130
130
|
const locationHash = location.hash.includes("faq") ? "#faq" : location.hash;
|
|
@@ -144,7 +144,7 @@ const CloserLookSection = function CloserLookSection2({
|
|
|
144
144
|
}, 1e3);
|
|
145
145
|
}, 800);
|
|
146
146
|
}, [location, location.hash, tabs]);
|
|
147
|
-
const handleGalleryModalToggle =
|
|
147
|
+
const handleGalleryModalToggle = React.useCallback((tabId, src) => {
|
|
148
148
|
onGalleryModalToggle?.(tabId, src);
|
|
149
149
|
}, [onGalleryModalToggle]);
|
|
150
150
|
if (!tabs.length) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var merge = require('lodash/merge');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
require('../../CustomImage/index.js');
|
|
7
7
|
require('../../ProductCard/index.js');
|
|
8
8
|
require('../../ProductCardPopup/index.js');
|
|
@@ -24,12 +24,12 @@ const RecommendedAddons = ({
|
|
|
24
24
|
products,
|
|
25
25
|
activePopupProduct
|
|
26
26
|
}) => {
|
|
27
|
-
const translations =
|
|
27
|
+
const translations = React.useMemo(() => {
|
|
28
28
|
return merge__default["default"](RecommendedAddons_constants.defaultRecommendedAddonsTranslations, initialTranslations);
|
|
29
29
|
}, [initialTranslations]);
|
|
30
|
-
const [popupProduct, setPopupProduct] =
|
|
31
|
-
const isPopupOpen =
|
|
32
|
-
|
|
30
|
+
const [popupProduct, setPopupProduct] = React.useState(activePopupProduct);
|
|
31
|
+
const isPopupOpen = React.useMemo(() => !!activePopupProduct, [activePopupProduct]);
|
|
32
|
+
React.useEffect(() => {
|
|
33
33
|
if (activePopupProduct !== void 0) {
|
|
34
34
|
setPopupProduct(activePopupProduct);
|
|
35
35
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
2
|
-
export declare const ContainerButtonGroup: import("styled-components").StyledComponent<import("react").
|
|
3
|
-
export declare const ContainerTable: import("styled-components").StyledComponent<import("react").
|
|
4
|
-
export declare const ContainerChart: import("styled-components").StyledComponent<import("react").
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const ContainerButtonGroup: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const ContainerTable: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const ContainerChart: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const TableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const CompareTable: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const Cell: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, {
|
|
@@ -20,7 +20,7 @@ export declare const CellTextualValue: import("styled-components").StyledCompone
|
|
|
20
20
|
export declare const TableButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
21
21
|
active: boolean;
|
|
22
22
|
}, never>;
|
|
23
|
-
export declare const TableNote: import("styled-components").StyledComponent<import("react").
|
|
23
|
+
export declare const TableNote: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
24
24
|
export declare const ButtonGroupWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
25
25
|
export declare const InTheBoxTitle: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {}, never>;
|
|
26
26
|
export declare const InTheBoxImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ContainerProps } from "./Container.types";
|
|
2
|
-
export declare const Container: import("react").
|
|
2
|
+
export declare const Container: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ContainerProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
var Container_styles = require('./Container.styles.js');
|
|
6
6
|
"use strict";
|
|
7
|
-
const Container =
|
|
7
|
+
const Container = React.memo(React.forwardRef(function Container2({
|
|
8
8
|
children,
|
|
9
9
|
fullHeight,
|
|
10
10
|
...rest
|
|
11
|
-
}) {
|
|
11
|
+
}, ref) {
|
|
12
12
|
return /* @__PURE__ */jsxRuntime.jsx(Container_styles.Wrap, {
|
|
13
13
|
...rest,
|
|
14
14
|
children: /* @__PURE__ */jsxRuntime.jsx(Container_styles.WrapPadding, {
|
|
15
15
|
$fullHeight: fullHeight,
|
|
16
|
+
ref,
|
|
16
17
|
children
|
|
17
18
|
})
|
|
18
19
|
});
|
|
19
|
-
});
|
|
20
|
+
}));
|
|
20
21
|
exports.Container = Container;
|
|
21
22
|
//# sourceMappingURL=Container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.js","sources":["../../../src/components/Container/Container.tsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { Wrap, WrapPadding } from \"./Container.styles\";\nimport type { ContainerProps } from \"./Container.types\";\n\nexport const Container = memo(function Container(
|
|
1
|
+
{"version":3,"file":"Container.js","sources":["../../../src/components/Container/Container.tsx"],"sourcesContent":["import { forwardRef, memo } from \"react\";\n\nimport { Wrap, WrapPadding } from \"./Container.styles\";\nimport type { ContainerProps } from \"./Container.types\";\n\nexport const Container = memo(\n forwardRef<HTMLDivElement, ContainerProps>(function Container(\n { children, fullHeight, ...rest },\n ref,\n ) {\n return (\n <Wrap {...rest}>\n <WrapPadding $fullHeight={fullHeight} ref={ref}>\n {children}\n </WrapPadding>\n </Wrap>\n );\n }),\n);\n"],"names":["Container","memo","forwardRef","Container2","children","fullHeight","rest","ref","jsx","Wrap","WrapPadding","$fullHeight"],"mappings":";;;;;;AAKO,MAAMA,SAAY,GAAAC,KAAA,CAAAA,IAAA,CACvBC,KAAA,CAAAA,UAAA,CAA2C,SAASF,UAClDG,CAAA;EAAEC;EAAUC,UAAY;EAAA,GAAGC;AAAK,CAAA,EAChCC,GACA,EAAA;EAEE,OAAA,eAAAC,UAAA,CAAAA,GAAA,CAACC,gBAAM,CAAAA,IAAA,EAAA;IAAA,GAAGH,IACR;IAAAF,QAAA,EAAA,eAAAI,UAAA,CAAAA,GAAA,CAACE;MAAYC,WAAa,EAAAN,UAAA;MAAYE,GACnC;MAAAH;IACH,CAAA;EACF,CAAA,CAAA;AAAA,CAEH,CACH,CAAA;"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { memo } from 'react';
|
|
2
|
+
import { memo, forwardRef } from 'react';
|
|
3
3
|
import { Wrap, WrapPadding } from './Container.styles.mjs';
|
|
4
4
|
"use strict";
|
|
5
|
-
const Container = memo(function Container2({
|
|
5
|
+
const Container = memo(forwardRef(function Container2({
|
|
6
6
|
children,
|
|
7
7
|
fullHeight,
|
|
8
8
|
...rest
|
|
9
|
-
}) {
|
|
9
|
+
}, ref) {
|
|
10
10
|
return /* @__PURE__ */jsx(Wrap, {
|
|
11
11
|
...rest,
|
|
12
12
|
children: /* @__PURE__ */jsx(WrapPadding, {
|
|
13
13
|
$fullHeight: fullHeight,
|
|
14
|
+
ref,
|
|
14
15
|
children
|
|
15
16
|
})
|
|
16
17
|
});
|
|
17
|
-
});
|
|
18
|
+
}));
|
|
18
19
|
export { Container };
|
|
19
20
|
//# sourceMappingURL=Container.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.mjs","sources":["../../../src/components/Container/Container.tsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { Wrap, WrapPadding } from \"./Container.styles\";\nimport type { ContainerProps } from \"./Container.types\";\n\nexport const Container = memo(function Container(
|
|
1
|
+
{"version":3,"file":"Container.mjs","sources":["../../../src/components/Container/Container.tsx"],"sourcesContent":["import { forwardRef, memo } from \"react\";\n\nimport { Wrap, WrapPadding } from \"./Container.styles\";\nimport type { ContainerProps } from \"./Container.types\";\n\nexport const Container = memo(\n forwardRef<HTMLDivElement, ContainerProps>(function Container(\n { children, fullHeight, ...rest },\n ref,\n ) {\n return (\n <Wrap {...rest}>\n <WrapPadding $fullHeight={fullHeight} ref={ref}>\n {children}\n </WrapPadding>\n </Wrap>\n );\n }),\n);\n"],"names":["Container","memo","forwardRef","Container2","children","fullHeight","rest","ref","jsx","Wrap","WrapPadding","$fullHeight"],"mappings":";;;;AAKO,MAAMA,SAAY,GAAAC,IAAA,CACvBC,UAAA,CAA2C,SAASF,UAClDG,CAAA;EAAEC;EAAUC,UAAY;EAAA,GAAGC;AAAK,CAAA,EAChCC,GACA,EAAA;EAEE,OAAA,eAAAC,GAAA,CAACC,IAAM,EAAA;IAAA,GAAGH,IACR;IAAAF,QAAA,EAAA,eAAAI,GAAA,CAACE;MAAYC,WAAa,EAAAN,UAAA;MAAYE,GACnC;MAAAH;IACH,CAAA;EACF,CAAA,CAAA;AAAA,CAEH,CACH,CAAA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const StoryElement: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: import("react").
|
|
3
|
+
component: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("./Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
4
|
parameters: {
|
|
5
5
|
notes: {
|
|
6
6
|
markdown: string;
|
|
@@ -8,7 +8,7 @@ declare const StoryElement: {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export default StoryElement;
|
|
11
|
-
export declare const Primary_PC: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps
|
|
12
|
-
export declare const Mobile: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps
|
|
13
|
-
export declare const Tablet: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps
|
|
14
|
-
export declare const Full: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps
|
|
11
|
+
export declare const Primary_PC: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export declare const Mobile: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export declare const Tablet: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export declare const Full: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
var reactDom = require('react-dom');
|
|
6
6
|
var reactUse = require('react-use');
|
|
7
7
|
require('../../assets/icons/fallbackImage.svg.js');
|
|
@@ -71,19 +71,19 @@ const CustomImage = function CustomImage2({
|
|
|
71
71
|
canFullscreen,
|
|
72
72
|
onFullscreenChange
|
|
73
73
|
}) {
|
|
74
|
-
const [loading, setLoading] =
|
|
74
|
+
const [loading, setLoading] = React.useState(
|
|
75
75
|
// Set as loading by default, handle not loading in the effect
|
|
76
76
|
true);
|
|
77
|
-
const [error, setError] =
|
|
78
|
-
const [isFullscreen, setIsFullscreen] =
|
|
77
|
+
const [error, setError] = React.useState(false);
|
|
78
|
+
const [isFullscreen, setIsFullscreen] = React.useState(false);
|
|
79
79
|
reactUse.useLockBodyScroll(isFullscreen);
|
|
80
|
-
|
|
80
|
+
React.useEffect(() => {
|
|
81
81
|
if (canFullscreen && onFullscreenChange) {
|
|
82
82
|
onFullscreenChange(isFullscreen);
|
|
83
83
|
}
|
|
84
84
|
}, [canFullscreen, isFullscreen, onFullscreenChange]);
|
|
85
|
-
const wrapRef =
|
|
86
|
-
|
|
85
|
+
const wrapRef = React.useRef(null);
|
|
86
|
+
React.useEffect(() => {
|
|
87
87
|
if (!wrapRef.current) return;
|
|
88
88
|
const imageEl = wrapRef.current.querySelector("img");
|
|
89
89
|
if (!imageEl) return;
|
|
@@ -91,25 +91,25 @@ const CustomImage = function CustomImage2({
|
|
|
91
91
|
setLoading(loadingInitial);
|
|
92
92
|
setError(false);
|
|
93
93
|
}, []);
|
|
94
|
-
const handleOnError =
|
|
94
|
+
const handleOnError = React.useCallback(() => {
|
|
95
95
|
setError(true);
|
|
96
96
|
}, []);
|
|
97
|
-
const handleOnLoadingComplete =
|
|
97
|
+
const handleOnLoadingComplete = React.useCallback(() => {
|
|
98
98
|
setLoading(false);
|
|
99
99
|
setError(false);
|
|
100
100
|
}, []);
|
|
101
|
-
const handleOnLoadComplete =
|
|
101
|
+
const handleOnLoadComplete = React.useCallback(event => {
|
|
102
102
|
if (!event?.currentTarget?.src || event.currentTarget.src === asset2?.src) {
|
|
103
103
|
setLoading(false);
|
|
104
104
|
setError(false);
|
|
105
105
|
}
|
|
106
106
|
}, [asset2?.src]);
|
|
107
|
-
const handleFullscreenClick =
|
|
107
|
+
const handleFullscreenClick = React.useCallback(() => {
|
|
108
108
|
if (canFullscreen && asset2 && !error && !loading && !isFullscreen) {
|
|
109
109
|
setIsFullscreen(true);
|
|
110
110
|
}
|
|
111
111
|
}, [asset2, canFullscreen, error, isFullscreen, loading]);
|
|
112
|
-
|
|
112
|
+
React.useEffect(() => {
|
|
113
113
|
if (!canFullscreen) {
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var Tooltip = require('@ubnt/ui-components/Tooltip');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
var reactUse = require('react-use');
|
|
7
7
|
var styled = require('styled-components');
|
|
8
8
|
var layout = require('../../constants/layout.js');
|
|
@@ -78,7 +78,7 @@ const ExploreProduct = ({
|
|
|
78
78
|
}).then(res => res.default)
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
const wide =
|
|
81
|
+
const wide = React.useMemo(() => {
|
|
82
82
|
const features = section.product.featureValues;
|
|
83
83
|
switch (features.length) {
|
|
84
84
|
case 1:
|
|
@@ -96,20 +96,20 @@ const ExploreProduct = ({
|
|
|
96
96
|
return false;
|
|
97
97
|
}
|
|
98
98
|
}, [section.product.featureValues]);
|
|
99
|
-
const storePath =
|
|
99
|
+
const storePath = React.useMemo(() => {
|
|
100
100
|
if (typeof section.product.storePath === "function") {
|
|
101
101
|
return storeId ? section.product.storePath(storeId) : void 0;
|
|
102
102
|
}
|
|
103
103
|
return section.product.storePath;
|
|
104
104
|
}, [section.product, storeId]);
|
|
105
|
-
const image =
|
|
105
|
+
const image = React.useMemo(() => {
|
|
106
106
|
const base = section.product.image;
|
|
107
107
|
if (isMobile) {
|
|
108
108
|
return section.product.mobileImage ?? base;
|
|
109
109
|
}
|
|
110
110
|
return base;
|
|
111
111
|
}, [isMobile, section.product.image, section.product.mobileImage]);
|
|
112
|
-
const button =
|
|
112
|
+
const button = React.useMemo(() => {
|
|
113
113
|
if (section.product.isComingSoon) {
|
|
114
114
|
return /* @__PURE__ */jsxRuntime.jsxs(Explore_styles.ComingSoonButtonWrap, {
|
|
115
115
|
children: [/* @__PURE__ */jsxRuntime.jsx(Explore_styles.ComingSoonButton, {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
require('../../StyleableSvgImage/index.js');
|
|
6
6
|
require('../AllFeaturesButton/index.js');
|
|
7
7
|
var Features_styles = require('./Features.styles.js');
|
|
8
8
|
var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
|
|
9
9
|
var AllFeaturesButton = require('../AllFeaturesButton/AllFeaturesButton.js');
|
|
10
10
|
"use strict";
|
|
11
|
-
const Features =
|
|
11
|
+
const Features = React.forwardRef(function Features2({
|
|
12
12
|
className,
|
|
13
13
|
items,
|
|
14
14
|
type,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
var reactUse = require('react-use');
|
|
6
6
|
var layout = require('../../constants/layout.js');
|
|
7
7
|
require('../../hooks/index.js');
|
|
@@ -50,25 +50,25 @@ const FeaturesSection = ({
|
|
|
50
50
|
overlay
|
|
51
51
|
}) => {
|
|
52
52
|
const isMobile = reactUse.useMedia(layout.BREAKPOINTS.MOBILE_AND_DOWN, false);
|
|
53
|
-
const animFrameRef =
|
|
54
|
-
const cacheRef =
|
|
53
|
+
const animFrameRef = React.useRef(0);
|
|
54
|
+
const cacheRef = React.useRef({
|
|
55
55
|
isInFullView: false,
|
|
56
56
|
motif: null,
|
|
57
57
|
currentIndex: null
|
|
58
58
|
});
|
|
59
|
-
const sectionRef =
|
|
60
|
-
const metaWrapRef =
|
|
61
|
-
const featuresWrapRef =
|
|
62
|
-
const featuresRef =
|
|
63
|
-
const videosWrapRef =
|
|
64
|
-
const videoRefs =
|
|
65
|
-
const featuresType =
|
|
59
|
+
const sectionRef = React.useRef(null);
|
|
60
|
+
const metaWrapRef = React.useRef(null);
|
|
61
|
+
const featuresWrapRef = React.useRef(null);
|
|
62
|
+
const featuresRef = React.useRef(null);
|
|
63
|
+
const videosWrapRef = React.useRef(null);
|
|
64
|
+
const videoRefs = React.useRef([]);
|
|
65
|
+
const featuresType = React.useMemo(() => {
|
|
66
66
|
if (featuresTypeInitial === "vertical" && isMobile) {
|
|
67
67
|
return "horizontal";
|
|
68
68
|
}
|
|
69
69
|
return featuresTypeInitial;
|
|
70
70
|
}, [featuresTypeInitial, isMobile]);
|
|
71
|
-
const segments =
|
|
71
|
+
const segments = React.useMemo(() => {
|
|
72
72
|
return segmentsRaw.map((segmentRaw, i) => {
|
|
73
73
|
const duration2 = segmentRaw.video.duration;
|
|
74
74
|
const from = (() => {
|
|
@@ -90,13 +90,13 @@ const FeaturesSection = ({
|
|
|
90
90
|
};
|
|
91
91
|
});
|
|
92
92
|
}, [segmentsRaw]);
|
|
93
|
-
const featureItems =
|
|
93
|
+
const featureItems = React.useMemo(() => {
|
|
94
94
|
return segments.map(item => item.feature, []);
|
|
95
95
|
}, [segments]);
|
|
96
|
-
const duration =
|
|
96
|
+
const duration = React.useMemo(() => {
|
|
97
97
|
return segments.reduce((total, item) => total + item.duration, 0);
|
|
98
98
|
}, [segments]);
|
|
99
|
-
const getCurrentTimeSegment =
|
|
99
|
+
const getCurrentTimeSegment = React.useCallback(currentTime => {
|
|
100
100
|
let index;
|
|
101
101
|
if (currentTime === 0) {
|
|
102
102
|
index = 0;
|
|
@@ -107,7 +107,7 @@ const FeaturesSection = ({
|
|
|
107
107
|
}
|
|
108
108
|
return [segments[index], index];
|
|
109
109
|
}, [duration, segments]);
|
|
110
|
-
const getFeatureElSize =
|
|
110
|
+
const getFeatureElSize = React.useCallback(index => {
|
|
111
111
|
const featuresEl = featuresRef.current;
|
|
112
112
|
if (!featuresEl) {
|
|
113
113
|
return 0;
|
|
@@ -115,7 +115,7 @@ const FeaturesSection = ({
|
|
|
115
115
|
const featureEl = featuresEl.children[index];
|
|
116
116
|
return featureEl?.[featuresType === "vertical" ? "offsetHeight" : "offsetWidth"] ?? 0;
|
|
117
117
|
}, [featuresType]);
|
|
118
|
-
const getFeatureTransformRanges =
|
|
118
|
+
const getFeatureTransformRanges = React.useCallback(featuresSize => {
|
|
119
119
|
const ranges = [];
|
|
120
120
|
for (const [i, currentSegment] of segments.entries()) {
|
|
121
121
|
const isFirst = i === 0;
|
|
@@ -134,9 +134,9 @@ const FeaturesSection = ({
|
|
|
134
134
|
}
|
|
135
135
|
return ranges;
|
|
136
136
|
}, [duration, getFeatureElSize, segments]);
|
|
137
|
-
const [activeSegment, setActiveSegment] =
|
|
138
|
-
const [activeMotif, setActiveMotif] =
|
|
139
|
-
const draw =
|
|
137
|
+
const [activeSegment, setActiveSegment] = React.useState(segments[0]);
|
|
138
|
+
const [activeMotif, setActiveMotif] = React.useState();
|
|
139
|
+
const draw = React.useCallback(() => {
|
|
140
140
|
const reDraw = () => {
|
|
141
141
|
animFrameRef.current = window.requestAnimationFrame(draw);
|
|
142
142
|
};
|
|
@@ -276,7 +276,7 @@ const FeaturesSection = ({
|
|
|
276
276
|
}
|
|
277
277
|
reDraw();
|
|
278
278
|
}, [duration, playback, startEarly, startEarlyFactor, getCurrentTimeSegment, floatInVideo, segments, featuresType, onExitAbove, onExitBelow, getFeatureTransformRanges]);
|
|
279
|
-
|
|
279
|
+
React.useEffect(() => {
|
|
280
280
|
if (segments.length) {
|
|
281
281
|
animFrameRef.current = window.requestAnimationFrame(draw);
|
|
282
282
|
} else {
|
|
@@ -286,7 +286,7 @@ const FeaturesSection = ({
|
|
|
286
286
|
window.cancelAnimationFrame(animFrameRef.current);
|
|
287
287
|
};
|
|
288
288
|
}, [draw, segments.length]);
|
|
289
|
-
|
|
289
|
+
React.useEffect(() => {
|
|
290
290
|
if (activeMotif) {
|
|
291
291
|
onMotifChange?.(activeMotif);
|
|
292
292
|
}
|
|
@@ -295,7 +295,7 @@ const FeaturesSection = ({
|
|
|
295
295
|
const {
|
|
296
296
|
heading,
|
|
297
297
|
subHeading
|
|
298
|
-
} =
|
|
298
|
+
} = React.useMemo(() => {
|
|
299
299
|
return {
|
|
300
300
|
heading: activeSegment?.heading ?? headingInitial,
|
|
301
301
|
subHeading: activeSegment?.subHeading ?? subHeadingInitial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
require('../../contexts/MenuContext/index.js');
|
|
6
6
|
var mapping = require('../../contexts/MenuContext/mapping.js');
|
|
7
7
|
require('../../hooks/index.js');
|
|
@@ -89,7 +89,7 @@ const Footer = ({
|
|
|
89
89
|
}).then(res => res.default)
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
-
const hiddenFields =
|
|
92
|
+
const hiddenFields = React.useMemo(() => {
|
|
93
93
|
return {
|
|
94
94
|
// Merge fields are based on Mailchimp settings
|
|
95
95
|
u: "bc856e62a9254399365d0277b",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var React = require('react');
|
|
4
4
|
require('../../../assets/socialMedia/facebook.svg.js');
|
|
5
5
|
require('../../../assets/socialMedia/instagram.svg.js');
|
|
6
6
|
require('../../../assets/socialMedia/x.svg.js');
|
|
@@ -174,12 +174,12 @@ const useFooterContent = () => {
|
|
|
174
174
|
}).then(res => res.default)
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
|
-
const urls =
|
|
177
|
+
const urls = React.useMemo(() => {
|
|
178
178
|
return {
|
|
179
179
|
termsAndConditions: getRegionalLink(TOC_LINKS, globalStoreId)
|
|
180
180
|
};
|
|
181
181
|
}, [globalStoreId]);
|
|
182
|
-
const footerContent =
|
|
182
|
+
const footerContent = React.useMemo(() => ({
|
|
183
183
|
company: {
|
|
184
184
|
header: {
|
|
185
185
|
id: "company" /* Company */,
|
|
@@ -289,7 +289,7 @@ const useFooterContent = () => {
|
|
|
289
289
|
}].filter(typeGuards.isNonNullish)
|
|
290
290
|
}
|
|
291
291
|
}), [context$1, createSiteUrl, formatMessage, globalStoreId]);
|
|
292
|
-
const socialContent =
|
|
292
|
+
const socialContent = React.useMemo(() => ({
|
|
293
293
|
header: {
|
|
294
294
|
id: "social" /* Social */,
|
|
295
295
|
label: formatMessage("footer.header.social")
|
|
@@ -320,7 +320,7 @@ const useFooterContent = () => {
|
|
|
320
320
|
target: "_blank"
|
|
321
321
|
}].filter(typeGuards.isNonNullish)
|
|
322
322
|
}), [formatMessage, globalStoreId]);
|
|
323
|
-
const termsContent =
|
|
323
|
+
const termsContent = React.useMemo(() => ({
|
|
324
324
|
header: {
|
|
325
325
|
id: "terms" /* Terms */,
|
|
326
326
|
label: formatMessage("footer.header.terms")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
var Gallery_types = require('./Gallery.types.js');
|
|
6
6
|
var utils = require('./utils.js');
|
|
7
7
|
"use strict";
|
|
@@ -19,31 +19,31 @@ const defaultGalleryContextState = {
|
|
|
19
19
|
resetTransitionState: () => {},
|
|
20
20
|
currentImageLabel: "0/0"
|
|
21
21
|
};
|
|
22
|
-
const GalleryContext =
|
|
22
|
+
const GalleryContext = React.createContext(defaultGalleryContextState);
|
|
23
23
|
const GalleryControlsProvider = ({
|
|
24
24
|
children,
|
|
25
25
|
fade
|
|
26
26
|
}) => {
|
|
27
|
-
const [total, setTotal] =
|
|
28
|
-
const [controlsType, setControlsType] =
|
|
29
|
-
const showGalleryControls =
|
|
30
|
-
const [visibleSlide, setVisibleSlideRaw] =
|
|
31
|
-
const [withTransition, setWithTransition] =
|
|
32
|
-
const [controlsDisabled, setControlsDisabled] =
|
|
33
|
-
const resetTransitionState =
|
|
27
|
+
const [total, setTotal] = React.useState(0);
|
|
28
|
+
const [controlsType, setControlsType] = React.useState(Gallery_types.GalleryControls.Inside);
|
|
29
|
+
const showGalleryControls = React.useMemo(() => total > 1, [total]);
|
|
30
|
+
const [visibleSlide, setVisibleSlideRaw] = React.useState(defaultGalleryContextState.visibleSlide);
|
|
31
|
+
const [withTransition, setWithTransition] = React.useState(defaultGalleryContextState.withTransition);
|
|
32
|
+
const [controlsDisabled, setControlsDisabled] = React.useState(false);
|
|
33
|
+
const resetTransitionState = React.useCallback(() => {
|
|
34
34
|
setWithTransition(true);
|
|
35
35
|
setControlsDisabled(false);
|
|
36
36
|
}, []);
|
|
37
|
-
const reset =
|
|
37
|
+
const reset = React.useCallback(newTotal => {
|
|
38
38
|
setTotal(newTotal);
|
|
39
39
|
setVisibleSlideRaw(!fade && newTotal > 1 ? 1 : 0);
|
|
40
40
|
resetTransitionState();
|
|
41
41
|
}, [resetTransitionState, fade]);
|
|
42
|
-
const setVisibleSlide =
|
|
42
|
+
const setVisibleSlide = React.useCallback(nextVisibleState => {
|
|
43
43
|
setControlsDisabled(true);
|
|
44
44
|
setVisibleSlideRaw(nextVisibleState);
|
|
45
45
|
}, []);
|
|
46
|
-
|
|
46
|
+
React.useEffect(() => {
|
|
47
47
|
if (fade || controlsDisabled || total <= 1) {
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ const GalleryControlsProvider = ({
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
}, [visibleSlide, controlsDisabled, total]);
|
|
68
|
-
const setPrevious =
|
|
68
|
+
const setPrevious = React.useCallback(() => {
|
|
69
69
|
if (controlsDisabled) {
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
@@ -75,7 +75,7 @@ const GalleryControlsProvider = ({
|
|
|
75
75
|
setVisibleSlide(currVisibleSlide => currVisibleSlide - 1);
|
|
76
76
|
}
|
|
77
77
|
}, [controlsDisabled, setVisibleSlide, total, fade]);
|
|
78
|
-
const setNext =
|
|
78
|
+
const setNext = React.useCallback(() => {
|
|
79
79
|
if (controlsDisabled) {
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@ const GalleryControlsProvider = ({
|
|
|
85
85
|
setVisibleSlide(currVisibleSlide => currVisibleSlide + 1);
|
|
86
86
|
}
|
|
87
87
|
}, [controlsDisabled, setVisibleSlide, total, fade]);
|
|
88
|
-
const jumpToSlide =
|
|
88
|
+
const jumpToSlide = React.useCallback(index => {
|
|
89
89
|
if (controlsDisabled) {
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
@@ -98,7 +98,7 @@ const GalleryControlsProvider = ({
|
|
|
98
98
|
resetTransitionState();
|
|
99
99
|
});
|
|
100
100
|
}, [controlsDisabled, fade, setVisibleSlide, resetTransitionState]);
|
|
101
|
-
const currentImageLabel =
|
|
101
|
+
const currentImageLabel = React.useMemo(() => {
|
|
102
102
|
const isAnimatable = total > 1;
|
|
103
103
|
const totalNormalised = isAnimatable ? total - (fade ? 0 : 2) : 1;
|
|
104
104
|
let normalisedIndex = visibleSlide;
|
|
@@ -135,7 +135,7 @@ const GalleryControlsProvider = ({
|
|
|
135
135
|
children
|
|
136
136
|
});
|
|
137
137
|
};
|
|
138
|
-
const useGalleryControls = () =>
|
|
138
|
+
const useGalleryControls = () => React.useContext(GalleryContext);
|
|
139
139
|
exports.GalleryControlsProvider = GalleryControlsProvider;
|
|
140
140
|
exports.useGalleryControls = useGalleryControls;
|
|
141
141
|
//# sourceMappingURL=Gallery.context.js.map
|