@trafilea/afrodita-components 3.0.5-beta.0 → 4.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +12 -0
- package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +1 -0
- package/build/dts/components/accordion/Accordion.d.ts +13 -0
- package/build/dts/components/accordion/Accordion.stories.d.ts +9 -0
- package/build/dts/components/accordion/Accordion.test.d.ts +1 -0
- package/build/dts/components/accordion/styles.d.ts +16 -0
- package/build/dts/components/bundle/index.d.ts +5 -0
- package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +15 -0
- package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +9 -0
- package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +1 -0
- package/build/dts/components/bundle/simple/Simple.d.ts +10 -0
- package/build/dts/components/bundle/simple/Simple.stories.d.ts +9 -0
- package/build/dts/components/bundle/simple/Simple.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +5 -0
- package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Description/Description.d.ts +5 -0
- package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Description/Description.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/Promo/Promo.d.ts +5 -0
- package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +5 -0
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/Title/Title.d.ts +5 -0
- package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Title/Title.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/index.d.ts +8 -0
- package/build/dts/components/checkbox/Checkbox.d.ts +21 -0
- package/build/dts/components/checkbox/Checkbox.stories.d.ts +24 -0
- package/build/dts/components/checkbox/Checkbox.test.d.ts +1 -0
- package/build/dts/components/checkbox/styles.d.ts +9 -0
- package/build/dts/components/collection/grid/WithProductGrid.d.ts +11 -0
- package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +9 -0
- package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +1 -0
- package/build/dts/components/collection/index.d.ts +5 -0
- package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +7 -0
- package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +24 -0
- package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +1 -0
- package/build/dts/components/collection/product/types.d.ts +14 -0
- package/build/dts/components/color/ColorRadioGroup.d.ts +24 -0
- package/build/dts/components/color/MultiColorPicker.d.ts +10 -0
- package/build/dts/components/color/MultiColorPicker.stories.d.ts +9 -0
- package/build/dts/components/color/MultiColorPicker.test.d.ts +1 -0
- package/build/dts/components/color/SingleColorPicker.d.ts +10 -0
- package/build/dts/components/color/SingleColorPicker.stories.d.ts +9 -0
- package/build/dts/components/color/SingleColorPicker.test.d.ts +1 -0
- package/build/dts/components/color/selector/ColorSelector.d.ts +15 -0
- package/build/dts/components/color/selector/ColorSelector.stories.d.ts +14 -0
- package/build/dts/components/color/selector/ColorSelector.test.d.ts +1 -0
- package/build/dts/components/color/selector/OneColorSelector.d.ts +8 -0
- package/build/dts/components/color/selector/OutOfStock.d.ts +6 -0
- package/build/dts/components/color/selector/PatternSelector.d.ts +8 -0
- package/build/dts/components/color/selector/PatternSelector.test.d.ts +1 -0
- package/build/dts/components/color/selector/ThreeColorSelector.d.ts +10 -0
- package/build/dts/components/color/selector/TwoColorSelector.d.ts +9 -0
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +13 -0
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +9 -0
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +1 -0
- package/build/dts/components/cross-sell/index.d.ts +1 -0
- package/build/dts/components/cta/BaseCTA.d.ts +13 -0
- package/build/dts/components/cta/BaseCTA.test.d.ts +1 -0
- package/build/dts/components/cta/index.d.ts +3 -0
- package/build/dts/components/cta/primary/ButtonPrimary.d.ts +3 -0
- package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +37 -0
- package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +1 -0
- package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +3 -0
- package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +37 -0
- package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +1 -0
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +3 -0
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +37 -0
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +1 -0
- package/build/dts/components/delivery-details/DeliveryDetails.d.ts +26 -0
- package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +9 -0
- package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +1 -0
- package/build/dts/components/delivery-details/Note/Note.d.ts +9 -0
- package/build/dts/components/delivery-details/Note/Note.stories.d.ts +9 -0
- package/build/dts/components/delivery-details/Note/Note.test.d.ts +1 -0
- package/build/dts/components/drawer/Drawer.d.ts +13 -0
- package/build/dts/components/drawer/Drawer.stories.d.ts +14 -0
- package/build/dts/components/drawer/Drawer.test.d.ts +1 -0
- package/build/dts/components/dropdown/base/BaseDropdown.d.ts +17 -0
- package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +12 -0
- package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +11 -0
- package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +6 -0
- package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +1 -0
- package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +13 -0
- package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +12 -0
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +20 -0
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +13 -0
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +1 -0
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +6 -0
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +9 -0
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +1 -0
- package/build/dts/components/dropdown-list-icons/Styled.d.ts +34 -0
- package/build/dts/components/filtering/Accordion.d.ts +8 -0
- package/build/dts/components/filtering/Filters.d.ts +15 -0
- package/build/dts/components/filtering/Filters.stories.d.ts +9 -0
- package/build/dts/components/filtering/Filters.test.d.ts +1 -0
- package/build/dts/components/filtering/FiltersStyled.d.ts +43 -0
- package/build/dts/components/filtering/Tags/Tags.d.ts +24 -0
- package/build/dts/components/filtering/Tags/Tags.stories.d.ts +9 -0
- package/build/dts/components/filtering/Tags/Tags.test.d.ts +1 -0
- package/build/dts/components/fit/FitPredictor.d.ts +5 -0
- package/build/dts/components/fit/FitPredictor.stories.d.ts +7 -0
- package/build/dts/components/fit/FitPredictor.test.d.ts +1 -0
- package/build/dts/components/gallery/ImagePreviewList.d.ts +9 -0
- package/build/dts/components/gallery/ImagePreviewList.test.d.ts +1 -0
- package/build/dts/components/gallery/ImageProductWithTags.d.ts +10 -0
- package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +1 -0
- package/build/dts/components/gallery/ImageSmallPreview.d.ts +9 -0
- package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +1 -0
- package/build/dts/components/gallery/ProductGallery.d.ts +12 -0
- package/build/dts/components/gallery/ProductGallery.stories.d.ts +9 -0
- package/build/dts/components/gallery/ProductGallery.test.d.ts +1 -0
- package/build/dts/components/icon-button/IconButton.d.ts +16 -0
- package/build/dts/components/icon-button/IconButton.stories.d.ts +23 -0
- package/build/dts/components/icon-button/IconButton.test.d.ts +1 -0
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +6 -0
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +7 -0
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +1 -0
- package/build/dts/components/icons/Actions/Check.d.ts +3 -0
- package/build/dts/components/icons/Actions/ClearLight.d.ts +3 -0
- package/build/dts/components/icons/Actions/Close.d.ts +3 -0
- package/build/dts/components/icons/Actions/LightCheck.d.ts +6 -0
- package/build/dts/components/icons/Actions/LightExclamation.d.ts +3 -0
- package/build/dts/components/icons/Actions/Question.d.ts +3 -0
- package/build/dts/components/icons/Actions/Trash.d.ts +3 -0
- package/build/dts/components/icons/Actions/index.d.ts +7 -0
- package/build/dts/components/icons/Arrows/ChevronDown.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronRight.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronUp.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +3 -0
- package/build/dts/components/icons/Arrows/CircleUp.d.ts +3 -0
- package/build/dts/components/icons/Arrows/index.d.ts +7 -0
- package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +3 -0
- package/build/dts/components/icons/Custom/index.d.ts +1 -0
- package/build/dts/components/icons/Download/AppleStore.d.ts +3 -0
- package/build/dts/components/icons/Download/GooglePlay.d.ts +3 -0
- package/build/dts/components/icons/Download/index.d.ts +2 -0
- package/build/dts/components/icons/Messaging/Comment.d.ts +3 -0
- package/build/dts/components/icons/Messaging/Messenger.d.ts +3 -0
- package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +3 -0
- package/build/dts/components/icons/Messaging/index.d.ts +3 -0
- package/build/dts/components/icons/Navigation/MapMarker.d.ts +3 -0
- package/build/dts/components/icons/Navigation/Search.d.ts +3 -0
- package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +3 -0
- package/build/dts/components/icons/Navigation/User.d.ts +3 -0
- package/build/dts/components/icons/Navigation/index.d.ts +4 -0
- package/build/dts/components/icons/Other/FitPredictor.d.ts +3 -0
- package/build/dts/components/icons/Other/Loading.d.ts +6 -0
- package/build/dts/components/icons/Other/Shapermint.d.ts +3 -0
- package/build/dts/components/icons/Other/index.d.ts +4 -0
- package/build/dts/components/icons/Other/mcAfee.d.ts +3 -0
- package/build/dts/components/icons/PDP/Clock.d.ts +3 -0
- package/build/dts/components/icons/PDP/FlagUSA.d.ts +3 -0
- package/build/dts/components/icons/PDP/Minus.d.ts +3 -0
- package/build/dts/components/icons/PDP/Plus.d.ts +3 -0
- package/build/dts/components/icons/PDP/Rule.d.ts +3 -0
- package/build/dts/components/icons/PDP/Shipping.d.ts +3 -0
- package/build/dts/components/icons/PDP/Star.d.ts +3 -0
- package/build/dts/components/icons/PDP/StarEmpty.d.ts +3 -0
- package/build/dts/components/icons/PDP/StarHalf.d.ts +3 -0
- package/build/dts/components/icons/PDP/Stopwatch.d.ts +3 -0
- package/build/dts/components/icons/PDP/index.d.ts +10 -0
- package/build/dts/components/icons/Payment/Amazon.d.ts +3 -0
- package/build/dts/components/icons/Payment/Amex.d.ts +3 -0
- package/build/dts/components/icons/Payment/JCB.d.ts +3 -0
- package/build/dts/components/icons/Payment/Klarna.d.ts +3 -0
- package/build/dts/components/icons/Payment/MasterCard.d.ts +3 -0
- package/build/dts/components/icons/Payment/Paypal.d.ts +3 -0
- package/build/dts/components/icons/Payment/Visa.d.ts +3 -0
- package/build/dts/components/icons/Payment/index.d.ts +7 -0
- package/build/dts/components/icons/SlideDots/SlideDot.d.ts +3 -0
- package/build/dts/components/icons/SlideDots/index.d.ts +1 -0
- package/build/dts/components/icons/SocialMedia/Facebook.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Instagram.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Twitter.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Youtube.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/index.d.ts +7 -0
- package/build/dts/components/icons/index.d.ts +27 -0
- package/build/dts/components/index.d.ts +48 -0
- package/build/dts/components/input/base/BaseInput.d.ts +14 -0
- package/build/dts/components/input/base/BaseInput.stories.d.ts +9 -0
- package/build/dts/components/input/base/BaseInput.test.d.ts +1 -0
- package/build/dts/components/input/base/Error.d.ts +6 -0
- package/build/dts/components/input/base/Styled.d.ts +31 -0
- package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +13 -0
- package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +9 -0
- package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +1 -0
- package/build/dts/components/input/basePlusButton/Success.d.ts +6 -0
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +7 -0
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +9 -0
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +1 -0
- package/build/dts/components/input/custom/Custom.d.ts +8 -0
- package/build/dts/components/input/custom/Custom.stories.d.ts +9 -0
- package/build/dts/components/input/custom/Custom.test.d.ts +1 -0
- package/build/dts/components/input/index.d.ts +7 -0
- package/build/dts/components/input/label/Label.d.ts +15 -0
- package/build/dts/components/input/label/Label.stories.d.ts +9 -0
- package/build/dts/components/input/label/Label.test.d.ts +1 -0
- package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +10 -0
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +12 -0
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +8 -0
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +1 -0
- package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +8 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +8 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +1 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +9 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +1 -0
- package/build/dts/components/offer-banner/OfferBanner.d.ts +15 -0
- package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +9 -0
- package/build/dts/components/offer-banner/OfferBanner.test.d.ts +1 -0
- package/build/dts/components/order-bar/OrderBar.d.ts +17 -0
- package/build/dts/components/order-bar/OrderBar.stories.d.ts +9 -0
- package/build/dts/components/order-bar/OrderBar.test.d.ts +1 -0
- package/build/dts/components/pagination/Pagination.d.ts +11 -0
- package/build/dts/components/pagination/Pagination.stories.d.ts +9 -0
- package/build/dts/components/pagination/Pagination.test.d.ts +1 -0
- package/build/dts/components/pagination/styles.d.ts +29 -0
- package/build/dts/components/payment-methods/PaymentMethod.d.ts +20 -0
- package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +13 -0
- package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +1 -0
- package/build/dts/components/pricing/discount/DiscountTag.d.ts +21 -0
- package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +23 -0
- package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +1 -0
- package/build/dts/components/pricing/index.d.ts +2 -0
- package/build/dts/components/pricing/price/PriceLabel.d.ts +11 -0
- package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +23 -0
- package/build/dts/components/pricing/price/PriceLabel.test.d.ts +1 -0
- package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +20 -0
- package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +11 -0
- package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +1 -0
- package/build/dts/components/progress-bar/ProgressBar.d.ts +8 -0
- package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +8 -0
- package/build/dts/components/progress-bar/ProgressBar.test.d.ts +1 -0
- package/build/dts/components/quantityPicker/QuantityPicker.d.ts +6 -0
- package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +9 -0
- package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +1 -0
- package/build/dts/components/radio/container/group.d.ts +12 -0
- package/build/dts/components/radio/container/group.stories.d.ts +23 -0
- package/build/dts/components/radio/container/group.test.d.ts +1 -0
- package/build/dts/components/radio/index.d.ts +1 -0
- package/build/dts/components/radio/input/radio.d.ts +13 -0
- package/build/dts/components/radio/input/radio.stories.d.ts +23 -0
- package/build/dts/components/radio/input/radio.test.d.ts +1 -0
- package/build/dts/components/radio/input/styles.d.ts +13 -0
- package/build/dts/components/rating/Rating.d.ts +9 -0
- package/build/dts/components/rating/Rating.stories.d.ts +24 -0
- package/build/dts/components/rating/Rating.test.d.ts +1 -0
- package/build/dts/components/rating/starList/StarList.d.ts +9 -0
- package/build/dts/components/rating/starList/StarList.stories.d.ts +24 -0
- package/build/dts/components/rating/starList/StarList.test.d.ts +1 -0
- package/build/dts/components/rating/starList/styles.d.ts +12 -0
- package/build/dts/components/rating/styles.d.ts +13 -0
- package/build/dts/components/review/Review.d.ts +19 -0
- package/build/dts/components/review/Review.stories.d.ts +9 -0
- package/build/dts/components/review/Review.test.d.ts +1 -0
- package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +18 -0
- package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +9 -0
- package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +1 -0
- package/build/dts/components/search-bar/ClearButton.d.ts +6 -0
- package/build/dts/components/search-bar/ClearButton.test.d.ts +1 -0
- package/build/dts/components/search-bar/Footer.d.ts +7 -0
- package/build/dts/components/search-bar/Input.d.ts +9 -0
- package/build/dts/components/search-bar/ProductItem.d.ts +8 -0
- package/build/dts/components/search-bar/ProductItem.test.d.ts +1 -0
- package/build/dts/components/search-bar/ResultsPanel.d.ts +12 -0
- package/build/dts/components/search-bar/ResultsPanel.test.d.ts +1 -0
- package/build/dts/components/search-bar/SearchBar.d.ts +11 -0
- package/build/dts/components/search-bar/SearchBar.stories.d.ts +7 -0
- package/build/dts/components/search-bar/SearchBar.test.d.ts +1 -0
- package/build/dts/components/search-bar/SearchControl.d.ts +7 -0
- package/build/dts/components/search-bar/SearchControl.test.d.ts +1 -0
- package/build/dts/components/search-bar/index.d.ts +1 -0
- package/build/dts/components/selector/simple/SelectorSecondary.d.ts +4 -0
- package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +23 -0
- package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +1 -0
- package/build/dts/components/selector/simple/SimpleSelector.d.ts +11 -0
- package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +1 -0
- package/build/dts/components/shared/button/BaseButton.d.ts +13 -0
- package/build/dts/components/shared/button/BaseButton.stories.d.ts +14 -0
- package/build/dts/components/shared/card/Card.d.ts +18 -0
- package/build/dts/components/shared/card/Card.stories.d.ts +7 -0
- package/build/dts/components/shared/card/Card.test.d.ts +1 -0
- package/build/dts/components/shared/card/CardBody.d.ts +5 -0
- package/build/dts/components/shared/card/CardSection.d.ts +6 -0
- package/build/dts/components/shared/card/index.d.ts +2 -0
- package/build/dts/components/shared/image/Image.d.ts +14 -0
- package/build/dts/components/shared/image/Image.test.d.ts +1 -0
- package/build/dts/components/shared/label/label.d.ts +13 -0
- package/build/dts/components/shared/label/label.test.d.ts +1 -0
- package/build/dts/components/shared/label/styles.d.ts +7 -0
- package/build/dts/components/shared/select/BaseSelect.d.ts +16 -0
- package/build/dts/components/shared/select/BaseSelect.stories.d.ts +11 -0
- package/build/dts/components/shared/select/BaseSelectButton.d.ts +17 -0
- package/build/dts/components/shared/select/BaseSelectOption.d.ts +22 -0
- package/build/dts/components/shared/select/BaseSelectOptions.d.ts +7 -0
- package/build/dts/components/size/guide/SizeFitGuide.d.ts +9 -0
- package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +9 -0
- package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +1 -0
- package/build/dts/components/size/selector/SizeSelector.d.ts +8 -0
- package/build/dts/components/size/selector/SizeSelector.stories.d.ts +7 -0
- package/build/dts/components/size/selector/SizeSelector.test.d.ts +1 -0
- package/build/dts/components/size-table/SizeTable.d.ts +6 -0
- package/build/dts/components/size-table/SizeTable.stories.d.ts +9 -0
- package/build/dts/components/size-table/SizeTable.test.d.ts +1 -0
- package/build/dts/components/slider/ArrowButton.d.ts +14 -0
- package/build/dts/components/slider/SliderNatigation.test.d.ts +1 -0
- package/build/dts/components/slider/SliderNavigation.d.ts +17 -0
- package/build/dts/components/slider/SliderNavigation.stories.d.ts +9 -0
- package/build/dts/components/slider/StyledSlider.d.ts +16 -0
- package/build/dts/components/spinner/Spinner.d.ts +10 -0
- package/build/dts/components/spinner/Spinner.stories.d.ts +9 -0
- package/build/dts/components/spinner/Spinner.test.d.ts +1 -0
- package/build/dts/components/tag/Tag.d.ts +7 -0
- package/build/dts/components/tag/Tag.test.d.ts +1 -0
- package/build/dts/components/tag/index.d.ts +3 -0
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +8 -0
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +22 -0
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +1 -0
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +9 -0
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +22 -0
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +1 -0
- package/build/dts/components/text/Text.d.ts +98 -0
- package/build/dts/components/text/Text.stories.d.ts +16 -0
- package/build/dts/components/text-button/TextButton.d.ts +13 -0
- package/build/dts/components/text-button/TextButton.stories.d.ts +58 -0
- package/build/dts/components/text-button/TextButton.test.d.ts +1 -0
- package/build/dts/components/timer/Timer.d.ts +13 -0
- package/build/dts/components/timer/Timer.stories.d.ts +9 -0
- package/build/dts/components/timer/Timer.test.d.ts +1 -0
- package/build/dts/components/tooltip/Arrow.d.ts +6 -0
- package/build/dts/components/tooltip/Styled.d.ts +56 -0
- package/build/dts/components/tooltip/Tooltip.d.ts +15 -0
- package/build/dts/components/tooltip/Tooltip.stories.d.ts +35 -0
- package/build/dts/components/tooltip/Tooltip.test.d.ts +1 -0
- package/build/dts/components/tooltip/utils.d.ts +7 -0
- package/build/dts/components/totals/index.d.ts +5 -0
- package/build/dts/components/totals/subtotal/Subtotal.d.ts +22 -0
- package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +9 -0
- package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +1 -0
- package/build/dts/components/totals/total/Total.d.ts +38 -0
- package/build/dts/components/totals/total/Total.stories.d.ts +9 -0
- package/build/dts/components/totals/total/Total.test.d.ts +1 -0
- package/build/dts/config/breakpoints.d.ts +5 -0
- package/build/dts/core/theme/Theme.d.ts +382 -0
- package/build/dts/core/theme/Theme.test.d.ts +1 -0
- package/build/dts/core/theme/shapermint.theme.d.ts +3 -0
- package/build/dts/core/theme/theme.helpers.d.ts +13 -0
- package/build/dts/core/theme/truekind.theme.d.ts +3 -0
- package/build/dts/hooks/WindowDimensions.d.ts +8 -0
- package/build/dts/hooks/click-outside.d.ts +3 -0
- package/build/dts/hooks/index.d.ts +3 -0
- package/build/dts/index.d.ts +5 -0
- package/build/dts/setupTests.d.ts +1 -0
- package/build/dts/test/test-utils.d.ts +8 -0
- package/build/dts/types/enums.d.ts +21 -0
- package/build/dts/types/types.d.ts +81 -0
- package/build/dts/utils/dateFormatter/dateFormatter.d.ts +1 -0
- package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +1 -0
- package/build/dts/utils/decimalParser/decimalParser.d.ts +4 -0
- package/build/dts/utils/decimalParser/decimalParser.test.d.ts +1 -0
- package/build/dts/utils/index.d.ts +4 -0
- package/build/dts/utils/media.d.ts +7 -0
- package/build/dts/utils/simulateClick/simulateClick.d.ts +1 -0
- package/build/dts/utils/simulateClick/simulateClick.test.d.ts +1 -0
- package/build/dts/utils/sliceString/sliceString.d.ts +1 -0
- package/build/dts/utils/sliceString/sliceString.test.d.ts +1 -0
- package/build/dts/utils/validations/validations.d.ts +5 -0
- package/build/dts/utils/validations/validations.test.d.ts +1 -0
- package/build/index.d.ts +491 -436
- package/build/index.esm.js +2697 -2576
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2663 -2538
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.js +566 -0
- package/build/theme/truekind.theme.js +565 -0
- package/package.json +6 -4
package/build/index.d.ts
CHANGED
|
@@ -1,8 +1,111 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React, { ReactNode, FC, AriaAttributes, CSSProperties, AnchorHTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
2
|
+
import React, { ReactNode, FC, AriaAttributes, CSSProperties, AnchorHTMLAttributes, LabelHTMLAttributes, ElementType, RefObject } from 'react';
|
|
3
3
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
4
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
5
|
-
import { SearchBarOptionItem as SearchBarOptionItem$1
|
|
5
|
+
import { SearchBarOptionItem as SearchBarOptionItem$1 } from 'src/types/types';
|
|
6
|
+
import { ThemeBreakpoints as ThemeBreakpoints$1 } from 'src/core/theme/Theme';
|
|
7
|
+
|
|
8
|
+
declare enum CardSectionType {
|
|
9
|
+
Header = 0,
|
|
10
|
+
Footer = 1
|
|
11
|
+
}
|
|
12
|
+
declare enum ComponentSize {
|
|
13
|
+
Large = "large",
|
|
14
|
+
Medium = "medium",
|
|
15
|
+
Small = "small",
|
|
16
|
+
XSmall = "xsmall"
|
|
17
|
+
}
|
|
18
|
+
declare enum ComponentPosition {
|
|
19
|
+
Top = 0,
|
|
20
|
+
Bottom = 1,
|
|
21
|
+
Left = 2,
|
|
22
|
+
Right = 3
|
|
23
|
+
}
|
|
24
|
+
declare enum InputValidationType {
|
|
25
|
+
Error = 0,
|
|
26
|
+
Valid = 1,
|
|
27
|
+
Empty = 2
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface IconProps {
|
|
31
|
+
width?: number;
|
|
32
|
+
height?: number;
|
|
33
|
+
fill?: string;
|
|
34
|
+
title?: string;
|
|
35
|
+
}
|
|
36
|
+
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
37
|
+
interface CTAProps {
|
|
38
|
+
onClick: () => void;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
wide?: boolean | false;
|
|
41
|
+
size?: ComponentSize;
|
|
42
|
+
text: string;
|
|
43
|
+
type?: ButtonType;
|
|
44
|
+
className?: string;
|
|
45
|
+
}
|
|
46
|
+
declare type DropdownOption<T> = {
|
|
47
|
+
key: string;
|
|
48
|
+
label: string;
|
|
49
|
+
value: T;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
};
|
|
52
|
+
declare type SizeOption = {
|
|
53
|
+
label: string;
|
|
54
|
+
description: string;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
};
|
|
57
|
+
declare type Color = {
|
|
58
|
+
primaryColor: string;
|
|
59
|
+
secondaryColor?: string;
|
|
60
|
+
tertiaryColor?: string;
|
|
61
|
+
};
|
|
62
|
+
declare type Pattern = {
|
|
63
|
+
url: string;
|
|
64
|
+
};
|
|
65
|
+
declare type ColorPickerOption = {
|
|
66
|
+
label: string;
|
|
67
|
+
color?: Color;
|
|
68
|
+
pattern?: Pattern;
|
|
69
|
+
};
|
|
70
|
+
declare type RadioGroupOption = {
|
|
71
|
+
value: string;
|
|
72
|
+
label: string;
|
|
73
|
+
};
|
|
74
|
+
declare type ImageType = {
|
|
75
|
+
key: string;
|
|
76
|
+
imageUrl: string;
|
|
77
|
+
alt: string;
|
|
78
|
+
};
|
|
79
|
+
interface IconWithOpacityProps extends IconProps {
|
|
80
|
+
opacity?: number;
|
|
81
|
+
}
|
|
82
|
+
interface WithTestId {
|
|
83
|
+
dataTestId?: string;
|
|
84
|
+
}
|
|
85
|
+
declare type DropdownListIconsItem = {
|
|
86
|
+
Icon: IconType;
|
|
87
|
+
items: DropdownListIconsSubItem[];
|
|
88
|
+
};
|
|
89
|
+
declare type DropdownListIconsSubItem = {
|
|
90
|
+
description: string;
|
|
91
|
+
callback: () => void;
|
|
92
|
+
};
|
|
93
|
+
declare type Filter = {
|
|
94
|
+
title: string;
|
|
95
|
+
columns: number;
|
|
96
|
+
isOpenByDefault?: boolean;
|
|
97
|
+
items: string[];
|
|
98
|
+
};
|
|
99
|
+
declare type FilterChange = {
|
|
100
|
+
sectionIndex: number;
|
|
101
|
+
itemIndex: number;
|
|
102
|
+
checked?: boolean;
|
|
103
|
+
};
|
|
104
|
+
interface SearchBarOptionItem {
|
|
105
|
+
src: string;
|
|
106
|
+
price: string;
|
|
107
|
+
title: string;
|
|
108
|
+
}
|
|
6
109
|
|
|
7
110
|
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
8
111
|
|
|
@@ -295,435 +398,6 @@ declare const Icon: {
|
|
|
295
398
|
SlideDots: typeof SlideDots;
|
|
296
399
|
};
|
|
297
400
|
|
|
298
|
-
declare enum CardSectionType {
|
|
299
|
-
Header = 0,
|
|
300
|
-
Footer = 1
|
|
301
|
-
}
|
|
302
|
-
declare enum ComponentSize {
|
|
303
|
-
Large = "large",
|
|
304
|
-
Medium = "medium",
|
|
305
|
-
Small = "small",
|
|
306
|
-
XSmall = "xsmall"
|
|
307
|
-
}
|
|
308
|
-
declare enum ComponentPosition {
|
|
309
|
-
Top = 0,
|
|
310
|
-
Bottom = 1,
|
|
311
|
-
Left = 2,
|
|
312
|
-
Right = 3
|
|
313
|
-
}
|
|
314
|
-
declare enum InputValidationType {
|
|
315
|
-
Error = 0,
|
|
316
|
-
Valid = 1,
|
|
317
|
-
Empty = 2
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
interface Breakpoints {
|
|
321
|
-
mobile: number;
|
|
322
|
-
desktop: number;
|
|
323
|
-
}
|
|
324
|
-
interface Theme {
|
|
325
|
-
name: string;
|
|
326
|
-
fontSizes: number[];
|
|
327
|
-
fontWeights: number[];
|
|
328
|
-
lineHeights: number[];
|
|
329
|
-
mediaQueries: Breakpoints;
|
|
330
|
-
colors: {
|
|
331
|
-
primary: string;
|
|
332
|
-
secondary: string;
|
|
333
|
-
black: string;
|
|
334
|
-
white: string;
|
|
335
|
-
neutral10: string;
|
|
336
|
-
neutral50: string;
|
|
337
|
-
neutral100: string;
|
|
338
|
-
neutral150: string;
|
|
339
|
-
neutral200: string;
|
|
340
|
-
neutral250: string;
|
|
341
|
-
neutral300: string;
|
|
342
|
-
neutral350: string;
|
|
343
|
-
neutral400: string;
|
|
344
|
-
neutral450: string;
|
|
345
|
-
neutral500: string;
|
|
346
|
-
neutral550: string;
|
|
347
|
-
neutral600: string;
|
|
348
|
-
neutral650: string;
|
|
349
|
-
neutral700: string;
|
|
350
|
-
neutral750: string;
|
|
351
|
-
neutral800: string;
|
|
352
|
-
neutral850: string;
|
|
353
|
-
neutral900: string;
|
|
354
|
-
neutral950: string;
|
|
355
|
-
neutral990: string;
|
|
356
|
-
semantic: {
|
|
357
|
-
error: string;
|
|
358
|
-
success: string;
|
|
359
|
-
};
|
|
360
|
-
border: {
|
|
361
|
-
disabled: string;
|
|
362
|
-
highlight: string;
|
|
363
|
-
};
|
|
364
|
-
background: {
|
|
365
|
-
disabled: string;
|
|
366
|
-
};
|
|
367
|
-
text: {
|
|
368
|
-
body: string;
|
|
369
|
-
disabled: string;
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
text: {
|
|
373
|
-
weight: {
|
|
374
|
-
heavy: number;
|
|
375
|
-
bold: number;
|
|
376
|
-
demi: number;
|
|
377
|
-
medium: number;
|
|
378
|
-
regular: number;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
component: {
|
|
382
|
-
button: {
|
|
383
|
-
border: string;
|
|
384
|
-
borderRadius: string;
|
|
385
|
-
fontWeight: number;
|
|
386
|
-
size: {
|
|
387
|
-
small: {
|
|
388
|
-
fontSize: string;
|
|
389
|
-
padding: string;
|
|
390
|
-
};
|
|
391
|
-
medium: {
|
|
392
|
-
fontSize: string;
|
|
393
|
-
padding: string;
|
|
394
|
-
};
|
|
395
|
-
large: {
|
|
396
|
-
fontSize: string;
|
|
397
|
-
padding: string;
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
primary: {
|
|
401
|
-
active: {
|
|
402
|
-
backgroundColor: string;
|
|
403
|
-
color: string;
|
|
404
|
-
};
|
|
405
|
-
hover: {
|
|
406
|
-
backgroundColor: string;
|
|
407
|
-
color: string;
|
|
408
|
-
};
|
|
409
|
-
};
|
|
410
|
-
secondary: {
|
|
411
|
-
active: {
|
|
412
|
-
backgroundColor: string;
|
|
413
|
-
color: string;
|
|
414
|
-
};
|
|
415
|
-
hover: {
|
|
416
|
-
backgroundColor: string;
|
|
417
|
-
color: string;
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
input: {
|
|
422
|
-
background: string;
|
|
423
|
-
color: string;
|
|
424
|
-
placeholderColor: string;
|
|
425
|
-
borderRadius: string;
|
|
426
|
-
fontSize: string;
|
|
427
|
-
fontWeight: number;
|
|
428
|
-
padding: string;
|
|
429
|
-
lineHeight: string;
|
|
430
|
-
border: string;
|
|
431
|
-
boxShadow: string;
|
|
432
|
-
};
|
|
433
|
-
inputCustom: {
|
|
434
|
-
button: {
|
|
435
|
-
borderRadius: string;
|
|
436
|
-
};
|
|
437
|
-
input: {
|
|
438
|
-
borderRadius: string;
|
|
439
|
-
};
|
|
440
|
-
};
|
|
441
|
-
selector: {
|
|
442
|
-
size: {
|
|
443
|
-
small: {
|
|
444
|
-
padding: string;
|
|
445
|
-
borderRadius: string;
|
|
446
|
-
};
|
|
447
|
-
medium: {
|
|
448
|
-
padding: string;
|
|
449
|
-
borderRadius: string;
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
default: {
|
|
453
|
-
fontWeight: number;
|
|
454
|
-
border: string;
|
|
455
|
-
background: string;
|
|
456
|
-
color: string;
|
|
457
|
-
};
|
|
458
|
-
hover: {
|
|
459
|
-
fontWeight: number;
|
|
460
|
-
background: string;
|
|
461
|
-
border: string;
|
|
462
|
-
color: string;
|
|
463
|
-
};
|
|
464
|
-
disabled: {
|
|
465
|
-
border: string;
|
|
466
|
-
};
|
|
467
|
-
fontSize: string;
|
|
468
|
-
};
|
|
469
|
-
rating: {
|
|
470
|
-
fontWeight: number;
|
|
471
|
-
size: {
|
|
472
|
-
xsmall: {
|
|
473
|
-
fontSize: string;
|
|
474
|
-
lineHeight: string;
|
|
475
|
-
};
|
|
476
|
-
small: {
|
|
477
|
-
fontSize: string;
|
|
478
|
-
lineHeight: string;
|
|
479
|
-
};
|
|
480
|
-
medium: {
|
|
481
|
-
fontSize: string;
|
|
482
|
-
lineHeight: string;
|
|
483
|
-
};
|
|
484
|
-
large: {
|
|
485
|
-
fontSize: string;
|
|
486
|
-
lineHeight: string;
|
|
487
|
-
};
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
card: {
|
|
491
|
-
borderRadius: string;
|
|
492
|
-
};
|
|
493
|
-
radio: {
|
|
494
|
-
borderColor: string;
|
|
495
|
-
background: string;
|
|
496
|
-
size: {
|
|
497
|
-
small: {
|
|
498
|
-
borderWidth: string;
|
|
499
|
-
margin: string;
|
|
500
|
-
height: string;
|
|
501
|
-
active: {
|
|
502
|
-
borderWidth: string;
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
medium: {
|
|
506
|
-
borderWidth: string;
|
|
507
|
-
margin: string;
|
|
508
|
-
height: string;
|
|
509
|
-
active: {
|
|
510
|
-
borderWidth: string;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
large: {
|
|
514
|
-
borderWidth: string;
|
|
515
|
-
margin: string;
|
|
516
|
-
height: string;
|
|
517
|
-
active: {
|
|
518
|
-
borderWidth: string;
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
label: {
|
|
524
|
-
fontSize: {
|
|
525
|
-
small: string;
|
|
526
|
-
medium: string;
|
|
527
|
-
large: string;
|
|
528
|
-
};
|
|
529
|
-
lineHeight: {
|
|
530
|
-
small: string;
|
|
531
|
-
medium: string;
|
|
532
|
-
large: string;
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
checkbox: {
|
|
536
|
-
background: string;
|
|
537
|
-
borderColor: string;
|
|
538
|
-
active: {
|
|
539
|
-
background: string;
|
|
540
|
-
};
|
|
541
|
-
size: {
|
|
542
|
-
large: {
|
|
543
|
-
width: string;
|
|
544
|
-
height: string;
|
|
545
|
-
borderRadius: string;
|
|
546
|
-
borderWidth: string;
|
|
547
|
-
margin: string;
|
|
548
|
-
icon: {
|
|
549
|
-
width: string;
|
|
550
|
-
height: string;
|
|
551
|
-
};
|
|
552
|
-
};
|
|
553
|
-
medium: {
|
|
554
|
-
width: string;
|
|
555
|
-
height: string;
|
|
556
|
-
borderRadius: string;
|
|
557
|
-
borderWidth: string;
|
|
558
|
-
margin: string;
|
|
559
|
-
icon: {
|
|
560
|
-
width: string;
|
|
561
|
-
height: string;
|
|
562
|
-
};
|
|
563
|
-
};
|
|
564
|
-
small: {
|
|
565
|
-
width: string;
|
|
566
|
-
height: string;
|
|
567
|
-
borderRadius: string;
|
|
568
|
-
borderWidth: string;
|
|
569
|
-
margin: string;
|
|
570
|
-
icon: {
|
|
571
|
-
width: string;
|
|
572
|
-
height: string;
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
accordion: {
|
|
578
|
-
variant: {
|
|
579
|
-
box: {
|
|
580
|
-
container: {
|
|
581
|
-
border: string;
|
|
582
|
-
borderColor: string;
|
|
583
|
-
borderRadius: string;
|
|
584
|
-
padding: string;
|
|
585
|
-
};
|
|
586
|
-
summary: {
|
|
587
|
-
fontWeight: number;
|
|
588
|
-
fontSize: string;
|
|
589
|
-
lineHeight: string;
|
|
590
|
-
color: string;
|
|
591
|
-
};
|
|
592
|
-
details: {
|
|
593
|
-
margin: string;
|
|
594
|
-
};
|
|
595
|
-
icon: {
|
|
596
|
-
width: number;
|
|
597
|
-
height: number;
|
|
598
|
-
color: string;
|
|
599
|
-
};
|
|
600
|
-
};
|
|
601
|
-
simple: {
|
|
602
|
-
container: {
|
|
603
|
-
borderTop: string;
|
|
604
|
-
borderBottom: string;
|
|
605
|
-
borderColor: string;
|
|
606
|
-
borderRadius: string;
|
|
607
|
-
padding: string;
|
|
608
|
-
};
|
|
609
|
-
summary: {
|
|
610
|
-
fontWeight: number;
|
|
611
|
-
fontSize: string;
|
|
612
|
-
lineHeight: string;
|
|
613
|
-
color: string;
|
|
614
|
-
};
|
|
615
|
-
details: {
|
|
616
|
-
margin: string;
|
|
617
|
-
};
|
|
618
|
-
icon: {
|
|
619
|
-
width: number;
|
|
620
|
-
height: number;
|
|
621
|
-
color: string;
|
|
622
|
-
};
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
};
|
|
626
|
-
dropdown: {
|
|
627
|
-
borderRadius: string;
|
|
628
|
-
fontSize: string;
|
|
629
|
-
fontWeight: number;
|
|
630
|
-
lineHeight: string;
|
|
631
|
-
padding: string;
|
|
632
|
-
color: string;
|
|
633
|
-
fill: string;
|
|
634
|
-
options: {
|
|
635
|
-
borderColor: string;
|
|
636
|
-
color: string;
|
|
637
|
-
};
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
interface IconProps {
|
|
642
|
-
width?: number;
|
|
643
|
-
height?: number;
|
|
644
|
-
fill?: string;
|
|
645
|
-
title?: string;
|
|
646
|
-
}
|
|
647
|
-
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
648
|
-
interface CTAProps {
|
|
649
|
-
onClick: () => void;
|
|
650
|
-
disabled?: boolean;
|
|
651
|
-
wide?: boolean | false;
|
|
652
|
-
size?: ComponentSize;
|
|
653
|
-
text: string;
|
|
654
|
-
type?: ButtonType;
|
|
655
|
-
className?: string;
|
|
656
|
-
}
|
|
657
|
-
declare type DropdownOption<T> = {
|
|
658
|
-
key: string;
|
|
659
|
-
label: string;
|
|
660
|
-
value: T;
|
|
661
|
-
disabled: boolean;
|
|
662
|
-
};
|
|
663
|
-
declare type SizeOption = {
|
|
664
|
-
label: string;
|
|
665
|
-
description: string;
|
|
666
|
-
disabled?: boolean;
|
|
667
|
-
};
|
|
668
|
-
declare type Color = {
|
|
669
|
-
primaryColor: string;
|
|
670
|
-
secondaryColor?: string;
|
|
671
|
-
tertiaryColor?: string;
|
|
672
|
-
};
|
|
673
|
-
declare type Pattern = {
|
|
674
|
-
url: string;
|
|
675
|
-
};
|
|
676
|
-
declare type ColorPickerOption = {
|
|
677
|
-
label: string;
|
|
678
|
-
color?: Color;
|
|
679
|
-
pattern?: Pattern;
|
|
680
|
-
};
|
|
681
|
-
declare type RadioGroupOption = {
|
|
682
|
-
value: string;
|
|
683
|
-
label: string;
|
|
684
|
-
};
|
|
685
|
-
declare type ImageType = {
|
|
686
|
-
key: string;
|
|
687
|
-
imageUrl: string;
|
|
688
|
-
alt: string;
|
|
689
|
-
};
|
|
690
|
-
interface IconWithOpacityProps extends IconProps {
|
|
691
|
-
opacity?: number;
|
|
692
|
-
}
|
|
693
|
-
interface WithTestId {
|
|
694
|
-
dataTestId?: string;
|
|
695
|
-
}
|
|
696
|
-
declare type DropdownListIconsItem = {
|
|
697
|
-
Icon: IconType;
|
|
698
|
-
items: DropdownListIconsSubItem[];
|
|
699
|
-
};
|
|
700
|
-
declare type DropdownListIconsSubItem = {
|
|
701
|
-
description: string;
|
|
702
|
-
callback: () => void;
|
|
703
|
-
};
|
|
704
|
-
declare type Filter = {
|
|
705
|
-
title: string;
|
|
706
|
-
columns: number;
|
|
707
|
-
isOpenByDefault?: boolean;
|
|
708
|
-
items: string[];
|
|
709
|
-
};
|
|
710
|
-
declare type FilterChange = {
|
|
711
|
-
sectionIndex: number;
|
|
712
|
-
itemIndex: number;
|
|
713
|
-
checked?: boolean;
|
|
714
|
-
};
|
|
715
|
-
interface SearchBarOptionItem {
|
|
716
|
-
src: string;
|
|
717
|
-
price: string;
|
|
718
|
-
title: string;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
interface ThemeProviderProps {
|
|
722
|
-
theme: Theme;
|
|
723
|
-
children: ReactNode;
|
|
724
|
-
}
|
|
725
|
-
declare const ThemeProvider: ({ theme, children }: ThemeProviderProps) => JSX.Element;
|
|
726
|
-
|
|
727
401
|
interface CardBodyProps {
|
|
728
402
|
children: ReactNode;
|
|
729
403
|
}
|
|
@@ -775,7 +449,7 @@ declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolde
|
|
|
775
449
|
|
|
776
450
|
interface SizeSelectorProps {
|
|
777
451
|
sizes: SizeOption[];
|
|
778
|
-
selectedValue
|
|
452
|
+
selectedValue: SizeOption;
|
|
779
453
|
onChange: (size: SizeOption) => void;
|
|
780
454
|
}
|
|
781
455
|
declare const SizeSelector: ({ sizes, selectedValue, onChange }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -820,8 +494,8 @@ interface DiscountTagProps {
|
|
|
820
494
|
declare const DiscountTag: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, }: DiscountTagProps) => JSX.Element;
|
|
821
495
|
|
|
822
496
|
interface PriceLabelProps {
|
|
823
|
-
finalPrice: string;
|
|
824
|
-
originalPrice?: string;
|
|
497
|
+
finalPrice: string | number;
|
|
498
|
+
originalPrice?: string | number;
|
|
825
499
|
color?: string;
|
|
826
500
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
827
501
|
discount?: DiscountTagProps;
|
|
@@ -1408,9 +1082,390 @@ interface ProductGalleryMobileProps {
|
|
|
1408
1082
|
}
|
|
1409
1083
|
declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
|
|
1410
1084
|
|
|
1085
|
+
declare const ThemeProvider: FC<{
|
|
1086
|
+
theme: Theme;
|
|
1087
|
+
children: ReactNode;
|
|
1088
|
+
}>;
|
|
1089
|
+
declare const useTheme: () => Theme;
|
|
1090
|
+
declare const ThemeVariables: FC<{
|
|
1091
|
+
theme: any;
|
|
1092
|
+
Container?: ElementType;
|
|
1093
|
+
}>;
|
|
1094
|
+
declare const AssetsProvider: FC<{
|
|
1095
|
+
assets: ThemeAssets;
|
|
1096
|
+
}>;
|
|
1097
|
+
declare const useThemeAssets: () => ThemeAssets;
|
|
1098
|
+
declare type Theme = {
|
|
1099
|
+
name: string;
|
|
1100
|
+
fontSizes: number[];
|
|
1101
|
+
fontWeights: number[];
|
|
1102
|
+
lineHeights: number[];
|
|
1103
|
+
mediaQueries: ThemeBreakpoints;
|
|
1104
|
+
colors: ThemeColors;
|
|
1105
|
+
component: ThemeComponent;
|
|
1106
|
+
typography: ThemeTypography;
|
|
1107
|
+
fonts: ThemeFonts;
|
|
1108
|
+
assets: ThemeAssets;
|
|
1109
|
+
};
|
|
1110
|
+
declare type ThemeBreakpoints = {
|
|
1111
|
+
mobile: number;
|
|
1112
|
+
desktop: number;
|
|
1113
|
+
};
|
|
1114
|
+
declare type ThemeBasicPallete = {
|
|
1115
|
+
color: string;
|
|
1116
|
+
contrast: string;
|
|
1117
|
+
};
|
|
1118
|
+
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
1119
|
+
soft: ThemeBasicPallete;
|
|
1120
|
+
};
|
|
1121
|
+
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
1122
|
+
20: ThemeColorPallete;
|
|
1123
|
+
40: ThemeColorPallete;
|
|
1124
|
+
60: ThemeColorPallete;
|
|
1125
|
+
80: ThemeColorPallete;
|
|
1126
|
+
};
|
|
1127
|
+
declare type ThemeColors = {
|
|
1128
|
+
pallete: {
|
|
1129
|
+
primary: ThemeColorPrimaryPallete;
|
|
1130
|
+
secondary: ThemeColorPrimaryPallete;
|
|
1131
|
+
} & Partial<Record<string, ThemeColorPallete>>;
|
|
1132
|
+
shades: {
|
|
1133
|
+
black: ThemeBasicPallete;
|
|
1134
|
+
white: ThemeBasicPallete;
|
|
1135
|
+
5: ThemeBasicPallete;
|
|
1136
|
+
10: ThemeBasicPallete;
|
|
1137
|
+
50: ThemeBasicPallete;
|
|
1138
|
+
100: ThemeBasicPallete;
|
|
1139
|
+
150: ThemeBasicPallete;
|
|
1140
|
+
200: ThemeBasicPallete;
|
|
1141
|
+
250: ThemeBasicPallete;
|
|
1142
|
+
300: ThemeBasicPallete;
|
|
1143
|
+
350: ThemeBasicPallete;
|
|
1144
|
+
400: ThemeBasicPallete;
|
|
1145
|
+
450: ThemeBasicPallete;
|
|
1146
|
+
500: ThemeBasicPallete;
|
|
1147
|
+
550: ThemeBasicPallete;
|
|
1148
|
+
600: ThemeBasicPallete;
|
|
1149
|
+
650: ThemeBasicPallete;
|
|
1150
|
+
700: ThemeBasicPallete;
|
|
1151
|
+
750: ThemeBasicPallete;
|
|
1152
|
+
800: ThemeBasicPallete;
|
|
1153
|
+
850: ThemeBasicPallete;
|
|
1154
|
+
900: ThemeBasicPallete;
|
|
1155
|
+
950: ThemeBasicPallete;
|
|
1156
|
+
990: ThemeBasicPallete;
|
|
1157
|
+
};
|
|
1158
|
+
semantic: {
|
|
1159
|
+
positive: ThemeBasicPallete;
|
|
1160
|
+
urgent: ThemeBasicPallete;
|
|
1161
|
+
attention: ThemeBasicPallete;
|
|
1162
|
+
informative: ThemeBasicPallete;
|
|
1163
|
+
};
|
|
1164
|
+
border: {
|
|
1165
|
+
color: string;
|
|
1166
|
+
disabled: string;
|
|
1167
|
+
highlight: string;
|
|
1168
|
+
};
|
|
1169
|
+
background: {
|
|
1170
|
+
color: string;
|
|
1171
|
+
disabled: string;
|
|
1172
|
+
};
|
|
1173
|
+
text: {
|
|
1174
|
+
color: string;
|
|
1175
|
+
disabled: string;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
declare type ThemeComponent = {
|
|
1179
|
+
button: {
|
|
1180
|
+
border: string;
|
|
1181
|
+
borderRadius: string;
|
|
1182
|
+
fontWeight: number;
|
|
1183
|
+
size: {
|
|
1184
|
+
small: {
|
|
1185
|
+
fontSize: string;
|
|
1186
|
+
padding: string;
|
|
1187
|
+
};
|
|
1188
|
+
medium: {
|
|
1189
|
+
fontSize: string;
|
|
1190
|
+
padding: string;
|
|
1191
|
+
};
|
|
1192
|
+
large: {
|
|
1193
|
+
fontSize: string;
|
|
1194
|
+
padding: string;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
primary: {
|
|
1198
|
+
active: {
|
|
1199
|
+
backgroundColor: string;
|
|
1200
|
+
color: string;
|
|
1201
|
+
};
|
|
1202
|
+
hover: {
|
|
1203
|
+
backgroundColor: string;
|
|
1204
|
+
color: string;
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
secondary: {
|
|
1208
|
+
active: {
|
|
1209
|
+
backgroundColor: string;
|
|
1210
|
+
color: string;
|
|
1211
|
+
};
|
|
1212
|
+
hover: {
|
|
1213
|
+
backgroundColor: string;
|
|
1214
|
+
color: string;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
input: {
|
|
1219
|
+
background: string;
|
|
1220
|
+
color: string;
|
|
1221
|
+
placeholderColor: string;
|
|
1222
|
+
borderRadius: string;
|
|
1223
|
+
fontSize: string;
|
|
1224
|
+
fontWeight: number;
|
|
1225
|
+
padding: string;
|
|
1226
|
+
lineHeight: string;
|
|
1227
|
+
border: string;
|
|
1228
|
+
boxShadow: string;
|
|
1229
|
+
};
|
|
1230
|
+
inputCustom: {
|
|
1231
|
+
button: {
|
|
1232
|
+
borderRadius: string;
|
|
1233
|
+
};
|
|
1234
|
+
input: {
|
|
1235
|
+
borderRadius: string;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
selector: {
|
|
1239
|
+
size: {
|
|
1240
|
+
small: {
|
|
1241
|
+
padding: string;
|
|
1242
|
+
borderRadius: string;
|
|
1243
|
+
};
|
|
1244
|
+
medium: {
|
|
1245
|
+
padding: string;
|
|
1246
|
+
borderRadius: string;
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
default: {
|
|
1250
|
+
fontWeight: number;
|
|
1251
|
+
border: string;
|
|
1252
|
+
background: string;
|
|
1253
|
+
color: string;
|
|
1254
|
+
};
|
|
1255
|
+
hover: {
|
|
1256
|
+
fontWeight: number;
|
|
1257
|
+
background: string;
|
|
1258
|
+
border: string;
|
|
1259
|
+
color: string;
|
|
1260
|
+
};
|
|
1261
|
+
disabled: {
|
|
1262
|
+
border: string;
|
|
1263
|
+
};
|
|
1264
|
+
fontSize: string;
|
|
1265
|
+
};
|
|
1266
|
+
rating: {
|
|
1267
|
+
fontWeight: number;
|
|
1268
|
+
size: {
|
|
1269
|
+
xsmall: {
|
|
1270
|
+
fontSize: string;
|
|
1271
|
+
lineHeight: string;
|
|
1272
|
+
};
|
|
1273
|
+
small: {
|
|
1274
|
+
fontSize: string;
|
|
1275
|
+
lineHeight: string;
|
|
1276
|
+
};
|
|
1277
|
+
medium: {
|
|
1278
|
+
fontSize: string;
|
|
1279
|
+
lineHeight: string;
|
|
1280
|
+
};
|
|
1281
|
+
large: {
|
|
1282
|
+
fontSize: string;
|
|
1283
|
+
lineHeight: string;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
card: {
|
|
1288
|
+
borderRadius: string;
|
|
1289
|
+
};
|
|
1290
|
+
radio: {
|
|
1291
|
+
borderColor: string;
|
|
1292
|
+
background: string;
|
|
1293
|
+
size: {
|
|
1294
|
+
small: {
|
|
1295
|
+
borderWidth: string;
|
|
1296
|
+
margin: string;
|
|
1297
|
+
height: string;
|
|
1298
|
+
active: {
|
|
1299
|
+
borderWidth: string;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
medium: {
|
|
1303
|
+
borderWidth: string;
|
|
1304
|
+
margin: string;
|
|
1305
|
+
height: string;
|
|
1306
|
+
active: {
|
|
1307
|
+
borderWidth: string;
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
large: {
|
|
1311
|
+
borderWidth: string;
|
|
1312
|
+
margin: string;
|
|
1313
|
+
height: string;
|
|
1314
|
+
active: {
|
|
1315
|
+
borderWidth: string;
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
label: {
|
|
1321
|
+
fontSize: {
|
|
1322
|
+
small: string;
|
|
1323
|
+
medium: string;
|
|
1324
|
+
large: string;
|
|
1325
|
+
};
|
|
1326
|
+
lineHeight: {
|
|
1327
|
+
small: string;
|
|
1328
|
+
medium: string;
|
|
1329
|
+
large: string;
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
checkbox: {
|
|
1333
|
+
background: string;
|
|
1334
|
+
borderColor: string;
|
|
1335
|
+
active: {
|
|
1336
|
+
background: string;
|
|
1337
|
+
};
|
|
1338
|
+
size: {
|
|
1339
|
+
large: {
|
|
1340
|
+
width: string;
|
|
1341
|
+
height: string;
|
|
1342
|
+
borderRadius: string;
|
|
1343
|
+
borderWidth: string;
|
|
1344
|
+
margin: string;
|
|
1345
|
+
icon: {
|
|
1346
|
+
width: string;
|
|
1347
|
+
height: string;
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
medium: {
|
|
1351
|
+
width: string;
|
|
1352
|
+
height: string;
|
|
1353
|
+
borderRadius: string;
|
|
1354
|
+
borderWidth: string;
|
|
1355
|
+
margin: string;
|
|
1356
|
+
icon: {
|
|
1357
|
+
width: string;
|
|
1358
|
+
height: string;
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
small: {
|
|
1362
|
+
width: string;
|
|
1363
|
+
height: string;
|
|
1364
|
+
borderRadius: string;
|
|
1365
|
+
borderWidth: string;
|
|
1366
|
+
margin: string;
|
|
1367
|
+
icon: {
|
|
1368
|
+
width: string;
|
|
1369
|
+
height: string;
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
accordion: {
|
|
1375
|
+
variant: {
|
|
1376
|
+
box: {
|
|
1377
|
+
container: {
|
|
1378
|
+
border: string;
|
|
1379
|
+
borderColor: string;
|
|
1380
|
+
borderRadius: string;
|
|
1381
|
+
padding: string;
|
|
1382
|
+
};
|
|
1383
|
+
summary: {
|
|
1384
|
+
fontWeight: number;
|
|
1385
|
+
fontSize: string;
|
|
1386
|
+
lineHeight: string;
|
|
1387
|
+
color: string;
|
|
1388
|
+
};
|
|
1389
|
+
details: {
|
|
1390
|
+
margin: string;
|
|
1391
|
+
};
|
|
1392
|
+
icon: {
|
|
1393
|
+
width: number;
|
|
1394
|
+
height: number;
|
|
1395
|
+
color: string;
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
simple: {
|
|
1399
|
+
container: {
|
|
1400
|
+
borderTop: string;
|
|
1401
|
+
borderBottom: string;
|
|
1402
|
+
borderColor: string;
|
|
1403
|
+
borderRadius: string;
|
|
1404
|
+
padding: string;
|
|
1405
|
+
};
|
|
1406
|
+
summary: {
|
|
1407
|
+
fontWeight: number;
|
|
1408
|
+
fontSize: string;
|
|
1409
|
+
lineHeight: string;
|
|
1410
|
+
color: string;
|
|
1411
|
+
};
|
|
1412
|
+
details: {
|
|
1413
|
+
margin: string;
|
|
1414
|
+
};
|
|
1415
|
+
icon: {
|
|
1416
|
+
width: number;
|
|
1417
|
+
height: number;
|
|
1418
|
+
color: string;
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
dropdown: {
|
|
1424
|
+
borderRadius: string;
|
|
1425
|
+
fontSize: string;
|
|
1426
|
+
fontWeight: number;
|
|
1427
|
+
lineHeight: string;
|
|
1428
|
+
padding: string;
|
|
1429
|
+
color: string;
|
|
1430
|
+
fill: string;
|
|
1431
|
+
options: {
|
|
1432
|
+
borderColor: string;
|
|
1433
|
+
color: string;
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
declare type ThemeTypography = {
|
|
1438
|
+
config: {
|
|
1439
|
+
weight: {
|
|
1440
|
+
heavy: number;
|
|
1441
|
+
bold: number;
|
|
1442
|
+
demi: number;
|
|
1443
|
+
regular: number;
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
variants: Record<string, CSSProperties>;
|
|
1447
|
+
};
|
|
1448
|
+
declare type ThemeFonts = {
|
|
1449
|
+
url: string;
|
|
1450
|
+
config: Array<{
|
|
1451
|
+
src: string;
|
|
1452
|
+
family: string;
|
|
1453
|
+
weight?: number | string;
|
|
1454
|
+
style?: string;
|
|
1455
|
+
stretch?: string;
|
|
1456
|
+
}>;
|
|
1457
|
+
};
|
|
1458
|
+
declare type ThemeAssets = {
|
|
1459
|
+
images: {
|
|
1460
|
+
favicon: string;
|
|
1461
|
+
logo: string;
|
|
1462
|
+
};
|
|
1463
|
+
[key: string]: any;
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1411
1466
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
1412
1467
|
|
|
1413
|
-
declare const useWindowDimensions: (breakpoints:
|
|
1468
|
+
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
|
|
1414
1469
|
isMobile: boolean;
|
|
1415
1470
|
windowDimensions: {
|
|
1416
1471
|
width: number;
|
|
@@ -1418,4 +1473,4 @@ declare const useWindowDimensions: (breakpoints: Breakpoints$1) => {
|
|
|
1418
1473
|
};
|
|
1419
1474
|
};
|
|
1420
1475
|
|
|
1421
|
-
export { Accordion, AmazonButton,
|
|
1476
|
+
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pagination, Pattern, PaymentMethod, PaypalButton, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, RadioGroupInput, RadioGroupOption, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|