@ubnt/store.core 11.20.0-test.0 → 11.20.0-test.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/ai-turret.jpg +0 -0
- package/lib/assets/ai-turret2.jpg +0 -0
- package/lib/assets/door-hub-mini.jpg +0 -0
- package/lib/assets/door-hub-mini2.jpg +0 -0
- package/lib/assets/door-hub.jpg +0 -0
- package/lib/assets/door-hub2.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-reader.jpg +0 -0
- package/lib/assets/g3-reader2.jpg +0 -0
- package/lib/assets/g3-starter-kit.jpg +0 -0
- package/lib/assets/g3-starter-kit2.jpg +0 -0
- package/lib/assets/g5-bullet.jpg +0 -0
- package/lib/assets/g5-bullet2.jpg +0 -0
- package/lib/assets/g5-flex.jpg +0 -0
- package/lib/assets/g5-flex2.jpg +0 -0
- package/lib/assets/g5-ptz.jpg +0 -0
- package/lib/assets/g5-ptz2.jpg +0 -0
- package/lib/assets/intercom.jpg +0 -0
- package/lib/assets/intercom2.jpg +0 -0
- package/lib/assets/interior-design.svg +1 -1
- package/lib/assets/interior-design2.svg +1 -1
- package/lib/assets/minus.svg +1 -1
- package/lib/assets/minus2.svg +1 -1
- package/lib/assets/plus4.svg +1 -1
- package/lib/assets/plus5.svg +1 -1
- package/lib/components/Accordion/Accordion.styles.js +11 -5
- package/lib/components/Accordion/Accordion.styles.js.map +1 -1
- package/lib/components/Accordion/Accordion.styles.mjs +1 -1
- package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
- package/lib/components/Avatar/Avatar.styles.js +7 -1
- package/lib/components/Avatar/Avatar.styles.js.map +1 -1
- package/lib/components/Avatar/Avatar.styles.mjs +1 -1
- package/lib/components/Avatar/Avatar.styles.mjs.map +1 -1
- package/lib/components/BackInStock/BackInStock.styles.js +12 -6
- package/lib/components/BackInStock/BackInStock.styles.js.map +1 -1
- package/lib/components/BackInStock/BackInStock.styles.mjs +1 -1
- package/lib/components/BackInStock/BackInStock.styles.mjs.map +1 -1
- package/lib/components/Badge/Badge.styles.js +7 -1
- package/lib/components/Badge/Badge.styles.js.map +1 -1
- package/lib/components/Badge/Badge.styles.mjs +1 -1
- package/lib/components/Badge/Badge.styles.mjs.map +1 -1
- package/lib/components/Button/Button.styles.js +9 -3
- package/lib/components/Button/Button.styles.js.map +1 -1
- package/lib/components/Button/Button.styles.mjs +1 -1
- package/lib/components/Button/Button.styles.mjs.map +1 -1
- package/lib/components/Button/CartButton.styles.js +12 -6
- package/lib/components/Button/CartButton.styles.js.map +1 -1
- package/lib/components/Button/CartButton.styles.mjs +1 -1
- package/lib/components/Button/CartButton.styles.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +12 -6
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +9 -3
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/CardSection/Card/Card.styles.js +14 -8
- package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
- package/lib/components/CardSection/Card/Card.styles.mjs +1 -1
- package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
- package/lib/components/CardSection/CardSection.styles.js +10 -4
- package/lib/components/CardSection/CardSection.styles.js.map +1 -1
- package/lib/components/CardSection/CardSection.styles.mjs +1 -1
- package/lib/components/CardSection/CardSection.styles.mjs.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +12 -6
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- package/lib/components/Checkbox/Checkbox.styles.js +9 -3
- package/lib/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/lib/components/Checkbox/Checkbox.styles.mjs +1 -1
- package/lib/components/Checkbox/Checkbox.styles.mjs.map +1 -1
- package/lib/components/Container/Container.styles.js +8 -2
- package/lib/components/Container/Container.styles.js.map +1 -1
- package/lib/components/Container/Container.styles.mjs +1 -1
- package/lib/components/Container/Container.styles.mjs.map +1 -1
- package/lib/components/CustomImage/CustomImage.styles.js +14 -8
- package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
- package/lib/components/CustomImage/CustomImage.styles.mjs +1 -1
- package/lib/components/CustomImage/CustomImage.styles.mjs.map +1 -1
- package/lib/components/Explore/Explore.styles.js +27 -21
- package/lib/components/Explore/Explore.styles.js.map +1 -1
- package/lib/components/Explore/Explore.styles.mjs +1 -1
- package/lib/components/Explore/Explore.styles.mjs.map +1 -1
- package/lib/components/Footer/Footer.styles.js +34 -28
- package/lib/components/Footer/Footer.styles.js.map +1 -1
- package/lib/components/Footer/Footer.styles.mjs +1 -1
- package/lib/components/Footer/Footer.styles.mjs.map +1 -1
- package/lib/components/GradientButton/GradientButton.styles.js +8 -2
- package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
- package/lib/components/GradientButton/GradientButton.styles.mjs +1 -1
- package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.styles.js +10 -4
- package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js +16 -10
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js +9 -3
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.mjs +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.mjs.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js +13 -7
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.styles.mjs +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.styles.mjs.map +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js +8 -2
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.mjs +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.js +7 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.js.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.mjs +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.mjs.map +1 -1
- package/lib/components/Header/CartModalV2/CartModal.styles.js +23 -17
- package/lib/components/Header/CartModalV2/CartModal.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/CartModal.styles.mjs +1 -1
- package/lib/components/Header/CartModalV2/CartModal.styles.mjs.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
- package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
- package/lib/components/Header/CartModalV2/Item/Item.styles.js +18 -12
- package/lib/components/Header/CartModalV2/Item/Item.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.mjs +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.mjs.map +1 -1
- package/lib/components/Header/Header.styles.js +33 -27
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +1 -1
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +13 -7
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js +9 -3
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.mjs +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.mjs.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +13 -7
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js +16 -10
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.mjs +1 -1
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +15 -9
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +18 -12
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +23 -17
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +12 -6
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Overlay/Overlay.styles.js +7 -1
- package/lib/components/Header/Overlay/Overlay.styles.js.map +1 -1
- package/lib/components/Header/Overlay/Overlay.styles.mjs +1 -1
- package/lib/components/Header/Overlay/Overlay.styles.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +36 -30
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/HeroVideo/HeroVideo.styles.js +11 -5
- package/lib/components/HeroVideo/HeroVideo.styles.js.map +1 -1
- package/lib/components/HeroVideo/HeroVideo.styles.mjs +1 -1
- package/lib/components/HeroVideo/HeroVideo.styles.mjs.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.styles.js +30 -24
- package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
- package/lib/components/ImageSequence/ImageSequence.styles.js +14 -8
- package/lib/components/ImageSequence/ImageSequence.styles.js.map +1 -1
- package/lib/components/ImageSequence/ImageSequence.styles.mjs +1 -1
- package/lib/components/ImageSequence/ImageSequence.styles.mjs.map +1 -1
- package/lib/components/InputSelect/InputSelect.styles.js +9 -3
- package/lib/components/InputSelect/InputSelect.styles.js.map +1 -1
- package/lib/components/InputSelect/InputSelect.styles.mjs +1 -1
- package/lib/components/InputSelect/InputSelect.styles.mjs.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js +7 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.mjs +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +7 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js +12 -6
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.mjs +1 -1
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.mjs.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js +25 -19
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.mjs +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.mjs.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js +14 -8
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -1
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +8 -2
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +1 -1
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js +11 -5
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.mjs +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.mjs.map +1 -1
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js +13 -7
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs +1 -1
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs.map +1 -1
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +18 -12
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +1 -1
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js +14 -8
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.mjs +1 -1
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.mjs.map +1 -1
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js +18 -12
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs +1 -1
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs.map +1 -1
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +19 -13
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +1 -1
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +20 -14
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js +19 -13
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js +24 -18
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js +21 -15
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.mjs +1 -1
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +3 -3
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.mjs +2 -2
- package/lib/components/MicrositeHero/MicrositeHero.styles.js +37 -31
- package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.styles.mjs +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.styles.mjs.map +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js +11 -5
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js.map +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.mjs +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +17 -11
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js +17 -11
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs +1 -1
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs.map +1 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +16 -10
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +1 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js +12 -6
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.mjs +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.mjs.map +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js +7 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.mjs +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +20 -14
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.styles.js +13 -7
- package/lib/components/Microsites/MicrositeProductPage.styles.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.styles.mjs +1 -1
- package/lib/components/Microsites/MicrositeProductPage.styles.mjs.map +1 -1
- package/lib/components/Modal/Modal.styles.js +7 -1
- package/lib/components/Modal/Modal.styles.js.map +1 -1
- package/lib/components/Modal/Modal.styles.mjs +1 -1
- package/lib/components/Modal/Modal.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/HeaderShadow.js +9 -3
- package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV3/HeaderShadow.mjs +1 -1
- package/lib/components/ModelCompareV3/HeaderShadow.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -2
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.mjs +1 -1
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +11 -10
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +2 -2
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +34 -28
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +12 -6
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.mjs +1 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +7 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.mjs +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +8 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.mjs +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +7 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js +8 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js +3 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js +9 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js +11 -10
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.mjs +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js +7 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js +7 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +8 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js +7 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.mjs.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js +8 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.mjs +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.mjs.map +1 -1
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js +8 -2
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.mjs +1 -1
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js +10 -4
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.mjs +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js +8 -2
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.mjs +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +17 -11
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +13 -7
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +1 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.styles.js +8 -2
- package/lib/components/QuantityControls/QuantityControls.styles.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.styles.mjs +1 -1
- package/lib/components/QuantityControls/QuantityControls.styles.mjs.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.styles.js +13 -7
- package/lib/components/QuantityInput/QuantityInput.styles.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.styles.mjs +1 -1
- package/lib/components/QuantityInput/QuantityInput.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js +12 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +15 -9
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +21 -15
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js +11 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js +10 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +4 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js +8 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js +13 -7
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js +7 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js +6 -5
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js +13 -7
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js +22 -16
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js +6 -5
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js +21 -15
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js +9 -3
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js +9 -3
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js +8 -2
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js +9 -3
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js.map +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.mjs +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +13 -7
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs.map +1 -1
- package/lib/components/Search/Input/Input.styles.js +12 -6
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.mjs +1 -1
- package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
- package/lib/components/Search/Modal/Modal.styles.js +20 -14
- package/lib/components/Search/Modal/Modal.styles.js.map +1 -1
- package/lib/components/Search/Modal/Modal.styles.mjs +1 -1
- package/lib/components/Search/Modal/Modal.styles.mjs.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js +8 -2
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.mjs +1 -1
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.mjs.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js +8 -2
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.mjs +1 -1
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.mjs.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js +12 -6
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.mjs +1 -1
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.mjs.map +1 -1
- package/lib/components/StaticModal/StaticModal.styles.js +7 -1
- package/lib/components/StaticModal/StaticModal.styles.js.map +1 -1
- package/lib/components/StaticModal/StaticModal.styles.mjs +1 -1
- package/lib/components/StaticModal/StaticModal.styles.mjs.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.js +7 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.mjs +1 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.mjs.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonRow.js +7 -1
- package/lib/components/StorybookUtils/StoryButtonRow.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonRow.mjs +1 -1
- package/lib/components/StorybookUtils/StoryButtonRow.mjs.map +1 -1
- package/lib/components/StorybookUtils/StorySection.js +8 -2
- package/lib/components/StorybookUtils/StorySection.js.map +1 -1
- package/lib/components/StorybookUtils/StorySection.mjs +1 -1
- package/lib/components/StorybookUtils/StorySection.mjs.map +1 -1
- package/lib/components/StorybookUtils/StoryVariants.js +10 -4
- package/lib/components/StorybookUtils/StoryVariants.js.map +1 -1
- package/lib/components/StorybookUtils/StoryVariants.mjs +1 -1
- package/lib/components/StorybookUtils/StoryVariants.mjs.map +1 -1
- package/lib/components/StorybookUtils/StoryWrapper.js +7 -1
- package/lib/components/StorybookUtils/StoryWrapper.js.map +1 -1
- package/lib/components/StorybookUtils/StoryWrapper.mjs +1 -1
- package/lib/components/StorybookUtils/StoryWrapper.mjs.map +1 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js +7 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs +1 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs.map +1 -1
- package/lib/components/Toggle/Toggle.styles.js +8 -2
- package/lib/components/Toggle/Toggle.styles.js.map +1 -1
- package/lib/components/Toggle/Toggle.styles.mjs +1 -1
- package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
- package/lib/components/UICare/UICare.styles.js +17 -11
- package/lib/components/UICare/UICare.styles.js.map +1 -1
- package/lib/components/UICare/UICare.styles.mjs +1 -1
- package/lib/components/UICare/UICare.styles.mjs.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +23 -17
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
- package/lib/constants/icons/generic/index.js +3 -3
- package/lib/constants/icons/generic/index.mjs +1 -1
- package/lib/constants/icons/generic/minus.svg.js +5 -5
- package/lib/constants/icons/generic/minus.svg.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/g5-flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Compact/g5-flex.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/door-hub-mini.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub-mini.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.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-reader.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.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/PTZ/g5-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/interior-design.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/interior-design.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/minus.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/minus.svg.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/g5-flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.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/door-hub-mini.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub-mini.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.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-reader.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.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/ptz/g5-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.mjs +2 -2
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/interiorDesign.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/interiorDesign.mjs +1 -1
- 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/doorHub.js +2 -2
- package/lib/constants/modelCompareData/data/products/doorHub.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/doorHubMini.js +2 -2
- package/lib/constants/modelCompareData/data/products/doorHubMini.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/efg.js +2 -1
- package/lib/constants/modelCompareData/data/products/efg.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/efg.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/efg.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/express.js +2 -1
- package/lib/constants/modelCompareData/data/products/express.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/express.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/express7.js +2 -1
- package/lib/constants/modelCompareData/data/products/express7.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express7.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/express7.mjs.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/g3Reader.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3Reader.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/g3StarterKit.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKit.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/g5Flex.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Flex.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5Ptz.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Ptz.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/ucgUltra.js +2 -1
- package/lib/constants/modelCompareData/data/products/ucgUltra.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/ucgUltra.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/ucgUltra.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/udr.js +5 -4
- package/lib/constants/modelCompareData/data/products/udr.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/udr.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/udr.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.js +2 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js +2 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.mjs.map +1 -1
- package/lib/utils/nextjs/plugin.js +3 -1
- package/lib/utils/nextjs/plugin.js.map +1 -1
- package/lib/utils/nextjs/plugin.mjs +3 -1
- package/lib/utils/nextjs/plugin.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useCallback, useMemo } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import styled from 'styled-components';
|
|
4
4
|
import '../../constants/modelCompareData/assets/arrow-right.svg.mjs';
|
|
5
5
|
import '../StyleableSvgImage/index.mjs';
|
|
6
6
|
import { useStickyGrid } from './StickyGrid/context.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelCompareOverflowScrollButton.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareOverflowScrollButton.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"ModelCompareOverflowScrollButton.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareOverflowScrollButton.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\nimport styled from \"styled-components\";\n\nimport arrowRightIcon from \"../../constants/modelCompareData/assets/arrow-right.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { useStickyGrid } from \"./StickyGrid/context\";\n\nexport function ModelCompareOverflowScrollButton({\n isVisible,\n color,\n rotationDegrees,\n onClickColumnDiff,\n totalColumns,\n totalDeadSpace,\n isSmallScreen,\n}: {\n isVisible: boolean;\n color: string;\n rotationDegrees: number;\n onClickColumnDiff: number;\n totalDeadSpace: number;\n totalColumns: number;\n isSmallScreen: boolean;\n}) {\n const { scrollGroupItemsRef, scrollTo } = useStickyGrid();\n\n const icon =\n typeof arrowRightIcon === \"string\" ? arrowRightIcon : arrowRightIcon.src;\n\n // Scroll one column on click\n const handleClick = useCallback(() => {\n const anyScrollItem = scrollGroupItemsRef.current?.[0]?.refObject.current;\n\n if (!anyScrollItem) {\n return;\n }\n\n const totalWidth = anyScrollItem.scrollWidth;\n const currentScrollLeft = anyScrollItem.scrollLeft + 1;\n const oneColumnWidth = (totalWidth - totalDeadSpace) / totalColumns;\n const currentColumnIndex = Math.min(\n totalColumns - 1,\n Math.max(0, Math.round(currentScrollLeft / oneColumnWidth)),\n );\n\n const newColumnIndex = Math.max(\n Math.min(currentColumnIndex + onClickColumnDiff, totalColumns),\n 0,\n );\n\n const offsetLeft = newColumnIndex * oneColumnWidth;\n\n scrollTo({ left: offsetLeft, behavior: \"smooth\" });\n }, [\n onClickColumnDiff,\n scrollGroupItemsRef,\n scrollTo,\n totalColumns,\n totalDeadSpace,\n ]);\n\n const arrowOffset = useMemo(() => {\n if (isSmallScreen) {\n return rotationDegrees < 180 ? -5 : 0;\n }\n\n return -15;\n }, [isSmallScreen, rotationDegrees]);\n\n return (\n <Button\n color={color}\n rotation={rotationDegrees}\n isVisible={isVisible}\n type=\"button\"\n onClick={handleClick}\n >\n <Icon rotation={rotationDegrees} arrowOffset={arrowOffset}>\n <StyleableSvgImage width={10} height={16} src={icon} />\n </Icon>\n </Button>\n );\n}\n\nconst Button = styled.button<{\n isVisible: boolean;\n rotation: number;\n color: string;\n}>`\n color: inherit;\n outline: none;\n opacity: ${({ isVisible }) => (isVisible ? 1 : 0)};\n pointer-events: ${({ isVisible }) => (isVisible ? \"auto\" : \"none\")};\n transition: opacity 0.2s;\n height: 100%;\n width: 40px;\n background: transparent;\n border: none;\n background-image: linear-gradient(\n ${({ rotation }) => rotation - 90}deg,\n ${({ color }) => color},\n transparent 20px\n );\n border-left: ${({ color }) =>\n color !== \"white\" ? \"1px solid #eee\" : \"none\"};\n cursor: pointer;\n`;\n\nconst Icon = styled.div<{ rotation: number; arrowOffset: number }>`\n transform: rotate(${({ rotation }) => rotation}deg)\n translateX(${({ arrowOffset }) => arrowOffset ?? 0}px);\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding-left: 4px;\n height: 44px;\n width: 44px;\n\n border-radius: 50%;\n background: rgb(255 255 255 / 0.8);\n box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.25);\n backdrop-filter: blur(2px);\n color: #808893;\n`;\n"],"names":["ModelCompareOverflowScrollButton","isVisible","color","rotationDegrees","onClickColumnDiff","totalColumns","totalDeadSpace","isSmallScreen","scrollGroupItemsRef","scrollTo","useStickyGrid","icon","arrowRightIcon","src","handleClick","useCallback","anyScrollItem","current","refObject","totalWidth","scrollWidth","currentScrollLeft","scrollLeft","oneColumnWidth","currentColumnIndex","Math","min","max","round","newColumnIndex","offsetLeft","left","behavior","arrowOffset","useMemo","jsx","Button","rotation","type","onClick","children","Icon","StyleableSvgImage","width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|
|
@@ -13,7 +13,7 @@ require('../StyleableSvgImage/index.js');
|
|
|
13
13
|
var ModelCompareV3_styles = require('./ModelCompareV3.styles.js');
|
|
14
14
|
require('./StickyGrid/index.js');
|
|
15
15
|
var checkIconSvg = require("../../assets/check2.svg");
|
|
16
|
-
var minusIconSvg = require("../../assets/
|
|
16
|
+
var minusIconSvg = require("../../assets/minus2.svg");
|
|
17
17
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
18
18
|
var context = require('../../contexts/MenuContext/context.js');
|
|
19
19
|
var StickyGridItem = require('./StickyGrid/StickyGridItem.js');
|
|
@@ -22,6 +22,7 @@ function _interopDefault(e) {
|
|
|
22
22
|
default: e
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
25
26
|
var checkIconSvg__default = /*#__PURE__*/_interopDefault(checkIconSvg);
|
|
26
27
|
var minusIconSvg__default = /*#__PURE__*/_interopDefault(minusIconSvg);
|
|
27
28
|
"use strict";
|
|
@@ -112,13 +113,13 @@ function PropertyValueComponent({
|
|
|
112
113
|
}
|
|
113
114
|
return null;
|
|
114
115
|
}
|
|
115
|
-
const Stack =
|
|
116
|
+
const Stack = styled__default["default"].div`
|
|
116
117
|
display: flex;
|
|
117
118
|
flex-direction: column;
|
|
118
119
|
gap: 4px;
|
|
119
120
|
${ModelCompareV3_styles.textSize}
|
|
120
121
|
`;
|
|
121
|
-
const Value =
|
|
122
|
+
const Value = styled__default["default"].div`
|
|
122
123
|
text-align: right;
|
|
123
124
|
|
|
124
125
|
${({
|
|
@@ -139,7 +140,7 @@ const Value = styled.styled.div`
|
|
|
139
140
|
text-overflow: ellipsis;
|
|
140
141
|
}
|
|
141
142
|
`;
|
|
142
|
-
const GridItem =
|
|
143
|
+
const GridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
143
144
|
display: flex;
|
|
144
145
|
align-items: center;
|
|
145
146
|
justify-content: center;
|
|
@@ -150,7 +151,7 @@ const GridItem = styled.styled(StickyGridItem.StickyGridItem)`
|
|
|
150
151
|
border-bottom: 1px solid ${theme.theme.colors.athensGreyDark};
|
|
151
152
|
border-left: 1px solid ${theme.theme.colors.athensGreyDark};
|
|
152
153
|
`;
|
|
153
|
-
const InlineGridItem =
|
|
154
|
+
const InlineGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
154
155
|
display: flex;
|
|
155
156
|
gap: 8px;
|
|
156
157
|
align-items: center;
|
|
@@ -158,20 +159,20 @@ const InlineGridItem = styled.styled(StickyGridItem.StickyGridItem)`
|
|
|
158
159
|
overflow: hidden;
|
|
159
160
|
border-bottom: 1px solid ${theme.theme.colors.athensGreyDark};
|
|
160
161
|
`;
|
|
161
|
-
const PropertyTitle =
|
|
162
|
+
const PropertyTitle = styled__default["default"].div`
|
|
162
163
|
font-size: 14px;
|
|
163
164
|
font-weight: ${theme.theme.fontWeight.bold};
|
|
164
165
|
max-width: 45%;
|
|
165
166
|
line-height: ${17 / 14};
|
|
166
167
|
`;
|
|
167
|
-
const PropertyIcon =
|
|
168
|
+
const PropertyIcon = styled__default["default"].div`
|
|
168
169
|
width: 30px;
|
|
169
170
|
height: 30px;
|
|
170
171
|
`;
|
|
171
|
-
const Spacer =
|
|
172
|
+
const Spacer = styled__default["default"].div`
|
|
172
173
|
flex: 1;
|
|
173
174
|
`;
|
|
174
|
-
const BooleanWrap =
|
|
175
|
+
const BooleanWrap = styled__default["default"].div`
|
|
175
176
|
position: relative;
|
|
176
177
|
overflow: visible;
|
|
177
178
|
|
|
@@ -182,7 +183,7 @@ const BooleanWrap = styled.styled.div`
|
|
|
182
183
|
gap: 5.5px;
|
|
183
184
|
}
|
|
184
185
|
`;
|
|
185
|
-
const BooleanAsterisks =
|
|
186
|
+
const BooleanAsterisks = styled__default["default"].div`
|
|
186
187
|
position: absolute;
|
|
187
188
|
font-size: 14px;
|
|
188
189
|
line-height: 16.8px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelComparePropertyValueGridItem.js","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"ModelComparePropertyValueGridItem.js","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,eAASC,gCAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,eAASK,gCAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;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AErB,KAAK,EAAE;AAAA,CAAA;AAGxB,MAAM7C,eAAeoC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAMhC,SAAS+B,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,CAAA;AAItB,MAAMX,cAAcU,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,uCAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,uCAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import styled, { css } from 'styled-components';
|
|
4
4
|
import '../../constants/modelCompareData/assets/check.svg.mjs';
|
|
5
5
|
import '../../constants/modelCompareData/assets/minus.svg.mjs';
|
|
6
6
|
import { MutatedPropertyType } from '../../constants/modelCompareData/types.mjs';
|
|
@@ -11,7 +11,7 @@ import '../StyleableSvgImage/index.mjs';
|
|
|
11
11
|
import { textSize, MOBILE_BREAKPOINT } from './ModelCompareV3.styles.mjs';
|
|
12
12
|
import './StickyGrid/index.mjs';
|
|
13
13
|
import checkIconSvg__default from "../../assets/check2.svg";
|
|
14
|
-
import minusIconSvg__default from "../../assets/
|
|
14
|
+
import minusIconSvg__default from "../../assets/minus2.svg";
|
|
15
15
|
import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
16
16
|
import { useMenu } from '../../contexts/MenuContext/context.mjs';
|
|
17
17
|
import { StickyGridItem } from './StickyGrid/StickyGridItem.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,SAASC,qBAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,SAASK,qBAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;I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StickyGrid/StickyGridItem.js');
|
|
|
10
10
|
var Button$1 = require('../Button/Button.js');
|
|
11
11
|
var Badge$1 = require('../Badge/Badge.js');
|
|
12
12
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
13
|
+
function _interopDefault(e) {
|
|
14
|
+
return e && e.__esModule ? e : {
|
|
15
|
+
default: e
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
13
19
|
"use strict";
|
|
14
20
|
const MOBILE_BREAKPOINT = 650;
|
|
15
21
|
const textSize = styled.css`
|
|
@@ -17,12 +23,12 @@ const textSize = styled.css`
|
|
|
17
23
|
line-height: 1.2;
|
|
18
24
|
text-wrap: pretty;
|
|
19
25
|
`;
|
|
20
|
-
const PlaceholderGridItem =
|
|
26
|
+
const PlaceholderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
21
27
|
background: ${theme.theme.colors.white};
|
|
22
28
|
z-index: 3;
|
|
23
29
|
`;
|
|
24
|
-
const CenterPlaceholderGridItem =
|
|
25
|
-
const HeaderGridItem =
|
|
30
|
+
const CenterPlaceholderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)``;
|
|
31
|
+
const HeaderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
26
32
|
background: ${theme.theme.colors.white};
|
|
27
33
|
display: flex;
|
|
28
34
|
flex-direction: column;
|
|
@@ -32,7 +38,7 @@ const HeaderGridItem = styled.styled(StickyGridItem.StickyGridItem)`
|
|
|
32
38
|
padding: 16px 0;
|
|
33
39
|
gap: 24px;
|
|
34
40
|
`;
|
|
35
|
-
const ProductMeta =
|
|
41
|
+
const ProductMeta = styled__default["default"].div`
|
|
36
42
|
display: flex;
|
|
37
43
|
flex-direction: column;
|
|
38
44
|
flex: 1;
|
|
@@ -45,12 +51,12 @@ const productTitleStyles = styled.css`
|
|
|
45
51
|
font-weight: 700;
|
|
46
52
|
line-height: inherit;
|
|
47
53
|
`;
|
|
48
|
-
const ProductTitle =
|
|
54
|
+
const ProductTitle = styled__default["default"].div`
|
|
49
55
|
${productTitleStyles}
|
|
50
56
|
|
|
51
57
|
color: ${theme.theme.colors.black};
|
|
52
58
|
`;
|
|
53
|
-
const ProductTitleLink =
|
|
59
|
+
const ProductTitleLink = styled__default["default"](Button$1.Button)`
|
|
54
60
|
${productTitleStyles}
|
|
55
61
|
color: ${theme.theme.colors.primaryBlue};
|
|
56
62
|
|
|
@@ -63,7 +69,7 @@ const ProductTitleLink = styled.styled(Button$1.Button)`
|
|
|
63
69
|
color: ${theme.theme.colors.primaryBlue};
|
|
64
70
|
}
|
|
65
71
|
`;
|
|
66
|
-
const ProductDescription =
|
|
72
|
+
const ProductDescription = styled__default["default"].div`
|
|
67
73
|
font-size: 16px;
|
|
68
74
|
font-weight: 400;
|
|
69
75
|
line-height: 20px;
|
|
@@ -77,22 +83,22 @@ const ProductDescription = styled.styled.div`
|
|
|
77
83
|
}) => $direction && `${$direction}`};
|
|
78
84
|
text-wrap: pretty;
|
|
79
85
|
`;
|
|
80
|
-
const ProductNote =
|
|
86
|
+
const ProductNote = styled__default["default"].div`
|
|
81
87
|
color: ${theme.theme.colors.black45};
|
|
82
88
|
font-size: ${theme.theme.font.size10};
|
|
83
89
|
line-height: 16.8px;
|
|
84
90
|
margin-top: 6px;
|
|
85
91
|
text-align: center;
|
|
86
92
|
`;
|
|
87
|
-
const Badge =
|
|
93
|
+
const Badge = styled__default["default"](Badge$1.Badge)`
|
|
88
94
|
margin-top: 10px;
|
|
89
95
|
`;
|
|
90
|
-
const BadgeWrapper =
|
|
96
|
+
const BadgeWrapper = styled__default["default"].div`
|
|
91
97
|
margin-top: auto;
|
|
92
98
|
display: flex;
|
|
93
99
|
gap: 10px;
|
|
94
100
|
`;
|
|
95
|
-
const PropertyTitleGridItem =
|
|
101
|
+
const PropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
96
102
|
display: flex;
|
|
97
103
|
align-items: center;
|
|
98
104
|
justify-content: flex-start;
|
|
@@ -101,10 +107,10 @@ const PropertyTitleGridItem = styled.styled(StickyGridItem.StickyGridItem)`
|
|
|
101
107
|
z-index: 1;
|
|
102
108
|
overflow: hidden;
|
|
103
109
|
`;
|
|
104
|
-
const EmptyPropertyTitleGridItem =
|
|
110
|
+
const EmptyPropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
105
111
|
background: ${theme.theme.colors.white};
|
|
106
112
|
`;
|
|
107
|
-
const PropertyTitleGridItemContent =
|
|
113
|
+
const PropertyTitleGridItemContent = styled__default["default"](StickyGridItem.StickyGridItem)`
|
|
108
114
|
display: flex;
|
|
109
115
|
align-items: center;
|
|
110
116
|
justify-content: flex-start;
|
|
@@ -113,31 +119,31 @@ const PropertyTitleGridItemContent = styled.styled(StickyGridItem.StickyGridItem
|
|
|
113
119
|
gap: 8px;
|
|
114
120
|
overflow: hidden;
|
|
115
121
|
`;
|
|
116
|
-
const PropertyTitle =
|
|
122
|
+
const PropertyTitle = styled__default["default"].div`
|
|
117
123
|
font-weight: ${theme.theme.fontWeight.bold};
|
|
118
124
|
${textSize}
|
|
119
125
|
color: ${theme.theme.colors.black65};
|
|
120
126
|
`;
|
|
121
|
-
const PropertyIcon =
|
|
127
|
+
const PropertyIcon = styled__default["default"].div`
|
|
122
128
|
width: 30px;
|
|
123
129
|
height: 30px;
|
|
124
130
|
color: ${theme.theme.colors.shark};
|
|
125
131
|
`;
|
|
126
|
-
const ProductImage =
|
|
132
|
+
const ProductImage = styled__default["default"].img`
|
|
127
133
|
max-width: 100%;
|
|
128
134
|
max-height: 100%;
|
|
129
135
|
object-fit: contain;
|
|
130
136
|
`;
|
|
131
|
-
const ProductImageWrap =
|
|
137
|
+
const ProductImageWrap = styled__default["default"].div`
|
|
132
138
|
height: ${({
|
|
133
139
|
height
|
|
134
140
|
}) => `${height}px`};
|
|
135
141
|
display: flex;
|
|
136
142
|
`;
|
|
137
|
-
const PropertyTooltip =
|
|
143
|
+
const PropertyTooltip = styled__default["default"].div`
|
|
138
144
|
height: 20px;
|
|
139
145
|
`;
|
|
140
|
-
const PropertyTooltipContent =
|
|
146
|
+
const PropertyTooltipContent = styled__default["default"].div`
|
|
141
147
|
color: #fafafa;
|
|
142
148
|
font-size: 12px;
|
|
143
149
|
|
|
@@ -145,10 +151,10 @@ const PropertyTooltipContent = styled.styled.div`
|
|
|
145
151
|
color: ${theme.theme.colors.primaryBlue};
|
|
146
152
|
}
|
|
147
153
|
`;
|
|
148
|
-
const TooltipIcon =
|
|
154
|
+
const TooltipIcon = styled__default["default"](StyleableSvgImage.StyleableSvgImage)`
|
|
149
155
|
color: ${theme.theme.colors.primaryBlue};
|
|
150
156
|
`;
|
|
151
|
-
const ButtonWrap =
|
|
157
|
+
const ButtonWrap = styled__default["default"].div`
|
|
152
158
|
padding: 16px 0;
|
|
153
159
|
display: flex;
|
|
154
160
|
align-items: center;
|
|
@@ -169,7 +175,7 @@ const buttonStyles = styled.css`
|
|
|
169
175
|
position: static;
|
|
170
176
|
}
|
|
171
177
|
`;
|
|
172
|
-
const Button =
|
|
178
|
+
const Button = styled__default["default"](Button$1.Button)`
|
|
173
179
|
${buttonStyles};
|
|
174
180
|
|
|
175
181
|
&:focus,
|
|
@@ -177,7 +183,7 @@ const Button = styled.styled(Button$1.Button)`
|
|
|
177
183
|
color: ${theme.theme.colors.white};
|
|
178
184
|
}
|
|
179
185
|
`;
|
|
180
|
-
const ComingSoon =
|
|
186
|
+
const ComingSoon = styled__default["default"](Button$1.Button)`
|
|
181
187
|
${buttonStyles};
|
|
182
188
|
cursor: default;
|
|
183
189
|
|
|
@@ -186,32 +192,32 @@ const ComingSoon = styled.styled(Button$1.Button)`
|
|
|
186
192
|
color: ${theme.theme.colors.white};
|
|
187
193
|
}
|
|
188
194
|
`;
|
|
189
|
-
const NotesWrap =
|
|
195
|
+
const NotesWrap = styled__default["default"].div`
|
|
190
196
|
padding: 16px 0 10px;
|
|
191
197
|
display: flex;
|
|
192
198
|
flex-direction: column;
|
|
193
199
|
align-items: center;
|
|
194
200
|
`;
|
|
195
|
-
const Note =
|
|
201
|
+
const Note = styled__default["default"].div`
|
|
196
202
|
font-size: 10px;
|
|
197
203
|
line-height: ${17 / 10};
|
|
198
204
|
color: ${theme.theme.colors.black45};
|
|
199
205
|
text-align: center;
|
|
200
206
|
text-wrap: pretty;
|
|
201
207
|
`;
|
|
202
|
-
const FootnotesWrap =
|
|
208
|
+
const FootnotesWrap = styled__default["default"].div`
|
|
203
209
|
padding: 0 0 16px;
|
|
204
210
|
display: flex;
|
|
205
211
|
flex-direction: column;
|
|
206
212
|
align-items: center;
|
|
207
213
|
`;
|
|
208
|
-
const Footnote =
|
|
214
|
+
const Footnote = styled__default["default"].div`
|
|
209
215
|
font-size: 10px;
|
|
210
216
|
line-height: ${17 / 10};
|
|
211
217
|
color: ${theme.theme.colors.black45};
|
|
212
218
|
text-align: center;
|
|
213
219
|
`;
|
|
214
|
-
const KitIncluded =
|
|
220
|
+
const KitIncluded = styled__default["default"].div`
|
|
215
221
|
font-size: 14px;
|
|
216
222
|
font-weight: 400;
|
|
217
223
|
letter-spacing: -0.28px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelCompareV3.styles.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"ModelCompareV3.styles.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,2BAAOC,6BAAc,CAAA;AAAA,gBACxCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,eAAAA,CAAAA,SAAAA,EAAOC,cAAAA,CAAAA,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,2BAAOC,6BAAc,CAAA;AAAA,gBACnCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAU3B,MAAMG,cAAcP,eAAO,CAAA,SAA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,CAAA;AAIxB,MAAM+B,cAAcnD,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAAA,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelCompareV3.styles.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"ModelCompareV3.styles.mjs","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,OAAOC,cAAc,CAAA;AAAA,gBACxCC,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,OAAOC,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,OAAOC,cAAc,CAAA;AAAA,gBACnCC,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAU3B,MAAMG,cAAcP,MAAO,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AASlC,MAAMC,kBAAqB,GAAAX,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMpB,MAAMY,eAAeV,MAAO,CAAAQ,GAAA;AAAA,IAC/BC,kBAAkB;;AAAA,WAEXP,KAAA,CAAMC,OAAOQ,KAAK;AAAA,CAAA;AAGhB,MAAAC,gBAAA,GAAmBZ,OAAOa,QAAU,CAAA;AAAA,IAC7CJ,kBAAkB;AAAA,WACXP,KAAA,CAAMC,OAAOW,WAAW;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA,aAQtBZ,KAAA,CAAMC,OAAOW,WAAW;AAAA;AAAA,CAAA;AAI9B,MAAMC,qBAAqBf,MAAO,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAQ9BN,KAAA,CAAMC,OAAOa,OAAO;AAAA,eAChB,CAAC;EAAEC;AAAU,CAAA,KAAOA,YAAY,GAAGA,SAAS,OA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CAAMC,OAAOiB,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAM+B,cAAcnD,MAAO,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;"}
|
|
@@ -7,6 +7,12 @@ var useModelCompareTranslation = require('../../constants/modelCompareData/trans
|
|
|
7
7
|
var theme = require('../../constants/theme.js');
|
|
8
8
|
require('../StyleableSvgImage/index.js');
|
|
9
9
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
10
|
+
function _interopDefault(e) {
|
|
11
|
+
return e && e.__esModule ? e : {
|
|
12
|
+
default: e
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
10
16
|
"use strict";
|
|
11
17
|
const ProductGroupsGrid = ({
|
|
12
18
|
products
|
|
@@ -60,7 +66,7 @@ const ProductGroupsGrid = ({
|
|
|
60
66
|
}, i))
|
|
61
67
|
});
|
|
62
68
|
};
|
|
63
|
-
const ProductGroups =
|
|
69
|
+
const ProductGroups = styled__default["default"].div`
|
|
64
70
|
grid-column: 3 / -2;
|
|
65
71
|
display: grid;
|
|
66
72
|
gap: 20px;
|
|
@@ -69,13 +75,13 @@ const ProductGroups = styled.styled.div`
|
|
|
69
75
|
columns
|
|
70
76
|
}) => columns}, minmax(0, 1fr));
|
|
71
77
|
`;
|
|
72
|
-
const Collection =
|
|
78
|
+
const Collection = styled__default["default"].div`
|
|
73
79
|
grid-column: span ${({
|
|
74
80
|
$span
|
|
75
81
|
}) => $span ?? 1};
|
|
76
82
|
background-color: ${theme.theme.colors.white};
|
|
77
83
|
`;
|
|
78
|
-
const TopContainer =
|
|
84
|
+
const TopContainer = styled__default["default"].div`
|
|
79
85
|
display: flex;
|
|
80
86
|
flex-direction: column;
|
|
81
87
|
align-items: center;
|
|
@@ -124,17 +130,17 @@ const TopContainer = styled.styled.div`
|
|
|
124
130
|
);
|
|
125
131
|
}
|
|
126
132
|
`;
|
|
127
|
-
const GroupIconWrap =
|
|
133
|
+
const GroupIconWrap = styled__default["default"].div`
|
|
128
134
|
z-index: 1;
|
|
129
135
|
|
|
130
136
|
background-color: ${theme.theme.colors.white};
|
|
131
137
|
|
|
132
138
|
padding: 0 2px;
|
|
133
139
|
`;
|
|
134
|
-
const GroupIcon =
|
|
140
|
+
const GroupIcon = styled__default["default"](StyleableSvgImage.StyleableSvgImage)`
|
|
135
141
|
color: ${theme.theme.colors.menu.categoryIcon.dark};
|
|
136
142
|
`;
|
|
137
|
-
const GroupTitle =
|
|
143
|
+
const GroupTitle = styled__default["default"].div`
|
|
138
144
|
color: #8e8e8e;
|
|
139
145
|
font-size: 12px;
|
|
140
146
|
letter-spacing: -0.024px;
|