@ubnt/store.core 9.31.0-dts-fix.0 → 9.31.0-dts-fix.2
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/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/close2.svg +3 -2
- package/lib/assets/close3.svg +2 -3
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- 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/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- 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/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/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/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
- 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/package.json +2 -2
- package/lib/_virtual/_virtual_multi-entry.js +0 -203
- package/lib/_virtual/_virtual_multi-entry.js.map +0 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +0 -176
- package/lib/_virtual/_virtual_multi-entry.mjs.map +0 -1
- package/lib/apis/smartcat.test.d.ts +0 -1
- package/lib/components/Accordion/Accordion.types.d.ts +0 -36
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -21
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
- package/lib/components/AppDownloadBanner/index.d.ts +0 -1
- package/lib/components/Avatar/Avatar.types.d.ts +0 -10
- package/lib/components/BackInStock/BackInStock.types.d.ts +0 -26
- package/lib/components/Banner/Banner.types.d.ts +0 -22
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
- package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
- package/lib/components/Button/Button.types.d.ts +0 -23
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -33
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -16
- package/lib/components/CardSection/CardSection.types.d.ts +0 -13
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
- package/lib/components/CarouselGallery/index.d.ts +0 -1
- package/lib/components/CartIcon/CartIcon.types.d.ts +0 -8
- package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
- package/lib/components/CategoryTabs/CategoryTabs.types.d.ts +0 -24
- package/lib/components/Checkbox/Checkbox.types.d.ts +0 -8
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
- package/lib/components/Compare/Compare.d.ts +0 -2
- package/lib/components/Compare/Compare.styles.d.ts +0 -36
- package/lib/components/Compare/Compare.types.d.ts +0 -34
- package/lib/components/Compare/CompareData.d.ts +0 -22
- package/lib/components/Compare/ProductTable.d.ts +0 -6
- package/lib/components/Compare/index.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -37
- package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
- package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
- package/lib/components/CompareChart/index.d.ts +0 -2
- package/lib/components/CompareSection/CompareSection.d.ts +0 -5
- package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
- package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -17
- package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
- package/lib/components/CompareSection/index.d.ts +0 -1
- package/lib/components/Container/Container.types.d.ts +0 -11
- package/lib/components/CustomImage/CustomImage.types.d.ts +0 -88
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
- package/lib/components/DeploymentGallery/index.d.ts +0 -1
- package/lib/components/Explore/Explore.test.d.ts +0 -1
- package/lib/components/Explore/Explore.types.d.ts +0 -11
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
- package/lib/components/Gallery/GalleryControls/GalleryControls.types.d.ts +0 -16
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.types.d.ts +0 -7
- package/lib/components/GradientButton/GradientButton.types.d.ts +0 -4
- package/lib/components/GridGallery/GridModal/GridModal.types.d.ts +0 -8
- package/lib/components/Header/AccountFrame/AccountFrame.types.d.ts +0 -8
- package/lib/components/Header/AccountMenu/AccountMenu.types.d.ts +0 -9
- package/lib/components/Header/CartModal/CartModal.d.ts +0 -2
- package/lib/components/Header/CartModal/CartModal.styles.d.ts +0 -14
- package/lib/components/Header/CartModal/CartModal.types.d.ts +0 -9
- package/lib/components/Header/CartModal/Empty/Empty.types.d.ts +0 -6
- package/lib/components/Header/CartModal/Item/Item.d.ts +0 -7
- package/lib/components/Header/CartModal/Item/Item.styles.d.ts +0 -12
- package/lib/components/Header/CartModal/Item/index.d.ts +0 -1
- package/lib/components/Header/CartModal/index.d.ts +0 -1
- package/lib/components/Header/CartModalV2/CartModal.types.d.ts +0 -8
- package/lib/components/Header/CartModalV2/Item/Item.types.d.ts +0 -7
- package/lib/components/Header/LanguageFrame/LanguageFrame.types.d.ts +0 -6
- package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.test.d.ts +0 -1
- package/lib/components/Header/LinksModal/LinksModal.d.ts +0 -2
- package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +0 -6
- package/lib/components/Header/LinksModal/LinksModal.types.d.ts +0 -11
- package/lib/components/Header/LinksModal/index.d.ts +0 -1
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -31
- package/lib/components/Header/Navigation/Carousel/Carousel.types.d.ts +0 -16
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.types.d.ts +0 -35
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +0 -11
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +0 -40
- package/lib/components/Header/Overlay/Overlay.types.d.ts +0 -6
- package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
- package/lib/components/Header/SearchTab/index.d.ts +0 -1
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
- package/lib/components/HeroFadeGallery/index.d.ts +0 -1
- package/lib/components/HeroVideo/HeroVideo.types.d.ts +0 -9
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
- package/lib/components/HowToUseSection/index.d.ts +0 -1
- package/lib/components/ImageCarousel/ImageCarousel.types.d.ts +0 -11
- package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
- package/lib/components/InputSelect/InputSelect.types.d.ts +0 -13
- package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
- package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -65
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
- package/lib/components/LayoutRendererV1/index.d.ts +0 -1
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -55
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
- package/lib/components/LayoutRendererV2/index.d.ts +0 -1
- package/lib/components/Loader/Loader.types.d.ts +0 -9
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -4
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.types.d.ts +0 -7
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.types.d.ts +0 -46
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types.d.ts +0 -12
- package/lib/components/MicrositeCustomContent/MicrositeCustomContent.d.ts +0 -2
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.types.d.ts +0 -26
- package/lib/components/MicrositeFeatureProgressBar/index.d.ts +0 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts +0 -15
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -4
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/MicrositeSection/AllFeaturesButton/index.d.ts +0 -1
- package/lib/components/MicrositeSection/Features/Features.d.ts +0 -2
- package/lib/components/MicrositeSection/Features/Features.styles.d.ts +0 -24
- package/lib/components/MicrositeSection/Features/Features.types.d.ts +0 -18
- package/lib/components/MicrositeSection/Features/index.d.ts +0 -1
- package/lib/components/MicrositeSection/MicrositeSection.d.ts +0 -11
- package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +0 -43
- package/lib/components/MicrositeSection/MicrositeSection.types.d.ts +0 -103
- package/lib/components/MicrositeSection/MicrositeSection.utils.d.ts +0 -32
- package/lib/components/MicrositeSection/index.d.ts +0 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.types.d.ts +0 -9
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.types.d.ts +0 -5
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +0 -42
- package/lib/components/Microsites/MicrositeProductPageSample.constants.d.ts +0 -9
- package/lib/components/MobileModal/MobileModal.types.d.ts +0 -15
- package/lib/components/ModelCompareV3/CheckWithNote.d.ts +0 -3
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -592
- package/lib/components/ModelCompareV3/data/products/8PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/8PoESFPGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/acInWall.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/aiBullet.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber37dBiMonsterDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber60HD.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber60XG.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber60XTremeRange.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX23dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX24dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX30dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX34dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAX30dBiRocketDishLW.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXAC30dBiRocketDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXAC31dBiRocketDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXAC34dBiRocketDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXSector5GHzTitanium.d.ts +0 -11
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeam.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamLongRange.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamPlus.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/edgePointS16.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/edgeSwitch12f.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +0 -6
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +0 -6
- package/lib/components/ModelCompareV3/data/products/gponOlt.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/standard16PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/standard24PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/standard48PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/switchesUtility.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/u6lite.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/xg6PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/xgsxg.d.ts +0 -2
- package/lib/components/ModelCompareV3/translations/index.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
- package/lib/components/NewToUnifiBox/index.d.ts +0 -1
- package/lib/components/Pagination/Pagination.types.d.ts +0 -5
- package/lib/components/Popover/Popover.types.d.ts +0 -8
- package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
- package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
- package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
- package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +0 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.types.d.ts +0 -13
- package/lib/components/ProductTechSpecs/index.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -19
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
- package/lib/components/ProductUpsell/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
- package/lib/components/ProgressCircle/ProgressCircle.types.d.ts +0 -9
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +0 -11
- package/lib/components/QuantityInput/QuantityInput.types.d.ts +0 -10
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -25
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -20
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -22
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.types.d.ts +0 -36
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.types.d.ts +0 -7
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.types.d.ts +0 -9
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.types.d.ts +0 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -54
- package/lib/components/Search/Input/Input.types.d.ts +0 -19
- package/lib/components/SearchInput/Input.styles.d.ts +0 -18
- package/lib/components/StaticModal/StaticModal.types.d.ts +0 -10
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
- package/lib/components/TabinationButtons/index.d.ts +0 -1
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
- package/lib/components/TopologyScheme/index.d.ts +0 -2
- package/lib/components/UICare/UICare.types.d.ts +0 -52
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
- package/lib/components/VariantSelector/utils.d.ts +0 -11
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -35
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV1/index.d.ts +0 -1
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -21
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV2/index.d.ts +0 -1
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
- package/lib/components/VideoPlayer/index.d.ts +0 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.types.d.ts +0 -14
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
- package/lib/components/YouTubePlayer/index.d.ts +0 -1
- package/lib/constants/postalCode.test.d.ts +0 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -128
- package/lib/constants/storybook.d.ts +0 -11
- package/lib/contexts/MenuContext/mapping.test.d.ts +0 -1
- package/lib/contexts/MenuContext/utils.test.d.ts +0 -1
- package/lib/helpers/jsx.d.ts +0 -6
- package/lib/helpers/routes.d.ts +0 -1
- package/lib/types/utils.test.d.ts +0 -1
- package/lib/utils/address.data.d.ts +0 -17
- package/lib/utils/address.test.d.ts +0 -1
- package/lib/utils/array.test.d.ts +0 -1
- package/lib/utils/canvas.d.ts +0 -8
- package/lib/utils/cdn.d.ts +0 -5
- package/lib/utils/collectionSlug.test.d.ts +0 -1
- package/lib/utils/countriesAndZones.test.d.ts +0 -1
- package/lib/utils/langauge.test.d.ts +0 -1
- package/lib/utils/measures.test.d.ts +0 -1
- package/lib/utils/money/allocators/fixedAmount.test.d.ts +0 -1
- package/lib/utils/money/allocators/productAmount.test.d.ts +0 -1
- package/lib/utils/money/constants.test.d.ts +0 -1
- package/lib/utils/money/exchangeRate.test.d.ts +0 -1
- package/lib/utils/money/format.test.d.ts +0 -1
- package/lib/utils/money/misc.test.d.ts +0 -1
- package/lib/utils/money/shipping.test.d.ts +0 -1
- package/lib/utils/money/tax.private.test.d.ts +0 -1
- package/lib/utils/money/tax.test.d.ts +0 -1
- package/lib/utils/nextjs/createInlineScript.test.d.ts +0 -1
- package/lib/utils/nextjs/mergeCspDirectives.test.d.ts +0 -1
- package/lib/utils/nextjs/sanitizeImageDomains.test.d.ts +0 -1
- package/lib/utils/nextjs/stringifyForInject.test.d.ts +0 -1
- package/lib/utils/number.test.d.ts +0 -1
- package/lib/utils/storeId.test.d.ts +0 -1
- package/lib/utils/string.test.d.ts +0 -1
- package/lib/utils/tags.test.d.ts +0 -1
- package/lib/utils/tax/index.test.d.ts +0 -1
- package/lib/utils/url.test.d.ts +0 -1
- package/lib/utils/validations/index.d.ts +0 -5
- package/lib/utils/validations/postalCodeSuperRefinement.test.d.ts +0 -1
- package/lib/utils/variant.test.d.ts +0 -1
- package/lib/utils/wattage.test.d.ts +0 -1
- package/lib/utils/zod.test.d.ts +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { default as ar } from "./ar.json";
|
|
2
|
-
export { default as de } from "./de.json";
|
|
3
|
-
export { default as el } from "./el.json";
|
|
4
|
-
export { default as en } from "./en.json";
|
|
5
|
-
export { default as es } from "./es.json";
|
|
6
|
-
export { default as fr } from "./fr.json";
|
|
7
|
-
export { default as it } from "./it.json";
|
|
8
|
-
export { default as ja } from "./ja.json";
|
|
9
|
-
export { default as pt } from "./pt-BR.json";
|
|
10
|
-
export { default as zh } from "./zh-Hans.json";
|
|
11
|
-
export { default as tw } from "./zh-Hant-TW.json";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
-
interface NewToUnifiBoxProps {
|
|
3
|
-
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
4
|
-
translations?: {
|
|
5
|
-
newToUnifi: string;
|
|
6
|
-
newToUnifiText: string;
|
|
7
|
-
newToUnifiLinkText: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export declare const NewToUnifiBox: ({ renderImage, translations, }: NewToUnifiBoxProps) => JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const NewToUnifiBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
-
export declare const NewToUnifiBoxTitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const NewToUnifiBoxText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const NewToUnifiBoxLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const CustomImage: 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>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NewToUnifiBox } from "./NewToUnifiBox";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
-
import type { GridProduct, GridProductVariant } from "../ProductGrid/ProductGrid.types";
|
|
3
|
-
import type { defaultProductCardTranslations } from "./ProductCard.constants";
|
|
4
|
-
export type ProductCardProps = Pick<GridProduct, "baseSku" | "skuExtraLabel" | "slug" | "defaultCollectionSlug" | "title" | "shortDescription" | "images" | "isPreviouslyPurchased" | "learnMoreUrl" | "onLearnMoreClick" | "onAddToCart" | "formattedPrice" | "formattedPriceWithTax" | "isSubscription"> & {
|
|
5
|
-
variants: Pick<GridProductVariant, "imageId" | "isInStock" | "isComingSoon" | "isEarlyAccess" | "sku">[];
|
|
6
|
-
translations?: typeof defaultProductCardTranslations;
|
|
7
|
-
renderImage: RenderImageFn;
|
|
8
|
-
compact?: boolean;
|
|
9
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { DropdownOption } from "@ubnt/ui-components/Dropdown";
|
|
2
|
-
import type { BackInStockProps } from "../BackInStock/BackInStock.types";
|
|
3
|
-
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
4
|
-
import type { GridProduct } from "../ProductGrid/ProductGrid.types";
|
|
5
|
-
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
6
|
-
export interface CustomOption extends DropdownOption {
|
|
7
|
-
isInStock?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export type SelectedVariant = Partial<Pick<GridProduct, "title" | "images">> & {
|
|
10
|
-
quantity: {
|
|
11
|
-
id: string | null;
|
|
12
|
-
value: number;
|
|
13
|
-
};
|
|
14
|
-
variantTitle: string;
|
|
15
|
-
onRemove: (id: string | null) => void;
|
|
16
|
-
};
|
|
17
|
-
export type ProductCardPopupProps = Partial<Pick<GridProduct, "title" | "baseSku" | "shortDescription" | "skuExtraLabel" | "images" | "slug" | "defaultCollectionSlug" | "learnMoreUrl" | "onLearnMoreClick" | "options" | "variants">> & {
|
|
18
|
-
isOpen: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Fires when clicked outside of the modal
|
|
21
|
-
*/
|
|
22
|
-
onClickOutside?: () => void;
|
|
23
|
-
activePopupVariantSku?: string;
|
|
24
|
-
onVariantChange?: (sku: string) => void;
|
|
25
|
-
wizardProps?: ProductWizardProps;
|
|
26
|
-
renderImage: RenderImageFn;
|
|
27
|
-
translations: {
|
|
28
|
-
quantity: string;
|
|
29
|
-
learnMore: string;
|
|
30
|
-
qty: string;
|
|
31
|
-
select: string;
|
|
32
|
-
VATincluded: string;
|
|
33
|
-
};
|
|
34
|
-
backInStockProps?: BackInStockProps;
|
|
35
|
-
selectedVariants?: SelectedVariant[];
|
|
36
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
-
import type { LayoutVariant } from "../LayoutRenderer/LayoutRenderer.types";
|
|
3
|
-
import type { ProductCompareSectionId, VariantCompareMapping } from "./mapping";
|
|
4
|
-
import type { defaultProductCompareTranslations } from "./ProductCompare.constants";
|
|
5
|
-
export interface ProductCompareProps {
|
|
6
|
-
className?: string;
|
|
7
|
-
renderImage?: RenderImageFn;
|
|
8
|
-
variants: LayoutVariant[];
|
|
9
|
-
translations?: typeof defaultProductCompareTranslations;
|
|
10
|
-
onVariantLearnMore?: (id: string) => void;
|
|
11
|
-
onVariantAddToCart?: (variantId: string, quantity: number) => void;
|
|
12
|
-
}
|
|
13
|
-
export interface ProductCompareLayoutVariant extends LayoutVariant {
|
|
14
|
-
/** Compare mapping data */
|
|
15
|
-
compareSectionId: ProductCompareSectionId;
|
|
16
|
-
compare: VariantCompareMapping;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StaticImageData } from "next/image";
|
|
2
|
-
export interface ProductKeyFeaturesItem {
|
|
3
|
-
value: string;
|
|
4
|
-
/** Icon name */
|
|
5
|
-
iconName: string | null;
|
|
6
|
-
/** Icon raw SVG */
|
|
7
|
-
iconSvg: string | StaticImageData | null;
|
|
8
|
-
}
|
|
9
|
-
export interface ProductKeyFeatures {
|
|
10
|
-
header?: ProductKeyFeaturesItem;
|
|
11
|
-
items: Array<ProductKeyFeaturesItem>;
|
|
12
|
-
/** Description excluding the key features list */
|
|
13
|
-
description: string;
|
|
14
|
-
}
|
|
15
|
-
export interface ProductKeyFeaturesProps {
|
|
16
|
-
className?: string;
|
|
17
|
-
disableHeader?: boolean;
|
|
18
|
-
keyFeatures: ProductKeyFeatures | string | null;
|
|
19
|
-
}
|
package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
-
interface Product {
|
|
3
|
-
id: string;
|
|
4
|
-
image?: string;
|
|
5
|
-
title: string;
|
|
6
|
-
price: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ProductRecommendedAccessoriesProps {
|
|
9
|
-
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
10
|
-
products?: Product[];
|
|
11
|
-
onClick: (id: string) => void;
|
|
12
|
-
translations: {
|
|
13
|
-
title: string;
|
|
14
|
-
addToCart: string;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const PRODUCT_SECTION_NAVIGATION_HEIGHT = 48;
|
|
2
|
-
export declare const PRODUCT_SECTION_NAVIGATION_ANIMATION_MS = 300;
|
|
3
|
-
export declare const NAV_ITEM_GAP_SIZE = 30;
|
|
4
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const NavItemWrapOuter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const NavItemWrapInner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const NavItem: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
9
|
-
active?: boolean;
|
|
10
|
-
}, never>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
interface Item {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
/**
|
|
6
|
-
* Item url is either a hash or a full url string
|
|
7
|
-
*/
|
|
8
|
-
url: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ProductSectionNavigationProps {
|
|
11
|
-
items: Item[];
|
|
12
|
-
/**
|
|
13
|
-
* For styled-components extending
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
/**
|
|
17
|
-
* If the navigation item is a menu item, allow overwriting the action externally
|
|
18
|
-
*/
|
|
19
|
-
onNavigationLinkClick?: (e: React.MouseEvent<HTMLElement>, item: Item) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Disable scroll when items are more than content width
|
|
22
|
-
*/
|
|
23
|
-
disableScroll?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ProductSectionNavigation";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const NAV_ITEM_GAP_SIZE = 30;
|
|
2
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const Item: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
5
|
-
active?: boolean;
|
|
6
|
-
}, never>;
|
|
7
|
-
export declare const ItemSubLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const ItemLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
|
-
active?: boolean;
|
|
10
|
-
}, never>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface Item {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
subLabel?: string;
|
|
5
|
-
active: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Item url is either a hash or a full url string
|
|
8
|
-
*/
|
|
9
|
-
url: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ProductSectionNavigationProps {
|
|
12
|
-
items: Item[];
|
|
13
|
-
/**
|
|
14
|
-
* For styled-components extending
|
|
15
|
-
*/
|
|
16
|
-
className?: string;
|
|
17
|
-
/**
|
|
18
|
-
* If the navigation item is a menu item, allow overwriting the action externally
|
|
19
|
-
*/
|
|
20
|
-
onNavigationLinkClick?: (e: React.MouseEvent<HTMLElement>, item: Item) => void;
|
|
21
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface Item {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Item url is either a hash or a full url string
|
|
8
|
-
*/
|
|
9
|
-
url: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ProductSectionTabsProps {
|
|
12
|
-
items: Item[];
|
|
13
|
-
/**
|
|
14
|
-
* For styled-components extending
|
|
15
|
-
*/
|
|
16
|
-
className?: string;
|
|
17
|
-
/**
|
|
18
|
-
* If the navigation item is a menu item, allow overwriting the action externally
|
|
19
|
-
*/
|
|
20
|
-
onNavigationLinkClick?: (e: React.MouseEvent<HTMLElement>, item: Item) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Disable scroll when items are more than content width
|
|
23
|
-
*/
|
|
24
|
-
disableScroll?: boolean;
|
|
25
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ProductTechSpecsProps } from "./ProductTechSpecs.types";
|
|
2
|
-
/**
|
|
3
|
-
* NOTE: This component is not currently used but left here in case of design changes.
|
|
4
|
-
* The Compare component is currently used instead to show tech specs.
|
|
5
|
-
*/
|
|
6
|
-
export declare const ProductTechSpecs: ({ title, activeProductId, products, motif, }: ProductTechSpecsProps) => JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
-
interface Product {
|
|
3
|
-
title: string;
|
|
4
|
-
html?: string;
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ProductTechSpecsProps {
|
|
8
|
-
title?: string;
|
|
9
|
-
activeProductId: string;
|
|
10
|
-
products: Product[];
|
|
11
|
-
motif: Motif;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
-
export declare const HeaderBlock: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const HeaderIcon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const HeaderButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.types").ButtonProps & {
|
|
5
|
-
children?: import("react").ReactNode;
|
|
6
|
-
} & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const HeaderTextWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const HeaderText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
export declare const MainHeading: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
-
export declare const CategoryWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
-
export declare const CategoryTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
-
export declare const CategoryItemsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
-
export declare const CategoryItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
-
export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
-
export declare const ItemMeta: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const ItemImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
-
export declare const ItemSubTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
-
export declare const ItemTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
|
-
export declare const ItemPrice: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { StaticImageData } from "next/image";
|
|
2
|
-
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
3
|
-
import type { ProductCardPopupProps } from "../ProductCardPopup/ProductCardPopup.types";
|
|
4
|
-
export declare const defaultProductUpsellTranslations: {
|
|
5
|
-
inStock: string;
|
|
6
|
-
itemsAddedToCartSuccessfully: (count: number) => string;
|
|
7
|
-
viewCartAndCheckout: string;
|
|
8
|
-
completeYourOrderWith: string;
|
|
9
|
-
productCardPopup: {
|
|
10
|
-
learnMore: string;
|
|
11
|
-
quantity: string;
|
|
12
|
-
qty: string;
|
|
13
|
-
select: string;
|
|
14
|
-
VATincluded: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export interface UpsellItem {
|
|
18
|
-
id: string;
|
|
19
|
-
title: string;
|
|
20
|
-
subTitle: string;
|
|
21
|
-
price: string;
|
|
22
|
-
isInStock: boolean;
|
|
23
|
-
image: string | StaticImageData | null;
|
|
24
|
-
onAddToCart: (id: string) => void;
|
|
25
|
-
}
|
|
26
|
-
export interface UpsellCategory {
|
|
27
|
-
id: string;
|
|
28
|
-
title: string;
|
|
29
|
-
items: UpsellItem[];
|
|
30
|
-
}
|
|
31
|
-
export interface ProductUpsellProps {
|
|
32
|
-
addedToCartQuantity: number;
|
|
33
|
-
renderImage?: RenderImageFn;
|
|
34
|
-
translations?: typeof defaultProductUpsellTranslations;
|
|
35
|
-
onViewCartAndCheckout: () => void;
|
|
36
|
-
categories: UpsellCategory[];
|
|
37
|
-
activePopupProduct?: Omit<ProductCardPopupProps, "translations" | "renderImage" | "isOpen">;
|
|
38
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ProductUpsell";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ProductWizardProps } from "../ProductWizard.types";
|
|
2
|
-
export type ProductWizardOptionsProps = Pick<ProductWizardProps, "options" | "selectedOptionIds" | "onOptionSelect"> & {
|
|
3
|
-
/**
|
|
4
|
-
* Shows only icons for options, if such are available.
|
|
5
|
-
*/
|
|
6
|
-
onlyIcons?: boolean;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type { Money } from "../../utils/money";
|
|
2
|
-
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
3
|
-
type Footnote = {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
value?: string;
|
|
6
|
-
};
|
|
7
|
-
export interface PaymentTypes {
|
|
8
|
-
card: boolean;
|
|
9
|
-
googlePay: boolean;
|
|
10
|
-
applePay: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface OptionValue {
|
|
13
|
-
id: string;
|
|
14
|
-
title: string;
|
|
15
|
-
slug: string;
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface Option {
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
slug: string;
|
|
22
|
-
values: OptionValue[];
|
|
23
|
-
}
|
|
24
|
-
export interface ProductWizardProps {
|
|
25
|
-
quantity: {
|
|
26
|
-
id: string | null;
|
|
27
|
-
value: number;
|
|
28
|
-
};
|
|
29
|
-
showQuantityAdjuster?: boolean;
|
|
30
|
-
disableQtyPicker: boolean;
|
|
31
|
-
addToCartButtonDisabled: boolean;
|
|
32
|
-
showSelectButton?: boolean;
|
|
33
|
-
totalPrice?: Money;
|
|
34
|
-
totalPriceWithVAT?: Money;
|
|
35
|
-
isVariantSelected?: boolean;
|
|
36
|
-
isVariantSoldOut: boolean;
|
|
37
|
-
isVariantComingSoon: boolean;
|
|
38
|
-
maxRelevantLimitAddToCartQuantity?: number;
|
|
39
|
-
relevantLimitQuantity?: number;
|
|
40
|
-
showLimitError: boolean;
|
|
41
|
-
limitsDisabled: boolean;
|
|
42
|
-
requiresLogin?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Option picker
|
|
45
|
-
*/
|
|
46
|
-
selectedOptionIds?: string[];
|
|
47
|
-
options?: Option[];
|
|
48
|
-
onOptionSelect?: (optionId: string, valueId: string) => void;
|
|
49
|
-
/**
|
|
50
|
-
* Fires when clicked on add to cart button
|
|
51
|
-
*/
|
|
52
|
-
onAddToCart: () => void;
|
|
53
|
-
/**
|
|
54
|
-
* Fires when "-" clicked
|
|
55
|
-
*/
|
|
56
|
-
decreaseQuantity: () => void;
|
|
57
|
-
/**
|
|
58
|
-
* Fires when user types in quantity
|
|
59
|
-
*/
|
|
60
|
-
updateQuantity: React.ChangeEventHandler<HTMLInputElement>;
|
|
61
|
-
/**
|
|
62
|
-
* Fires when "+" clicked
|
|
63
|
-
*/
|
|
64
|
-
increaseQuantity: () => void;
|
|
65
|
-
enableLimitAndBackInStock?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Translations for footnotes, add to cart button, and errors
|
|
68
|
-
*/
|
|
69
|
-
translations: {
|
|
70
|
-
footnotes: {
|
|
71
|
-
limit: Footnote;
|
|
72
|
-
shipping: Footnote;
|
|
73
|
-
warranty?: string;
|
|
74
|
-
};
|
|
75
|
-
addToCartButton: {
|
|
76
|
-
soldOut: string;
|
|
77
|
-
comingSoon: string;
|
|
78
|
-
addToCart: string;
|
|
79
|
-
buyNow: string;
|
|
80
|
-
select: string;
|
|
81
|
-
update: string;
|
|
82
|
-
startTrial: string;
|
|
83
|
-
findAReseller: string;
|
|
84
|
-
};
|
|
85
|
-
errors: {
|
|
86
|
-
/**
|
|
87
|
-
* Translation with login button
|
|
88
|
-
*/
|
|
89
|
-
limitedToBuy: string | React.ReactNode;
|
|
90
|
-
limitReached: string;
|
|
91
|
-
limitErrorPer: string;
|
|
92
|
-
};
|
|
93
|
-
totalPrice: string;
|
|
94
|
-
VATincluded: string;
|
|
95
|
-
};
|
|
96
|
-
availablePaymentMethods?: PaymentTypes;
|
|
97
|
-
renderImage?: RenderImageFn;
|
|
98
|
-
}
|
|
99
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { BackInStockProps } from "../BackInStock/BackInStock.types";
|
|
2
|
-
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
3
|
-
export type ProductWizardFootnotesProps = Pick<ProductWizardProps, "maxRelevantLimitAddToCartQuantity" | "relevantLimitQuantity" | "limitsDisabled" | "requiresLogin" | "showLimitError" | "enableLimitAndBackInStock" | "availablePaymentMethods" | "renderImage"> & {
|
|
4
|
-
className?: string;
|
|
5
|
-
translations: Pick<ProductWizardProps["translations"], "errors" | "footnotes">;
|
|
6
|
-
backInStockProps?: BackInStockProps;
|
|
7
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CartButtonProps } from "../Button";
|
|
2
|
-
export interface QuantityControlsProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
quantity: number;
|
|
6
|
-
onUpdateQuantity: (quantity: number) => void;
|
|
7
|
-
onAddToCart: () => void;
|
|
8
|
-
hideQuantityInput?: boolean;
|
|
9
|
-
cartButton?: Partial<CartButtonProps>;
|
|
10
|
-
allowZero?: boolean;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface QuantityInputProps {
|
|
2
|
-
onIncreaseQuantity?: React.MouseEventHandler<HTMLButtonElement>;
|
|
3
|
-
onDecreaseQuantity?: React.MouseEventHandler<HTMLButtonElement>;
|
|
4
|
-
onUpdateQuantity?: (value: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
-
quantity?: number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
maxQuantity?: number;
|
|
8
|
-
label?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Nullish } from "../../types";
|
|
2
|
-
import type { Money } from "../../utils/money";
|
|
3
|
-
import type { CustomImageAsset, RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
4
|
-
import type { ProductCardPopupProps } from "../ProductCardPopup/ProductCardPopup.types";
|
|
5
|
-
export type RelatedProductsCategory = {
|
|
6
|
-
id: string;
|
|
7
|
-
title: string;
|
|
8
|
-
products: {
|
|
9
|
-
id: string;
|
|
10
|
-
title: string;
|
|
11
|
-
displayPrice: Money;
|
|
12
|
-
image?: CustomImageAsset;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
export interface RelatedProductsProps {
|
|
16
|
-
/**
|
|
17
|
-
* The categories to display.
|
|
18
|
-
* Null - Loading state
|
|
19
|
-
* Undefined - No categories
|
|
20
|
-
*/
|
|
21
|
-
categories?: Nullish<RelatedProductsCategory[]>;
|
|
22
|
-
onAddToCart?: (productId: string) => void;
|
|
23
|
-
/**
|
|
24
|
-
* Related products popup
|
|
25
|
-
*/
|
|
26
|
-
activePopupProduct?: Omit<ProductCardPopupProps, "translations" | "renderImage" | "isOpen">;
|
|
27
|
-
renderImage: RenderImageFn;
|
|
28
|
-
translations: {
|
|
29
|
-
title?: string;
|
|
30
|
-
productCardPopup: ProductCardPopupProps["translations"];
|
|
31
|
-
};
|
|
32
|
-
}
|