@ubnt/store.core 9.31.0-dts-fix.2 → 9.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -3
- package/lib/_virtual/_virtual_multi-entry.js +203 -0
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -0
- package/lib/_virtual/_virtual_multi-entry.mjs +176 -0
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -0
- package/lib/apis/smartcat.test.d.ts +1 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- 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.types.d.ts +36 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +2 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +30 -0
- package/lib/components/AppDownloadBanner/index.d.ts +1 -0
- package/lib/components/Avatar/Avatar.types.d.ts +10 -0
- package/lib/components/BackInStock/BackInStock.types.d.ts +26 -0
- package/lib/components/Banner/Banner.types.d.ts +22 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +16 -0
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +2 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +10 -0
- package/lib/components/BuiltFeaturesSection/index.d.ts +1 -0
- package/lib/components/Button/Button.types.d.ts +23 -0
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +33 -0
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +16 -0
- package/lib/components/CardSection/CardSection.types.d.ts +13 -0
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +2 -0
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +17 -0
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +12 -0
- package/lib/components/CarouselGallery/index.d.ts +1 -0
- package/lib/components/CartIcon/CartIcon.types.d.ts +8 -0
- package/lib/components/CartSummary/CartSummary.types.d.ts +11 -0
- package/lib/components/CategoryTabs/CategoryTabs.types.d.ts +24 -0
- package/lib/components/Checkbox/Checkbox.types.d.ts +8 -0
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +35 -0
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +10 -0
- package/lib/components/Compare/Compare.d.ts +2 -0
- package/lib/components/Compare/Compare.styles.d.ts +36 -0
- package/lib/components/Compare/Compare.types.d.ts +34 -0
- package/lib/components/Compare/CompareData.d.ts +22 -0
- package/lib/components/Compare/ProductTable.d.ts +6 -0
- package/lib/components/Compare/index.d.ts +2 -0
- package/lib/components/CompareChart/CompareChart.d.ts +2 -0
- package/lib/components/CompareChart/CompareChart.styles.d.ts +37 -0
- package/lib/components/CompareChart/CompareChart.types.d.ts +17 -0
- package/lib/components/CompareChart/CompareChartData.d.ts +69 -0
- package/lib/components/CompareChart/index.d.ts +2 -0
- package/lib/components/CompareSection/CompareSection.d.ts +5 -0
- package/lib/components/CompareSection/CompareSection.data.d.ts +10 -0
- package/lib/components/CompareSection/CompareSection.styles.d.ts +17 -0
- package/lib/components/CompareSection/CompareSection.types.d.ts +20 -0
- package/lib/components/CompareSection/index.d.ts +1 -0
- package/lib/components/Container/Container.types.d.ts +11 -0
- package/lib/components/CustomImage/CustomImage.types.d.ts +88 -0
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +2 -0
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -0
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +6 -0
- package/lib/components/DeploymentGallery/index.d.ts +1 -0
- package/lib/components/Explore/Explore.test.d.ts +1 -0
- package/lib/components/Explore/Explore.types.d.ts +11 -0
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +18 -0
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +89 -0
- package/lib/components/Gallery/GalleryControls/GalleryControls.types.d.ts +16 -0
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.types.d.ts +7 -0
- package/lib/components/GradientButton/GradientButton.types.d.ts +4 -0
- package/lib/components/GridGallery/GridModal/GridModal.types.d.ts +8 -0
- package/lib/components/Header/AccountFrame/AccountFrame.types.d.ts +8 -0
- package/lib/components/Header/AccountMenu/AccountMenu.types.d.ts +9 -0
- package/lib/components/Header/CartModal/CartModal.d.ts +2 -0
- package/lib/components/Header/CartModal/CartModal.styles.d.ts +14 -0
- package/lib/components/Header/CartModal/CartModal.types.d.ts +9 -0
- package/lib/components/Header/CartModal/Empty/Empty.types.d.ts +6 -0
- package/lib/components/Header/CartModal/Item/Item.d.ts +7 -0
- package/lib/components/Header/CartModal/Item/Item.styles.d.ts +12 -0
- package/lib/components/Header/CartModal/Item/index.d.ts +1 -0
- package/lib/components/Header/CartModal/index.d.ts +1 -0
- package/lib/components/Header/CartModalV2/CartModal.types.d.ts +8 -0
- package/lib/components/Header/CartModalV2/Item/Item.types.d.ts +7 -0
- package/lib/components/Header/LanguageFrame/LanguageFrame.types.d.ts +6 -0
- package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.test.d.ts +1 -0
- package/lib/components/Header/LinksModal/LinksModal.d.ts +2 -0
- package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +6 -0
- package/lib/components/Header/LinksModal/LinksModal.types.d.ts +11 -0
- package/lib/components/Header/LinksModal/index.d.ts +1 -0
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +31 -0
- package/lib/components/Header/Navigation/Carousel/Carousel.types.d.ts +16 -0
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.types.d.ts +35 -0
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +11 -0
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +40 -0
- package/lib/components/Header/Overlay/Overlay.types.d.ts +6 -0
- package/lib/components/Header/SearchTab/SearchTab.d.ts +2 -0
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +4 -0
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +13 -0
- package/lib/components/Header/SearchTab/index.d.ts +1 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +2 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +20 -0
- package/lib/components/HeroFadeGallery/index.d.ts +1 -0
- package/lib/components/HeroVideo/HeroVideo.types.d.ts +9 -0
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +2 -0
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +13 -0
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +46 -0
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +15 -0
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +11 -0
- package/lib/components/HowToUseSection/index.d.ts +1 -0
- package/lib/components/ImageCarousel/ImageCarousel.types.d.ts +11 -0
- package/lib/components/ImageModal/ImageModal.types.d.ts +10 -0
- package/lib/components/InputSelect/InputSelect.types.d.ts +13 -0
- package/lib/components/LandingPage/Block/Block.types.d.ts +11 -0
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +19 -0
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +19 -0
- package/lib/components/LandingPage/LandingPage.types.d.ts +16 -0
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +39 -0
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +20 -0
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +92 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +9 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +120 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +65 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +91 -0
- package/lib/components/LayoutRendererV1/index.d.ts +1 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +6 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +55 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +93 -0
- package/lib/components/LayoutRendererV2/index.d.ts +1 -0
- package/lib/components/Loader/Loader.types.d.ts +9 -0
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +4 -0
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.types.d.ts +7 -0
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.types.d.ts +46 -0
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types.d.ts +12 -0
- package/lib/components/MicrositeCustomContent/MicrositeCustomContent.d.ts +2 -0
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.types.d.ts +26 -0
- package/lib/components/MicrositeFeatureProgressBar/index.d.ts +1 -0
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts +15 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.d.ts +2 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +4 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/index.d.ts +1 -0
- package/lib/components/MicrositeSection/Features/Features.d.ts +2 -0
- package/lib/components/MicrositeSection/Features/Features.styles.d.ts +24 -0
- package/lib/components/MicrositeSection/Features/Features.types.d.ts +18 -0
- package/lib/components/MicrositeSection/Features/index.d.ts +1 -0
- package/lib/components/MicrositeSection/MicrositeSection.d.ts +11 -0
- package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +43 -0
- package/lib/components/MicrositeSection/MicrositeSection.types.d.ts +103 -0
- package/lib/components/MicrositeSection/MicrositeSection.utils.d.ts +32 -0
- package/lib/components/MicrositeSection/index.d.ts +1 -0
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.types.d.ts +9 -0
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.types.d.ts +5 -0
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +42 -0
- package/lib/components/Microsites/MicrositeProductPageSample.constants.d.ts +9 -0
- package/lib/components/MobileModal/MobileModal.types.d.ts +15 -0
- package/lib/components/ModelCompareV3/CheckWithNote.d.ts +3 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +592 -0
- 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/8PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/8PoESFPGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/acInWall.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/aiBullet.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber37dBiMonsterDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber60HD.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber60XG.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber60XTremeRange.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX23dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX24dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX30dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX34dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAX30dBiRocketDishLW.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXAC30dBiRocketDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXAC31dBiRocketDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXAC34dBiRocketDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXSector5GHzTitanium.d.ts +11 -0
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeam.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamLongRange.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamPlus.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/edgePointS16.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/edgeSwitch12f.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +6 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +6 -0
- package/lib/components/ModelCompareV3/data/products/gponOlt.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/standard16PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/standard24PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/standard48PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/switchesUtility.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/u6lite.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/xg6PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/xgsxg.d.ts +2 -0
- package/lib/components/ModelCompareV3/translations/index.d.ts +11 -0
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +11 -0
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -0
- package/lib/components/NewToUnifiBox/index.d.ts +1 -0
- package/lib/components/Pagination/Pagination.types.d.ts +5 -0
- package/lib/components/Popover/Popover.types.d.ts +8 -0
- package/lib/components/ProductCard/ProductCard.types.d.ts +9 -0
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +36 -0
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +17 -0
- package/lib/components/ProductCompare/mapping.test.d.ts +1 -0
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +6 -0
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +19 -0
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +17 -0
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +2 -0
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +10 -0
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +25 -0
- package/lib/components/ProductSectionNavigation/index.d.ts +1 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +2 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +10 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +21 -0
- package/lib/components/ProductSectionNavigationV2/index.d.ts +2 -0
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +25 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +6 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.types.d.ts +13 -0
- package/lib/components/ProductTechSpecs/index.d.ts +2 -0
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +2 -0
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +19 -0
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +38 -0
- package/lib/components/ProductUpsell/index.d.ts +1 -0
- package/lib/components/ProductWizard/Options/Options.types.d.ts +8 -0
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +99 -0
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +7 -0
- package/lib/components/ProgressCircle/ProgressCircle.types.d.ts +9 -0
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +11 -0
- package/lib/components/QuantityInput/QuantityInput.types.d.ts +10 -0
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +32 -0
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +11 -0
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +25 -0
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +32 -0
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +13 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +20 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +30 -0
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +13 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +22 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +31 -0
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +2 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +19 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +2 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +19 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +1 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.types.d.ts +36 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.types.d.ts +7 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.types.d.ts +9 -0
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.types.d.ts +5 -0
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +54 -0
- package/lib/components/Search/Input/Input.types.d.ts +19 -0
- package/lib/components/SearchInput/Input.styles.d.ts +18 -0
- package/lib/components/StaticModal/StaticModal.types.d.ts +10 -0
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +5 -0
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +2 -0
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +13 -0
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +22 -0
- package/lib/components/TabinationButtons/index.d.ts +1 -0
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +2 -0
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +20 -0
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +35 -0
- package/lib/components/TopologyScheme/index.d.ts +2 -0
- package/lib/components/UICare/UICare.types.d.ts +52 -0
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +6 -0
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +11 -0
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +1 -0
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +11 -0
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +18 -0
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +38 -0
- package/lib/components/VariantSelector/utils.d.ts +11 -0
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +5 -0
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +2 -0
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +35 -0
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +66 -0
- package/lib/components/VariantSelectorV1/index.d.ts +1 -0
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +2 -0
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +21 -0
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +66 -0
- package/lib/components/VariantSelectorV2/index.d.ts +1 -0
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +7 -0
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +7 -0
- package/lib/components/VideoCookiesConsent/index.d.ts +1 -0
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +8 -0
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +7 -0
- package/lib/components/VideoPlayer/index.d.ts +1 -0
- package/lib/components/VideoPlayerNew/VideoPlayer.types.d.ts +14 -0
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +2 -0
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +18 -0
- package/lib/components/YouTubePlayer/index.d.ts +1 -0
- package/lib/constants/address.d.ts +2 -2
- package/lib/constants/address.js +3 -3
- package/lib/constants/address.js.map +1 -1
- package/lib/constants/address.mjs +3 -3
- package/lib/constants/address.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/postalCode.test.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +128 -0
- package/lib/constants/storybook.d.ts +11 -0
- package/lib/contexts/MenuContext/mapping.test.d.ts +1 -0
- package/lib/contexts/MenuContext/utils.test.d.ts +1 -0
- package/lib/helpers/jsx.d.ts +6 -0
- package/lib/helpers/routes.d.ts +1 -0
- package/lib/types/utils.test.d.ts +1 -0
- package/lib/utils/address.data.d.ts +17 -0
- package/lib/utils/address.test.d.ts +1 -0
- package/lib/utils/array.test.d.ts +1 -0
- package/lib/utils/canvas.d.ts +8 -0
- package/lib/utils/cdn.d.ts +5 -0
- package/lib/utils/collectionSlug.test.d.ts +1 -0
- package/lib/utils/countriesAndZones.test.d.ts +1 -0
- package/lib/utils/langauge.test.d.ts +1 -0
- package/lib/utils/measures.test.d.ts +1 -0
- package/lib/utils/money/allocators/fixedAmount.test.d.ts +1 -0
- package/lib/utils/money/allocators/productAmount.test.d.ts +1 -0
- package/lib/utils/money/constants.test.d.ts +1 -0
- package/lib/utils/money/exchangeRate.test.d.ts +1 -0
- package/lib/utils/money/format.test.d.ts +1 -0
- package/lib/utils/money/misc.test.d.ts +1 -0
- package/lib/utils/money/shipping.test.d.ts +1 -0
- package/lib/utils/money/tax.private.test.d.ts +1 -0
- package/lib/utils/money/tax.test.d.ts +1 -0
- package/lib/utils/nextjs/createInlineScript.test.d.ts +1 -0
- package/lib/utils/nextjs/mergeCspDirectives.test.d.ts +1 -0
- package/lib/utils/nextjs/sanitizeImageDomains.test.d.ts +1 -0
- package/lib/utils/nextjs/stringifyForInject.test.d.ts +1 -0
- package/lib/utils/number.test.d.ts +1 -0
- package/lib/utils/storeId.test.d.ts +1 -0
- package/lib/utils/string.test.d.ts +1 -0
- package/lib/utils/tags.test.d.ts +1 -0
- package/lib/utils/tax/index.test.d.ts +1 -0
- package/lib/utils/url.test.d.ts +1 -0
- package/lib/utils/validations/index.d.ts +5 -0
- package/lib/utils/validations/postalCodeSuperRefinement.test.d.ts +1 -0
- package/lib/utils/variant.test.d.ts +1 -0
- package/lib/utils/wattage.test.d.ts +1 -0
- package/lib/utils/zod.test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { BaseSyntheticEvent } from "react";
|
|
3
|
+
import type { Nullish } from "../../types";
|
|
4
|
+
export type FallbackImageSizeVariants = "tiny" | "small" | "medium" | "large";
|
|
5
|
+
export interface CustomImageAsset {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
src: string;
|
|
9
|
+
alt?: Nullish<string>;
|
|
10
|
+
}
|
|
11
|
+
export interface CustomMediaAsset extends CustomImageAsset {
|
|
12
|
+
id: string;
|
|
13
|
+
isVideo?: boolean;
|
|
14
|
+
childAssets?: Omit<CustomMediaAsset, "childAssets">[];
|
|
15
|
+
}
|
|
16
|
+
export interface CustomImageProps {
|
|
17
|
+
motif?: Motif;
|
|
18
|
+
/**
|
|
19
|
+
* Custom type for normalization
|
|
20
|
+
* TODO: Revert back to use Asset type
|
|
21
|
+
*/
|
|
22
|
+
asset?: CustomImageAsset;
|
|
23
|
+
/**
|
|
24
|
+
* Sizes should match the image container dimensions
|
|
25
|
+
* @see https://nextjs.org/docs/api-reference/next/image#sizes
|
|
26
|
+
*/
|
|
27
|
+
sizes: string;
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Margin between image and image wrap
|
|
31
|
+
*/
|
|
32
|
+
margin?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @see https://nextjs.org/docs/api-reference/next/image#priority
|
|
35
|
+
*/
|
|
36
|
+
priority?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Size of the fallback image
|
|
39
|
+
*/
|
|
40
|
+
fallbackImageSize?: FallbackImageSizeVariants;
|
|
41
|
+
/**
|
|
42
|
+
* Don't set aspect ratio and keep size at full width
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
responsive?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Image rendered
|
|
48
|
+
*/
|
|
49
|
+
renderImage?: (props: RenderImageProps) => React.ReactNode;
|
|
50
|
+
/**
|
|
51
|
+
* Disable skeleton loader (especially used for Hero component)
|
|
52
|
+
*/
|
|
53
|
+
disableSkeleton?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Layout type for the next/image component.
|
|
56
|
+
* @default responsive
|
|
57
|
+
*/
|
|
58
|
+
layout?: "fixed" | "fill" | "intrinsic" | "responsive";
|
|
59
|
+
/**
|
|
60
|
+
* Set object fit for the image
|
|
61
|
+
*/
|
|
62
|
+
objectFit?: "fill" | "contain" | "cover";
|
|
63
|
+
/**
|
|
64
|
+
* Disable border radius
|
|
65
|
+
* @default false
|
|
66
|
+
*/
|
|
67
|
+
disableBorderRadius?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Enable fullscreen on zoom-in icon click
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
canFullscreen?: boolean;
|
|
73
|
+
onFullscreenChange?: (isFullscreen: boolean) => void;
|
|
74
|
+
}
|
|
75
|
+
export interface RenderImageProps {
|
|
76
|
+
src: string;
|
|
77
|
+
width?: number;
|
|
78
|
+
height?: number;
|
|
79
|
+
priority?: boolean;
|
|
80
|
+
sizes?: string;
|
|
81
|
+
layout?: CustomImageProps["layout"];
|
|
82
|
+
onError?: () => void;
|
|
83
|
+
onLoad?: (event?: BaseSyntheticEvent) => void;
|
|
84
|
+
onLoadingComplete?: () => void;
|
|
85
|
+
objectFit?: CustomImageProps["objectFit"];
|
|
86
|
+
alt?: Nullish<string>;
|
|
87
|
+
}
|
|
88
|
+
export type RenderImageFn = (props: RenderImageProps) => React.ReactNode;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Title: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const GalleryBottomControls: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Gallery/GalleryControls/GalleryControls.types").GalleryBottomControlsProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeploymentGallery } from "./DeploymentGallery";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
+
import type { ExploreSection, ExploreSectionId } from "./ExploreData";
|
|
3
|
+
import type { en as EN_TRANSLATION } from "./translations";
|
|
4
|
+
export interface ExploreProps {
|
|
5
|
+
section: ExploreSection;
|
|
6
|
+
renderImage?: RenderImageFn;
|
|
7
|
+
}
|
|
8
|
+
export interface ExploreLayout {
|
|
9
|
+
sectionId: ExploreSectionId;
|
|
10
|
+
}
|
|
11
|
+
export type TranslationKey = keyof typeof EN_TRANSLATION;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { StaticImageData } from "next/image";
|
|
3
|
+
export type FeaturesType = "vertical" | "horizontal" | "static";
|
|
4
|
+
export interface FeatureItem {
|
|
5
|
+
sub: string;
|
|
6
|
+
subSide?: string;
|
|
7
|
+
main: string;
|
|
8
|
+
mainSide?: string;
|
|
9
|
+
filled?: boolean;
|
|
10
|
+
icon?: string | StaticImageData;
|
|
11
|
+
}
|
|
12
|
+
export interface FeaturesProps {
|
|
13
|
+
className?: string;
|
|
14
|
+
type: FeaturesType;
|
|
15
|
+
items: FeatureItem[];
|
|
16
|
+
motif?: Motif;
|
|
17
|
+
onAllFeatures?: () => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import type { FeatureItem, FeaturesType } from "./Features/Features.types";
|
|
4
|
+
export type AllFeaturesButtonPosition = "heading" | "features";
|
|
5
|
+
export interface FeatureSegmentItem {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Override section heading */
|
|
8
|
+
heading?: string;
|
|
9
|
+
/** Override section sub-heading */
|
|
10
|
+
subHeading?: string;
|
|
11
|
+
motif?: Motif;
|
|
12
|
+
/**
|
|
13
|
+
* Apply a gradient within the "safe area"
|
|
14
|
+
* ```
|
|
15
|
+
* __________________1440x700
|
|
16
|
+
* |__________760x560 |
|
|
17
|
+
* | | |
|
|
18
|
+
* | | |
|
|
19
|
+
* |__________|_______|
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
gradient?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Will fade out near the end to reveal the next item
|
|
25
|
+
* Note: Does not work well with motif changes
|
|
26
|
+
*/
|
|
27
|
+
fadeOut?: boolean;
|
|
28
|
+
video: {
|
|
29
|
+
src: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Exact duration with two decimal precision (e.g. OSx rounds it up)
|
|
32
|
+
* Can use `ffprobe input.mp4` to see a precise duration
|
|
33
|
+
*/
|
|
34
|
+
duration: number;
|
|
35
|
+
looping?: boolean;
|
|
36
|
+
style?: React.CSSProperties;
|
|
37
|
+
};
|
|
38
|
+
feature: FeatureItem;
|
|
39
|
+
}
|
|
40
|
+
export interface FeaturesSectionProps {
|
|
41
|
+
className?: string;
|
|
42
|
+
heading?: string;
|
|
43
|
+
subHeading?: string;
|
|
44
|
+
featuresType?: FeaturesType;
|
|
45
|
+
playback?: number;
|
|
46
|
+
segments: FeatureSegmentItem[];
|
|
47
|
+
/**
|
|
48
|
+
* Start playback by a screen factor earlier
|
|
49
|
+
*/
|
|
50
|
+
startEarly?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Screen height multiplier of how early to start animating
|
|
53
|
+
* Default is 0.5 - when the section is half visible
|
|
54
|
+
*/
|
|
55
|
+
startEarlyFactor?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Video will float-down as scrolling in the view
|
|
58
|
+
*/
|
|
59
|
+
floatInVideo?: boolean;
|
|
60
|
+
allFeaturesButton?: {
|
|
61
|
+
/**
|
|
62
|
+
* The "features" option is not supported if using "static" featuresType
|
|
63
|
+
*/
|
|
64
|
+
position: AllFeaturesButtonPosition;
|
|
65
|
+
onClick: () => void;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Motif transitions during segments
|
|
69
|
+
*/
|
|
70
|
+
onMotifChange?: (motif: Motif) => void;
|
|
71
|
+
/**
|
|
72
|
+
* Scrolled out of view above
|
|
73
|
+
*/
|
|
74
|
+
onExitAbove?: () => void;
|
|
75
|
+
/**
|
|
76
|
+
* Scrolled out of view below
|
|
77
|
+
*/
|
|
78
|
+
onExitBelow?: () => void;
|
|
79
|
+
overlay?: {
|
|
80
|
+
show: boolean;
|
|
81
|
+
onClose: () => void;
|
|
82
|
+
render: () => ReactNode;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export interface ParsedSegmentItem extends FeatureSegmentItem {
|
|
86
|
+
duration: number;
|
|
87
|
+
from: number;
|
|
88
|
+
to: number;
|
|
89
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface GalleryBottomControlsProps {
|
|
2
|
+
/**
|
|
3
|
+
* Size of the controls
|
|
4
|
+
* @default "normal"
|
|
5
|
+
* @type "small" | "normal"
|
|
6
|
+
*
|
|
7
|
+
* Note: "small" is mobile default size and when applied, the "small"
|
|
8
|
+
* size will be applied to all screen sizes
|
|
9
|
+
*/
|
|
10
|
+
size?: "small" | "normal";
|
|
11
|
+
className?: string;
|
|
12
|
+
onControl?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export interface GalleryInsideControlsProps {
|
|
15
|
+
onControl?: () => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { HeaderAccount } from "../Header.types";
|
|
3
|
+
export interface AccountFrameProps {
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
renderImage?: RenderImageFn;
|
|
6
|
+
open: boolean;
|
|
7
|
+
account?: HeaderAccount;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const Divider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const PriceText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {
|
|
3
|
+
bold?: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const VATText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const EmptyCartText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const PriceWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const ProductsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const ReviewCartButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../Button/Button.types").ButtonProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const FreeShippingBanner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const FreeShippingBannerText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const CartModalWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { HeaderCart, HeaderTranslations } from "../Header.types";
|
|
3
|
+
export interface CartModalProps {
|
|
4
|
+
translations: HeaderTranslations;
|
|
5
|
+
renderImage?: RenderImageFn;
|
|
6
|
+
open: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
cart: HeaderCart;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { HeaderCart } from "../../Header.types";
|
|
3
|
+
export interface CartModalItemProps {
|
|
4
|
+
renderImage?: RenderImageFn;
|
|
5
|
+
item: HeaderCart["items"][number];
|
|
6
|
+
}
|
|
7
|
+
export declare const CartModalItem: ({ renderImage, item, }: CartModalItemProps) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const ProductAnchor: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const ProductImageWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const ProductTitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const ControlsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const ControlsButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
7
|
+
$loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const ControlsIcon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const QuantityEllipse: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const QuantityEllipseInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Item";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CartModal } from "./CartModal";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { HeaderCart, HeaderTranslations } from "../Header.types";
|
|
3
|
+
export interface CartModalProps {
|
|
4
|
+
translations: HeaderTranslations;
|
|
5
|
+
renderImage: RenderImageFn;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
cart: HeaderCart;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { HeaderCart, HeaderTranslations } from "../../Header.types";
|
|
3
|
+
export interface CartModalItemProps {
|
|
4
|
+
renderImage?: RenderImageFn;
|
|
5
|
+
item: HeaderCart["items"][number];
|
|
6
|
+
translations: HeaderTranslations["cart"];
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const Frame: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
|
+
$show: boolean;
|
|
3
|
+
$anchorCount: number;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const AnchorContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Anchor: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LinksModal";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { MouseEvent, PropsWithChildren } from "react";
|
|
3
|
+
export type MenuItemProps = PropsWithChildren<{
|
|
4
|
+
minWidth?: number;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
showArrow?: boolean;
|
|
7
|
+
highlight?: boolean;
|
|
8
|
+
hideOnMobile?: boolean;
|
|
9
|
+
hideOnDesktop?: boolean;
|
|
10
|
+
motif: Motif;
|
|
11
|
+
} & ({
|
|
12
|
+
onClick: (e: MouseEvent<HTMLElement>) => void;
|
|
13
|
+
} | {
|
|
14
|
+
as: "a";
|
|
15
|
+
href?: string;
|
|
16
|
+
target?: string;
|
|
17
|
+
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
18
|
+
})>;
|
|
19
|
+
export type MenuButtonProps = PropsWithChildren<{
|
|
20
|
+
motif: Motif;
|
|
21
|
+
secondary?: boolean;
|
|
22
|
+
href: string;
|
|
23
|
+
onClick?: (ev: MouseEvent<HTMLAnchorElement>) => void;
|
|
24
|
+
/**
|
|
25
|
+
* If `true` ignores the `onClick` handler and treats it as plain link that open new tab
|
|
26
|
+
*/
|
|
27
|
+
openInNewTab?: boolean;
|
|
28
|
+
hideOnMobile?: boolean;
|
|
29
|
+
hideOnDesktop?: boolean;
|
|
30
|
+
dataTestId?: string;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { ParsedNavigationSubItem, ParsedNavigationSubSubItem } from "../../../../contexts/MenuContext/types";
|
|
3
|
+
export interface NavigationCarouselProps {
|
|
4
|
+
/** Motif passed through props will take precedence over `motif` got from `useMenu */
|
|
5
|
+
motif?: Motif;
|
|
6
|
+
onMenuSubItemLinkClick?: (e: React.MouseEvent<HTMLElement>, item: ParsedNavigationSubItem | ParsedNavigationSubSubItem) => void;
|
|
7
|
+
/** Used to determine if the main header is sticky */
|
|
8
|
+
stickyHeader?: boolean;
|
|
9
|
+
sticky?: boolean;
|
|
10
|
+
headerWrapScrollTop?: number;
|
|
11
|
+
useThirdLevelItems?: boolean;
|
|
12
|
+
showUnderline?: boolean;
|
|
13
|
+
/** Used for storybook */
|
|
14
|
+
activeMenuItemId?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { SiteUrl } from "../../../../contexts/MenuContext/mapping";
|
|
2
|
+
export type MenuItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
url: SiteUrl | string;
|
|
6
|
+
openInNewTab?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type ParsedMenuItem = Omit<MenuItem, "url"> & {
|
|
9
|
+
url: string;
|
|
10
|
+
active: boolean;
|
|
11
|
+
openInNewTab?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export interface NavigationMicrositeMenuProps {
|
|
14
|
+
/**
|
|
15
|
+
* Display as a physical sub-menu on the page
|
|
16
|
+
* Once scrolled out of view, will be shown on logo hover
|
|
17
|
+
* Otherwise will be shown only on hover
|
|
18
|
+
*/
|
|
19
|
+
visible?: boolean;
|
|
20
|
+
onMenuItemLinkClick?: (e: React.MouseEvent<HTMLElement>, item: ParsedMenuItem) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface NavigationMicrositeMenuPrivateProps extends NavigationMicrositeMenuProps {
|
|
23
|
+
/**
|
|
24
|
+
* Reveal the menu
|
|
25
|
+
*/
|
|
26
|
+
show: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Request modal close
|
|
29
|
+
*/
|
|
30
|
+
onClose?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Header is sticky
|
|
33
|
+
*/
|
|
34
|
+
stickyHeader?: boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RenderImageProps } from "../../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { HeaderSearch, HeaderTranslations } from "../../Header.types";
|
|
3
|
+
export interface NavigationMobileMenuProps {
|
|
4
|
+
translations: HeaderTranslations;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
search?: HeaderSearch;
|
|
7
|
+
onSearchResultsAction?: (searchTerm: string) => void;
|
|
8
|
+
renderImage: (imageProps: RenderImageProps) => React.ReactNode;
|
|
9
|
+
storeLink: string;
|
|
10
|
+
hasMicrositeMenu?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ProductLine } from "../../../../types";
|
|
2
|
+
import type { HeaderTranslations, ProHeaderProps } from "../../Header.types";
|
|
3
|
+
export type ProMobileMenuSectionSubItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
url: string | (() => void);
|
|
7
|
+
isNew?: boolean;
|
|
8
|
+
targetBlank?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type ProMobileMenuSectionItem = {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
icon?: {
|
|
14
|
+
src: string;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
url: string | (() => void) | null;
|
|
19
|
+
subItems: Array<ProMobileMenuSectionSubItem>;
|
|
20
|
+
};
|
|
21
|
+
export interface ProMobileMenuSection {
|
|
22
|
+
id: string;
|
|
23
|
+
items: Array<ProMobileMenuSectionItem>;
|
|
24
|
+
}
|
|
25
|
+
export interface NavigationProMobileMenuProps {
|
|
26
|
+
translations: HeaderTranslations;
|
|
27
|
+
onClose: () => void;
|
|
28
|
+
currentCountryName?: string;
|
|
29
|
+
handleStorePickerClick?: ProHeaderProps["handleStorePickerClick"];
|
|
30
|
+
handleOrderHistoryClick?: ProHeaderProps["handleOrderHistoryClick"];
|
|
31
|
+
handlePurchaseHistoryClick?: ProHeaderProps["handlePurchaseHistoryClick"];
|
|
32
|
+
handleProductLineChange?: ProHeaderProps["handleProductLineChange"];
|
|
33
|
+
productLineValue?: ProHeaderProps["productLineValue"];
|
|
34
|
+
productLineOptions?: Array<{
|
|
35
|
+
value: ProductLine;
|
|
36
|
+
label: string;
|
|
37
|
+
}>;
|
|
38
|
+
hideExtraSection?: boolean;
|
|
39
|
+
extraSectionItems?: Array<ProMobileMenuSectionItem>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const SearchInputWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const SearchModalWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
|
+
width: number;
|
|
4
|
+
}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
3
|
+
import type { HeaderSearch, HeaderTranslations } from "../Header.types";
|
|
4
|
+
export interface SearchTabProps {
|
|
5
|
+
translations: HeaderTranslations;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
setInputRef?: Dispatch<SetStateAction<HTMLInputElement | null>>;
|
|
8
|
+
showSearchTab: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
motif: Motif;
|
|
11
|
+
onSearchResultsAction: (searchTerm: string) => void;
|
|
12
|
+
search?: HeaderSearch;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SearchTab } from "./SearchTab";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const HeroFadeGallery: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const HeroFadeGalleryMain: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const HeroActions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const HeroFadeGalleryTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const HeroFadeGalleryDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const HeroFadeGalleryInner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const HeroFadeGalleryControls: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const HeroOptions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const HeroOptionsInner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const HeroOptionButton: import("styled-components").StyledComponent<({ children, active, className, ...props }: import("../GradientButton/GradientButton.types").GradientButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const HeroOptionImage: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|