@ubnt/store.core 9.60.0 → 9.61.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 +133 -1
- package/lib/_virtual/_virtual_multi-entry.js +13 -10
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +13 -11
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- 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/close2.svg +3 -2
- package/lib/assets/close3.svg +2 -3
- package/lib/assets/icon-location-pin.svg +5 -0
- package/lib/assets/icons/cart-secondary.svg.js +27 -0
- 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/assets/icons/menu/{icon-globe.svg.js → 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/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/components/Accordion/Accordion.js +4 -4
- package/lib/components/Avatar/Avatar.js +2 -2
- package/lib/components/BackInStock/BackInStock.types.d.ts +1 -0
- 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/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +16 -4
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +17 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +4 -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/Explore/ExploreData.js +12 -12
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +12 -12
- package/lib/components/Explore/ExploreData.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- 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 +43 -43
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +9 -9
- 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/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/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.js +3 -3
- package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +5 -41
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +5 -21
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- 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 +79 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -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 +86 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +72 -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.constants.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- 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 +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- 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 +17 -17
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +34 -26
- 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 +21 -21
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- 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 +4 -2
- package/lib/constants/proStoreCategories/mapping/index.js +50 -51
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +49 -49
- 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/redirects.js +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +55 -3
- package/lib/constants/proStoreFilters/mapping.js +140 -10
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +140 -10
- 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/helpers/index.js +1 -0
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +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/utils/nextjs/ssr/registry.js +2 -2
- package/package.json +1 -1
- 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/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,27 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 9.61.0-new-design
|
|
10
|
+
|
|
11
|
+
- Upstream with `master`
|
|
12
|
+
|
|
13
|
+
### 9.61.0
|
|
14
|
+
|
|
15
|
+
- [Feat] [NEP-4156](https://ubiquiti.atlassian.net/browse/NEP-4156) JP store - Enable Door Access / Intercoms
|
|
16
|
+
|
|
9
17
|
### 9.60.0
|
|
10
18
|
|
|
11
19
|
- [Feat] [NEP-4145](https://ubiquiti.atlassian.net/browse/NEP-4145) Add "drag-scroll" functionality for Card Section and Scroll Wrapper
|
|
12
20
|
|
|
21
|
+
### 9.59.0-new-design.1
|
|
22
|
+
|
|
23
|
+
- [Fix] [NEP-4146](https://ubiquiti.atlassian.net/browse/NEP-4146) Add missing skus for resource calculator
|
|
24
|
+
- [Fix] [NEP-4142](https://ubiquiti.atlassian.net/browse/NEP-4142) Render tech specs feature values as HTML
|
|
25
|
+
|
|
26
|
+
### 9.59.0-new-design
|
|
27
|
+
|
|
28
|
+
- Upstream with `master`
|
|
29
|
+
|
|
13
30
|
### 9.59.0
|
|
14
31
|
|
|
15
32
|
- [Feat] [NEP-4158](https://ubiquiti.atlassian.net/browse/NEP-4158) Update UISP Hosting link
|
|
@@ -22,6 +39,10 @@
|
|
|
22
39
|
|
|
23
40
|
- [Hotfix] Update Enterprise Campus compare table.
|
|
24
41
|
|
|
42
|
+
### 9.58.0-new-design
|
|
43
|
+
|
|
44
|
+
- Upstream with `master`
|
|
45
|
+
|
|
25
46
|
### 9.58.0
|
|
26
47
|
|
|
27
48
|
- [NEP-4143] Enable BR Enable WiFi/Enterprise, Integrations/Managed VoIP
|
|
@@ -30,16 +51,28 @@
|
|
|
30
51
|
|
|
31
52
|
- [Hotfix] Update E7 Campus availability in compare table
|
|
32
53
|
|
|
54
|
+
### 9.57.2-new-design
|
|
55
|
+
|
|
56
|
+
- Upstream with `master`
|
|
57
|
+
|
|
33
58
|
### 9.57.2
|
|
34
59
|
|
|
35
60
|
> Incorrect publish fix for `9.57.1`
|
|
36
61
|
|
|
62
|
+
### 9.57.1-new-design
|
|
63
|
+
|
|
64
|
+
- Upstream with `master`
|
|
65
|
+
|
|
37
66
|
### 9.57.1
|
|
38
67
|
|
|
39
68
|
> Unpublished, use `9.57.2` instead!
|
|
40
69
|
|
|
41
70
|
- [Fix] [NEP-3993](https://ubiquiti.atlassian.net/browse/NEP-3993) Fix active slide in ImageCarousel
|
|
42
71
|
|
|
72
|
+
### 9.57.0-new-design
|
|
73
|
+
|
|
74
|
+
- Upstream with `master`
|
|
75
|
+
|
|
43
76
|
### 9.57.0
|
|
44
77
|
|
|
45
78
|
- [hotfix] Update E7 Campus and U7 Pro Outdoor release dates
|
|
@@ -55,6 +88,10 @@
|
|
|
55
88
|
- [Chore] Add `blog.ui.com` to global site config
|
|
56
89
|
- [Fix] Fix Managed VoIP compare value 'headset' -> 'handset'
|
|
57
90
|
|
|
91
|
+
### 9.56.1-new-design
|
|
92
|
+
|
|
93
|
+
- Upstream with `master`
|
|
94
|
+
|
|
58
95
|
### 9.56.1
|
|
59
96
|
|
|
60
97
|
- [Fix] AccountMenu message list button styles differ from latest design
|
|
@@ -69,6 +106,16 @@
|
|
|
69
106
|
- Remove coming soon text from `AI LPR`
|
|
70
107
|
- Enable badges for Camera Security main compare table
|
|
71
108
|
|
|
109
|
+
### 9.56.0-new-design
|
|
110
|
+
|
|
111
|
+
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add option to QuantityControls for omitting cart button and render only the quantity input controls
|
|
112
|
+
- [Feat] [NEP-3822](https://ubiquiti.atlassian.net/browse/NEP-3822) Tech specs JSON to HTML conversion
|
|
113
|
+
|
|
114
|
+
### 9.55.0-new-design
|
|
115
|
+
|
|
116
|
+
- [Feat] Add support for download translations to narrow down to specific labels
|
|
117
|
+
- Upstream with `master`
|
|
118
|
+
|
|
72
119
|
### 9.55.0
|
|
73
120
|
|
|
74
121
|
- [Feat] [NEP-3818](https://ubiquiti.atlassian.net/browse/NEP-3818) Add techspecs and store link to Wave MLO5 in compare table
|
|
@@ -83,6 +130,10 @@
|
|
|
83
130
|
|
|
84
131
|
- [Feat] [NEP-4016] Update shipping rounding
|
|
85
132
|
|
|
133
|
+
### 9.53.0-new-design
|
|
134
|
+
|
|
135
|
+
- Upstream with `master`
|
|
136
|
+
|
|
86
137
|
### 9.53.0
|
|
87
138
|
|
|
88
139
|
- [Feat] [MIC-516](https://ubiquiti.atlassian.net/browse/MIC-516) Add `G3 Touch` devices to compare
|
|
@@ -92,10 +143,19 @@
|
|
|
92
143
|
|
|
93
144
|
- [Chore] Add "new-design" support in SmartCatApi
|
|
94
145
|
|
|
146
|
+
### 9.52.0-new-design
|
|
147
|
+
|
|
148
|
+
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Update Field Of View filter. Make it as checkbox instead of sliders.
|
|
149
|
+
- [Feat] [NEP-3943](https://ubiquiti.atlassian.net/browse/NEP-3943) Add new button group style
|
|
150
|
+
|
|
95
151
|
### 9.51.1
|
|
96
152
|
|
|
97
153
|
- [hotfix] Update U7 Pro Outdoor availability date
|
|
98
154
|
|
|
155
|
+
### 9.51.0-new-design
|
|
156
|
+
|
|
157
|
+
> Upstream with `master`
|
|
158
|
+
|
|
99
159
|
### 9.51.0
|
|
100
160
|
|
|
101
161
|
- [Feat] Add `asNegativeAmount` option to `formatPrice` and related functions
|
|
@@ -115,6 +175,10 @@
|
|
|
115
175
|
|
|
116
176
|
- [Feat] [MIC-511](https://ubiquiti.atlassian.net/browse/MIC-511) Update U7 Pro Outdoor availability date
|
|
117
177
|
|
|
178
|
+
### 9.49.0-new-design
|
|
179
|
+
|
|
180
|
+
> Upstream with `master`
|
|
181
|
+
|
|
118
182
|
### 9.49.0
|
|
119
183
|
|
|
120
184
|
- [fix] Add new filter for Door Access and PoE+++
|
|
@@ -129,20 +193,37 @@
|
|
|
129
193
|
|
|
130
194
|
- [Fix] [MIC-503](https://ubiquiti.atlassian.net/browse/MIC-503) Update Pro 8 PoE compare image
|
|
131
195
|
|
|
196
|
+
### 9.47.0-new-design
|
|
197
|
+
|
|
198
|
+
> Upstream with `master`
|
|
199
|
+
|
|
132
200
|
### 9.47.0
|
|
133
201
|
|
|
134
202
|
- [fix] Fix eslint issues around missing/incorrect awaits
|
|
135
203
|
- [NEP-3974](https://ubiquiti.atlassian.net/browse/NEP-3974) add 24tb storage size
|
|
136
204
|
|
|
205
|
+
### 9.46.0-new-design
|
|
206
|
+
|
|
207
|
+
> Upstream with `master`
|
|
208
|
+
|
|
137
209
|
### 9.46.0
|
|
138
210
|
|
|
139
211
|
- [chore] Add China new-platform store boilerplate
|
|
140
212
|
|
|
213
|
+
### 9.45.0-new-design
|
|
214
|
+
|
|
215
|
+
> Upstream with `master`
|
|
216
|
+
|
|
141
217
|
### 9.45.0
|
|
142
218
|
|
|
143
|
-
- [chore] Misc eslint fixes (some actual bugs for rare-cases)
|
|
144
219
|
- [Feat] [NEP-3958](https://ubiquiti.atlassian.net/browse/NEP-3958) Add new `getTimeUntilEndOfHolidaySaleByStore` helper function for Holiday sale
|
|
145
220
|
|
|
221
|
+
### 9.44.3-new-design
|
|
222
|
+
|
|
223
|
+
- [chore] Misc eslint fixes (some actual bugs for rare-cases)
|
|
224
|
+
|
|
225
|
+
> Upstream with stable release
|
|
226
|
+
|
|
146
227
|
### 9.44.2
|
|
147
228
|
|
|
148
229
|
- [Feat] Add option to override languageToSmartcatLocalMapping for SmartcatApi class
|
|
@@ -155,6 +236,10 @@
|
|
|
155
236
|
|
|
156
237
|
- [NEP-3941](https://ubiquiti.atlassian.net/browse/NEP-3941) Set Store Mexico free days as null
|
|
157
238
|
|
|
239
|
+
### 9.43.0-new-design
|
|
240
|
+
|
|
241
|
+
> Upstream with stable release
|
|
242
|
+
|
|
158
243
|
### 9.43.0
|
|
159
244
|
|
|
160
245
|
- [Feat] [NEP-3934](https://ubiquiti.atlassian.net/browse/NEP-3934) Enable MX in production
|
|
@@ -167,6 +252,10 @@
|
|
|
167
252
|
|
|
168
253
|
- [Feat] [NEP-3930](https://ubiquiti.atlassian.net/browse/NEP-3930) Enable Enterprise (gateway) subcategory in BR
|
|
169
254
|
|
|
255
|
+
### 9.42.0-new-design
|
|
256
|
+
|
|
257
|
+
> Upstream with stable release
|
|
258
|
+
|
|
170
259
|
### 9.42.0
|
|
171
260
|
|
|
172
261
|
- [NEP-3928](https://ubiquiti.atlassian.net/browse/NEP-3928) Add new Door Access apple wallet filter
|
|
@@ -175,6 +264,49 @@
|
|
|
175
264
|
|
|
176
265
|
- [Feat] Add `withUbntLibraries` and enable SSR support for `ui-components`
|
|
177
266
|
|
|
267
|
+
### 9.40.1-new-design
|
|
268
|
+
|
|
269
|
+
- [Fix] Added missing secondary cart PR
|
|
270
|
+
|
|
271
|
+
### 9.40.0-new-design
|
|
272
|
+
|
|
273
|
+
> First new-design release
|
|
274
|
+
|
|
275
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) pro header inline categories variant
|
|
276
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix pro header inline rendering
|
|
277
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix pro mobile menu label
|
|
278
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) improve header max width handler
|
|
279
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) add loading state to account menu
|
|
280
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) add data-test-ids
|
|
281
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) improve search behavior and account menu
|
|
282
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) improve pro mobile menu links
|
|
283
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix search icon background
|
|
284
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) desktop search improvements
|
|
285
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix pro mobile menu top level actions
|
|
286
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) search input adjustments
|
|
287
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) update category mapping and redirects
|
|
288
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix all cloud gateway slug
|
|
289
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) abstract inline categories to be the default layout
|
|
290
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) add header logo prop
|
|
291
|
+
- [Feat] [NEP-3413](https://ubiquiti.atlassian.net/browse/NEP-3413) abstract isolated header layout
|
|
292
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) add hide logo prop
|
|
293
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) add url logo prop
|
|
294
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix logo hide prop
|
|
295
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) adjust continue shopping button style
|
|
296
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) fix isolated header spacing and button position
|
|
297
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) current store flag and name
|
|
298
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) remove pro hover menu; add product line conditional menu
|
|
299
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) improve desktop search focus; add flag to mobile menu
|
|
300
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) adjust unifi logo svg size
|
|
301
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) increase header line loader z index; remove search input id; add new search props
|
|
302
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) remove search input overflow
|
|
303
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) remove mobile search and use inline search bar
|
|
304
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) search focus border and focus improvement
|
|
305
|
+
- [Fix] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) adjust search autofocus to be manual
|
|
306
|
+
- [Feat] [NEP-3663](https://ubiquiti.atlassian.net/browse/NEP-3663) Reorganize categories for current production and new-design
|
|
307
|
+
- [Feat] [NEP-3682](https://ubiquiti.atlassian.net/browse/NEP-3682) Add filter "Client devices" for cloud gateways
|
|
308
|
+
- [Feat] [NEP-3591](https://ubiquiti.atlassian.net/browse/NEP-3591) Add underline style tabs, add "loading" prop to backInStock propTypes
|
|
309
|
+
|
|
178
310
|
### 9.40.0
|
|
179
311
|
|
|
180
312
|
- [Feat] [MIC-473](https://ubiquiti.atlassian.net/browse/MIC-473) E7 release changes:
|
|
@@ -62,7 +62,8 @@ var index$O = require('../components/VideoPlayerNew/index.js');
|
|
|
62
62
|
var index$P = require('../components/ResourceCalculatorV1/index.js');
|
|
63
63
|
var index$Q = require('../components/CartIcon/index.js');
|
|
64
64
|
var index$R = require('../components/Header/AccountMenu/index.js');
|
|
65
|
-
var index$S = require('../
|
|
65
|
+
var index$S = require('../components/ProductTechSpecsV2/index.js');
|
|
66
|
+
var index$T = require('../contexts/MenuContext/index.js');
|
|
66
67
|
var useLockBodyScrollCustom = require('../hooks/useLockBodyScrollCustom.js');
|
|
67
68
|
var useTestMediaElementVolumeSetter = require('../hooks/useTestMediaElementVolumeSetter.js');
|
|
68
69
|
var useTranslation = require('../hooks/useTranslation.js');
|
|
@@ -74,11 +75,11 @@ var misc = require('../utils/money/misc.js');
|
|
|
74
75
|
var number = require('../utils/number.js');
|
|
75
76
|
var string = require('../utils/string.js');
|
|
76
77
|
var array = require('../utils/array.js');
|
|
77
|
-
var index$
|
|
78
|
+
var index$U = require('../utils/nextjs/index.js');
|
|
78
79
|
var country = require('../utils/country.js');
|
|
79
80
|
var countriesAndZones = require('../utils/countriesAndZones.js');
|
|
80
81
|
var address = require('../utils/address.js');
|
|
81
|
-
var index$
|
|
82
|
+
var index$V = require('../utils/tax/index.js');
|
|
82
83
|
var zod = require('../utils/zod.js');
|
|
83
84
|
var collectionSlug = require('../utils/collectionSlug.js');
|
|
84
85
|
var shipping = require('../utils/shipping.js');
|
|
@@ -93,8 +94,8 @@ var styles = require('../utils/styles.js');
|
|
|
93
94
|
var storeId = require('../utils/storeId.js');
|
|
94
95
|
var blackFriday = require('../utils/blackFriday.js');
|
|
95
96
|
var sales = require('../utils/sales.js');
|
|
96
|
-
var index$
|
|
97
|
-
var index$
|
|
97
|
+
var index$W = require('../constants/proStoreCategories/index.js');
|
|
98
|
+
var index$X = require('../constants/proStoreFilters/index.js');
|
|
98
99
|
var proStoreCategories = require('../helpers/proStoreCategories.js');
|
|
99
100
|
var ux = require('../helpers/ux.js');
|
|
100
101
|
var smartcat = require('../apis/smartcat.js');
|
|
@@ -152,7 +153,8 @@ exports.VideoPlayer = index$O;
|
|
|
152
153
|
exports.ResourceCalculatorV1 = index$P;
|
|
153
154
|
exports.CartIcon = index$Q;
|
|
154
155
|
exports.AccountMenu = index$R;
|
|
155
|
-
exports.
|
|
156
|
+
exports.ProductTechSpecsV2 = index$S;
|
|
157
|
+
exports.MenuContext = index$T;
|
|
156
158
|
exports.useLockBodyScrollCustom = useLockBodyScrollCustom.useLockBodyScrollCustom;
|
|
157
159
|
exports.useTestMediaElementVolumeSetter = useTestMediaElementVolumeSetter.useTestMediaElementVolumeSetter;
|
|
158
160
|
exports.useTranslation = useTranslation.useTranslation;
|
|
@@ -175,11 +177,11 @@ exports.money = misc;
|
|
|
175
177
|
exports.number = number;
|
|
176
178
|
exports.string = string;
|
|
177
179
|
exports.array = array;
|
|
178
|
-
exports.nextjs = index$
|
|
180
|
+
exports.nextjs = index$U;
|
|
179
181
|
exports.country = country;
|
|
180
182
|
exports.countryAndZones = countriesAndZones;
|
|
181
183
|
exports.address = address;
|
|
182
|
-
exports.tax = index$
|
|
184
|
+
exports.tax = index$V;
|
|
183
185
|
exports.zod = zod;
|
|
184
186
|
exports.collectionSlug = collectionSlug;
|
|
185
187
|
exports.shipping = shipping;
|
|
@@ -194,8 +196,8 @@ exports.styles = styles;
|
|
|
194
196
|
exports.storeId = storeId;
|
|
195
197
|
exports.blackFriday = blackFriday;
|
|
196
198
|
exports.sales = sales;
|
|
197
|
-
exports.proStoreCategories = index$
|
|
198
|
-
exports.proStoreFilters = index$
|
|
199
|
+
exports.proStoreCategories = index$W;
|
|
200
|
+
exports.proStoreFilters = index$X;
|
|
199
201
|
exports.getCategoriesBySubcategory = proStoreCategories.getCategoriesBySubcategory;
|
|
200
202
|
exports.getLocalizedCategories = proStoreCategories.getLocalizedCategories;
|
|
201
203
|
exports.getProductLineByCategory = proStoreCategories.getProductLineByCategory;
|
|
@@ -205,6 +207,7 @@ exports.isValidSubCategory = proStoreCategories.isValidSubCategory;
|
|
|
205
207
|
exports.parseCategories = proStoreCategories.parseCategories;
|
|
206
208
|
exports.useTranslatedCategories = proStoreCategories.useTranslatedCategories;
|
|
207
209
|
exports.getTrueOffsetY = ux.getTrueOffsetY;
|
|
210
|
+
exports.getTrueSize = ux.getTrueSize;
|
|
208
211
|
exports.scrollIntoView = ux.scrollIntoView;
|
|
209
212
|
exports.scrollToY = ux.scrollToY;
|
|
210
213
|
exports.smartcat = smartcat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_virtual_multi-entry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -114,8 +114,10 @@ import * as index$Q from '../components/CartIcon/index.mjs';
|
|
|
114
114
|
export { index$Q as CartIcon };
|
|
115
115
|
import * as index$R from '../components/Header/AccountMenu/index.mjs';
|
|
116
116
|
export { index$R as AccountMenu };
|
|
117
|
-
import * as index$S from '../
|
|
118
|
-
export { index$S as
|
|
117
|
+
import * as index$S from '../components/ProductTechSpecsV2/index.mjs';
|
|
118
|
+
export { index$S as ProductTechSpecsV2 };
|
|
119
|
+
import * as index$T from '../contexts/MenuContext/index.mjs';
|
|
120
|
+
export { index$T as MenuContext };
|
|
119
121
|
export { useLockBodyScrollCustom } from '../hooks/useLockBodyScrollCustom.mjs';
|
|
120
122
|
export { useTestMediaElementVolumeSetter } from '../hooks/useTestMediaElementVolumeSetter.mjs';
|
|
121
123
|
export { useTranslation, useTranslationRaw } from '../hooks/useTranslation.mjs';
|
|
@@ -132,16 +134,16 @@ import * as string from '../utils/string.mjs';
|
|
|
132
134
|
export { string };
|
|
133
135
|
import * as array from '../utils/array.mjs';
|
|
134
136
|
export { array };
|
|
135
|
-
import * as index$
|
|
136
|
-
export { index$
|
|
137
|
+
import * as index$U from '../utils/nextjs/index.mjs';
|
|
138
|
+
export { index$U as nextjs };
|
|
137
139
|
import * as country from '../utils/country.mjs';
|
|
138
140
|
export { country };
|
|
139
141
|
import * as countriesAndZones from '../utils/countriesAndZones.mjs';
|
|
140
142
|
export { countriesAndZones as countryAndZones };
|
|
141
143
|
import * as address from '../utils/address.mjs';
|
|
142
144
|
export { address };
|
|
143
|
-
import * as index$
|
|
144
|
-
export { index$
|
|
145
|
+
import * as index$V from '../utils/tax/index.mjs';
|
|
146
|
+
export { index$V as tax };
|
|
145
147
|
import * as zod from '../utils/zod.mjs';
|
|
146
148
|
export { zod };
|
|
147
149
|
import * as collectionSlug from '../utils/collectionSlug.mjs';
|
|
@@ -170,12 +172,12 @@ import * as blackFriday from '../utils/blackFriday.mjs';
|
|
|
170
172
|
export { blackFriday };
|
|
171
173
|
import * as sales from '../utils/sales.mjs';
|
|
172
174
|
export { sales };
|
|
173
|
-
import * as index$
|
|
174
|
-
export { index$
|
|
175
|
-
import * as index$
|
|
176
|
-
export { index$
|
|
175
|
+
import * as index$W from '../constants/proStoreCategories/index.mjs';
|
|
176
|
+
export { index$W as proStoreCategories };
|
|
177
|
+
import * as index$X from '../constants/proStoreFilters/index.mjs';
|
|
178
|
+
export { index$X as proStoreFilters };
|
|
177
179
|
export { getCategoriesBySubcategory, getLocalizedCategories, getProductLineByCategory, getProductLineBySubcategory, getSubCategoryIdByCollectionSlug, isValidSubCategory, parseCategories, useTranslatedCategories } from '../helpers/proStoreCategories.mjs';
|
|
178
|
-
export { getTrueOffsetY, scrollIntoView, scrollToY } from '../helpers/ux.mjs';
|
|
180
|
+
export { getTrueOffsetY, getTrueSize, scrollIntoView, scrollToY } from '../helpers/ux.mjs';
|
|
179
181
|
import * as smartcat from '../apis/smartcat.mjs';
|
|
180
182
|
export { smartcat };
|
|
181
183
|
//# sourceMappingURL=_virtual_multi-entry.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_virtual_multi-entry.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/apis/smartcat.d.ts
CHANGED
|
@@ -171,16 +171,21 @@ export declare class SmartcatApi {
|
|
|
171
171
|
* Download translations from Smartcat.
|
|
172
172
|
*/
|
|
173
173
|
downloadSmartcatTranslations(defaultTranslations: TranslationObject, options?: {
|
|
174
|
+
/**
|
|
175
|
+
* (optional) List of labels to export keys that are marked with labels
|
|
176
|
+
* @default undefined
|
|
177
|
+
*/
|
|
178
|
+
labels?: string[];
|
|
174
179
|
/**
|
|
175
180
|
* (optional) Max attempt count for polling download ready status.
|
|
176
181
|
* @default 10
|
|
177
182
|
*/
|
|
178
|
-
maxAttemptCount
|
|
183
|
+
maxAttemptCount?: number;
|
|
179
184
|
/**
|
|
180
185
|
* (optional) Interval in milliseconds between each polling attempt.
|
|
181
186
|
* @default 5000
|
|
182
187
|
*/
|
|
183
|
-
intervalMs
|
|
188
|
+
intervalMs?: number;
|
|
184
189
|
}): Promise<Record<Language, TranslationObject>>;
|
|
185
190
|
/**
|
|
186
191
|
* Exposed method for uploading source translations to Smartcat.
|
|
@@ -190,6 +195,7 @@ export declare class SmartcatApi {
|
|
|
190
195
|
}): Promise<void>;
|
|
191
196
|
/**
|
|
192
197
|
* Internal helper method for uploading source translations to Smartcat.
|
|
198
|
+
* @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project
|
|
193
199
|
*/
|
|
194
200
|
private smartcatUploadRequest;
|
|
195
201
|
/**
|
|
@@ -213,5 +219,9 @@ export declare class SmartcatApi {
|
|
|
213
219
|
* Get smartcat environment based on branch name
|
|
214
220
|
*/
|
|
215
221
|
static readonly getSmartcatEnvironmentFromGhBranchName: (ghRepositoryBranchName: string) => SmartcatEnvironment;
|
|
222
|
+
/**
|
|
223
|
+
* Util to prepare labels for passing into request parameters
|
|
224
|
+
*/
|
|
225
|
+
static readonly prepareLabels: (labels?: string[]) => string | undefined;
|
|
216
226
|
}
|
|
217
227
|
export {};
|
package/lib/apis/smartcat.js
CHANGED
|
@@ -336,7 +336,8 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
336
336
|
"output-file-path-template": "{LANGUAGE}.json",
|
|
337
337
|
collections: this.collectionName,
|
|
338
338
|
zip: "true",
|
|
339
|
-
languages: this.targetLanguages?.map(lang => this.languageToSmartcatLocaleMapping[lang]).join(",")
|
|
339
|
+
languages: this.targetLanguages?.map(lang => this.languageToSmartcatLocaleMapping[lang]).join(","),
|
|
340
|
+
labels: _SmartcatApi.prepareLabels(options?.labels)
|
|
340
341
|
// FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`
|
|
341
342
|
};
|
|
342
343
|
const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();
|
|
@@ -357,7 +358,9 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
357
358
|
pollAttempt += 1;
|
|
358
359
|
const checkUrl = `integration/v1/document/export/${taskID}/`;
|
|
359
360
|
const checkResponse = await this.axios.get(checkUrl, {
|
|
360
|
-
responseType: "arraybuffer"
|
|
361
|
+
responseType: "arraybuffer",
|
|
362
|
+
// Don't throw errors for all errors below 500 so we can handle it gracefully
|
|
363
|
+
validateStatus: status => status < 500
|
|
361
364
|
});
|
|
362
365
|
if (checkResponse.status === 200) {
|
|
363
366
|
const zip = new AdmZip__default["default"](checkResponse.data);
|
|
@@ -386,6 +389,19 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
386
389
|
} else if (checkResponse.status === 204) {
|
|
387
390
|
this.logger?.info(`The task ID ${taskID} is not ready yet, will try again`);
|
|
388
391
|
await promises.setTimeout(pollInterval);
|
|
392
|
+
} else if (checkResponse.status === 404) {
|
|
393
|
+
throw new Error(`Failed to download smartcat translations, endpoint returned 404`);
|
|
394
|
+
} else if (checkResponse.status === 422) {
|
|
395
|
+
let response;
|
|
396
|
+
try {
|
|
397
|
+
const buffer = Buffer.from(checkResponse.data);
|
|
398
|
+
const jsonString = buffer.toString("utf8");
|
|
399
|
+
response = jsonString;
|
|
400
|
+
} catch {
|
|
401
|
+
response = "!! Unable to parse response !!";
|
|
402
|
+
}
|
|
403
|
+
this.logger?.error(response, "\u274C Failed to download smartcat translations, endpoint returned 422");
|
|
404
|
+
throw new Error(`Failed to download smartcat translations, endpoint returned 422`);
|
|
389
405
|
} else {
|
|
390
406
|
throw new Error(`Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`);
|
|
391
407
|
}
|
|
@@ -448,15 +464,16 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
448
464
|
}
|
|
449
465
|
/**
|
|
450
466
|
* Internal helper method for uploading source translations to Smartcat.
|
|
467
|
+
* @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project
|
|
451
468
|
*/
|
|
452
469
|
async smartcatUploadRequest(sourceTranslations, options) {
|
|
453
|
-
const labels = options?.labels?.map(label => label.trim()).filter(Boolean).join(",") || "";
|
|
454
470
|
const queryParams = {
|
|
455
471
|
format: "json",
|
|
456
472
|
language: "en",
|
|
457
473
|
collection: this.collectionName,
|
|
458
474
|
"delete-missing-keys": !!options?.deleteMissingKeys,
|
|
459
|
-
|
|
475
|
+
// TODO: was fallback empty string really needed?
|
|
476
|
+
labels: _SmartcatApi.prepareLabels(options?.labels) || ""
|
|
460
477
|
};
|
|
461
478
|
const url = `integration/v2/project/${this.projectId}/import`;
|
|
462
479
|
const smartCatSourceLanguageBuffer = Buffer.from(JSON.stringify(sourceTranslations));
|
|
@@ -551,6 +568,12 @@ __publicField(_SmartcatApi, "getSmartcatEnvironmentFromGhBranchName", ghReposito
|
|
|
551
568
|
}
|
|
552
569
|
}
|
|
553
570
|
});
|
|
571
|
+
/**
|
|
572
|
+
* Util to prepare labels for passing into request parameters
|
|
573
|
+
*/
|
|
574
|
+
__publicField(_SmartcatApi, "prepareLabels", labels => {
|
|
575
|
+
return labels?.map(label => label.trim()).filter(Boolean).join(",");
|
|
576
|
+
});
|
|
554
577
|
let SmartcatApi = _SmartcatApi;
|
|
555
578
|
exports.SmartcatApi = SmartcatApi;
|
|
556
579
|
exports.SmartcatEnvironment = SmartcatEnvironment;
|