@ubnt/store.core 11.21.0-beta.0 → 11.21.0-beta.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/CHANGELOG.md +8 -0
- package/lib/assets/ai-dslr.jpg +0 -0
- package/lib/assets/ai-dslr2.jpg +0 -0
- package/lib/assets/ai-lpr.jpg +0 -0
- package/lib/assets/ai-lpr2.jpg +0 -0
- package/lib/assets/ai-theta.jpg +0 -0
- package/lib/assets/ai-theta2.jpg +0 -0
- package/lib/assets/ai-turret.jpg +0 -0
- package/lib/assets/ai-turret2.jpg +0 -0
- package/lib/assets/g2-reader-pro.jpg +0 -0
- package/lib/assets/g2-reader-pro2.jpg +0 -0
- package/lib/assets/g3-reader-flex.jpg +0 -0
- package/lib/assets/g3-reader-flex2.jpg +0 -0
- package/lib/assets/g3-starter-kit-pro.jpg +0 -0
- package/lib/assets/g3-starter-kit-pro2.jpg +0 -0
- package/lib/assets/g4-instant.jpg +0 -0
- package/lib/assets/g4-instant2.jpg +0 -0
- package/lib/assets/g5-bullet.jpg +0 -0
- package/lib/assets/g5-bullet2.jpg +0 -0
- package/lib/assets/intercom.jpg +0 -0
- package/lib/assets/intercom2.jpg +0 -0
- package/lib/components/Accordion/Accordion.styles.js +12 -12
- package/lib/components/Accordion/Accordion.styles.js.map +1 -1
- package/lib/components/Avatar/Avatar.styles.js +3 -3
- package/lib/components/Avatar/Avatar.styles.js.map +1 -1
- package/lib/components/BackInStock/BackInStock.styles.js +8 -8
- package/lib/components/BackInStock/BackInStock.styles.js.map +1 -1
- package/lib/components/Badge/Badge.styles.js +18 -18
- package/lib/components/Badge/Badge.styles.js.map +1 -1
- package/lib/components/Button/Button.styles.js +30 -30
- package/lib/components/Button/Button.styles.js.map +1 -1
- package/lib/components/Button/CartButton.styles.js +12 -12
- package/lib/components/Button/CartButton.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +17 -17
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +10 -10
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/CardSection/Card/Card.styles.js +18 -18
- package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
- package/lib/components/CardSection/CardSection.styles.js +5 -5
- package/lib/components/CardSection/CardSection.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +21 -21
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/Checkbox/Checkbox.styles.js +8 -8
- package/lib/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/lib/components/Container/Container.styles.js +8 -8
- package/lib/components/Container/Container.styles.js.map +1 -1
- package/lib/components/CustomImage/CustomImage.styles.js +21 -21
- package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
- package/lib/components/Explore/Explore.js +2 -2
- package/lib/components/Explore/Explore.js.map +1 -1
- package/lib/components/Explore/Explore.styles.js +26 -26
- package/lib/components/Explore/Explore.styles.js.map +1 -1
- package/lib/components/Footer/Footer.styles.js +31 -31
- package/lib/components/Footer/Footer.styles.js.map +1 -1
- package/lib/components/GradientButton/GradientButton.styles.js +5 -5
- package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.styles.js +5 -5
- package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js +10 -10
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js +4 -4
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js +8 -8
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js.map +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js +3 -3
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.js +2 -2
- package/lib/components/Header/CartModal/Empty/Empty.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/CartModal.styles.js +21 -21
- package/lib/components/Header/CartModalV2/CartModal.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.js +13 -13
- package/lib/components/Header/CartModalV2/Item/Item.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.js +38 -38
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +14 -14
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js +4 -4
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/LogoIcon/LogoIcon.js +2 -2
- package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +19 -19
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js +16 -16
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +20 -20
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +23 -23
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +23 -23
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Overlay/Overlay.styles.js +4 -4
- package/lib/components/Header/Overlay/Overlay.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +53 -53
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js +13 -18
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs +4 -3
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs.map +1 -1
- package/lib/components/HeroVideo/HeroVideo.styles.js +7 -7
- package/lib/components/HeroVideo/HeroVideo.styles.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.styles.js +35 -35
- package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
- package/lib/components/ImageSequence/ImageSequence.styles.js +9 -9
- package/lib/components/ImageSequence/ImageSequence.styles.js.map +1 -1
- package/lib/components/InputSelect/InputSelect.styles.js +5 -5
- package/lib/components/InputSelect/InputSelect.styles.js.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js +2 -2
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js.map +1 -1
- package/lib/components/Loader/Loader.styles.js +11 -11
- package/lib/components/Loader/Loader.styles.js.map +1 -1
- package/lib/components/Loader/Spinner/Spinner.styles.js +4 -4
- package/lib/components/Loader/Spinner/Spinner.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +2 -2
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js +9 -9
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js +30 -30
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js +12 -12
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -1
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +3 -3
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js +6 -6
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js +8 -8
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +15 -15
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js +11 -11
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js +13 -13
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +23 -23
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js +41 -41
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js +44 -44
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js +23 -23
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js +26 -26
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.styles.js +40 -40
- package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js +6 -6
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -35
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js +15 -15
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +13 -13
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js +7 -7
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js.map +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js +2 -2
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +18 -18
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.styles.js +9 -9
- package/lib/components/Microsites/MicrositeProductPage.styles.js.map +1 -1
- package/lib/components/MobileModal/MobileModal.styles.js +10 -10
- package/lib/components/MobileModal/MobileModal.styles.js.map +1 -1
- package/lib/components/Modal/Modal.styles.js +2 -2
- package/lib/components/Modal/Modal.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/HeaderShadow.js +4 -4
- package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +12 -12
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +32 -32
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +8 -8
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +4 -4
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js +50 -50
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js +4 -4
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js +13 -13
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js +4 -4
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js +3 -3
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js +37 -37
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js +7 -7
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js +4 -4
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +14 -14
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +11 -11
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.styles.js +3 -3
- package/lib/components/QuantityControls/QuantityControls.styles.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.styles.js +10 -10
- package/lib/components/QuantityInput/QuantityInput.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js +7 -7
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +10 -10
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +16 -16
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js +8 -8
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js +8 -8
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js +17 -17
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js +16 -16
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js +4 -4
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js +4 -4
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js +3 -3
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -1
- package/lib/components/Reveal/Reveal.styles.js +4 -4
- package/lib/components/Reveal/Reveal.styles.js.map +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js +5 -5
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +31 -31
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.js +8 -8
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Modal/Modal.styles.js +17 -17
- package/lib/components/Search/Modal/Modal.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js +3 -3
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js +4 -4
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js +11 -11
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js.map +1 -1
- package/lib/components/StaticModal/StaticModal.styles.js +3 -3
- package/lib/components/StaticModal/StaticModal.styles.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.js +2 -2
- package/lib/components/StorybookUtils/StoryButtonColumn.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonRow.js +2 -2
- package/lib/components/StorybookUtils/StoryButtonRow.js.map +1 -1
- package/lib/components/StorybookUtils/StorySection.js +3 -3
- package/lib/components/StorybookUtils/StorySection.js.map +1 -1
- package/lib/components/StorybookUtils/StoryVariants.js +5 -5
- package/lib/components/StorybookUtils/StoryVariants.js.map +1 -1
- package/lib/components/StorybookUtils/StoryWrapper.js +2 -2
- package/lib/components/StorybookUtils/StoryWrapper.js.map +1 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js +2 -2
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
- package/lib/components/Toggle/Toggle.styles.js +4 -4
- package/lib/components/Toggle/Toggle.styles.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.styles.js +3 -3
- package/lib/components/Tooltip/Tooltip.styles.js.map +1 -1
- package/lib/components/UICare/UICare.styles.js +13 -13
- package/lib/components/UICare/UICare.styles.js.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +29 -29
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
- package/lib/constants/mixin.js +3 -3
- package/lib/constants/mixin.js.map +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/ai-lpr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-lpr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-flex.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-lpr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-lpr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-flex.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiLpr.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiLpr.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/efg.js +2 -2
- package/lib/constants/modelCompareData/data/products/efg.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express.js +2 -2
- package/lib/constants/modelCompareData/data/products/express.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express7.js +2 -2
- package/lib/constants/modelCompareData/data/products/express7.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/g2ReaderPro.js +2 -2
- package/lib/constants/modelCompareData/data/products/g2ReaderPro.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderFlex.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderFlex.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKitPro.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKitPro.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.js +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/intercom.js +2 -2
- package/lib/constants/modelCompareData/data/products/intercom.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/theta.js +2 -2
- package/lib/constants/modelCompareData/data/products/theta.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/ucgUltra.js +2 -2
- package/lib/constants/modelCompareData/data/products/ucgUltra.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/udr.js +5 -5
- package/lib/constants/modelCompareData/data/products/udr.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.js +2 -2
- package/lib/constants/modelCompareData/data/products/uispSwitch.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js +2 -2
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explore.js","sources":["../../../src/components/Explore/Explore.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport { useMemo } from \"react\";\nimport { useMedia } from \"react-use\";\nimport { createGlobalStyle } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { getTemplateIconSvg } from \"../../helpers/shopify/iconParsing\";\nimport { useTranslation } from \"../../hooks\";\nimport { CustomImage } from \"../CustomImage\";\nimport type { CustomImageAsset } from \"../CustomImage/CustomImage.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport tooltipIcon from \"./assets/tooltip-info.svg\";\nimport * as S from \"./Explore.styles\";\nimport type { ExploreProductProps } from \"./ExploreData\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\nconst TOOLTIP_CLASS_NAME = \"explore-tool-tip\";\n\nexport const ExploreProduct = ({\n renderImage,\n section,\n showBuyButton,\n storeId,\n flipped,\n}: ExploreProductProps) => {\n const { createSiteUrl } = useMenu();\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.Ca]: () =>\n import(\"./translations/ca.json\").then((res) => res.default),\n [Language.Cs]: () =>\n import(\"./translations/cs.json\").then((res) => res.default),\n [Language.Da]: () =>\n import(\"./translations/da.json\").then((res) => res.default),\n [Language.Nl]: () =>\n import(\"./translations/nl.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ko]: () =>\n import(\"./translations/ko.json\").then((res) => res.default),\n [Language.No]: () =>\n import(\"./translations/no.json\").then((res) => res.default),\n [Language.Pl]: () =>\n import(\"./translations/pl.json\").then((res) => res.default),\n [Language.PtPt]: () =>\n import(\"./translations/pt-PT.json\").then((res) => res.default),\n [Language.EsMx]: () =>\n import(\"./translations/es-MX.json\").then((res) => res.default),\n [Language.Sv]: () =>\n import(\"./translations/sv.json\").then((res) => res.default),\n [Language.Tr]: () =>\n import(\"./translations/tr.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n [Language.PtBr]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Ru]: () =>\n import(\"./translations/ru.json\").then((res) => res.default),\n [Language.EsEs]: () =>\n import(\"./translations/es-ES.json\").then((res) => res.default),\n },\n });\n\n // We set wide to true so that we have layout where at no time we have only 1 item in a row\n const wide = useMemo(() => {\n const features = section.product.featureValues;\n\n switch (features.length) {\n case 1:\n case 2:\n case 3:\n return true;\n case 4:\n return false;\n case 5:\n case 6:\n return true;\n case 7:\n case 8:\n default:\n return false;\n }\n }, [section.product.featureValues]);\n\n const storePath = useMemo(() => {\n if (typeof section.product.storePath === \"function\") {\n return storeId ? section.product.storePath(storeId) : undefined;\n }\n\n return section.product.storePath;\n }, [section.product, storeId]);\n\n const image = useMemo((): CustomImageAsset & { fullWidth?: boolean } => {\n const base = section.product.image;\n\n if (isMobile) {\n return section.product.mobileImage ?? base;\n }\n\n return base;\n }, [isMobile, section.product.image, section.product.mobileImage]);\n\n const button = useMemo(() => {\n if (section.product.isComingSoon) {\n return (\n <S.ComingSoonButtonWrap>\n <S.ComingSoonButton variant=\"comingSoon\">\n {formatMessage(\"commons.comingSoon\")}\n </S.ComingSoonButton>\n {section.product.comingSoonNote && (\n <S.Note>{formatMessage(section.product.comingSoonNote)}</S.Note>\n )}\n </S.ComingSoonButtonWrap>\n );\n }\n\n if (showBuyButton && storePath) {\n return (\n <S.BuyButtonWrap>\n <S.BuyButton\n variant=\"primary\"\n anchor\n href={createSiteUrl([SiteId.Store, storePath])}\n >\n {formatMessage(\"Buy Now\")}\n </S.BuyButton>\n </S.BuyButtonWrap>\n );\n }\n\n return null;\n }, [\n createSiteUrl,\n formatMessage,\n section.product.comingSoonNote,\n section.product.isComingSoon,\n showBuyButton,\n storePath,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.ProductContainer key={section.id} $flipped={flipped}>\n <S.LeftSide $fullWidth={image.fullWidth}>\n <CustomImage\n responsive\n objectFit=\"contain\"\n renderImage={renderImage}\n sizes={`${image.width}px`}\n asset={image}\n />\n {button}\n </S.LeftSide>\n <S.RightSide>\n <S.Heading>{section.product.name}</S.Heading>\n <S.Caption>{formatMessage(section.product.caption)}</S.Caption>\n <S.ViewTechSpecsButton\n size=\"large\"\n variant=\"link\"\n anchor\n href={createSiteUrl([\n SiteId.TechSpecs,\n section.product.techspecsPath,\n ])}\n >\n {formatMessage(\"commons.viewTechSpecs\")}\n </S.ViewTechSpecsButton>\n <S.FeatureGrid>\n {section.product.featureValues.map((feature, i) => {\n const featureIconSvg = getTemplateIconSvg(feature.icon);\n\n return (\n <S.FeatureWrap key={`${feature.icon}-${i}`} $wide={wide}>\n <S.FeatureValue>\n <S.Icon>\n {featureIconSvg && (\n <StyleableSvgImage\n src={featureIconSvg}\n width={30}\n height={30}\n />\n )}\n </S.Icon>\n <S.FeatureSpan $wide={wide}>\n {formatMessage(feature.value)}\n </S.FeatureSpan>\n {feature.tooltip && (\n <S.TooltipWrap>\n <TooltipStyles />\n <Tooltip\n tooltipClassName={TOOLTIP_CLASS_NAME}\n description={\n <S.TooltipContent>\n {formatMessage(feature.tooltip)}\n </S.TooltipContent>\n }\n portal\n motif=\"dark\"\n isInteractive\n position=\"bottom\"\n >\n <S.TooltipIcon\n src={tooltipIcon}\n height={20}\n width={20}\n />\n </Tooltip>\n </S.TooltipWrap>\n )}\n </S.FeatureValue>\n </S.FeatureWrap>\n );\n })}\n {section.product?.disclaimer && (\n <S.ExploreDisclaimer>\n {formatMessage(section.product.disclaimer)}\n </S.ExploreDisclaimer>\n )}\n </S.FeatureGrid>\n </S.RightSide>\n </S.ProductContainer>\n );\n};\n\nconst TooltipStyles = createGlobalStyle`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n text-align: center;\n\n * {\n color: #FAFAFA;\n font-size: 12px;\n line-height: ${16 / 12};\n }\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n }\n }\n`;\n"],"names":["TOOLTIP_CLASS_NAME","ExploreProduct","renderImage","section","showBuyButton","storeId","flipped","createSiteUrl","useMenu","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ar","Promise","then","res","default","Ca","Cs","Da","Nl","Fr","De","El","It","Ja","Ko","No","Pl","PtPt","EsMx","Sv","Tr","Zh","Tw","PtBr","Ru","EsEs","resolve","require","wide","useMemo","features","product","featureValues","length","storePath","image","base","mobileImage","button","isComingSoon","jsxs","S.ComingSoonButtonWrap","children","jsx","S.ComingSoonButton","variant","comingSoonNote","S.Note","Note","S.BuyButtonWrap","S.BuyButton","BuyButton","anchor","href","SiteId","Store","S.ProductContainer","ProductContainer","$flipped","S.LeftSide","LeftSide","$fullWidth","fullWidth","CustomImage","responsive","objectFit","sizes","width","asset","S.RightSide","S.Heading","Heading","name","S.Caption","caption","S.ViewTechSpecsButton","ViewTechSpecsButton","size","TechSpecs","techspecsPath","S.FeatureGrid","map","feature","i","featureIconSvg","getTemplateIconSvg","icon","S.FeatureWrap","$wide","S.FeatureValue","S.Icon","Icon","StyleableSvgImage","src","height","S.FeatureSpan","value","tooltip","S.TooltipWrap","TooltipStyles","Tooltip","tooltipClassName","description","S.TooltipContent","portal","motif","isInteractive","position","S.TooltipIcon","TooltipIcon","tooltipIcon","disclaimer","S.ExploreDisclaimer","ExploreDisclaimer","id","createGlobalStyle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAMA,kBAAqB,GAAA,kBAAA;AAEpB,MAAMC,iBAAiBA,CAAC;EAC7BC,WAAA;EACAC,OAAA;EACAC,aAAA;EACAC,OAAA;EACAC;AACF,CAA2B,KAAA;EACnB,MAAA;IAAEC;EAAc,CAAA,GAAIC,eAAQ,CAAA,CAAA;EAClC,MAAMC,QAAW,GAAAC,QAAA,CAAAA,QAAA,CAASC,kBAAY,CAAAC,eAAA,EAAiB,KAAK,CAAA;EAEtD,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASO,EAAE,GAAG,MACbL;uBAAO,2BAAwB,CAAA;MAAA,CAAA,C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ui-components/Tooltip\";\nimport { useMemo } from \"react\";\nimport { useMedia } from \"react-use\";\nimport { createGlobalStyle } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { getTemplateIconSvg } from \"../../helpers/shopify/iconParsing\";\nimport { useTranslation } from \"../../hooks\";\nimport { CustomImage } from \"../CustomImage\";\nimport type { CustomImageAsset } from \"../CustomImage/CustomImage.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport tooltipIcon from \"./assets/tooltip-info.svg\";\nimport * as S from \"./Explore.styles\";\nimport type { ExploreProductProps } from \"./ExploreData\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\nconst TOOLTIP_CLASS_NAME = \"explore-tool-tip\";\n\nexport const ExploreProduct = ({\n renderImage,\n section,\n showBuyButton,\n storeId,\n flipped,\n}: ExploreProductProps) => {\n const { createSiteUrl } = useMenu();\n const isMobile = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.Ca]: () =>\n import(\"./translations/ca.json\").then((res) => res.default),\n [Language.Cs]: () =>\n import(\"./translations/cs.json\").then((res) => res.default),\n [Language.Da]: () =>\n import(\"./translations/da.json\").then((res) => res.default),\n [Language.Nl]: () =>\n import(\"./translations/nl.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ko]: () =>\n import(\"./translations/ko.json\").then((res) => res.default),\n [Language.No]: () =>\n import(\"./translations/no.json\").then((res) => res.default),\n [Language.Pl]: () =>\n import(\"./translations/pl.json\").then((res) => res.default),\n [Language.PtPt]: () =>\n import(\"./translations/pt-PT.json\").then((res) => res.default),\n [Language.EsMx]: () =>\n import(\"./translations/es-MX.json\").then((res) => res.default),\n [Language.Sv]: () =>\n import(\"./translations/sv.json\").then((res) => res.default),\n [Language.Tr]: () =>\n import(\"./translations/tr.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n [Language.PtBr]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Ru]: () =>\n import(\"./translations/ru.json\").then((res) => res.default),\n [Language.EsEs]: () =>\n import(\"./translations/es-ES.json\").then((res) => res.default),\n },\n });\n\n // We set wide to true so that we have layout where at no time we have only 1 item in a row\n const wide = useMemo(() => {\n const features = section.product.featureValues;\n\n switch (features.length) {\n case 1:\n case 2:\n case 3:\n return true;\n case 4:\n return false;\n case 5:\n case 6:\n return true;\n case 7:\n case 8:\n default:\n return false;\n }\n }, [section.product.featureValues]);\n\n const storePath = useMemo(() => {\n if (typeof section.product.storePath === \"function\") {\n return storeId ? section.product.storePath(storeId) : undefined;\n }\n\n return section.product.storePath;\n }, [section.product, storeId]);\n\n const image = useMemo((): CustomImageAsset & { fullWidth?: boolean } => {\n const base = section.product.image;\n\n if (isMobile) {\n return section.product.mobileImage ?? base;\n }\n\n return base;\n }, [isMobile, section.product.image, section.product.mobileImage]);\n\n const button = useMemo(() => {\n if (section.product.isComingSoon) {\n return (\n <S.ComingSoonButtonWrap>\n <S.ComingSoonButton variant=\"comingSoon\">\n {formatMessage(\"commons.comingSoon\")}\n </S.ComingSoonButton>\n {section.product.comingSoonNote && (\n <S.Note>{formatMessage(section.product.comingSoonNote)}</S.Note>\n )}\n </S.ComingSoonButtonWrap>\n );\n }\n\n if (showBuyButton && storePath) {\n return (\n <S.BuyButtonWrap>\n <S.BuyButton\n variant=\"primary\"\n anchor\n href={createSiteUrl([SiteId.Store, storePath])}\n >\n {formatMessage(\"Buy Now\")}\n </S.BuyButton>\n </S.BuyButtonWrap>\n );\n }\n\n return null;\n }, [\n createSiteUrl,\n formatMessage,\n section.product.comingSoonNote,\n section.product.isComingSoon,\n showBuyButton,\n storePath,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.ProductContainer key={section.id} $flipped={flipped}>\n <S.LeftSide $fullWidth={image.fullWidth}>\n <CustomImage\n responsive\n objectFit=\"contain\"\n renderImage={renderImage}\n sizes={`${image.width}px`}\n asset={image}\n />\n {button}\n </S.LeftSide>\n <S.RightSide>\n <S.Heading>{section.product.name}</S.Heading>\n <S.Caption>{formatMessage(section.product.caption)}</S.Caption>\n <S.ViewTechSpecsButton\n size=\"large\"\n variant=\"link\"\n anchor\n href={createSiteUrl([\n SiteId.TechSpecs,\n section.product.techspecsPath,\n ])}\n >\n {formatMessage(\"commons.viewTechSpecs\")}\n </S.ViewTechSpecsButton>\n <S.FeatureGrid>\n {section.product.featureValues.map((feature, i) => {\n const featureIconSvg = getTemplateIconSvg(feature.icon);\n\n return (\n <S.FeatureWrap key={`${feature.icon}-${i}`} $wide={wide}>\n <S.FeatureValue>\n <S.Icon>\n {featureIconSvg && (\n <StyleableSvgImage\n src={featureIconSvg}\n width={30}\n height={30}\n />\n )}\n </S.Icon>\n <S.FeatureSpan $wide={wide}>\n {formatMessage(feature.value)}\n </S.FeatureSpan>\n {feature.tooltip && (\n <S.TooltipWrap>\n <TooltipStyles />\n <Tooltip\n tooltipClassName={TOOLTIP_CLASS_NAME}\n description={\n <S.TooltipContent>\n {formatMessage(feature.tooltip)}\n </S.TooltipContent>\n }\n portal\n motif=\"dark\"\n isInteractive\n position=\"bottom\"\n >\n <S.TooltipIcon\n src={tooltipIcon}\n height={20}\n width={20}\n />\n </Tooltip>\n </S.TooltipWrap>\n )}\n </S.FeatureValue>\n </S.FeatureWrap>\n );\n })}\n {section.product?.disclaimer && (\n <S.ExploreDisclaimer>\n {formatMessage(section.product.disclaimer)}\n </S.ExploreDisclaimer>\n )}\n </S.FeatureGrid>\n </S.RightSide>\n </S.ProductContainer>\n );\n};\n\nconst TooltipStyles = createGlobalStyle`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n text-align: center;\n\n * {\n color: #FAFAFA;\n font-size: 12px;\n line-height: ${16 / 12};\n }\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n }\n }\n`;\n"],"names":["TOOLTIP_CLASS_NAME","ExploreProduct","renderImage","section","showBuyButton","storeId","flipped","createSiteUrl","useMenu","isMobile","useMedia","BREAKPOINTS","TABLET_AND_DOWN","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ar","Promise","then","res","default","Ca","Cs","Da","Nl","Fr","De","El","It","Ja","Ko","No","Pl","PtPt","EsMx","Sv","Tr","Zh","Tw","PtBr","Ru","EsEs","resolve","require","wide","useMemo","features","product","featureValues","length","storePath","image","base","mobileImage","button","isComingSoon","jsxs","S.ComingSoonButtonWrap","children","jsx","S.ComingSoonButton","variant","comingSoonNote","S.Note","Note","S.BuyButtonWrap","S.BuyButton","BuyButton","anchor","href","SiteId","Store","S.ProductContainer","ProductContainer","$flipped","S.LeftSide","LeftSide","$fullWidth","fullWidth","CustomImage","responsive","objectFit","sizes","width","asset","S.RightSide","S.Heading","Heading","name","S.Caption","caption","S.ViewTechSpecsButton","ViewTechSpecsButton","size","TechSpecs","techspecsPath","S.FeatureGrid","map","feature","i","featureIconSvg","getTemplateIconSvg","icon","S.FeatureWrap","$wide","S.FeatureValue","S.Icon","Icon","StyleableSvgImage","src","height","S.FeatureSpan","value","tooltip","S.TooltipWrap","TooltipStyles","Tooltip","tooltipClassName","description","S.TooltipContent","portal","motif","isInteractive","position","S.TooltipIcon","TooltipIcon","tooltipIcon","disclaimer","S.ExploreDisclaimer","ExploreDisclaimer","id","createGlobalStyle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAMA,kBAAqB,GAAA,kBAAA;AAEpB,MAAMC,iBAAiBA,CAAC;EAC7BC,WAAA;EACAC,OAAA;EACAC,aAAA;EACAC,OAAA;EACAC;AACF,CAA2B,KAAA;EACnB,MAAA;IAAEC;EAAc,CAAA,GAAIC,eAAQ,CAAA,CAAA;EAClC,MAAMC,QAAW,GAAAC,QAAA,CAAAA,QAAA,CAASC,kBAAY,CAAAC,eAAA,EAAiB,KAAK,CAAA;EAEtD,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASO,EAAE,GAAG,MACbL;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASQ,EAAE,GAAG,MACbN;uBAAO,2BAAwB,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAC5D,CAACL,SAAA,CAAAA,QAAA,CAASS,EAAE,GAAG,MACbP;uBAAO,2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aAAa,EAAA,IAAA;kBACbC,QAAS,EAAA,QAAA;kBAETjE,QAAA,iBAAAC,UAAA,CAAAA,GAAA,CAACiE,cAAE,CAAAC,WAAA,EAAF;oBACChB,GAAK,EAAAiB,oBAAA,CAAA,SAAA,CAAA;oBACLhB,MAAQ,EAAA,EAAA;oBACR3B,KAAO,EAAA;kBAAA,CAAA;gBACT,CAAA,CAAA;cAEJ,CAAA,CAAA;YAEJ,CAAA;aArCkB,GAAGe,OAAA,CAAQI,IAAI,IAAIH,CAAC,EAsCxC,CAAA;QAAA,CAEH,CAAA,EACAnG,OAAA,CAAQ+C,OAAS,EAAAgF,UAAA,IACfpE,eAAAA,UAAAA,CAAAA,GAAA,CAAAqE,cAAA,CAAAC,iBAAA,EAAA;UACEvE,QAAc,EAAAhD,aAAA,CAAAV,OAAA,CAAQ+C,OAAQ,CAAAgF,UAAU;QAC3C,CAAA,CAAA;MAEJ,CAAA,CAAA;IACF,CAAA,CAAA;EAAA,CAAA,EA7EuB/H,QAAQkI,EA8EjC,CAAA;AAEJ,CAAA;AAEA,MAAMf,aAAgB,GAAAgB,gBAAA,CAAAA,iBAAA;AAAA,KACjBtI,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,qBAWF,KAAK,EAAE;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var styledComponents = require('styled-components');
|
|
4
4
|
var layout = require('../../constants/layout.js');
|
|
5
5
|
var theme = require('../../constants/theme.js');
|
|
6
6
|
require('../Badge/index.js');
|
|
@@ -10,14 +10,14 @@ var Badge$1 = require('../Badge/Badge.js');
|
|
|
10
10
|
var Button = require('../Button/Button.js');
|
|
11
11
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
12
12
|
"use strict";
|
|
13
|
-
const ProductContainer =
|
|
13
|
+
const ProductContainer = styledComponents.styled.div`
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
gap: 40px;
|
|
17
17
|
|
|
18
18
|
${({
|
|
19
19
|
$flipped
|
|
20
|
-
}) => $flipped &&
|
|
20
|
+
}) => $flipped && styledComponents.css`
|
|
21
21
|
flex-direction: row-reverse;
|
|
22
22
|
`}
|
|
23
23
|
|
|
@@ -25,7 +25,7 @@ const ProductContainer = styled.styled.div`
|
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
}
|
|
27
27
|
`;
|
|
28
|
-
const LeftSide =
|
|
28
|
+
const LeftSide = styledComponents.styled.div`
|
|
29
29
|
display: flex;
|
|
30
30
|
width: 50%;
|
|
31
31
|
max-width: 520px;
|
|
@@ -36,7 +36,7 @@ const LeftSide = styled.styled.div`
|
|
|
36
36
|
|
|
37
37
|
${({
|
|
38
38
|
$fullWidth
|
|
39
|
-
}) => $fullWidth &&
|
|
39
|
+
}) => $fullWidth && styledComponents.css`
|
|
40
40
|
width: 100%;
|
|
41
41
|
max-width: none;
|
|
42
42
|
`}
|
|
@@ -45,7 +45,7 @@ const LeftSide = styled.styled.div`
|
|
|
45
45
|
width: 70%;
|
|
46
46
|
}
|
|
47
47
|
`;
|
|
48
|
-
const RightSide =
|
|
48
|
+
const RightSide = styledComponents.styled.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
flex-direction: column;
|
|
51
51
|
text-align: center;
|
|
@@ -54,7 +54,7 @@ const RightSide = styled.styled.div`
|
|
|
54
54
|
min-width: 0;
|
|
55
55
|
max-width: 100%;
|
|
56
56
|
`;
|
|
57
|
-
const Heading =
|
|
57
|
+
const Heading = styledComponents.styled.h2`
|
|
58
58
|
color: #6b6d76;
|
|
59
59
|
font-size: 26px;
|
|
60
60
|
line-height: 30px;
|
|
@@ -71,7 +71,7 @@ const Heading = styled.styled.h2`
|
|
|
71
71
|
font-size: 22px;
|
|
72
72
|
}
|
|
73
73
|
`;
|
|
74
|
-
const Caption =
|
|
74
|
+
const Caption = styledComponents.styled.p`
|
|
75
75
|
color: #50565e;
|
|
76
76
|
font-size: 16px;
|
|
77
77
|
line-height: 17px;
|
|
@@ -83,23 +83,23 @@ const Caption = styled.styled.p`
|
|
|
83
83
|
|
|
84
84
|
text-wrap: balance;
|
|
85
85
|
`;
|
|
86
|
-
const Badge =
|
|
86
|
+
const Badge = styledComponents.styled(Badge$1.Badge)`
|
|
87
87
|
margin-top: 12px;
|
|
88
88
|
`;
|
|
89
|
-
const FeatureWrap =
|
|
89
|
+
const FeatureWrap = styledComponents.styled.div`
|
|
90
90
|
${({
|
|
91
91
|
$wide
|
|
92
|
-
}) =>
|
|
92
|
+
}) => styledComponents.css`
|
|
93
93
|
width: ${$wide ? "170px" : "130px"};
|
|
94
94
|
`}
|
|
95
95
|
`;
|
|
96
|
-
const FeatureGrid =
|
|
96
|
+
const FeatureGrid = styledComponents.styled.div`
|
|
97
97
|
display: flex;
|
|
98
98
|
gap: 32px 20px;
|
|
99
99
|
flex-wrap: wrap;
|
|
100
100
|
justify-content: center;
|
|
101
101
|
`;
|
|
102
|
-
const FeatureValue =
|
|
102
|
+
const FeatureValue = styledComponents.styled.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-flow: column wrap;
|
|
105
105
|
align-items: center;
|
|
@@ -110,17 +110,17 @@ const FeatureValue = styled.styled.div`
|
|
|
110
110
|
white-space: pre;
|
|
111
111
|
line-height: 20px;
|
|
112
112
|
`;
|
|
113
|
-
const FeatureSpan =
|
|
113
|
+
const FeatureSpan = styledComponents.styled.div`
|
|
114
114
|
white-space: pre-wrap;
|
|
115
115
|
text-wrap: balance;
|
|
116
116
|
|
|
117
117
|
${({
|
|
118
118
|
$wide
|
|
119
|
-
}) =>
|
|
119
|
+
}) => styledComponents.css`
|
|
120
120
|
width: ${$wide ? "170px" : "130px"};
|
|
121
121
|
`}
|
|
122
122
|
`;
|
|
123
|
-
const Icon =
|
|
123
|
+
const Icon = styledComponents.styled.div`
|
|
124
124
|
color: #212124;
|
|
125
125
|
width: 30px;
|
|
126
126
|
height: 30px;
|
|
@@ -131,7 +131,7 @@ const Icon = styled.styled.div`
|
|
|
131
131
|
|
|
132
132
|
margin-bottom: 3px;
|
|
133
133
|
`;
|
|
134
|
-
const ViewTechSpecsButton =
|
|
134
|
+
const ViewTechSpecsButton = styledComponents.styled(Button.Button)`
|
|
135
135
|
display: block;
|
|
136
136
|
max-width: max-content;
|
|
137
137
|
margin-top: 16px;
|
|
@@ -145,10 +145,10 @@ const ViewTechSpecsButton = styled.styled(Button.Button)`
|
|
|
145
145
|
text-decoration: none;
|
|
146
146
|
}
|
|
147
147
|
`;
|
|
148
|
-
const TooltipWrap =
|
|
148
|
+
const TooltipWrap = styledComponents.styled.div`
|
|
149
149
|
margin-top: 3px;
|
|
150
150
|
`;
|
|
151
|
-
const TooltipContent =
|
|
151
|
+
const TooltipContent = styledComponents.styled.div`
|
|
152
152
|
color: #fafafa;
|
|
153
153
|
font-size: 12px;
|
|
154
154
|
max-width: 280px;
|
|
@@ -157,11 +157,11 @@ const TooltipContent = styled.styled.div`
|
|
|
157
157
|
color: ${theme.theme.colors.primaryBlue};
|
|
158
158
|
}
|
|
159
159
|
`;
|
|
160
|
-
const TooltipIcon =
|
|
160
|
+
const TooltipIcon = styledComponents.styled(StyleableSvgImage.StyleableSvgImage)`
|
|
161
161
|
color: ${theme.theme.colors.primaryBlue};
|
|
162
162
|
width: 20px;
|
|
163
163
|
`;
|
|
164
|
-
const BuyButtonWrap =
|
|
164
|
+
const BuyButtonWrap = styledComponents.styled.div`
|
|
165
165
|
position: absolute;
|
|
166
166
|
right: 0;
|
|
167
167
|
left: 0;
|
|
@@ -176,7 +176,7 @@ const BuyButtonWrap = styled.styled.div`
|
|
|
176
176
|
margin-top: 24px;
|
|
177
177
|
}
|
|
178
178
|
`;
|
|
179
|
-
const BuyButton =
|
|
179
|
+
const BuyButton = styledComponents.styled(Button.Button)`
|
|
180
180
|
margin: 0 auto;
|
|
181
181
|
|
|
182
182
|
font-weight: ${theme.theme.fontWeight.bold};
|
|
@@ -189,22 +189,22 @@ const BuyButton = styled.styled(Button.Button)`
|
|
|
189
189
|
color: ${theme.theme.colors.white};
|
|
190
190
|
}
|
|
191
191
|
`;
|
|
192
|
-
const ExploreDisclaimer =
|
|
192
|
+
const ExploreDisclaimer = styledComponents.styled.div`
|
|
193
193
|
color: rgb(0 0 0 / 0.45);
|
|
194
194
|
letter-spacing: -0.2px;
|
|
195
195
|
font-size: 10px;
|
|
196
196
|
line-height: 16.8px;
|
|
197
197
|
`;
|
|
198
|
-
const ComingSoonButtonWrap =
|
|
198
|
+
const ComingSoonButtonWrap = styledComponents.styled(BuyButtonWrap)`
|
|
199
199
|
bottom: -40px;
|
|
200
200
|
`;
|
|
201
|
-
const ComingSoonButton =
|
|
201
|
+
const ComingSoonButton = styledComponents.styled(BuyButton)`
|
|
202
202
|
&:focus,
|
|
203
203
|
&:hover {
|
|
204
204
|
color: #445178;
|
|
205
205
|
}
|
|
206
206
|
`;
|
|
207
|
-
const Note =
|
|
207
|
+
const Note = styledComponents.styled.p`
|
|
208
208
|
font-size: 10px;
|
|
209
209
|
font-weight: 400;
|
|
210
210
|
line-height: 16.8px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explore.styles.js","sources":["../../../src/components/Explore/Explore.styles.ts"],"sourcesContent":["import { css, styled } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\n\nexport const ProductContainer = styled.div<{ $flipped?: boolean }>`\n display: flex;\n align-items: center;\n gap: 40px;\n\n ${({ $flipped }) =>\n $flipped &&\n css`\n flex-direction: row-reverse;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-direction: column;\n }\n`;\n\nexport const LeftSide = styled.div<{ $fullWidth?: boolean }>`\n display: flex;\n width: 50%;\n max-width: 520px;\n flex: 1 1 0px;\n min-width: 0;\n flex-direction: column;\n position: relative;\n\n ${({ $fullWidth }) =>\n $fullWidth &&\n css`\n width: 100%;\n max-width: none;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n width: 70%;\n }\n`;\n\nexport const RightSide = styled.div`\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n flex: 1 1 0px;\n min-width: 0;\n max-width: 100%;\n`;\n\nexport const Heading = styled.h2`\n color: #6b6d76;\n font-size: 26px;\n line-height: 30px;\n font-weight: 700;\n\n padding-top: 60px;\n margin: 0;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding-top: 0;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 22px;\n }\n`;\n\nexport const Caption = styled.p`\n color: #50565e;\n font-size: 16px;\n line-height: 17px;\n font-weight: 400;\n padding: 0 16px;\n\n margin: 16px 0 0;\n max-width: 540px;\n\n text-wrap: balance;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 12px;\n`;\n\nexport const FeatureWrap = styled.div<{ $wide?: boolean }>`\n ${({ $wide }) => css`\n width: ${$wide ? \"170px\" : \"130px\"};\n `}\n`;\n\nexport const FeatureGrid = styled.div`\n display: flex;\n gap: 32px 20px;\n flex-wrap: wrap;\n justify-content: center;\n`;\n\nexport const FeatureValue = styled.div`\n display: flex;\n flex-flow: column wrap;\n align-items: center;\n color: rgb(0 0 0 / 0.65);\n font-size: 14px;\n font-weight: 400;\n text-align: center;\n white-space: pre;\n line-height: 20px;\n`;\n/*white-space: pre; break lines hack using \\n https://dev.to/hardiquedasore/how-to-use-a-line-break-in-json-2acc#:~:text=As%20we%20can't%20add,code%20in%20the%20HTML%20file. */\n\nexport const FeatureSpan = styled.div<{ $wide?: boolean }>`\n white-space: pre-wrap;\n text-wrap: balance;\n\n ${({ $wide }) => css`\n width: ${$wide ? \"170px\" : \"130px\"};\n `}\n`;\n\nexport const Icon = styled.div`\n color: #212124;\n width: 30px;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n align-self: center;\n\n margin-bottom: 3px;\n`;\n\nexport const ViewTechSpecsButton = styled(ButtonBase)`\n display: block;\n max-width: max-content;\n margin-top: 16px;\n margin-bottom: 43px;\n font-size: 14px;\n\n font-weight: ${theme.fontWeight.regular};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n`;\n\nexport const TooltipWrap = styled.div`\n margin-top: 3px;\n`;\n\nexport const TooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n max-width: 280px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n width: 20px;\n`;\n\nexport const BuyButtonWrap = styled.div`\n position: absolute;\n right: 0;\n left: 0;\n bottom: -20px;\n z-index: 10;\n display: flex;\n flex-direction: column;\n gap: 11px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n position: static;\n margin-top: 24px;\n }\n`;\n\nexport const BuyButton = styled(ButtonBase)`\n margin: 0 auto;\n\n font-weight: ${theme.fontWeight.bold};\n line-height: 20px;\n padding: 10px 15px;\n\n &:focus,\n &:hover {\n text-decoration: none;\n color: ${theme.colors.white};\n }\n`;\n\nexport const ExploreDisclaimer = styled.div`\n color: rgb(0 0 0 / 0.45);\n letter-spacing: -0.2px;\n font-size: 10px;\n line-height: 16.8px;\n`;\n\nexport const ComingSoonButtonWrap = styled(BuyButtonWrap)`\n bottom: -40px;\n`;\n\nexport const ComingSoonButton = styled(BuyButton)`\n &:focus,\n &:hover {\n color: #445178;\n }\n`;\n\nexport const Note = styled.p`\n font-size: 10px;\n font-weight: 400;\n line-height: 16.8px;\n text-align: center;\n color: ${theme.colors.black45};\n margin: 0;\n`;\n"],"names":["ProductContainer","styled","div","$flipped","css","BREAKPOINTS","TABLET_AND_DOWN","LeftSide","$fullWidth","RightSide","Heading","h2","MOBILE_AND_DOWN","Caption","p","Badge","BadgeBase","FeatureWrap","$wide","FeatureGrid","FeatureValue","FeatureSpan","Icon","ViewTechSpecsButton","ButtonBase","theme","fontWeight","regular","TooltipWrap","TooltipContent","colors","primaryBlue","TooltipIcon","StyleableSvgImage","BuyButtonWrap","BuyButton","bold","white","ExploreDisclaimer","ComingSoonButtonWrap","ComingSoonButton","Note","black45"],"mappings":";;;;;;;;;;;;AAQO,MAAMA,mBAAmBC,
|
|
1
|
+
{"version":3,"file":"Explore.styles.js","sources":["../../../src/components/Explore/Explore.styles.ts"],"sourcesContent":["import { css, styled } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\n\nexport const ProductContainer = styled.div<{ $flipped?: boolean }>`\n display: flex;\n align-items: center;\n gap: 40px;\n\n ${({ $flipped }) =>\n $flipped &&\n css`\n flex-direction: row-reverse;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-direction: column;\n }\n`;\n\nexport const LeftSide = styled.div<{ $fullWidth?: boolean }>`\n display: flex;\n width: 50%;\n max-width: 520px;\n flex: 1 1 0px;\n min-width: 0;\n flex-direction: column;\n position: relative;\n\n ${({ $fullWidth }) =>\n $fullWidth &&\n css`\n width: 100%;\n max-width: none;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n width: 70%;\n }\n`;\n\nexport const RightSide = styled.div`\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n flex: 1 1 0px;\n min-width: 0;\n max-width: 100%;\n`;\n\nexport const Heading = styled.h2`\n color: #6b6d76;\n font-size: 26px;\n line-height: 30px;\n font-weight: 700;\n\n padding-top: 60px;\n margin: 0;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n padding-top: 0;\n }\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 22px;\n }\n`;\n\nexport const Caption = styled.p`\n color: #50565e;\n font-size: 16px;\n line-height: 17px;\n font-weight: 400;\n padding: 0 16px;\n\n margin: 16px 0 0;\n max-width: 540px;\n\n text-wrap: balance;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 12px;\n`;\n\nexport const FeatureWrap = styled.div<{ $wide?: boolean }>`\n ${({ $wide }) => css`\n width: ${$wide ? \"170px\" : \"130px\"};\n `}\n`;\n\nexport const FeatureGrid = styled.div`\n display: flex;\n gap: 32px 20px;\n flex-wrap: wrap;\n justify-content: center;\n`;\n\nexport const FeatureValue = styled.div`\n display: flex;\n flex-flow: column wrap;\n align-items: center;\n color: rgb(0 0 0 / 0.65);\n font-size: 14px;\n font-weight: 400;\n text-align: center;\n white-space: pre;\n line-height: 20px;\n`;\n/*white-space: pre; break lines hack using \\n https://dev.to/hardiquedasore/how-to-use-a-line-break-in-json-2acc#:~:text=As%20we%20can't%20add,code%20in%20the%20HTML%20file. */\n\nexport const FeatureSpan = styled.div<{ $wide?: boolean }>`\n white-space: pre-wrap;\n text-wrap: balance;\n\n ${({ $wide }) => css`\n width: ${$wide ? \"170px\" : \"130px\"};\n `}\n`;\n\nexport const Icon = styled.div`\n color: #212124;\n width: 30px;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n align-self: center;\n\n margin-bottom: 3px;\n`;\n\nexport const ViewTechSpecsButton = styled(ButtonBase)`\n display: block;\n max-width: max-content;\n margin-top: 16px;\n margin-bottom: 43px;\n font-size: 14px;\n\n font-weight: ${theme.fontWeight.regular};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n`;\n\nexport const TooltipWrap = styled.div`\n margin-top: 3px;\n`;\n\nexport const TooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n max-width: 280px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n width: 20px;\n`;\n\nexport const BuyButtonWrap = styled.div`\n position: absolute;\n right: 0;\n left: 0;\n bottom: -20px;\n z-index: 10;\n display: flex;\n flex-direction: column;\n gap: 11px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n position: static;\n margin-top: 24px;\n }\n`;\n\nexport const BuyButton = styled(ButtonBase)`\n margin: 0 auto;\n\n font-weight: ${theme.fontWeight.bold};\n line-height: 20px;\n padding: 10px 15px;\n\n &:focus,\n &:hover {\n text-decoration: none;\n color: ${theme.colors.white};\n }\n`;\n\nexport const ExploreDisclaimer = styled.div`\n color: rgb(0 0 0 / 0.45);\n letter-spacing: -0.2px;\n font-size: 10px;\n line-height: 16.8px;\n`;\n\nexport const ComingSoonButtonWrap = styled(BuyButtonWrap)`\n bottom: -40px;\n`;\n\nexport const ComingSoonButton = styled(BuyButton)`\n &:focus,\n &:hover {\n color: #445178;\n }\n`;\n\nexport const Note = styled.p`\n font-size: 10px;\n font-weight: 400;\n line-height: 16.8px;\n text-align: center;\n color: ${theme.colors.black45};\n margin: 0;\n`;\n"],"names":["ProductContainer","styled","div","$flipped","css","BREAKPOINTS","TABLET_AND_DOWN","LeftSide","$fullWidth","RightSide","Heading","h2","MOBILE_AND_DOWN","Caption","p","Badge","BadgeBase","FeatureWrap","$wide","FeatureGrid","FeatureValue","FeatureSpan","Icon","ViewTechSpecsButton","ButtonBase","theme","fontWeight","regular","TooltipWrap","TooltipContent","colors","primaryBlue","TooltipIcon","StyleableSvgImage","BuyButtonWrap","BuyButton","bold","white","ExploreDisclaimer","ComingSoonButtonWrap","ComingSoonButton","Note","black45"],"mappings":";;;;;;;;;;;;AAQO,MAAMA,mBAAmBC,gBAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA,IAKnC,CAAC;EAAEC;CAAS,KACZA,QACA,IAAAC,gBAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;;AAAA,WAEMC,M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A;AAIxB,MAAMC,oBAAoBrC,gBAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAO3B,MAAAqC,oBAAA,GAAuBtC,wBAAOiC,aAAa,CAAA;AAAA;AAAA,CAAA;AAI3C,MAAAM,gBAAA,GAAmBvC,wBAAOkC,SAAS,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOzC,MAAMM,OAAOxC,gBAAO,CAAAA,MAAA,CAAAa,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKhBW,KAAA,CAAAA,KAAA,CAAMK,OAAOY,OAAO;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var styledComponents = require('styled-components');
|
|
4
4
|
var layout = require('../../constants/layout.js');
|
|
5
5
|
var theme = require('../../constants/theme.js');
|
|
6
6
|
require('../Button/index.js');
|
|
7
7
|
var Footer_types = require('./Footer.types.js');
|
|
8
8
|
var Button = require('../Button/Button.js');
|
|
9
9
|
"use strict";
|
|
10
|
-
const AnchorGroup =
|
|
10
|
+
const AnchorGroup = styledComponents.styled.div`
|
|
11
11
|
line-height: 20px;
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-wrap: nowrap;
|
|
14
14
|
`;
|
|
15
|
-
const Anchor =
|
|
15
|
+
const Anchor = styledComponents.styled.a`
|
|
16
16
|
text-decoration: none;
|
|
17
17
|
font-size: 12px;
|
|
18
18
|
color: rgb(0 0 0 / 0.65);
|
|
@@ -28,7 +28,7 @@ const Anchor = styled.styled.a`
|
|
|
28
28
|
text-decoration: none;
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
31
|
-
const CookieBtn =
|
|
31
|
+
const CookieBtn = styledComponents.styled.button`
|
|
32
32
|
padding: 0 !important;
|
|
33
33
|
background: none !important;
|
|
34
34
|
border: none !important;
|
|
@@ -41,11 +41,11 @@ const CookieBtn = styled.styled.button`
|
|
|
41
41
|
color: ${theme.theme.colors.primaryBlue} !important;
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
|
-
const AnchorDivider =
|
|
44
|
+
const AnchorDivider = styledComponents.styled.span`
|
|
45
45
|
margin: 0 8px;
|
|
46
46
|
color: rgb(0 0 0 / 0.2);
|
|
47
47
|
`;
|
|
48
|
-
const Break =
|
|
48
|
+
const Break = styledComponents.styled.div`
|
|
49
49
|
border-top: ${({
|
|
50
50
|
$motif
|
|
51
51
|
}) => `1px solid ${$motif === "dark" ? "#cecece33" : "#dbdce1"}`};
|
|
@@ -54,23 +54,23 @@ const Break = styled.styled.div`
|
|
|
54
54
|
display: none;
|
|
55
55
|
}
|
|
56
56
|
`;
|
|
57
|
-
const Copyright =
|
|
57
|
+
const Copyright = styledComponents.styled.span`
|
|
58
58
|
font-size: 12px;
|
|
59
59
|
color: rgb(0 0 0 / 0.45);
|
|
60
60
|
line-height: 20px;
|
|
61
61
|
`;
|
|
62
|
-
const Form =
|
|
62
|
+
const Form = styledComponents.styled.form`
|
|
63
63
|
width: 100%;
|
|
64
64
|
max-width: 340px;
|
|
65
65
|
`;
|
|
66
|
-
const Header =
|
|
66
|
+
const Header = styledComponents.styled.h1`
|
|
67
67
|
color: rgb(0 0 0 / 0.65);
|
|
68
68
|
font-size: 14px;
|
|
69
69
|
line-height: 24px;
|
|
70
70
|
font-weight: bold;
|
|
71
71
|
margin: 0;
|
|
72
72
|
`;
|
|
73
|
-
const IconsWrapper =
|
|
73
|
+
const IconsWrapper = styledComponents.styled.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
column-gap: 24px;
|
|
76
76
|
margin-top: 30px;
|
|
@@ -83,7 +83,7 @@ const IconsWrapper = styled.styled.div`
|
|
|
83
83
|
margin-left: unset;
|
|
84
84
|
}
|
|
85
85
|
`;
|
|
86
|
-
const IconWrapper =
|
|
86
|
+
const IconWrapper = styledComponents.styled.a`
|
|
87
87
|
width: 20px;
|
|
88
88
|
height: 20px;
|
|
89
89
|
display: flex;
|
|
@@ -103,7 +103,7 @@ const IconWrapper = styled.styled.a`
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
`;
|
|
106
|
-
const InnerWrap =
|
|
106
|
+
const InnerWrap = styledComponents.styled.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex-direction: column;
|
|
109
109
|
width: 25%;
|
|
@@ -124,7 +124,7 @@ const InnerWrap = styled.styled.div`
|
|
|
124
124
|
align-items: center;
|
|
125
125
|
}
|
|
126
126
|
`;
|
|
127
|
-
const Input =
|
|
127
|
+
const Input = styledComponents.styled.input`
|
|
128
128
|
border: 1px solid #dbdce1;
|
|
129
129
|
margin: 0;
|
|
130
130
|
width: 100%;
|
|
@@ -149,26 +149,26 @@ const Input = styled.styled.input`
|
|
|
149
149
|
|
|
150
150
|
${({
|
|
151
151
|
$error
|
|
152
|
-
}) => $error &&
|
|
152
|
+
}) => $error && styledComponents.css`
|
|
153
153
|
border-color: ${theme.theme.colors.pomegranate};
|
|
154
154
|
`}
|
|
155
155
|
`;
|
|
156
|
-
const InputWrap =
|
|
156
|
+
const InputWrap = styledComponents.styled.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
width: 100%;
|
|
159
159
|
margin-top: 4px;
|
|
160
160
|
`;
|
|
161
|
-
const List =
|
|
161
|
+
const List = styledComponents.styled.ul`
|
|
162
162
|
list-style: none outside;
|
|
163
163
|
padding-left: 0;
|
|
164
164
|
margin: 8px 0 0;
|
|
165
165
|
`;
|
|
166
|
-
const ListItem =
|
|
166
|
+
const ListItem = styledComponents.styled.li`
|
|
167
167
|
margin-top: 4px;
|
|
168
168
|
line-height: 24px;
|
|
169
169
|
font-size: 14px;
|
|
170
170
|
`;
|
|
171
|
-
const ListItemAnchor =
|
|
171
|
+
const ListItemAnchor = styledComponents.styled.a`
|
|
172
172
|
color: rgb(0 0 0 / 0.45);
|
|
173
173
|
font-weight: normal;
|
|
174
174
|
cursor: pointer;
|
|
@@ -183,18 +183,18 @@ const ListItemAnchor = styled.styled.a`
|
|
|
183
183
|
text-decoration: none;
|
|
184
184
|
}
|
|
185
185
|
`;
|
|
186
|
-
const ListItemWrap =
|
|
186
|
+
const ListItemWrap = styledComponents.styled.div`
|
|
187
187
|
margin-right: auto;
|
|
188
188
|
|
|
189
189
|
@media ${layout.BREAKPOINTS.TABLET_AND_DOWN} {
|
|
190
190
|
display: none;
|
|
191
191
|
}
|
|
192
192
|
`;
|
|
193
|
-
const ListsWrap =
|
|
193
|
+
const ListsWrap = styledComponents.styled.div`
|
|
194
194
|
display: flex;
|
|
195
195
|
flex-grow: 1;
|
|
196
196
|
`;
|
|
197
|
-
const FlexWrap =
|
|
197
|
+
const FlexWrap = styledComponents.styled.div`
|
|
198
198
|
display: flex;
|
|
199
199
|
flex-wrap: wrap;
|
|
200
200
|
align-items: center;
|
|
@@ -204,14 +204,14 @@ const FlexWrap = styled.styled.div`
|
|
|
204
204
|
justify-content: center;
|
|
205
205
|
}
|
|
206
206
|
`;
|
|
207
|
-
const FlexWrapResponsive =
|
|
207
|
+
const FlexWrapResponsive = styledComponents.styled(FlexWrap)`
|
|
208
208
|
@media ${layout.BREAKPOINTS.DESKTOP_AND_DOWN} {
|
|
209
209
|
gap: 16px;
|
|
210
210
|
flex-direction: column;
|
|
211
211
|
justify-content: center;
|
|
212
212
|
}
|
|
213
213
|
`;
|
|
214
|
-
const TermsWrap =
|
|
214
|
+
const TermsWrap = styledComponents.styled(FlexWrapResponsive)`
|
|
215
215
|
justify-content: space-between;
|
|
216
216
|
gap: 16px;
|
|
217
217
|
|
|
@@ -219,7 +219,7 @@ const TermsWrap = styled.styled(FlexWrapResponsive)`
|
|
|
219
219
|
gap: 24px;
|
|
220
220
|
}
|
|
221
221
|
`;
|
|
222
|
-
const Wrap =
|
|
222
|
+
const Wrap = styledComponents.styled.div`
|
|
223
223
|
display: flex;
|
|
224
224
|
margin: 16px 0;
|
|
225
225
|
|
|
@@ -227,7 +227,7 @@ const Wrap = styled.styled.div`
|
|
|
227
227
|
flex-direction: column;
|
|
228
228
|
}
|
|
229
229
|
`;
|
|
230
|
-
const ContainerWrap =
|
|
230
|
+
const ContainerWrap = styledComponents.styled.footer`
|
|
231
231
|
background: #f6f6f8;
|
|
232
232
|
box-sizing: border-box;
|
|
233
233
|
width: 100%;
|
|
@@ -238,7 +238,7 @@ const ContainerWrap = styled.styled.footer`
|
|
|
238
238
|
/* dark styling */
|
|
239
239
|
${({
|
|
240
240
|
$motif
|
|
241
|
-
}) => $motif === "dark" &&
|
|
241
|
+
}) => $motif === "dark" && styledComponents.css`
|
|
242
242
|
background-color: #070b0f;
|
|
243
243
|
|
|
244
244
|
h1,
|
|
@@ -273,14 +273,14 @@ const ContainerWrap = styled.styled.footer`
|
|
|
273
273
|
}
|
|
274
274
|
`}
|
|
275
275
|
`;
|
|
276
|
-
const Container =
|
|
276
|
+
const Container = styledComponents.styled.div`
|
|
277
277
|
display: flex;
|
|
278
278
|
flex-direction: column;
|
|
279
279
|
`;
|
|
280
|
-
const SubmitButton =
|
|
280
|
+
const SubmitButton = styledComponents.styled(Button.Button)`
|
|
281
281
|
text-wrap: nowrap;
|
|
282
282
|
`;
|
|
283
|
-
const FormMessage =
|
|
283
|
+
const FormMessage = styledComponents.styled.p`
|
|
284
284
|
font-size: 12px;
|
|
285
285
|
color: ${({
|
|
286
286
|
$status
|
|
@@ -292,7 +292,7 @@ const FormMessage = styled.styled.p`
|
|
|
292
292
|
text-align: center;
|
|
293
293
|
}
|
|
294
294
|
`;
|
|
295
|
-
const StoreAddress =
|
|
295
|
+
const StoreAddress = styledComponents.styled.div`
|
|
296
296
|
font-size: ${theme.theme.font.size12};
|
|
297
297
|
color: ${theme.theme.colors.black65};
|
|
298
298
|
line-height: 20px;
|
|
@@ -301,7 +301,7 @@ const StoreAddress = styled.styled.div`
|
|
|
301
301
|
text-align: center;
|
|
302
302
|
}
|
|
303
303
|
`;
|
|
304
|
-
const InnerContainer =
|
|
304
|
+
const InnerContainer = styledComponents.styled.div`
|
|
305
305
|
display: flex;
|
|
306
306
|
flex-direction: column;
|
|
307
307
|
gap: 16px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.styles.js","sources":["../../../src/components/Footer/Footer.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { css, styled } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { Button } from \"../Button\";\nimport { FormStatus } from \"./Footer.types\";\n\nexport const AnchorGroup = styled.div`\n line-height: 20px;\n display: flex;\n flex-wrap: nowrap;\n`;\n\nexport const Anchor = styled.a`\n text-decoration: none;\n font-size: 12px;\n color: rgb(0 0 0 / 0.65);\n line-height: 20px;\n cursor: pointer;\n\n &:hover {\n color: #006fff;\n }\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n`;\n\n// HACK !important used to override .ot-sdk-show-settings styling from One trust\nexport const CookieBtn = styled.button`\n padding: 0 !important;\n background: none !important;\n border: none !important;\n font-size: 12px !important;\n color: rgb(0 0 0 / 0.65) !important;\n line-height: 20px !important;\n font-family: ${theme.fontFamily.default} !important;\n\n &:hover {\n color: ${theme.colors.primaryBlue} !important;\n }\n`;\n\nexport const AnchorDivider = styled.span`\n margin: 0 8px;\n color: rgb(0 0 0 / 0.2);\n`;\n\nexport const Break = styled.div<{ $motif: Motif }>`\n border-top: ${({ $motif }) =>\n `1px solid ${$motif === \"dark\" ? \"#cecece33\" : \"#dbdce1\"}`};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n display: none;\n }\n`;\n\nexport const Copyright = styled.span`\n font-size: 12px;\n color: rgb(0 0 0 / 0.45);\n line-height: 20px;\n`;\n\nexport const Form = styled.form`\n width: 100%;\n max-width: 340px;\n`;\n\nexport const Header = styled.h1`\n color: rgb(0 0 0 / 0.65);\n font-size: 14px;\n line-height: 24px;\n font-weight: bold;\n margin: 0;\n`;\n\nexport const IconsWrapper = styled.div`\n display: flex;\n column-gap: 24px;\n margin-top: 30px;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n margin-left: 32px;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n margin-left: unset;\n }\n`;\n\nexport const IconWrapper = styled.a`\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity 0.2s;\n\n img {\n display: block;\n opacity: 1;\n }\n\n &:hover {\n cursor: pointer;\n > img {\n opacity: 0.8;\n }\n }\n`;\n\nexport const InnerWrap = styled.div`\n display: flex;\n flex-direction: column;\n width: 25%;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n width: unset;\n }\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n flex-direction: row;\n align-items: center;\n margin-top: 32px;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-direction: column;\n margin-top: unset;\n align-items: center;\n }\n`;\n\nexport const Input = styled.input<{ $error?: boolean }>`\n border: 1px solid #dbdce1;\n margin: 0;\n width: 100%;\n padding: 9px 8px;\n font-weight: 400;\n border-radius: 4px;\n margin-right: 8px;\n line-height: 19px;\n font-size: 16px;\n\n &:focus {\n outline: none;\n border-color: #dbdce1;\n }\n\n &::placeholder {\n font-size: 14px;\n line-height: 24px;\n color: rgb(0 0 0 / 0.45);\n font-family: ${theme.fontFamily.default};\n }\n\n ${({ $error }) =>\n $error &&\n css`\n border-color: ${theme.colors.pomegranate};\n `}\n`;\n\nexport const InputWrap = styled.div`\n display: flex;\n width: 100%;\n margin-top: 4px;\n`;\n\nexport const List = styled.ul`\n list-style: none outside;\n padding-left: 0;\n margin: 8px 0 0;\n`;\n\nexport const ListItem = styled.li`\n margin-top: 4px;\n line-height: 24px;\n font-size: 14px;\n`;\n\nexport const ListItemAnchor = styled.a`\n color: rgb(0 0 0 / 0.45);\n font-weight: normal;\n cursor: pointer;\n text-decoration: none;\n\n &:hover {\n color: #006fff;\n }\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n`;\n\nexport const ListItemWrap = styled.div`\n margin-right: auto;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n display: none;\n }\n`;\n\nexport const ListsWrap = styled.div`\n display: flex;\n flex-grow: 1;\n`;\n\nexport const FlexWrap = styled.div`\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n justify-content: center;\n }\n`;\n\nexport const FlexWrapResponsive = styled(FlexWrap)`\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n gap: 16px;\n flex-direction: column;\n justify-content: center;\n }\n`;\n\nexport const TermsWrap = styled(FlexWrapResponsive)`\n justify-content: space-between;\n gap: 16px;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n gap: 24px;\n }\n`;\n\nexport const Wrap = styled.div`\n display: flex;\n margin: 16px 0;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n flex-direction: column;\n }\n`;\n\nexport const ContainerWrap = styled.footer<{\n $motif: Motif;\n}>`\n background: #f6f6f8;\n box-sizing: border-box;\n width: 100%;\n overflow: hidden;\n\n padding: 16px 0;\n\n /* dark styling */\n ${({ $motif }) =>\n $motif === \"dark\" &&\n css`\n background-color: #070b0f;\n\n h1,\n a,\n span {\n color: #525461;\n }\n button#ot-sdk-btn {\n color: #525461 !important;\n }\n\n button.dark {\n transition: all 0.2s;\n background: #525461;\n border-color: #525461;\n color: white;\n\n &:hover {\n background: #006fff;\n border-color: #006fff;\n }\n }\n\n input {\n border: 1px solid #909090;\n background: transparent;\n color: #525461;\n\n &::placeholder {\n color: #525461;\n }\n }\n `}\n`;\n\nexport const Container = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const SubmitButton = styled(Button)`\n text-wrap: nowrap;\n`;\n\nexport const FormMessage = styled.p<{ $status?: FormStatus }>`\n font-size: 12px;\n color: ${({ $status }) =>\n $status === FormStatus.Error\n ? theme.colors.pomegranate\n : theme.colors.black45};\n line-height: 20px;\n margin: 8px 0 0 9px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n text-align: center;\n }\n`;\n\nexport const StoreAddress = styled.div`\n font-size: ${theme.font.size12};\n color: ${theme.colors.black65};\n line-height: 20px;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n text-align: center;\n }\n`;\n\nexport const InnerContainer = styled.div`\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 32px;\n }\n`;\n"],"names":["AnchorGroup","styled","div","Anchor","a","CookieBtn","button","theme","fontFamily","default","colors","primaryBlue","AnchorDivider","span","Break","$motif","BREAKPOINTS","TABLET_AND_DOWN","Copyright","Form","form","Header","h1","IconsWrapper","DESKTOP_AND_DOWN","IconWrapper","InnerWrap","Input","input","$error","css","pomegranate","InputWrap","List","ul","ListItem","li","ListItemAnchor","ListItemWrap","ListsWrap","FlexWrap","FlexWrapResponsive","TermsWrap","Wrap","ContainerWrap","footer","Container","SubmitButton","Button","FormMessage","p","$status","FormStatus","Error","black45","StoreAddress","font","size12","black65","InnerContainer"],"mappings":";;;;;;;;;AAQO,MAAMA,cAAcC,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAM3B,MAAMC,SAASF,MAAO,CAAAA,MAAA,CAAAG,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAkBtB,MAAMC,YAAYJ,MAAO,CAAAA,MAAA,CAAAK,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAOfC,KAAA,CAAAA,KAAA,CAAMC,WAAWC,OAAO;;AAAA;AAAA,aAG5BF,KAAA,CAAAA,KAAA,CAAMG,OAAOC,WAAW;AAAA;AAAA,CAAA;AAI9B,MAA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,KAAKC,MAAM;AAAA,WACrBlD,KAAA,CAAAA,KAAA,CAAMG,OAAOgD,OAAO;AAAA;;AAAA,WAGpB1C,MAAAA,CAAAA,YAAYQ,gBAAgB;AAAA;AAAA;AAAA,CAAA;AAKhC,MAAMmC,iBAAiB1D,MAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA,WAK1Bc,MAAAA,CAAAA,YAAYC,eAAe;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"Footer.styles.js","sources":["../../../src/components/Footer/Footer.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { css, styled } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { Button } from \"../Button\";\nimport { FormStatus } from \"./Footer.types\";\n\nexport const AnchorGroup = styled.div`\n line-height: 20px;\n display: flex;\n flex-wrap: nowrap;\n`;\n\nexport const Anchor = styled.a`\n text-decoration: none;\n font-size: 12px;\n color: rgb(0 0 0 / 0.65);\n line-height: 20px;\n cursor: pointer;\n\n &:hover {\n color: #006fff;\n }\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n`;\n\n// HACK !important used to override .ot-sdk-show-settings styling from One trust\nexport const CookieBtn = styled.button`\n padding: 0 !important;\n background: none !important;\n border: none !important;\n font-size: 12px !important;\n color: rgb(0 0 0 / 0.65) !important;\n line-height: 20px !important;\n font-family: ${theme.fontFamily.default} !important;\n\n &:hover {\n color: ${theme.colors.primaryBlue} !important;\n }\n`;\n\nexport const AnchorDivider = styled.span`\n margin: 0 8px;\n color: rgb(0 0 0 / 0.2);\n`;\n\nexport const Break = styled.div<{ $motif: Motif }>`\n border-top: ${({ $motif }) =>\n `1px solid ${$motif === \"dark\" ? \"#cecece33\" : \"#dbdce1\"}`};\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n display: none;\n }\n`;\n\nexport const Copyright = styled.span`\n font-size: 12px;\n color: rgb(0 0 0 / 0.45);\n line-height: 20px;\n`;\n\nexport const Form = styled.form`\n width: 100%;\n max-width: 340px;\n`;\n\nexport const Header = styled.h1`\n color: rgb(0 0 0 / 0.65);\n font-size: 14px;\n line-height: 24px;\n font-weight: bold;\n margin: 0;\n`;\n\nexport const IconsWrapper = styled.div`\n display: flex;\n column-gap: 24px;\n margin-top: 30px;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n margin-left: 32px;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n margin-left: unset;\n }\n`;\n\nexport const IconWrapper = styled.a`\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity 0.2s;\n\n img {\n display: block;\n opacity: 1;\n }\n\n &:hover {\n cursor: pointer;\n > img {\n opacity: 0.8;\n }\n }\n`;\n\nexport const InnerWrap = styled.div`\n display: flex;\n flex-direction: column;\n width: 25%;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n width: unset;\n }\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n flex-direction: row;\n align-items: center;\n margin-top: 32px;\n }\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-direction: column;\n margin-top: unset;\n align-items: center;\n }\n`;\n\nexport const Input = styled.input<{ $error?: boolean }>`\n border: 1px solid #dbdce1;\n margin: 0;\n width: 100%;\n padding: 9px 8px;\n font-weight: 400;\n border-radius: 4px;\n margin-right: 8px;\n line-height: 19px;\n font-size: 16px;\n\n &:focus {\n outline: none;\n border-color: #dbdce1;\n }\n\n &::placeholder {\n font-size: 14px;\n line-height: 24px;\n color: rgb(0 0 0 / 0.45);\n font-family: ${theme.fontFamily.default};\n }\n\n ${({ $error }) =>\n $error &&\n css`\n border-color: ${theme.colors.pomegranate};\n `}\n`;\n\nexport const InputWrap = styled.div`\n display: flex;\n width: 100%;\n margin-top: 4px;\n`;\n\nexport const List = styled.ul`\n list-style: none outside;\n padding-left: 0;\n margin: 8px 0 0;\n`;\n\nexport const ListItem = styled.li`\n margin-top: 4px;\n line-height: 24px;\n font-size: 14px;\n`;\n\nexport const ListItemAnchor = styled.a`\n color: rgb(0 0 0 / 0.45);\n font-weight: normal;\n cursor: pointer;\n text-decoration: none;\n\n &:hover {\n color: #006fff;\n }\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n`;\n\nexport const ListItemWrap = styled.div`\n margin-right: auto;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n display: none;\n }\n`;\n\nexport const ListsWrap = styled.div`\n display: flex;\n flex-grow: 1;\n`;\n\nexport const FlexWrap = styled.div`\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n justify-content: center;\n }\n`;\n\nexport const FlexWrapResponsive = styled(FlexWrap)`\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n gap: 16px;\n flex-direction: column;\n justify-content: center;\n }\n`;\n\nexport const TermsWrap = styled(FlexWrapResponsive)`\n justify-content: space-between;\n gap: 16px;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n gap: 24px;\n }\n`;\n\nexport const Wrap = styled.div`\n display: flex;\n margin: 16px 0;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n flex-direction: column;\n }\n`;\n\nexport const ContainerWrap = styled.footer<{\n $motif: Motif;\n}>`\n background: #f6f6f8;\n box-sizing: border-box;\n width: 100%;\n overflow: hidden;\n\n padding: 16px 0;\n\n /* dark styling */\n ${({ $motif }) =>\n $motif === \"dark\" &&\n css`\n background-color: #070b0f;\n\n h1,\n a,\n span {\n color: #525461;\n }\n button#ot-sdk-btn {\n color: #525461 !important;\n }\n\n button.dark {\n transition: all 0.2s;\n background: #525461;\n border-color: #525461;\n color: white;\n\n &:hover {\n background: #006fff;\n border-color: #006fff;\n }\n }\n\n input {\n border: 1px solid #909090;\n background: transparent;\n color: #525461;\n\n &::placeholder {\n color: #525461;\n }\n }\n `}\n`;\n\nexport const Container = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const SubmitButton = styled(Button)`\n text-wrap: nowrap;\n`;\n\nexport const FormMessage = styled.p<{ $status?: FormStatus }>`\n font-size: 12px;\n color: ${({ $status }) =>\n $status === FormStatus.Error\n ? theme.colors.pomegranate\n : theme.colors.black45};\n line-height: 20px;\n margin: 8px 0 0 9px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n text-align: center;\n }\n`;\n\nexport const StoreAddress = styled.div`\n font-size: ${theme.font.size12};\n color: ${theme.colors.black65};\n line-height: 20px;\n\n @media ${BREAKPOINTS.DESKTOP_AND_DOWN} {\n text-align: center;\n }\n`;\n\nexport const InnerContainer = styled.div`\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 32px;\n }\n`;\n"],"names":["AnchorGroup","styled","div","Anchor","a","CookieBtn","button","theme","fontFamily","default","colors","primaryBlue","AnchorDivider","span","Break","$motif","BREAKPOINTS","TABLET_AND_DOWN","Copyright","Form","form","Header","h1","IconsWrapper","DESKTOP_AND_DOWN","IconWrapper","InnerWrap","Input","input","$error","css","pomegranate","InputWrap","List","ul","ListItem","li","ListItemAnchor","ListItemWrap","ListsWrap","FlexWrap","FlexWrapResponsive","TermsWrap","Wrap","ContainerWrap","footer","Container","SubmitButton","Button","FormMessage","p","$status","FormStatus","Error","black45","StoreAddress","font","size12","black65","InnerContainer"],"mappings":";;;;;;;;;AAQO,MAAMA,cAAcC,gBAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAM3B,MAAMC,SAASF,gBAAO,CAAAA,MAAA,CAAAG,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAkBtB,MAAMC,YAAYJ,g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AAMG,MAAO,CAAAqB,WAAA,GACbxB,WAAM,CAAAG,MAAA,CAAO4C,OAAO;AAAA;AAAA;;AAAA,WAIjBtC,MAAAA,CAAAA,YAAYC,eAAe;AAAA;AAAA;AAAA,CAAA;AAK/B,MAAMsC,eAAetD,gBAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA,eACpBK,KAAA,CAAAA,KAAA,CAAMiD,KAAKC,MAAM;AAAA,WACrBlD,KAAA,CAAAA,KAAA,CAAMG,OAAOgD,OAAO;AAAA;;AAAA,WAGpB1C,MAAAA,CAAAA,YAAYQ,gBAAgB;AAAA;AAAA;AAAA,CAAA;AAKhC,MAAMmC,iBAAiB1D,gBAAO,CAAAA,MAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA,WAK1Bc,MAAAA,CAAAA,YAAYC,eAAe;AAAA;AAAA;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var styledComponents = require('styled-components');
|
|
4
4
|
var theme = require('../../constants/theme.js');
|
|
5
5
|
"use strict";
|
|
6
6
|
const ACTIVE_BORDER_WIDTH = 2;
|
|
7
7
|
const DEFAULT_BORDER_WIDTH = 1;
|
|
8
8
|
const BORDER_RADIUS = 12;
|
|
9
|
-
const StyledButton =
|
|
9
|
+
const StyledButton = styledComponents.styled.button`
|
|
10
10
|
display: flex;
|
|
11
11
|
justify-content: center;
|
|
12
12
|
align-items: center;
|
|
@@ -49,7 +49,7 @@ const StyledButton = styled.styled.button`
|
|
|
49
49
|
${({
|
|
50
50
|
active,
|
|
51
51
|
$borderRadius
|
|
52
|
-
}) => active ?
|
|
52
|
+
}) => active ? styledComponents.css`
|
|
53
53
|
&::before {
|
|
54
54
|
background: linear-gradient(
|
|
55
55
|
96.1deg,
|
|
@@ -63,13 +63,13 @@ const StyledButton = styled.styled.button`
|
|
|
63
63
|
inset: ${2 - ACTIVE_BORDER_WIDTH}px ${2 - ACTIVE_BORDER_WIDTH}px
|
|
64
64
|
${2 - ACTIVE_BORDER_WIDTH}px ${2 - ACTIVE_BORDER_WIDTH}px;
|
|
65
65
|
}
|
|
66
|
-
` :
|
|
66
|
+
` : styledComponents.css`
|
|
67
67
|
&::before {
|
|
68
68
|
background: #f0f0f0;
|
|
69
69
|
}
|
|
70
70
|
`}
|
|
71
71
|
`;
|
|
72
|
-
const StyledButtonInner =
|
|
72
|
+
const StyledButtonInner = styledComponents.styled.span`
|
|
73
73
|
position: relative;
|
|
74
74
|
z-index: 3;
|
|
75
75
|
display: flex;
|