@ubnt/store.core 9.71.0-beta.4 → 10.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +99 -5063
- package/lib/_virtual/_virtual_multi-entry.js +110 -126
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/apis/smartcat.js +124 -133
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +124 -133
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/box.svg +3 -4
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/express.jpg +0 -0
- package/lib/assets/express2.jpg +0 -0
- package/lib/assets/express7.jpg +0 -0
- package/lib/assets/express72.jpg +0 -0
- package/lib/assets/hand.svg +5 -4
- package/lib/assets/icons/wizard/index.d.ts +0 -4
- package/lib/assets/icons/wizard/index.js +0 -4
- package/lib/assets/icons/wizard/index.js.map +1 -1
- package/lib/assets/icons/wizard/index.mjs +0 -4
- package/lib/assets/icons/wizard/index.mjs.map +1 -1
- package/lib/assets/icons/wizard/minus.svg.js +1 -1
- package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
- package/lib/assets/keyFeatures/box.svg.js +1 -1
- package/lib/assets/keyFeatures/box.svg.mjs +2 -2
- package/lib/assets/keyFeatures/reload.svg.js +1 -1
- package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
- package/lib/assets/minus.svg +1 -14
- package/lib/assets/minus2.svg +3 -1
- package/lib/assets/minus3.svg +13 -2
- package/lib/assets/payment-card.svg +4 -11
- package/lib/assets/plus.svg +1 -4
- package/lib/assets/plus3.svg +16 -1
- package/lib/assets/plus4.svg +15 -2
- package/lib/assets/reload.svg +2 -2
- package/lib/assets/reload2.svg +2 -2
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/assets/udr2.jpg +0 -0
- package/lib/assets/udr3.jpg +0 -0
- package/lib/assets/udr7.jpg +0 -0
- package/lib/assets/udr72.jpg +0 -0
- package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
- package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
- package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
- package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
- package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
- package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
- package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
- package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
- package/lib/components/Header/Header.js +0 -4
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +0 -4
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.stories.d.ts +2 -3
- package/lib/components/Header/Header.styles.d.ts +1 -1
- package/lib/components/Header/Header.styles.js +2 -2
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +2 -2
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +0 -2
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
- package/lib/components/Header/ProHeader/ProHeader.d.ts +2 -1
- package/lib/components/Header/ProHeader/ProHeader.js +5 -3
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +5 -4
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
- package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
- package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
- package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
- package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
- package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
- package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
- package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
- package/lib/components/MicrositeBanner/index.d.ts +1 -0
- package/lib/components/MicrositeBanner/index.js +6 -0
- package/lib/components/MicrositeBanner/index.mjs +3 -0
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
- package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
- package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
- package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
- package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
- package/lib/components/MicrositeProgressCircle/index.js +6 -0
- package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/express.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/index.js +8 -0
- package/lib/components/ProductTechSpecs/index.mjs +4 -0
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/components/index.d.ts +32 -38
- package/lib/components/index.js +98 -110
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +98 -110
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/icons/generic/index.js +6 -6
- package/lib/constants/icons/generic/index.mjs +2 -2
- package/lib/constants/icons/generic/minus.svg.js +5 -5
- package/lib/constants/icons/generic/minus.svg.mjs +2 -2
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/index.d.ts +0 -1
- package/lib/constants/icons/index.js +0 -2
- package/lib/constants/icons/index.js.map +1 -1
- package/lib/constants/icons/index.mjs +0 -2
- package/lib/constants/icons/index.mjs.map +1 -1
- package/lib/constants/mixin.d.ts +0 -1
- package/lib/constants/mixin.js +0 -6
- package/lib/constants/mixin.js.map +1 -1
- package/lib/constants/mixin.mjs +1 -6
- package/lib/constants/mixin.mjs.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.js +2 -2
- package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
- package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
- package/lib/helpers/shopify/iconParsing.js.map +1 -1
- package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
- package/lib/utils/index.d.ts +1 -3
- package/lib/utils/index.js +6 -10
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/index.mjs +6 -10
- package/lib/utils/index.mjs.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.js +9 -17
- package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
- package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
- package/lib/utils/money/allocators/productAmount.js +38 -61
- package/lib/utils/money/allocators/productAmount.js.map +1 -1
- package/lib/utils/money/allocators/productAmount.mjs +38 -61
- package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
- package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
- package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
- package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
- package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/accessApplication.svg +0 -394
- package/lib/assets/addToCart.svg +0 -3
- package/lib/assets/arrowRightMicro.svg +0 -3
- package/lib/assets/black.svg +0 -14
- package/lib/assets/blackFabric.png +0 -0
- package/lib/assets/blue.svg +0 -14
- package/lib/assets/box2.svg +0 -3
- package/lib/assets/camo.png +0 -0
- package/lib/assets/check3.svg +0 -3
- package/lib/assets/close3.svg +0 -3
- package/lib/assets/compare/fov-bullet.png.js +0 -27
- package/lib/assets/compare/fov-bullet.png.js.map +0 -1
- package/lib/assets/compare/fov-bullet.png.mjs +0 -3
- package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
- package/lib/assets/concrete.png +0 -0
- package/lib/assets/darkGrey.svg +0 -14
- package/lib/assets/design-uisp-mobile.png +0 -0
- package/lib/assets/design-uisp.png +0 -0
- package/lib/assets/design-unifi-mobile.png +0 -0
- package/lib/assets/design-unifi.png +0 -0
- package/lib/assets/fov-bullet.png +0 -0
- package/lib/assets/grey.svg +0 -13
- package/lib/assets/hand2.svg +0 -5
- package/lib/assets/icons/accessApplication.svg.js +0 -27
- package/lib/assets/icons/accessApplication.svg.js.map +0 -1
- package/lib/assets/icons/accessApplication.svg.mjs +0 -3
- package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/addToCart.svg.js +0 -27
- package/lib/assets/icons/addToCart.svg.js.map +0 -1
- package/lib/assets/icons/addToCart.svg.mjs +0 -3
- package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
- package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
- package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
- package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
- package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
- package/lib/assets/icons/link.svg.js +0 -27
- package/lib/assets/icons/link.svg.js.map +0 -1
- package/lib/assets/icons/link.svg.mjs +0 -3
- package/lib/assets/icons/link.svg.mjs.map +0 -1
- package/lib/assets/icons/networkApplication.svg.js +0 -27
- package/lib/assets/icons/networkApplication.svg.js.map +0 -1
- package/lib/assets/icons/networkApplication.svg.mjs +0 -3
- package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
- package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
- package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
- package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-card.svg.js +0 -27
- package/lib/assets/icons/payment-card.svg.js.map +0 -1
- package/lib/assets/icons/payment-card.svg.mjs +0 -3
- package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-google-pay.svg.js +0 -27
- package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
- package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
- package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
- package/lib/assets/icons/play-big.svg.js +0 -27
- package/lib/assets/icons/play-big.svg.js.map +0 -1
- package/lib/assets/icons/play-big.svg.mjs +0 -3
- package/lib/assets/icons/play-big.svg.mjs.map +0 -1
- package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
- package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
- package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
- package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
- package/lib/assets/icons/protectApplication.svg.js +0 -27
- package/lib/assets/icons/protectApplication.svg.js.map +0 -1
- package/lib/assets/icons/protectApplication.svg.mjs +0 -3
- package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/reload.svg.js +0 -27
- package/lib/assets/icons/reload.svg.js.map +0 -1
- package/lib/assets/icons/reload.svg.mjs +0 -3
- package/lib/assets/icons/reload.svg.mjs.map +0 -1
- package/lib/assets/icons/sliderThumb.svg.js +0 -27
- package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
- package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
- package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
- package/lib/assets/icons/talkApplication.svg.js +0 -27
- package/lib/assets/icons/talkApplication.svg.js.map +0 -1
- package/lib/assets/icons/talkApplication.svg.mjs +0 -3
- package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/box.svg.js +0 -27
- package/lib/assets/icons/wizard/box.svg.js.map +0 -1
- package/lib/assets/icons/wizard/box.svg.mjs +0 -3
- package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/hand.svg.js +0 -27
- package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
- package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
- package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
- package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
- package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
- package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/warranty.svg.js +0 -27
- package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
- package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
- package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
- package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
- package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
- package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
- package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-uisp.png.js +0 -27
- package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
- package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
- package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
- package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
- package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
- package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-unifi.png.js +0 -27
- package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
- package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
- package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
- package/lib/assets/landingPage/support-expert.png.js +0 -27
- package/lib/assets/landingPage/support-expert.png.js.map +0 -1
- package/lib/assets/landingPage/support-expert.png.mjs +0 -3
- package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
- package/lib/assets/landingPage/support-help.png.js +0 -27
- package/lib/assets/landingPage/support-help.png.js.map +0 -1
- package/lib/assets/landingPage/support-help.png.mjs +0 -3
- package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
- package/lib/assets/lightGrey.svg +0 -13
- package/lib/assets/link.svg +0 -3
- package/lib/assets/marble.png +0 -0
- package/lib/assets/networkApplication.svg +0 -21
- package/lib/assets/payment-apple-pay.svg +0 -12
- package/lib/assets/payment-card2.svg +0 -5
- package/lib/assets/payment-google-pay.svg +0 -1
- package/lib/assets/play-big.svg +0 -4
- package/lib/assets/plus5.svg +0 -16
- package/lib/assets/plus6.svg +0 -16
- package/lib/assets/popoverPointer.svg +0 -12
- package/lib/assets/previouslyPurchasedStar.svg +0 -3
- package/lib/assets/protectApplication.svg +0 -418
- package/lib/assets/reload3.svg +0 -3
- package/lib/assets/sliderThumb.svg +0 -5
- package/lib/assets/support-expert.png +0 -0
- package/lib/assets/support-help.png +0 -0
- package/lib/assets/talkApplication.svg +0 -45
- package/lib/assets/warranty.svg +0 -2
- package/lib/assets/white.svg +0 -13
- package/lib/assets/wood.png +0 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
- package/lib/components/AppDownloadBanner/index.d.ts +0 -1
- package/lib/components/Banner/Banner.d.ts +0 -2
- package/lib/components/Banner/Banner.js.map +0 -1
- package/lib/components/Banner/Banner.mjs.map +0 -1
- package/lib/components/Banner/Banner.styles.js.map +0 -1
- package/lib/components/Banner/Banner.styles.mjs.map +0 -1
- package/lib/components/Banner/index.d.ts +0 -1
- package/lib/components/Banner/index.js +0 -6
- package/lib/components/Banner/index.mjs +0 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
- package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
- package/lib/components/CarouselGallery/index.d.ts +0 -1
- package/lib/components/CartIcon/CartIcon.js.map +0 -1
- package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
- package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
- package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.d.ts +0 -2
- package/lib/components/CartSummary/CartSummary.js +0 -58
- package/lib/components/CartSummary/CartSummary.js.map +0 -1
- package/lib/components/CartSummary/CartSummary.mjs +0 -56
- package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
- package/lib/components/CartSummary/CartSummary.styles.js +0 -133
- package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
- package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
- package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
- package/lib/components/CartSummary/index.d.ts +0 -1
- package/lib/components/CartSummary/index.js +0 -6
- package/lib/components/CartSummary/index.mjs +0 -3
- package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
- package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
- package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
- package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
- package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
- package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
- package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
- package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
- package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
- package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
- package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
- package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
- package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
- package/lib/components/CloserLookSection/index.d.ts +0 -1
- package/lib/components/CloserLookSection/index.js +0 -7
- package/lib/components/CloserLookSection/index.js.map +0 -1
- package/lib/components/CloserLookSection/index.mjs +0 -3
- package/lib/components/CloserLookSection/index.mjs.map +0 -1
- package/lib/components/Compare/Compare.d.ts +0 -2
- package/lib/components/Compare/Compare.styles.d.ts +0 -38
- package/lib/components/Compare/Compare.types.d.ts +0 -34
- package/lib/components/Compare/CompareData.d.ts +0 -22
- package/lib/components/Compare/ProductTable.d.ts +0 -6
- package/lib/components/Compare/index.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
- package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
- package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
- package/lib/components/CompareChart/index.d.ts +0 -2
- package/lib/components/CompareSection/CompareSection.d.ts +0 -5
- package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
- package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
- package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
- package/lib/components/CompareSection/index.d.ts +0 -1
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
- package/lib/components/DeploymentGallery/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
- package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
- package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
- package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
- package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/index.js +0 -7
- package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.context.js +0 -141
- package/lib/components/Gallery/Gallery.context.js.map +0 -1
- package/lib/components/Gallery/Gallery.context.mjs +0 -138
- package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.js +0 -123
- package/lib/components/Gallery/Gallery.js.map +0 -1
- package/lib/components/Gallery/Gallery.mjs +0 -120
- package/lib/components/Gallery/Gallery.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.styles.js +0 -86
- package/lib/components/Gallery/Gallery.styles.js.map +0 -1
- package/lib/components/Gallery/Gallery.styles.mjs +0 -73
- package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.types.js +0 -11
- package/lib/components/Gallery/Gallery.types.js.map +0 -1
- package/lib/components/Gallery/Gallery.types.mjs +0 -10
- package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
- package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
- package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/index.js +0 -9
- package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
- package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
- package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/index.js +0 -6
- package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
- package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
- package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
- package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
- package/lib/components/Gallery/index.js +0 -8
- package/lib/components/Gallery/index.mjs +0 -4
- package/lib/components/Gallery/utils.js +0 -9
- package/lib/components/Gallery/utils.js.map +0 -1
- package/lib/components/Gallery/utils.mjs +0 -8
- package/lib/components/Gallery/utils.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.js +0 -197
- package/lib/components/GridGallery/GridGallery.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.mjs +0 -189
- package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.styles.js +0 -132
- package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
- package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.types.js +0 -12
- package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
- package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
- package/lib/components/GridGallery/index.js +0 -6
- package/lib/components/GridGallery/index.js.map +0 -1
- package/lib/components/GridGallery/index.mjs +0 -3
- package/lib/components/GridGallery/index.mjs.map +0 -1
- package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
- package/lib/components/Header/SearchTab/index.d.ts +0 -1
- package/lib/components/Hero/Hero.d.ts +0 -2
- package/lib/components/Hero/Hero.js +0 -158
- package/lib/components/Hero/Hero.js.map +0 -1
- package/lib/components/Hero/Hero.mjs +0 -146
- package/lib/components/Hero/Hero.mjs.map +0 -1
- package/lib/components/Hero/Hero.styles.d.ts +0 -44
- package/lib/components/Hero/Hero.styles.js +0 -349
- package/lib/components/Hero/Hero.styles.js.map +0 -1
- package/lib/components/Hero/Hero.styles.mjs +0 -320
- package/lib/components/Hero/Hero.styles.mjs.map +0 -1
- package/lib/components/Hero/Hero.types.d.ts +0 -31
- package/lib/components/Hero/Hero.types.js +0 -12
- package/lib/components/Hero/Hero.types.js.map +0 -1
- package/lib/components/Hero/Hero.types.mjs +0 -11
- package/lib/components/Hero/Hero.types.mjs.map +0 -1
- package/lib/components/Hero/index.d.ts +0 -1
- package/lib/components/Hero/index.js +0 -6
- package/lib/components/Hero/index.js.map +0 -1
- package/lib/components/Hero/index.mjs +0 -3
- package/lib/components/Hero/index.mjs.map +0 -1
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
- package/lib/components/HeroFadeGallery/index.d.ts +0 -1
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
- package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
- package/lib/components/HowToUseSection/index.d.ts +0 -1
- package/lib/components/ImageModal/ImageModal.d.ts +0 -2
- package/lib/components/ImageModal/ImageModal.js +0 -42
- package/lib/components/ImageModal/ImageModal.js.map +0 -1
- package/lib/components/ImageModal/ImageModal.mjs +0 -40
- package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
- package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
- package/lib/components/ImageModal/ImageModal.styles.js +0 -64
- package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
- package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
- package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
- package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
- package/lib/components/ImageModal/index.d.ts +0 -1
- package/lib/components/ImageModal/index.js +0 -6
- package/lib/components/ImageModal/index.js.map +0 -1
- package/lib/components/ImageModal/index.mjs +0 -3
- package/lib/components/ImageModal/index.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.d.ts +0 -2
- package/lib/components/LandingPage/Block/Block.js +0 -38
- package/lib/components/LandingPage/Block/Block.js.map +0 -1
- package/lib/components/LandingPage/Block/Block.mjs +0 -36
- package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
- package/lib/components/LandingPage/Block/Block.styles.js +0 -37
- package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
- package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
- package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
- package/lib/components/LandingPage/Block/index.d.ts +0 -1
- package/lib/components/LandingPage/Block/index.js +0 -6
- package/lib/components/LandingPage/Block/index.js.map +0 -1
- package/lib/components/LandingPage/Block/index.mjs +0 -3
- package/lib/components/LandingPage/Block/index.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
- package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
- package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
- package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
- package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
- package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
- package/lib/components/LandingPage/Cards/Card/index.js +0 -6
- package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
- package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
- package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
- package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Cards.js +0 -127
- package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
- package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
- package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
- package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
- package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/index.d.ts +0 -2
- package/lib/components/LandingPage/Cards/index.js +0 -8
- package/lib/components/LandingPage/Cards/index.js.map +0 -1
- package/lib/components/LandingPage/Cards/index.mjs +0 -4
- package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
- package/lib/components/LandingPage/LandingPage.constants.js +0 -40
- package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
- package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.d.ts +0 -2
- package/lib/components/LandingPage/LandingPage.js +0 -116
- package/lib/components/LandingPage/LandingPage.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.mjs +0 -102
- package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
- package/lib/components/LandingPage/LandingPage.styles.js +0 -66
- package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
- package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
- package/lib/components/LandingPage/index.d.ts +0 -1
- package/lib/components/LandingPage/index.js +0 -6
- package/lib/components/LandingPage/index.js.map +0 -1
- package/lib/components/LandingPage/index.mjs +0 -3
- package/lib/components/LandingPage/index.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
- package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
- package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
- package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
- package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
- package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
- package/lib/components/LandingPagePro/index.d.ts +0 -1
- package/lib/components/LandingPagePro/index.js +0 -6
- package/lib/components/LandingPagePro/index.js.map +0 -1
- package/lib/components/LandingPagePro/index.mjs +0 -3
- package/lib/components/LandingPagePro/index.mjs.map +0 -1
- package/lib/components/LandingPagePro/utils.d.ts +0 -12
- package/lib/components/LandingPagePro/utils.js +0 -26
- package/lib/components/LandingPagePro/utils.js.map +0 -1
- package/lib/components/LandingPagePro/utils.mjs +0 -24
- package/lib/components/LandingPagePro/utils.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
- package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
- package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
- package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
- package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
- package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
- package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
- package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
- package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
- package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
- package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
- package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
- package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
- package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
- package/lib/components/LandingPageSearch/Modal/index.js +0 -6
- package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
- package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
- package/lib/components/LandingPageSearch/index.d.ts +0 -1
- package/lib/components/LandingPageSearch/index.js +0 -6
- package/lib/components/LandingPageSearch/index.js.map +0 -1
- package/lib/components/LandingPageSearch/index.mjs +0 -3
- package/lib/components/LandingPageSearch/index.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
- package/lib/components/LandingPageSidebar/index.d.ts +0 -1
- package/lib/components/LandingPageSidebar/index.js +0 -6
- package/lib/components/LandingPageSidebar/index.js.map +0 -1
- package/lib/components/LandingPageSidebar/index.mjs +0 -3
- package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
- package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
- package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
- package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
- package/lib/components/LayoutRenderer/index.d.ts +0 -2
- package/lib/components/LayoutRenderer/index.js +0 -6
- package/lib/components/LayoutRenderer/index.js.map +0 -1
- package/lib/components/LayoutRenderer/index.mjs +0 -3
- package/lib/components/LayoutRenderer/index.mjs.map +0 -1
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
- package/lib/components/LayoutRendererV1/index.d.ts +0 -1
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
- package/lib/components/LayoutRendererV2/index.d.ts +0 -1
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
- package/lib/components/NewToUnifiBox/index.d.ts +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
- package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
- package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
- package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
- package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
- package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
- package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
- package/lib/components/NormalisedImage/index.d.ts +0 -2
- package/lib/components/NormalisedImage/index.js +0 -7
- package/lib/components/NormalisedImage/index.js.map +0 -1
- package/lib/components/NormalisedImage/index.mjs +0 -4
- package/lib/components/NormalisedImage/index.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.d.ts +0 -2
- package/lib/components/Pagination/Pagination.js +0 -71
- package/lib/components/Pagination/Pagination.js.map +0 -1
- package/lib/components/Pagination/Pagination.mjs +0 -69
- package/lib/components/Pagination/Pagination.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
- package/lib/components/Pagination/Pagination.styles.js +0 -51
- package/lib/components/Pagination/Pagination.styles.js.map +0 -1
- package/lib/components/Pagination/Pagination.styles.mjs +0 -41
- package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.types.d.ts +0 -5
- package/lib/components/Pagination/index.d.ts +0 -2
- package/lib/components/Pagination/index.js +0 -6
- package/lib/components/Pagination/index.js.map +0 -1
- package/lib/components/Pagination/index.mjs +0 -3
- package/lib/components/Pagination/index.mjs.map +0 -1
- package/lib/components/Popover/Popover.d.ts +0 -20
- package/lib/components/Popover/Popover.js +0 -37
- package/lib/components/Popover/Popover.js.map +0 -1
- package/lib/components/Popover/Popover.mjs +0 -29
- package/lib/components/Popover/Popover.mjs.map +0 -1
- package/lib/components/Popover/Popover.styles.d.ts +0 -15
- package/lib/components/Popover/Popover.styles.js +0 -122
- package/lib/components/Popover/Popover.styles.js.map +0 -1
- package/lib/components/Popover/Popover.styles.mjs +0 -111
- package/lib/components/Popover/Popover.styles.mjs.map +0 -1
- package/lib/components/Popover/Popover.types.d.ts +0 -8
- package/lib/components/Popover/index.d.ts +0 -1
- package/lib/components/Popover/index.js +0 -6
- package/lib/components/Popover/index.js.map +0 -1
- package/lib/components/Popover/index.mjs +0 -3
- package/lib/components/Popover/index.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
- package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/index.d.ts +0 -1
- package/lib/components/PriceRangeSlider/index.js +0 -6
- package/lib/components/PriceRangeSlider/index.js.map +0 -1
- package/lib/components/PriceRangeSlider/index.mjs +0 -3
- package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
- package/lib/components/ProductCard/ProductCard.constants.js +0 -18
- package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
- package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.d.ts +0 -2
- package/lib/components/ProductCard/ProductCard.js +0 -139
- package/lib/components/ProductCard/ProductCard.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.mjs +0 -130
- package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
- package/lib/components/ProductCard/ProductCard.styles.js +0 -178
- package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
- package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
- package/lib/components/ProductCard/index.d.ts +0 -1
- package/lib/components/ProductCard/index.js +0 -6
- package/lib/components/ProductCard/index.js.map +0 -1
- package/lib/components/ProductCard/index.mjs +0 -3
- package/lib/components/ProductCard/index.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
- package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
- package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
- package/lib/components/ProductCardPopup/index.d.ts +0 -1
- package/lib/components/ProductCardPopup/index.js +0 -6
- package/lib/components/ProductCardPopup/index.js.map +0 -1
- package/lib/components/ProductCardPopup/index.mjs +0 -3
- package/lib/components/ProductCardPopup/index.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
- package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
- package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
- package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
- package/lib/components/ProductCompare/ProductCompare.js +0 -158
- package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
- package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
- package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
- package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
- package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
- package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
- package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
- package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
- package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
- package/lib/components/ProductCompare/index.d.ts +0 -1
- package/lib/components/ProductCompare/index.js +0 -6
- package/lib/components/ProductCompare/index.js.map +0 -1
- package/lib/components/ProductCompare/index.mjs +0 -3
- package/lib/components/ProductCompare/index.mjs.map +0 -1
- package/lib/components/ProductCompare/mapping.d.ts +0 -62
- package/lib/components/ProductCompare/mapping.js +0 -1107
- package/lib/components/ProductCompare/mapping.js.map +0 -1
- package/lib/components/ProductCompare/mapping.mjs +0 -1098
- package/lib/components/ProductCompare/mapping.mjs.map +0 -1
- package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
- package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
- package/lib/components/ProductDetails/ProductDetails.js +0 -53
- package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
- package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
- package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
- package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
- package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
- package/lib/components/ProductDetails/index.d.ts +0 -2
- package/lib/components/ProductDetails/index.js +0 -8
- package/lib/components/ProductDetails/index.js.map +0 -1
- package/lib/components/ProductDetails/index.mjs +0 -4
- package/lib/components/ProductDetails/index.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
- package/lib/components/ProductGrid/ProductGrid.js +0 -168
- package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
- package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
- package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
- package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
- package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
- package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
- package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
- package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
- package/lib/components/ProductGrid/index.d.ts +0 -1
- package/lib/components/ProductGrid/index.js +0 -6
- package/lib/components/ProductGrid/index.js.map +0 -1
- package/lib/components/ProductGrid/index.mjs +0 -3
- package/lib/components/ProductGrid/index.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
- package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
- package/lib/components/ProductKeyFeatures/index.js +0 -6
- package/lib/components/ProductKeyFeatures/index.js.map +0 -1
- package/lib/components/ProductKeyFeatures/index.mjs +0 -3
- package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
- package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
- package/lib/components/ProductRecommendedAccessories/index.js +0 -6
- package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
- package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
- package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
- package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
- package/lib/components/ProductSectionTabs/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/index.js +0 -6
- package/lib/components/ProductSectionTabs/index.js.map +0 -1
- package/lib/components/ProductSectionTabs/index.mjs +0 -3
- package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
- package/lib/components/ProductUpsell/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
- package/lib/components/ProductWizard/Options/Options.js +0 -77
- package/lib/components/ProductWizard/Options/Options.js.map +0 -1
- package/lib/components/ProductWizard/Options/Options.mjs +0 -75
- package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
- package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
- package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
- package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
- package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
- package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
- package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
- package/lib/components/ProductWizard/Options/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/index.js +0 -6
- package/lib/components/ProductWizard/Options/index.js.map +0 -1
- package/lib/components/ProductWizard/Options/index.mjs +0 -3
- package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
- package/lib/components/ProductWizard/ProductWizard.js +0 -114
- package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
- package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
- package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
- package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
- package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
- package/lib/components/ProductWizard/index.d.ts +0 -1
- package/lib/components/ProductWizard/index.js +0 -6
- package/lib/components/ProductWizard/index.js.map +0 -1
- package/lib/components/ProductWizard/index.mjs +0 -3
- package/lib/components/ProductWizard/index.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
- package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
- package/lib/components/ProductWizardFootnotes/index.js +0 -6
- package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
- package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
- package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
- package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
- package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
- package/lib/components/ProgressCircle/index.d.ts +0 -1
- package/lib/components/ProgressCircle/index.js +0 -6
- package/lib/components/ProgressCircle/index.js.map +0 -1
- package/lib/components/ProgressCircle/index.mjs +0 -3
- package/lib/components/ProgressCircle/index.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
- package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
- package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
- package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
- package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
- package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
- package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
- package/lib/components/RelatedProducts/index.d.ts +0 -1
- package/lib/components/RelatedProducts/index.js +0 -6
- package/lib/components/RelatedProducts/index.js.map +0 -1
- package/lib/components/RelatedProducts/index.mjs +0 -3
- package/lib/components/RelatedProducts/index.mjs.map +0 -1
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
- package/lib/components/SearchInput/Input.styles.d.ts +0 -20
- package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
- package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
- package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
- package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
- package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
- package/lib/components/SkeletonFootnote/index.d.ts +0 -1
- package/lib/components/SkeletonFootnote/index.js +0 -6
- package/lib/components/SkeletonFootnote/index.js.map +0 -1
- package/lib/components/SkeletonFootnote/index.mjs +0 -3
- package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
- package/lib/components/StorageSliders/Slider/Slider.js +0 -41
- package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
- package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
- package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
- package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
- package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
- package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
- package/lib/components/StorageSliders/Slider/index.js +0 -6
- package/lib/components/StorageSliders/Slider/index.js.map +0 -1
- package/lib/components/StorageSliders/Slider/index.mjs +0 -3
- package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
- package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
- package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
- package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
- package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
- package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
- package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
- package/lib/components/StorageSliders/StorageSliders.js +0 -102
- package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
- package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
- package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
- package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
- package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
- package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
- package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
- package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
- package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
- package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
- package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
- package/lib/components/StorageSliders/index.d.ts +0 -1
- package/lib/components/StorageSliders/index.js +0 -6
- package/lib/components/StorageSliders/index.js.map +0 -1
- package/lib/components/StorageSliders/index.mjs +0 -3
- package/lib/components/StorageSliders/index.mjs.map +0 -1
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
- package/lib/components/TabinationButtons/index.d.ts +0 -1
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
- package/lib/components/TopologyScheme/index.d.ts +0 -2
- package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
- package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
- package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
- package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
- package/lib/components/VariantSelector/CheckBox/index.js +0 -6
- package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
- package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/Variant.js +0 -699
- package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
- package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
- package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
- package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
- package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/index.js +0 -6
- package/lib/components/VariantSelector/Variant/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
- package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
- package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
- package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
- package/lib/components/VariantSelector/VariantSelector.js +0 -162
- package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
- package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
- package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
- package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
- package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
- package/lib/components/VariantSelector/index.d.ts +0 -1
- package/lib/components/VariantSelector/index.js +0 -6
- package/lib/components/VariantSelector/index.js.map +0 -1
- package/lib/components/VariantSelector/index.mjs +0 -3
- package/lib/components/VariantSelector/index.mjs.map +0 -1
- package/lib/components/VariantSelector/utils.d.ts +0 -11
- package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
- package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
- package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
- package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
- package/lib/components/VariantSelectorItem/index.d.ts +0 -1
- package/lib/components/VariantSelectorItem/index.js +0 -6
- package/lib/components/VariantSelectorItem/index.js.map +0 -1
- package/lib/components/VariantSelectorItem/index.mjs +0 -3
- package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV1/index.d.ts +0 -1
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV2/index.d.ts +0 -1
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
- package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
- package/lib/components/VideoPlayer/index.d.ts +0 -1
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
- package/lib/components/YouTubePlayer/index.d.ts +0 -1
- package/lib/constants/icons/options/colors/black.svg.js +0 -27
- package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/blue.svg.js +0 -27
- package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
- package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/grey.svg.js +0 -27
- package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/index.d.ts +0 -6
- package/lib/constants/icons/options/colors/index.js +0 -63
- package/lib/constants/icons/options/colors/index.js.map +0 -1
- package/lib/constants/icons/options/colors/index.mjs +0 -14
- package/lib/constants/icons/options/colors/index.mjs.map +0 -1
- package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
- package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/white.svg.js +0 -27
- package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
- package/lib/constants/icons/options/index.d.ts +0 -2
- package/lib/constants/icons/options/index.js +0 -8
- package/lib/constants/icons/options/index.js.map +0 -1
- package/lib/constants/icons/options/index.mjs +0 -6
- package/lib/constants/icons/options/index.mjs.map +0 -1
- package/lib/constants/icons/options/styles/black.svg.js +0 -27
- package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
- package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
- package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
- package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
- package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
- package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
- package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/camo.png.js +0 -27
- package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
- package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
- package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/concrete.png.js +0 -27
- package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
- package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
- package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/index.d.ts +0 -6
- package/lib/constants/icons/options/styles/index.js +0 -63
- package/lib/constants/icons/options/styles/index.js.map +0 -1
- package/lib/constants/icons/options/styles/index.mjs +0 -14
- package/lib/constants/icons/options/styles/index.mjs.map +0 -1
- package/lib/constants/icons/options/styles/marble.png.js +0 -27
- package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
- package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
- package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/wood.png.js +0 -27
- package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
- package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
- package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
- package/lib/constants/optionIcons.d.ts +0 -23
- package/lib/constants/optionIcons.js +0 -97
- package/lib/constants/optionIcons.js.map +0 -1
- package/lib/constants/optionIcons.mjs +0 -76
- package/lib/constants/optionIcons.mjs.map +0 -1
- package/lib/helpers/shopify/product.d.ts +0 -5
- package/lib/helpers/shopify/product.js +0 -52
- package/lib/helpers/shopify/product.js.map +0 -1
- package/lib/helpers/shopify/product.mjs +0 -50
- package/lib/helpers/shopify/product.mjs.map +0 -1
- package/lib/utils/cdn.d.ts +0 -5
- package/lib/utils/collectionSlug.d.ts +0 -5
- package/lib/utils/collectionSlug.js +0 -13
- package/lib/utils/collectionSlug.js.map +0 -1
- package/lib/utils/collectionSlug.mjs +0 -12
- package/lib/utils/collectionSlug.mjs.map +0 -1
- package/lib/utils/collectionSlug.test.d.ts +0 -1
- package/lib/utils/variant.d.ts +0 -8
- package/lib/utils/variant.js +0 -20
- package/lib/utils/variant.js.map +0 -1
- package/lib/utils/variant.mjs +0 -18
- package/lib/utils/variant.mjs.map +0 -1
- package/lib/utils/variant.test.d.ts +0 -1
- package/lib/utils/wattage.d.ts +0 -11
- package/lib/utils/wattage.js +0 -20
- package/lib/utils/wattage.js.map +0 -1
- package/lib/utils/wattage.mjs +0 -18
- package/lib/utils/wattage.mjs.map +0 -1
- package/lib/utils/wattage.test.d.ts +0 -1
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
- /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
- /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
- /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
- /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
- /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
- /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
- /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
- /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
- /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var reactUse = require('react-use');
|
|
6
|
-
var layout = require('../../constants/layout.js');
|
|
7
|
-
var Gallery_context = require('./Gallery.context.js');
|
|
8
|
-
var Gallery_styles = require('./Gallery.styles.js');
|
|
9
|
-
var Gallery_types = require('./Gallery.types.js');
|
|
10
|
-
require('./GalleryControls/index.js');
|
|
11
|
-
require('./GalleryItem/index.js');
|
|
12
|
-
require('./GalleryThumbnails/index.js');
|
|
13
|
-
var GalleryItem = require('./GalleryItem/GalleryItem.js');
|
|
14
|
-
var GalleryThumbnails = require('./GalleryThumbnails/GalleryThumbnails.js');
|
|
15
|
-
var GalleryControls = require('./GalleryControls/GalleryControls.js');
|
|
16
|
-
"use strict";
|
|
17
|
-
const parseGalleryEntries = (entries, fade) => {
|
|
18
|
-
const videoEntry = entries.find(entry => entry.isVideo);
|
|
19
|
-
const entriesWithoutVideo = entries.filter(entry => !entry.isVideo);
|
|
20
|
-
const newEntries = videoEntry ? [videoEntry, ...entriesWithoutVideo] : entries;
|
|
21
|
-
if (newEntries.length <= 1 || fade) {
|
|
22
|
-
return newEntries;
|
|
23
|
-
}
|
|
24
|
-
const slidesWithClones = [...newEntries];
|
|
25
|
-
slidesWithClones.unshift(slidesWithClones[slidesWithClones.length - 1]);
|
|
26
|
-
slidesWithClones.push(slidesWithClones[1]);
|
|
27
|
-
return slidesWithClones;
|
|
28
|
-
};
|
|
29
|
-
const Gallery = React.memo(function Gallery2({
|
|
30
|
-
controls,
|
|
31
|
-
entries,
|
|
32
|
-
parsed,
|
|
33
|
-
className,
|
|
34
|
-
size,
|
|
35
|
-
priority,
|
|
36
|
-
renderImage,
|
|
37
|
-
fade,
|
|
38
|
-
thumbnails,
|
|
39
|
-
objectFit,
|
|
40
|
-
onChange
|
|
41
|
-
}) {
|
|
42
|
-
const {
|
|
43
|
-
reset,
|
|
44
|
-
setControlsType,
|
|
45
|
-
withTransition,
|
|
46
|
-
visibleSlide,
|
|
47
|
-
resetTransitionState
|
|
48
|
-
} = Gallery_context.useGalleryControls();
|
|
49
|
-
const galleryRef = React.useRef(null);
|
|
50
|
-
const entriesParsed = React.useMemo(() => {
|
|
51
|
-
return parsed ? entries : parseGalleryEntries(entries, fade);
|
|
52
|
-
}, [entries, fade, parsed]);
|
|
53
|
-
React.useEffect(() => {
|
|
54
|
-
setControlsType(controls);
|
|
55
|
-
}, [controls, setControlsType]);
|
|
56
|
-
React.useEffect(() => {
|
|
57
|
-
reset(entriesParsed.length);
|
|
58
|
-
}, [entriesParsed, reset]);
|
|
59
|
-
const activeEntry = React.useMemo(() => entriesParsed[visibleSlide], [entriesParsed, visibleSlide]);
|
|
60
|
-
const couldBeNext = React.useCallback(index => {
|
|
61
|
-
const potentialNextRightSlideIndex = visibleSlide + 1 > entriesParsed.length - 1 ? 0 : visibleSlide + 1;
|
|
62
|
-
const potentialNextLeftSlideIndex = visibleSlide - 1 < 0 ? entriesParsed.length - 1 : visibleSlide - 1;
|
|
63
|
-
return !!(potentialNextRightSlideIndex === index || potentialNextLeftSlideIndex === index);
|
|
64
|
-
}, [entriesParsed.length, visibleSlide]);
|
|
65
|
-
const isTabletUp = reactUse.useMedia(layout.BREAKPOINTS.TABLET_UP, false);
|
|
66
|
-
const hoveredRaw = reactUse.useHoverDirty(galleryRef, isTabletUp);
|
|
67
|
-
const [hovered, setHovered] = React.useState(false);
|
|
68
|
-
reactUse.useDebounce(() => {
|
|
69
|
-
setHovered(hoveredRaw);
|
|
70
|
-
}, 10, [hoveredRaw]);
|
|
71
|
-
if (!activeEntry || !entriesParsed.length) {
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
return /* @__PURE__ */jsxRuntime.jsx(Gallery_styles.GalleryWrapper, {
|
|
75
|
-
className,
|
|
76
|
-
ref: galleryRef,
|
|
77
|
-
children: /* @__PURE__ */jsxRuntime.jsxs(Gallery_styles.GalleryImageContainer, {
|
|
78
|
-
children: [entriesParsed.length === 1 ? /* @__PURE__ */jsxRuntime.jsx(GalleryItem.GalleryItem, {
|
|
79
|
-
item: activeEntry,
|
|
80
|
-
size,
|
|
81
|
-
priority,
|
|
82
|
-
renderImage,
|
|
83
|
-
onTransitionEnd: resetTransitionState,
|
|
84
|
-
isActive: true,
|
|
85
|
-
objectFit
|
|
86
|
-
}) : /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
87
|
-
children: [/* @__PURE__ */jsxRuntime.jsx(Gallery_styles.GalleryTrack, {
|
|
88
|
-
$withTransition: withTransition,
|
|
89
|
-
style: {
|
|
90
|
-
transform: !fade ? `translate3d(-${visibleSlide * 100}%, 0, 0)` : ""
|
|
91
|
-
},
|
|
92
|
-
onTransitionEnd: resetTransitionState,
|
|
93
|
-
children: entriesParsed.map((entry, index) => {
|
|
94
|
-
const isCurrentActive = index === visibleSlide;
|
|
95
|
-
return /* @__PURE__ */jsxRuntime.jsx(GalleryItem.GalleryItem, {
|
|
96
|
-
item: entry,
|
|
97
|
-
size,
|
|
98
|
-
priority: priority && isCurrentActive,
|
|
99
|
-
isActive: isCurrentActive,
|
|
100
|
-
couldBeNext: couldBeNext(index),
|
|
101
|
-
renderImage,
|
|
102
|
-
onTransitionEnd: resetTransitionState,
|
|
103
|
-
fade,
|
|
104
|
-
objectFit
|
|
105
|
-
}, `gallery-item-${entry.id}-${index}`);
|
|
106
|
-
})
|
|
107
|
-
}), thumbnails && /* @__PURE__ */jsxRuntime.jsx(GalleryThumbnails.GalleryThumbnails, {
|
|
108
|
-
items: entriesParsed,
|
|
109
|
-
renderImage,
|
|
110
|
-
expanded: hovered,
|
|
111
|
-
onControl: onChange
|
|
112
|
-
})]
|
|
113
|
-
}), entriesParsed.length > 1 && controls === Gallery_types.GalleryControls.Bottom && /* @__PURE__ */jsxRuntime.jsx(GalleryControls.GalleryBottomControls, {
|
|
114
|
-
onControl: onChange
|
|
115
|
-
}), entriesParsed.length > 1 && controls === Gallery_types.GalleryControls.Inside && /* @__PURE__ */jsxRuntime.jsx(GalleryControls.GalleryInsideControls, {
|
|
116
|
-
onControl: onChange
|
|
117
|
-
})]
|
|
118
|
-
})
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
exports.Gallery = Gallery;
|
|
122
|
-
exports.parseGalleryEntries = parseGalleryEntries;
|
|
123
|
-
//# sourceMappingURL=Gallery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.js","sources":["../../../src/components/Gallery/Gallery.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { useDebounce, useHoverDirty, useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport type { CustomMediaAsset } from \"../CustomImage/CustomImage.types\";\nimport { useGalleryControls } from \"./Gallery.context\";\nimport * as S from \"./Gallery.styles\";\nimport type { GalleryProps } from \"./Gallery.types\";\nimport { GalleryControls } from \"./Gallery.types\";\nimport {\n GalleryBottomControls,\n GalleryInsideControls,\n} from \"./GalleryControls\";\nimport { GalleryItem } from \"./GalleryItem\";\nimport { GalleryThumbnails } from \"./GalleryThumbnails\";\n\nexport const parseGalleryEntries = (\n entries: CustomMediaAsset[],\n fade?: boolean,\n) => {\n // move entry with isVideo key to the front of the array\n const videoEntry = entries.find((entry) => entry.isVideo);\n const entriesWithoutVideo = entries.filter((entry) => !entry.isVideo);\n const newEntries = videoEntry\n ? [videoEntry, ...entriesWithoutVideo]\n : entries;\n\n if (newEntries.length <= 1 || fade) {\n return newEntries;\n }\n\n // Shallow-copy entries\n const slidesWithClones = [...newEntries];\n // Add copy of the last element to the front of the array\n slidesWithClones.unshift(slidesWithClones[slidesWithClones.length - 1]!);\n // Add a copy of the first (now due to the previous step is at index 1) the element to the end of the array\n slidesWithClones.push(slidesWithClones[1]!);\n return slidesWithClones;\n};\n\nexport const Gallery = memo(function Gallery({\n controls,\n entries,\n parsed,\n className,\n size,\n priority,\n renderImage,\n fade,\n thumbnails,\n objectFit,\n onChange,\n}: GalleryProps) {\n const {\n reset,\n setControlsType,\n withTransition,\n visibleSlide,\n resetTransitionState,\n } = useGalleryControls();\n\n const galleryRef = useRef<HTMLDivElement>(null);\n\n // Parse entries\n const entriesParsed = useMemo<CustomMediaAsset[]>(() => {\n return parsed ? entries : parseGalleryEntries(entries, fade);\n }, [entries, fade, parsed]);\n\n // Update provider state if gallery controls change\n useEffect(() => {\n setControlsType(controls);\n }, [controls, setControlsType]);\n\n // Update image count and reset index when images change\n useEffect(() => {\n reset(entriesParsed.length);\n }, [entriesParsed, reset]);\n\n const activeEntry = useMemo(\n () => entriesParsed[visibleSlide],\n [entriesParsed, visibleSlide],\n );\n\n /**\n * Calculates, based on the given slide index and currently visible slide index,\n * if the provided index could be the next one to be shown (both ways - left and right).\n */\n const couldBeNext = useCallback(\n (index: number) => {\n const potentialNextRightSlideIndex =\n visibleSlide + 1 > entriesParsed.length - 1 ? 0 : visibleSlide + 1;\n\n const potentialNextLeftSlideIndex =\n visibleSlide - 1 < 0 ? entriesParsed.length - 1 : visibleSlide - 1;\n\n return !!(\n potentialNextRightSlideIndex === index ||\n potentialNextLeftSlideIndex === index\n );\n },\n [entriesParsed.length, visibleSlide],\n );\n\n // #############################################################################\n // Hover state\n // #############################################################################\n const isTabletUp = useMedia(BREAKPOINTS.TABLET_UP, false);\n const hoveredRaw = useHoverDirty(galleryRef, isTabletUp);\n\n // Debounce hovered to prevent stutter\n const [hovered, setHovered] = useState(false);\n\n useDebounce(\n () => {\n setHovered(hoveredRaw);\n },\n 10,\n [hoveredRaw],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!activeEntry || !entriesParsed.length) {\n return null;\n }\n\n return (\n <S.GalleryWrapper className={className} ref={galleryRef}>\n <S.GalleryImageContainer>\n {/* Using entries instead of parsedEntries to determine actual length */}\n {entriesParsed.length === 1 ? (\n <GalleryItem\n // Note: \"key\" needed to reset fade-in animation\n // key={activeEntry.src}\n item={activeEntry}\n size={size}\n priority={priority}\n renderImage={renderImage}\n onTransitionEnd={resetTransitionState}\n isActive={true}\n objectFit={objectFit}\n />\n ) : (\n <>\n <S.GalleryTrack\n $withTransition={withTransition}\n style={{\n transform: !fade\n ? `translate3d(-${visibleSlide * 100}%, 0, 0)`\n : \"\",\n }}\n onTransitionEnd={resetTransitionState}\n >\n {entriesParsed.map((entry, index) => {\n const isCurrentActive = index === visibleSlide;\n\n return (\n <GalleryItem\n // Note: \"key\" needed to reset fade-in animation\n // key={entry.src}\n key={`gallery-item-${entry.id}-${index}`}\n item={entry}\n size={size}\n // Have to additionally check to only priority the first item of the gallery\n priority={priority && isCurrentActive}\n isActive={isCurrentActive}\n couldBeNext={couldBeNext(index)}\n renderImage={renderImage}\n onTransitionEnd={resetTransitionState}\n fade={fade}\n objectFit={objectFit}\n />\n );\n })}\n </S.GalleryTrack>\n {thumbnails && (\n <GalleryThumbnails\n items={entriesParsed}\n renderImage={renderImage}\n expanded={hovered}\n onControl={onChange}\n />\n )}\n </>\n )}\n {entriesParsed.length > 1 && controls === GalleryControls.Bottom && (\n <GalleryBottomControls onControl={onChange} />\n )}\n {entriesParsed.length > 1 && controls === GalleryControls.Inside && (\n <GalleryInsideControls onControl={onChange} />\n )}\n </S.GalleryImageContainer>\n </S.GalleryWrapper>\n );\n});\n"],"names":["parseGalleryEntries","entries","fade","videoEntry","find","entry","isVideo","entriesWithoutVideo","filter","newEntries","length","slidesWithClones","unshift","push","Gallery","memo","Gallery2","controls","parsed","className","size","priority","renderImage","thumbnails","objectFit","onChange","reset","setControlsType","withTransition","visibleSlide","resetTransitionState","useGalleryControls","galleryRef","useRef","entriesParsed","useMemo","useEffect","activeEntry","couldBeNext","useCallback","index","potentialNextRightSlideIndex","potentialNextLeftSlideIndex","isTabletUp","useMedia","BREAKPOINTS","TABLET_UP","hoveredRaw","useHoverDirty","hovered","setHovered","useState","useDebounce","jsx","S.GalleryWrapper","ref","children","jsxs","S.GalleryImageContainer","GalleryItem","item","onTransitionEnd","isActive","Fragment","S.GalleryTrack","GalleryTrack","$withTransition","style","transform","map","isCurrentActive","id","GalleryThumbnails","items","expanded","onControl","GalleryControls","Bottom","GalleryBottomControls","Inside","GalleryInsideControls"],"mappings":"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"}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { memo, useRef, useMemo, useEffect, useCallback, useState } from 'react';
|
|
3
|
-
import { useMedia, useHoverDirty, useDebounce } from 'react-use';
|
|
4
|
-
import { BREAKPOINTS } from '../../constants/layout.mjs';
|
|
5
|
-
import { useGalleryControls } from './Gallery.context.mjs';
|
|
6
|
-
import { GalleryWrapper, GalleryImageContainer, GalleryTrack } from './Gallery.styles.mjs';
|
|
7
|
-
import { GalleryControls } from './Gallery.types.mjs';
|
|
8
|
-
import './GalleryControls/index.mjs';
|
|
9
|
-
import './GalleryItem/index.mjs';
|
|
10
|
-
import './GalleryThumbnails/index.mjs';
|
|
11
|
-
import { GalleryItem } from './GalleryItem/GalleryItem.mjs';
|
|
12
|
-
import { GalleryThumbnails } from './GalleryThumbnails/GalleryThumbnails.mjs';
|
|
13
|
-
import { GalleryBottomControls, GalleryInsideControls } from './GalleryControls/GalleryControls.mjs';
|
|
14
|
-
"use strict";
|
|
15
|
-
const parseGalleryEntries = (entries, fade) => {
|
|
16
|
-
const videoEntry = entries.find(entry => entry.isVideo);
|
|
17
|
-
const entriesWithoutVideo = entries.filter(entry => !entry.isVideo);
|
|
18
|
-
const newEntries = videoEntry ? [videoEntry, ...entriesWithoutVideo] : entries;
|
|
19
|
-
if (newEntries.length <= 1 || fade) {
|
|
20
|
-
return newEntries;
|
|
21
|
-
}
|
|
22
|
-
const slidesWithClones = [...newEntries];
|
|
23
|
-
slidesWithClones.unshift(slidesWithClones[slidesWithClones.length - 1]);
|
|
24
|
-
slidesWithClones.push(slidesWithClones[1]);
|
|
25
|
-
return slidesWithClones;
|
|
26
|
-
};
|
|
27
|
-
const Gallery = memo(function Gallery2({
|
|
28
|
-
controls,
|
|
29
|
-
entries,
|
|
30
|
-
parsed,
|
|
31
|
-
className,
|
|
32
|
-
size,
|
|
33
|
-
priority,
|
|
34
|
-
renderImage,
|
|
35
|
-
fade,
|
|
36
|
-
thumbnails,
|
|
37
|
-
objectFit,
|
|
38
|
-
onChange
|
|
39
|
-
}) {
|
|
40
|
-
const {
|
|
41
|
-
reset,
|
|
42
|
-
setControlsType,
|
|
43
|
-
withTransition,
|
|
44
|
-
visibleSlide,
|
|
45
|
-
resetTransitionState
|
|
46
|
-
} = useGalleryControls();
|
|
47
|
-
const galleryRef = useRef(null);
|
|
48
|
-
const entriesParsed = useMemo(() => {
|
|
49
|
-
return parsed ? entries : parseGalleryEntries(entries, fade);
|
|
50
|
-
}, [entries, fade, parsed]);
|
|
51
|
-
useEffect(() => {
|
|
52
|
-
setControlsType(controls);
|
|
53
|
-
}, [controls, setControlsType]);
|
|
54
|
-
useEffect(() => {
|
|
55
|
-
reset(entriesParsed.length);
|
|
56
|
-
}, [entriesParsed, reset]);
|
|
57
|
-
const activeEntry = useMemo(() => entriesParsed[visibleSlide], [entriesParsed, visibleSlide]);
|
|
58
|
-
const couldBeNext = useCallback(index => {
|
|
59
|
-
const potentialNextRightSlideIndex = visibleSlide + 1 > entriesParsed.length - 1 ? 0 : visibleSlide + 1;
|
|
60
|
-
const potentialNextLeftSlideIndex = visibleSlide - 1 < 0 ? entriesParsed.length - 1 : visibleSlide - 1;
|
|
61
|
-
return !!(potentialNextRightSlideIndex === index || potentialNextLeftSlideIndex === index);
|
|
62
|
-
}, [entriesParsed.length, visibleSlide]);
|
|
63
|
-
const isTabletUp = useMedia(BREAKPOINTS.TABLET_UP, false);
|
|
64
|
-
const hoveredRaw = useHoverDirty(galleryRef, isTabletUp);
|
|
65
|
-
const [hovered, setHovered] = useState(false);
|
|
66
|
-
useDebounce(() => {
|
|
67
|
-
setHovered(hoveredRaw);
|
|
68
|
-
}, 10, [hoveredRaw]);
|
|
69
|
-
if (!activeEntry || !entriesParsed.length) {
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
return /* @__PURE__ */jsx(GalleryWrapper, {
|
|
73
|
-
className,
|
|
74
|
-
ref: galleryRef,
|
|
75
|
-
children: /* @__PURE__ */jsxs(GalleryImageContainer, {
|
|
76
|
-
children: [entriesParsed.length === 1 ? /* @__PURE__ */jsx(GalleryItem, {
|
|
77
|
-
item: activeEntry,
|
|
78
|
-
size,
|
|
79
|
-
priority,
|
|
80
|
-
renderImage,
|
|
81
|
-
onTransitionEnd: resetTransitionState,
|
|
82
|
-
isActive: true,
|
|
83
|
-
objectFit
|
|
84
|
-
}) : /* @__PURE__ */jsxs(Fragment, {
|
|
85
|
-
children: [/* @__PURE__ */jsx(GalleryTrack, {
|
|
86
|
-
$withTransition: withTransition,
|
|
87
|
-
style: {
|
|
88
|
-
transform: !fade ? `translate3d(-${visibleSlide * 100}%, 0, 0)` : ""
|
|
89
|
-
},
|
|
90
|
-
onTransitionEnd: resetTransitionState,
|
|
91
|
-
children: entriesParsed.map((entry, index) => {
|
|
92
|
-
const isCurrentActive = index === visibleSlide;
|
|
93
|
-
return /* @__PURE__ */jsx(GalleryItem, {
|
|
94
|
-
item: entry,
|
|
95
|
-
size,
|
|
96
|
-
priority: priority && isCurrentActive,
|
|
97
|
-
isActive: isCurrentActive,
|
|
98
|
-
couldBeNext: couldBeNext(index),
|
|
99
|
-
renderImage,
|
|
100
|
-
onTransitionEnd: resetTransitionState,
|
|
101
|
-
fade,
|
|
102
|
-
objectFit
|
|
103
|
-
}, `gallery-item-${entry.id}-${index}`);
|
|
104
|
-
})
|
|
105
|
-
}), thumbnails && /* @__PURE__ */jsx(GalleryThumbnails, {
|
|
106
|
-
items: entriesParsed,
|
|
107
|
-
renderImage,
|
|
108
|
-
expanded: hovered,
|
|
109
|
-
onControl: onChange
|
|
110
|
-
})]
|
|
111
|
-
}), entriesParsed.length > 1 && controls === GalleryControls.Bottom && /* @__PURE__ */jsx(GalleryBottomControls, {
|
|
112
|
-
onControl: onChange
|
|
113
|
-
}), entriesParsed.length > 1 && controls === GalleryControls.Inside && /* @__PURE__ */jsx(GalleryInsideControls, {
|
|
114
|
-
onControl: onChange
|
|
115
|
-
})]
|
|
116
|
-
})
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
export { Gallery, parseGalleryEntries };
|
|
120
|
-
//# sourceMappingURL=Gallery.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.mjs","sources":["../../../src/components/Gallery/Gallery.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { useDebounce, useHoverDirty, useMedia } from \"react-use\";\n\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport type { CustomMediaAsset } from \"../CustomImage/CustomImage.types\";\nimport { useGalleryControls } from \"./Gallery.context\";\nimport * as S from \"./Gallery.styles\";\nimport type { GalleryProps } from \"./Gallery.types\";\nimport { GalleryControls } from \"./Gallery.types\";\nimport {\n GalleryBottomControls,\n GalleryInsideControls,\n} from \"./GalleryControls\";\nimport { GalleryItem } from \"./GalleryItem\";\nimport { GalleryThumbnails } from \"./GalleryThumbnails\";\n\nexport const parseGalleryEntries = (\n entries: CustomMediaAsset[],\n fade?: boolean,\n) => {\n // move entry with isVideo key to the front of the array\n const videoEntry = entries.find((entry) => entry.isVideo);\n const entriesWithoutVideo = entries.filter((entry) => !entry.isVideo);\n const newEntries = videoEntry\n ? [videoEntry, ...entriesWithoutVideo]\n : entries;\n\n if (newEntries.length <= 1 || fade) {\n return newEntries;\n }\n\n // Shallow-copy entries\n const slidesWithClones = [...newEntries];\n // Add copy of the last element to the front of the array\n slidesWithClones.unshift(slidesWithClones[slidesWithClones.length - 1]!);\n // Add a copy of the first (now due to the previous step is at index 1) the element to the end of the array\n slidesWithClones.push(slidesWithClones[1]!);\n return slidesWithClones;\n};\n\nexport const Gallery = memo(function Gallery({\n controls,\n entries,\n parsed,\n className,\n size,\n priority,\n renderImage,\n fade,\n thumbnails,\n objectFit,\n onChange,\n}: GalleryProps) {\n const {\n reset,\n setControlsType,\n withTransition,\n visibleSlide,\n resetTransitionState,\n } = useGalleryControls();\n\n const galleryRef = useRef<HTMLDivElement>(null);\n\n // Parse entries\n const entriesParsed = useMemo<CustomMediaAsset[]>(() => {\n return parsed ? entries : parseGalleryEntries(entries, fade);\n }, [entries, fade, parsed]);\n\n // Update provider state if gallery controls change\n useEffect(() => {\n setControlsType(controls);\n }, [controls, setControlsType]);\n\n // Update image count and reset index when images change\n useEffect(() => {\n reset(entriesParsed.length);\n }, [entriesParsed, reset]);\n\n const activeEntry = useMemo(\n () => entriesParsed[visibleSlide],\n [entriesParsed, visibleSlide],\n );\n\n /**\n * Calculates, based on the given slide index and currently visible slide index,\n * if the provided index could be the next one to be shown (both ways - left and right).\n */\n const couldBeNext = useCallback(\n (index: number) => {\n const potentialNextRightSlideIndex =\n visibleSlide + 1 > entriesParsed.length - 1 ? 0 : visibleSlide + 1;\n\n const potentialNextLeftSlideIndex =\n visibleSlide - 1 < 0 ? entriesParsed.length - 1 : visibleSlide - 1;\n\n return !!(\n potentialNextRightSlideIndex === index ||\n potentialNextLeftSlideIndex === index\n );\n },\n [entriesParsed.length, visibleSlide],\n );\n\n // #############################################################################\n // Hover state\n // #############################################################################\n const isTabletUp = useMedia(BREAKPOINTS.TABLET_UP, false);\n const hoveredRaw = useHoverDirty(galleryRef, isTabletUp);\n\n // Debounce hovered to prevent stutter\n const [hovered, setHovered] = useState(false);\n\n useDebounce(\n () => {\n setHovered(hoveredRaw);\n },\n 10,\n [hoveredRaw],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!activeEntry || !entriesParsed.length) {\n return null;\n }\n\n return (\n <S.GalleryWrapper className={className} ref={galleryRef}>\n <S.GalleryImageContainer>\n {/* Using entries instead of parsedEntries to determine actual length */}\n {entriesParsed.length === 1 ? (\n <GalleryItem\n // Note: \"key\" needed to reset fade-in animation\n // key={activeEntry.src}\n item={activeEntry}\n size={size}\n priority={priority}\n renderImage={renderImage}\n onTransitionEnd={resetTransitionState}\n isActive={true}\n objectFit={objectFit}\n />\n ) : (\n <>\n <S.GalleryTrack\n $withTransition={withTransition}\n style={{\n transform: !fade\n ? `translate3d(-${visibleSlide * 100}%, 0, 0)`\n : \"\",\n }}\n onTransitionEnd={resetTransitionState}\n >\n {entriesParsed.map((entry, index) => {\n const isCurrentActive = index === visibleSlide;\n\n return (\n <GalleryItem\n // Note: \"key\" needed to reset fade-in animation\n // key={entry.src}\n key={`gallery-item-${entry.id}-${index}`}\n item={entry}\n size={size}\n // Have to additionally check to only priority the first item of the gallery\n priority={priority && isCurrentActive}\n isActive={isCurrentActive}\n couldBeNext={couldBeNext(index)}\n renderImage={renderImage}\n onTransitionEnd={resetTransitionState}\n fade={fade}\n objectFit={objectFit}\n />\n );\n })}\n </S.GalleryTrack>\n {thumbnails && (\n <GalleryThumbnails\n items={entriesParsed}\n renderImage={renderImage}\n expanded={hovered}\n onControl={onChange}\n />\n )}\n </>\n )}\n {entriesParsed.length > 1 && controls === GalleryControls.Bottom && (\n <GalleryBottomControls onControl={onChange} />\n )}\n {entriesParsed.length > 1 && controls === GalleryControls.Inside && (\n <GalleryInsideControls onControl={onChange} />\n )}\n </S.GalleryImageContainer>\n </S.GalleryWrapper>\n );\n});\n"],"names":["parseGalleryEntries","entries","fade","videoEntry","find","entry","isVideo","entriesWithoutVideo","filter","newEntries","length","slidesWithClones","unshift","push","Gallery","memo","Gallery2","controls","parsed","className","size","priority","renderImage","thumbnails","objectFit","onChange","reset","setControlsType","withTransition","visibleSlide","resetTransitionState","useGalleryControls","galleryRef","useRef","entriesParsed","useMemo","useEffect","activeEntry","couldBeNext","useCallback","index","potentialNextRightSlideIndex","potentialNextLeftSlideIndex","isTabletUp","useMedia","BREAKPOINTS","TABLET_UP","hoveredRaw","useHoverDirty","hovered","setHovered","useState","useDebounce","jsx","S.GalleryWrapper","ref","children","jsxs","S.GalleryImageContainer","GalleryItem","item","onTransitionEnd","isActive","Fragment","S.GalleryTrack","$withTransition","style","transform","map","isCurrentActive","id","GalleryThumbnails","items","expanded","onControl","GalleryControls","Bottom","GalleryBottomControls","Inside","GalleryInsideControls"],"mappings":"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"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var styled = require('styled-components');
|
|
4
|
-
function _interopDefault(e) {
|
|
5
|
-
return e && e.__esModule ? e : {
|
|
6
|
-
default: e
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
10
|
-
"use strict";
|
|
11
|
-
const GalleryWrapper = styled__default["default"].div`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
column-gap: 50vw;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
height: 100%;
|
|
17
|
-
width: 100%;
|
|
18
|
-
|
|
19
|
-
/* Center the image vertically if the only child in the container */
|
|
20
|
-
&:only-child {
|
|
21
|
-
margin-top: auto;
|
|
22
|
-
margin-bottom: auto;
|
|
23
|
-
}
|
|
24
|
-
`;
|
|
25
|
-
const GalleryImageContainer = styled__default["default"].div`
|
|
26
|
-
position: relative;
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: auto;
|
|
29
|
-
|
|
30
|
-
/* In certain conditions need to gallery to be certain aspect-ratio */
|
|
31
|
-
aspect-ratio: ${props => props.aspectRatio ? `${props.aspectRatio[0]} / ${props.aspectRatio[1]}` : "auto"};
|
|
32
|
-
`;
|
|
33
|
-
const GalleryLabel = styled__default["default"].div`
|
|
34
|
-
text-align: center;
|
|
35
|
-
/* Make it allocate space even tho there isn't anything */
|
|
36
|
-
white-space: pre;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* HACK: Using margin-bottom usual margin-top way of combining things as this makes it in this case a bit easier to
|
|
40
|
-
* conditionally render the labels without requiring css in other places
|
|
41
|
-
*/
|
|
42
|
-
margin-bottom: 24px;
|
|
43
|
-
`;
|
|
44
|
-
const GalleryClickThird = styled__default["default"].div`
|
|
45
|
-
position: absolute;
|
|
46
|
-
top: 0;
|
|
47
|
-
height: 100%;
|
|
48
|
-
width: 33.3%;
|
|
49
|
-
z-index: 2;
|
|
50
|
-
|
|
51
|
-
&:hover {
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
}
|
|
54
|
-
`;
|
|
55
|
-
const GalleryClickThirdLeft = styled__default["default"](GalleryClickThird)`
|
|
56
|
-
left: 0;
|
|
57
|
-
`;
|
|
58
|
-
const GalleryClickThirdRight = styled__default["default"](GalleryClickThird)`
|
|
59
|
-
right: 0;
|
|
60
|
-
`;
|
|
61
|
-
const GalleryTrack = styled__default["default"].div`
|
|
62
|
-
position: absolute;
|
|
63
|
-
inset: 0;
|
|
64
|
-
display: flex;
|
|
65
|
-
will-change: transform;
|
|
66
|
-
transition: ${({
|
|
67
|
-
$withTransition
|
|
68
|
-
}) => $withTransition ? `transform 0.2s` : "none"};
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else
|
|
72
|
-
* worked.
|
|
73
|
-
* @see https://stackoverflow.com/a/15918159/1378261
|
|
74
|
-
*/
|
|
75
|
-
-webkit-backface-visibility: hidden;
|
|
76
|
-
* {
|
|
77
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
78
|
-
}
|
|
79
|
-
`;
|
|
80
|
-
exports.GalleryClickThirdLeft = GalleryClickThirdLeft;
|
|
81
|
-
exports.GalleryClickThirdRight = GalleryClickThirdRight;
|
|
82
|
-
exports.GalleryImageContainer = GalleryImageContainer;
|
|
83
|
-
exports.GalleryLabel = GalleryLabel;
|
|
84
|
-
exports.GalleryTrack = GalleryTrack;
|
|
85
|
-
exports.GalleryWrapper = GalleryWrapper;
|
|
86
|
-
//# sourceMappingURL=Gallery.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.styles.js","sources":["../../../src/components/Gallery/Gallery.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport type { GalleryProps } from \"./Gallery.types\";\n\n/**\n * For gallery with outside (side) controls add flex container with spacing\n */\nexport const GalleryWrapper = styled.div`\n display: flex;\n flex-direction: row;\n column-gap: 50vw;\n overflow: hidden;\n height: 100%;\n width: 100%;\n\n /* Center the image vertically if the only child in the container */\n &:only-child {\n margin-top: auto;\n margin-bottom: auto;\n }\n`;\n\nexport const GalleryImageContainer = styled.div<\n Pick<GalleryProps, \"aspectRatio\">\n>`\n position: relative;\n width: 100%;\n height: auto;\n\n /* In certain conditions need to gallery to be certain aspect-ratio */\n aspect-ratio: ${(props) =>\n props.aspectRatio\n ? `${props.aspectRatio[0]} / ${props.aspectRatio[1]}`\n : \"auto\"};\n`;\n\nexport const GalleryLabel = styled.div`\n text-align: center;\n /* Make it allocate space even tho there isn't anything */\n white-space: pre;\n\n /**\n * HACK: Using margin-bottom usual margin-top way of combining things as this makes it in this case a bit easier to\n * conditionally render the labels without requiring css in other places\n */\n margin-bottom: 24px;\n`;\n\nconst GalleryClickThird = styled.div`\n position: absolute;\n top: 0;\n height: 100%;\n width: 33.3%;\n z-index: 2;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryClickThirdLeft = styled(GalleryClickThird)`\n left: 0;\n`;\n\nexport const GalleryClickThirdRight = styled(GalleryClickThird)`\n right: 0;\n`;\n\nexport const GalleryTrack = styled.div<{ $withTransition: boolean }>`\n position: absolute;\n inset: 0;\n display: flex;\n will-change: transform;\n transition: ${({ $withTransition }) =>\n $withTransition ? `transform 0.2s` : \"none\"};\n\n /**\n * Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else\n * worked.\n * @see https://stackoverflow.com/a/15918159/1378261\n */\n -webkit-backface-visibility: hidden;\n * {\n -webkit-transform: translate3d(0, 0, 0);\n }\n`;\n"],"names":["GalleryWrapper","styled","div","GalleryImageContainer","props","aspectRatio","GalleryLabel","GalleryClickThird","GalleryClickThirdLeft","GalleryClickThirdRight","GalleryTrack","$withTransition"],"mappings":";;;;;;;;;;AAOO,MAAMA,iBAAiBC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAe9B,MAAMC,wBAAwBF,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA,kBAQzBE,KAAA,IACfA,KAAM,CAAAC,WAAA,GACF,GAAGD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,MAAMD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,KACjD,MAAM;AAAA,CAAA;AAGP,MAAMC,eAAeL,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAYnC,MAAMK,oBAAoBN,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;AAYpB,MAAAM,qBAAA,GAAwBP,2BAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIhD,MAAAE,sBAAA,GAAyBR,2BAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIvD,MAAMG,eAAeT,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKnB,CAAC;EAAES;AACf,CAAA,KAAAA,eAAA,GAAkB,mBAAmB,MAAM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;;;;;;"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
"use strict";
|
|
3
|
-
const GalleryWrapper = styled.div`
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
column-gap: 50vw;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
height: 100%;
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
/* Center the image vertically if the only child in the container */
|
|
12
|
-
&:only-child {
|
|
13
|
-
margin-top: auto;
|
|
14
|
-
margin-bottom: auto;
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
const GalleryImageContainer = styled.div`
|
|
18
|
-
position: relative;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: auto;
|
|
21
|
-
|
|
22
|
-
/* In certain conditions need to gallery to be certain aspect-ratio */
|
|
23
|
-
aspect-ratio: ${props => props.aspectRatio ? `${props.aspectRatio[0]} / ${props.aspectRatio[1]}` : "auto"};
|
|
24
|
-
`;
|
|
25
|
-
const GalleryLabel = styled.div`
|
|
26
|
-
text-align: center;
|
|
27
|
-
/* Make it allocate space even tho there isn't anything */
|
|
28
|
-
white-space: pre;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* HACK: Using margin-bottom usual margin-top way of combining things as this makes it in this case a bit easier to
|
|
32
|
-
* conditionally render the labels without requiring css in other places
|
|
33
|
-
*/
|
|
34
|
-
margin-bottom: 24px;
|
|
35
|
-
`;
|
|
36
|
-
const GalleryClickThird = styled.div`
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 0;
|
|
39
|
-
height: 100%;
|
|
40
|
-
width: 33.3%;
|
|
41
|
-
z-index: 2;
|
|
42
|
-
|
|
43
|
-
&:hover {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
`;
|
|
47
|
-
const GalleryClickThirdLeft = styled(GalleryClickThird)`
|
|
48
|
-
left: 0;
|
|
49
|
-
`;
|
|
50
|
-
const GalleryClickThirdRight = styled(GalleryClickThird)`
|
|
51
|
-
right: 0;
|
|
52
|
-
`;
|
|
53
|
-
const GalleryTrack = styled.div`
|
|
54
|
-
position: absolute;
|
|
55
|
-
inset: 0;
|
|
56
|
-
display: flex;
|
|
57
|
-
will-change: transform;
|
|
58
|
-
transition: ${({
|
|
59
|
-
$withTransition
|
|
60
|
-
}) => $withTransition ? `transform 0.2s` : "none"};
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else
|
|
64
|
-
* worked.
|
|
65
|
-
* @see https://stackoverflow.com/a/15918159/1378261
|
|
66
|
-
*/
|
|
67
|
-
-webkit-backface-visibility: hidden;
|
|
68
|
-
* {
|
|
69
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
70
|
-
}
|
|
71
|
-
`;
|
|
72
|
-
export { GalleryClickThirdLeft, GalleryClickThirdRight, GalleryImageContainer, GalleryLabel, GalleryTrack, GalleryWrapper };
|
|
73
|
-
//# sourceMappingURL=Gallery.styles.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.styles.mjs","sources":["../../../src/components/Gallery/Gallery.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport type { GalleryProps } from \"./Gallery.types\";\n\n/**\n * For gallery with outside (side) controls add flex container with spacing\n */\nexport const GalleryWrapper = styled.div`\n display: flex;\n flex-direction: row;\n column-gap: 50vw;\n overflow: hidden;\n height: 100%;\n width: 100%;\n\n /* Center the image vertically if the only child in the container */\n &:only-child {\n margin-top: auto;\n margin-bottom: auto;\n }\n`;\n\nexport const GalleryImageContainer = styled.div<\n Pick<GalleryProps, \"aspectRatio\">\n>`\n position: relative;\n width: 100%;\n height: auto;\n\n /* In certain conditions need to gallery to be certain aspect-ratio */\n aspect-ratio: ${(props) =>\n props.aspectRatio\n ? `${props.aspectRatio[0]} / ${props.aspectRatio[1]}`\n : \"auto\"};\n`;\n\nexport const GalleryLabel = styled.div`\n text-align: center;\n /* Make it allocate space even tho there isn't anything */\n white-space: pre;\n\n /**\n * HACK: Using margin-bottom usual margin-top way of combining things as this makes it in this case a bit easier to\n * conditionally render the labels without requiring css in other places\n */\n margin-bottom: 24px;\n`;\n\nconst GalleryClickThird = styled.div`\n position: absolute;\n top: 0;\n height: 100%;\n width: 33.3%;\n z-index: 2;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const GalleryClickThirdLeft = styled(GalleryClickThird)`\n left: 0;\n`;\n\nexport const GalleryClickThirdRight = styled(GalleryClickThird)`\n right: 0;\n`;\n\nexport const GalleryTrack = styled.div<{ $withTransition: boolean }>`\n position: absolute;\n inset: 0;\n display: flex;\n will-change: transform;\n transition: ${({ $withTransition }) =>\n $withTransition ? `transform 0.2s` : \"none\"};\n\n /**\n * Hack: to make sure the gallery track doesn't flicker on changing slides just for good old Safari. Nothing else\n * worked.\n * @see https://stackoverflow.com/a/15918159/1378261\n */\n -webkit-backface-visibility: hidden;\n * {\n -webkit-transform: translate3d(0, 0, 0);\n }\n`;\n"],"names":["GalleryWrapper","styled","div","GalleryImageContainer","props","aspectRatio","GalleryLabel","GalleryClickThird","GalleryClickThirdLeft","GalleryClickThirdRight","GalleryTrack","$withTransition"],"mappings":";;AAOO,MAAMA,iBAAiBC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAe9B,MAAMC,wBAAwBF,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA,kBAQzBE,KAAA,IACfA,KAAM,CAAAC,WAAA,GACF,GAAGD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,MAAMD,KAAM,CAAAC,WAAA,CAAY,CAAC,CAAC,KACjD,MAAM;AAAA,CAAA;AAGP,MAAMC,eAAeL,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAYnC,MAAMK,oBAAoBN,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,CAAA;AAYpB,MAAAM,qBAAA,GAAwBP,OAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIhD,MAAAE,sBAAA,GAAyBR,OAAOM,iBAAiB,CAAA;AAAA;AAAA,CAAA;AAIvD,MAAMG,eAAeT,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKnB,CAAC;EAAES;AACf,CAAA,KAAAA,eAAA,GAAkB,mBAAmB,MAAM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var GalleryControls = /* @__PURE__ */(GalleryControls2 => {
|
|
5
|
-
GalleryControls2["Inside"] = "inside";
|
|
6
|
-
GalleryControls2["Bottom"] = "bottom";
|
|
7
|
-
GalleryControls2["None"] = "none";
|
|
8
|
-
return GalleryControls2;
|
|
9
|
-
})(GalleryControls || {});
|
|
10
|
-
exports.GalleryControls = GalleryControls;
|
|
11
|
-
//# sourceMappingURL=Gallery.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.types.js","sources":["../../../src/components/Gallery/Gallery.types.ts"],"sourcesContent":["import type {\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\n\nexport enum GalleryControls {\n Inside = \"inside\",\n Bottom = \"bottom\",\n None = \"none\",\n}\nexport interface GalleryProps {\n controls: GalleryControls;\n entries: CustomMediaAsset[];\n /**\n * Used to skip re-parsing items\n * Entries given are expected to be pre-parsed\n */\n parsed?: boolean;\n className?: string;\n /**\n * Hint on the size of the gallery, as per design usually the gallery is approximately half or the full width of the page\n */\n size: \"half\" | \"full\";\n /**\n * Hint for next/image to prioritize loading of the images\n */\n priority?: boolean;\n /**\n * Change the behavior of the gallery by forcing a specific aspect ratio on it, if provided the gallery items will\n * try to maintain the aspect ratio of the provided value and will be cropped if necessary to meet the object-fit:\n * cover requirement\n */\n aspectRatio?: [number, number];\n renderImage: (props: RenderImageProps) => React.ReactNode;\n /**\n * Boolean to change from slide effect to fade effect\n */\n fade?: boolean;\n /**\n * Boolean to show thumbnails\n */\n thumbnails?: boolean;\n /**\n * Object-fit property for the images\n */\n objectFit?: \"cover\" | \"contain\";\n /**\n * Called when gallery image changes\n */\n onChange?: () => void;\n}\n\nexport type GalleryControlsProps = {\n label?: string;\n side: \"left\" | \"right\";\n /** Make the control button rounded with background */\n rounded?: boolean;\n onClick?: () => void;\n};\n\nexport type GalleryItemProps = {\n item: CustomMediaAsset;\n size: GalleryProps[\"size\"];\n priority: GalleryProps[\"priority\"];\n renderImage: (props: RenderImageProps) => React.ReactNode;\n onTransitionEnd: () => void;\n isActive: boolean;\n /**\n * Hints that we need to get the picture loaded.\n * When false, we set the gallery item to be display: none so that browser does not load the image.\n */\n couldBeNext?: boolean;\n fade?: boolean;\n objectFit?: GalleryProps[\"objectFit\"];\n};\n"],"names":["GalleryControls"],"mappings":";;;AAKY,IAAAA,eAAA,GAAA,gBAAAA,gBAAL,IAAA;EACLA,iBAAA,QAAS,CAAA,GAAA,QAAA;EACTA,iBAAA,QAAS,CAAA,GAAA,QAAA;EACTA,iBAAA,MAAO,CAAA,GAAA,MAAA;EAHGA,OAAAA,gBAAAA;AAAA,CAAA,EAAAA,eAAA,IAAA,CAAA,CAAA,CAAA;"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var GalleryControls = /* @__PURE__ */(GalleryControls2 => {
|
|
4
|
-
GalleryControls2["Inside"] = "inside";
|
|
5
|
-
GalleryControls2["Bottom"] = "bottom";
|
|
6
|
-
GalleryControls2["None"] = "none";
|
|
7
|
-
return GalleryControls2;
|
|
8
|
-
})(GalleryControls || {});
|
|
9
|
-
export { GalleryControls };
|
|
10
|
-
//# sourceMappingURL=Gallery.types.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.types.mjs","sources":["../../../src/components/Gallery/Gallery.types.ts"],"sourcesContent":["import type {\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\n\nexport enum GalleryControls {\n Inside = \"inside\",\n Bottom = \"bottom\",\n None = \"none\",\n}\nexport interface GalleryProps {\n controls: GalleryControls;\n entries: CustomMediaAsset[];\n /**\n * Used to skip re-parsing items\n * Entries given are expected to be pre-parsed\n */\n parsed?: boolean;\n className?: string;\n /**\n * Hint on the size of the gallery, as per design usually the gallery is approximately half or the full width of the page\n */\n size: \"half\" | \"full\";\n /**\n * Hint for next/image to prioritize loading of the images\n */\n priority?: boolean;\n /**\n * Change the behavior of the gallery by forcing a specific aspect ratio on it, if provided the gallery items will\n * try to maintain the aspect ratio of the provided value and will be cropped if necessary to meet the object-fit:\n * cover requirement\n */\n aspectRatio?: [number, number];\n renderImage: (props: RenderImageProps) => React.ReactNode;\n /**\n * Boolean to change from slide effect to fade effect\n */\n fade?: boolean;\n /**\n * Boolean to show thumbnails\n */\n thumbnails?: boolean;\n /**\n * Object-fit property for the images\n */\n objectFit?: \"cover\" | \"contain\";\n /**\n * Called when gallery image changes\n */\n onChange?: () => void;\n}\n\nexport type GalleryControlsProps = {\n label?: string;\n side: \"left\" | \"right\";\n /** Make the control button rounded with background */\n rounded?: boolean;\n onClick?: () => void;\n};\n\nexport type GalleryItemProps = {\n item: CustomMediaAsset;\n size: GalleryProps[\"size\"];\n priority: GalleryProps[\"priority\"];\n renderImage: (props: RenderImageProps) => React.ReactNode;\n onTransitionEnd: () => void;\n isActive: boolean;\n /**\n * Hints that we need to get the picture loaded.\n * When false, we set the gallery item to be display: none so that browser does not load the image.\n */\n couldBeNext?: boolean;\n fade?: boolean;\n objectFit?: GalleryProps[\"objectFit\"];\n};\n"],"names":["GalleryControls"],"mappings":";;AAKY,IAAAA,eAAA,GAAA,gBAAAA,gBAAL,IAAA;EACLA,iBAAA,QAAS,CAAA,GAAA,QAAA;EACTA,iBAAA,QAAS,CAAA,GAAA,QAAA;EACTA,iBAAA,MAAO,CAAA,GAAA,MAAA;EAHGA,OAAAA,gBAAAA;AAAA,CAAA,EAAAA,eAAA,IAAA,CAAA,CAAA,CAAA;"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
require('../../../assets/icons/arrowRightMicro.svg.js');
|
|
6
|
-
var Gallery_context = require('../Gallery.context.js');
|
|
7
|
-
var GalleryControls_styles = require('./GalleryControls.styles.js');
|
|
8
|
-
var arrowRightMicroSvg = require("../../../assets/arrowRightMicro.svg");
|
|
9
|
-
function _interopDefault(e) {
|
|
10
|
-
return e && e.__esModule ? e : {
|
|
11
|
-
default: e
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
var arrowRightMicroSvg__default = /*#__PURE__*/_interopDefault(arrowRightMicroSvg);
|
|
15
|
-
"use strict";
|
|
16
|
-
const GalleryControl = React.memo(function GalleryRightControl({
|
|
17
|
-
label,
|
|
18
|
-
side,
|
|
19
|
-
rounded,
|
|
20
|
-
onClick
|
|
21
|
-
}) {
|
|
22
|
-
const {
|
|
23
|
-
setNext,
|
|
24
|
-
setPrevious
|
|
25
|
-
} = Gallery_context.useGalleryControls();
|
|
26
|
-
const handleClick = React.useCallback(() => {
|
|
27
|
-
onClick?.();
|
|
28
|
-
switch (side) {
|
|
29
|
-
case "left":
|
|
30
|
-
setPrevious();
|
|
31
|
-
break;
|
|
32
|
-
case "right":
|
|
33
|
-
setNext();
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
}, [onClick, side, setPrevious, setNext]);
|
|
37
|
-
return /* @__PURE__ */jsxRuntime.jsxs(GalleryControls_styles.GalleryArrow, {
|
|
38
|
-
$rounded: rounded,
|
|
39
|
-
onClick: handleClick,
|
|
40
|
-
"aria-label": side === "left" ? "Previous" : "Next",
|
|
41
|
-
children: [/* @__PURE__ */jsxRuntime.jsx(GalleryControls_styles.GalleryArrowIcon, {
|
|
42
|
-
src: arrowRightMicroSvg__default["default"],
|
|
43
|
-
height: 24,
|
|
44
|
-
width: 24,
|
|
45
|
-
$side: side,
|
|
46
|
-
$rounded: rounded
|
|
47
|
-
}), label && /* @__PURE__ */jsxRuntime.jsx(GalleryControls_styles.GalleryControlLabel, {
|
|
48
|
-
children: label
|
|
49
|
-
})]
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
const GalleryOutsideControlsInfo = () => {
|
|
53
|
-
const {
|
|
54
|
-
currentImageLabel
|
|
55
|
-
} = Gallery_context.useGalleryControls();
|
|
56
|
-
return /* @__PURE__ */jsxRuntime.jsx(GalleryControls_styles.GalleryControlsInfo, {
|
|
57
|
-
children: currentImageLabel
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
const GalleryBottomControls = React.memo(function GalleryBottomControls2({
|
|
61
|
-
className,
|
|
62
|
-
size,
|
|
63
|
-
onControl
|
|
64
|
-
}) {
|
|
65
|
-
const {
|
|
66
|
-
currentImageLabel
|
|
67
|
-
} = Gallery_context.useGalleryControls();
|
|
68
|
-
return /* @__PURE__ */jsxRuntime.jsxs(GalleryControls_styles.GalleryBottomControlsContainer, {
|
|
69
|
-
className,
|
|
70
|
-
size,
|
|
71
|
-
children: [/* @__PURE__ */jsxRuntime.jsx(GalleryControl, {
|
|
72
|
-
onClick: onControl,
|
|
73
|
-
side: "left"
|
|
74
|
-
}), /* @__PURE__ */jsxRuntime.jsx(GalleryControls_styles.GalleryControlsInfo, {
|
|
75
|
-
children: currentImageLabel
|
|
76
|
-
}), /* @__PURE__ */jsxRuntime.jsx(GalleryControl, {
|
|
77
|
-
onClick: onControl,
|
|
78
|
-
side: "right"
|
|
79
|
-
})]
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
const GalleryInsideControls = ({
|
|
83
|
-
onControl
|
|
84
|
-
}) => {
|
|
85
|
-
return /* @__PURE__ */jsxRuntime.jsxs(GalleryControls_styles.GalleryInsideControls, {
|
|
86
|
-
children: [/* @__PURE__ */jsxRuntime.jsx(GalleryControl, {
|
|
87
|
-
onClick: onControl,
|
|
88
|
-
side: "left",
|
|
89
|
-
rounded: true
|
|
90
|
-
}), /* @__PURE__ */jsxRuntime.jsx(GalleryControl, {
|
|
91
|
-
onClick: onControl,
|
|
92
|
-
side: "right",
|
|
93
|
-
rounded: true
|
|
94
|
-
})]
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
exports.GalleryBottomControls = GalleryBottomControls;
|
|
98
|
-
exports.GalleryControl = GalleryControl;
|
|
99
|
-
exports.GalleryInsideControls = GalleryInsideControls;
|
|
100
|
-
exports.GalleryOutsideControlsInfo = GalleryOutsideControlsInfo;
|
|
101
|
-
//# sourceMappingURL=GalleryControls.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryControls.js","sources":["../../../../src/components/Gallery/GalleryControls/GalleryControls.tsx"],"sourcesContent":["import { memo, useCallback } from \"react\";\n\nimport arrowRightMicroSvg from \"../../../assets/icons/arrowRightMicro.svg\";\nimport { useGalleryControls } from \"../Gallery.context\";\nimport type { GalleryControlsProps } from \"../Gallery.types\";\nimport * as S from \"./GalleryControls.styles\";\nimport type {\n GalleryBottomControlsProps,\n GalleryInsideControlsProps,\n} from \"./GalleryControls.types\";\n\nexport const GalleryControl = memo(function GalleryRightControl({\n label,\n side,\n rounded,\n onClick,\n}: GalleryControlsProps) {\n const { setNext, setPrevious } = useGalleryControls();\n\n const handleClick = useCallback(() => {\n onClick?.();\n\n switch (side) {\n case \"left\":\n setPrevious();\n break;\n case \"right\":\n setNext();\n break;\n }\n }, [onClick, side, setPrevious, setNext]);\n\n return (\n <S.GalleryArrow\n $rounded={rounded}\n onClick={handleClick}\n aria-label={side === \"left\" ? \"Previous\" : \"Next\"}\n >\n <S.GalleryArrowIcon\n src={arrowRightMicroSvg}\n height={24}\n width={24}\n $side={side}\n $rounded={rounded}\n />\n {label && <S.GalleryControlLabel>{label}</S.GalleryControlLabel>}\n </S.GalleryArrow>\n );\n});\n\nexport const GalleryOutsideControlsInfo = () => {\n const { currentImageLabel } = useGalleryControls();\n return <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>;\n};\n\nexport const GalleryBottomControls = memo(function GalleryBottomControls({\n className,\n size,\n onControl,\n}: GalleryBottomControlsProps) {\n const { currentImageLabel } = useGalleryControls();\n return (\n <S.GalleryBottomControlsContainer className={className} size={size}>\n <GalleryControl onClick={onControl} side=\"left\" />\n <S.GalleryControlsInfo>{currentImageLabel}</S.GalleryControlsInfo>\n <GalleryControl onClick={onControl} side=\"right\" />\n </S.GalleryBottomControlsContainer>\n );\n});\n\nexport const GalleryInsideControls = ({\n onControl,\n}: GalleryInsideControlsProps) => {\n return (\n <S.GalleryInsideControls>\n <GalleryControl onClick={onControl} side=\"left\" rounded />\n <GalleryControl onClick={onControl} side=\"right\" rounded />\n </S.GalleryInsideControls>\n );\n};\n"],"names":["GalleryControl","memo","GalleryRightControl","label","side","rounded","onClick","setNext","setPrevious","useGalleryControls","handleClick","useCallback","jsxs","S.GalleryArrow","GalleryArrow","$rounded","children","jsx","S.GalleryArrowIcon","GalleryArrowIcon","src","arrowRightMicroSvg","height","width","$side","S.GalleryControlLabel","GalleryOutsideControlsInfo","currentImageLabel","S.GalleryControlsInfo","GalleryControlsInfo","GalleryBottomControls","GalleryBottomControls2","className","size","onControl","S.GalleryBottomControlsContainer","GalleryBottomControlsContainer","GalleryInsideControls","S.GalleryInsideControls"],"mappings":";;;;;;;;;;;;;;;AAWa,MAAAA,cAAA,GAAiBC,KAAAA,CAAAA,IAAK,CAAA,SAASC,mBAAoBA,CAAA;EAC9DC,KAAA;EACAC,IAAA;EACAC,OAAA;EACAC;AACF,CAAyB,EAAA;EACvB,MAAM;IAAEC,OAAA;IAASC;EAAY,CAAA,GAAIC,kCAAmB,CAAA,CAAA;EAE9C,MAAAC,WAAA,GAAcC,KAAAA,CAAAA,YAAY,MAAM;IAC1BL,OAAA,GAAA,CAAA;IAEV,QAAQF,IAAM;MACZ,KAAK,MAAA;QACSI,WAAA,CAAA,CAAA;QACZ;MACF,KAAK,OAAA;QACKD,OAAA,CAAA,CAAA;QACR;IAAA;KAEH,CAACD,OAAA,EAASF,IAAM,EAAAI,WAAA,EAAaD,OAAO,CAAC,CAAA;EAGtC,sBAAAK,UAAA,CAAAA,IAAA,CAACC,sBAAE,CAAAC,YAAA,EAAF;IACCC,QAAU,EAAAV,OAAA;IACVC,OAAS,EAAAI,WAAA;IACT,YAAA,EAAYN,IAAS,KAAA,MAAA,GAAS,UAAa,GAAA,MAAA;IAE3CY,QAAA,EAAA,CAAA,eAAAC,UAAA,CAAAA,GAAA,CAACC,sBAAE,CAAAC,gBAAA,EAAF;MACCC,GAAK,EAAAC,2BAAA,CAAA,SAAA,CAAA;MACLC,MAAQ,EAAA,EAAA;MACRC,KAAO,EAAA,EAAA;MACPC,KAAO,EAAApB,IAAA;MACPW,QAAU,EAAAV;IAAA,CACZ,CAAA,EACCF,KAAS,IAAAc,eAAAA,UAAAA,CAAAA,GAAA,CAACQ,sBAAAA,CAAAA,mBAAE,EAAF;MAAuBT,QAAM,EAAAb;IAAA,CAAA,CAAA;EAAA,CAC1C,CAAA;AAEJ,CAAC,CAAA;AAEM,MAAMuB,6BAA6BA,CAAA,KAAM;EACxC,MAAA;IAAEC;EAAkB,CAAA,GAAIlB,kCAAmB,CAAA,CAAA;EACjD,OAAA,eAAQQ,UAAA,CAAAA,GAAA,CAAAW,sBAAA,CAAAC,mBAAA,EAAA;IAAuBb,QAAkB,EAAAW;EAAA,CAAA,CAAA;AACnD,CAAA;AAEa,MAAAG,qBAAA,GAAwB7B,KAAAA,CAAAA,IAAK,CAAA,SAAS6B,sBAAsBC,CAAA;EACvEC,SAAA;EACAC,IAAA;EACAC;AACF,CAA+B,EAAA;EACvB,MAAA;IAAEP;EAAkB,CAAA,GAAIlB,kCAAmB,CAAA,CAAA;EACjD,OAAA,eACGG,UAAA,CAAAA,IAAA,CAAAuB,sBAAA,CAAAC,8BAAA,EAAA;IAAiCJ;IAAsBC,IACtD;IAAAjB,QAAA,EAAA,CAAA,eAAAC,UAAA,CAAAA,GAAA,CAACjB,cAAe,EAAA;MAAAM,OAAA,EAAS4B,SAAW;MAAA9B,IAAA,EAAK;KAAO,CAAA,EAC/Ca,eAAAA,UAAAA,CAAAA,GAAA,CAAAW,sBAAA,CAAAC,mBAAA,EAAA;MAAuBb,QAAkB,EAAAW;IAAA,CAAA,CAAA,EAAA,eACzCV,UAAA,CAAAA,GAAA,CAAAjB,cAAA,EAAA;MAAeM,OAAS,EAAA4B,SAAA;MAAW9B,MAAK;IAAQ,CAAA,CAAA;GACnD,CAAA;AAEJ,CAAC,CAAA;AAEM,MAAMiC,wBAAwBA,CAAC;EACpCH;AACF,CAAkC,KAAA;EAE9B,sBAAAtB,UAAA,CAAAA,IAAA,CAAC0B,4CAAE,EAAF;IACCtB,QAAA,EAAA,CAAA,eAAAC,cAAA,CAACjB;MAAeM,OAAS,EAAA4B,SAAA;MAAW9B,IAAK,EAAA,MAAA;MAAOC,SAAO;KAAC,CAAA,EAAA,8BACvDL,cAAe,EAAA;MAAAM,OAAA,EAAS4B;MAAW9B,IAAK,EAAA,OAAA;MAAQC,SAAO;IAAC,CAAA,CAAA;GAC3D,CAAA;AAEJ,CAAA;;;;"}
|