@ubnt/store.core 11.23.0 → 11.24.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +744 -25
- package/lib/assets/ai-dslr.jpg +0 -0
- package/lib/assets/ai-dslr2.jpg +0 -0
- package/lib/assets/ai-pro.jpg +0 -0
- package/lib/assets/ai-pro2.jpg +0 -0
- package/lib/assets/ai-theta-pro.jpg +0 -0
- package/lib/assets/ai-theta-pro2.jpg +0 -0
- package/lib/assets/ai-theta.jpg +0 -0
- package/lib/assets/ai-theta2.jpg +0 -0
- package/lib/assets/ai-theta3.jpg +0 -0
- package/lib/assets/attention.svg +1 -1
- package/lib/assets/attention2.svg +1 -1
- package/lib/assets/bullet2.svg +1 -1
- package/lib/assets/bullet3.svg +1 -1
- package/lib/assets/close.svg +1 -1
- package/lib/assets/close2.svg +1 -1
- package/lib/assets/compact2.svg +1 -1
- package/lib/assets/compact22.svg +1 -0
- package/lib/assets/crestron.svg +1 -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/floodlight.svg +1 -1
- package/lib/assets/floodlight2.svg +1 -1
- package/lib/assets/g3-reader-pro.jpg +0 -0
- package/lib/assets/g3-reader-pro2.jpg +0 -0
- package/lib/assets/g3-starter-kit.jpg +0 -0
- package/lib/assets/g3-starter-kit2.jpg +0 -0
- package/lib/assets/g4-ptz.jpg +0 -0
- package/lib/assets/g4-ptz2.jpg +0 -0
- package/lib/assets/g5-bullet.jpg +0 -0
- package/lib/assets/g5-bullet2.jpg +0 -0
- package/lib/assets/g5-dome-ultra.jpg +0 -0
- package/lib/assets/g5-dome-ultra2.jpg +0 -0
- package/lib/assets/g5-dome.jpg +0 -0
- package/lib/assets/g5-dome2.jpg +0 -0
- package/lib/assets/g5-flex.jpg +0 -0
- package/lib/assets/g5-flex2.jpg +0 -0
- package/lib/assets/g5-pro.jpg +0 -0
- package/lib/assets/g5-pro2.jpg +0 -0
- package/lib/assets/g5-ptz.jpg +0 -0
- package/lib/assets/g5-ptz2.jpg +0 -0
- package/lib/assets/g6-bullet.jpg +0 -0
- package/lib/assets/g6-bullet2.jpg +0 -0
- package/lib/assets/globe.svg +1 -1
- package/lib/assets/globe2.svg +1 -1
- package/lib/assets/icon-arrow-up.svg +3 -0
- package/lib/assets/icons/menu/{icon-location-pin.svg.js → icon-arrow-up.svg.js} +6 -6
- package/lib/assets/icons/menu/icon-arrow-up.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-arrow-up.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-arrow-up.svg.mjs.map +1 -0
- package/lib/assets/power.svg +1 -1
- package/lib/assets/power2.svg +1 -1
- package/lib/assets/ptz2.svg +1 -1
- package/lib/assets/ptz3.svg +1 -1
- package/lib/assets/rack.svg +1 -1
- package/lib/assets/rack2.svg +1 -1
- package/lib/assets/ucg-fiber.png +0 -0
- package/lib/assets/udr7.png +0 -0
- package/lib/assets/ux.png +0 -0
- package/lib/assets/ux7.png +0 -0
- package/lib/components/Accordion/Accordion.styles.js +12 -12
- package/lib/components/Accordion/Accordion.styles.js.map +1 -1
- package/lib/components/Avatar/Avatar.styles.js +3 -3
- package/lib/components/Avatar/Avatar.styles.js.map +1 -1
- package/lib/components/BackInStock/BackInStock.styles.js +8 -8
- package/lib/components/BackInStock/BackInStock.styles.js.map +1 -1
- package/lib/components/Badge/Badge.styles.js +18 -18
- package/lib/components/Badge/Badge.styles.js.map +1 -1
- package/lib/components/Button/Button.styles.js +30 -30
- package/lib/components/Button/Button.styles.js.map +1 -1
- package/lib/components/Button/CartButton.styles.js +12 -12
- package/lib/components/Button/CartButton.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +17 -17
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +10 -10
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/CardSection/Card/Card.styles.js +18 -18
- package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
- package/lib/components/CardSection/CardSection.styles.js +5 -5
- package/lib/components/CardSection/CardSection.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +21 -21
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/Checkbox/Checkbox.styles.js +8 -8
- package/lib/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/lib/components/Container/Container.styles.js +8 -8
- package/lib/components/Container/Container.styles.js.map +1 -1
- package/lib/components/CustomImage/CustomImage.js +1 -1
- package/lib/components/CustomImage/CustomImage.mjs +1 -1
- package/lib/components/CustomImage/CustomImage.styles.js +21 -21
- package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
- package/lib/components/Explore/Explore.js +2 -2
- package/lib/components/Explore/Explore.js.map +1 -1
- package/lib/components/Explore/Explore.styles.js +26 -26
- package/lib/components/Explore/Explore.styles.js.map +1 -1
- package/lib/components/Footer/Footer.styles.js +31 -31
- package/lib/components/Footer/Footer.styles.js.map +1 -1
- package/lib/components/GradientButton/GradientButton.styles.js +5 -5
- package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.js +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.styles.js +5 -5
- package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.js +1 -0
- package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.mjs +1 -0
- package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.d.ts +8 -4
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js +10 -15
- package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +2 -7
- package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js +4 -4
- package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.js +4 -3
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +4 -3
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js +8 -8
- package/lib/components/Header/AccountMenu/AccountMenu.styles.js.map +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js +3 -3
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.styles.js +2 -2
- package/lib/components/Header/CartModal/Empty/Empty.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/CartModal.js +1 -1
- package/lib/components/Header/CartModalV2/CartModal.mjs +1 -1
- package/lib/components/Header/CartModalV2/CartModal.styles.js +21 -21
- package/lib/components/Header/CartModalV2/CartModal.styles.js.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.js +13 -13
- package/lib/components/Header/CartModalV2/Item/Item.styles.js.map +1 -1
- package/lib/components/Header/Header.js +11 -4
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +12 -5
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.stories.d.ts +2 -2
- package/lib/components/Header/Header.styles.d.ts +0 -1
- package/lib/components/Header/Header.styles.js +39 -47
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +2 -9
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +6 -3
- package/lib/components/Header/Header.types.js +2 -1
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +2 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/IsolatedHeader.js +2 -0
- package/lib/components/Header/IsolatedHeader.js.map +1 -1
- package/lib/components/Header/IsolatedHeader.mjs +2 -0
- package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.d.ts +0 -8
- package/lib/components/Header/LanguageFrame/LanguageFrame.js +4 -27
- package/lib/components/Header/LanguageFrame/LanguageFrame.js.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.mjs +4 -26
- package/lib/components/Header/LanguageFrame/LanguageFrame.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +14 -20
- 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/LanguageFrame.types.d.ts +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.js +14 -6
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.js.map +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.mjs +16 -8
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js +4 -4
- package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js.map +1 -1
- package/lib/components/Header/LanguageFrame/translations/index.d.ts +8 -0
- package/lib/components/Header/LanguageFrame/translations/index.js +16 -0
- package/lib/components/Header/LanguageFrame/translations/index.js.map +1 -1
- package/lib/components/Header/LanguageFrame/translations/index.mjs +16 -1
- package/lib/components/Header/LanguageFrame/translations/index.mjs.map +1 -1
- package/lib/components/Header/LogoIcon/LogoIcon.d.ts +2 -1
- package/lib/components/Header/LogoIcon/LogoIcon.js +25 -16
- package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -1
- package/lib/components/Header/LogoIcon/LogoIcon.mjs +23 -14
- package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.js +0 -8
- package/lib/components/Header/MenuItem/MenuItem.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.mjs +0 -8
- package/lib/components/Header/MenuItem/MenuItem.mjs.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +19 -19
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -1
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js +16 -16
- package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +20 -20
- package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +24 -23
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +1 -0
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +23 -23
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +2 -2
- package/lib/components/Header/Overlay/Overlay.styles.js +4 -4
- package/lib/components/Header/Overlay/Overlay.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.js +109 -82
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +108 -81
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +12 -7
- package/lib/components/Header/ProHeader/ProHeader.styles.js +144 -64
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +99 -20
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.d.ts +3 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.js +271 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.js.map +1 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.mjs +263 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.mjs.map +1 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.d.ts +17 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js +168 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js.map +1 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs +161 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs.map +1 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.types.d.ts +48 -0
- package/lib/components/HeroVideo/HeroVideo.styles.js +7 -7
- package/lib/components/HeroVideo/HeroVideo.styles.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.styles.js +35 -35
- package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
- package/lib/components/ImageSequence/ImageSequence.styles.js +9 -9
- package/lib/components/ImageSequence/ImageSequence.styles.js.map +1 -1
- package/lib/components/InputSelect/InputSelect.styles.js +5 -5
- package/lib/components/InputSelect/InputSelect.styles.js.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js +2 -2
- package/lib/components/LearnMoreLink/LearnMoreLink.styles.js.map +1 -1
- package/lib/components/Loader/Loader.styles.js +11 -11
- package/lib/components/Loader/Loader.styles.js.map +1 -1
- package/lib/components/Loader/Spinner/Spinner.styles.js +4 -4
- package/lib/components/Loader/Spinner/Spinner.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +2 -2
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js +9 -9
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js +30 -30
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js +12 -12
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -1
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +3 -3
- package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js +6 -6
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js +8 -8
- package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +15 -15
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js +11 -11
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js +13 -13
- package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +23 -23
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/MicrositeHeader.types.d.ts +2 -4
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +0 -28
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js.map +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.mjs +0 -28
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js +43 -54
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs +2 -13
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js +2 -26
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.mjs +3 -27
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js +45 -64
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.mjs +1 -20
- package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/NavigationItem/NavigationItem.d.ts +1 -3
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/NavigationItem/NavigationItem.js +0 -16
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/NavigationItem/NavigationItem.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/NavigationItem/NavigationItem.mjs +0 -16
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/NavigationItem/NavigationItem.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.d.ts +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.js +0 -12
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.mjs +0 -12
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js +18 -19
- 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 +0 -1
- package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js +23 -23
- package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js +18 -18
- package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js +26 -26
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.styles.js +40 -40
- package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js +6 -6
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -35
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js +15 -15
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +13 -13
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js +7 -7
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js.map +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js +2 -2
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +18 -18
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.styles.js +9 -9
- package/lib/components/Microsites/MicrositeProductPage.styles.js.map +1 -1
- package/lib/components/MobileModal/MobileModal.styles.js +10 -10
- package/lib/components/MobileModal/MobileModal.styles.js.map +1 -1
- package/lib/components/Modal/Modal.styles.js +2 -2
- package/lib/components/Modal/Modal.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/HeaderShadow.js +4 -4
- package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +12 -12
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +32 -32
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +8 -8
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +4 -4
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js +50 -50
- package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js +4 -4
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js +13 -13
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +4 -4
- 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 +4 -4
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js +3 -3
- package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js +3 -3
- package/lib/components/ModelCompareV4/ModelCompareV4.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js +37 -37
- package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js +7 -7
- package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js +4 -4
- package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +14 -14
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +11 -11
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.styles.js +3 -3
- package/lib/components/QuantityControls/QuantityControls.styles.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.styles.js +10 -10
- package/lib/components/QuantityInput/QuantityInput.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +607 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +603 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js +7 -7
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +5 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +4 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +4 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +1 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +2 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +10 -10
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +16 -16
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js +8 -8
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js +8 -8
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js +17 -17
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js +16 -16
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js +4 -4
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js +4 -4
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js +3 -3
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +4 -0
- package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +4 -0
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/Reveal/Reveal.styles.js +4 -4
- package/lib/components/Reveal/Reveal.styles.js.map +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js +5 -5
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +31 -31
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.js +1 -1
- package/lib/components/Search/Input/Input.mjs +1 -1
- package/lib/components/Search/Input/Input.styles.js +8 -8
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Modal/Modal.styles.js +17 -17
- package/lib/components/Search/Modal/Modal.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js +3 -3
- package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js +4 -4
- package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js.map +1 -1
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js +11 -11
- package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js.map +1 -1
- package/lib/components/StaticModal/StaticModal.js.map +1 -1
- package/lib/components/StaticModal/StaticModal.mjs.map +1 -1
- package/lib/components/StaticModal/StaticModal.styles.js +3 -3
- package/lib/components/StaticModal/StaticModal.styles.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonColumn.js +2 -2
- package/lib/components/StorybookUtils/StoryButtonColumn.js.map +1 -1
- package/lib/components/StorybookUtils/StoryButtonRow.js +2 -2
- package/lib/components/StorybookUtils/StoryButtonRow.js.map +1 -1
- package/lib/components/StorybookUtils/StorySection.js +3 -3
- package/lib/components/StorybookUtils/StorySection.js.map +1 -1
- package/lib/components/StorybookUtils/StoryVariants.js +5 -5
- package/lib/components/StorybookUtils/StoryVariants.js.map +1 -1
- package/lib/components/StorybookUtils/StoryWrapper.js +2 -2
- package/lib/components/StorybookUtils/StoryWrapper.js.map +1 -1
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js +2 -2
- package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
- package/lib/components/Toggle/Toggle.styles.js +4 -4
- package/lib/components/Toggle/Toggle.styles.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.styles.js +3 -3
- package/lib/components/Tooltip/Tooltip.styles.js.map +1 -1
- package/lib/components/UICare/UICare.styles.js +13 -13
- package/lib/components/UICare/UICare.styles.js.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +29 -29
- package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/constants/address.d.ts +8 -0
- package/lib/constants/address.js +8 -0
- package/lib/constants/address.js.map +1 -1
- package/lib/constants/address.mjs +8 -0
- package/lib/constants/address.mjs.map +1 -1
- package/lib/constants/icons/generic/close.svg.js +1 -1
- package/lib/constants/icons/generic/close.svg.mjs +2 -2
- package/lib/constants/icons/generic/index.js +1 -1
- package/lib/constants/icons/generic/index.mjs +1 -1
- package/lib/constants/icons/header/globe.svg.js +1 -1
- package/lib/constants/icons/header/globe.svg.mjs +2 -2
- package/lib/constants/icons/header/index.js +1 -1
- package/lib/constants/icons/header/index.mjs +1 -1
- package/lib/constants/icons/menu/floodlight.svg.js +5 -5
- package/lib/constants/icons/menu/floodlight.svg.mjs +2 -2
- package/lib/constants/icons/menu/index.js +9 -9
- package/lib/constants/icons/menu/index.mjs +3 -3
- package/lib/constants/icons/menu/power.svg.js +5 -5
- package/lib/constants/icons/menu/power.svg.mjs +2 -2
- package/lib/constants/icons/menu/rack.svg.js +5 -5
- package/lib/constants/icons/menu/rack.svg.mjs +2 -2
- package/lib/constants/mixin.js +3 -3
- package/lib/constants/mixin.js.map +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/ai-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/bullet.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/bullet.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/Bullet/g5-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/g5-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/g6-bullet.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/g6-bullet.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/CameraSecurity/ai-pro.jpg.js +5 -5
- package/lib/constants/modelCompareData/assets/CameraSecurity/ai-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/CameraSecurity/ai-theta-pro.jpg.js +5 -5
- package/lib/constants/modelCompareData/assets/CameraSecurity/ai-theta-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/CameraSecurity/ai-theta.jpg.js +5 -5
- package/lib/constants/modelCompareData/assets/CameraSecurity/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/CameraSecurity/g5-pro.jpg.js +5 -5
- package/lib/constants/modelCompareData/assets/CameraSecurity/g5-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/CameraSecurity/g6-bullet.jpg.js +5 -5
- package/lib/constants/modelCompareData/assets/CameraSecurity/g6-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/g5-dome-ultra.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome-ultra.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.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/g3-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.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/Interior/ai-theta-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Interior/ai-theta-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/PTZ/g4-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/PTZ/g4-ptz.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/compact.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/compact.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/crestron.svg.js +27 -0
- package/lib/constants/modelCompareData/assets/crestron.svg.js.map +1 -0
- package/lib/constants/modelCompareData/assets/crestron.svg.mjs +3 -0
- package/lib/constants/modelCompareData/assets/crestron.svg.mjs.map +1 -0
- package/lib/constants/modelCompareData/assets/floodlight.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/floodlight.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/globe.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/globe.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/power.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/power.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/bullet.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/bullet.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/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/g5-dome-ultra.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome-ultra.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.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/g3-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.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/interior-design/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g4-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g4-ptz.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/compact2.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/compact2.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/ptz.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/ptz.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/ptz.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/ptz.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/rack.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/rack.svg.mjs +2 -2
- package/lib/constants/modelCompareData/data/CameraSecurity.js +11 -11
- package/lib/constants/modelCompareData/data/CameraSecurity.mjs +6 -6
- package/lib/constants/modelCompareData/data/EnterpriseSwitching.js +3 -2
- package/lib/constants/modelCompareData/data/EnterpriseSwitching.js.map +1 -1
- package/lib/constants/modelCompareData/data/EnterpriseSwitching.mjs +3 -2
- package/lib/constants/modelCompareData/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/ProfessionalMaxSwitching.js +3 -2
- package/lib/constants/modelCompareData/data/ProfessionalMaxSwitching.js.map +1 -1
- package/lib/constants/modelCompareData/data/ProfessionalMaxSwitching.mjs +3 -2
- package/lib/constants/modelCompareData/data/ProfessionalMaxSwitching.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/Switching.js +2 -1
- package/lib/constants/modelCompareData/data/Switching.js.map +1 -1
- package/lib/constants/modelCompareData/data/Switching.mjs +2 -1
- package/lib/constants/modelCompareData/data/Switching.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Bullet.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Bullet.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Ptz.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Ptz.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/bullet.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/bullet.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/productListSwitchingCompact.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/productListSwitchingCompact.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/ptz.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/ptz.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/aggregation.js +7 -0
- package/lib/constants/modelCompareData/data/products/aggregation.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/aggregation.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/aggregation.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiPro.js +1 -1
- package/lib/constants/modelCompareData/data/products/aiPro.mjs +1 -1
- 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 -2
- package/lib/constants/modelCompareData/data/products/efg.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/enterpriseCampus24PoE.js +7 -0
- package/lib/constants/modelCompareData/data/products/enterpriseCampus24PoE.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/enterpriseCampus24PoE.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/enterpriseCampus24PoE.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/enterpriseCampus48PoE.js +7 -0
- package/lib/constants/modelCompareData/data/products/enterpriseCampus48PoE.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/enterpriseCampus48PoE.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/enterpriseCampus48PoE.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/enterpriseCampusAggregation.js +7 -0
- package/lib/constants/modelCompareData/data/products/enterpriseCampusAggregation.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/enterpriseCampusAggregation.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/enterpriseCampusAggregation.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/express.js +2 -2
- package/lib/constants/modelCompareData/data/products/express.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/express7.js +2 -2
- package/lib/constants/modelCompareData/data/products/express7.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/g3ReaderPro.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderPro.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/g4Ptz.js +2 -2
- package/lib/constants/modelCompareData/data/products/g4Ptz.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/g5Dome.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Dome.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5DomeUltra.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5DomeUltra.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/g5Pro.js +1 -1
- package/lib/constants/modelCompareData/data/products/g5Pro.mjs +1 -1
- 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/g6Bullet.js +1 -1
- package/lib/constants/modelCompareData/data/products/g6Bullet.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/highCapacityAggregation.js +7 -0
- package/lib/constants/modelCompareData/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/highCapacityAggregation.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/missionCritical.js +7 -0
- package/lib/constants/modelCompareData/data/products/missionCritical.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/missionCritical.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/missionCritical.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax16.js +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax16.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax16.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax16.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax16PoE.js +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax16PoE.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax24.js +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax24.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax24.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax24.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax24PoE.js +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax24PoE.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax48.js +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax48.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax48.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax48.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax48PoE.js +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/professionalMax48PoE.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesEnterprise.js +8 -0
- package/lib/constants/modelCompareData/data/products/switchesEnterprise.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesEnterprise.mjs +8 -0
- package/lib/constants/modelCompareData/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesProfessional.js +7 -0
- package/lib/constants/modelCompareData/data/products/switchesProfessional.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesProfessional.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesProfessionalMax.js +10 -1
- package/lib/constants/modelCompareData/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesProfessionalMax.mjs +10 -1
- package/lib/constants/modelCompareData/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesStandard.js +7 -0
- package/lib/constants/modelCompareData/data/products/switchesStandard.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/switchesStandard.mjs +7 -0
- package/lib/constants/modelCompareData/data/products/switchesStandard.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/products/theta.js +2 -2
- package/lib/constants/modelCompareData/data/products/theta.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/thetaPro.js +1 -1
- package/lib/constants/modelCompareData/data/products/thetaPro.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/ucgUltra.js +2 -2
- package/lib/constants/modelCompareData/data/products/ucgUltra.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/udr.js +5 -5
- package/lib/constants/modelCompareData/data/products/udr.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitch.js +2 -2
- package/lib/constants/modelCompareData/data/products/uispSwitch.js.map +1 -1
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js +2 -2
- package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js.map +1 -1
- package/lib/constants/modelCompareData/data/properties/accessPowerMethod.js +1 -1
- package/lib/constants/modelCompareData/data/properties/accessPowerMethod.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/availability.js +1 -1
- package/lib/constants/modelCompareData/data/properties/availability.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/builtInFloodlight.js +1 -1
- package/lib/constants/modelCompareData/data/properties/builtInFloodlight.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/crestronNaxNvxCertified.d.ts +2 -0
- package/lib/constants/modelCompareData/data/properties/crestronNaxNvxCertified.js +18 -0
- package/lib/constants/modelCompareData/data/properties/crestronNaxNvxCertified.js.map +1 -0
- package/lib/constants/modelCompareData/data/properties/crestronNaxNvxCertified.mjs +10 -0
- package/lib/constants/modelCompareData/data/properties/crestronNaxNvxCertified.mjs.map +1 -0
- package/lib/constants/modelCompareData/data/properties/dcPowerOutput.js +1 -1
- package/lib/constants/modelCompareData/data/properties/dcPowerOutput.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/index.d.ts +1 -0
- package/lib/constants/modelCompareData/data/properties/index.js +2 -0
- package/lib/constants/modelCompareData/data/properties/index.js.map +1 -1
- package/lib/constants/modelCompareData/data/properties/index.mjs +1 -0
- package/lib/constants/modelCompareData/data/properties/index.mjs.map +1 -1
- package/lib/constants/modelCompareData/data/properties/mounting.js +1 -1
- package/lib/constants/modelCompareData/data/properties/mounting.mjs +1 -1
- package/lib/constants/modelCompareData/data/properties/webMode.js +1 -1
- package/lib/constants/modelCompareData/data/properties/webMode.mjs +1 -1
- package/lib/constants/modelCompareData/translations/en.json.js +3 -0
- package/lib/constants/modelCompareData/translations/en.json.js.map +1 -1
- package/lib/constants/modelCompareData/translations/en.json.mjs +3 -0
- package/lib/constants/modelCompareData/translations/en.json.mjs.map +1 -1
- package/lib/constants/modelCompareData/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/constants/modelCompareData/types.d.ts +1 -0
- package/lib/constants/modelCompareData/types.js +1 -0
- package/lib/constants/modelCompareData/types.js.map +1 -1
- package/lib/constants/modelCompareData/types.mjs +1 -0
- package/lib/constants/modelCompareData/types.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.js +16 -6
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +16 -6
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +3 -1
- package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js +3 -3
- package/lib/contexts/MenuContext/mapping.mjs +2 -2
- package/lib/contexts/MenuContext/utils.d.ts +0 -10
- package/lib/contexts/MenuContext/utils.js +0 -28
- package/lib/contexts/MenuContext/utils.js.map +1 -1
- package/lib/contexts/MenuContext/utils.mjs +1 -27
- package/lib/contexts/MenuContext/utils.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.js +3 -3
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +2 -2
- package/lib/types/generated.d.ts +1 -0
- package/lib/types/generated.js +1 -0
- package/lib/types/generated.js.map +1 -1
- package/lib/types/generated.mjs +1 -0
- package/lib/types/generated.mjs.map +1 -1
- package/lib/utils/address.d.ts +67 -1
- package/lib/utils/address.js +3 -2
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +3 -2
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/tax/index.d.ts +8 -0
- package/lib/utils/tax/index.js +18 -0
- package/lib/utils/tax/index.js.map +1 -1
- package/lib/utils/tax/index.mjs +18 -0
- package/lib/utils/tax/index.mjs.map +1 -1
- package/lib/utils/tax/types.d.ts +3 -1
- package/lib/utils/tax/types.js +2 -0
- package/lib/utils/tax/types.js.map +1 -1
- package/lib/utils/tax/types.mjs +2 -0
- package/lib/utils/tax/types.mjs.map +1 -1
- package/lib/utils/validations/address2SuperRefinement.js +1 -1
- package/lib/utils/validations/address2SuperRefinement.js.map +1 -1
- package/lib/utils/validations/address2SuperRefinement.mjs +1 -1
- package/lib/utils/validations/address2SuperRefinement.mjs.map +1 -1
- package/lib/utils/validations/taxIdSuperRefinement.js +1 -1
- package/lib/utils/validations/taxIdSuperRefinement.js.map +1 -1
- package/lib/utils/validations/taxIdSuperRefinement.mjs +1 -1
- package/lib/utils/validations/taxIdSuperRefinement.mjs.map +1 -1
- package/package.json +41 -41
- package/lib/assets/compact3.svg +0 -1
- package/lib/assets/icon-location-pin.svg +0 -1
- package/lib/assets/icons/menu/icon-location-pin.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +0 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +0 -255
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +0 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +0 -245
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +0 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +0 -54
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +0 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +0 -47
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +0 -1
- package/lib/components/Header/Navigation/ProMobileMenu/index.js +0 -6
- package/lib/components/Header/Navigation/ProMobileMenu/index.js.map +0 -1
- package/lib/components/Header/Navigation/ProMobileMenu/index.mjs +0 -3
- package/lib/components/Header/Navigation/ProMobileMenu/index.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGroupsGrid.js","sources":["../../../src/components/ModelCompareV3/ProductGroupsGrid.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { css, styled } from \"styled-components\";\n\nimport { useModelCompareTranslation } from \"../../constants/modelCompareData/translations/useModelCompareTranslation\";\nimport type {\n MutatedProduct,\n ProductGroup,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\n\nexport const ProductGroupsGrid = ({\n products,\n}: {\n products: MutatedProduct[];\n}) => {\n const { formatMessage } = useModelCompareTranslation();\n\n const allProductGroups = useMemo(() => {\n return products.map((p) => p.productGroup ?? null);\n }, [products]);\n\n const groupGroups = useMemo(() => {\n const result: { productGroup: ProductGroup | null; span: number }[] = [];\n\n let current: (typeof result)[number] = {\n productGroup: null,\n span: 0,\n };\n\n for (const productGroup of allProductGroups) {\n const productGroupId = productGroup?.id ?? null;\n if (productGroupId === (current.productGroup?.id ?? null)) {\n current.span++;\n continue;\n }\n result.push(current);\n current = { productGroup, span: 1 };\n }\n if (current.span) {\n result.push(current);\n }\n\n return result.filter((x) => !!x.span);\n }, [allProductGroups]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ProductGroups columns={products.length}>\n {groupGroups.map(({ productGroup, span }, i) => (\n <Collection key={i} $span={span}>\n {productGroup ? (\n <TopContainer noCategoryBorder={false}>\n <GroupIconWrap>\n <GroupIcon {...productGroup.icon} />\n </GroupIconWrap>\n <GroupTitle>{formatMessage(productGroup.title)}</GroupTitle>\n </TopContainer>\n ) : (\n <div />\n )}\n </Collection>\n ))}\n </ProductGroups>\n );\n};\n\nconst ProductGroups = styled.div<{ columns: number }>`\n grid-column: 3 / -2;\n display: grid;\n gap: 20px;\n padding: 0 10px;\n grid-template-columns: repeat(${({ columns }) => columns}, minmax(0, 1fr));\n`;\n\nconst Collection = styled.div<{ $span?: number }>`\n grid-column: span ${({ $span }) => $span ?? 1};\n background-color: ${theme.colors.white};\n`;\n\nconst TopContainer = styled.div<{\n noCategoryBorder?: boolean;\n}>`\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 7px;\n padding-top: 20px;\n margin-bottom: 8px;\n height: 80px;\n position: relative;\n\n &::after {\n content: \"\";\n\n width: 100%;\n height: 50%;\n\n position: absolute;\n bottom: 0;\n right: 0;\n\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n\n ${({ noCategoryBorder }) =>\n !noCategoryBorder &&\n css`\n border: 1.2px dashed ${theme.colors.menu.categoryIcon.dark};\n `}\n\n border-bottom: 0;\n }\n\n &::before {\n content: \"\";\n height: 30px;\n\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 1;\n\n background: linear-gradient(\n 180deg,\n rgb(255 255 255 / 0) 0%,\n rgb(255 255 255 / 1) 100%\n );\n }\n`;\n\nconst GroupIconWrap = styled.div`\n z-index: 1;\n\n background-color: ${theme.colors.white};\n\n padding: 0 2px;\n`;\n\nconst GroupIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.menu.categoryIcon.dark};\n`;\n\nconst GroupTitle = styled.div`\n color: #8e8e8e;\n font-size: 12px;\n letter-spacing: -0.024px;\n z-index: 2;\n`;\n"],"names":["ProductGroupsGrid","products","formatMessage","useModelCompareTranslation","allProductGroups","useMemo","map","p","productGroup","groupGroups","result","current","span","productGroupId","id","push","filter","x","jsx","ProductGroups","columns","length","children","i","Collection","$span","jsxs","TopContainer","noCategoryBorder","GroupIconWrap","GroupIcon","icon","GroupTitle","title","styled","div","theme","colors","white","css","menu","categoryIcon","dark","StyleableSvgImage"],"mappings":";;;;;;;;;;AAWO,MAAMA,oBAAoBA,CAAC;EAChCC;AACF,CAAA,KAEM;EACJ,MAAM;IAAEC;EAAA,CAAc,GAAIC,qDAAA,CAAA,CAA2B;EAErD,MAAMC,gBAAA,GAAmBC,KAAAA,CAAAA,QAAQ,MAAM;IACrC,OAAOJ,SAASK,GAAA,CAAKC,CAAA,IAAMA,CAAA,CAAEC,gBAAgB,IAAI,CAAA;EACnD,CAAA,EAAG,CAACP,QAAQ,CAAC,CAAA;EAEb,MAAMQ,WAAA,GAAcJ,KAAAA,CAAAA,QAAQ,MAAM;IAChC,MAAMK,SAAgE,EAAC;IAEvE,IAAIC,OAAA,GAAmC;MACrCH,YAAA,EAAc,IAAA;MACdI,IAAA,EAAM;IAAA,CACR;IAEA,KAAA,MAAWJ,gBAAgBJ,gBAAA,EAAkB;MAC3C,MAAMS,cAAA,GAAiBL,cAAcM,EAAA,IAAM,IAAA;MAC3C,IAAID,cAAA,MAAoBF,OAAA,CAAQH,YAAA,EAAcM,EAAA,IAAM,IAAA,CAAA,EAAO;QACzDH,OAAA,CAAQC,IAAA,EAAA;QACR;MACF;MACAF,MAAA,CAAOK,KAAKJ,OAAO,CAAA;MACnBA,OAAA,GAAU;QAAEH,YAAA;QAAcI,IAAA,EAAM;MAAA,CAAE;IACpC;IACA,IAAID,QAAQC,IAAA,EAAM;MAChBF,MAAA,CAAOK,KAAKJ,OAAO,CAAA;IACrB;IAEA,OAAOD,OAAOM,MAAA,CAAQC,KAAM,CAAC,CAACA,EAAEL,IAAI,CAAA;EACtC,CAAA,EAAG,CAACR,gBAAgB,CAAC,CAAA;EAKrB,OAAA,eACEc,cAAA,CAACC;IAAcC,OAAA,EAASnB,QAAA,CAASoB;IAC9BC,QAAA,EAAAb,WAAA,CAAYH,GAAA,CAAI,CAAC;MAAEE,YAAA;MAAcI;KAAK,EAAGW,CAAA,KAAA,8BACvCC,UAAA,EAAA;MAAmBC,KAAA,EAAOb;MACxBU,QAAA,EAAAd,YAAA,GAAA,eACCkB,UAAAA,CAAAA,IAAA,CAACC,YAAA,EAAA;QAAaC,gBAAA,EAAkB,KAAA;QAC9BN,QAAA,EAAA,CAAA,eAAAJ,cAAA,CAACW;UACCP,QAAA,iBAAAJ,UAAAA,CAAAA,GAAA,CAACY,SAAA,EAAA;YAAW,GAAGtB,YAAA,CAAauB;WAAM;SACpC,CAAA,EAAA,eACAb,UAAAA,CAAAA,GAAA,CAACc,UAAA,EAAA;UAAYV,QAAA,EAAApB,aAAA,CAAcM,YAAA,CAAayB,KAAK;QAAA,CAAE,CAAA;MAAA,CACjD,mBAEAf,UAAAA,CAAAA,GAAA,CAAC,KAAA,EAAA,CAAA,CAAI;KAAA,EATQK,CAWjB,CACD;GACH,CAAA;AAEJ,CAAA;AAEA,MAAMJ,gBAAgBe,
|
|
1
|
+
{"version":3,"file":"ProductGroupsGrid.js","sources":["../../../src/components/ModelCompareV3/ProductGroupsGrid.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { css, styled } from \"styled-components\";\n\nimport { useModelCompareTranslation } from \"../../constants/modelCompareData/translations/useModelCompareTranslation\";\nimport type {\n MutatedProduct,\n ProductGroup,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\n\nexport const ProductGroupsGrid = ({\n products,\n}: {\n products: MutatedProduct[];\n}) => {\n const { formatMessage } = useModelCompareTranslation();\n\n const allProductGroups = useMemo(() => {\n return products.map((p) => p.productGroup ?? null);\n }, [products]);\n\n const groupGroups = useMemo(() => {\n const result: { productGroup: ProductGroup | null; span: number }[] = [];\n\n let current: (typeof result)[number] = {\n productGroup: null,\n span: 0,\n };\n\n for (const productGroup of allProductGroups) {\n const productGroupId = productGroup?.id ?? null;\n if (productGroupId === (current.productGroup?.id ?? null)) {\n current.span++;\n continue;\n }\n result.push(current);\n current = { productGroup, span: 1 };\n }\n if (current.span) {\n result.push(current);\n }\n\n return result.filter((x) => !!x.span);\n }, [allProductGroups]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ProductGroups columns={products.length}>\n {groupGroups.map(({ productGroup, span }, i) => (\n <Collection key={i} $span={span}>\n {productGroup ? (\n <TopContainer noCategoryBorder={false}>\n <GroupIconWrap>\n <GroupIcon {...productGroup.icon} />\n </GroupIconWrap>\n <GroupTitle>{formatMessage(productGroup.title)}</GroupTitle>\n </TopContainer>\n ) : (\n <div />\n )}\n </Collection>\n ))}\n </ProductGroups>\n );\n};\n\nconst ProductGroups = styled.div<{ columns: number }>`\n grid-column: 3 / -2;\n display: grid;\n gap: 20px;\n padding: 0 10px;\n grid-template-columns: repeat(${({ columns }) => columns}, minmax(0, 1fr));\n`;\n\nconst Collection = styled.div<{ $span?: number }>`\n grid-column: span ${({ $span }) => $span ?? 1};\n background-color: ${theme.colors.white};\n`;\n\nconst TopContainer = styled.div<{\n noCategoryBorder?: boolean;\n}>`\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 7px;\n padding-top: 20px;\n margin-bottom: 8px;\n height: 80px;\n position: relative;\n\n &::after {\n content: \"\";\n\n width: 100%;\n height: 50%;\n\n position: absolute;\n bottom: 0;\n right: 0;\n\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n\n ${({ noCategoryBorder }) =>\n !noCategoryBorder &&\n css`\n border: 1.2px dashed ${theme.colors.menu.categoryIcon.dark};\n `}\n\n border-bottom: 0;\n }\n\n &::before {\n content: \"\";\n height: 30px;\n\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 1;\n\n background: linear-gradient(\n 180deg,\n rgb(255 255 255 / 0) 0%,\n rgb(255 255 255 / 1) 100%\n );\n }\n`;\n\nconst GroupIconWrap = styled.div`\n z-index: 1;\n\n background-color: ${theme.colors.white};\n\n padding: 0 2px;\n`;\n\nconst GroupIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.menu.categoryIcon.dark};\n`;\n\nconst GroupTitle = styled.div`\n color: #8e8e8e;\n font-size: 12px;\n letter-spacing: -0.024px;\n z-index: 2;\n`;\n"],"names":["ProductGroupsGrid","products","formatMessage","useModelCompareTranslation","allProductGroups","useMemo","map","p","productGroup","groupGroups","result","current","span","productGroupId","id","push","filter","x","jsx","ProductGroups","columns","length","children","i","Collection","$span","jsxs","TopContainer","noCategoryBorder","GroupIconWrap","GroupIcon","icon","GroupTitle","title","styled","div","theme","colors","white","css","menu","categoryIcon","dark","StyleableSvgImage"],"mappings":";;;;;;;;;;AAWO,MAAMA,oBAAoBA,CAAC;EAChCC;AACF,CAAA,KAEM;EACJ,MAAM;IAAEC;EAAA,CAAc,GAAIC,qDAAA,CAAA,CAA2B;EAErD,MAAMC,gBAAA,GAAmBC,KAAAA,CAAAA,QAAQ,MAAM;IACrC,OAAOJ,SAASK,GAAA,CAAKC,CAAA,IAAMA,CAAA,CAAEC,gBAAgB,IAAI,CAAA;EACnD,CAAA,EAAG,CAACP,QAAQ,CAAC,CAAA;EAEb,MAAMQ,WAAA,GAAcJ,KAAAA,CAAAA,QAAQ,MAAM;IAChC,MAAMK,SAAgE,EAAC;IAEvE,IAAIC,OAAA,GAAmC;MACrCH,YAAA,EAAc,IAAA;MACdI,IAAA,EAAM;IAAA,CACR;IAEA,KAAA,MAAWJ,gBAAgBJ,gBAAA,EAAkB;MAC3C,MAAMS,cAAA,GAAiBL,cAAcM,EAAA,IAAM,IAAA;MAC3C,IAAID,cAAA,MAAoBF,OAAA,CAAQH,YAAA,EAAcM,EAAA,IAAM,IAAA,CAAA,EAAO;QACzDH,OAAA,CAAQC,IAAA,EAAA;QACR;MACF;MACAF,MAAA,CAAOK,KAAKJ,OAAO,CAAA;MACnBA,OAAA,GAAU;QAAEH,YAAA;QAAcI,IAAA,EAAM;MAAA,CAAE;IACpC;IACA,IAAID,QAAQC,IAAA,EAAM;MAChBF,MAAA,CAAOK,KAAKJ,OAAO,CAAA;IACrB;IAEA,OAAOD,OAAOM,MAAA,CAAQC,KAAM,CAAC,CAACA,EAAEL,IAAI,CAAA;EACtC,CAAA,EAAG,CAACR,gBAAgB,CAAC,CAAA;EAKrB,OAAA,eACEc,cAAA,CAACC;IAAcC,OAAA,EAASnB,QAAA,CAASoB;IAC9BC,QAAA,EAAAb,WAAA,CAAYH,GAAA,CAAI,CAAC;MAAEE,YAAA;MAAcI;KAAK,EAAGW,CAAA,KAAA,8BACvCC,UAAA,EAAA;MAAmBC,KAAA,EAAOb;MACxBU,QAAA,EAAAd,YAAA,GAAA,eACCkB,UAAAA,CAAAA,IAAA,CAACC,YAAA,EAAA;QAAaC,gBAAA,EAAkB,KAAA;QAC9BN,QAAA,EAAA,CAAA,eAAAJ,cAAA,CAACW;UACCP,QAAA,iBAAAJ,UAAAA,CAAAA,GAAA,CAACY,SAAA,EAAA;YAAW,GAAGtB,YAAA,CAAauB;WAAM;SACpC,CAAA,EAAA,eACAb,UAAAA,CAAAA,GAAA,CAACc,UAAA,EAAA;UAAYV,QAAA,EAAApB,aAAA,CAAcM,YAAA,CAAayB,KAAK;QAAA,CAAE,CAAA;MAAA,CACjD,mBAEAf,UAAAA,CAAAA,GAAA,CAAC,KAAA,EAAA,CAAA,CAAI;KAAA,EATQK,CAWjB,CACD;GACH,CAAA;AAEJ,CAAA;AAEA,MAAMJ,gBAAgBe,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAKK,CAAC;EAAEf;AAAA,CAAQ,KAAMA,OAAO;AAAA,CAAA;AAG1D,MAAMI,aAAaU,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA,sBACJ,CAAC;EAAEV;CAAM,KAAMA,SAAS,CAAC;AAAA,sBACzBW,KAAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA,CAAA;AAGxC,MAAMX,eAAeO,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,MAyBtB,CAAC;EAAEP;CAAiB,KACpB,CAACA,gBAAA,IACDW,gBAAAA,CAAAA,GAAA;AAAA,+BACyBH,KAAAA,CAAAA,KAAA,CAAMC,MAAA,CAAOG,IAAA,CAAKC,YAAA,CAAaC,IAAI;AAAA,OAC3D;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAuBP,MAAMb,gBAAgBK,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;;AAAA,sBAGPC,KAAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;;AAAA;AAAA,CAAA;AAKxC,MAAMR,SAAA,GAAYI,gBAAAA,CAAAA,OAAOS,mCAAiB,CAAA;AAAA,WAC/BP,KAAAA,CAAAA,KAAA,CAAMC,MAAA,CAAOG,IAAA,CAAKC,YAAA,CAAaC,IAAI;AAAA,CAAA;AAG9C,MAAMV,aAAaE,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var styledComponents = require('styled-components');
|
|
6
6
|
require('../ScrollGroup/index.js');
|
|
7
7
|
var context$1 = require('./context.js');
|
|
8
8
|
var ScrollGroup = require('../ScrollGroup/ScrollGroup.js');
|
|
@@ -71,7 +71,7 @@ function StickyGridProvider({
|
|
|
71
71
|
children
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
const StyledStickyGrid =
|
|
74
|
+
const StyledStickyGrid = styledComponents.styled.div`
|
|
75
75
|
position: relative;
|
|
76
76
|
`;
|
|
77
77
|
exports.StickyGrid = StickyGrid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGrid.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGrid.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useCallback, useMemo, useRef, useState } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport {\n ScrollGroup,\n useScrollGroupContext,\n useScrollGroupTo,\n} from \"../ScrollGroup\";\nimport type { StickyGridContextType } from \"./context\";\nimport { StickyGridContext } from \"./context\";\n\nexport function StickyGrid({\n children,\n templateColumns,\n gap,\n}: {\n children: ReactNode;\n templateColumns: string;\n gap?: string;\n}) {\n const wrapperRef = useRef<HTMLDivElement>(null);\n const [isAtMinX, setIsAtMinX] = useState(true);\n const [isAtMaxX, setIsAtMaxX] = useState(true);\n\n const evaluateXEndpoints = useCallback(\n (element: HTMLElement) => {\n if (element.scrollLeft === 0) {\n if (!isAtMinX) {\n setIsAtMinX(true);\n }\n } else if (isAtMinX) {\n setIsAtMinX(false);\n }\n if (element.scrollLeft + 1 >= element.scrollWidth - element.clientWidth) {\n if (!isAtMaxX) {\n setIsAtMaxX(true);\n }\n } else if (isAtMaxX) {\n setIsAtMaxX(false);\n }\n },\n [isAtMaxX, isAtMinX],\n );\n\n const value = useMemo(\n () => ({\n templateColumns,\n gap,\n isAtMaxX,\n isAtMinX,\n setIsAtMaxX,\n setIsAtMinX,\n }),\n [isAtMaxX, isAtMinX, templateColumns, gap],\n );\n\n return (\n <ScrollGroup\n onScrollItem={evaluateXEndpoints}\n onAddItem={evaluateXEndpoints}\n onResizeItem={evaluateXEndpoints}\n >\n <StickyGridProvider value={value}>\n <StyledStickyGrid ref={wrapperRef}>{children}</StyledStickyGrid>\n </StickyGridProvider>\n </ScrollGroup>\n );\n}\n\nfunction StickyGridProvider({\n value,\n children,\n}: {\n value: Omit<StickyGridContextType, \"scrollTo\" | \"scrollGroupItemsRef\">;\n children: ReactNode;\n}) {\n const scrollTo = useScrollGroupTo();\n const { scrollGroupItemsRef } = useScrollGroupContext();\n return (\n <StickyGridContext.Provider\n value={useMemo(\n () => ({ ...value, scrollGroupItemsRef, scrollTo }),\n [scrollGroupItemsRef, scrollTo, value],\n )}\n >\n {children}\n </StickyGridContext.Provider>\n );\n}\n\nconst StyledStickyGrid = styled.div`\n position: relative;\n`;\n"],"names":["StickyGrid","children","templateColumns","gap","wrapperRef","useRef","isAtMinX","setIsAtMinX","useState","isAtMaxX","setIsAtMaxX","evaluateXEndpoints","useCallback","element","scrollLeft","scrollWidth","clientWidth","value","useMemo","jsx","ScrollGroup","onScrollItem","onAddItem","onResizeItem","StickyGridProvider","StyledStickyGrid","ref","scrollTo","useScrollGroupTo","scrollGroupItemsRef","useScrollGroupContext","StickyGridContext","Provider","styled","div"],"mappings":";;;;;;;;;;;AAYO,SAASA,UAAAA,CAAW;EACzBC,QAAA;EACAC,eAAA;EACAC;AACF,CAAA,EAIG;EACD,MAAMC,UAAA,GAAaC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9C,MAAM,CAACC,QAAA,EAAUC,WAAW,CAAA,GAAIC,KAAAA,CAAAA,SAAS,IAAI,CAAA;EAC7C,MAAM,CAACC,QAAA,EAAUC,WAAW,CAAA,GAAIF,KAAAA,CAAAA,SAAS,IAAI,CAAA;EAE7C,MAAMG,kBAAA,GAAqBC,KAAAA,CAAAA,WAAA,CACxBC,OAAA,IAAyB;IACxB,IAAIA,OAAA,CAAQC,eAAe,CAAA,EAAG;MAC5B,IAAI,CAACR,QAAA,EAAU;QACbC,WAAA,CAAY,IAAI,CAAA;MAClB;IACF,WAAWD,QAAA,EAAU;MACnBC,WAAA,CAAY,KAAK,CAAA;IACnB;IACA,IAAIM,QAAQC,UAAA,GAAa,CAAA,IAAKD,OAAA,CAAQE,WAAA,GAAcF,QAAQG,WAAA,EAAa;MACvE,IAAI,CAACP,QAAA,EAAU;QACbC,WAAA,CAAY,IAAI,CAAA;MAClB;IACF,WAAWD,QAAA,EAAU;MACnBC,WAAA,CAAY,KAAK,CAAA;IACnB;EACF,CAAA,EACA,CAACD,UAAUH,QAAQ,CAAA,CACrB;EAEA,MAAMW,KAAA,GAAQC,KAAAA,CAAAA,OAAA,CACZ,OAAO;IACLhB,eAAA;IACAC,GAAA;IACAM,QAAA;IACAH,QAAA;IACAI,WAAA;IACAH;EAAA,CACF,CAAA,EACA,CAACE,QAAA,EAAUH,QAAA,EAAUJ,eAAA,EAAiBC,GAAG,CAAA,CAC3C;EAEA,sBACEgB,UAAAA,CAAAA,GAAA,CAACC,WAAAA,CAAAA,WAAA,EAAA;IACCC,YAAA,EAAcV,kBAAA;IACdW,SAAA,EAAWX,kBAAA;IACXY,YAAA,EAAcZ,kBAAA;IAEdV,QAAA,iBAAAkB,UAAAA,CAAAA,GAAA,CAACK;MAAmBP,KAAA;MAClBhB,QAAA,EAAA,eAAAkB,cAAA,CAACM;QAAiBC,GAAA,EAAKtB,UAAA;QAAaH;OAAS;IAAA,CAC/C;EAAA,CAAA,CACF;AAEJ;AAEA,SAASuB,kBAAAA,CAAmB;EAC1BP,KAAA;EACAhB;AACF,CAAA,EAGG;EACD,MAAM0B,WAAWC,gBAAAA,CAAAA,gBAAA,CAAA,CAAiB;EAClC,MAAM;IAAEC;EAAA,CAAoB,GAAIC,6BAAA,CAAA,CAAsB;EACtD,sBACEX,UAAAA,CAAAA,GAAA,CAACY,SAAAA,CAAAA,iBAAA,CAAkBC,QAAA,EAAlB;IACCf,KAAA,EAAOC,KAAAA,CAAAA,OAAA,CACL,OAAO;MAAE,GAAGD,KAAA;MAAOY;MAAqBF;IAAA,CAAS,CAAA,EACjD,CAACE,mBAAA,EAAqBF,QAAA,EAAUV,KAAK,CAAA,CACvC;IAEChB;EAAA,CAAA,CACH;AAEJ;AAEA,MAAMwB,mBAAmBQ,
|
|
1
|
+
{"version":3,"file":"StickyGrid.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGrid.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useCallback, useMemo, useRef, useState } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport {\n ScrollGroup,\n useScrollGroupContext,\n useScrollGroupTo,\n} from \"../ScrollGroup\";\nimport type { StickyGridContextType } from \"./context\";\nimport { StickyGridContext } from \"./context\";\n\nexport function StickyGrid({\n children,\n templateColumns,\n gap,\n}: {\n children: ReactNode;\n templateColumns: string;\n gap?: string;\n}) {\n const wrapperRef = useRef<HTMLDivElement>(null);\n const [isAtMinX, setIsAtMinX] = useState(true);\n const [isAtMaxX, setIsAtMaxX] = useState(true);\n\n const evaluateXEndpoints = useCallback(\n (element: HTMLElement) => {\n if (element.scrollLeft === 0) {\n if (!isAtMinX) {\n setIsAtMinX(true);\n }\n } else if (isAtMinX) {\n setIsAtMinX(false);\n }\n if (element.scrollLeft + 1 >= element.scrollWidth - element.clientWidth) {\n if (!isAtMaxX) {\n setIsAtMaxX(true);\n }\n } else if (isAtMaxX) {\n setIsAtMaxX(false);\n }\n },\n [isAtMaxX, isAtMinX],\n );\n\n const value = useMemo(\n () => ({\n templateColumns,\n gap,\n isAtMaxX,\n isAtMinX,\n setIsAtMaxX,\n setIsAtMinX,\n }),\n [isAtMaxX, isAtMinX, templateColumns, gap],\n );\n\n return (\n <ScrollGroup\n onScrollItem={evaluateXEndpoints}\n onAddItem={evaluateXEndpoints}\n onResizeItem={evaluateXEndpoints}\n >\n <StickyGridProvider value={value}>\n <StyledStickyGrid ref={wrapperRef}>{children}</StyledStickyGrid>\n </StickyGridProvider>\n </ScrollGroup>\n );\n}\n\nfunction StickyGridProvider({\n value,\n children,\n}: {\n value: Omit<StickyGridContextType, \"scrollTo\" | \"scrollGroupItemsRef\">;\n children: ReactNode;\n}) {\n const scrollTo = useScrollGroupTo();\n const { scrollGroupItemsRef } = useScrollGroupContext();\n return (\n <StickyGridContext.Provider\n value={useMemo(\n () => ({ ...value, scrollGroupItemsRef, scrollTo }),\n [scrollGroupItemsRef, scrollTo, value],\n )}\n >\n {children}\n </StickyGridContext.Provider>\n );\n}\n\nconst StyledStickyGrid = styled.div`\n position: relative;\n`;\n"],"names":["StickyGrid","children","templateColumns","gap","wrapperRef","useRef","isAtMinX","setIsAtMinX","useState","isAtMaxX","setIsAtMaxX","evaluateXEndpoints","useCallback","element","scrollLeft","scrollWidth","clientWidth","value","useMemo","jsx","ScrollGroup","onScrollItem","onAddItem","onResizeItem","StickyGridProvider","StyledStickyGrid","ref","scrollTo","useScrollGroupTo","scrollGroupItemsRef","useScrollGroupContext","StickyGridContext","Provider","styled","div"],"mappings":";;;;;;;;;;;AAYO,SAASA,UAAAA,CAAW;EACzBC,QAAA;EACAC,eAAA;EACAC;AACF,CAAA,EAIG;EACD,MAAMC,UAAA,GAAaC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9C,MAAM,CAACC,QAAA,EAAUC,WAAW,CAAA,GAAIC,KAAAA,CAAAA,SAAS,IAAI,CAAA;EAC7C,MAAM,CAACC,QAAA,EAAUC,WAAW,CAAA,GAAIF,KAAAA,CAAAA,SAAS,IAAI,CAAA;EAE7C,MAAMG,kBAAA,GAAqBC,KAAAA,CAAAA,WAAA,CACxBC,OAAA,IAAyB;IACxB,IAAIA,OAAA,CAAQC,eAAe,CAAA,EAAG;MAC5B,IAAI,CAACR,QAAA,EAAU;QACbC,WAAA,CAAY,IAAI,CAAA;MAClB;IACF,WAAWD,QAAA,EAAU;MACnBC,WAAA,CAAY,KAAK,CAAA;IACnB;IACA,IAAIM,QAAQC,UAAA,GAAa,CAAA,IAAKD,OAAA,CAAQE,WAAA,GAAcF,QAAQG,WAAA,EAAa;MACvE,IAAI,CAACP,QAAA,EAAU;QACbC,WAAA,CAAY,IAAI,CAAA;MAClB;IACF,WAAWD,QAAA,EAAU;MACnBC,WAAA,CAAY,KAAK,CAAA;IACnB;EACF,CAAA,EACA,CAACD,UAAUH,QAAQ,CAAA,CACrB;EAEA,MAAMW,KAAA,GAAQC,KAAAA,CAAAA,OAAA,CACZ,OAAO;IACLhB,eAAA;IACAC,GAAA;IACAM,QAAA;IACAH,QAAA;IACAI,WAAA;IACAH;EAAA,CACF,CAAA,EACA,CAACE,QAAA,EAAUH,QAAA,EAAUJ,eAAA,EAAiBC,GAAG,CAAA,CAC3C;EAEA,sBACEgB,UAAAA,CAAAA,GAAA,CAACC,WAAAA,CAAAA,WAAA,EAAA;IACCC,YAAA,EAAcV,kBAAA;IACdW,SAAA,EAAWX,kBAAA;IACXY,YAAA,EAAcZ,kBAAA;IAEdV,QAAA,iBAAAkB,UAAAA,CAAAA,GAAA,CAACK;MAAmBP,KAAA;MAClBhB,QAAA,EAAA,eAAAkB,cAAA,CAACM;QAAiBC,GAAA,EAAKtB,UAAA;QAAaH;OAAS;IAAA,CAC/C;EAAA,CAAA,CACF;AAEJ;AAEA,SAASuB,kBAAAA,CAAmB;EAC1BP,KAAA;EACAhB;AACF,CAAA,EAGG;EACD,MAAM0B,WAAWC,gBAAAA,CAAAA,gBAAA,CAAA,CAAiB;EAClC,MAAM;IAAEC;EAAA,CAAoB,GAAIC,6BAAA,CAAA,CAAsB;EACtD,sBACEX,UAAAA,CAAAA,GAAA,CAACY,SAAAA,CAAAA,iBAAA,CAAkBC,QAAA,EAAlB;IACCf,KAAA,EAAOC,KAAAA,CAAAA,OAAA,CACL,OAAO;MAAE,GAAGD,KAAA;MAAOY;MAAqBF;IAAA,CAAS,CAAA,EACjD,CAACE,mBAAA,EAAqBF,QAAA,EAAUV,KAAK,CAAA,CACvC;IAEChB;EAAA,CAAA,CACH;AAEJ;AAEA,MAAMwB,mBAAmBQ,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var styledComponents = require('styled-components');
|
|
6
6
|
require('../ScrollGroup/index.js');
|
|
7
7
|
var context = require('./context.js');
|
|
8
8
|
var useScrollGroupItem = require('../ScrollGroup/useScrollGroupItem.js');
|
|
@@ -25,7 +25,7 @@ function StickyGridBody({
|
|
|
25
25
|
children
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
const StyledStickyContent =
|
|
28
|
+
const StyledStickyContent = styledComponents.styled.div`
|
|
29
29
|
display: grid;
|
|
30
30
|
gap: ${({
|
|
31
31
|
gap
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGridBody.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridBody.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useRef } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport { useScrollGroupItem } from \"../ScrollGroup\";\nimport { useStickyGrid } from \"./context\";\n\nexport function StickyGridBody({ children }: { children: ReactNode }) {\n const { templateColumns, gap } = useStickyGrid();\n\n const contentRef = useRef<HTMLDivElement>(null);\n useScrollGroupItem({ refObject: contentRef });\n\n return (\n <StyledStickyContent\n ref={contentRef}\n templateColumns={templateColumns}\n gap={gap}\n >\n {children}\n </StyledStickyContent>\n );\n}\n\nconst StyledStickyContent = styled.div<{\n templateColumns: string;\n gap?: string;\n}>`\n display: grid;\n gap: ${({ gap }) => gap ?? 0};\n grid-template-columns: ${({ templateColumns }) => templateColumns};\n width: 100%;\n\n overflow: auto;\n overscroll-behavior-x: none;\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n"],"names":["StickyGridBody","children","templateColumns","gap","useStickyGrid","contentRef","useRef","useScrollGroupItem","refObject","jsx","StyledStickyContent","ref","styled","div"],"mappings":";;;;;;;;;AAOO,SAASA,cAAAA,CAAe;EAAEC;CAAS,EAA4B;EACpE,MAAM;IAAEC,eAAA;IAAiBC;EAAA,CAAI,GAAIC,qBAAA,CAAA,CAAc;EAE/C,MAAMC,UAAA,GAAaC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9CC,qCAAA,CAAmB;IAAEC,SAAA,EAAWH;GAAY,CAAA;EAE5C,sBACEI,UAAAA,CAAAA,GAAA,CAACC,mBAAA,EAAA;IACCC,GAAA,EAAKN,UAAA;IACLH,eAAA;IACAC,GAAA;IAECF;EAAA,CAAA,CACH;AAEJ;AAEA,MAAMS,sBAAsBE,
|
|
1
|
+
{"version":3,"file":"StickyGridBody.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridBody.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useRef } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport { useScrollGroupItem } from \"../ScrollGroup\";\nimport { useStickyGrid } from \"./context\";\n\nexport function StickyGridBody({ children }: { children: ReactNode }) {\n const { templateColumns, gap } = useStickyGrid();\n\n const contentRef = useRef<HTMLDivElement>(null);\n useScrollGroupItem({ refObject: contentRef });\n\n return (\n <StyledStickyContent\n ref={contentRef}\n templateColumns={templateColumns}\n gap={gap}\n >\n {children}\n </StyledStickyContent>\n );\n}\n\nconst StyledStickyContent = styled.div<{\n templateColumns: string;\n gap?: string;\n}>`\n display: grid;\n gap: ${({ gap }) => gap ?? 0};\n grid-template-columns: ${({ templateColumns }) => templateColumns};\n width: 100%;\n\n overflow: auto;\n overscroll-behavior-x: none;\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n"],"names":["StickyGridBody","children","templateColumns","gap","useStickyGrid","contentRef","useRef","useScrollGroupItem","refObject","jsx","StyledStickyContent","ref","styled","div"],"mappings":";;;;;;;;;AAOO,SAASA,cAAAA,CAAe;EAAEC;CAAS,EAA4B;EACpE,MAAM;IAAEC,eAAA;IAAiBC;EAAA,CAAI,GAAIC,qBAAA,CAAA,CAAc;EAE/C,MAAMC,UAAA,GAAaC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9CC,qCAAA,CAAmB;IAAEC,SAAA,EAAWH;GAAY,CAAA;EAE5C,sBACEI,UAAAA,CAAAA,GAAA,CAACC,mBAAA,EAAA;IACCC,GAAA,EAAKN,UAAA;IACLH,eAAA;IACAC,GAAA;IAECF;EAAA,CAAA,CACH;AAEJ;AAEA,MAAMS,sBAAsBE,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA,SAK1B,CAAC;EAAEV;CAAI,KAAMA,OAAO,CAAC;AAAA,2BACH,CAAC;EAAED;AAAA,CAAgB,KAAMA,eAAe;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var styledComponents = require('styled-components');
|
|
6
6
|
require('../ScrollGroup/index.js');
|
|
7
7
|
var context = require('./context.js');
|
|
8
8
|
var useScrollGroupItem = require('../ScrollGroup/useScrollGroupItem.js');
|
|
@@ -54,7 +54,7 @@ function StickyGridHeader({
|
|
|
54
54
|
})]
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
const HeaderWrap =
|
|
57
|
+
const HeaderWrap = styledComponents.styled.div`
|
|
58
58
|
width: 100%;
|
|
59
59
|
position: sticky;
|
|
60
60
|
top: -${({
|
|
@@ -63,7 +63,7 @@ const HeaderWrap = styled.styled.div`
|
|
|
63
63
|
z-index: 2;
|
|
64
64
|
transition: box-shadow 0.25s;
|
|
65
65
|
`;
|
|
66
|
-
const StyledStickyHeader =
|
|
66
|
+
const StyledStickyHeader = styledComponents.styled.div`
|
|
67
67
|
display: grid;
|
|
68
68
|
|
|
69
69
|
gap: ${({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGridHeader.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridHeader.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport { useScrollGroupItem } from \"../ScrollGroup\";\nimport type { StickyGridContextType } from \"./context\";\nimport { useStickyGrid } from \"./context\";\n\nexport function StickyGridHeader({\n children,\n nonScrollChildren,\n stickOffset,\n}: {\n children: ReactNode;\n nonScrollChildren?: (context: {\n grid: StickyGridContextType;\n isStuck: boolean;\n }) => ReactNode;\n stickOffset?: number;\n}) {\n const grid = useStickyGrid();\n const { templateColumns, gap } = grid;\n\n const wrapperRef = useRef<HTMLDivElement>(null);\n const contentRef = useRef<HTMLDivElement>(null);\n useScrollGroupItem({ refObject: contentRef });\n\n const [isStuck, setIsStuck] = useState(false);\n useEffect(() => {\n if (!wrapperRef.current) {\n setIsStuck(false);\n return;\n }\n\n const observer = new IntersectionObserver(\n ([entry]) => {\n if (!entry) return;\n setIsStuck(entry.intersectionRatio < 1);\n },\n { threshold: [1] },\n );\n\n observer.observe(wrapperRef.current);\n\n return () => {\n observer.disconnect();\n };\n }, []);\n\n return (\n <HeaderWrap ref={wrapperRef} stickOffset={stickOffset}>\n <StyledStickyHeader\n ref={contentRef}\n templateColumns={templateColumns}\n gap={gap}\n stickOffset={stickOffset}\n >\n {children}\n </StyledStickyHeader>\n {nonScrollChildren?.({ grid, isStuck })}\n </HeaderWrap>\n );\n}\n\nconst HeaderWrap = styled.div<{\n stickOffset?: number;\n}>`\n width: 100%;\n position: sticky;\n top: -${({ stickOffset }) => (stickOffset ?? 0) + 1}px;\n z-index: 2;\n transition: box-shadow 0.25s;\n`;\n\nconst StyledStickyHeader = styled.div<{\n templateColumns: string;\n gap?: string;\n stickOffset?: number;\n}>`\n display: grid;\n\n gap: ${({ gap }) => gap ?? 0};\n grid-template-columns: ${({ templateColumns }) => templateColumns};\n width: 100%;\n position: sticky;\n top: -${({ stickOffset }) => (stickOffset ?? 0) + 1}px;\n z-index: 2;\n\n transition: box-shadow 0.25s;\n\n overflow: auto;\n overscroll-behavior-x: none;\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n"],"names":["StickyGridHeader","children","nonScrollChildren","stickOffset","grid","useStickyGrid","templateColumns","gap","wrapperRef","useRef","contentRef","useScrollGroupItem","refObject","isStuck","setIsStuck","useState","useEffect","current","observer","IntersectionObserver","entry","intersectionRatio","threshold","observe","disconnect","jsxs","HeaderWrap","ref","jsx","StyledStickyHeader","styled","div"],"mappings":";;;;;;;;;AAQO,SAASA,gBAAAA,CAAiB;EAC/BC,QAAA;EACAC,iBAAA;EACAC;AACF,CAAA,EAOG;EACD,MAAMC,OAAOC,OAAAA,CAAAA,aAAA,CAAA,CAAc;EAC3B,MAAM;IAAEC,eAAA;IAAiBC;EAAA,CAAI,GAAIH,IAAA;EAEjC,MAAMI,UAAA,GAAaC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9C,MAAMC,UAAA,GAAaD,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9CE,qCAAA,CAAmB;IAAEC,SAAA,EAAWF;GAAY,CAAA;EAE5C,MAAM,CAACG,OAAA,EAASC,UAAU,CAAA,GAAIC,KAAAA,CAAAA,SAAS,KAAK,CAAA;EAC5CC,KAAAA,CAAAA,SAAA,CAAU,MAAM;IACd,IAAI,CAACR,WAAWS,OAAA,EAAS;MACvBH,UAAA,CAAW,KAAK,CAAA;MAChB;IACF;IAEA,MAAMI,WAAW,IAAIC,oBAAA,CACnB,CAAC,CAACC,KAAK,CAAA,KAAM;MACX,IAAI,CAACA,KAAA,EAAO;MACZN,UAAA,CAAWM,KAAA,CAAMC,oBAAoB,CAAC,CAAA;IACxC,CAAA,EACA;MAAEC,SAAA,EAAW,CAAC,CAAC;IAAA,CAAE,CACnB;IAEAJ,QAAA,CAASK,OAAA,CAAQf,WAAWS,OAAO,CAAA;IAEnC,OAAO,MAAM;MACXC,QAAA,CAASM,UAAA,CAAA,CAAW;IACtB,CAAA;EACF,CAAA,EAAG,EAAE,CAAA;EAEL,OAAA,eACEC,UAAAA,CAAAA,IAAA,CAACC,UAAA,EAAA;IAAWC,GAAA,EAAKnB,UAAA;IAAYL,WAAA;IAC3BF,QAAA,EAAA,CAAA,eAAA2B,UAAAA,CAAAA,GAAA,CAACC,kBAAA,EAAA;MACCF,GAAA,EAAKjB,UAAA;MACLJ,eAAA;MACAC,GAAA;MACAJ,WAAA;MAECF;IAAA,CAAA,CACH,EACCC,iBAAA,GAAoB;MAAEE,IAAA;MAAMS;IAAA,CAAS,CAAA;GACxC,CAAA;AAEJ;AAEA,MAAMa,aAAaI,
|
|
1
|
+
{"version":3,"file":"StickyGridHeader.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridHeader.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport { useScrollGroupItem } from \"../ScrollGroup\";\nimport type { StickyGridContextType } from \"./context\";\nimport { useStickyGrid } from \"./context\";\n\nexport function StickyGridHeader({\n children,\n nonScrollChildren,\n stickOffset,\n}: {\n children: ReactNode;\n nonScrollChildren?: (context: {\n grid: StickyGridContextType;\n isStuck: boolean;\n }) => ReactNode;\n stickOffset?: number;\n}) {\n const grid = useStickyGrid();\n const { templateColumns, gap } = grid;\n\n const wrapperRef = useRef<HTMLDivElement>(null);\n const contentRef = useRef<HTMLDivElement>(null);\n useScrollGroupItem({ refObject: contentRef });\n\n const [isStuck, setIsStuck] = useState(false);\n useEffect(() => {\n if (!wrapperRef.current) {\n setIsStuck(false);\n return;\n }\n\n const observer = new IntersectionObserver(\n ([entry]) => {\n if (!entry) return;\n setIsStuck(entry.intersectionRatio < 1);\n },\n { threshold: [1] },\n );\n\n observer.observe(wrapperRef.current);\n\n return () => {\n observer.disconnect();\n };\n }, []);\n\n return (\n <HeaderWrap ref={wrapperRef} stickOffset={stickOffset}>\n <StyledStickyHeader\n ref={contentRef}\n templateColumns={templateColumns}\n gap={gap}\n stickOffset={stickOffset}\n >\n {children}\n </StyledStickyHeader>\n {nonScrollChildren?.({ grid, isStuck })}\n </HeaderWrap>\n );\n}\n\nconst HeaderWrap = styled.div<{\n stickOffset?: number;\n}>`\n width: 100%;\n position: sticky;\n top: -${({ stickOffset }) => (stickOffset ?? 0) + 1}px;\n z-index: 2;\n transition: box-shadow 0.25s;\n`;\n\nconst StyledStickyHeader = styled.div<{\n templateColumns: string;\n gap?: string;\n stickOffset?: number;\n}>`\n display: grid;\n\n gap: ${({ gap }) => gap ?? 0};\n grid-template-columns: ${({ templateColumns }) => templateColumns};\n width: 100%;\n position: sticky;\n top: -${({ stickOffset }) => (stickOffset ?? 0) + 1}px;\n z-index: 2;\n\n transition: box-shadow 0.25s;\n\n overflow: auto;\n overscroll-behavior-x: none;\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n"],"names":["StickyGridHeader","children","nonScrollChildren","stickOffset","grid","useStickyGrid","templateColumns","gap","wrapperRef","useRef","contentRef","useScrollGroupItem","refObject","isStuck","setIsStuck","useState","useEffect","current","observer","IntersectionObserver","entry","intersectionRatio","threshold","observe","disconnect","jsxs","HeaderWrap","ref","jsx","StyledStickyHeader","styled","div"],"mappings":";;;;;;;;;AAQO,SAASA,gBAAAA,CAAiB;EAC/BC,QAAA;EACAC,iBAAA;EACAC;AACF,CAAA,EAOG;EACD,MAAMC,OAAOC,OAAAA,CAAAA,aAAA,CAAA,CAAc;EAC3B,MAAM;IAAEC,eAAA;IAAiBC;EAAA,CAAI,GAAIH,IAAA;EAEjC,MAAMI,UAAA,GAAaC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9C,MAAMC,UAAA,GAAaD,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAC9CE,qCAAA,CAAmB;IAAEC,SAAA,EAAWF;GAAY,CAAA;EAE5C,MAAM,CAACG,OAAA,EAASC,UAAU,CAAA,GAAIC,KAAAA,CAAAA,SAAS,KAAK,CAAA;EAC5CC,KAAAA,CAAAA,SAAA,CAAU,MAAM;IACd,IAAI,CAACR,WAAWS,OAAA,EAAS;MACvBH,UAAA,CAAW,KAAK,CAAA;MAChB;IACF;IAEA,MAAMI,WAAW,IAAIC,oBAAA,CACnB,CAAC,CAACC,KAAK,CAAA,KAAM;MACX,IAAI,CAACA,KAAA,EAAO;MACZN,UAAA,CAAWM,KAAA,CAAMC,oBAAoB,CAAC,CAAA;IACxC,CAAA,EACA;MAAEC,SAAA,EAAW,CAAC,CAAC;IAAA,CAAE,CACnB;IAEAJ,QAAA,CAASK,OAAA,CAAQf,WAAWS,OAAO,CAAA;IAEnC,OAAO,MAAM;MACXC,QAAA,CAASM,UAAA,CAAA,CAAW;IACtB,CAAA;EACF,CAAA,EAAG,EAAE,CAAA;EAEL,OAAA,eACEC,UAAAA,CAAAA,IAAA,CAACC,UAAA,EAAA;IAAWC,GAAA,EAAKnB,UAAA;IAAYL,WAAA;IAC3BF,QAAA,EAAA,CAAA,eAAA2B,UAAAA,CAAAA,GAAA,CAACC,kBAAA,EAAA;MACCF,GAAA,EAAKjB,UAAA;MACLJ,eAAA;MACAC,GAAA;MACAJ,WAAA;MAECF;IAAA,CAAA,CACH,EACCC,iBAAA,GAAoB;MAAEE,IAAA;MAAMS;IAAA,CAAS,CAAA;GACxC,CAAA;AAEJ;AAEA,MAAMa,aAAaI,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA;AAAA,UAKhB,CAAC;EAAE5B;AAAA,CAAY,KAAA,CAAOA,WAAA,IAAe,KAAK,CAAC;AAAA;AAAA;AAAA,CAAA;AAKrD,MAAM0B,qBAAqBC,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;;AAAA,SAOzB,CAAC;EAAExB;CAAI,KAAMA,OAAO,CAAC;AAAA,2BACH,CAAC;EAAED;AAAA,CAAgB,KAAMA,eAAe;AAAA;AAAA;AAAA,UAGzD,CAAC;EAAEH;AAAA,CAAY,KAAA,CAAOA,WAAA,IAAe,KAAK,CAAC;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var styledComponents = require('styled-components');
|
|
6
6
|
"use strict";
|
|
7
7
|
function StickyGridItem({
|
|
8
8
|
stickX,
|
|
@@ -15,19 +15,19 @@ function StickyGridItem({
|
|
|
15
15
|
stickX
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
const StyledStickyGridItem =
|
|
18
|
+
const StyledStickyGridItem = styledComponents.styled.div`
|
|
19
19
|
${({
|
|
20
20
|
stickX
|
|
21
21
|
}) => {
|
|
22
22
|
if (stickX === true) {
|
|
23
|
-
return
|
|
23
|
+
return styledComponents.css`
|
|
24
24
|
position: sticky;
|
|
25
25
|
left: 0;
|
|
26
26
|
right: 0;
|
|
27
27
|
`;
|
|
28
28
|
}
|
|
29
29
|
if (typeof stickX === "string") {
|
|
30
|
-
return
|
|
30
|
+
return styledComponents.css`
|
|
31
31
|
position: sticky;
|
|
32
32
|
left: ${stickX};
|
|
33
33
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGridItem.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridItem.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport { useRef } from \"react\";\nimport { css, styled } from \"styled-components\";\n\nexport function StickyGridItem({\n stickX,\n ...props\n}: { stickY?: boolean; stickX?: boolean | string } & ComponentProps<\n typeof StyledStickyGridItem\n>) {\n const ref = useRef<HTMLDivElement>(null);\n\n return <StyledStickyGridItem ref={ref} {...props} stickX={stickX} />;\n}\n\nconst StyledStickyGridItem = styled.div<{ stickX?: boolean | string }>`\n ${({ stickX }) => {\n if (stickX === true) {\n return css`\n position: sticky;\n left: 0;\n right: 0;\n `;\n }\n\n if (typeof stickX === \"string\") {\n return css`\n position: sticky;\n left: ${stickX};\n `;\n }\n\n return undefined;\n }}\n`;\n"],"names":["StickyGridItem","stickX","props","ref","useRef","jsx","StyledStickyGridItem","styled","div","css"],"mappings":";;;;;;AAIO,SAASA,cAAAA,CAAe;EAC7BC,MAAA;EACA,GAAGC;AACL,CAAA,EAEG;EACD,MAAMC,GAAA,GAAMC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAEvC,OAAA,eAAOC,UAAAA,CAAAA,GAAA,CAACC,oBAAA,EAAA;IAAqBH,GAAA;IAAW,GAAGD;IAAOD;GAAgB,CAAA;AACpE;AAEA,MAAMK,uBAAuBC,
|
|
1
|
+
{"version":3,"file":"StickyGridItem.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridItem.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport { useRef } from \"react\";\nimport { css, styled } from \"styled-components\";\n\nexport function StickyGridItem({\n stickX,\n ...props\n}: { stickY?: boolean; stickX?: boolean | string } & ComponentProps<\n typeof StyledStickyGridItem\n>) {\n const ref = useRef<HTMLDivElement>(null);\n\n return <StyledStickyGridItem ref={ref} {...props} stickX={stickX} />;\n}\n\nconst StyledStickyGridItem = styled.div<{ stickX?: boolean | string }>`\n ${({ stickX }) => {\n if (stickX === true) {\n return css`\n position: sticky;\n left: 0;\n right: 0;\n `;\n }\n\n if (typeof stickX === \"string\") {\n return css`\n position: sticky;\n left: ${stickX};\n `;\n }\n\n return undefined;\n }}\n`;\n"],"names":["StickyGridItem","stickX","props","ref","useRef","jsx","StyledStickyGridItem","styled","div","css"],"mappings":";;;;;;AAIO,SAASA,cAAAA,CAAe;EAC7BC,MAAA;EACA,GAAGC;AACL,CAAA,EAEG;EACD,MAAMC,GAAA,GAAMC,KAAAA,CAAAA,OAAuB,IAAI,CAAA;EAEvC,OAAA,eAAOC,UAAAA,CAAAA,GAAA,CAACC,oBAAA,EAAA;IAAqBH,GAAA;IAAW,GAAGD;IAAOD;GAAgB,CAAA;AACpE;AAEA,MAAMK,uBAAuBC,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA,IAChC,CAAC;EAAEP;CAAO,KAAM;EAChB,IAAIA,WAAW,IAAA,EAAM;IACnB,OAAOQ,gBAAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,OAAA;EAKT;EAEA,IAAI,OAAOR,WAAW,QAAA,EAAU;IAC9B,OAAOQ,gBAAAA,CAAAA,GAAA;AAAA;AAAA,gBAEGR,MAAM;AAAA,OAAA;EAElB;EAEA,OAAO,KAAA,CAAA;AACT,CAAC;AAAA,CAAA;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var styledComponents = require('styled-components');
|
|
5
5
|
var context = require('./context.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
function StickyGridOverlay({
|
|
@@ -18,14 +18,14 @@ function StickyGridOverlay({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
const StyledStickyGridOverlayWrap =
|
|
21
|
+
const StyledStickyGridOverlayWrap = styledComponents.styled.div`
|
|
22
22
|
position: absolute;
|
|
23
23
|
top: 0;
|
|
24
24
|
bottom: 0;
|
|
25
25
|
pointer-events: none;
|
|
26
26
|
z-index: 2;
|
|
27
27
|
`;
|
|
28
|
-
const StyledStickyGridOverlay =
|
|
28
|
+
const StyledStickyGridOverlay = styledComponents.styled.div`
|
|
29
29
|
position: sticky;
|
|
30
30
|
top: ${({
|
|
31
31
|
topOffset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGridOverlay.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridOverlay.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport type { StickyGridContextType } from \"./context\";\nimport { useStickyGrid } from \"./context\";\n\nexport function StickyGridOverlay({\n children,\n topOffset,\n ...props\n}: {\n children: ReactNode | ((context: StickyGridContextType) => ReactNode);\n topOffset?: number;\n} & Omit<ComponentProps<typeof StyledStickyGridOverlayWrap>, \"children\">) {\n const context = useStickyGrid();\n\n return (\n <StyledStickyGridOverlayWrap {...props}>\n <StyledStickyGridOverlay topOffset={topOffset}>\n {typeof children === \"function\" ? children(context) : children}\n </StyledStickyGridOverlay>\n </StyledStickyGridOverlayWrap>\n );\n}\n\nconst StyledStickyGridOverlayWrap = styled.div`\n position: absolute;\n top: 0;\n bottom: 0;\n pointer-events: none;\n z-index: 2;\n`;\n\nconst StyledStickyGridOverlay = styled.div<{ topOffset?: number }>`\n position: sticky;\n top: ${({ topOffset }) => topOffset ?? 0}px;\n bottom: 0;\n\n height: calc(100vh - ${({ topOffset }) => topOffset ?? 0}px);\n max-height: 100%;\n`;\n"],"names":["StickyGridOverlay","children","topOffset","props","context","useStickyGrid","jsx","StyledStickyGridOverlayWrap","StyledStickyGridOverlay","styled","div"],"mappings":";;;;;;AAMO,SAASA,iBAAAA,CAAkB;EAChCC,QAAA;EACAC,SAAA;EACA,GAAGC;AACL,CAAA,EAG0E;EACxE,MAAMC,YAAUC,OAAAA,CAAAA,aAAA,CAAA,CAAc;EAE9B,OAAA,eACEC,UAAAA,CAAAA,GAAA,CAACC,2BAAA,EAAA;IAA6B,GAAGJ,KAAA;IAC/BF,wCAACO,uBAAA,EAAA;MAAwBN,SAAA;MACtBD,QAAA,EAAA,OAAOA,QAAA,KAAa,UAAA,GAAaA,QAAA,CAASG,SAAO,CAAA,GAAIH;KACxD;GACF,CAAA;AAEJ;AAEA,MAAMM,8BAA8BE,
|
|
1
|
+
{"version":3,"file":"StickyGridOverlay.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridOverlay.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from \"react\";\nimport { styled } from \"styled-components\";\n\nimport type { StickyGridContextType } from \"./context\";\nimport { useStickyGrid } from \"./context\";\n\nexport function StickyGridOverlay({\n children,\n topOffset,\n ...props\n}: {\n children: ReactNode | ((context: StickyGridContextType) => ReactNode);\n topOffset?: number;\n} & Omit<ComponentProps<typeof StyledStickyGridOverlayWrap>, \"children\">) {\n const context = useStickyGrid();\n\n return (\n <StyledStickyGridOverlayWrap {...props}>\n <StyledStickyGridOverlay topOffset={topOffset}>\n {typeof children === \"function\" ? children(context) : children}\n </StyledStickyGridOverlay>\n </StyledStickyGridOverlayWrap>\n );\n}\n\nconst StyledStickyGridOverlayWrap = styled.div`\n position: absolute;\n top: 0;\n bottom: 0;\n pointer-events: none;\n z-index: 2;\n`;\n\nconst StyledStickyGridOverlay = styled.div<{ topOffset?: number }>`\n position: sticky;\n top: ${({ topOffset }) => topOffset ?? 0}px;\n bottom: 0;\n\n height: calc(100vh - ${({ topOffset }) => topOffset ?? 0}px);\n max-height: 100%;\n`;\n"],"names":["StickyGridOverlay","children","topOffset","props","context","useStickyGrid","jsx","StyledStickyGridOverlayWrap","StyledStickyGridOverlay","styled","div"],"mappings":";;;;;;AAMO,SAASA,iBAAAA,CAAkB;EAChCC,QAAA;EACAC,SAAA;EACA,GAAGC;AACL,CAAA,EAG0E;EACxE,MAAMC,YAAUC,OAAAA,CAAAA,aAAA,CAAA,CAAc;EAE9B,OAAA,eACEC,UAAAA,CAAAA,GAAA,CAACC,2BAAA,EAAA;IAA6B,GAAGJ,KAAA;IAC/BF,wCAACO,uBAAA,EAAA;MAAwBN,SAAA;MACtBD,QAAA,EAAA,OAAOA,QAAA,KAAa,UAAA,GAAaA,QAAA,CAASG,SAAO,CAAA,GAAIH;KACxD;GACF,CAAA;AAEJ;AAEA,MAAMM,8BAA8BE,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQ3C,MAAMF,0BAA0BC,gBAAAA,CAAAA,MAAA,CAAOC,GAAA;AAAA;AAAA,SAE9B,CAAC;EAAER;CAAU,KAAMA,aAAa,CAAC;AAAA;;AAAA,yBAGjB,CAAC;EAAEA;CAAU,KAAMA,aAAa,CAAC;AAAA;AAAA,CAAA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var styledComponents = require('styled-components');
|
|
4
4
|
var layout = require('../../../constants/layout.js');
|
|
5
5
|
var theme = require('../../../constants/theme.js');
|
|
6
6
|
require('../../Badge/index.js');
|
|
@@ -15,15 +15,15 @@ var Button$1 = require('../../Button/Button.js');
|
|
|
15
15
|
const MOBILE_BREAKPOINT = 650;
|
|
16
16
|
const TOOLTIP_CLASS_NAME = `model-compare-tooltip`;
|
|
17
17
|
const PRODUCT_HEADER_TOOLTIP_CLASSNAME = "model-compare-product-header-tooltip";
|
|
18
|
-
const PlaceholderGridItem =
|
|
18
|
+
const PlaceholderGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
|
|
19
19
|
background: ${theme.theme.colors.white};
|
|
20
20
|
z-index: 3;
|
|
21
21
|
`;
|
|
22
|
-
const CenterPlaceholderGridItem =
|
|
22
|
+
const CenterPlaceholderGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)``;
|
|
23
23
|
const HEADER_GRID_ITEM_Y_PADDING = 16;
|
|
24
24
|
const HEADER_GRID_ITEM_GAP_DESKTOP = 24;
|
|
25
25
|
const HEADER_GRID_ITEM_GAP_MOBILE = 12;
|
|
26
|
-
const ProductHeaderTooltipStyles =
|
|
26
|
+
const ProductHeaderTooltipStyles = styledComponents.createGlobalStyle`
|
|
27
27
|
.${PRODUCT_HEADER_TOOLTIP_CLASSNAME} {
|
|
28
28
|
box-shadow: 0 8px 24px 0 #00000014;
|
|
29
29
|
width: 175px;
|
|
@@ -41,13 +41,13 @@ const ProductHeaderTooltipStyles = styled.createGlobalStyle`
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
|
-
const ProductHeaderTooltipHoverArea =
|
|
44
|
+
const ProductHeaderTooltipHoverArea = styledComponents.styled.div`
|
|
45
45
|
position: absolute;
|
|
46
46
|
${({
|
|
47
47
|
$tooltipIsPositionedTop
|
|
48
|
-
}) => $tooltipIsPositionedTop ?
|
|
48
|
+
}) => $tooltipIsPositionedTop ? styledComponents.css`
|
|
49
49
|
bottom: 0;
|
|
50
|
-
` :
|
|
50
|
+
` : styledComponents.css`
|
|
51
51
|
top: 0;
|
|
52
52
|
`}
|
|
53
53
|
bottom: 0;
|
|
@@ -58,14 +58,14 @@ const ProductHeaderTooltipHoverArea = styled.styled.div`
|
|
|
58
58
|
}) => $width ?? 175}px;
|
|
59
59
|
height: 40px;
|
|
60
60
|
`;
|
|
61
|
-
const ProductHeaderTooltipLink =
|
|
61
|
+
const ProductHeaderTooltipLink = styledComponents.styled.a`
|
|
62
62
|
color: ${theme.theme.colors.primaryBlue};
|
|
63
63
|
|
|
64
64
|
&:hover {
|
|
65
65
|
color: ${theme.theme.colors.primaryBlue};
|
|
66
66
|
}
|
|
67
67
|
`;
|
|
68
|
-
const HeaderGridItem =
|
|
68
|
+
const HeaderGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
|
|
69
69
|
background: ${theme.theme.colors.white};
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
@@ -82,27 +82,27 @@ const HeaderGridItem = styled.styled(StickyGridItem.StickyGridItem)`
|
|
|
82
82
|
padding: 25px 0 0;
|
|
83
83
|
}
|
|
84
84
|
`;
|
|
85
|
-
const EmptyHeaderGridItem =
|
|
85
|
+
const EmptyHeaderGridItem = styledComponents.styled(HeaderGridItem)`
|
|
86
86
|
align-items: center;
|
|
87
87
|
justify-content: center;
|
|
88
88
|
`;
|
|
89
|
-
const EmptyHeaderEmptyProductDescription =
|
|
89
|
+
const EmptyHeaderEmptyProductDescription = styledComponents.styled.div`
|
|
90
90
|
width: 100%;
|
|
91
91
|
height: 100%;
|
|
92
92
|
|
|
93
93
|
${({
|
|
94
94
|
$headerItemsAreSticking
|
|
95
|
-
}) => $headerItemsAreSticking &&
|
|
95
|
+
}) => $headerItemsAreSticking && styledComponents.css`
|
|
96
96
|
display: none;
|
|
97
97
|
`}
|
|
98
98
|
`;
|
|
99
|
-
const HeaderGridItemContainer =
|
|
99
|
+
const HeaderGridItemContainer = styledComponents.styled.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
flex-direction: column;
|
|
102
102
|
align-items: center;
|
|
103
103
|
justify-content: center;
|
|
104
104
|
`;
|
|
105
|
-
const RemoveProductButton =
|
|
105
|
+
const RemoveProductButton = styledComponents.styled.button`
|
|
106
106
|
position: absolute;
|
|
107
107
|
top: 25px;
|
|
108
108
|
right: 25px;
|
|
@@ -118,12 +118,12 @@ const RemoveProductButton = styled.styled.button`
|
|
|
118
118
|
|
|
119
119
|
${({
|
|
120
120
|
$isSmallScreen
|
|
121
|
-
}) => $isSmallScreen &&
|
|
121
|
+
}) => $isSmallScreen && styledComponents.css`
|
|
122
122
|
top: 0;
|
|
123
123
|
right: 4%;
|
|
124
124
|
`}
|
|
125
125
|
`;
|
|
126
|
-
const ProductMeta =
|
|
126
|
+
const ProductMeta = styledComponents.styled.div`
|
|
127
127
|
position: relative;
|
|
128
128
|
display: flex;
|
|
129
129
|
flex-direction: column;
|
|
@@ -141,13 +141,13 @@ const ProductMeta = styled.styled.div`
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
`;
|
|
144
|
-
const productTitleStyles =
|
|
144
|
+
const productTitleStyles = styledComponents.css`
|
|
145
145
|
font-size: 16px;
|
|
146
146
|
font-weight: 700;
|
|
147
147
|
line-height: normal;
|
|
148
148
|
letter-spacing: -0.32px;
|
|
149
149
|
`;
|
|
150
|
-
const ProductTitle =
|
|
150
|
+
const ProductTitle = styledComponents.styled.div`
|
|
151
151
|
${productTitleStyles}
|
|
152
152
|
|
|
153
153
|
color: ${theme.theme.colors.black};
|
|
@@ -156,7 +156,7 @@ const ProductTitle = styled.styled.div`
|
|
|
156
156
|
font-size: 14px;
|
|
157
157
|
}
|
|
158
158
|
`;
|
|
159
|
-
const ProductTitleLink =
|
|
159
|
+
const ProductTitleLink = styledComponents.styled.button`
|
|
160
160
|
${productTitleStyles}
|
|
161
161
|
color: ${theme.theme.colors.primaryBlue};
|
|
162
162
|
border: none;
|
|
@@ -171,7 +171,7 @@ const ProductTitleLink = styled.styled.button`
|
|
|
171
171
|
color: ${theme.theme.colors.primaryBlue};
|
|
172
172
|
}
|
|
173
173
|
`;
|
|
174
|
-
const ProductDescription =
|
|
174
|
+
const ProductDescription = styledComponents.styled.div`
|
|
175
175
|
font-size: 14px;
|
|
176
176
|
font-weight: 400;
|
|
177
177
|
line-height: normal;
|
|
@@ -190,7 +190,7 @@ const ProductDescription = styled.styled.div`
|
|
|
190
190
|
font-size: 12px;
|
|
191
191
|
}
|
|
192
192
|
`;
|
|
193
|
-
const SelectFromAboveIsStuckContainer =
|
|
193
|
+
const SelectFromAboveIsStuckContainer = styledComponents.styled.div`
|
|
194
194
|
display: none;
|
|
195
195
|
flex-direction: column;
|
|
196
196
|
height: 100%;
|
|
@@ -199,29 +199,29 @@ const SelectFromAboveIsStuckContainer = styled.styled.div`
|
|
|
199
199
|
|
|
200
200
|
${({
|
|
201
201
|
$isStuck
|
|
202
|
-
}) => $isStuck &&
|
|
202
|
+
}) => $isStuck && styledComponents.css`
|
|
203
203
|
display: flex;
|
|
204
204
|
`}
|
|
205
205
|
`;
|
|
206
|
-
const SelectFromAboveIsStuck =
|
|
206
|
+
const SelectFromAboveIsStuck = styledComponents.styled(ProductDescription)`
|
|
207
207
|
margin: 0;
|
|
208
208
|
`;
|
|
209
|
-
const ProductNote =
|
|
209
|
+
const ProductNote = styledComponents.styled.div`
|
|
210
210
|
color: ${theme.theme.colors.black45};
|
|
211
211
|
font-size: ${theme.theme.font.size10};
|
|
212
212
|
line-height: 16.8px;
|
|
213
213
|
margin-top: 6px;
|
|
214
214
|
text-align: center;
|
|
215
215
|
`;
|
|
216
|
-
const Badge =
|
|
216
|
+
const Badge = styledComponents.styled(Badge$1.Badge)`
|
|
217
217
|
margin: 10px 0 20px;
|
|
218
218
|
`;
|
|
219
|
-
const BadgeWrapper =
|
|
219
|
+
const BadgeWrapper = styledComponents.styled.div`
|
|
220
220
|
margin-top: auto;
|
|
221
221
|
display: flex;
|
|
222
222
|
gap: 10px;
|
|
223
223
|
`;
|
|
224
|
-
const PropertyTitleGridItem =
|
|
224
|
+
const PropertyTitleGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
|
|
225
225
|
display: flex;
|
|
226
226
|
align-items: center;
|
|
227
227
|
justify-content: flex-start;
|
|
@@ -230,10 +230,10 @@ const PropertyTitleGridItem = styled.styled(StickyGridItem.StickyGridItem)`
|
|
|
230
230
|
z-index: 1;
|
|
231
231
|
overflow: hidden;
|
|
232
232
|
`;
|
|
233
|
-
const EmptyPropertyTitleGridItem =
|
|
233
|
+
const EmptyPropertyTitleGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
|
|
234
234
|
background: ${theme.theme.colors.white};
|
|
235
235
|
`;
|
|
236
|
-
const PropertyTitleGridItemContent =
|
|
236
|
+
const PropertyTitleGridItemContent = styledComponents.styled(StickyGridItem.StickyGridItem)`
|
|
237
237
|
display: flex;
|
|
238
238
|
align-items: center;
|
|
239
239
|
justify-content: flex-start;
|
|
@@ -242,7 +242,7 @@ const PropertyTitleGridItemContent = styled.styled(StickyGridItem.StickyGridItem
|
|
|
242
242
|
gap: 8px;
|
|
243
243
|
overflow: hidden;
|
|
244
244
|
`;
|
|
245
|
-
const PropertyTitle =
|
|
245
|
+
const PropertyTitle = styledComponents.styled.div`
|
|
246
246
|
font-size: 14px;
|
|
247
247
|
font-weight: ${theme.theme.fontWeight.bold};
|
|
248
248
|
color: ${theme.theme.colors.black65};
|
|
@@ -254,12 +254,12 @@ const PropertyTitle = styled.styled.div`
|
|
|
254
254
|
line-height: 14px;
|
|
255
255
|
}
|
|
256
256
|
`;
|
|
257
|
-
const PropertyIcon =
|
|
257
|
+
const PropertyIcon = styledComponents.styled.div`
|
|
258
258
|
width: 30px;
|
|
259
259
|
height: 30px;
|
|
260
260
|
color: ${theme.theme.colors.shark};
|
|
261
261
|
`;
|
|
262
|
-
const SelectFromAboveIconCopyContainer =
|
|
262
|
+
const SelectFromAboveIconCopyContainer = styledComponents.styled.div`
|
|
263
263
|
display: flex;
|
|
264
264
|
flex-direction: column;
|
|
265
265
|
align-items: center;
|
|
@@ -267,34 +267,34 @@ const SelectFromAboveIconCopyContainer = styled.styled.div`
|
|
|
267
267
|
|
|
268
268
|
${({
|
|
269
269
|
$isStuck
|
|
270
|
-
}) => $isStuck &&
|
|
270
|
+
}) => $isStuck && styledComponents.css`
|
|
271
271
|
opacity: 0;
|
|
272
272
|
`}
|
|
273
273
|
`;
|
|
274
|
-
const ProductImage =
|
|
274
|
+
const ProductImage = styledComponents.styled.img`
|
|
275
275
|
max-width: 100%;
|
|
276
276
|
max-height: 100%;
|
|
277
277
|
object-fit: contain;
|
|
278
278
|
-webkit-user-drag: none;
|
|
279
279
|
`;
|
|
280
|
-
const ProductImageWrap =
|
|
280
|
+
const ProductImageWrap = styledComponents.styled.div`
|
|
281
281
|
height: ${({
|
|
282
282
|
height
|
|
283
283
|
}) => `${height}px`};
|
|
284
284
|
display: flex;
|
|
285
285
|
`;
|
|
286
|
-
const PropertyTooltipHoverArea =
|
|
286
|
+
const PropertyTooltipHoverArea = styledComponents.styled.div`
|
|
287
287
|
position: absolute;
|
|
288
288
|
height: 35px;
|
|
289
289
|
width: 35px;
|
|
290
290
|
top: 50%;
|
|
291
291
|
transform: translateY(-50%);
|
|
292
292
|
`;
|
|
293
|
-
const PropertyTooltip =
|
|
293
|
+
const PropertyTooltip = styledComponents.styled.div`
|
|
294
294
|
position: relative;
|
|
295
295
|
height: 20px;
|
|
296
296
|
`;
|
|
297
|
-
const PropertyTooltipContent =
|
|
297
|
+
const PropertyTooltipContent = styledComponents.styled.div`
|
|
298
298
|
color: ${theme.theme.colors.black85};
|
|
299
299
|
font-size: 12px;
|
|
300
300
|
|
|
@@ -302,16 +302,16 @@ const PropertyTooltipContent = styled.styled.div`
|
|
|
302
302
|
color: ${theme.theme.colors.primaryBlue};
|
|
303
303
|
}
|
|
304
304
|
`;
|
|
305
|
-
const TooltipIcon =
|
|
305
|
+
const TooltipIcon = styledComponents.styled(StyleableSvgImage.StyleableSvgImage)`
|
|
306
306
|
color: ${theme.theme.colors.primaryBlue};
|
|
307
307
|
`;
|
|
308
|
-
const ButtonWrap =
|
|
308
|
+
const ButtonWrap = styledComponents.styled.div`
|
|
309
309
|
padding: 16px 0;
|
|
310
310
|
display: flex;
|
|
311
311
|
align-items: center;
|
|
312
312
|
justify-content: center;
|
|
313
313
|
`;
|
|
314
|
-
const buttonStyles =
|
|
314
|
+
const buttonStyles = styledComponents.css`
|
|
315
315
|
padding: 10px 15px;
|
|
316
316
|
line-height: 20px;
|
|
317
317
|
font-weight: ${theme.theme.fontWeight.bold};
|
|
@@ -325,16 +325,16 @@ const buttonStyles = styled.css`
|
|
|
325
325
|
position: static;
|
|
326
326
|
}
|
|
327
327
|
`;
|
|
328
|
-
const Button =
|
|
328
|
+
const Button = styledComponents.styled(Button$1.Button)`
|
|
329
329
|
${buttonStyles};
|
|
330
330
|
|
|
331
331
|
${({
|
|
332
332
|
$removePointerEvents
|
|
333
|
-
}) => $removePointerEvents &&
|
|
333
|
+
}) => $removePointerEvents && styledComponents.css`
|
|
334
334
|
pointer-events: none;
|
|
335
335
|
`}
|
|
336
336
|
`;
|
|
337
|
-
const ComingSoon =
|
|
337
|
+
const ComingSoon = styledComponents.styled(Button$1.Button)`
|
|
338
338
|
${buttonStyles};
|
|
339
339
|
|
|
340
340
|
cursor: default;
|
|
@@ -345,39 +345,39 @@ const ComingSoon = styled.styled(Button$1.Button)`
|
|
|
345
345
|
color: #445178;
|
|
346
346
|
}
|
|
347
347
|
`;
|
|
348
|
-
const NotesWrap =
|
|
348
|
+
const NotesWrap = styledComponents.styled.div`
|
|
349
349
|
padding: 16px 10px 10px;
|
|
350
350
|
text-wrap: pretty;
|
|
351
351
|
display: flex;
|
|
352
352
|
flex-direction: column;
|
|
353
353
|
align-items: center;
|
|
354
354
|
`;
|
|
355
|
-
const Note =
|
|
355
|
+
const Note = styledComponents.styled.div`
|
|
356
356
|
font-size: 10px;
|
|
357
357
|
line-height: ${17 / 10};
|
|
358
358
|
color: ${theme.theme.colors.black45};
|
|
359
359
|
text-align: center;
|
|
360
360
|
`;
|
|
361
|
-
const FootnotesWrap =
|
|
361
|
+
const FootnotesWrap = styledComponents.styled.div`
|
|
362
362
|
padding: 0 0 16px;
|
|
363
363
|
display: flex;
|
|
364
364
|
flex-direction: column;
|
|
365
365
|
align-items: center;
|
|
366
366
|
`;
|
|
367
|
-
const Footnote =
|
|
367
|
+
const Footnote = styledComponents.styled.div`
|
|
368
368
|
font-size: 10px;
|
|
369
369
|
line-height: ${17 / 10};
|
|
370
370
|
color: ${theme.theme.colors.black45};
|
|
371
371
|
text-align: center;
|
|
372
372
|
`;
|
|
373
|
-
const KitIncluded =
|
|
373
|
+
const KitIncluded = styledComponents.styled.div`
|
|
374
374
|
font-size: 14px;
|
|
375
375
|
font-weight: 400;
|
|
376
376
|
letter-spacing: -0.28px;
|
|
377
377
|
line-height: 16.8px;
|
|
378
378
|
color: ${theme.theme.colors.black65};
|
|
379
379
|
`;
|
|
380
|
-
const TooltipStyles =
|
|
380
|
+
const TooltipStyles = styledComponents.createGlobalStyle`
|
|
381
381
|
.${TOOLTIP_CLASS_NAME} {
|
|
382
382
|
box-shadow: 0 8px 24px 0 #00000014;
|
|
383
383
|
max-width: ${({
|