@ubnt/store.core 9.71.0-beta.4 → 10.0.0-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 +99 -5063
- package/lib/_virtual/_virtual_multi-entry.js +110 -126
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/apis/smartcat.js +124 -133
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +124 -133
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/box.svg +3 -4
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/express.jpg +0 -0
- package/lib/assets/express2.jpg +0 -0
- package/lib/assets/express7.jpg +0 -0
- package/lib/assets/express72.jpg +0 -0
- package/lib/assets/hand.svg +5 -4
- package/lib/assets/icons/wizard/index.d.ts +0 -4
- package/lib/assets/icons/wizard/index.js +0 -4
- package/lib/assets/icons/wizard/index.js.map +1 -1
- package/lib/assets/icons/wizard/index.mjs +0 -4
- package/lib/assets/icons/wizard/index.mjs.map +1 -1
- package/lib/assets/icons/wizard/minus.svg.js +1 -1
- package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
- package/lib/assets/keyFeatures/box.svg.js +1 -1
- package/lib/assets/keyFeatures/box.svg.mjs +2 -2
- package/lib/assets/keyFeatures/reload.svg.js +1 -1
- package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
- package/lib/assets/minus.svg +1 -14
- package/lib/assets/minus2.svg +3 -1
- package/lib/assets/minus3.svg +13 -2
- package/lib/assets/payment-card.svg +4 -11
- package/lib/assets/plus.svg +1 -4
- package/lib/assets/plus3.svg +16 -1
- package/lib/assets/plus4.svg +15 -2
- package/lib/assets/reload.svg +2 -2
- package/lib/assets/reload2.svg +2 -2
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/assets/udr2.jpg +0 -0
- package/lib/assets/udr3.jpg +0 -0
- package/lib/assets/udr7.jpg +0 -0
- package/lib/assets/udr72.jpg +0 -0
- package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
- package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
- package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
- package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
- package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
- package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
- package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
- package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
- package/lib/components/Header/Header.js +0 -4
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +0 -4
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.stories.d.ts +2 -3
- package/lib/components/Header/Header.styles.d.ts +1 -1
- package/lib/components/Header/Header.styles.js +2 -2
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +2 -2
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +0 -2
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
- package/lib/components/Header/ProHeader/ProHeader.d.ts +2 -1
- package/lib/components/Header/ProHeader/ProHeader.js +5 -3
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +5 -4
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
- package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
- package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
- package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
- package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
- package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
- package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
- package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
- package/lib/components/MicrositeBanner/index.d.ts +1 -0
- package/lib/components/MicrositeBanner/index.js +6 -0
- package/lib/components/MicrositeBanner/index.mjs +3 -0
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
- package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
- package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
- package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
- package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
- package/lib/components/MicrositeProgressCircle/index.js +6 -0
- package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/express.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/index.js +8 -0
- package/lib/components/ProductTechSpecs/index.mjs +4 -0
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/components/index.d.ts +32 -38
- package/lib/components/index.js +98 -110
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +98 -110
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/icons/generic/index.js +6 -6
- package/lib/constants/icons/generic/index.mjs +2 -2
- package/lib/constants/icons/generic/minus.svg.js +5 -5
- package/lib/constants/icons/generic/minus.svg.mjs +2 -2
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/index.d.ts +0 -1
- package/lib/constants/icons/index.js +0 -2
- package/lib/constants/icons/index.js.map +1 -1
- package/lib/constants/icons/index.mjs +0 -2
- package/lib/constants/icons/index.mjs.map +1 -1
- package/lib/constants/mixin.d.ts +0 -1
- package/lib/constants/mixin.js +0 -6
- package/lib/constants/mixin.js.map +1 -1
- package/lib/constants/mixin.mjs +1 -6
- package/lib/constants/mixin.mjs.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.js +2 -2
- package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
- package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
- package/lib/helpers/shopify/iconParsing.js.map +1 -1
- package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
- package/lib/utils/index.d.ts +1 -3
- package/lib/utils/index.js +6 -10
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/index.mjs +6 -10
- package/lib/utils/index.mjs.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.js +9 -17
- package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
- package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
- package/lib/utils/money/allocators/productAmount.js +38 -61
- package/lib/utils/money/allocators/productAmount.js.map +1 -1
- package/lib/utils/money/allocators/productAmount.mjs +38 -61
- package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
- package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
- package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
- package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
- package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/accessApplication.svg +0 -394
- package/lib/assets/addToCart.svg +0 -3
- package/lib/assets/arrowRightMicro.svg +0 -3
- package/lib/assets/black.svg +0 -14
- package/lib/assets/blackFabric.png +0 -0
- package/lib/assets/blue.svg +0 -14
- package/lib/assets/box2.svg +0 -3
- package/lib/assets/camo.png +0 -0
- package/lib/assets/check3.svg +0 -3
- package/lib/assets/close3.svg +0 -3
- package/lib/assets/compare/fov-bullet.png.js +0 -27
- package/lib/assets/compare/fov-bullet.png.js.map +0 -1
- package/lib/assets/compare/fov-bullet.png.mjs +0 -3
- package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
- package/lib/assets/concrete.png +0 -0
- package/lib/assets/darkGrey.svg +0 -14
- package/lib/assets/design-uisp-mobile.png +0 -0
- package/lib/assets/design-uisp.png +0 -0
- package/lib/assets/design-unifi-mobile.png +0 -0
- package/lib/assets/design-unifi.png +0 -0
- package/lib/assets/fov-bullet.png +0 -0
- package/lib/assets/grey.svg +0 -13
- package/lib/assets/hand2.svg +0 -5
- package/lib/assets/icons/accessApplication.svg.js +0 -27
- package/lib/assets/icons/accessApplication.svg.js.map +0 -1
- package/lib/assets/icons/accessApplication.svg.mjs +0 -3
- package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/addToCart.svg.js +0 -27
- package/lib/assets/icons/addToCart.svg.js.map +0 -1
- package/lib/assets/icons/addToCart.svg.mjs +0 -3
- package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
- package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
- package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
- package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
- package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
- package/lib/assets/icons/link.svg.js +0 -27
- package/lib/assets/icons/link.svg.js.map +0 -1
- package/lib/assets/icons/link.svg.mjs +0 -3
- package/lib/assets/icons/link.svg.mjs.map +0 -1
- package/lib/assets/icons/networkApplication.svg.js +0 -27
- package/lib/assets/icons/networkApplication.svg.js.map +0 -1
- package/lib/assets/icons/networkApplication.svg.mjs +0 -3
- package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
- package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
- package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
- package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-card.svg.js +0 -27
- package/lib/assets/icons/payment-card.svg.js.map +0 -1
- package/lib/assets/icons/payment-card.svg.mjs +0 -3
- package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-google-pay.svg.js +0 -27
- package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
- package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
- package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
- package/lib/assets/icons/play-big.svg.js +0 -27
- package/lib/assets/icons/play-big.svg.js.map +0 -1
- package/lib/assets/icons/play-big.svg.mjs +0 -3
- package/lib/assets/icons/play-big.svg.mjs.map +0 -1
- package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
- package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
- package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
- package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
- package/lib/assets/icons/protectApplication.svg.js +0 -27
- package/lib/assets/icons/protectApplication.svg.js.map +0 -1
- package/lib/assets/icons/protectApplication.svg.mjs +0 -3
- package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/reload.svg.js +0 -27
- package/lib/assets/icons/reload.svg.js.map +0 -1
- package/lib/assets/icons/reload.svg.mjs +0 -3
- package/lib/assets/icons/reload.svg.mjs.map +0 -1
- package/lib/assets/icons/sliderThumb.svg.js +0 -27
- package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
- package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
- package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
- package/lib/assets/icons/talkApplication.svg.js +0 -27
- package/lib/assets/icons/talkApplication.svg.js.map +0 -1
- package/lib/assets/icons/talkApplication.svg.mjs +0 -3
- package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/box.svg.js +0 -27
- package/lib/assets/icons/wizard/box.svg.js.map +0 -1
- package/lib/assets/icons/wizard/box.svg.mjs +0 -3
- package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/hand.svg.js +0 -27
- package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
- package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
- package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
- package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
- package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
- package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/warranty.svg.js +0 -27
- package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
- package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
- package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
- package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
- package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
- package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
- package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-uisp.png.js +0 -27
- package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
- package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
- package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
- package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
- package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
- package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-unifi.png.js +0 -27
- package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
- package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
- package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
- package/lib/assets/landingPage/support-expert.png.js +0 -27
- package/lib/assets/landingPage/support-expert.png.js.map +0 -1
- package/lib/assets/landingPage/support-expert.png.mjs +0 -3
- package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
- package/lib/assets/landingPage/support-help.png.js +0 -27
- package/lib/assets/landingPage/support-help.png.js.map +0 -1
- package/lib/assets/landingPage/support-help.png.mjs +0 -3
- package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
- package/lib/assets/lightGrey.svg +0 -13
- package/lib/assets/link.svg +0 -3
- package/lib/assets/marble.png +0 -0
- package/lib/assets/networkApplication.svg +0 -21
- package/lib/assets/payment-apple-pay.svg +0 -12
- package/lib/assets/payment-card2.svg +0 -5
- package/lib/assets/payment-google-pay.svg +0 -1
- package/lib/assets/play-big.svg +0 -4
- package/lib/assets/plus5.svg +0 -16
- package/lib/assets/plus6.svg +0 -16
- package/lib/assets/popoverPointer.svg +0 -12
- package/lib/assets/previouslyPurchasedStar.svg +0 -3
- package/lib/assets/protectApplication.svg +0 -418
- package/lib/assets/reload3.svg +0 -3
- package/lib/assets/sliderThumb.svg +0 -5
- package/lib/assets/support-expert.png +0 -0
- package/lib/assets/support-help.png +0 -0
- package/lib/assets/talkApplication.svg +0 -45
- package/lib/assets/warranty.svg +0 -2
- package/lib/assets/white.svg +0 -13
- package/lib/assets/wood.png +0 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
- package/lib/components/AppDownloadBanner/index.d.ts +0 -1
- package/lib/components/Banner/Banner.d.ts +0 -2
- package/lib/components/Banner/Banner.js.map +0 -1
- package/lib/components/Banner/Banner.mjs.map +0 -1
- package/lib/components/Banner/Banner.styles.js.map +0 -1
- package/lib/components/Banner/Banner.styles.mjs.map +0 -1
- package/lib/components/Banner/index.d.ts +0 -1
- package/lib/components/Banner/index.js +0 -6
- package/lib/components/Banner/index.mjs +0 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
- package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
- package/lib/components/CarouselGallery/index.d.ts +0 -1
- package/lib/components/CartIcon/CartIcon.js.map +0 -1
- package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
- package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
- package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.d.ts +0 -2
- package/lib/components/CartSummary/CartSummary.js +0 -58
- package/lib/components/CartSummary/CartSummary.js.map +0 -1
- package/lib/components/CartSummary/CartSummary.mjs +0 -56
- package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
- package/lib/components/CartSummary/CartSummary.styles.js +0 -133
- package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
- package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
- package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
- package/lib/components/CartSummary/index.d.ts +0 -1
- package/lib/components/CartSummary/index.js +0 -6
- package/lib/components/CartSummary/index.mjs +0 -3
- package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
- package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
- package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
- package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
- package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
- package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
- package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
- package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
- package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
- package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
- package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
- package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
- package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
- package/lib/components/CloserLookSection/index.d.ts +0 -1
- package/lib/components/CloserLookSection/index.js +0 -7
- package/lib/components/CloserLookSection/index.js.map +0 -1
- package/lib/components/CloserLookSection/index.mjs +0 -3
- package/lib/components/CloserLookSection/index.mjs.map +0 -1
- package/lib/components/Compare/Compare.d.ts +0 -2
- package/lib/components/Compare/Compare.styles.d.ts +0 -38
- package/lib/components/Compare/Compare.types.d.ts +0 -34
- package/lib/components/Compare/CompareData.d.ts +0 -22
- package/lib/components/Compare/ProductTable.d.ts +0 -6
- package/lib/components/Compare/index.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
- package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
- package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
- package/lib/components/CompareChart/index.d.ts +0 -2
- package/lib/components/CompareSection/CompareSection.d.ts +0 -5
- package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
- package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
- package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
- package/lib/components/CompareSection/index.d.ts +0 -1
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
- package/lib/components/DeploymentGallery/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
- package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
- package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
- package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
- package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/index.js +0 -7
- package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.context.js +0 -141
- package/lib/components/Gallery/Gallery.context.js.map +0 -1
- package/lib/components/Gallery/Gallery.context.mjs +0 -138
- package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.js +0 -123
- package/lib/components/Gallery/Gallery.js.map +0 -1
- package/lib/components/Gallery/Gallery.mjs +0 -120
- package/lib/components/Gallery/Gallery.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.styles.js +0 -86
- package/lib/components/Gallery/Gallery.styles.js.map +0 -1
- package/lib/components/Gallery/Gallery.styles.mjs +0 -73
- package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.types.js +0 -11
- package/lib/components/Gallery/Gallery.types.js.map +0 -1
- package/lib/components/Gallery/Gallery.types.mjs +0 -10
- package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
- package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
- package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/index.js +0 -9
- package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
- package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
- package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/index.js +0 -6
- package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
- package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
- package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
- package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
- package/lib/components/Gallery/index.js +0 -8
- package/lib/components/Gallery/index.mjs +0 -4
- package/lib/components/Gallery/utils.js +0 -9
- package/lib/components/Gallery/utils.js.map +0 -1
- package/lib/components/Gallery/utils.mjs +0 -8
- package/lib/components/Gallery/utils.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.js +0 -197
- package/lib/components/GridGallery/GridGallery.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.mjs +0 -189
- package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.styles.js +0 -132
- package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
- package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.types.js +0 -12
- package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
- package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
- package/lib/components/GridGallery/index.js +0 -6
- package/lib/components/GridGallery/index.js.map +0 -1
- package/lib/components/GridGallery/index.mjs +0 -3
- package/lib/components/GridGallery/index.mjs.map +0 -1
- package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
- package/lib/components/Header/SearchTab/index.d.ts +0 -1
- package/lib/components/Hero/Hero.d.ts +0 -2
- package/lib/components/Hero/Hero.js +0 -158
- package/lib/components/Hero/Hero.js.map +0 -1
- package/lib/components/Hero/Hero.mjs +0 -146
- package/lib/components/Hero/Hero.mjs.map +0 -1
- package/lib/components/Hero/Hero.styles.d.ts +0 -44
- package/lib/components/Hero/Hero.styles.js +0 -349
- package/lib/components/Hero/Hero.styles.js.map +0 -1
- package/lib/components/Hero/Hero.styles.mjs +0 -320
- package/lib/components/Hero/Hero.styles.mjs.map +0 -1
- package/lib/components/Hero/Hero.types.d.ts +0 -31
- package/lib/components/Hero/Hero.types.js +0 -12
- package/lib/components/Hero/Hero.types.js.map +0 -1
- package/lib/components/Hero/Hero.types.mjs +0 -11
- package/lib/components/Hero/Hero.types.mjs.map +0 -1
- package/lib/components/Hero/index.d.ts +0 -1
- package/lib/components/Hero/index.js +0 -6
- package/lib/components/Hero/index.js.map +0 -1
- package/lib/components/Hero/index.mjs +0 -3
- package/lib/components/Hero/index.mjs.map +0 -1
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
- package/lib/components/HeroFadeGallery/index.d.ts +0 -1
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
- package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
- package/lib/components/HowToUseSection/index.d.ts +0 -1
- package/lib/components/ImageModal/ImageModal.d.ts +0 -2
- package/lib/components/ImageModal/ImageModal.js +0 -42
- package/lib/components/ImageModal/ImageModal.js.map +0 -1
- package/lib/components/ImageModal/ImageModal.mjs +0 -40
- package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
- package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
- package/lib/components/ImageModal/ImageModal.styles.js +0 -64
- package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
- package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
- package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
- package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
- package/lib/components/ImageModal/index.d.ts +0 -1
- package/lib/components/ImageModal/index.js +0 -6
- package/lib/components/ImageModal/index.js.map +0 -1
- package/lib/components/ImageModal/index.mjs +0 -3
- package/lib/components/ImageModal/index.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.d.ts +0 -2
- package/lib/components/LandingPage/Block/Block.js +0 -38
- package/lib/components/LandingPage/Block/Block.js.map +0 -1
- package/lib/components/LandingPage/Block/Block.mjs +0 -36
- package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
- package/lib/components/LandingPage/Block/Block.styles.js +0 -37
- package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
- package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
- package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
- package/lib/components/LandingPage/Block/index.d.ts +0 -1
- package/lib/components/LandingPage/Block/index.js +0 -6
- package/lib/components/LandingPage/Block/index.js.map +0 -1
- package/lib/components/LandingPage/Block/index.mjs +0 -3
- package/lib/components/LandingPage/Block/index.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
- package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
- package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
- package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
- package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
- package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
- package/lib/components/LandingPage/Cards/Card/index.js +0 -6
- package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
- package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
- package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
- package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Cards.js +0 -127
- package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
- package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
- package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
- package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
- package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/index.d.ts +0 -2
- package/lib/components/LandingPage/Cards/index.js +0 -8
- package/lib/components/LandingPage/Cards/index.js.map +0 -1
- package/lib/components/LandingPage/Cards/index.mjs +0 -4
- package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
- package/lib/components/LandingPage/LandingPage.constants.js +0 -40
- package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
- package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.d.ts +0 -2
- package/lib/components/LandingPage/LandingPage.js +0 -116
- package/lib/components/LandingPage/LandingPage.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.mjs +0 -102
- package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
- package/lib/components/LandingPage/LandingPage.styles.js +0 -66
- package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
- package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
- package/lib/components/LandingPage/index.d.ts +0 -1
- package/lib/components/LandingPage/index.js +0 -6
- package/lib/components/LandingPage/index.js.map +0 -1
- package/lib/components/LandingPage/index.mjs +0 -3
- package/lib/components/LandingPage/index.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
- package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
- package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
- package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
- package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
- package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
- package/lib/components/LandingPagePro/index.d.ts +0 -1
- package/lib/components/LandingPagePro/index.js +0 -6
- package/lib/components/LandingPagePro/index.js.map +0 -1
- package/lib/components/LandingPagePro/index.mjs +0 -3
- package/lib/components/LandingPagePro/index.mjs.map +0 -1
- package/lib/components/LandingPagePro/utils.d.ts +0 -12
- package/lib/components/LandingPagePro/utils.js +0 -26
- package/lib/components/LandingPagePro/utils.js.map +0 -1
- package/lib/components/LandingPagePro/utils.mjs +0 -24
- package/lib/components/LandingPagePro/utils.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
- package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
- package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
- package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
- package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
- package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
- package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
- package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
- package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
- package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
- package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
- package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
- package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
- package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
- package/lib/components/LandingPageSearch/Modal/index.js +0 -6
- package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
- package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
- package/lib/components/LandingPageSearch/index.d.ts +0 -1
- package/lib/components/LandingPageSearch/index.js +0 -6
- package/lib/components/LandingPageSearch/index.js.map +0 -1
- package/lib/components/LandingPageSearch/index.mjs +0 -3
- package/lib/components/LandingPageSearch/index.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
- package/lib/components/LandingPageSidebar/index.d.ts +0 -1
- package/lib/components/LandingPageSidebar/index.js +0 -6
- package/lib/components/LandingPageSidebar/index.js.map +0 -1
- package/lib/components/LandingPageSidebar/index.mjs +0 -3
- package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
- package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
- package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
- package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
- package/lib/components/LayoutRenderer/index.d.ts +0 -2
- package/lib/components/LayoutRenderer/index.js +0 -6
- package/lib/components/LayoutRenderer/index.js.map +0 -1
- package/lib/components/LayoutRenderer/index.mjs +0 -3
- package/lib/components/LayoutRenderer/index.mjs.map +0 -1
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
- package/lib/components/LayoutRendererV1/index.d.ts +0 -1
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
- package/lib/components/LayoutRendererV2/index.d.ts +0 -1
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
- package/lib/components/NewToUnifiBox/index.d.ts +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
- package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
- package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
- package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
- package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
- package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
- package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
- package/lib/components/NormalisedImage/index.d.ts +0 -2
- package/lib/components/NormalisedImage/index.js +0 -7
- package/lib/components/NormalisedImage/index.js.map +0 -1
- package/lib/components/NormalisedImage/index.mjs +0 -4
- package/lib/components/NormalisedImage/index.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.d.ts +0 -2
- package/lib/components/Pagination/Pagination.js +0 -71
- package/lib/components/Pagination/Pagination.js.map +0 -1
- package/lib/components/Pagination/Pagination.mjs +0 -69
- package/lib/components/Pagination/Pagination.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
- package/lib/components/Pagination/Pagination.styles.js +0 -51
- package/lib/components/Pagination/Pagination.styles.js.map +0 -1
- package/lib/components/Pagination/Pagination.styles.mjs +0 -41
- package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.types.d.ts +0 -5
- package/lib/components/Pagination/index.d.ts +0 -2
- package/lib/components/Pagination/index.js +0 -6
- package/lib/components/Pagination/index.js.map +0 -1
- package/lib/components/Pagination/index.mjs +0 -3
- package/lib/components/Pagination/index.mjs.map +0 -1
- package/lib/components/Popover/Popover.d.ts +0 -20
- package/lib/components/Popover/Popover.js +0 -37
- package/lib/components/Popover/Popover.js.map +0 -1
- package/lib/components/Popover/Popover.mjs +0 -29
- package/lib/components/Popover/Popover.mjs.map +0 -1
- package/lib/components/Popover/Popover.styles.d.ts +0 -15
- package/lib/components/Popover/Popover.styles.js +0 -122
- package/lib/components/Popover/Popover.styles.js.map +0 -1
- package/lib/components/Popover/Popover.styles.mjs +0 -111
- package/lib/components/Popover/Popover.styles.mjs.map +0 -1
- package/lib/components/Popover/Popover.types.d.ts +0 -8
- package/lib/components/Popover/index.d.ts +0 -1
- package/lib/components/Popover/index.js +0 -6
- package/lib/components/Popover/index.js.map +0 -1
- package/lib/components/Popover/index.mjs +0 -3
- package/lib/components/Popover/index.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
- package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/index.d.ts +0 -1
- package/lib/components/PriceRangeSlider/index.js +0 -6
- package/lib/components/PriceRangeSlider/index.js.map +0 -1
- package/lib/components/PriceRangeSlider/index.mjs +0 -3
- package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
- package/lib/components/ProductCard/ProductCard.constants.js +0 -18
- package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
- package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.d.ts +0 -2
- package/lib/components/ProductCard/ProductCard.js +0 -139
- package/lib/components/ProductCard/ProductCard.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.mjs +0 -130
- package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
- package/lib/components/ProductCard/ProductCard.styles.js +0 -178
- package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
- package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
- package/lib/components/ProductCard/index.d.ts +0 -1
- package/lib/components/ProductCard/index.js +0 -6
- package/lib/components/ProductCard/index.js.map +0 -1
- package/lib/components/ProductCard/index.mjs +0 -3
- package/lib/components/ProductCard/index.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
- package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
- package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
- package/lib/components/ProductCardPopup/index.d.ts +0 -1
- package/lib/components/ProductCardPopup/index.js +0 -6
- package/lib/components/ProductCardPopup/index.js.map +0 -1
- package/lib/components/ProductCardPopup/index.mjs +0 -3
- package/lib/components/ProductCardPopup/index.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
- package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
- package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
- package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
- package/lib/components/ProductCompare/ProductCompare.js +0 -158
- package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
- package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
- package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
- package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
- package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
- package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
- package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
- package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
- package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
- package/lib/components/ProductCompare/index.d.ts +0 -1
- package/lib/components/ProductCompare/index.js +0 -6
- package/lib/components/ProductCompare/index.js.map +0 -1
- package/lib/components/ProductCompare/index.mjs +0 -3
- package/lib/components/ProductCompare/index.mjs.map +0 -1
- package/lib/components/ProductCompare/mapping.d.ts +0 -62
- package/lib/components/ProductCompare/mapping.js +0 -1107
- package/lib/components/ProductCompare/mapping.js.map +0 -1
- package/lib/components/ProductCompare/mapping.mjs +0 -1098
- package/lib/components/ProductCompare/mapping.mjs.map +0 -1
- package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
- package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
- package/lib/components/ProductDetails/ProductDetails.js +0 -53
- package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
- package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
- package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
- package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
- package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
- package/lib/components/ProductDetails/index.d.ts +0 -2
- package/lib/components/ProductDetails/index.js +0 -8
- package/lib/components/ProductDetails/index.js.map +0 -1
- package/lib/components/ProductDetails/index.mjs +0 -4
- package/lib/components/ProductDetails/index.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
- package/lib/components/ProductGrid/ProductGrid.js +0 -168
- package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
- package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
- package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
- package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
- package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
- package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
- package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
- package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
- package/lib/components/ProductGrid/index.d.ts +0 -1
- package/lib/components/ProductGrid/index.js +0 -6
- package/lib/components/ProductGrid/index.js.map +0 -1
- package/lib/components/ProductGrid/index.mjs +0 -3
- package/lib/components/ProductGrid/index.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
- package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
- package/lib/components/ProductKeyFeatures/index.js +0 -6
- package/lib/components/ProductKeyFeatures/index.js.map +0 -1
- package/lib/components/ProductKeyFeatures/index.mjs +0 -3
- package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
- package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
- package/lib/components/ProductRecommendedAccessories/index.js +0 -6
- package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
- package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
- package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
- package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
- package/lib/components/ProductSectionTabs/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/index.js +0 -6
- package/lib/components/ProductSectionTabs/index.js.map +0 -1
- package/lib/components/ProductSectionTabs/index.mjs +0 -3
- package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
- package/lib/components/ProductUpsell/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
- package/lib/components/ProductWizard/Options/Options.js +0 -77
- package/lib/components/ProductWizard/Options/Options.js.map +0 -1
- package/lib/components/ProductWizard/Options/Options.mjs +0 -75
- package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
- package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
- package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
- package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
- package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
- package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
- package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
- package/lib/components/ProductWizard/Options/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/index.js +0 -6
- package/lib/components/ProductWizard/Options/index.js.map +0 -1
- package/lib/components/ProductWizard/Options/index.mjs +0 -3
- package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
- package/lib/components/ProductWizard/ProductWizard.js +0 -114
- package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
- package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
- package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
- package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
- package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
- package/lib/components/ProductWizard/index.d.ts +0 -1
- package/lib/components/ProductWizard/index.js +0 -6
- package/lib/components/ProductWizard/index.js.map +0 -1
- package/lib/components/ProductWizard/index.mjs +0 -3
- package/lib/components/ProductWizard/index.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
- package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
- package/lib/components/ProductWizardFootnotes/index.js +0 -6
- package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
- package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
- package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
- package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
- package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
- package/lib/components/ProgressCircle/index.d.ts +0 -1
- package/lib/components/ProgressCircle/index.js +0 -6
- package/lib/components/ProgressCircle/index.js.map +0 -1
- package/lib/components/ProgressCircle/index.mjs +0 -3
- package/lib/components/ProgressCircle/index.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
- package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
- package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
- package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
- package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
- package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
- package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
- package/lib/components/RelatedProducts/index.d.ts +0 -1
- package/lib/components/RelatedProducts/index.js +0 -6
- package/lib/components/RelatedProducts/index.js.map +0 -1
- package/lib/components/RelatedProducts/index.mjs +0 -3
- package/lib/components/RelatedProducts/index.mjs.map +0 -1
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
- package/lib/components/SearchInput/Input.styles.d.ts +0 -20
- package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
- package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
- package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
- package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
- package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
- package/lib/components/SkeletonFootnote/index.d.ts +0 -1
- package/lib/components/SkeletonFootnote/index.js +0 -6
- package/lib/components/SkeletonFootnote/index.js.map +0 -1
- package/lib/components/SkeletonFootnote/index.mjs +0 -3
- package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
- package/lib/components/StorageSliders/Slider/Slider.js +0 -41
- package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
- package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
- package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
- package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
- package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
- package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
- package/lib/components/StorageSliders/Slider/index.js +0 -6
- package/lib/components/StorageSliders/Slider/index.js.map +0 -1
- package/lib/components/StorageSliders/Slider/index.mjs +0 -3
- package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
- package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
- package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
- package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
- package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
- package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
- package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
- package/lib/components/StorageSliders/StorageSliders.js +0 -102
- package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
- package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
- package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
- package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
- package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
- package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
- package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
- package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
- package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
- package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
- package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
- package/lib/components/StorageSliders/index.d.ts +0 -1
- package/lib/components/StorageSliders/index.js +0 -6
- package/lib/components/StorageSliders/index.js.map +0 -1
- package/lib/components/StorageSliders/index.mjs +0 -3
- package/lib/components/StorageSliders/index.mjs.map +0 -1
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
- package/lib/components/TabinationButtons/index.d.ts +0 -1
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
- package/lib/components/TopologyScheme/index.d.ts +0 -2
- package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
- package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
- package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
- package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
- package/lib/components/VariantSelector/CheckBox/index.js +0 -6
- package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
- package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/Variant.js +0 -699
- package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
- package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
- package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
- package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
- package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/index.js +0 -6
- package/lib/components/VariantSelector/Variant/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
- package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
- package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
- package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
- package/lib/components/VariantSelector/VariantSelector.js +0 -162
- package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
- package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
- package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
- package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
- package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
- package/lib/components/VariantSelector/index.d.ts +0 -1
- package/lib/components/VariantSelector/index.js +0 -6
- package/lib/components/VariantSelector/index.js.map +0 -1
- package/lib/components/VariantSelector/index.mjs +0 -3
- package/lib/components/VariantSelector/index.mjs.map +0 -1
- package/lib/components/VariantSelector/utils.d.ts +0 -11
- package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
- package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
- package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
- package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
- package/lib/components/VariantSelectorItem/index.d.ts +0 -1
- package/lib/components/VariantSelectorItem/index.js +0 -6
- package/lib/components/VariantSelectorItem/index.js.map +0 -1
- package/lib/components/VariantSelectorItem/index.mjs +0 -3
- package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV1/index.d.ts +0 -1
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV2/index.d.ts +0 -1
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
- package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
- package/lib/components/VideoPlayer/index.d.ts +0 -1
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
- package/lib/components/YouTubePlayer/index.d.ts +0 -1
- package/lib/constants/icons/options/colors/black.svg.js +0 -27
- package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/blue.svg.js +0 -27
- package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
- package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/grey.svg.js +0 -27
- package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/index.d.ts +0 -6
- package/lib/constants/icons/options/colors/index.js +0 -63
- package/lib/constants/icons/options/colors/index.js.map +0 -1
- package/lib/constants/icons/options/colors/index.mjs +0 -14
- package/lib/constants/icons/options/colors/index.mjs.map +0 -1
- package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
- package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/white.svg.js +0 -27
- package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
- package/lib/constants/icons/options/index.d.ts +0 -2
- package/lib/constants/icons/options/index.js +0 -8
- package/lib/constants/icons/options/index.js.map +0 -1
- package/lib/constants/icons/options/index.mjs +0 -6
- package/lib/constants/icons/options/index.mjs.map +0 -1
- package/lib/constants/icons/options/styles/black.svg.js +0 -27
- package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
- package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
- package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
- package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
- package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
- package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
- package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/camo.png.js +0 -27
- package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
- package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
- package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/concrete.png.js +0 -27
- package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
- package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
- package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/index.d.ts +0 -6
- package/lib/constants/icons/options/styles/index.js +0 -63
- package/lib/constants/icons/options/styles/index.js.map +0 -1
- package/lib/constants/icons/options/styles/index.mjs +0 -14
- package/lib/constants/icons/options/styles/index.mjs.map +0 -1
- package/lib/constants/icons/options/styles/marble.png.js +0 -27
- package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
- package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
- package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/wood.png.js +0 -27
- package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
- package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
- package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
- package/lib/constants/optionIcons.d.ts +0 -23
- package/lib/constants/optionIcons.js +0 -97
- package/lib/constants/optionIcons.js.map +0 -1
- package/lib/constants/optionIcons.mjs +0 -76
- package/lib/constants/optionIcons.mjs.map +0 -1
- package/lib/helpers/shopify/product.d.ts +0 -5
- package/lib/helpers/shopify/product.js +0 -52
- package/lib/helpers/shopify/product.js.map +0 -1
- package/lib/helpers/shopify/product.mjs +0 -50
- package/lib/helpers/shopify/product.mjs.map +0 -1
- package/lib/utils/cdn.d.ts +0 -5
- package/lib/utils/collectionSlug.d.ts +0 -5
- package/lib/utils/collectionSlug.js +0 -13
- package/lib/utils/collectionSlug.js.map +0 -1
- package/lib/utils/collectionSlug.mjs +0 -12
- package/lib/utils/collectionSlug.mjs.map +0 -1
- package/lib/utils/collectionSlug.test.d.ts +0 -1
- package/lib/utils/variant.d.ts +0 -8
- package/lib/utils/variant.js +0 -20
- package/lib/utils/variant.js.map +0 -1
- package/lib/utils/variant.mjs +0 -18
- package/lib/utils/variant.mjs.map +0 -1
- package/lib/utils/variant.test.d.ts +0 -1
- package/lib/utils/wattage.d.ts +0 -11
- package/lib/utils/wattage.js +0 -20
- package/lib/utils/wattage.js.map +0 -1
- package/lib/utils/wattage.mjs +0 -18
- package/lib/utils/wattage.mjs.map +0 -1
- package/lib/utils/wattage.test.d.ts +0 -1
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
- /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
- /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
- /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
- /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
- /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
- /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
- /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
- /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
- /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
|
@@ -75,9 +75,7 @@ const GlobalHeader = React.memo(function GlobalHeader2({
|
|
|
75
75
|
onModalOpen,
|
|
76
76
|
onMenuItemLinkClick,
|
|
77
77
|
onMenuSubItemLinkClick,
|
|
78
|
-
onSearchResultsAction,
|
|
79
78
|
account,
|
|
80
|
-
search,
|
|
81
79
|
cart,
|
|
82
80
|
onCartClick,
|
|
83
81
|
sticky: stickyInitial,
|
|
@@ -554,9 +552,7 @@ const GlobalHeader = React.memo(function GlobalHeader2({
|
|
|
554
552
|
}), !isSsr && activeModal === types.ModalId.MobileMenu && /* @__PURE__ */jsxRuntime.jsx(MobileMenu.NavigationMobileMenu, {
|
|
555
553
|
translations,
|
|
556
554
|
onClose: handleModalClose,
|
|
557
|
-
onSearchResultsAction,
|
|
558
555
|
renderImage,
|
|
559
|
-
search,
|
|
560
556
|
storeLink,
|
|
561
557
|
hasMicrositeMenu: !!micrositeMenu
|
|
562
558
|
}), /* @__PURE__ */jsxRuntime.jsx(Carousel.NavigationCarousel, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n onSearchResultsAction,\n account,\n search,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // // Callback ref used to get child component reference\n // // @see https://reactjs.org/docs/refs-and-the-dom.html#callback-refs\n // const [searchInputRef, setSearchInputRef] = useState<HTMLInputElement | null>(\n // null\n // );\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // const handleShowSearchTab = useCallback(\n // (e: React.MouseEvent<HTMLElement>) => {\n // // Open search modal\n // handleModalOpen(e, ModalId.Search);\n\n // if (searchInputRef) {\n // // * search input focus triggered via a user action so keyboard visible on ios onFocus\n // // @see https://stackoverflow.com/questions/4609765/manually-triggering-the-iphone-ipad-ipod-keyboard-from-javascript\n // searchInputRef.focus();\n // }\n // },\n // [handleModalOpen, searchInputRef]\n // );\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchTabWrap\n data-test-id=\"search-input\"\n hide={activeModal !== ModalId.Search}\n >\n <SearchTab\n translations={translations}\n onClose={handleModalClose}\n setInputRef={setSearchInputRef}\n showSearchTab={activeModal === ModalId.Search}\n motif={headerBarMotif}\n onSearchResultsAction={onSearchResultsAction}\n search={search}\n />\n </S.SearchTabWrap> */}\n\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n onSearchResultsAction={onSearchResultsAction}\n renderImage={renderImage}\n search={search}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","onSearchResultsAction","account","search","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","IconWrap","onClick","Account","S.SvgIcon","SvgIcon","src","icons.header.account","width","HEADER_ICON_SIZE","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","Wrap","ref","S.HeaderWrap","HeaderWrap","noWrapHeight","S.Header","Header","transparent","S.Container","Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Anchor","Uisp","Ui","onTouchEnd","LogoIconWrap","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","InnerLeftWrap","$center","S.MenuItemWrap","MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,KAAAA,CAAAA,IAAK,CAAA,SAASD,aAAaE,CAAA;EACrDC,SAAA;EACAC,KAAO,EAAAC,SAAA;EACPC,YAAc,EAAAC,mBAAA;EACdC,WAAA;EACAC,cAAA;EACAC,gBAAA;EACAC,WAAA;EACAC,mBAAA;EACAC,sBAAA;EACAC,qBAAA;EACAC,OAAA;EACAC,MAAA;EACAC,IAAA;EACAC,WAAA;EACAC,MAAQ,EAAAC,aAAA;EACRC,cAAA;EACAC,kBAAA;EACAC,aAAA;EACAC,qBAAA;EACAC,iBAAA;EACAC,aAAA;EACAC,WAAA;EACAC;AACF,CAAgB,EAAA;EACd,MAAMC,QAAW,GAAAC,QAAA,CAAAA,QAAA,CAASC,kBAAY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version":3,"file":"Header.js","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n account,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n renderImage={renderImage}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","account","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","IconWrap","onClick","Account","S.SvgIcon","SvgIcon","src","icons.header.account","width","HEADER_ICON_SIZE","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","Wrap","ref","S.HeaderWrap","HeaderWrap","noWrapHeight","S.Header","Header","transparent","S.Container","Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Anchor","Uisp","Ui","onTouchEnd","LogoIconWrap","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","InnerLeftWrap","$center","S.MenuItemWrap","MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,KAAAA,CAAAA,IAAK,CAAA,SAASD,aAAaE,CAAA;EACrDC,SAAA;EACAC,KAAO,EAAAC,SAAA;EACPC,YAAc,EAAAC,mBAAA;EACdC,WAAA;EACAC,cAAA;EACAC,gBAAA;EACAC,WAAA;EACAC,mBAAA;EACAC,sBAAA;EACAC,OAAA;EACAC,IAAA;EACAC,WAAA;EACAC,MAAQ,EAAAC,aAAA;EACRC,cAAA;EACAC,kBAAA;EACAC,aAAA;EACAC,qBAAA;EACAC,iBAAA;EACAC,aAAA;EACAC,WAAA;EACAC;AACF,CAAgB,EAAA;EACd,MAAMC,QAAW,GAAAC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9 +60,7 @@ const GlobalHeader = memo(function GlobalHeader2({
|
|
|
60
60
|
onModalOpen,
|
|
61
61
|
onMenuItemLinkClick,
|
|
62
62
|
onMenuSubItemLinkClick,
|
|
63
|
-
onSearchResultsAction,
|
|
64
63
|
account,
|
|
65
|
-
search,
|
|
66
64
|
cart,
|
|
67
65
|
onCartClick,
|
|
68
66
|
sticky: stickyInitial,
|
|
@@ -519,9 +517,7 @@ const GlobalHeader = memo(function GlobalHeader2({
|
|
|
519
517
|
}), !isSsr && activeModal === ModalId.MobileMenu && /* @__PURE__ */jsx(NavigationMobileMenu, {
|
|
520
518
|
translations,
|
|
521
519
|
onClose: handleModalClose,
|
|
522
|
-
onSearchResultsAction,
|
|
523
520
|
renderImage,
|
|
524
|
-
search,
|
|
525
521
|
storeLink,
|
|
526
522
|
hasMicrositeMenu: !!micrositeMenu
|
|
527
523
|
}), /* @__PURE__ */jsx(NavigationCarousel, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.mjs","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n onSearchResultsAction,\n account,\n search,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // // Callback ref used to get child component reference\n // // @see https://reactjs.org/docs/refs-and-the-dom.html#callback-refs\n // const [searchInputRef, setSearchInputRef] = useState<HTMLInputElement | null>(\n // null\n // );\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // const handleShowSearchTab = useCallback(\n // (e: React.MouseEvent<HTMLElement>) => {\n // // Open search modal\n // handleModalOpen(e, ModalId.Search);\n\n // if (searchInputRef) {\n // // * search input focus triggered via a user action so keyboard visible on ios onFocus\n // // @see https://stackoverflow.com/questions/4609765/manually-triggering-the-iphone-ipad-ipod-keyboard-from-javascript\n // searchInputRef.focus();\n // }\n // },\n // [handleModalOpen, searchInputRef]\n // );\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchTabWrap\n data-test-id=\"search-input\"\n hide={activeModal !== ModalId.Search}\n >\n <SearchTab\n translations={translations}\n onClose={handleModalClose}\n setInputRef={setSearchInputRef}\n showSearchTab={activeModal === ModalId.Search}\n motif={headerBarMotif}\n onSearchResultsAction={onSearchResultsAction}\n search={search}\n />\n </S.SearchTabWrap> */}\n\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n onSearchResultsAction={onSearchResultsAction}\n renderImage={renderImage}\n search={search}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","onSearchResultsAction","account","search","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","onClick","Account","S.SvgIcon","src","icons.header.account","width","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","ref","S.HeaderWrap","noWrapHeight","S.Header","transparent","S.Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Uisp","Ui","onTouchEnd","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","$center","S.MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,IAAK,CAAA,SAASD,aAAaE,CAAA;EACrDC,SAAA;EACAC,KAAO,EAAAC,SAAA;EACPC,YAAc,EAAAC,mBAAA;EACdC,WAAA;EACAC,cAAA;EACAC,gBAAA;EACAC,WAAA;EACAC,mBAAA;EACAC,sBAAA;EACAC,qBAAA;EACAC,OAAA;EACAC,MAAA;EACAC,IAAA;EACAC,WAAA;EACAC,MAAQ,EAAAC,aAAA;EACRC,cAAA;EACAC,kBAAA;EACAC,aAAA;EACAC,qBAAA;EACAC,iBAAA;EACAC,aAAA;EACAC,WAAA;EACAC;AACF,CAAgB,EAAA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CAAC8G,SAAA,EAAA;MACCrP,YAAA;MACAE,WAAA;MACAuJ,OAAS,EAAA5E,gBAAA;MACTlE;IAAA,CACF,CAAA,EAGD,CAACmB,KAAA,IAASG,WAAgB,KAAAqC,OAAA,CAAQgB,UACjC,IAAA,eAAAiD,GAAA,CAAC+G,oBAAA,EAAA;MACCtP,YAAA;MACAyJ,OAAS,EAAA5E,gBAAA;MACTrE,qBAAA;MACAN,WAAA;MACAQ,MAAA;MACA4G,SAAA;MACAiI,gBAAA,EAAkB,CAAC,CAACnO;IAAA,CACtB,CAAA,EAAA,eAGFmH,GAAA,CAACiH,kBAAA,EAAA;MACCjP,sBAAA;MACAkP,YAAc,EAAA5O,MAAA;MACdA,MAAQ,EAAAE,cAAA;MACRgH;IAAA,CACF,CAAA,EAEC3G,aACC,mBAAAmH,GAAA,CAACmH,uBAAA,EAAA;MACE,GAAGtO,aAAA;MACJgF,IAAM,EAAAL,iBAAA;MACN0D,OAAA,EAASA,CAAA,KAAM/D,yBAAA,CAA0B,KAAK,CAAA;MAC9C+J,YAAc,EAAA5O;IAAA,CAChB,CAAA,EAGD,CAACiB,KACA,IAAA,eAAAyG,GAAA,CAACoH,aAAA,EAAA;MACCC,YAAc,EAAAzI,mBAAA;MACdsC,OAAS,EAAA5E;IAAA,CAAA,CAAA;GAGf,CAAA;AAEJ,CAAC,CAAA;"}
|
|
1
|
+
{"version":3,"file":"Header.mjs","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n account,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n renderImage={renderImage}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","account","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","onClick","Account","S.SvgIcon","src","icons.header.account","width","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","ref","S.HeaderWrap","noWrapHeight","S.Header","transparent","S.Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Uisp","Ui","onTouchEnd","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","$center","S.MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,IAAK,CAAA,SAASD,aAAaE,CAAA;EACrDC,SAAA;EACAC,KAAO,EAAAC,SAAA;EACPC,YAAc,EAAAC,mBAAA;EACdC,WAAA;EACAC,cAAA;EACAC,gBAAA;EACAC,WAAA;EACAC,mBAAA;EACAC,sBAAA;EACAC,OAAA;EACAC,IAAA;EACAC,WAAA;EACAC,MAAQ,EAAAC,aAAA;EACRC,cAAA;EACAC,kBAAA;EACAC,aAAA;EACAC,qBAAA;EACAC,iBAAA;EACAC,aAAA;EACAC,WAAA;EACAC;AACF,CAAgB,EAAA;EACd,MAAMC,QAAW,GAAAC,QAAA,CAASC,WAAY,CAAAC,uBAAA,EAAyB,KAAK,CAAA;EAK9D,MAAAxB,YAAA,GAAeyB,QAAQ,MAAM;IAC1B,OAAAC,KAAA,CAAMC,2BAA2B1B,mBAAmB,CAAA;EAAA,CAC7D,EAAG,CAACA,mBAAmB,CAAC,CAAA;EAKlB,MAAA;IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAOJ2B,KAAA;IACA9B,KAAA;IACA+B,OAAA;IACAC,QAAA;IACAC,WAAA;IACAC,eAAA;IACAC,cAAA;IACAC,uBAAA;IAAA;IAEAC,sBAAA;IACAC,aAAA;IACAC,kBAAA;IACAC;MACEC,OAAQ,CAAA,CAAA;EAEN,MAAA;IAAEC;EAAc,CAAA,GAAIC,cAAe,CAAA;IACvCC,kBAAoB,EAAAC,cAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,QAAA,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KAAM/D,yBAAA,CAA0B,KAAK,CAAA;MAC9C+J,YAAc,EAAA5O;IAAA,CAChB,CAAA,EAGD,CAACiB,KACA,IAAA,eAAAyG,GAAA,CAACoH,aAAA,EAAA;MACCC,YAAc,EAAAzI,mBAAA;MACdsC,OAAS,EAAA5E;IAAA,CAAA,CAAA;GAGf,CAAA;AAEJ,CAAC,CAAA;"}
|
|
@@ -47,7 +47,6 @@ export declare const Experts_UI: import("@storybook/core/csf").AnnotatedStoryFn<
|
|
|
47
47
|
export declare const Experts_UISP: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
|
|
48
48
|
export declare const UWC: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
|
|
49
49
|
export declare const NavigationLoading: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
|
|
50
|
-
export declare const SearchLoading: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
|
|
51
50
|
export declare const StoreCartModal: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Header.types").HeaderProps>;
|
|
52
51
|
export declare const Isolated: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {
|
|
53
52
|
className?: string;
|
|
@@ -63,7 +62,7 @@ export declare const Isolated: import("@storybook/core/csf").AnnotatedStoryFn<im
|
|
|
63
62
|
};
|
|
64
63
|
logo?: import("./Header.types").HeaderLogo;
|
|
65
64
|
} & Pick<import("./Header.types").HeaderProps, "embedConfig">>;
|
|
66
|
-
export declare const Pro: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "
|
|
65
|
+
export declare const Pro: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "account" | "cart" | "motif" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
|
|
67
66
|
cartPreview?: React.ReactNode;
|
|
68
67
|
embedConfig?: import("./Header.types").HeaderEmbedConfig;
|
|
69
68
|
handleStorePickerClick?: () => void;
|
|
@@ -87,7 +86,7 @@ export declare const Pro: import("@storybook/core/csf").AnnotatedStoryFn<import(
|
|
|
87
86
|
hideInlineCategories?: boolean;
|
|
88
87
|
logo?: import("./Header.types").HeaderLogo;
|
|
89
88
|
}>;
|
|
90
|
-
export declare const ProEmbedded: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "
|
|
89
|
+
export declare const ProEmbedded: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "account" | "cart" | "motif" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
|
|
91
90
|
cartPreview?: React.ReactNode;
|
|
92
91
|
embedConfig?: import("./Header.types").HeaderEmbedConfig;
|
|
93
92
|
handleStorePickerClick?: () => void;
|