@ubnt/store.core 9.71.0-beta.5 → 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/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/box.svg +3 -4
- package/lib/assets/close2.svg +2 -3
- 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/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.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/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/payment-card.svg +4 -11
- package/lib/assets/plus.svg +1 -22
- package/lib/assets/plus2.svg +22 -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/ucgFiber.jpg +0 -0
- package/lib/assets/ucgFiber2.jpg +0 -0
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/ucgUltra.jpg +0 -0
- package/lib/assets/ucgUltra2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.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 +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/ucgFiber.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgFiber.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.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/ucgFiber.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgFiber.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.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/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 +12 -12
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +8 -8
- package/lib/components/ModelCompareV3/data/products/ucgFiber.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.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/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 +2 -2
- package/lib/components/QuantityInput/QuantityInput.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.types.mjs","sources":["../../../src/components/Header/Header.types.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport type { ReactNode } from \"react\";\n\nimport type { Language } from \"../../contexts/MenuContext/mapping\";\nimport type {\n ModalId,\n ParsedNavigationItem,\n ParsedNavigationSubItem,\n ParsedNavigationSubSubItem,\n} from \"../../contexts/MenuContext/types\";\nimport type { Nullish, ProductLine } from \"../../types\";\nimport type {\n CustomImageAsset,\n RenderImageFn,\n} from \"../CustomImage/CustomImage.types\";\nimport type { NavigationMicrositeMenuProps } from \"./Navigation/MicrositeMenu/MicrositeMenu.types\";\nimport type { ProMobileMenuSectionItem } from \"./Navigation/ProMobileMenu/ProMobileMenu.types\";\n\nexport const defaultHeaderTranslations = {\n new: \"New\",\n support: \"Support\",\n purchasedProductHistory: \"Purchased Product History\",\n orderHistory: \"Order History\",\n earlyAccess: \"Early Access\",\n store: \"Store\",\n links: \"Links\",\n company: \"Company\",\n social: \"Social\",\n tools: \"Tools\",\n training: \"Training\",\n continueShopping: \"Continue Shopping\",\n search: {\n placeholder: \"Search...\",\n noMatchesFound: \"Sorry, we couldn't find any matches.\",\n seeAllResults: \"See all results\",\n searchUniFiProducts: \"Search UniFi products\",\n searchUISPProducts: \"Search UISP products\",\n searchAmpliFiProducts: \"Search AmpliFi products\",\n },\n account: {\n login: \"Log In\",\n signUp: \"Sign Up\",\n signOut: \"Sign Out\",\n uiAccount: \"UI Account\",\n unifiSiteManager: \"UniFi Site Manager\",\n manageAccount: \"Manage Account\",\n orderHistory: \"Orders & Addresses\",\n },\n cart: {\n VATincluded: \"VAT Incl.\",\n includesVat: \"Includes VAT of\",\n discount: \"Discount\",\n empty: \"Your cart is empty\",\n review: \"Checkout\",\n shipping: \"Shipping\",\n subtotal: \"Subtotal\",\n total: \"Total price:\",\n itemsTitle: \"Your Cart\",\n upsellTitle: \"Usually bought together\",\n },\n language: {},\n region: \"Region\",\n};\n\nexport interface HeaderAccountCustomer {\n id: string;\n email: string;\n displayName: string;\n picture?: string | null;\n hasPreviousUispPurchases?: boolean;\n}\n\nexport interface HeaderAccount {\n loading?: boolean;\n customer?: Nullish<HeaderAccountCustomer>;\n handleLogin?: () => void;\n handleLogout?: () => void;\n handleRegister?: () => void;\n handleManageAccount?: () => void;\n handleOrderHistory?: () => void;\n renderStorePicker?: (onClose: () => void) => JSX.Element;\n}\n\nexport interface HeaderSearch {\n /** Trigger search */\n onSearch: (formattedQuerySearchTerm: string) => void;\n loading?: boolean;\n totalItemsCount: number;\n items: Array<{\n id: string;\n url: string;\n image?: CustomImageAsset | null;\n title: string;\n family?: string | null;\n }>;\n}\n\nexport interface HeaderCartItemControls {\n loading?: boolean;\n quantityMax?: number;\n onQuantityChange: (newQuantity: number) => void;\n}\n\nexport interface HeaderCartItem {\n id: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n quantity: number;\n title: string;\n controls: HeaderCartItemControls;\n price: string;\n priceIncludingVAT?: string;\n}\n\nexport interface HeaderCart {\n onReview: () => void;\n loading?: boolean;\n items: HeaderCartItem[];\n upsellItems?: HeaderCartItem[];\n totals: Nullish<{\n shipping: Nullish<string>;\n discount: Nullish<string>;\n finalTax: Nullish<string>;\n total: string;\n totalIncludingVAT?: string;\n }>;\n}\n\nexport interface HeaderLogo {\n url?: string;\n hide?: boolean;\n productLine?: ProductLine;\n onClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n currentStore?: { flag: ReactNode; name: string };\n}\n\nexport type HeaderTranslations = typeof defaultHeaderTranslations;\n\nexport type HeaderEmbedConfig = {\n /**\n * Allows to configure custom callback on home link click\n */\n homeLinkClickHandler?: () => void;\n\n /**\n * Allows to render custom extra section items in Pro Mobile Menu\n */\n mobileMenuExtraSectionItems?: Array<ProMobileMenuSectionItem>;\n\n /**\n * Moves Avatar icon to the left side of the header\n */\n moveAvatarIconToLeft?: boolean;\n\n /**\n * Allows to display avatar as image instead of icon\n */\n displayAvatarAsImage?: boolean;\n\n /**\n * Allows to configure custom callback on avatar click\n */\n avatarClickHandler?: () => void;\n\n /**\n * Allows to hide logo / site title\n */\n hideLogo?: boolean;\n\n /**\n * Allows to hide Avatar icon from the header\n */\n hideAvatarIcon?: boolean;\n\n /**\n * Hide language picker\n */\n hideLanguagePicker?: boolean;\n\n fullWidthHeader?: boolean;\n\n /**\n * Renders site title instead of UI logo\n */\n siteTitle?: string;\n\n /**\n * Blurs search input and dismissed virtual keyboard on touchmove\n * @deprecated Use blurSearchOnTouchmove\n */\n hideSearchOnTouchmove?: boolean;\n blurSearchOnTouchmove?: boolean;\n};\n\nexport interface HeaderProps {\n className?: string;\n motif: Motif;\n /**\n * Main header bar becomes fixed position at the top\n */\n sticky?: boolean;\n /**\n * Navigation carousel becomes fixed position at the top\n */\n stickyCarousel?: boolean;\n translations?: HeaderTranslations;\n renderImage: RenderImageFn;\n showLineLoader?: boolean;\n onModalOpen?: () => void;\n onMenuItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationItem,\n ) => void;\n onMenuSubItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationSubItem | ParsedNavigationSubSubItem,\n ) => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Account\n account?: HeaderAccount;\n\n // Search\n onSearchResultsAction?: (searchTerm: string) => void;\n search?: HeaderSearch;\n\n // Cart\n onCartClick?: () => void;\n cart?: HeaderCart;\n\n // Set specific modal to be open initially\n initialActiveModal?: Nullish<ModalId>;\n /**\n * Triggers on active modal change\n */\n onActiveModal?: (id: ModalId | null, prevModalId: ModalId | null) => void;\n\n /**\n * Will be called before navigating to store search, the tracking request in this callback will only\n * finish if called from store side as microsites are not using next router.\n */\n trackStoreSearchClick?: () => void;\n\n transparentHeader?: boolean;\n\n /**\n * Sub-menu used for microsites\n */\n micrositeMenu?: NavigationMicrositeMenuProps;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n accountMenu?: React.ReactNode;\n}\n\nexport type IsolatedHeaderProps = {\n className?: string;\n motif: Motif;\n translations?: HeaderTranslations;\n handleContinueShopping: () => void;\n showLineLoader?: boolean;\n account?: {\n loading?: HeaderAccount[\"loading\"];\n customer?: { picture?: HeaderAccountCustomer[\"picture\"] };\n };\n\n // Logo overrides\n logo?: HeaderLogo;\n} & Pick<HeaderProps, \"embedConfig\">;\n\nexport interface ProHeaderEarlyAccess {\n loading?: boolean;\n onClick: () => void;\n}\n\nexport interface HeaderProductLineOption {\n value: ProductLine;\n label: string;\n}\n\nexport interface ProHeaderCategories {\n items: ProMobileMenuSectionItem[];\n activeIndex: number;\n}\n\nexport type ProHeaderProps = Pick<\n HeaderProps,\n | \"className\"\n | \"motif\"\n | \"cart\"\n | \"account\"\n | \"translations\"\n | \"onModalOpen\"\n | \"onCartClick\"\n | \"showLineLoader\"\n | \"accountMenu\"\n> & {\n cartPreview?: React.ReactNode;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n // Country picker\n handleStorePickerClick?: () => void;\n /** @deprecated Not used in favour of `logo.currentStore.name` */\n currentCountryName?: string;\n\n // Early access button\n earlyAccess?: ProHeaderEarlyAccess;\n\n // Purchase History button\n handlePurchaseHistoryClick?: () => void;\n\n // Order button\n handleOrderHistoryClick?: () => void;\n\n // Product line picker\n productLineOptions?: HeaderProductLineOption[];\n productLineValue?: ProductLine;\n handleProductLineChange?: (type: ProductLine) => void;\n\n // Mobile menu aka \"hamburger\" button click\n handleMobileMenuClick?: () => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Search\n searchValue?: string;\n onSearch?: (searchTerm: string) => void;\n searchInputWidth?: number;\n searchInputChildren?: ReactNode;\n\n onSearchFocus?: () => void;\n onSearchBlur?: () => void;\n onSearchClick?: () => void;\n\n // Categories used for menu\n categories: ProHeaderCategories;\n hideInlineCategories?: boolean;\n\n // Logo overrides\n logo?: HeaderLogo;\n};\n"],"names":["defaultHeaderTranslations","new","support","purchasedProductHistory","orderHistory","earlyAccess","store","links","company","social","tools","training","continueShopping","search","placeholder","noMatchesFound","seeAllResults","searchUniFiProducts","searchUISPProducts","searchAmpliFiProducts","account","login","signUp","signOut","uiAccount","unifiSiteManager","manageAccount","cart","VATincluded","includesVat","discount","empty","review","shipping","subtotal","total","itemsTitle","upsellTitle","language","region"],"mappings":";;AAkBO,MAAMA,yBAA4B,GAAA;EACvCC,GAAK,EAAA,KAAA;EACLC,OAAS,EAAA,SAAA;EACTC,uBAAyB,EAAA,2BAAA;EACzBC,YAAc,EAAA,eAAA;EACdC,WAAa,EAAA,cAAA;EACbC,KAAO,EAAA,OAAA;EACPC,KAAO,EAAA,OAAA;EACPC,OAAS,EAAA,SAAA;EACTC,MAAQ,EAAA,QAAA;EACRC,KAAO,EAAA,OAAA;EACPC,QAAU,EAAA,UAAA;EACVC,gBAAkB,EAAA,mBAAA;EAClBC,MAAQ,EAAA;IACNC,WAAa,EAAA,WAAA;IACbC,cAAgB,EAAA,sCAAA;IAChBC,aAAe,EAAA,iBAAA;IACfC,mBAAqB,EAAA,uBAAA;IACrBC,kBAAoB,EAAA,sBAAA;IACpBC,qBAAuB,EAAA;EACzB,CAAA;EACAC,OAAS,EAAA;IACPC,KAAO,EAAA,QAAA;IACPC,MAAQ,EAAA,SAAA;IACRC,OAAS,EAAA,UAAA;IACTC,SAAW,EAAA,YAAA;IACXC,gBAAkB,EAAA,oBAAA;IAClBC,aAAe,EAAA,gBAAA;IACftB,YAAc,EAAA;EAChB,CAAA;EACAuB,IAAM,EAAA;IACJC,WAAa,EAAA,WAAA;IACbC,WAAa,EAAA,iBAAA;IACbC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,oBAAA;IACPC,MAAQ,EAAA,UAAA;IACRC,QAAU,EAAA,UAAA;IACVC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,cAAA;IACPC,UAAY,EAAA,WAAA;IACZC,WAAa,EAAA;EACf,CAAA;EACAC,UAAU,CAAC,CAAA;EACXC,MAAQ,EAAA;AACV,CAAA;"}
|
|
1
|
+
{"version":3,"file":"Header.types.mjs","sources":["../../../src/components/Header/Header.types.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport type { ReactNode } from \"react\";\n\nimport type { Language } from \"../../contexts/MenuContext/mapping\";\nimport type {\n ModalId,\n ParsedNavigationItem,\n ParsedNavigationSubItem,\n ParsedNavigationSubSubItem,\n} from \"../../contexts/MenuContext/types\";\nimport type { Nullish, ProductLine } from \"../../types\";\nimport type {\n CustomImageAsset,\n RenderImageFn,\n} from \"../CustomImage/CustomImage.types\";\nimport type { NavigationMicrositeMenuProps } from \"./Navigation/MicrositeMenu/MicrositeMenu.types\";\nimport type { ProMobileMenuSectionItem } from \"./Navigation/ProMobileMenu/ProMobileMenu.types\";\n\nexport const defaultHeaderTranslations = {\n new: \"New\",\n support: \"Support\",\n purchasedProductHistory: \"Purchased Product History\",\n orderHistory: \"Order History\",\n earlyAccess: \"Early Access\",\n store: \"Store\",\n links: \"Links\",\n company: \"Company\",\n social: \"Social\",\n tools: \"Tools\",\n training: \"Training\",\n continueShopping: \"Continue Shopping\",\n search: {\n placeholder: \"Search...\",\n noMatchesFound: \"Sorry, we couldn't find any matches.\",\n seeAllResults: \"See all results\",\n searchUniFiProducts: \"Search UniFi products\",\n searchUISPProducts: \"Search UISP products\",\n searchAmpliFiProducts: \"Search AmpliFi products\",\n },\n account: {\n login: \"Log In\",\n signUp: \"Sign Up\",\n signOut: \"Sign Out\",\n uiAccount: \"UI Account\",\n unifiSiteManager: \"UniFi Site Manager\",\n manageAccount: \"Manage Account\",\n orderHistory: \"Orders & Addresses\",\n },\n cart: {\n VATincluded: \"VAT Incl.\",\n includesVat: \"Includes VAT of\",\n discount: \"Discount\",\n empty: \"Your cart is empty\",\n review: \"Checkout\",\n shipping: \"Shipping\",\n subtotal: \"Subtotal\",\n total: \"Total price:\",\n itemsTitle: \"Your Cart\",\n upsellTitle: \"Usually bought together\",\n },\n language: {},\n region: \"Region\",\n};\n\nexport interface HeaderAccountCustomer {\n id: string;\n email: string;\n displayName: string;\n picture?: string | null;\n hasPreviousUispPurchases?: boolean;\n}\n\nexport interface HeaderAccount {\n loading?: boolean;\n customer?: Nullish<HeaderAccountCustomer>;\n handleLogin?: () => void;\n handleLogout?: () => void;\n handleRegister?: () => void;\n handleManageAccount?: () => void;\n handleOrderHistory?: () => void;\n renderStorePicker?: (onClose: () => void) => JSX.Element;\n}\n\nexport interface HeaderSearch {\n /** Trigger search */\n onSearch: (formattedQuerySearchTerm: string) => void;\n loading?: boolean;\n totalItemsCount: number;\n items: Array<{\n id: string;\n url: string;\n image?: CustomImageAsset | null;\n title: string;\n family?: string | null;\n }>;\n}\n\nexport interface HeaderCartItemControls {\n loading?: boolean;\n quantityMax?: number;\n onQuantityChange: (newQuantity: number) => void;\n}\n\nexport interface HeaderCartItem {\n id: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n quantity: number;\n title: string;\n controls: HeaderCartItemControls;\n price: string;\n priceIncludingVAT?: string;\n}\n\nexport interface HeaderCart {\n onReview: () => void;\n loading?: boolean;\n items: HeaderCartItem[];\n upsellItems?: HeaderCartItem[];\n totals: Nullish<{\n shipping: Nullish<string>;\n discount: Nullish<string>;\n finalTax: Nullish<string>;\n total: string;\n totalIncludingVAT?: string;\n }>;\n}\n\nexport interface HeaderLogo {\n url?: string;\n hide?: boolean;\n productLine?: ProductLine;\n onClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n currentStore?: { flag: ReactNode; name: string };\n}\n\nexport type HeaderTranslations = typeof defaultHeaderTranslations;\n\nexport type HeaderEmbedConfig = {\n /**\n * Allows to configure custom callback on home link click\n */\n homeLinkClickHandler?: () => void;\n\n /**\n * Allows to render custom extra section items in Pro Mobile Menu\n */\n mobileMenuExtraSectionItems?: Array<ProMobileMenuSectionItem>;\n\n /**\n * Moves Avatar icon to the left side of the header\n */\n moveAvatarIconToLeft?: boolean;\n\n /**\n * Allows to display avatar as image instead of icon\n */\n displayAvatarAsImage?: boolean;\n\n /**\n * Allows to configure custom callback on avatar click\n */\n avatarClickHandler?: () => void;\n\n /**\n * Allows to hide logo / site title\n */\n hideLogo?: boolean;\n\n /**\n * Allows to hide Avatar icon from the header\n */\n hideAvatarIcon?: boolean;\n\n /**\n * Hide language picker\n */\n hideLanguagePicker?: boolean;\n\n fullWidthHeader?: boolean;\n\n /**\n * Renders site title instead of UI logo\n */\n siteTitle?: string;\n\n /**\n * Blurs search input and dismissed virtual keyboard on touchmove\n * @deprecated Use blurSearchOnTouchmove\n */\n hideSearchOnTouchmove?: boolean;\n blurSearchOnTouchmove?: boolean;\n};\n\nexport interface HeaderProps {\n className?: string;\n motif: Motif;\n /**\n * Main header bar becomes fixed position at the top\n */\n sticky?: boolean;\n /**\n * Navigation carousel becomes fixed position at the top\n */\n stickyCarousel?: boolean;\n translations?: HeaderTranslations;\n renderImage: RenderImageFn;\n showLineLoader?: boolean;\n onModalOpen?: () => void;\n onMenuItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationItem,\n ) => void;\n onMenuSubItemLinkClick?: (\n e: React.MouseEvent<HTMLElement>,\n item: ParsedNavigationSubItem | ParsedNavigationSubSubItem,\n ) => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Account\n account?: HeaderAccount;\n\n // Cart\n onCartClick?: () => void;\n cart?: HeaderCart;\n\n // Set specific modal to be open initially\n initialActiveModal?: Nullish<ModalId>;\n /**\n * Triggers on active modal change\n */\n onActiveModal?: (id: ModalId | null, prevModalId: ModalId | null) => void;\n\n /**\n * Will be called before navigating to store search, the tracking request in this callback will only\n * finish if called from store side as microsites are not using next router.\n */\n trackStoreSearchClick?: () => void;\n\n transparentHeader?: boolean;\n\n /**\n * Sub-menu used for microsites\n */\n micrositeMenu?: NavigationMicrositeMenuProps;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n accountMenu?: React.ReactNode;\n}\n\nexport type IsolatedHeaderProps = {\n className?: string;\n motif: Motif;\n translations?: HeaderTranslations;\n handleContinueShopping: () => void;\n showLineLoader?: boolean;\n account?: {\n loading?: HeaderAccount[\"loading\"];\n customer?: { picture?: HeaderAccountCustomer[\"picture\"] };\n };\n\n // Logo overrides\n logo?: HeaderLogo;\n} & Pick<HeaderProps, \"embedConfig\">;\n\nexport interface ProHeaderEarlyAccess {\n loading?: boolean;\n onClick: () => void;\n}\n\nexport interface HeaderProductLineOption {\n value: ProductLine;\n label: string;\n}\n\nexport interface ProHeaderCategories {\n items: ProMobileMenuSectionItem[];\n activeIndex: number;\n}\n\nexport type ProHeaderProps = Pick<\n HeaderProps,\n | \"className\"\n | \"motif\"\n | \"cart\"\n | \"account\"\n | \"translations\"\n | \"onModalOpen\"\n | \"onCartClick\"\n | \"showLineLoader\"\n | \"accountMenu\"\n> & {\n cartPreview?: React.ReactNode;\n\n /**\n * Header customizations for embed context like WebView\n */\n embedConfig?: HeaderEmbedConfig;\n\n // Country picker\n handleStorePickerClick?: () => void;\n /** @deprecated Not used in favour of `logo.currentStore.name` */\n currentCountryName?: string;\n\n // Early access button\n earlyAccess?: ProHeaderEarlyAccess;\n\n // Purchase History button\n handlePurchaseHistoryClick?: () => void;\n\n // Order button\n handleOrderHistoryClick?: () => void;\n\n // Product line picker\n productLineOptions?: HeaderProductLineOption[];\n productLineValue?: ProductLine;\n handleProductLineChange?: (type: ProductLine) => void;\n\n // Mobile menu aka \"hamburger\" button click\n handleMobileMenuClick?: () => void;\n\n onLanguageChange?: (\n e: React.MouseEvent<HTMLElement>,\n link: string,\n language: Language,\n ) => void;\n\n // Search\n searchValue?: string;\n onSearch?: (searchTerm: string) => void;\n searchInputWidth?: number;\n searchInputChildren?: ReactNode;\n\n onSearchFocus?: () => void;\n onSearchBlur?: () => void;\n onSearchClick?: () => void;\n\n // Categories used for menu\n categories: ProHeaderCategories;\n hideInlineCategories?: boolean;\n\n // Logo overrides\n logo?: HeaderLogo;\n};\n"],"names":["defaultHeaderTranslations","new","support","purchasedProductHistory","orderHistory","earlyAccess","store","links","company","social","tools","training","continueShopping","search","placeholder","noMatchesFound","seeAllResults","searchUniFiProducts","searchUISPProducts","searchAmpliFiProducts","account","login","signUp","signOut","uiAccount","unifiSiteManager","manageAccount","cart","VATincluded","includesVat","discount","empty","review","shipping","subtotal","total","itemsTitle","upsellTitle","language","region"],"mappings":";;AAkBO,MAAMA,yBAA4B,GAAA;EACvCC,GAAK,EAAA,KAAA;EACLC,OAAS,EAAA,SAAA;EACTC,uBAAyB,EAAA,2BAAA;EACzBC,YAAc,EAAA,eAAA;EACdC,WAAa,EAAA,cAAA;EACbC,KAAO,EAAA,OAAA;EACPC,KAAO,EAAA,OAAA;EACPC,OAAS,EAAA,SAAA;EACTC,MAAQ,EAAA,QAAA;EACRC,KAAO,EAAA,OAAA;EACPC,QAAU,EAAA,UAAA;EACVC,gBAAkB,EAAA,mBAAA;EAClBC,MAAQ,EAAA;IACNC,WAAa,EAAA,WAAA;IACbC,cAAgB,EAAA,sCAAA;IAChBC,aAAe,EAAA,iBAAA;IACfC,mBAAqB,EAAA,uBAAA;IACrBC,kBAAoB,EAAA,sBAAA;IACpBC,qBAAuB,EAAA;EACzB,CAAA;EACAC,OAAS,EAAA;IACPC,KAAO,EAAA,QAAA;IACPC,MAAQ,EAAA,SAAA;IACRC,OAAS,EAAA,UAAA;IACTC,SAAW,EAAA,YAAA;IACXC,gBAAkB,EAAA,oBAAA;IAClBC,aAAe,EAAA,gBAAA;IACftB,YAAc,EAAA;EAChB,CAAA;EACAuB,IAAM,EAAA;IACJC,WAAa,EAAA,WAAA;IACbC,WAAa,EAAA,iBAAA;IACbC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,oBAAA;IACPC,MAAQ,EAAA,UAAA;IACRC,QAAU,EAAA,UAAA;IACVC,QAAU,EAAA,UAAA;IACVC,KAAO,EAAA,cAAA;IACPC,UAAY,EAAA,WAAA;IACZC,WAAa,EAAA;EACf,CAAA;EACAC,UAAU,CAAC,CAAA;EACXC,MAAQ,EAAA;AACV,CAAA;"}
|
|
@@ -184,14 +184,13 @@ const NavigationMobileMenu = function NavigationMobileMenu2({
|
|
|
184
184
|
}))]
|
|
185
185
|
}];
|
|
186
186
|
}, [micrositeSection, activeNavigationSection.items, hasMicrositeMenu, inactiveNavigationSection.label, inactiveNavigationSection.items, translations.support, translations.store, translations.social, translations.company, translations.training, translations.tools, context$1, storeLink, micrositeLinks, socialContent.items, formatMessage, footerContent]);
|
|
187
|
-
const showSearch = false;
|
|
188
187
|
return /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Wrap, {
|
|
189
188
|
$motif: motif,
|
|
190
189
|
children: /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Container, {
|
|
191
190
|
size: "mobile",
|
|
192
191
|
noVerticalMargin: true,
|
|
193
192
|
children: /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.InnerWrap, {
|
|
194
|
-
children:
|
|
193
|
+
children: sections.map(section => /* @__PURE__ */jsxRuntime.jsx(MobileMenu_styles.Section, {
|
|
195
194
|
$motif: motif,
|
|
196
195
|
children: section.items.map(item => /* @__PURE__ */jsxRuntime.jsxs(MobileMenu_styles.SectionItemsGroup, {
|
|
197
196
|
$motif: motif,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileMenu.js","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\n/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n// const MAX_SEARCH_RESULTS = 5;\n// const SEARCH_INPUT_DEBOUNCE_DURATION = 250;\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\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 const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n const showSearch = false;\n // // #############################################################################\n // // Search\n // // #############################################################################\n // const [searchInputValue, setSearchInputValue] = useState(\"\");\n // const [querySearchTerm, setQuerySearchTerm] = useState(\"\");\n // const [showSearch, setShowSearch] = useState(false);\n // const [searchShowNoResults, setSearchShowNoResults] = useState(false);\n\n // // const handleSearchValueChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n // // setSearchInputValue(e.target.value);\n // // };\n\n // const closeSearch = useCallback(() => {\n // setShowSearch(false);\n // setSearchInputValue(\"\");\n // }, []);\n\n // const handleSearchCancel = useCallback(\n // (e?: React.MouseEvent) => {\n // /**\n // * Keep the search popup open if user holds cmd or ctrl buttons.\n // * These keys + mouse click on a link open that link in a new window or tab.\n // */\n // if (e?.ctrlKey || e?.metaKey) {\n // return;\n // }\n // closeSearch();\n // },\n // [closeSearch]\n // );\n\n // const handleSearch = useCallback(async () => {\n // // No need to search if prevSearch term same as search input value\n // if (searchInputValue === querySearchTerm) {\n // return;\n // }\n\n // setQuerySearchTerm(searchInputValue);\n // }, [querySearchTerm, searchInputValue]);\n\n // useDebounce(handleSearch, SEARCH_INPUT_DEBOUNCE_DURATION, [searchInputValue]);\n\n // const handleRedirectToSearchPage = useCallback(async () => {\n // // Don't trigger when search not active\n // if (!showSearch) {\n // return;\n // }\n\n // onClose();\n // onSearchResultsAction(searchInputValue);\n // }, [onClose, onSearchResultsAction, searchInputValue, showSearch]);\n\n // const formattedQuerySearchTerm = useMemo(() => {\n // return prepareSearchTerm(querySearchTerm);\n // }, [querySearchTerm]);\n\n // const showSearchResultsLink = useMemo(\n // (): boolean => !search || search.totalItemsCount > MAX_SEARCH_RESULTS,\n // [search]\n // );\n\n // // Call on search action\n // useEffect(() => {\n // formattedQuerySearchTerm && search?.onSearch(formattedQuerySearchTerm);\n // }, [formattedQuerySearchTerm, search]);\n\n // // Show no results when it's updated\n // useEffect(() => {\n // setSearchShowNoResults(\n // !!search &&\n // formattedQuerySearchTerm.length > 0 &&\n // !search.loading &&\n // search.items.length === 0\n // );\n // }, [formattedQuerySearchTerm.length, search]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Search */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchSection motif={motif}>\n <SearchInput\n value={searchInputValue}\n onValueChange={handleSearchValueChange}\n onCancelClick={showSearch ? handleSearchCancel : undefined}\n height={S.SECTION_ITEM_HEIGHT}\n placeholder={translations.search.placeholder}\n showCancel\n onFocus={() => setShowSearch(true)}\n motif={motif}\n loading={search?.loading}\n transparent\n />\n </S.SearchSection> */}\n\n {/* Search results */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* showSearch && (\n <>\n {searchShowNoResults && (\n <S.SearchNoResultsText motif={motif}>\n {translations.search.noMatchesFound}\n </S.SearchNoResultsText>\n )}\n <S.Section motif={motif}>\n <S.SectionItemsGroup motif={motif}>\n {search &&\n search.items.slice(0, MAX_SEARCH_RESULTS).map((item) => (\n <S.SectionSearchResultsItem\n key={item.id}\n $height={S.SECTION_ITEM_IMAGE_SIZE}\n >\n <S.SectionItemButton\n motif={motif}\n as=\"a\"\n href={item.url}\n onClick={onClose}\n >\n <S.SectionItemImageWrap>\n <CustomImage\n renderImage={renderImage}\n asset={item.image ?? undefined}\n sizes={`${S.SECTION_ITEM_IMAGE_SIZE}px`}\n margin={S.SECTION_ITEM_IMAGE_MARGIN}\n motif=\"dark\"\n />\n </S.SectionItemImageWrap>\n <S.SearchTextWrap>\n <S.SearchText>{item.title}</S.SearchText>\n <S.SearchText $small>\n {item.family}\n </S.SearchText>\n </S.SearchTextWrap>\n </S.SectionItemButton>\n </S.SectionSearchResultsItem>\n ))}\n {showSearchResultsLink && (\n <S.SectionItem>\n <S.SectionItemButton\n motif={motif}\n onClick={handleRedirectToSearchPage}\n data-test-id=\"all-search-results\"\n $link\n >\n {translations.search.seeAllResults} (\n {!!search && search.items.length})\n </S.SectionItemButton>\n </S.SectionItem>\n )}\n </S.SectionItemsGroup>\n </S.Section>\n </>\n ) */}\n\n {/* Sections */}\n {!showSearch &&\n sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem\n key={subItem.id}\n $motif=\"dark\"\n $secondary\n >\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","showSearch","jsx","S.Wrap","$motif","children","S.Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","SectionItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAAA;IACAC,yBAAA;IACAC,aAAA;IACAC,OAAAA,EAAAA;MACEC,eAAQ,CAAA,CAAA;EAEZ,MAAM;IAAEC,aAAA;IAAeC;EAAc,CAAA,GAAIC,iCAAiB,CAAA,CAAA;EAEpD,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CA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AA,EAAA;oBACPC,MAAQ,EAAA;kBAAA,CAAA;gBAEZ,CAAA;cAAA,CAAA,CAAA;aAGN,CAAA,EAECrD,IAAA,CAAKL,EAAO,KAAAR,qBAAA,IACXa,IAAK,CAAAI,QAAA,CAAS2C,MAAS,GAAA,CAAA,IACvB/C,IAAK,CAAAI,QAAA,CAASL,GAAI,CAACuD,OACjB,IAAA,eAAA7B,UAAA,CAAAA,GAAA,CAACc,iBAAE,CAAAgB,WAAA,EAAF;cAEC5B,MAAO,EAAA,MAAA;cACP6B,UAAU,EAAA,IAAA;cAEV5B,QAAA,iBAAAO,UAAA,CAAAA,IAAA,CAACK,iBAAE,CAAAC,iBAAA,EAAF;gBACCd,MAAQ,EAAAzC,KAAA;gBACRyD,EAAG,EAAA,GAAA;gBACHC,MAAMU,OAAQ,CAAAnD,GAAA;gBACdgB,MAAA,EAAQmC,OAAQ,CAAApC,WAAA,GAAc,QAAW,GAAA,KAAA,CAAA;gBAExCU,QAAA,EAAA,CAAQ0B,OAAA,CAAArD,KAAA,EACRqD,QAAQG,KACP,IAAA,eAAAhC,cAAA,CAACiC,iBAAAA,CAAAA,QAAA,EAAA;kBAAY9B,uBAAa+B;gBAAI,CAAA,CAAA;cAAA,CAAA;YAElC,CAAA,EAdKL,OAAQ,CAAA3D,EAgBhB,CAAA,CAAA;UAAA,CAAA,EA7DEK,IAAK,CAAAL,EAAA,CA+Db;QAnE4B,CAAA,EAAAsC,OAAA,CAAQtC,EAoEvC,CACD;MACL,CAAA;IACF,CAAA;GACF,CAAA;AAEJ,CAAA;"}
|
|
1
|
+
{"version":3,"file":"MobileMenu.js","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\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 const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Sections */}\n {sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem key={subItem.id} $motif=\"dark\" $secondary>\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","jsx","S.Wrap","$motif","children","S.Container","Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAAA;IACAC,yBAAA;IACAC,aAAA;IACAC,OAAAA,EAAAA;MACEC,eAAQ,CAAA,CAAA;EAEZ,MAAM;IAAEC,aAAA;IAAeC;EAAc,CAAA,GAAIC,iCAAiB,CAAA,CAAA;EAEpD,MAAA;IAAEC;EAAc,CAAA,GAAIC,6BAAe,CAAA;IACvCC,kBAAoB,EAAAC,EAAA,CAAA,SAAA,CAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,SAAA,CAAAA,QAAA,CAASC,EAAE,GAAG,MACbC;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASM,EAAE,GAAG,MACbJ;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASO,EAAE,GAAG,MACbL;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASQ,EAAE,GAAG,MACbN;uBAAO,+BAA4B,CAAA;MAAA,CAAA,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACL,SAAA,CAAAA,QAAA,CAASS,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AA,CAACK,iBAAE,CAAAC,iBAAA,EAAF;gBACCf,MAAQ,EAAAxC,KAAA;gBACRyD,EAAG,EAAA,GAAA;gBACHC,MAAMU,OAAQ,CAAAnD,GAAA;gBACdgB,MAAA,EAAQmC,OAAQ,CAAApC,WAAA,GAAc,QAAW,GAAA,KAAA,CAAA;gBAExCS,QAAA,EAAA,CAAQ2B,OAAA,CAAArD,KAAA,EACRqD,QAAQE,KACP,IAAA,eAAAhC,cAAA,CAACiC,iBAAAA,CAAAA,QAAA,EAAA;kBAAY9B,uBAAa+B;gBAAI,CAAA,CAAA;cAAA,CAAA;YAElC,CAAA,EAXkBJ,OAAQ,CAAA3D,EAY5B,CACD,CAAA;UAAA,CAAA,EAzDEK,IAAK,CAAAL,EAAA,CA2Db;QA/D4B,CAAA,EAAAsC,OAAA,CAAQtC,EAgEvC,CACD;MACH,CAAA;IACF,CAAA;GACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -156,14 +156,13 @@ const NavigationMobileMenu = function NavigationMobileMenu2({
|
|
|
156
156
|
}))]
|
|
157
157
|
}];
|
|
158
158
|
}, [micrositeSection, activeNavigationSection.items, hasMicrositeMenu, inactiveNavigationSection.label, inactiveNavigationSection.items, translations.support, translations.store, translations.social, translations.company, translations.training, translations.tools, context, storeLink, micrositeLinks, socialContent.items, formatMessage, footerContent]);
|
|
159
|
-
const showSearch = false;
|
|
160
159
|
return /* @__PURE__ */jsx(Wrap, {
|
|
161
160
|
$motif: motif,
|
|
162
161
|
children: /* @__PURE__ */jsx(Container, {
|
|
163
162
|
size: "mobile",
|
|
164
163
|
noVerticalMargin: true,
|
|
165
164
|
children: /* @__PURE__ */jsx(InnerWrap, {
|
|
166
|
-
children:
|
|
165
|
+
children: sections.map(section => /* @__PURE__ */jsx(Section, {
|
|
167
166
|
$motif: motif,
|
|
168
167
|
children: section.items.map(item => /* @__PURE__ */jsxs(SectionItemsGroup, {
|
|
169
168
|
$motif: motif,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileMenu.mjs","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\n/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n// const MAX_SEARCH_RESULTS = 5;\n// const SEARCH_INPUT_DEBOUNCE_DURATION = 250;\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\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 const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n const showSearch = false;\n // // #############################################################################\n // // Search\n // // #############################################################################\n // const [searchInputValue, setSearchInputValue] = useState(\"\");\n // const [querySearchTerm, setQuerySearchTerm] = useState(\"\");\n // const [showSearch, setShowSearch] = useState(false);\n // const [searchShowNoResults, setSearchShowNoResults] = useState(false);\n\n // // const handleSearchValueChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n // // setSearchInputValue(e.target.value);\n // // };\n\n // const closeSearch = useCallback(() => {\n // setShowSearch(false);\n // setSearchInputValue(\"\");\n // }, []);\n\n // const handleSearchCancel = useCallback(\n // (e?: React.MouseEvent) => {\n // /**\n // * Keep the search popup open if user holds cmd or ctrl buttons.\n // * These keys + mouse click on a link open that link in a new window or tab.\n // */\n // if (e?.ctrlKey || e?.metaKey) {\n // return;\n // }\n // closeSearch();\n // },\n // [closeSearch]\n // );\n\n // const handleSearch = useCallback(async () => {\n // // No need to search if prevSearch term same as search input value\n // if (searchInputValue === querySearchTerm) {\n // return;\n // }\n\n // setQuerySearchTerm(searchInputValue);\n // }, [querySearchTerm, searchInputValue]);\n\n // useDebounce(handleSearch, SEARCH_INPUT_DEBOUNCE_DURATION, [searchInputValue]);\n\n // const handleRedirectToSearchPage = useCallback(async () => {\n // // Don't trigger when search not active\n // if (!showSearch) {\n // return;\n // }\n\n // onClose();\n // onSearchResultsAction(searchInputValue);\n // }, [onClose, onSearchResultsAction, searchInputValue, showSearch]);\n\n // const formattedQuerySearchTerm = useMemo(() => {\n // return prepareSearchTerm(querySearchTerm);\n // }, [querySearchTerm]);\n\n // const showSearchResultsLink = useMemo(\n // (): boolean => !search || search.totalItemsCount > MAX_SEARCH_RESULTS,\n // [search]\n // );\n\n // // Call on search action\n // useEffect(() => {\n // formattedQuerySearchTerm && search?.onSearch(formattedQuerySearchTerm);\n // }, [formattedQuerySearchTerm, search]);\n\n // // Show no results when it's updated\n // useEffect(() => {\n // setSearchShowNoResults(\n // !!search &&\n // formattedQuerySearchTerm.length > 0 &&\n // !search.loading &&\n // search.items.length === 0\n // );\n // }, [formattedQuerySearchTerm.length, search]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Search */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchSection motif={motif}>\n <SearchInput\n value={searchInputValue}\n onValueChange={handleSearchValueChange}\n onCancelClick={showSearch ? handleSearchCancel : undefined}\n height={S.SECTION_ITEM_HEIGHT}\n placeholder={translations.search.placeholder}\n showCancel\n onFocus={() => setShowSearch(true)}\n motif={motif}\n loading={search?.loading}\n transparent\n />\n </S.SearchSection> */}\n\n {/* Search results */}\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* showSearch && (\n <>\n {searchShowNoResults && (\n <S.SearchNoResultsText motif={motif}>\n {translations.search.noMatchesFound}\n </S.SearchNoResultsText>\n )}\n <S.Section motif={motif}>\n <S.SectionItemsGroup motif={motif}>\n {search &&\n search.items.slice(0, MAX_SEARCH_RESULTS).map((item) => (\n <S.SectionSearchResultsItem\n key={item.id}\n $height={S.SECTION_ITEM_IMAGE_SIZE}\n >\n <S.SectionItemButton\n motif={motif}\n as=\"a\"\n href={item.url}\n onClick={onClose}\n >\n <S.SectionItemImageWrap>\n <CustomImage\n renderImage={renderImage}\n asset={item.image ?? undefined}\n sizes={`${S.SECTION_ITEM_IMAGE_SIZE}px`}\n margin={S.SECTION_ITEM_IMAGE_MARGIN}\n motif=\"dark\"\n />\n </S.SectionItemImageWrap>\n <S.SearchTextWrap>\n <S.SearchText>{item.title}</S.SearchText>\n <S.SearchText $small>\n {item.family}\n </S.SearchText>\n </S.SearchTextWrap>\n </S.SectionItemButton>\n </S.SectionSearchResultsItem>\n ))}\n {showSearchResultsLink && (\n <S.SectionItem>\n <S.SectionItemButton\n motif={motif}\n onClick={handleRedirectToSearchPage}\n data-test-id=\"all-search-results\"\n $link\n >\n {translations.search.seeAllResults} (\n {!!search && search.items.length})\n </S.SectionItemButton>\n </S.SectionItem>\n )}\n </S.SectionItemsGroup>\n </S.Section>\n </>\n ) */}\n\n {/* Sections */}\n {!showSearch &&\n sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem\n key={subItem.id}\n $motif=\"dark\"\n $secondary\n >\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","showSearch","jsx","S.Wrap","$motif","children","S.Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAAA;IACAC,yBAAA;IACAC,aAAA;IACAC;MACEC,OAAQ,CAAA,CAAA;EAEZ,MAAM;IAAEC,aAAA;IAAeC;EAAc,CAAA,GAAIC,gBAAiB,CAAA,CAAA;EAEpD,MAAA;IAAEC;EAAc,CAAA,GAAIC,cAAe,CAAA;IACvCC,kBAAoB,EAAAC,cAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,QAAA,CAASC,EAAE,GAAG,MACb,OAAO,gCAA4B,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACJ,QAAA,CAASK,EAAE,GAAG,MACb,OAAO,gCAA4B,CAAA,CAAEH,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACJ,QAAA,CAASM,EAAE,GAAG,MACb,OAAO,gCAA4B,CAAA,CAAEJ,IAAK,CAACC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A,CAAQtC,EAoEvC,CACD;MACL,CAAA;IACF,CAAA;GACF,CAAA;AAEJ,CAAA;"}
|
|
1
|
+
{"version":3,"file":"MobileMenu.mjs","sources":["../../../../../src/components/Header/Navigation/MobileMenu/MobileMenu.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport { useCallback, useMemo, useState } from \"react\";\n\nimport * as icons from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport { Language } from \"../../../../contexts/MenuContext/mapping\";\nimport type { NavigationItemIcon } from \"../../../../contexts/MenuContext/mapping\";\nimport { filterOutUnrenderableItems } from \"../../../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../../../hooks\";\nimport { useFooterContent } from \"../../../Footer/hooks/useFooterContent\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport { getSupportLinkMapping } from \"../../LinksModal/mapping\";\nimport { en as EN_TRANSLATION } from \"../../translations\";\nimport { MICROSITE_NAVIGATION_MAPPING } from \"../MicrositeMenu/mapping\";\nimport * as S from \"./MobileMenu.styles\";\nimport type { NavigationMobileMenuProps } from \"./MobileMenu.types\";\n\ninterface SectionItem {\n id: string;\n label: string;\n url: string | null;\n icon?: NavigationItemIcon;\n bold?: boolean;\n subItems: Array<{\n id: string;\n label: string;\n url: string;\n isNew?: boolean;\n targetBlank?: boolean;\n }>;\n}\n\ninterface Section {\n id: string;\n items: SectionItem[];\n}\n\nexport const NavigationMobileMenu = function NavigationMobileMenu({\n translations,\n onClose,\n storeLink,\n hasMicrositeMenu,\n}: NavigationMobileMenuProps) {\n const {\n activeNavigationSection,\n inactiveNavigationSection,\n createSiteUrl,\n context,\n } = useMenu();\n\n const { footerContent, socialContent } = useFooterContent();\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 const motif: Motif = \"dark\";\n\n // #############################################################################\n // Section toggling\n // #############################################################################\n const [expandedSectionItemId, setExpandedSectionItemId] = useState<\n string | null\n >(null);\n\n const toggleExpandedSectionItemId = useCallback(\n (itemId: string) => {\n setExpandedSectionItemId(\n expandedSectionItemId === itemId ? null : itemId,\n );\n },\n [expandedSectionItemId],\n );\n\n // #############################################################################\n // Microsite section\n // #############################################################################\n const micrositeSection = useMemo((): Section[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite\",\n items: MICROSITE_NAVIGATION_MAPPING.primary.map((item): SectionItem => {\n return {\n id: item.id,\n label: formatMessage(item.label as keyof typeof EN_TRANSLATION),\n bold: true,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n subItems: [],\n };\n }),\n },\n ];\n }, [createSiteUrl, formatMessage, hasMicrositeMenu]);\n\n const micrositeLinks = useMemo((): SectionItem[] => {\n if (!hasMicrositeMenu) {\n return [];\n }\n\n return [\n {\n id: \"microsite-links\",\n label: translations.links,\n url: null,\n subItems: MICROSITE_NAVIGATION_MAPPING.secondary.map((item) => ({\n id: item.id,\n label: item.label,\n url:\n typeof item.url === \"string\" ? item.url : createSiteUrl(item.url),\n })),\n },\n ];\n }, [createSiteUrl, hasMicrositeMenu, translations.links]);\n\n // #############################################################################\n // Menu sections\n // #############################################################################\n const sections = useMemo((): Section[] => {\n return [\n ...micrositeSection,\n {\n id: \"main\",\n items: [\n ...filterOutUnrenderableItems(activeNavigationSection.items).map(\n (item): SectionItem => ({\n id: item.id,\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n label: formatMessage(item.id as unknown as any) ?? item.label,\n url: item.url,\n icon: item.mobileIcon,\n subItems: [],\n }),\n ),\n // Inactive switcher is not shown; it's included in microsite links\n ...(!hasMicrositeMenu\n ? [\n {\n id: inactiveNavigationSection.label,\n label: inactiveNavigationSection.label,\n url: inactiveNavigationSection.items[0]?.url ?? null,\n subItems: [],\n },\n ]\n : []),\n ],\n },\n {\n id: \"extra\",\n items: [\n {\n id: \"support\",\n label: translations.support,\n url: null,\n subItems: getSupportLinkMapping(context).map((item) => ({\n id: item.id,\n label: item.name,\n url: item.url,\n })),\n },\n {\n id: \"store\",\n label: translations.store,\n url: storeLink,\n subItems: [],\n },\n ...micrositeLinks,\n {\n id: \"social\",\n label: translations.social,\n url: null,\n subItems: socialContent.items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n targetBlank: item.target === \"_blank\",\n })),\n },\n ...(\n [\n { key: \"company\", label: translations.company },\n { key: \"training\", label: translations.training },\n { key: \"tools\", label: translations.tools },\n ] as const\n ).map(({ key, label }) => ({\n id: key,\n label,\n url: null,\n subItems: footerContent[key].items.map((item) => ({\n id: item.id,\n label: item.label,\n url: item.src || \"\",\n })),\n })),\n ],\n },\n ];\n }, [\n micrositeSection,\n activeNavigationSection.items,\n hasMicrositeMenu,\n inactiveNavigationSection.label,\n inactiveNavigationSection.items,\n translations.support,\n translations.store,\n translations.social,\n translations.company,\n translations.training,\n translations.tools,\n context,\n storeLink,\n micrositeLinks,\n socialContent.items,\n formatMessage,\n footerContent,\n ]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap $motif={motif}>\n <S.Container size=\"mobile\" noVerticalMargin>\n <S.InnerWrap>\n {/* Sections */}\n {sections.map((section) => (\n <S.Section $motif={motif} key={section.id}>\n {section.items.map((item) => (\n <S.SectionItemsGroup\n $motif={motif}\n key={item.id}\n $active={item.id === expandedSectionItemId}\n >\n <S.SectionItem $motif={motif}>\n {item.url ? (\n <S.SectionItemButton\n $motif={motif}\n $bold={item.bold}\n as=\"a\"\n // TODO look into this\n href={item.url}\n onClick={onClose}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n ) : (\n <S.SectionItemButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n {item.icon && <StyleableSvgImage {...item.icon} />}\n {item.label}\n </S.SectionItemButton>\n )}\n {item.subItems.length > 0 && (\n <S.SectionItemArrowButton\n $motif={motif}\n onClick={() => toggleExpandedSectionItemId(item.id)}\n >\n <S.ButtonIcon>\n <StyleableSvgImage\n src={icons.generic.collapseArrow}\n width={13}\n height={8}\n />\n </S.ButtonIcon>\n </S.SectionItemArrowButton>\n )}\n </S.SectionItem>\n\n {item.id === expandedSectionItemId &&\n item.subItems.length > 0 &&\n item.subItems.map((subItem) => (\n <S.SectionItem key={subItem.id} $motif=\"dark\" $secondary>\n <S.SectionItemButton\n $motif={motif}\n as=\"a\"\n href={subItem.url}\n target={subItem.targetBlank ? \"_blank\" : undefined}\n >\n {subItem.label}\n {subItem.isNew && (\n <S.NewLabel>{translations.new}</S.NewLabel>\n )}\n </S.SectionItemButton>\n </S.SectionItem>\n ))}\n </S.SectionItemsGroup>\n ))}\n </S.Section>\n ))}\n </S.InnerWrap>\n </S.Container>\n </S.Wrap>\n );\n};\n"],"names":["NavigationMobileMenu","NavigationMobileMenu2","translations","onClose","storeLink","hasMicrositeMenu","activeNavigationSection","inactiveNavigationSection","createSiteUrl","context","useMenu","footerContent","socialContent","useFooterContent","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","motif","expandedSectionItemId","setExpandedSectionItemId","useState","toggleExpandedSectionItemId","useCallback","itemId","micrositeSection","useMemo","id","items","MICROSITE_NAVIGATION_MAPPING","primary","map","item","label","bold","url","subItems","micrositeLinks","links","secondary","sections","filterOutUnrenderableItems","icon","mobileIcon","support","getSupportLinkMapping","name","store","social","src","targetBlank","target","key","company","training","tools","jsx","S.Wrap","$motif","children","S.Container","size","noVerticalMargin","S.InnerWrap","section","S.Section","jsxs","S.SectionItemsGroup","$active","S.SectionItem","S.SectionItemButton","$bold","as","href","onClick","StyleableSvgImage","length","S.SectionItemArrowButton","S.ButtonIcon","icons.generic.collapseArrow","width","height","subItem","$secondary","isNew","S.NewLabel","new"],"mappings":";;;;;;;;;;;;;;;;;;;;AAqCa,MAAAA,oBAAA,GAAuB,SAASA,qBAAqBC,CAAA;EAChEC,YAAA;EACAC,OAAA;EACAC,SAAA;EACAC;AACF,CAA8B,EAAA;EACtB,MAAA;IACJC,uBAAA;IACAC,yBAAA;IACAC,aAAA;IACAC;MACEC,OAAQ,CAAA,CAAA;EAEZ,MAAM;IAAEC,aAAA;IAAeC;EAAc,CAAA,GAAIC,gBAAiB,CAAA,CAAA;EAEpD,MAAA;IAAEC;EAAc,CAAA,GAAIC,cAAe,CAAA;IACvCC,kBAAoB,EAAAC,cAAA;IACpBC,sBAAwB,EAAA;MACtB,CAACC,QAAA,CAASC,EAAE,GAAG,MACb,OAAO,gCAA4B,CAAA,CAAEC,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACJ,QAAA,CAASK,EAAE,GAAG,MACb,OAAO,gCAA4B,CAAA,CAAEH,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACJ,QAAA,CAASM,EAAE,GAAG,MACb,OAAO,gCAA4B,CAAA,CAAEJ,IAAK,CAACC,GAAQ,IAAAA,GAAA,CAAIC,OAAO,CAAA;MAChE,CAACJ,QAAA,CAASO,EAAE,GAAG,MACb,OAAO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
import type {
|
|
2
|
+
import type { HeaderTranslations } from "../../Header.types";
|
|
3
3
|
export interface NavigationMobileMenuProps {
|
|
4
4
|
translations: HeaderTranslations;
|
|
5
5
|
onClose: () => void;
|
|
6
|
-
search?: HeaderSearch;
|
|
7
|
-
onSearchResultsAction?: (searchTerm: string) => void;
|
|
8
6
|
renderImage: (imageProps: RenderImageProps) => React.ReactNode;
|
|
9
7
|
storeLink: string;
|
|
10
8
|
hasMicrositeMenu?: boolean;
|
|
@@ -2,7 +2,7 @@ import { Language, ProductLine } from "../../../types";
|
|
|
2
2
|
export declare const PRO_HEADER_MOBILE_UP: `(min-width: ${number}px)`;
|
|
3
3
|
export declare const PRO_HEADER_MOBILE_AND_DOWN: `(max-width: ${number}px)`;
|
|
4
4
|
export declare const UISP_LABEL = "UISP";
|
|
5
|
-
export declare const ProHeader: import("react").NamedExoticComponent<Pick<import("../Header.types").HeaderProps, "className" | "
|
|
5
|
+
export declare const ProHeader: import("react").NamedExoticComponent<Pick<import("../Header.types").HeaderProps, "className" | "account" | "cart" | "motif" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
|
|
6
6
|
cartPreview?: React.ReactNode;
|
|
7
7
|
embedConfig?: import("../Header.types").HeaderEmbedConfig;
|
|
8
8
|
handleStorePickerClick?: () => void;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { MicrositeBannerProps } from "./MicrositeBanner.types";
|
|
2
|
+
export declare const MicrositeBanner: ({ sectionTitle, title, link, description, backgroundColor, backgroundImage, onLinkClick, image, className, detailsClassName, motif, }: MicrositeBannerProps) => JSX.Element;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
require('../../contexts/MenuContext/index.js');
|
|
5
5
|
require('../LearnMoreLink/index.js');
|
|
6
|
-
var
|
|
6
|
+
var MicrositeBanner_styles = require('./MicrositeBanner.styles.js');
|
|
7
7
|
var context = require('../../contexts/MenuContext/context.js');
|
|
8
8
|
var LearnMoreLink = require('../LearnMoreLink/LearnMoreLink.js');
|
|
9
9
|
"use strict";
|
|
10
|
-
const
|
|
10
|
+
const MicrositeBanner = ({
|
|
11
11
|
sectionTitle,
|
|
12
12
|
title,
|
|
13
13
|
link,
|
|
@@ -23,32 +23,32 @@ const Banner = ({
|
|
|
23
23
|
const {
|
|
24
24
|
languageDirection
|
|
25
25
|
} = context.useMenu();
|
|
26
|
-
return /* @__PURE__ */jsxRuntime.jsxs(
|
|
26
|
+
return /* @__PURE__ */jsxRuntime.jsxs(MicrositeBanner_styles.Wrap, {
|
|
27
27
|
className,
|
|
28
|
-
children: [sectionTitle && /* @__PURE__ */jsxRuntime.jsx(
|
|
28
|
+
children: [sectionTitle && /* @__PURE__ */jsxRuntime.jsx(MicrositeBanner_styles.SectionTitle, {
|
|
29
29
|
children: sectionTitle
|
|
30
|
-
}), /* @__PURE__ */jsxRuntime.jsxs(
|
|
30
|
+
}), /* @__PURE__ */jsxRuntime.jsxs(MicrositeBanner_styles.BannerWrap, {
|
|
31
31
|
$backgroundColor: backgroundColor,
|
|
32
32
|
$backgroundImage: backgroundImage?.src,
|
|
33
33
|
as: link?.href ? "a" : void 0,
|
|
34
34
|
href: link?.href,
|
|
35
35
|
onClick: e => link?.href && onLinkClick?.(e, link.href),
|
|
36
|
-
children: [/* @__PURE__ */jsxRuntime.jsxs(
|
|
36
|
+
children: [/* @__PURE__ */jsxRuntime.jsxs(MicrositeBanner_styles.Details, {
|
|
37
37
|
className: detailsClassName,
|
|
38
38
|
$motif: motif,
|
|
39
39
|
$direction: languageDirection,
|
|
40
|
-
children: [/* @__PURE__ */jsxRuntime.jsx(
|
|
40
|
+
children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeBanner_styles.Title, {
|
|
41
41
|
children: title
|
|
42
|
-
}), description && /* @__PURE__ */jsxRuntime.jsx(
|
|
42
|
+
}), description && /* @__PURE__ */jsxRuntime.jsx(MicrositeBanner_styles.Description, {
|
|
43
43
|
children: description
|
|
44
44
|
}), link && /* @__PURE__ */jsxRuntime.jsx(LearnMoreLink.LearnMoreLink, {
|
|
45
45
|
title: link.title
|
|
46
46
|
})]
|
|
47
|
-
}), image && /* @__PURE__ */jsxRuntime.jsx(
|
|
47
|
+
}), image && /* @__PURE__ */jsxRuntime.jsx(MicrositeBanner_styles.ImageWrap, {
|
|
48
48
|
$backgroundImage: image.src
|
|
49
49
|
})]
|
|
50
50
|
})]
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
|
-
exports.
|
|
54
|
-
//# sourceMappingURL=
|
|
53
|
+
exports.MicrositeBanner = MicrositeBanner;
|
|
54
|
+
//# sourceMappingURL=MicrositeBanner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrositeBanner.js","sources":["../../../src/components/MicrositeBanner/MicrositeBanner.tsx"],"sourcesContent":["import { useMenu } from \"../../contexts/MenuContext\";\nimport { LearnMoreLink } from \"../LearnMoreLink\";\nimport * as S from \"./MicrositeBanner.styles\";\nimport type { MicrositeBannerProps } from \"./MicrositeBanner.types\";\n\nexport const MicrositeBanner = ({\n sectionTitle,\n title,\n link,\n description,\n backgroundColor,\n backgroundImage,\n onLinkClick,\n image,\n className,\n detailsClassName,\n motif,\n}: MicrositeBannerProps) => {\n const { languageDirection } = useMenu();\n\n return (\n <S.Wrap className={className}>\n {sectionTitle && <S.SectionTitle>{sectionTitle}</S.SectionTitle>}\n <S.BannerWrap\n $backgroundColor={backgroundColor}\n $backgroundImage={backgroundImage?.src}\n as={link?.href ? \"a\" : undefined}\n href={link?.href}\n onClick={(e) => link?.href && onLinkClick?.(e, link.href)}\n >\n <S.Details\n className={detailsClassName}\n $motif={motif}\n $direction={languageDirection}\n >\n <S.Title>{title}</S.Title>\n {description && <S.Description>{description}</S.Description>}\n {link && <LearnMoreLink title={link.title} />}\n </S.Details>\n {image && <S.ImageWrap $backgroundImage={image.src} />}\n </S.BannerWrap>\n </S.Wrap>\n );\n};\n"],"names":["MicrositeBanner","sectionTitle","title","link","description","backgroundColor","backgroundImage","onLinkClick","image","className","detailsClassName","motif","languageDirection","useMenu","jsxs","S.Wrap","children","jsx","S.SectionTitle","S.BannerWrap","BannerWrap","$backgroundColor","$backgroundImage","src","as","href","onClick","e","S.Details","Details","$motif","$direction","S.Title","Title","S.Description","LearnMoreLink","S.ImageWrap"],"mappings":";;;;;;;;;AAKO,MAAMA,kBAAkBA,CAAC;EAC9BC,YAAA;EACAC,KAAA;EACAC,IAAA;EACAC,WAAA;EACAC,eAAA;EACAC,eAAA;EACAC,WAAA;EACAC,KAAA;EACAC,SAAA;EACAC,gBAAA;EACAC;AACF,CAA4B,KAAA;EACpB,MAAA;IAAEC;EAAkB,CAAA,GAAIC,eAAQ,CAAA,CAAA;EAEtC,OAAA,eACGC,eAAA,CAAAC,sBAAAA,CAAAA,IAAA,EAAA;IAAON,SACL;IAAAO,QAAA,EAAA,CAAAf,YAAA,IAAiBgB,eAAAA,UAAAA,CAAAA,GAAA,CAAAC,sBAAAA,CAAAA,YAAA,EAAA;MAAgBF,QAAa,EAAAf;IAAA,CAAA,CAAA,EAAA,eAC/Ca,UAAA,CAAAA,IAAA,CAACK,sBAAE,CAAAC,UAAA,EAAF;MACCC,gBAAkB,EAAAhB,eAAA;MAClBiB,kBAAkBhB,eAAiB,EAAAiB,GAAA;MACnCC,EAAA,EAAIrB,IAAM,EAAAsB,IAAA,GAAO,GAAM,GAAA,KAAA,CAAA;MACvBA,MAAMtB,IAAM,EAAAsB,IAAA;MACZC,OAAA,EAAUC,CAAM,IAAAxB,IAAA,EAAMsB,QAAQlB,WAAc,GAAAoB,CAAA,EAAGxB,KAAKsB,IAAI,CAAA;MAExDT,QAAA,EAAA,CAAA,eAAAF,UAAA,CAAAA,IAAA,CAACc,sBAAE,CAAAC,OAAA,EAAF;QACCpB,SAAW,EAAAC,gBAAA;QACXoB,MAAQ,EAAAnB,KAAA;QACRoB,UAAY,EAAAnB,iBAAA;QAEZI,QAAA,EAAA,CAACC,eAAAA,UAAAA,CAAAA,GAAA,CAAAe,sBAAA,CAAAC,KAAA,EAAA;UAASjB,QAAM,EAAAd;QAAA,CAAA,CAAA,EACfE,WAAe,IAAAa,eAAAA,UAAAA,CAAAA,GAAA,CAACiB,sBAAAA,CAAAA,WAAE,EAAF;UAAelB,QAAY,EAAAZ;QAAA,CAAA,CAAA,EAC3CD,IAAQ,IAAA,eAAAc,UAAA,CAAAA,GAAA,CAACkB,aAAc,CAAAA,aAAA,EAAA;UAAAjC,KAAA,EAAOC,KAAKD;QAAO,CAAA,CAAA;MAAA,CAC7C,CAAA,EACCM,wBAAUS,UAAA,CAAAA,GAAA,CAAAmB,kCAAA;QAAYd,gBAAA,EAAkBd,MAAMe;MAAK,CAAA,CAAA;IAAA,CAAA,CAAA;GAExD,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import '../../contexts/MenuContext/index.mjs';
|
|
3
3
|
import '../LearnMoreLink/index.mjs';
|
|
4
|
-
import { Wrap, SectionTitle, BannerWrap, Details, Title, Description, ImageWrap } from './
|
|
4
|
+
import { Wrap, SectionTitle, BannerWrap, Details, Title, Description, ImageWrap } from './MicrositeBanner.styles.mjs';
|
|
5
5
|
import { useMenu } from '../../contexts/MenuContext/context.mjs';
|
|
6
6
|
import { LearnMoreLink } from '../LearnMoreLink/LearnMoreLink.mjs';
|
|
7
7
|
"use strict";
|
|
8
|
-
const
|
|
8
|
+
const MicrositeBanner = ({
|
|
9
9
|
sectionTitle,
|
|
10
10
|
title,
|
|
11
11
|
link,
|
|
@@ -48,5 +48,5 @@ const Banner = ({
|
|
|
48
48
|
})]
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
export {
|
|
52
|
-
//# sourceMappingURL=
|
|
51
|
+
export { MicrositeBanner };
|
|
52
|
+
//# sourceMappingURL=MicrositeBanner.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrositeBanner.mjs","sources":["../../../src/components/MicrositeBanner/MicrositeBanner.tsx"],"sourcesContent":["import { useMenu } from \"../../contexts/MenuContext\";\nimport { LearnMoreLink } from \"../LearnMoreLink\";\nimport * as S from \"./MicrositeBanner.styles\";\nimport type { MicrositeBannerProps } from \"./MicrositeBanner.types\";\n\nexport const MicrositeBanner = ({\n sectionTitle,\n title,\n link,\n description,\n backgroundColor,\n backgroundImage,\n onLinkClick,\n image,\n className,\n detailsClassName,\n motif,\n}: MicrositeBannerProps) => {\n const { languageDirection } = useMenu();\n\n return (\n <S.Wrap className={className}>\n {sectionTitle && <S.SectionTitle>{sectionTitle}</S.SectionTitle>}\n <S.BannerWrap\n $backgroundColor={backgroundColor}\n $backgroundImage={backgroundImage?.src}\n as={link?.href ? \"a\" : undefined}\n href={link?.href}\n onClick={(e) => link?.href && onLinkClick?.(e, link.href)}\n >\n <S.Details\n className={detailsClassName}\n $motif={motif}\n $direction={languageDirection}\n >\n <S.Title>{title}</S.Title>\n {description && <S.Description>{description}</S.Description>}\n {link && <LearnMoreLink title={link.title} />}\n </S.Details>\n {image && <S.ImageWrap $backgroundImage={image.src} />}\n </S.BannerWrap>\n </S.Wrap>\n );\n};\n"],"names":["MicrositeBanner","sectionTitle","title","link","description","backgroundColor","backgroundImage","onLinkClick","image","className","detailsClassName","motif","languageDirection","useMenu","jsxs","S.Wrap","children","jsx","S.SectionTitle","S.BannerWrap","$backgroundColor","$backgroundImage","src","as","href","onClick","e","S.Details","$motif","$direction","S.Title","S.Description","LearnMoreLink","S.ImageWrap"],"mappings":";;;;;;;AAKO,MAAMA,kBAAkBA,CAAC;EAC9BC,YAAA;EACAC,KAAA;EACAC,IAAA;EACAC,WAAA;EACAC,eAAA;EACAC,eAAA;EACAC,WAAA;EACAC,KAAA;EACAC,SAAA;EACAC,gBAAA;EACAC;AACF,CAA4B,KAAA;EACpB,MAAA;IAAEC;EAAkB,CAAA,GAAIC,OAAQ,CAAA,CAAA;EAEtC,OAAA,eACGC,IAAA,CAAAC,IAAA,EAAA;IAAON,SACL;IAAAO,QAAA,EAAA,CAAAf,YAAA,IAAiB,eAAAgB,GAAA,CAAAC,YAAA,EAAA;MAAgBF,QAAa,EAAAf;IAAA,CAAA,CAAA,EAAA,eAC/Ca,IAAA,CAACK,UAAE,EAAF;MACCC,gBAAkB,EAAAf,eAAA;MAClBgB,kBAAkBf,eAAiB,EAAAgB,GAAA;MACnCC,EAAA,EAAIpB,IAAM,EAAAqB,IAAA,GAAO,GAAM,GAAA,KAAA,CAAA;MACvBA,MAAMrB,IAAM,EAAAqB,IAAA;MACZC,OAAA,EAAUC,CAAM,IAAAvB,IAAA,EAAMqB,QAAQjB,WAAc,GAAAmB,CAAA,EAAGvB,KAAKqB,IAAI,CAAA;MAExDR,QAAA,EAAA,CAAA,eAAAF,IAAA,CAACa,OAAE,EAAF;QACClB,SAAW,EAAAC,gBAAA;QACXkB,MAAQ,EAAAjB,KAAA;QACRkB,UAAY,EAAAjB,iBAAA;QAEZI,QAAA,EAAA,CAAC,eAAAC,GAAA,CAAAa,KAAA,EAAA;UAASd,QAAM,EAAAd;QAAA,CAAA,CAAA,EACfE,WAAe,IAAA,eAAAa,GAAA,CAACc,WAAE,EAAF;UAAef,QAAY,EAAAZ;QAAA,CAAA,CAAA,EAC3CD,IAAQ,IAAA,eAAAc,GAAA,CAACe,aAAc,EAAA;UAAA9B,KAAA,EAAOC,KAAKD;QAAO,CAAA,CAAA;MAAA,CAC7C,CAAA,EACCM,wBAAUS,GAAA,CAAAgB,WAAA;QAAYZ,gBAAA,EAAkBb,MAAMc;MAAK,CAAA,CAAA;IAAA,CAAA,CAAA;GAExD,CAAA;AAEJ,CAAA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrositeBanner.styles.js","sources":["../../../src/components/MicrositeBanner/MicrositeBanner.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\n\nexport const Wrap = styled.div``;\n\nexport const SectionTitle = styled.div`\n font-size: 32px;\n line-height: ${38.7 / 32};\n font-weight: ${theme.fontWeight.bold};\n letter-spacing: -2%;\n color: ${theme.colors.black};\n\n margin-bottom: 36px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 21px;\n line-height: ${25.5 / 21};\n\n margin-bottom: 24px;\n }\n`;\n\nexport const BannerWrap = styled.div<{\n $backgroundColor?: string;\n $backgroundImage?: string;\n}>`\n display: flex;\n align-items: center;\n margin-bottom: 42px;\n border-radius: 8px;\n\n height: 340px;\n overflow: hidden;\n\n background-color: ${({ $backgroundColor }) => $backgroundColor || \"#f9f9f9\"};\n\n ${({ $backgroundImage }) =>\n $backgroundImage &&\n css`\n background-image: url(\"${$backgroundImage}\");\n background-size: cover;\n background-position: center center;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n height: auto;\n }\n`;\n\nexport const Details = styled.div<{\n $motif?: Motif;\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n display: flex;\n flex-direction: column;\n margin-left: 94px;\n\n width: 100%;\n flex-shrink: 0;\n\n ${({ $direction }) =>\n $direction === LanguageDirectionType.rtl &&\n css`\n order: 2;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n text-align: center;\n align-items: center;\n margin: 30px auto;\n width: auto;\n flex-shrink: 1;\n order: revert;\n }\n\n ${({ $motif }) =>\n $motif === \"dark\" &&\n css`\n ${Title} {\n color: #fff;\n }\n\n ${Description} {\n color: rgba(255 255 255 / 0.65);\n }\n `}\n`;\n\nexport const Title = styled.div`\n font-size: 32px;\n line-height: ${38.7 / 32};\n font-weight: ${theme.fontWeight.bold};\n letter-spacing: -2%;\n color: ${theme.colors.black};\n\n margin-bottom: 2px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 21px;\n line-height: ${25.5 / 21};\n }\n`;\n\nexport const Description = styled.div`\n font-size: 18px;\n line-height: ${21.75 / 18};\n color: ${theme.colors.black65};\n margin-bottom: 12px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 14px;\n line-height: ${17 / 14};\n }\n`;\n\nexport const ImageWrap = styled.div<{ $backgroundImage?: string }>`\n height: calc(100% + 68px);\n width: 100%;\n\n background-image: ${({ $backgroundImage }) =>\n $backgroundImage ? `url(${$backgroundImage})` : \"none\"};\n background-repeat: no-repeat;\n background-size: cover;\n background-position-x: 0;\n background-position-y: 0;\n\n margin-bottom: -68px;\n margin-right: -38px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n height: 197px;\n margin-top: -20px;\n }\n`;\n\nexport const Image = styled.img`\n max-height: 100%;\n`;\n"],"names":["Wrap","styled","div","SectionTitle","theme","fontWeight","bold","colors","black","BREAKPOINTS","MOBILE_AND_DOWN","BannerWrap","$backgroundColor","$backgroundImage","css","TABLET_AND_DOWN","Details","$direction","LanguageDirectionType","rtl","$motif","Title","Description","black65","ImageWrap","Image","img"],"mappings":";;;;;;;;;;;;;AAOO,MAAMA,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA,EAAA;AAEpB,MAAMC,eAAeF,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,iBAElB,OAAO,EAAE;AAAA,iBACTE,KAAA,CAAAA,KAAA,CAAMC,WAAWC,IAAI;AAAA;AAAA,WAE3BF,KAAA,CAAAA,KAAA,CAAMG,OAAOC,KAAK;;AAAA;;AAAA,WAIlBC,MAAAA,CAAAA,YAAYC,eAAe;AAAA;AAAA,mBAEnB,OAAO,EAAE;;AAAA;AAAA;AAAA,CAAA;AAMrB,MAAMC,aAAaV,eAAO,CAAA,SAAA,CAAA,CAAA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AAAA,WAGpBd,MAAAA,CAAAA,YAAYC,eAAe;AAAA;AAAA,mBAEnB,KAAK,EAAE;AAAA;AAAA,CAAA;AAInB,MAAMc,YAAYvB,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;;AAAA,sBAIV,CAAC;EAAEW;AAAiB,CAAA,KACtCA,mBAAmB,OAAOA,gBAAgB,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,WAS/CJ,MAAAA,CAAAA,YAAYM,eAAe;AAAA;AAAA;AAAA;AAAA,CAAA;AAM/B,MAAMU,QAAQxB,eAAO,CAAA,SAAA,CAAA,CAAAyB,GAAA;AAAA;AAAA,CAAA;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrositeBanner.styles.mjs","sources":["../../../src/components/MicrositeBanner/MicrositeBanner.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport { theme } from \"../../constants/theme\";\nimport { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\n\nexport const Wrap = styled.div``;\n\nexport const SectionTitle = styled.div`\n font-size: 32px;\n line-height: ${38.7 / 32};\n font-weight: ${theme.fontWeight.bold};\n letter-spacing: -2%;\n color: ${theme.colors.black};\n\n margin-bottom: 36px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 21px;\n line-height: ${25.5 / 21};\n\n margin-bottom: 24px;\n }\n`;\n\nexport const BannerWrap = styled.div<{\n $backgroundColor?: string;\n $backgroundImage?: string;\n}>`\n display: flex;\n align-items: center;\n margin-bottom: 42px;\n border-radius: 8px;\n\n height: 340px;\n overflow: hidden;\n\n background-color: ${({ $backgroundColor }) => $backgroundColor || \"#f9f9f9\"};\n\n ${({ $backgroundImage }) =>\n $backgroundImage &&\n css`\n background-image: url(\"${$backgroundImage}\");\n background-size: cover;\n background-position: center center;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n height: auto;\n }\n`;\n\nexport const Details = styled.div<{\n $motif?: Motif;\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n display: flex;\n flex-direction: column;\n margin-left: 94px;\n\n width: 100%;\n flex-shrink: 0;\n\n ${({ $direction }) =>\n $direction === LanguageDirectionType.rtl &&\n css`\n order: 2;\n `}\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n text-align: center;\n align-items: center;\n margin: 30px auto;\n width: auto;\n flex-shrink: 1;\n order: revert;\n }\n\n ${({ $motif }) =>\n $motif === \"dark\" &&\n css`\n ${Title} {\n color: #fff;\n }\n\n ${Description} {\n color: rgba(255 255 255 / 0.65);\n }\n `}\n`;\n\nexport const Title = styled.div`\n font-size: 32px;\n line-height: ${38.7 / 32};\n font-weight: ${theme.fontWeight.bold};\n letter-spacing: -2%;\n color: ${theme.colors.black};\n\n margin-bottom: 2px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 21px;\n line-height: ${25.5 / 21};\n }\n`;\n\nexport const Description = styled.div`\n font-size: 18px;\n line-height: ${21.75 / 18};\n color: ${theme.colors.black65};\n margin-bottom: 12px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 14px;\n line-height: ${17 / 14};\n }\n`;\n\nexport const ImageWrap = styled.div<{ $backgroundImage?: string }>`\n height: calc(100% + 68px);\n width: 100%;\n\n background-image: ${({ $backgroundImage }) =>\n $backgroundImage ? `url(${$backgroundImage})` : \"none\"};\n background-repeat: no-repeat;\n background-size: cover;\n background-position-x: 0;\n background-position-y: 0;\n\n margin-bottom: -68px;\n margin-right: -38px;\n\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n height: 197px;\n margin-top: -20px;\n }\n`;\n\nexport const Image = styled.img`\n max-height: 100%;\n`;\n"],"names":["Wrap","styled","div","SectionTitle","theme","fontWeight","bold","colors","black","BREAKPOINTS","MOBILE_AND_DOWN","BannerWrap","$backgroundColor","$backgroundImage","css","TABLET_AND_DOWN","Details","$direction","LanguageDirectionType","rtl","$motif","Title","Description","black65","ImageWrap","Image","img"],"mappings":";;;;;AAOO,MAAMA,OAAOC,MAAO,CAAAC,GAAA,EAAA;AAEpB,MAAMC,eAAeF,MAAO,CAAAC,GAAA;AAAA;AAAA,iBAElB,OAAO,EAAE;AAAA,iBACTE,KAAA,CAAMC,WAAWC,IAAI;AAAA;AAAA,WAE3BF,KAAA,CAAMG,OAAOC,KAAK;;AAAA;;AAAA,WAIlBC,YAAYC,eAAe;AAAA;AAAA,mBAEnB,OAAO,EAAE;;AAAA;AAAA;AAAA,CAAA;AAMrB,MAAMC,aAAaV,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,sBAYX,CAAC;EAAEU;CAAiB,KAAMA,oBAAoB,SAAS;;AAAA,IAEzE,CAAC;EAAEC;CAAiB,KACpBA,gBACA,IAAAC,GAAA;AAAA,+BAC2BD,gBAAgB;AAAA;AAAA;AAAA,KAG1C;;AAAA,WAEMJ,YAAYM,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQ/B,MAAMC,UAAUf,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,IAY1B,CAAC;EAAEe;AACH,CAAA,KAAAA,UAAA,KAAeC,sBAAsBC,GACrC,IAAAL,GAAA;AAAA;AAAA,KAEC;;AAAA,WAEML,YAAYM,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,IASlC,CAAC;EAAEK;AAAO,CAAA,KACVA,WAAW,MACX,IAAAN,GAAA;AAAA,QACIO,KAAK;AAAA;AAAA;;AAAA,QAILC,WAAW;AAAA;AAAA;AAAA,KAGd;AAAA,CAAA;AAGE,MAAMD,QAAQpB,MAAO,CAAAC,GAAA;AAAA;AAAA,iBAEX,OAAO,EAAE;AAAA,iBACTE,KAAA,CAAMC,WAAWC,IAAI;AAAA;AAAA,WAE3BF,KAAA,CAAMG,OAAOC,KAAK;;AAAA;;AAAA,WAIlBC,YAAYC,eAAe;AAAA;AAAA,mBAEnB,OAAO,EAAE;AAAA;AAAA,CAAA;AAIrB,MAAMY,cAAcrB,MAAO,CAAAC,GAAA;AAAA;AAAA,iBAEjB,QAAQ,EAAE;AAAA,WAChBE,KAAA,CAAMG,OAAOgB,OAAO;AAAA;;AAAA,WAGpBd,YAAYC,eAAe;AAAA;AAAA,mBAEnB,KAAK,EAAE;AAAA;AAAA,CAAA;AAInB,MAAMc,YAAYvB,MAAO,CAAAC,GAAA;AAAA;AAAA;;AAAA,sBAIV,CAAC;EAAEW;AAAiB,CAAA,KACtCA,mBAAmB,OAAOA,gBAAgB,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,WAS/CJ,YAAYM,eAAe;AAAA;AAAA;AAAA;AAAA,CAAA;AAM/B,MAAMU,QAAQxB,MAAO,CAAAyB,GAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MicrositeBanner } from "./MicrositeBanner";
|
|
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var theme = require('../../constants/theme.js');
|
|
6
6
|
"use strict";
|
|
7
|
-
const
|
|
7
|
+
const MicrositeProgressCircle = ({
|
|
8
8
|
value,
|
|
9
9
|
diameter = 100,
|
|
10
10
|
strokeWidth = 4,
|
|
@@ -44,5 +44,5 @@ const ProgressCircle = ({
|
|
|
44
44
|
})]
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
//# sourceMappingURL=
|
|
47
|
+
exports.MicrositeProgressCircle = MicrositeProgressCircle;
|
|
48
|
+
//# sourceMappingURL=MicrositeProgressCircle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrositeProgressCircle.js","sources":["../../../src/components/MicrositeProgressCircle/MicrositeProgressCircle.tsx"],"sourcesContent":["import { useMemo } from \"react\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { MicrositeProgressCircleProps } from \"./MicrositeProgressCircle.types\";\n\nexport const MicrositeProgressCircle = ({\n value,\n diameter = 100,\n strokeWidth = 4,\n lineColor = theme.colors.black,\n lineBackgroundColor = theme.colors.white,\n backgroundColor = theme.colors.white,\n className,\n}: MicrositeProgressCircleProps) => {\n const radius = useMemo(\n () => (diameter - strokeWidth) / 2,\n [diameter, strokeWidth],\n );\n\n const circumference = useMemo(() => radius * 2 * Math.PI, [radius]);\n\n const strokeDashoffset = useMemo(\n () => circumference - (value ? value / 100 : 0) * circumference,\n [circumference, value],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <svg\n className={className}\n width={diameter}\n height={diameter}\n viewBox={`0 0 ${diameter} ${diameter}`}\n >\n <circle\n stroke={lineBackgroundColor}\n fill={backgroundColor}\n strokeWidth={strokeWidth}\n r={radius}\n cx={diameter / 2}\n cy={diameter / 2}\n />\n <circle\n stroke={lineColor}\n fill=\"transparent\"\n strokeWidth={strokeWidth}\n strokeDasharray={circumference}\n style={{\n strokeDashoffset,\n transform: `rotate(-90deg)`,\n transformOrigin: `50% 50%`,\n }}\n r={radius}\n cx={diameter / 2}\n cy={diameter / 2}\n />\n </svg>\n );\n};\n"],"names":["MicrositeProgressCircle","value","diameter","strokeWidth","lineColor","theme","colors","black","lineBackgroundColor","white","backgroundColor","className","radius","useMemo","circumference","Math","PI","strokeDashoffset","jsxs","width","height","viewBox","children","jsx","stroke","fill","r","cx","cy","strokeDasharray","style","transform","transformOrigin"],"mappings":";;;;;;AAKO,MAAMA,0BAA0BA,CAAC;EACtCC,KAAA;EACAC,QAAW,GAAA,GAAA;EACXC,WAAc,GAAA,CAAA;EACdC,SAAA,GAAYC,KAAAA,CAAAA,MAAMC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