@trafilea/afrodita-components 4.0.1-beta.2 → 4.0.2-beta.11
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/index.d.ts +971 -892
- package/build/index.esm.js +486 -397
- package/build/index.esm.js.map +1 -1
- package/build/index.js +489 -398
- package/build/index.js.map +1 -1
- package/build/{dts/core/theme/Theme.d.ts → theme/shapermint.theme.d.ts} +26 -25
- package/build/theme/shapermint.theme.js +147 -59
- package/build/theme/truekind.theme.d.ts +383 -0
- package/build/theme/truekind.theme.js +94 -52
- package/package.json +2 -2
- package/build/dts/components/Demo.stories.d.ts +0 -7
- package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +0 -12
- package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +0 -1
- package/build/dts/components/accordion/Accordion.d.ts +0 -13
- package/build/dts/components/accordion/Accordion.stories.d.ts +0 -9
- package/build/dts/components/accordion/Accordion.test.d.ts +0 -1
- package/build/dts/components/accordion/styles.d.ts +0 -16
- package/build/dts/components/bundle/index.d.ts +0 -5
- package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +0 -15
- package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +0 -9
- package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +0 -1
- package/build/dts/components/bundle/simple/Simple.d.ts +0 -10
- package/build/dts/components/bundle/simple/Simple.stories.d.ts +0 -9
- package/build/dts/components/bundle/simple/Simple.test.d.ts +0 -1
- package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +0 -1
- package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +0 -5
- package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +0 -9
- package/build/dts/components/cartProductItem/Description/Description.d.ts +0 -5
- package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +0 -9
- package/build/dts/components/cartProductItem/Description/Description.test.d.ts +0 -1
- package/build/dts/components/cartProductItem/Promo/Promo.d.ts +0 -5
- package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +0 -9
- package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +0 -1
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +0 -5
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +0 -9
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +0 -1
- package/build/dts/components/cartProductItem/Title/Title.d.ts +0 -5
- package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +0 -9
- package/build/dts/components/cartProductItem/Title/Title.test.d.ts +0 -1
- package/build/dts/components/cartProductItem/index.d.ts +0 -8
- package/build/dts/components/checkbox/Checkbox.d.ts +0 -21
- package/build/dts/components/checkbox/Checkbox.stories.d.ts +0 -24
- package/build/dts/components/checkbox/Checkbox.test.d.ts +0 -1
- package/build/dts/components/checkbox/styles.d.ts +0 -9
- package/build/dts/components/collection/grid/WithProductGrid.d.ts +0 -11
- package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +0 -9
- package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +0 -1
- package/build/dts/components/collection/index.d.ts +0 -5
- package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +0 -7
- package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +0 -24
- package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +0 -1
- package/build/dts/components/collection/product/types.d.ts +0 -14
- package/build/dts/components/color/ColorRadioGroup.d.ts +0 -24
- package/build/dts/components/color/MultiColorPicker.d.ts +0 -10
- package/build/dts/components/color/MultiColorPicker.stories.d.ts +0 -9
- package/build/dts/components/color/MultiColorPicker.test.d.ts +0 -1
- package/build/dts/components/color/SingleColorPicker.d.ts +0 -10
- package/build/dts/components/color/SingleColorPicker.stories.d.ts +0 -9
- package/build/dts/components/color/SingleColorPicker.test.d.ts +0 -1
- package/build/dts/components/color/selector/ColorSelector.d.ts +0 -15
- package/build/dts/components/color/selector/ColorSelector.stories.d.ts +0 -14
- package/build/dts/components/color/selector/ColorSelector.test.d.ts +0 -1
- package/build/dts/components/color/selector/OneColorSelector.d.ts +0 -8
- package/build/dts/components/color/selector/OutOfStock.d.ts +0 -6
- package/build/dts/components/color/selector/PatternSelector.d.ts +0 -8
- package/build/dts/components/color/selector/PatternSelector.test.d.ts +0 -1
- package/build/dts/components/color/selector/ThreeColorSelector.d.ts +0 -10
- package/build/dts/components/color/selector/TwoColorSelector.d.ts +0 -9
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +0 -13
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +0 -9
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +0 -1
- package/build/dts/components/cross-sell/index.d.ts +0 -1
- package/build/dts/components/cta/BaseCTA.d.ts +0 -13
- package/build/dts/components/cta/BaseCTA.test.d.ts +0 -1
- package/build/dts/components/cta/index.d.ts +0 -3
- package/build/dts/components/cta/primary/ButtonPrimary.d.ts +0 -3
- package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +0 -37
- package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +0 -1
- package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +0 -3
- package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +0 -37
- package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +0 -1
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +0 -3
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +0 -37
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +0 -1
- package/build/dts/components/delivery-details/DeliveryDetails.d.ts +0 -26
- package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +0 -9
- package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +0 -1
- package/build/dts/components/delivery-details/Note/Note.d.ts +0 -9
- package/build/dts/components/delivery-details/Note/Note.stories.d.ts +0 -9
- package/build/dts/components/delivery-details/Note/Note.test.d.ts +0 -1
- package/build/dts/components/drawer/Drawer.d.ts +0 -13
- package/build/dts/components/drawer/Drawer.stories.d.ts +0 -14
- package/build/dts/components/drawer/Drawer.test.d.ts +0 -1
- package/build/dts/components/dropdown/base/BaseDropdown.d.ts +0 -17
- package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +0 -12
- package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +0 -11
- package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +0 -6
- package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +0 -1
- package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +0 -13
- package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +0 -12
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +0 -20
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +0 -13
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +0 -1
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +0 -6
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +0 -9
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +0 -1
- package/build/dts/components/dropdown-list-icons/Styled.d.ts +0 -34
- package/build/dts/components/filtering/Accordion.d.ts +0 -8
- package/build/dts/components/filtering/Filters.d.ts +0 -15
- package/build/dts/components/filtering/Filters.stories.d.ts +0 -9
- package/build/dts/components/filtering/Filters.test.d.ts +0 -1
- package/build/dts/components/filtering/FiltersStyled.d.ts +0 -43
- package/build/dts/components/filtering/Tags/Tags.d.ts +0 -24
- package/build/dts/components/filtering/Tags/Tags.stories.d.ts +0 -9
- package/build/dts/components/filtering/Tags/Tags.test.d.ts +0 -1
- package/build/dts/components/fit/FitPredictor.d.ts +0 -5
- package/build/dts/components/fit/FitPredictor.stories.d.ts +0 -7
- package/build/dts/components/fit/FitPredictor.test.d.ts +0 -1
- package/build/dts/components/gallery/ImagePreviewList.d.ts +0 -9
- package/build/dts/components/gallery/ImagePreviewList.test.d.ts +0 -1
- package/build/dts/components/gallery/ImageProductWithTags.d.ts +0 -10
- package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +0 -1
- package/build/dts/components/gallery/ImageSmallPreview.d.ts +0 -9
- package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +0 -1
- package/build/dts/components/gallery/ProductGallery.d.ts +0 -12
- package/build/dts/components/gallery/ProductGallery.stories.d.ts +0 -9
- package/build/dts/components/gallery/ProductGallery.test.d.ts +0 -1
- package/build/dts/components/icon-button/IconButton.d.ts +0 -16
- package/build/dts/components/icon-button/IconButton.stories.d.ts +0 -23
- package/build/dts/components/icon-button/IconButton.test.d.ts +0 -1
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +0 -6
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +0 -7
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +0 -1
- package/build/dts/components/icons/Actions/Check.d.ts +0 -3
- package/build/dts/components/icons/Actions/ClearLight.d.ts +0 -3
- package/build/dts/components/icons/Actions/Close.d.ts +0 -3
- package/build/dts/components/icons/Actions/LightCheck.d.ts +0 -6
- package/build/dts/components/icons/Actions/LightExclamation.d.ts +0 -3
- package/build/dts/components/icons/Actions/Question.d.ts +0 -3
- package/build/dts/components/icons/Actions/Trash.d.ts +0 -3
- package/build/dts/components/icons/Actions/index.d.ts +0 -7
- package/build/dts/components/icons/Arrows/ChevronDown.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronRight.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronUp.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +0 -3
- package/build/dts/components/icons/Arrows/CircleUp.d.ts +0 -3
- package/build/dts/components/icons/Arrows/index.d.ts +0 -7
- package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +0 -3
- package/build/dts/components/icons/Custom/index.d.ts +0 -1
- package/build/dts/components/icons/Download/AppleStore.d.ts +0 -3
- package/build/dts/components/icons/Download/GooglePlay.d.ts +0 -3
- package/build/dts/components/icons/Download/index.d.ts +0 -2
- package/build/dts/components/icons/Messaging/Comment.d.ts +0 -3
- package/build/dts/components/icons/Messaging/Messenger.d.ts +0 -3
- package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +0 -3
- package/build/dts/components/icons/Messaging/index.d.ts +0 -3
- package/build/dts/components/icons/Navigation/MapMarker.d.ts +0 -3
- package/build/dts/components/icons/Navigation/Search.d.ts +0 -3
- package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +0 -3
- package/build/dts/components/icons/Navigation/User.d.ts +0 -3
- package/build/dts/components/icons/Navigation/index.d.ts +0 -4
- package/build/dts/components/icons/Other/FitPredictor.d.ts +0 -3
- package/build/dts/components/icons/Other/Loading.d.ts +0 -6
- package/build/dts/components/icons/Other/Shapermint.d.ts +0 -3
- package/build/dts/components/icons/Other/index.d.ts +0 -4
- package/build/dts/components/icons/Other/mcAfee.d.ts +0 -3
- package/build/dts/components/icons/PDP/Clock.d.ts +0 -3
- package/build/dts/components/icons/PDP/FlagUSA.d.ts +0 -3
- package/build/dts/components/icons/PDP/Minus.d.ts +0 -3
- package/build/dts/components/icons/PDP/Plus.d.ts +0 -3
- package/build/dts/components/icons/PDP/Rule.d.ts +0 -3
- package/build/dts/components/icons/PDP/Shipping.d.ts +0 -3
- package/build/dts/components/icons/PDP/Star.d.ts +0 -3
- package/build/dts/components/icons/PDP/StarEmpty.d.ts +0 -3
- package/build/dts/components/icons/PDP/StarHalf.d.ts +0 -3
- package/build/dts/components/icons/PDP/Stopwatch.d.ts +0 -3
- package/build/dts/components/icons/PDP/index.d.ts +0 -10
- package/build/dts/components/icons/Payment/Amazon.d.ts +0 -3
- package/build/dts/components/icons/Payment/Amex.d.ts +0 -3
- package/build/dts/components/icons/Payment/JCB.d.ts +0 -3
- package/build/dts/components/icons/Payment/Klarna.d.ts +0 -3
- package/build/dts/components/icons/Payment/MasterCard.d.ts +0 -3
- package/build/dts/components/icons/Payment/Paypal.d.ts +0 -3
- package/build/dts/components/icons/Payment/Visa.d.ts +0 -3
- package/build/dts/components/icons/Payment/index.d.ts +0 -7
- package/build/dts/components/icons/SlideDots/SlideDot.d.ts +0 -3
- package/build/dts/components/icons/SlideDots/index.d.ts +0 -1
- package/build/dts/components/icons/SocialMedia/Facebook.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/Instagram.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/Twitter.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/Youtube.d.ts +0 -3
- package/build/dts/components/icons/SocialMedia/index.d.ts +0 -7
- package/build/dts/components/icons/index.d.ts +0 -27
- package/build/dts/components/index.d.ts +0 -48
- package/build/dts/components/input/base/BaseInput.d.ts +0 -14
- package/build/dts/components/input/base/BaseInput.stories.d.ts +0 -9
- package/build/dts/components/input/base/BaseInput.test.d.ts +0 -1
- package/build/dts/components/input/base/Error.d.ts +0 -6
- package/build/dts/components/input/base/Styled.d.ts +0 -31
- package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +0 -13
- package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +0 -9
- package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +0 -1
- package/build/dts/components/input/basePlusButton/Success.d.ts +0 -6
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +0 -7
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +0 -9
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +0 -1
- package/build/dts/components/input/custom/Custom.d.ts +0 -8
- package/build/dts/components/input/custom/Custom.stories.d.ts +0 -9
- package/build/dts/components/input/custom/Custom.test.d.ts +0 -1
- package/build/dts/components/input/index.d.ts +0 -7
- package/build/dts/components/input/label/Label.d.ts +0 -15
- package/build/dts/components/input/label/Label.stories.d.ts +0 -9
- package/build/dts/components/input/label/Label.test.d.ts +0 -1
- package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +0 -10
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +0 -12
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +0 -8
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +0 -1
- package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +0 -8
- package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +0 -8
- package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +0 -1
- package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +0 -9
- package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +0 -1
- package/build/dts/components/offer-banner/OfferBanner.d.ts +0 -15
- package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +0 -9
- package/build/dts/components/offer-banner/OfferBanner.test.d.ts +0 -1
- package/build/dts/components/order-bar/OrderBar.d.ts +0 -17
- package/build/dts/components/order-bar/OrderBar.stories.d.ts +0 -9
- package/build/dts/components/order-bar/OrderBar.test.d.ts +0 -1
- package/build/dts/components/pagination/Pagination.d.ts +0 -11
- package/build/dts/components/pagination/Pagination.stories.d.ts +0 -9
- package/build/dts/components/pagination/Pagination.test.d.ts +0 -1
- package/build/dts/components/pagination/styles.d.ts +0 -29
- package/build/dts/components/payment-methods/PaymentMethod.d.ts +0 -20
- package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +0 -13
- package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +0 -1
- package/build/dts/components/pricing/discount/DiscountTag.d.ts +0 -21
- package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +0 -23
- package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +0 -1
- package/build/dts/components/pricing/index.d.ts +0 -2
- package/build/dts/components/pricing/price/PriceLabel.d.ts +0 -11
- package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +0 -23
- package/build/dts/components/pricing/price/PriceLabel.test.d.ts +0 -1
- package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +0 -20
- package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +0 -11
- package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +0 -1
- package/build/dts/components/progress-bar/ProgressBar.d.ts +0 -8
- package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +0 -8
- package/build/dts/components/progress-bar/ProgressBar.test.d.ts +0 -1
- package/build/dts/components/quantityPicker/QuantityPicker.d.ts +0 -6
- package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +0 -9
- package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +0 -1
- package/build/dts/components/radio/container/group.d.ts +0 -12
- package/build/dts/components/radio/container/group.stories.d.ts +0 -23
- package/build/dts/components/radio/container/group.test.d.ts +0 -1
- package/build/dts/components/radio/index.d.ts +0 -1
- package/build/dts/components/radio/input/radio.d.ts +0 -13
- package/build/dts/components/radio/input/radio.stories.d.ts +0 -23
- package/build/dts/components/radio/input/radio.test.d.ts +0 -1
- package/build/dts/components/radio/input/styles.d.ts +0 -13
- package/build/dts/components/rating/Rating.d.ts +0 -9
- package/build/dts/components/rating/Rating.stories.d.ts +0 -24
- package/build/dts/components/rating/Rating.test.d.ts +0 -1
- package/build/dts/components/rating/starList/StarList.d.ts +0 -9
- package/build/dts/components/rating/starList/StarList.stories.d.ts +0 -24
- package/build/dts/components/rating/starList/StarList.test.d.ts +0 -1
- package/build/dts/components/rating/starList/styles.d.ts +0 -12
- package/build/dts/components/rating/styles.d.ts +0 -13
- package/build/dts/components/review/Review.d.ts +0 -19
- package/build/dts/components/review/Review.stories.d.ts +0 -9
- package/build/dts/components/review/Review.test.d.ts +0 -1
- package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +0 -18
- package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +0 -9
- package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +0 -1
- package/build/dts/components/search-bar/ClearButton.d.ts +0 -6
- package/build/dts/components/search-bar/ClearButton.test.d.ts +0 -1
- package/build/dts/components/search-bar/Footer.d.ts +0 -7
- package/build/dts/components/search-bar/Input.d.ts +0 -9
- package/build/dts/components/search-bar/ProductItem.d.ts +0 -8
- package/build/dts/components/search-bar/ProductItem.test.d.ts +0 -1
- package/build/dts/components/search-bar/ResultsPanel.d.ts +0 -12
- package/build/dts/components/search-bar/ResultsPanel.test.d.ts +0 -1
- package/build/dts/components/search-bar/SearchBar.d.ts +0 -11
- package/build/dts/components/search-bar/SearchBar.stories.d.ts +0 -7
- package/build/dts/components/search-bar/SearchBar.test.d.ts +0 -1
- package/build/dts/components/search-bar/SearchControl.d.ts +0 -7
- package/build/dts/components/search-bar/SearchControl.test.d.ts +0 -1
- package/build/dts/components/search-bar/index.d.ts +0 -1
- package/build/dts/components/selector/simple/SelectorSecondary.d.ts +0 -4
- package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +0 -23
- package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +0 -1
- package/build/dts/components/selector/simple/SimpleSelector.d.ts +0 -11
- package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +0 -1
- package/build/dts/components/shared/button/BaseButton.d.ts +0 -13
- package/build/dts/components/shared/button/BaseButton.stories.d.ts +0 -14
- package/build/dts/components/shared/card/Card.d.ts +0 -18
- package/build/dts/components/shared/card/Card.stories.d.ts +0 -7
- package/build/dts/components/shared/card/Card.test.d.ts +0 -1
- package/build/dts/components/shared/card/CardBody.d.ts +0 -5
- package/build/dts/components/shared/card/CardSection.d.ts +0 -6
- package/build/dts/components/shared/card/index.d.ts +0 -2
- package/build/dts/components/shared/image/Image.d.ts +0 -14
- package/build/dts/components/shared/image/Image.test.d.ts +0 -1
- package/build/dts/components/shared/label/label.d.ts +0 -13
- package/build/dts/components/shared/label/label.test.d.ts +0 -1
- package/build/dts/components/shared/label/styles.d.ts +0 -7
- package/build/dts/components/shared/select/BaseSelect.d.ts +0 -16
- package/build/dts/components/shared/select/BaseSelect.stories.d.ts +0 -11
- package/build/dts/components/shared/select/BaseSelectButton.d.ts +0 -17
- package/build/dts/components/shared/select/BaseSelectOption.d.ts +0 -22
- package/build/dts/components/shared/select/BaseSelectOptions.d.ts +0 -7
- package/build/dts/components/size/guide/SizeFitGuide.d.ts +0 -9
- package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +0 -9
- package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +0 -1
- package/build/dts/components/size/selector/SizeSelector.d.ts +0 -8
- package/build/dts/components/size/selector/SizeSelector.stories.d.ts +0 -7
- package/build/dts/components/size/selector/SizeSelector.test.d.ts +0 -1
- package/build/dts/components/size-table/SizeTable.d.ts +0 -6
- package/build/dts/components/size-table/SizeTable.stories.d.ts +0 -9
- package/build/dts/components/size-table/SizeTable.test.d.ts +0 -1
- package/build/dts/components/slider/ArrowButton.d.ts +0 -14
- package/build/dts/components/slider/SliderNatigation.test.d.ts +0 -1
- package/build/dts/components/slider/SliderNavigation.d.ts +0 -17
- package/build/dts/components/slider/SliderNavigation.stories.d.ts +0 -9
- package/build/dts/components/slider/StyledSlider.d.ts +0 -16
- package/build/dts/components/spinner/Spinner.d.ts +0 -10
- package/build/dts/components/spinner/Spinner.stories.d.ts +0 -9
- package/build/dts/components/spinner/Spinner.test.d.ts +0 -1
- package/build/dts/components/tag/Tag.d.ts +0 -7
- package/build/dts/components/tag/Tag.test.d.ts +0 -1
- package/build/dts/components/tag/index.d.ts +0 -3
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +0 -8
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +0 -22
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +0 -1
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +0 -9
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +0 -22
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +0 -1
- package/build/dts/components/text/Text.d.ts +0 -98
- package/build/dts/components/text/Text.stories.d.ts +0 -16
- package/build/dts/components/text-button/TextButton.d.ts +0 -13
- package/build/dts/components/text-button/TextButton.stories.d.ts +0 -58
- package/build/dts/components/text-button/TextButton.test.d.ts +0 -1
- package/build/dts/components/timer/Timer.d.ts +0 -13
- package/build/dts/components/timer/Timer.stories.d.ts +0 -9
- package/build/dts/components/timer/Timer.test.d.ts +0 -1
- package/build/dts/components/tooltip/Arrow.d.ts +0 -6
- package/build/dts/components/tooltip/Styled.d.ts +0 -56
- package/build/dts/components/tooltip/Tooltip.d.ts +0 -15
- package/build/dts/components/tooltip/Tooltip.stories.d.ts +0 -35
- package/build/dts/components/tooltip/Tooltip.test.d.ts +0 -1
- package/build/dts/components/tooltip/utils.d.ts +0 -7
- package/build/dts/components/totals/index.d.ts +0 -5
- package/build/dts/components/totals/subtotal/Subtotal.d.ts +0 -22
- package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +0 -9
- package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +0 -1
- package/build/dts/components/totals/total/Total.d.ts +0 -38
- package/build/dts/components/totals/total/Total.stories.d.ts +0 -9
- package/build/dts/components/totals/total/Total.test.d.ts +0 -1
- package/build/dts/config/breakpoints.d.ts +0 -5
- package/build/dts/core/theme/Theme.test.d.ts +0 -1
- package/build/dts/core/theme/shapermint.theme.d.ts +0 -3
- package/build/dts/core/theme/theme.helpers.d.ts +0 -13
- package/build/dts/core/theme/truekind.theme.d.ts +0 -3
- package/build/dts/hooks/WindowDimensions.d.ts +0 -8
- package/build/dts/hooks/click-outside.d.ts +0 -3
- package/build/dts/hooks/index.d.ts +0 -3
- package/build/dts/index.d.ts +0 -5
- package/build/dts/setupTests.d.ts +0 -1
- package/build/dts/types/enums.d.ts +0 -21
- package/build/dts/types/types.d.ts +0 -81
- package/build/dts/utils/dateFormatter/dateFormatter.d.ts +0 -1
- package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +0 -1
- package/build/dts/utils/decimalParser/decimalParser.d.ts +0 -4
- package/build/dts/utils/decimalParser/decimalParser.test.d.ts +0 -1
- package/build/dts/utils/index.d.ts +0 -4
- package/build/dts/utils/media.d.ts +0 -7
- package/build/dts/utils/simulateClick/simulateClick.d.ts +0 -1
- package/build/dts/utils/simulateClick/simulateClick.test.d.ts +0 -1
- package/build/dts/utils/sliceString/sliceString.d.ts +0 -1
- package/build/dts/utils/sliceString/sliceString.test.d.ts +0 -1
- package/build/dts/utils/validations/validations.d.ts +0 -5
- package/build/dts/utils/validations/validations.test.d.ts +0 -1
package/build/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React, { ReactNode, FC,
|
|
2
|
+
import React, { ReactNode, FC, ElementType, CSSProperties, AriaAttributes, AnchorHTMLAttributes, LabelHTMLAttributes, 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 } from 'src/types/types';
|
|
6
|
-
import { ThemeBreakpoints as ThemeBreakpoints$1 } from 'src/core/theme/Theme';
|
|
7
5
|
|
|
8
6
|
declare enum CardSectionType {
|
|
9
7
|
Header = 0,
|
|
@@ -27,7 +25,7 @@ declare enum InputValidationType {
|
|
|
27
25
|
Empty = 2
|
|
28
26
|
}
|
|
29
27
|
|
|
30
|
-
interface IconProps {
|
|
28
|
+
interface IconProps$1 {
|
|
31
29
|
width?: number;
|
|
32
30
|
height?: number;
|
|
33
31
|
fill?: string;
|
|
@@ -76,7 +74,7 @@ declare type ImageType = {
|
|
|
76
74
|
imageUrl: string;
|
|
77
75
|
alt: string;
|
|
78
76
|
};
|
|
79
|
-
interface IconWithOpacityProps extends IconProps {
|
|
77
|
+
interface IconWithOpacityProps extends IconProps$1 {
|
|
80
78
|
opacity?: number;
|
|
81
79
|
}
|
|
82
80
|
interface WithTestId {
|
|
@@ -107,7 +105,7 @@ interface SearchBarOptionItem {
|
|
|
107
105
|
title: string;
|
|
108
106
|
}
|
|
109
107
|
|
|
110
|
-
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
108
|
+
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
111
109
|
|
|
112
110
|
declare const Custom_SixtyDaysGuarantee: typeof SixtyDaysGuarantee;
|
|
113
111
|
declare namespace Custom {
|
|
@@ -116,22 +114,22 @@ declare namespace Custom {
|
|
|
116
114
|
};
|
|
117
115
|
}
|
|
118
116
|
|
|
119
|
-
declare const Check: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
117
|
+
declare const Check: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
120
118
|
|
|
121
|
-
declare const ClearLight: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
119
|
+
declare const ClearLight: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
122
120
|
|
|
123
|
-
declare const LightExclamation: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
121
|
+
declare const LightExclamation: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
124
122
|
|
|
125
|
-
interface LightCheckProps extends IconProps {
|
|
123
|
+
interface LightCheckProps extends IconProps$1 {
|
|
126
124
|
strokeWidth?: number;
|
|
127
125
|
}
|
|
128
126
|
declare const LightCheck: ({ height, width, fill, strokeWidth }: LightCheckProps) => JSX.Element;
|
|
129
127
|
|
|
130
|
-
declare const Question: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
128
|
+
declare const Question: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
131
129
|
|
|
132
|
-
declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
130
|
+
declare const Close: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
133
131
|
|
|
134
|
-
declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
132
|
+
declare const Trash: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
135
133
|
|
|
136
134
|
declare const Actions_Check: typeof Check;
|
|
137
135
|
declare const Actions_ClearLight: typeof ClearLight;
|
|
@@ -154,16 +152,16 @@ declare namespace Actions {
|
|
|
154
152
|
};
|
|
155
153
|
}
|
|
156
154
|
|
|
157
|
-
declare const FitPredictor$1: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
155
|
+
declare const FitPredictor$1: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
158
156
|
|
|
159
|
-
interface LoadingProps extends IconProps {
|
|
157
|
+
interface LoadingProps extends IconProps$1 {
|
|
160
158
|
backgroundColor: string;
|
|
161
159
|
}
|
|
162
160
|
declare const Loading: ({ height, width, fill, backgroundColor }: LoadingProps) => JSX.Element;
|
|
163
161
|
|
|
164
|
-
declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
|
|
162
|
+
declare const Shapermint: ({ height, width }: IconProps$1) => JSX.Element;
|
|
165
163
|
|
|
166
|
-
declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
|
|
164
|
+
declare const McAfee: ({ height, width }: IconProps$1) => JSX.Element;
|
|
167
165
|
|
|
168
166
|
type Other_LoadingProps = LoadingProps;
|
|
169
167
|
declare const Other_Loading: typeof Loading;
|
|
@@ -179,19 +177,19 @@ declare namespace Other {
|
|
|
179
177
|
};
|
|
180
178
|
}
|
|
181
179
|
|
|
182
|
-
declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
180
|
+
declare const ChevronDown: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
183
181
|
|
|
184
182
|
declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
185
183
|
|
|
186
184
|
declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
187
185
|
|
|
188
|
-
declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
186
|
+
declare const ChevronRightVariant: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
189
187
|
|
|
190
|
-
declare const ChevronUp: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
188
|
+
declare const ChevronUp: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
191
189
|
|
|
192
|
-
declare const ChevronUpSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
190
|
+
declare const ChevronUpSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
193
191
|
|
|
194
|
-
declare const CircleUp: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
192
|
+
declare const CircleUp: ({ width, height, fill }: IconProps$1) => JSX.Element;
|
|
195
193
|
|
|
196
194
|
declare const Arrows_ChevronDown: typeof ChevronDown;
|
|
197
195
|
declare const Arrows_ChevronLeft: typeof ChevronLeft;
|
|
@@ -212,25 +210,25 @@ declare namespace Arrows {
|
|
|
212
210
|
};
|
|
213
211
|
}
|
|
214
212
|
|
|
215
|
-
declare const Clock: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
213
|
+
declare const Clock: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
216
214
|
|
|
217
|
-
declare const FlagUSA: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
215
|
+
declare const FlagUSA: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
218
216
|
|
|
219
|
-
declare const Minus: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
217
|
+
declare const Minus: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
220
218
|
|
|
221
|
-
declare const Plus: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
219
|
+
declare const Plus: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
222
220
|
|
|
223
|
-
declare const Rule: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
221
|
+
declare const Rule: ({ width, height, fill }: IconProps$1) => JSX.Element;
|
|
224
222
|
|
|
225
|
-
declare const Star: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
223
|
+
declare const Star: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
226
224
|
|
|
227
|
-
declare const StarEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
225
|
+
declare const StarEmpty: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
228
226
|
|
|
229
|
-
declare const StarHalf: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
227
|
+
declare const StarHalf: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
230
228
|
|
|
231
|
-
declare const Stopwatch: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
229
|
+
declare const Stopwatch: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
232
230
|
|
|
233
|
-
declare const Shipping: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
231
|
+
declare const Shipping: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
234
232
|
|
|
235
233
|
declare const PDP_Clock: typeof Clock;
|
|
236
234
|
declare const PDP_FlagUSA: typeof FlagUSA;
|
|
@@ -257,19 +255,19 @@ declare namespace PDP {
|
|
|
257
255
|
};
|
|
258
256
|
}
|
|
259
257
|
|
|
260
|
-
declare const Facebook: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
258
|
+
declare const Facebook: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
261
259
|
|
|
262
|
-
declare const FacebookSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
260
|
+
declare const FacebookSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
263
261
|
|
|
264
|
-
declare const Instagram: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
262
|
+
declare const Instagram: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
265
263
|
|
|
266
|
-
declare const InstagramSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
264
|
+
declare const InstagramSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
267
265
|
|
|
268
|
-
declare const Pinterest: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
266
|
+
declare const Pinterest: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
269
267
|
|
|
270
|
-
declare const Twitter: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
268
|
+
declare const Twitter: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
271
269
|
|
|
272
|
-
declare const Youtube: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
270
|
+
declare const Youtube: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
273
271
|
|
|
274
272
|
declare const SocialMedia_Facebook: typeof Facebook;
|
|
275
273
|
declare const SocialMedia_FacebookSolid: typeof FacebookSolid;
|
|
@@ -290,13 +288,13 @@ declare namespace SocialMedia {
|
|
|
290
288
|
};
|
|
291
289
|
}
|
|
292
290
|
|
|
293
|
-
declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
291
|
+
declare const Search: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
294
292
|
|
|
295
|
-
declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
293
|
+
declare const User: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
296
294
|
|
|
297
|
-
declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
295
|
+
declare const ShoppingBag: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
298
296
|
|
|
299
|
-
declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
297
|
+
declare const MapMarker: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
300
298
|
|
|
301
299
|
declare const Navigation_Search: typeof Search;
|
|
302
300
|
declare const Navigation_User: typeof User;
|
|
@@ -311,26 +309,51 @@ declare namespace Navigation {
|
|
|
311
309
|
};
|
|
312
310
|
}
|
|
313
311
|
|
|
314
|
-
declare const QuestionCircle: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
312
|
+
declare const QuestionCircle: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
313
|
+
|
|
314
|
+
declare const Messenger: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
315
|
+
|
|
316
|
+
declare const Comment: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
317
|
+
|
|
318
|
+
interface IconProps {
|
|
319
|
+
width?: number;
|
|
320
|
+
height?: number;
|
|
321
|
+
fill?: string;
|
|
322
|
+
title?: string;
|
|
323
|
+
}
|
|
324
|
+
declare const Message: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
315
325
|
|
|
316
|
-
|
|
326
|
+
interface IconWrapperProps {
|
|
327
|
+
width?: number;
|
|
328
|
+
height?: number;
|
|
329
|
+
title?: string;
|
|
330
|
+
viewBoxX: number;
|
|
331
|
+
viewBoxY: number;
|
|
332
|
+
children: React.ReactNode;
|
|
333
|
+
testid?: string;
|
|
334
|
+
fill?: string;
|
|
335
|
+
}
|
|
317
336
|
|
|
318
|
-
declare const
|
|
337
|
+
declare const Mail: ({ height, width }: IconWrapperProps) => JSX.Element;
|
|
319
338
|
|
|
320
339
|
declare const Messaging_QuestionCircle: typeof QuestionCircle;
|
|
321
340
|
declare const Messaging_Messenger: typeof Messenger;
|
|
322
341
|
declare const Messaging_Comment: typeof Comment;
|
|
342
|
+
declare const Messaging_Message: typeof Message;
|
|
343
|
+
declare const Messaging_Mail: typeof Mail;
|
|
323
344
|
declare namespace Messaging {
|
|
324
345
|
export {
|
|
325
346
|
Messaging_QuestionCircle as QuestionCircle,
|
|
326
347
|
Messaging_Messenger as Messenger,
|
|
327
348
|
Messaging_Comment as Comment,
|
|
349
|
+
Messaging_Message as Message,
|
|
350
|
+
Messaging_Mail as Mail,
|
|
328
351
|
};
|
|
329
352
|
}
|
|
330
353
|
|
|
331
|
-
declare const AppleStore: ({ height, width }: IconProps) => JSX.Element;
|
|
354
|
+
declare const AppleStore: ({ height, width }: IconProps$1) => JSX.Element;
|
|
332
355
|
|
|
333
|
-
declare const GooglePlay: ({ height, width }: IconProps) => JSX.Element;
|
|
356
|
+
declare const GooglePlay: ({ height, width }: IconProps$1) => JSX.Element;
|
|
334
357
|
|
|
335
358
|
declare const Download_AppleStore: typeof AppleStore;
|
|
336
359
|
declare const Download_GooglePlay: typeof GooglePlay;
|
|
@@ -341,19 +364,19 @@ declare namespace Download {
|
|
|
341
364
|
};
|
|
342
365
|
}
|
|
343
366
|
|
|
344
|
-
declare const Visa: ({ height, width }: IconProps) => JSX.Element;
|
|
367
|
+
declare const Visa: ({ height, width }: IconProps$1) => JSX.Element;
|
|
345
368
|
|
|
346
|
-
declare const MasterCard: ({ height, width }: IconProps) => JSX.Element;
|
|
369
|
+
declare const MasterCard: ({ height, width }: IconProps$1) => JSX.Element;
|
|
347
370
|
|
|
348
|
-
declare const AMEX: ({ height, width }: IconProps) => JSX.Element;
|
|
371
|
+
declare const AMEX: ({ height, width }: IconProps$1) => JSX.Element;
|
|
349
372
|
|
|
350
|
-
declare const JCB: ({ height, width }: IconProps) => JSX.Element;
|
|
373
|
+
declare const JCB: ({ height, width }: IconProps$1) => JSX.Element;
|
|
351
374
|
|
|
352
|
-
declare const Paypal: ({ height, width }: IconProps) => JSX.Element;
|
|
375
|
+
declare const Paypal: ({ height, width }: IconProps$1) => JSX.Element;
|
|
353
376
|
|
|
354
|
-
declare const Klarna: ({ height, width }: IconProps) => JSX.Element;
|
|
377
|
+
declare const Klarna: ({ height, width }: IconProps$1) => JSX.Element;
|
|
355
378
|
|
|
356
|
-
declare const Amazon: ({ height, width }: IconProps) => JSX.Element;
|
|
379
|
+
declare const Amazon: ({ height, width }: IconProps$1) => JSX.Element;
|
|
357
380
|
|
|
358
381
|
declare const Payment_Visa: typeof Visa;
|
|
359
382
|
declare const Payment_MasterCard: typeof MasterCard;
|
|
@@ -383,7 +406,7 @@ declare namespace SlideDots {
|
|
|
383
406
|
};
|
|
384
407
|
}
|
|
385
408
|
|
|
386
|
-
declare type IconType = ({ height, width, fill }: IconProps) => JSX.Element;
|
|
409
|
+
declare type IconType = ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
387
410
|
declare const Icon: {
|
|
388
411
|
Custom: typeof Custom;
|
|
389
412
|
Arrows: typeof Arrows;
|
|
@@ -448,11 +471,13 @@ declare type SimpleDropdownProps<T> = CommonProps<T> & ConditionalProps<T>;
|
|
|
448
471
|
declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, }: SimpleDropdownProps<T>): JSX.Element;
|
|
449
472
|
|
|
450
473
|
interface SizeSelectorProps {
|
|
474
|
+
label: string;
|
|
451
475
|
sizes: SizeOption[];
|
|
452
476
|
selectedValue: SizeOption;
|
|
453
477
|
onChange: (size: SizeOption) => void;
|
|
478
|
+
inline?: boolean;
|
|
454
479
|
}
|
|
455
|
-
declare const SizeSelector: ({ sizes, selectedValue, onChange }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
480
|
+
declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
456
481
|
|
|
457
482
|
interface SizeFitGuideProps {
|
|
458
483
|
title: string;
|
|
@@ -470,6 +495,7 @@ interface BaseButtonProps {
|
|
|
470
495
|
type?: ButtonType;
|
|
471
496
|
onClick: () => void;
|
|
472
497
|
className?: string;
|
|
498
|
+
inline?: boolean;
|
|
473
499
|
}
|
|
474
500
|
|
|
475
501
|
declare type BaseProps = Pick<BaseButtonProps, 'disabled' | 'type' | 'onClick'>;
|
|
@@ -507,8 +533,9 @@ interface ColorPickerProps {
|
|
|
507
533
|
selectedValue?: ColorPickerOption;
|
|
508
534
|
label: string;
|
|
509
535
|
onChange: (color: ColorPickerOption) => void;
|
|
536
|
+
inline?: boolean;
|
|
510
537
|
}
|
|
511
|
-
declare const SingleColorPicker: ({ options, selectedValue, label, onChange }: ColorPickerProps) => JSX.Element;
|
|
538
|
+
declare const SingleColorPicker: ({ options, selectedValue, label, onChange, inline, }: ColorPickerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
512
539
|
|
|
513
540
|
interface MultiColorPickerProps {
|
|
514
541
|
options?: ColorPickerOption[];
|
|
@@ -581,891 +608,943 @@ interface AccordionProps {
|
|
|
581
608
|
}
|
|
582
609
|
declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
583
610
|
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
611
|
+
declare const ThemeProvider: FC<{
|
|
612
|
+
theme: Theme;
|
|
613
|
+
children: ReactNode;
|
|
614
|
+
}>;
|
|
615
|
+
declare const useTheme: () => Theme;
|
|
616
|
+
declare const ThemeVariables: FC<{
|
|
617
|
+
theme: Theme;
|
|
618
|
+
Container?: ElementType;
|
|
619
|
+
}>;
|
|
620
|
+
declare const AssetsProvider: FC<{
|
|
621
|
+
assets: ThemeAssets;
|
|
622
|
+
}>;
|
|
623
|
+
declare const useThemeAssets: () => ThemeAssets;
|
|
624
|
+
declare type Theme = {
|
|
597
625
|
name: string;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
interface MinimalisticProps {
|
|
616
|
-
backgroundColor?: string;
|
|
617
|
-
borderColor?: string;
|
|
618
|
-
originalPrice: string;
|
|
619
|
-
price: string;
|
|
620
|
-
savingPrice: string;
|
|
621
|
-
getMorePayLessText: string;
|
|
622
|
-
youAreSavingText: string;
|
|
623
|
-
getQtyForText: string;
|
|
624
|
-
discount: number;
|
|
625
|
-
offText: string;
|
|
626
|
-
widthAuto?: boolean;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
declare const Bundle: {
|
|
630
|
-
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
631
|
-
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
interface CategoryTagProps {
|
|
635
|
-
text: string;
|
|
636
|
-
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
637
|
-
className?: string;
|
|
638
|
-
}
|
|
639
|
-
declare const CategoryTag: ({ text, size, className }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
640
|
-
|
|
641
|
-
interface SeasonOfferTagProps {
|
|
642
|
-
text: string;
|
|
643
|
-
backgroundColor?: string;
|
|
644
|
-
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
645
|
-
className?: string;
|
|
646
|
-
}
|
|
647
|
-
declare const SeasonOfferTag: ({ text, backgroundColor, size, className, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
648
|
-
|
|
649
|
-
interface TimeProps {
|
|
650
|
-
hours: number;
|
|
651
|
-
minutes: number;
|
|
652
|
-
seconds: number;
|
|
653
|
-
}
|
|
654
|
-
interface TimerProps extends TimeProps {
|
|
655
|
-
onTimeUp: () => void;
|
|
656
|
-
}
|
|
657
|
-
declare const Timer: ({ onTimeUp, ...rest }: TimerProps) => JSX.Element;
|
|
658
|
-
|
|
659
|
-
interface BaseInputProps {
|
|
660
|
-
defaultValue?: string;
|
|
661
|
-
maxLength?: number;
|
|
662
|
-
placeholder?: string;
|
|
663
|
-
label?: string;
|
|
664
|
-
onChange?: (value: string) => void;
|
|
665
|
-
onValidation?: (status: InputValidationType) => void;
|
|
666
|
-
disabled?: boolean;
|
|
667
|
-
required?: string;
|
|
668
|
-
children?: React.ReactNode;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
interface BasePlusIconProps extends BaseInputProps {
|
|
672
|
-
Icon: IconType;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
declare type BaseInputPropsWithoutLabel = Omit<BaseInputProps, 'label'>;
|
|
676
|
-
interface BasePlusButtonProps extends BaseInputPropsWithoutLabel {
|
|
677
|
-
onClick: () => void;
|
|
678
|
-
onClickEdit: () => void;
|
|
679
|
-
text: string;
|
|
680
|
-
success: boolean;
|
|
681
|
-
editText: string;
|
|
682
|
-
successText: string;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
interface CustomProps extends BaseInputProps {
|
|
686
|
-
onClick: () => void;
|
|
687
|
-
text: string;
|
|
688
|
-
type: 'primary' | 'secondary';
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
declare const Input: {
|
|
692
|
-
Simple: ({ onChange, defaultValue, label, children, required, onValidation, ...rest }: BaseInputProps) => JSX.Element;
|
|
693
|
-
Custom: ({ onClick, text, type, ...rest }: CustomProps) => JSX.Element;
|
|
694
|
-
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
695
|
-
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
interface PaymentMethodsProps {
|
|
699
|
-
Icon: IconType;
|
|
700
|
-
width: string;
|
|
701
|
-
height: string;
|
|
702
|
-
onClick?: () => void;
|
|
703
|
-
}
|
|
704
|
-
declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
|
|
705
|
-
|
|
706
|
-
interface OfferBannerProps {
|
|
707
|
-
discountAppliedText: string;
|
|
708
|
-
backgroundColor: string;
|
|
709
|
-
}
|
|
710
|
-
declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
|
|
711
|
-
|
|
712
|
-
declare type SubtotalOption = {
|
|
713
|
-
label: string;
|
|
714
|
-
value: string;
|
|
626
|
+
fontSizes: number[];
|
|
627
|
+
fontWeights: number[];
|
|
628
|
+
lineHeights: number[];
|
|
629
|
+
mediaQueries: ThemeBreakpoints;
|
|
630
|
+
radius: {
|
|
631
|
+
regular: string;
|
|
632
|
+
};
|
|
633
|
+
zIndex: {
|
|
634
|
+
modal: number;
|
|
635
|
+
overlay: number;
|
|
636
|
+
};
|
|
637
|
+
colors: ThemeColors;
|
|
638
|
+
component: ThemeComponent;
|
|
639
|
+
typography: ThemeTypography;
|
|
640
|
+
fonts: ThemeFonts;
|
|
641
|
+
assets: ThemeAssets;
|
|
715
642
|
};
|
|
716
|
-
declare type
|
|
717
|
-
|
|
718
|
-
|
|
643
|
+
declare type ThemeBreakpoints = {
|
|
644
|
+
mobile: number;
|
|
645
|
+
desktop: number;
|
|
719
646
|
};
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
647
|
+
declare type ThemeBasicPallete = {
|
|
648
|
+
color: string;
|
|
649
|
+
contrast: string;
|
|
650
|
+
};
|
|
651
|
+
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
652
|
+
soft: ThemeBasicPallete;
|
|
653
|
+
};
|
|
654
|
+
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
655
|
+
20: ThemeColorPallete;
|
|
656
|
+
40: ThemeColorPallete;
|
|
657
|
+
60: ThemeColorPallete;
|
|
658
|
+
80: ThemeColorPallete;
|
|
659
|
+
};
|
|
660
|
+
declare type ThemeColors = {
|
|
661
|
+
pallete: {
|
|
662
|
+
primary: ThemeColorPrimaryPallete;
|
|
663
|
+
secondary: ThemeColorPrimaryPallete;
|
|
664
|
+
} & Partial<Record<string, ThemeColorPallete>>;
|
|
665
|
+
shades: {
|
|
666
|
+
black: ThemeBasicPallete;
|
|
667
|
+
white: ThemeBasicPallete;
|
|
668
|
+
5: ThemeBasicPallete;
|
|
669
|
+
10: ThemeBasicPallete;
|
|
670
|
+
50: ThemeBasicPallete;
|
|
671
|
+
100: ThemeBasicPallete;
|
|
672
|
+
150: ThemeBasicPallete;
|
|
673
|
+
200: ThemeBasicPallete;
|
|
674
|
+
250: ThemeBasicPallete;
|
|
675
|
+
300: ThemeBasicPallete;
|
|
676
|
+
350: ThemeBasicPallete;
|
|
677
|
+
400: ThemeBasicPallete;
|
|
678
|
+
450: ThemeBasicPallete;
|
|
679
|
+
500: ThemeBasicPallete;
|
|
680
|
+
550: ThemeBasicPallete;
|
|
681
|
+
600: ThemeBasicPallete;
|
|
682
|
+
650: ThemeBasicPallete;
|
|
683
|
+
700: ThemeBasicPallete;
|
|
684
|
+
750: ThemeBasicPallete;
|
|
685
|
+
800: ThemeBasicPallete;
|
|
686
|
+
850: ThemeBasicPallete;
|
|
687
|
+
900: ThemeBasicPallete;
|
|
688
|
+
950: ThemeBasicPallete;
|
|
689
|
+
990: ThemeBasicPallete;
|
|
729
690
|
};
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
highlightColor?: string;
|
|
736
|
-
saving?: {
|
|
737
|
-
amount: string;
|
|
738
|
-
savingText: string;
|
|
691
|
+
semantic: {
|
|
692
|
+
positive: ThemeBasicPallete;
|
|
693
|
+
urgent: ThemeBasicPallete;
|
|
694
|
+
attention: ThemeBasicPallete;
|
|
695
|
+
informative: ThemeBasicPallete;
|
|
739
696
|
};
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
declare type detail = {
|
|
748
|
-
title: string;
|
|
749
|
-
details: string;
|
|
750
|
-
};
|
|
751
|
-
interface orderUpdate extends detail {
|
|
752
|
-
keepMeUpdated: {
|
|
753
|
-
title: string;
|
|
754
|
-
onClick: () => void;
|
|
697
|
+
border: {
|
|
698
|
+
color: string;
|
|
699
|
+
disabled: string;
|
|
700
|
+
highlight: string;
|
|
755
701
|
};
|
|
756
|
-
|
|
757
|
-
interface DeliveryDetailsProps {
|
|
758
|
-
deliveryDetailsText: string;
|
|
759
|
-
arrivingBy: detail;
|
|
760
|
-
shippingTo: detail;
|
|
761
|
-
instantOrderUpdate: orderUpdate;
|
|
762
|
-
note?: {
|
|
763
|
-
importantNoteText: string;
|
|
764
|
-
text: string;
|
|
765
|
-
accentColor: string;
|
|
766
|
-
backgroundColor: string;
|
|
702
|
+
background: {
|
|
767
703
|
color: string;
|
|
704
|
+
disabled: string;
|
|
768
705
|
};
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
interface ScrollToTopProps {
|
|
773
|
-
scrollToTopText: string;
|
|
774
|
-
onClick: () => void;
|
|
775
|
-
}
|
|
776
|
-
declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
|
|
777
|
-
|
|
778
|
-
interface OrderBarProps {
|
|
779
|
-
message: string;
|
|
780
|
-
}
|
|
781
|
-
declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
|
|
782
|
-
|
|
783
|
-
interface TableProps {
|
|
784
|
-
headers: string[];
|
|
785
|
-
data: string[][];
|
|
786
|
-
}
|
|
787
|
-
declare const SizeTable: ({ headers, data }: TableProps) => JSX.Element;
|
|
788
|
-
|
|
789
|
-
interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
|
|
790
|
-
color?: string;
|
|
791
|
-
}
|
|
792
|
-
interface ProductOrderItemProps {
|
|
793
|
-
title: string;
|
|
794
|
-
subtitle: string;
|
|
795
|
-
image: {
|
|
796
|
-
src: string;
|
|
797
|
-
alt: string;
|
|
706
|
+
text: {
|
|
707
|
+
color: string;
|
|
708
|
+
disabled: string;
|
|
798
709
|
};
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
710
|
+
};
|
|
711
|
+
declare type ThemeComponent = {
|
|
712
|
+
button: {
|
|
713
|
+
border: string;
|
|
714
|
+
borderRadius: string;
|
|
715
|
+
fontWeight: number;
|
|
716
|
+
size: {
|
|
717
|
+
small: {
|
|
718
|
+
fontSize: string;
|
|
719
|
+
padding: string;
|
|
720
|
+
};
|
|
721
|
+
medium: {
|
|
722
|
+
fontSize: string;
|
|
723
|
+
padding: string;
|
|
724
|
+
};
|
|
725
|
+
large: {
|
|
726
|
+
fontSize: string;
|
|
727
|
+
padding: string;
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
primary: {
|
|
731
|
+
active: {
|
|
732
|
+
backgroundColor: string;
|
|
733
|
+
color: string;
|
|
734
|
+
};
|
|
735
|
+
hover: {
|
|
736
|
+
backgroundColor: string;
|
|
737
|
+
color: string;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
secondary: {
|
|
741
|
+
active: {
|
|
742
|
+
backgroundColor: string;
|
|
743
|
+
color: string;
|
|
744
|
+
};
|
|
745
|
+
hover: {
|
|
746
|
+
backgroundColor: string;
|
|
747
|
+
color: string;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
803
750
|
};
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
interface ReviewProps {
|
|
808
|
-
reviewerName: string;
|
|
809
|
-
date: Date;
|
|
810
|
-
rating: number;
|
|
811
|
-
stars: {
|
|
751
|
+
input: {
|
|
752
|
+
background: string;
|
|
812
753
|
color: string;
|
|
813
|
-
|
|
754
|
+
placeholderColor: string;
|
|
755
|
+
borderRadius: string;
|
|
756
|
+
fontSize: string;
|
|
757
|
+
fontWeight: number;
|
|
758
|
+
padding: string;
|
|
759
|
+
lineHeight: string;
|
|
760
|
+
border: string;
|
|
761
|
+
boxShadow: string;
|
|
814
762
|
};
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
763
|
+
inputCustom: {
|
|
764
|
+
button: {
|
|
765
|
+
borderRadius: string;
|
|
766
|
+
};
|
|
767
|
+
input: {
|
|
768
|
+
borderRadius: string;
|
|
769
|
+
};
|
|
820
770
|
};
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
771
|
+
selector: {
|
|
772
|
+
size: {
|
|
773
|
+
small: {
|
|
774
|
+
padding: string;
|
|
775
|
+
borderRadius: string;
|
|
776
|
+
};
|
|
777
|
+
medium: {
|
|
778
|
+
padding: string;
|
|
779
|
+
borderRadius: string;
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
default: {
|
|
783
|
+
fontWeight: number;
|
|
784
|
+
border: string;
|
|
785
|
+
background: string;
|
|
786
|
+
color: string;
|
|
787
|
+
};
|
|
788
|
+
hover: {
|
|
789
|
+
fontWeight: number;
|
|
790
|
+
background: string;
|
|
791
|
+
border: string;
|
|
792
|
+
color: string;
|
|
793
|
+
};
|
|
794
|
+
disabled: {
|
|
795
|
+
border: string;
|
|
796
|
+
};
|
|
797
|
+
fontSize: string;
|
|
835
798
|
};
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
interface AmazonPaypalBtnProps {
|
|
858
|
-
onClick: () => void;
|
|
859
|
-
}
|
|
860
|
-
declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
861
|
-
declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
862
|
-
|
|
863
|
-
interface CrossSellCheckboxProps extends rightToLeftProps {
|
|
864
|
-
imageURL: string;
|
|
865
|
-
title: string;
|
|
866
|
-
description: string;
|
|
867
|
-
freeShippingText: string;
|
|
868
|
-
onChange: (checked: Boolean) => void;
|
|
869
|
-
}
|
|
870
|
-
interface rightToLeftProps {
|
|
871
|
-
rightToLeft: boolean;
|
|
872
|
-
}
|
|
873
|
-
declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
|
|
874
|
-
|
|
875
|
-
type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
|
|
876
|
-
declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
|
|
877
|
-
declare namespace index_d {
|
|
878
|
-
export {
|
|
879
|
-
index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
|
|
880
|
-
index_d_CrossSellCheckbox as CrossSellCheckbox,
|
|
881
|
-
};
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
interface ProductItemProps {
|
|
885
|
-
title: string;
|
|
886
|
-
image: ImageProps;
|
|
887
|
-
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
888
|
-
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
889
|
-
tags?: {
|
|
890
|
-
categoryTagText: string;
|
|
891
|
-
seasonOfferTagText: string;
|
|
799
|
+
rating: {
|
|
800
|
+
fontWeight: number;
|
|
801
|
+
size: {
|
|
802
|
+
xsmall: {
|
|
803
|
+
fontSize: string;
|
|
804
|
+
lineHeight: string;
|
|
805
|
+
};
|
|
806
|
+
small: {
|
|
807
|
+
fontSize: string;
|
|
808
|
+
lineHeight: string;
|
|
809
|
+
};
|
|
810
|
+
medium: {
|
|
811
|
+
fontSize: string;
|
|
812
|
+
lineHeight: string;
|
|
813
|
+
};
|
|
814
|
+
large: {
|
|
815
|
+
fontSize: string;
|
|
816
|
+
lineHeight: string;
|
|
817
|
+
};
|
|
818
|
+
};
|
|
892
819
|
};
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
}
|
|
916
|
-
|
|
820
|
+
card: {
|
|
821
|
+
borderRadius: string;
|
|
822
|
+
};
|
|
823
|
+
radio: {
|
|
824
|
+
borderColor: string;
|
|
825
|
+
background: string;
|
|
826
|
+
size: {
|
|
827
|
+
small: {
|
|
828
|
+
borderWidth: string;
|
|
829
|
+
margin: string;
|
|
830
|
+
height: string;
|
|
831
|
+
active: {
|
|
832
|
+
borderWidth: string;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
medium: {
|
|
836
|
+
borderWidth: string;
|
|
837
|
+
margin: string;
|
|
838
|
+
height: string;
|
|
839
|
+
active: {
|
|
840
|
+
borderWidth: string;
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
large: {
|
|
844
|
+
borderWidth: string;
|
|
845
|
+
margin: string;
|
|
846
|
+
height: string;
|
|
847
|
+
active: {
|
|
848
|
+
borderWidth: string;
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
label: {
|
|
854
|
+
fontSize: {
|
|
855
|
+
small: string;
|
|
856
|
+
medium: string;
|
|
857
|
+
large: string;
|
|
858
|
+
};
|
|
859
|
+
lineHeight: {
|
|
860
|
+
small: string;
|
|
861
|
+
medium: string;
|
|
862
|
+
large: string;
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
checkbox: {
|
|
866
|
+
background: string;
|
|
867
|
+
borderColor: string;
|
|
868
|
+
active: {
|
|
869
|
+
background: string;
|
|
870
|
+
};
|
|
871
|
+
size: {
|
|
872
|
+
large: {
|
|
873
|
+
width: string;
|
|
874
|
+
height: string;
|
|
875
|
+
borderRadius: string;
|
|
876
|
+
borderWidth: string;
|
|
877
|
+
margin: string;
|
|
878
|
+
icon: {
|
|
879
|
+
width: string;
|
|
880
|
+
height: string;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
medium: {
|
|
884
|
+
width: string;
|
|
885
|
+
height: string;
|
|
886
|
+
borderRadius: string;
|
|
887
|
+
borderWidth: string;
|
|
888
|
+
margin: string;
|
|
889
|
+
icon: {
|
|
890
|
+
width: string;
|
|
891
|
+
height: string;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
small: {
|
|
895
|
+
width: string;
|
|
896
|
+
height: string;
|
|
897
|
+
borderRadius: string;
|
|
898
|
+
borderWidth: string;
|
|
899
|
+
margin: string;
|
|
900
|
+
icon: {
|
|
901
|
+
width: string;
|
|
902
|
+
height: string;
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
accordion: {
|
|
908
|
+
variant: {
|
|
909
|
+
box: {
|
|
910
|
+
container: {
|
|
911
|
+
border: string;
|
|
912
|
+
borderColor: string;
|
|
913
|
+
borderRadius: string;
|
|
914
|
+
padding: string;
|
|
915
|
+
};
|
|
916
|
+
summary: {
|
|
917
|
+
fontWeight: number;
|
|
918
|
+
fontSize: string;
|
|
919
|
+
lineHeight: string;
|
|
920
|
+
color: string;
|
|
921
|
+
};
|
|
922
|
+
details: {
|
|
923
|
+
margin: string;
|
|
924
|
+
};
|
|
925
|
+
icon: {
|
|
926
|
+
width: number;
|
|
927
|
+
height: number;
|
|
928
|
+
color: string;
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
simple: {
|
|
932
|
+
container: {
|
|
933
|
+
borderTop: string;
|
|
934
|
+
borderBottom: string;
|
|
935
|
+
borderColor: string;
|
|
936
|
+
borderRadius: string;
|
|
937
|
+
padding: string;
|
|
938
|
+
};
|
|
939
|
+
summary: {
|
|
940
|
+
fontWeight: number;
|
|
941
|
+
fontSize: string;
|
|
942
|
+
lineHeight: string;
|
|
943
|
+
color: string;
|
|
944
|
+
};
|
|
945
|
+
details: {
|
|
946
|
+
margin: string;
|
|
947
|
+
};
|
|
948
|
+
icon: {
|
|
949
|
+
width: number;
|
|
950
|
+
height: number;
|
|
951
|
+
color: string;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
dropdown: {
|
|
957
|
+
borderRadius: string;
|
|
958
|
+
fontSize: string;
|
|
959
|
+
fontWeight: number;
|
|
960
|
+
lineHeight: string;
|
|
961
|
+
padding: string;
|
|
962
|
+
color: string;
|
|
963
|
+
fill: string;
|
|
964
|
+
options: {
|
|
965
|
+
borderColor: string;
|
|
966
|
+
color: string;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
modal: {
|
|
970
|
+
minWidth: string;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
declare type ThemeTypography = {
|
|
974
|
+
config: {
|
|
975
|
+
weight: {
|
|
976
|
+
heavy: number;
|
|
977
|
+
bold: number;
|
|
978
|
+
demi: number;
|
|
979
|
+
regular: number;
|
|
980
|
+
};
|
|
981
|
+
};
|
|
982
|
+
variants: Record<string, CSSProperties>;
|
|
983
|
+
};
|
|
984
|
+
declare type ThemeFonts = {
|
|
985
|
+
url: string;
|
|
986
|
+
config: Array<{
|
|
987
|
+
src: string;
|
|
988
|
+
family: string;
|
|
989
|
+
weight?: number | string;
|
|
990
|
+
style?: string;
|
|
991
|
+
stretch?: string;
|
|
992
|
+
}>;
|
|
993
|
+
};
|
|
994
|
+
declare type ThemeAssets = {
|
|
995
|
+
images: {
|
|
996
|
+
favicon: string;
|
|
997
|
+
logo: string;
|
|
998
|
+
};
|
|
999
|
+
[key: string]: any;
|
|
1000
|
+
};
|
|
917
1001
|
|
|
918
|
-
interface
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
1002
|
+
interface CheckboxProps {
|
|
1003
|
+
disabled?: boolean;
|
|
1004
|
+
onChange: (checked: boolean) => void;
|
|
1005
|
+
size?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1006
|
+
text: string;
|
|
1007
|
+
checked?: boolean;
|
|
1008
|
+
id: string;
|
|
924
1009
|
backgroundColor?: string;
|
|
925
|
-
|
|
926
|
-
position?: 'left' | 'right';
|
|
927
|
-
width?: string;
|
|
1010
|
+
variant: 'primary' | 'secondary';
|
|
928
1011
|
}
|
|
929
|
-
declare const
|
|
1012
|
+
declare const Checkbox: ({ disabled, onChange, size, text, checked, id, variant, }: CheckboxProps) => JSX.Element;
|
|
930
1013
|
|
|
931
|
-
interface
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
1014
|
+
interface RadioGroupInputProps {
|
|
1015
|
+
name: string;
|
|
1016
|
+
options?: RadioGroupOption[];
|
|
1017
|
+
value?: RadioGroupOption;
|
|
1018
|
+
onChange: (value: RadioGroupOption) => void;
|
|
1019
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1020
|
+
disabled?: boolean;
|
|
938
1021
|
}
|
|
939
|
-
declare const
|
|
1022
|
+
declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
940
1023
|
|
|
941
|
-
interface
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
1024
|
+
interface SimpleProps {
|
|
1025
|
+
title: string;
|
|
1026
|
+
freeShippingText: string;
|
|
1027
|
+
price: string;
|
|
1028
|
+
anyQtyForText: string;
|
|
1029
|
+
backgroundColor: string;
|
|
1030
|
+
widthAuto?: boolean;
|
|
1031
|
+
}
|
|
947
1032
|
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1033
|
+
interface MinimalisticProps {
|
|
1034
|
+
backgroundColor?: string;
|
|
1035
|
+
borderColor?: string;
|
|
1036
|
+
originalPrice: string;
|
|
1037
|
+
price: string;
|
|
1038
|
+
savingPrice: string;
|
|
1039
|
+
getMorePayLessText: string;
|
|
1040
|
+
youAreSavingText: string;
|
|
1041
|
+
getQtyForText: string;
|
|
1042
|
+
discount: number;
|
|
1043
|
+
offText: string;
|
|
1044
|
+
widthAuto?: boolean;
|
|
1045
|
+
}
|
|
958
1046
|
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
1047
|
+
declare const Bundle: {
|
|
1048
|
+
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
1049
|
+
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
interface CategoryTagProps {
|
|
1053
|
+
text: string;
|
|
1054
|
+
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1055
|
+
className?: string;
|
|
967
1056
|
}
|
|
968
|
-
declare const
|
|
1057
|
+
declare const CategoryTag: ({ text, size, className }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
969
1058
|
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
weight?: 'bold' | 'demi' | 'regular';
|
|
995
|
-
size?: 'regular';
|
|
996
|
-
underline?: never;
|
|
997
|
-
disabled?: never;
|
|
998
|
-
wide?: never;
|
|
999
|
-
original?: never;
|
|
1000
|
-
allCaps?: never;
|
|
1001
|
-
};
|
|
1002
|
-
declare type TextBodyProps = {
|
|
1003
|
-
variant: 'body';
|
|
1004
|
-
size?: 'regular' | 'small';
|
|
1005
|
-
weight?: 'bold' | 'demi' | 'regular';
|
|
1006
|
-
underline?: never;
|
|
1007
|
-
disabled?: never;
|
|
1008
|
-
wide?: never;
|
|
1009
|
-
original?: never;
|
|
1010
|
-
allCaps?: never;
|
|
1011
|
-
};
|
|
1012
|
-
declare type TextButtonProps = {
|
|
1013
|
-
variant: 'button';
|
|
1014
|
-
size: 'large' | 'regular' | 'small';
|
|
1015
|
-
weight: 'bold' | 'demi';
|
|
1016
|
-
underline?: never;
|
|
1017
|
-
disabled?: never;
|
|
1018
|
-
wide?: boolean;
|
|
1019
|
-
original?: never;
|
|
1020
|
-
allCaps?: never;
|
|
1021
|
-
};
|
|
1022
|
-
declare type TextPricingProps = {
|
|
1023
|
-
variant: 'pricing';
|
|
1024
|
-
size: 'large' | 'medium' | 'regular' | 'small';
|
|
1025
|
-
weight?: never;
|
|
1026
|
-
underline?: never;
|
|
1027
|
-
disabled?: never;
|
|
1028
|
-
wide?: never;
|
|
1029
|
-
original?: boolean;
|
|
1030
|
-
allCaps?: never;
|
|
1031
|
-
};
|
|
1032
|
-
declare type TextLinkProps = {
|
|
1033
|
-
variant: 'link';
|
|
1034
|
-
weight?: 'demi' | 'regular';
|
|
1035
|
-
size?: 'regular' | 'small';
|
|
1036
|
-
underline?: boolean;
|
|
1059
|
+
interface SeasonOfferTagProps {
|
|
1060
|
+
text: string;
|
|
1061
|
+
backgroundColor?: string;
|
|
1062
|
+
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1063
|
+
className?: string;
|
|
1064
|
+
}
|
|
1065
|
+
declare const SeasonOfferTag: ({ text, backgroundColor, size, className, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1066
|
+
|
|
1067
|
+
interface TimeProps {
|
|
1068
|
+
hours: number;
|
|
1069
|
+
minutes: number;
|
|
1070
|
+
seconds: number;
|
|
1071
|
+
}
|
|
1072
|
+
interface TimerProps extends TimeProps {
|
|
1073
|
+
onTimeUp: () => void;
|
|
1074
|
+
}
|
|
1075
|
+
declare const Timer: ({ onTimeUp, ...rest }: TimerProps) => JSX.Element;
|
|
1076
|
+
|
|
1077
|
+
interface BaseInputCommmonProps {
|
|
1078
|
+
defaultValue?: string;
|
|
1079
|
+
maxLength?: number;
|
|
1080
|
+
placeholder?: string;
|
|
1081
|
+
label?: string;
|
|
1082
|
+
onValidation?: (status: InputValidationType) => void;
|
|
1037
1083
|
disabled?: boolean;
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
allCaps?: never;
|
|
1041
|
-
} & AnchorHTMLAttributes<'a'>;
|
|
1042
|
-
declare type TextLabelProps = {
|
|
1043
|
-
variant: 'label';
|
|
1044
|
-
weight?: 'regular' | 'demi';
|
|
1084
|
+
required?: string;
|
|
1085
|
+
children?: React.ReactNode;
|
|
1045
1086
|
size?: 'regular' | 'small';
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1087
|
+
}
|
|
1088
|
+
interface BaseInputControlled extends BaseInputCommmonProps {
|
|
1089
|
+
value: string;
|
|
1090
|
+
onChange: (value: string) => void;
|
|
1091
|
+
}
|
|
1092
|
+
interface BaseInputUncontrolled extends BaseInputCommmonProps {
|
|
1093
|
+
value?: never;
|
|
1094
|
+
onChange?: (value: string) => void;
|
|
1095
|
+
}
|
|
1096
|
+
declare type BaseInputProps = BaseInputControlled | BaseInputUncontrolled;
|
|
1097
|
+
|
|
1098
|
+
declare type BasePlusIconProps = BaseInputProps & {
|
|
1099
|
+
Icon: IconType;
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
declare type BasePlusButtonProps = BaseInputProps & {
|
|
1103
|
+
label?: undefined;
|
|
1104
|
+
onClick: (value: string) => void;
|
|
1105
|
+
onClickEdit: () => void;
|
|
1106
|
+
text: string;
|
|
1107
|
+
success: boolean;
|
|
1108
|
+
editText: string;
|
|
1109
|
+
successText: string;
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
interface BaseCTAProps {
|
|
1113
|
+
onClick: () => void;
|
|
1057
1114
|
disabled?: boolean;
|
|
1058
|
-
wide?:
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1115
|
+
wide?: boolean;
|
|
1116
|
+
className?: string;
|
|
1117
|
+
size?: ComponentSize;
|
|
1118
|
+
text: string;
|
|
1119
|
+
type?: ButtonType;
|
|
1120
|
+
}
|
|
1065
1121
|
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1122
|
+
declare type ButtonProps = {
|
|
1123
|
+
variant: 'primary' | 'secondary' | 'secondary-outline';
|
|
1124
|
+
} & BaseCTAProps;
|
|
1125
|
+
|
|
1126
|
+
declare type CustomProps = BaseInputProps & {
|
|
1127
|
+
onClick: () => void;
|
|
1128
|
+
text: string;
|
|
1129
|
+
variant: ButtonProps['variant'];
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
declare const Input: {
|
|
1133
|
+
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
|
|
1134
|
+
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
1135
|
+
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
1136
|
+
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
interface PaymentMethodsProps {
|
|
1140
|
+
Icon: IconType;
|
|
1141
|
+
width: string;
|
|
1142
|
+
height: string;
|
|
1143
|
+
onClick?: () => void;
|
|
1072
1144
|
}
|
|
1073
|
-
declare const
|
|
1145
|
+
declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
|
|
1074
1146
|
|
|
1075
|
-
interface
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
DiscountTagElement?: JSX.Element;
|
|
1079
|
-
BestSellerTagElement?: JSX.Element;
|
|
1080
|
-
productImageDataTestId?: string;
|
|
1081
|
-
slideDotsDataTestId?: string;
|
|
1147
|
+
interface OfferBannerProps {
|
|
1148
|
+
discountAppliedText: string;
|
|
1149
|
+
backgroundColor: string;
|
|
1082
1150
|
}
|
|
1083
|
-
declare const
|
|
1151
|
+
declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
|
|
1084
1152
|
|
|
1085
|
-
declare
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}>;
|
|
1089
|
-
declare const useTheme: () => Theme;
|
|
1090
|
-
declare const ThemeVariables: FC<{
|
|
1091
|
-
theme: Theme;
|
|
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;
|
|
1153
|
+
declare type SubtotalOption = {
|
|
1154
|
+
label: string;
|
|
1155
|
+
value: string;
|
|
1109
1156
|
};
|
|
1110
|
-
declare type
|
|
1111
|
-
|
|
1112
|
-
|
|
1157
|
+
declare type Coupon = {
|
|
1158
|
+
code: string;
|
|
1159
|
+
amount: string;
|
|
1113
1160
|
};
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1161
|
+
interface SubtotalProps {
|
|
1162
|
+
subtotal: SubtotalOption;
|
|
1163
|
+
shipping: SubtotalOption;
|
|
1164
|
+
taxes: SubtotalOption;
|
|
1165
|
+
highlightColor?: string;
|
|
1166
|
+
coupon?: {
|
|
1167
|
+
couponText: string;
|
|
1168
|
+
appliedText: string;
|
|
1169
|
+
coupons: Coupon[];
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
interface TotalProps {
|
|
1174
|
+
total: string;
|
|
1175
|
+
currency: string;
|
|
1176
|
+
highlightColor?: string;
|
|
1177
|
+
saving?: {
|
|
1178
|
+
amount: string;
|
|
1179
|
+
savingText: string;
|
|
1180
|
+
};
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
declare const Totals: {
|
|
1184
|
+
Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
|
|
1185
|
+
Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
declare type detail = {
|
|
1189
|
+
title: string;
|
|
1190
|
+
details: string;
|
|
1117
1191
|
};
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
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;
|
|
1192
|
+
interface orderUpdate extends detail {
|
|
1193
|
+
keepMeUpdated: {
|
|
1194
|
+
title: string;
|
|
1195
|
+
onClick: () => void;
|
|
1168
1196
|
};
|
|
1169
|
-
|
|
1197
|
+
}
|
|
1198
|
+
interface DeliveryDetailsProps {
|
|
1199
|
+
deliveryDetailsText: string;
|
|
1200
|
+
arrivingBy: detail;
|
|
1201
|
+
shippingTo: detail;
|
|
1202
|
+
instantOrderUpdate: orderUpdate;
|
|
1203
|
+
note?: {
|
|
1204
|
+
importantNoteText: string;
|
|
1205
|
+
text: string;
|
|
1206
|
+
accentColor: string;
|
|
1207
|
+
backgroundColor: string;
|
|
1170
1208
|
color: string;
|
|
1171
|
-
disabled: string;
|
|
1172
1209
|
};
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1210
|
+
}
|
|
1211
|
+
declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
|
|
1212
|
+
|
|
1213
|
+
interface ScrollToTopProps {
|
|
1214
|
+
scrollToTopText: string;
|
|
1215
|
+
onClick: () => void;
|
|
1216
|
+
}
|
|
1217
|
+
declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
|
|
1218
|
+
|
|
1219
|
+
interface OrderBarProps {
|
|
1220
|
+
message: string;
|
|
1221
|
+
}
|
|
1222
|
+
declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
|
|
1223
|
+
|
|
1224
|
+
interface TableProps {
|
|
1225
|
+
headers: string[];
|
|
1226
|
+
data: string[][];
|
|
1227
|
+
}
|
|
1228
|
+
declare const SizeTable: ({ headers, data }: TableProps) => JSX.Element;
|
|
1229
|
+
|
|
1230
|
+
interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
|
|
1231
|
+
color?: string;
|
|
1232
|
+
}
|
|
1233
|
+
interface ProductOrderItemProps {
|
|
1234
|
+
title: string;
|
|
1235
|
+
subtitle: string;
|
|
1236
|
+
image: {
|
|
1237
|
+
src: string;
|
|
1238
|
+
alt: string;
|
|
1176
1239
|
};
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
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
|
-
};
|
|
1240
|
+
price: Price;
|
|
1241
|
+
tag?: {
|
|
1242
|
+
text: string;
|
|
1243
|
+
backgroundColor: string;
|
|
1217
1244
|
};
|
|
1218
|
-
|
|
1219
|
-
|
|
1245
|
+
}
|
|
1246
|
+
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
|
|
1247
|
+
|
|
1248
|
+
interface ReviewProps {
|
|
1249
|
+
reviewerName: string;
|
|
1250
|
+
date: Date;
|
|
1251
|
+
rating: number;
|
|
1252
|
+
stars: {
|
|
1220
1253
|
color: string;
|
|
1221
|
-
|
|
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;
|
|
1254
|
+
size: ComponentSize.Medium | ComponentSize.Small;
|
|
1265
1255
|
};
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
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
|
-
};
|
|
1256
|
+
title: string;
|
|
1257
|
+
description: string;
|
|
1258
|
+
image: {
|
|
1259
|
+
src: string;
|
|
1260
|
+
alt: string;
|
|
1286
1261
|
};
|
|
1287
|
-
|
|
1288
|
-
|
|
1262
|
+
}
|
|
1263
|
+
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
1264
|
+
|
|
1265
|
+
interface SliderNavigationProps {
|
|
1266
|
+
children: JSX.Element[];
|
|
1267
|
+
infinite: boolean;
|
|
1268
|
+
adaptiveHeight: boolean;
|
|
1269
|
+
dotsSize: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1270
|
+
dotListMarginTop: number;
|
|
1271
|
+
initialSlide?: number;
|
|
1272
|
+
arrows?: {
|
|
1273
|
+
arrowWidth: number;
|
|
1274
|
+
arrowHeight: number;
|
|
1275
|
+
arrowPadding: number;
|
|
1289
1276
|
};
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
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
|
-
};
|
|
1277
|
+
}
|
|
1278
|
+
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1279
|
+
|
|
1280
|
+
interface DropdownListIconsProps {
|
|
1281
|
+
items: DropdownListIconsItem[];
|
|
1282
|
+
}
|
|
1283
|
+
declare const DropdownListIcons: ({ items }: DropdownListIconsProps) => JSX.Element;
|
|
1284
|
+
|
|
1285
|
+
interface ImageStyleProps {
|
|
1286
|
+
height?: string;
|
|
1287
|
+
width?: string;
|
|
1288
|
+
borderRadius?: string;
|
|
1289
|
+
objectFit?: string;
|
|
1290
|
+
objectPosition?: string;
|
|
1291
|
+
className?: string;
|
|
1292
|
+
}
|
|
1293
|
+
interface ImageProps extends ImageStyleProps {
|
|
1294
|
+
src: string;
|
|
1295
|
+
alt: string;
|
|
1296
|
+
}
|
|
1297
|
+
declare const Image: ({ src, alt, height, width, borderRadius, objectFit, objectPosition, className, }: ImageProps) => JSX.Element;
|
|
1298
|
+
|
|
1299
|
+
interface AmazonPaypalBtnProps {
|
|
1300
|
+
onClick: () => void;
|
|
1301
|
+
}
|
|
1302
|
+
declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
1303
|
+
declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
1304
|
+
|
|
1305
|
+
interface CrossSellCheckboxProps extends rightToLeftProps {
|
|
1306
|
+
imageURL: string;
|
|
1307
|
+
title: string;
|
|
1308
|
+
description: string;
|
|
1309
|
+
freeShippingText: string;
|
|
1310
|
+
onChange: (checked: Boolean) => void;
|
|
1311
|
+
}
|
|
1312
|
+
interface rightToLeftProps {
|
|
1313
|
+
rightToLeft: boolean;
|
|
1314
|
+
}
|
|
1315
|
+
declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
|
|
1316
|
+
|
|
1317
|
+
type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
|
|
1318
|
+
declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
|
|
1319
|
+
declare namespace index_d {
|
|
1320
|
+
export {
|
|
1321
|
+
index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
|
|
1322
|
+
index_d_CrossSellCheckbox as CrossSellCheckbox,
|
|
1323
|
+
};
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
interface ProductItemProps {
|
|
1327
|
+
title: string;
|
|
1328
|
+
image: ImageProps;
|
|
1329
|
+
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
1330
|
+
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
1331
|
+
tags?: {
|
|
1332
|
+
categoryTagText: string;
|
|
1333
|
+
seasonOfferTagText: string;
|
|
1435
1334
|
};
|
|
1335
|
+
alignName?: 'left' | 'center';
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
1339
|
+
size: ComponentSize.Medium | ComponentSize.Small;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
|
|
1343
|
+
(props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
|
|
1344
|
+
displayName: string;
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
declare const Collection: {
|
|
1348
|
+
ProductItemMobile: ({ title, image, price, rating, size, tags, alignName, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1349
|
+
withProductGrid: typeof withProductGrid;
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
interface StarListProps {
|
|
1353
|
+
rating: number;
|
|
1354
|
+
size?: ComponentSize;
|
|
1355
|
+
starsNumber: number;
|
|
1356
|
+
fill: string;
|
|
1357
|
+
}
|
|
1358
|
+
declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
|
|
1359
|
+
|
|
1360
|
+
interface DrawerProps {
|
|
1361
|
+
children: React.ReactNode;
|
|
1362
|
+
isOpen: boolean;
|
|
1363
|
+
onClose?: () => void;
|
|
1364
|
+
onOpen?: () => void;
|
|
1365
|
+
onClickOutside?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1366
|
+
backgroundColor?: string;
|
|
1367
|
+
backdropColor?: string;
|
|
1368
|
+
position?: 'left' | 'right';
|
|
1369
|
+
width?: string;
|
|
1370
|
+
}
|
|
1371
|
+
declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
|
|
1372
|
+
|
|
1373
|
+
interface SpinnerProps {
|
|
1374
|
+
fill: string;
|
|
1375
|
+
background: string;
|
|
1376
|
+
animationDuration?: number;
|
|
1377
|
+
complete?: boolean;
|
|
1378
|
+
completeIconStroke?: number;
|
|
1379
|
+
size?: string;
|
|
1380
|
+
}
|
|
1381
|
+
declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
|
|
1382
|
+
|
|
1383
|
+
interface TagsProps {
|
|
1384
|
+
color?: string;
|
|
1385
|
+
items: string[];
|
|
1386
|
+
onCloseClick: (index: number) => void;
|
|
1387
|
+
}
|
|
1388
|
+
declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
|
|
1389
|
+
|
|
1390
|
+
declare type FilteringDropdownProps<T> = {
|
|
1391
|
+
options: DropdownOption<T>[];
|
|
1392
|
+
disabled?: boolean;
|
|
1393
|
+
wide?: boolean;
|
|
1394
|
+
onChange: (options: DropdownOption<T>[]) => void;
|
|
1395
|
+
filter?: boolean;
|
|
1396
|
+
sliceAfter?: number;
|
|
1397
|
+
placeHolder: string;
|
|
1436
1398
|
};
|
|
1437
|
-
declare
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1399
|
+
declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
|
|
1400
|
+
|
|
1401
|
+
interface PaginationProps {
|
|
1402
|
+
from: number;
|
|
1403
|
+
to: number;
|
|
1404
|
+
onChange: (page: number) => void;
|
|
1405
|
+
currentPage?: number;
|
|
1406
|
+
underlineActive?: boolean;
|
|
1407
|
+
boldActive?: boolean;
|
|
1408
|
+
disabled?: boolean;
|
|
1409
|
+
}
|
|
1410
|
+
declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
|
|
1411
|
+
|
|
1412
|
+
declare const Text: FC<TextProps>;
|
|
1413
|
+
declare type TextHeroProps = {
|
|
1414
|
+
variant: 'hero1' | 'hero2' | 'hero3';
|
|
1415
|
+
weight?: 'heavy' | 'bold' | 'demi';
|
|
1416
|
+
size?: 'regular';
|
|
1417
|
+
underline?: never;
|
|
1418
|
+
disabled?: never;
|
|
1419
|
+
wide?: never;
|
|
1420
|
+
original?: never;
|
|
1421
|
+
allCaps?: never;
|
|
1447
1422
|
};
|
|
1448
|
-
declare type
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1423
|
+
declare type TextDisplayProps = {
|
|
1424
|
+
variant: 'display1' | 'display2';
|
|
1425
|
+
weight?: 'bold' | 'demi';
|
|
1426
|
+
size?: 'regular';
|
|
1427
|
+
underline?: never;
|
|
1428
|
+
disabled?: never;
|
|
1429
|
+
wide?: never;
|
|
1430
|
+
original?: never;
|
|
1431
|
+
allCaps?: never;
|
|
1457
1432
|
};
|
|
1458
|
-
declare type
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1433
|
+
declare type TextHeadingProps = {
|
|
1434
|
+
variant: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
1435
|
+
weight?: 'bold' | 'demi' | 'regular';
|
|
1436
|
+
size?: 'regular';
|
|
1437
|
+
underline?: never;
|
|
1438
|
+
disabled?: never;
|
|
1439
|
+
wide?: never;
|
|
1440
|
+
original?: never;
|
|
1441
|
+
allCaps?: never;
|
|
1442
|
+
};
|
|
1443
|
+
declare type TextBodyProps = {
|
|
1444
|
+
variant: 'body';
|
|
1445
|
+
size?: 'regular' | 'small';
|
|
1446
|
+
weight?: 'bold' | 'demi' | 'regular';
|
|
1447
|
+
underline?: never;
|
|
1448
|
+
disabled?: never;
|
|
1449
|
+
wide?: never;
|
|
1450
|
+
original?: never;
|
|
1451
|
+
allCaps?: never;
|
|
1452
|
+
};
|
|
1453
|
+
declare type TextButtonProps = {
|
|
1454
|
+
variant: 'button';
|
|
1455
|
+
size: 'large' | 'regular' | 'small';
|
|
1456
|
+
weight: 'bold' | 'demi';
|
|
1457
|
+
underline?: never;
|
|
1458
|
+
disabled?: never;
|
|
1459
|
+
wide?: boolean;
|
|
1460
|
+
original?: never;
|
|
1461
|
+
allCaps?: never;
|
|
1462
|
+
};
|
|
1463
|
+
declare type TextPricingProps = {
|
|
1464
|
+
variant: 'pricing';
|
|
1465
|
+
size: 'large' | 'medium' | 'regular' | 'small';
|
|
1466
|
+
weight?: never;
|
|
1467
|
+
underline?: never;
|
|
1468
|
+
disabled?: never;
|
|
1469
|
+
wide?: never;
|
|
1470
|
+
original?: boolean;
|
|
1471
|
+
allCaps?: never;
|
|
1472
|
+
};
|
|
1473
|
+
declare type TextLinkProps = {
|
|
1474
|
+
variant: 'link';
|
|
1475
|
+
weight?: 'demi' | 'regular';
|
|
1476
|
+
size?: 'regular' | 'small';
|
|
1477
|
+
underline?: boolean;
|
|
1478
|
+
disabled?: boolean;
|
|
1479
|
+
wide?: never;
|
|
1480
|
+
original?: never;
|
|
1481
|
+
allCaps?: never;
|
|
1482
|
+
} & AnchorHTMLAttributes<'a'>;
|
|
1483
|
+
declare type TextLabelProps = {
|
|
1484
|
+
variant: 'label';
|
|
1485
|
+
weight?: 'regular' | 'demi';
|
|
1486
|
+
size?: 'regular' | 'small';
|
|
1487
|
+
underline?: never;
|
|
1488
|
+
disabled?: boolean;
|
|
1489
|
+
wide?: never;
|
|
1490
|
+
original?: never;
|
|
1491
|
+
allCaps?: never;
|
|
1492
|
+
} & LabelHTMLAttributes<'label'>;
|
|
1493
|
+
declare type TextTagProps = {
|
|
1494
|
+
variant: 'tag';
|
|
1495
|
+
size?: 'regular' | 'small' | 'x-small';
|
|
1496
|
+
weight?: 'regular' | 'demi' | 'bold';
|
|
1497
|
+
underline?: never;
|
|
1498
|
+
disabled?: boolean;
|
|
1499
|
+
wide?: never;
|
|
1500
|
+
original?: never;
|
|
1501
|
+
allCaps?: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
declare type TextProps = AriaAttributes & {
|
|
1504
|
+
style?: CSSProperties;
|
|
1505
|
+
className?: string;
|
|
1506
|
+
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1507
|
+
|
|
1508
|
+
interface SearchBarProps {
|
|
1509
|
+
suggestions: SearchBarOptionItem[];
|
|
1510
|
+
resultOptions: SearchBarOptionItem[];
|
|
1511
|
+
onChange: (text: string) => void;
|
|
1512
|
+
onSearch: (term: string) => void;
|
|
1513
|
+
resultsPanelDataTestId?: string;
|
|
1514
|
+
}
|
|
1515
|
+
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
|
|
1516
|
+
|
|
1517
|
+
interface ProductGalleryMobileProps {
|
|
1518
|
+
images: ImageType[];
|
|
1519
|
+
selectedValue?: ImageType;
|
|
1520
|
+
DiscountTagElement?: JSX.Element;
|
|
1521
|
+
BestSellerTagElement?: JSX.Element;
|
|
1522
|
+
productImageDataTestId?: string;
|
|
1523
|
+
slideDotsDataTestId?: string;
|
|
1524
|
+
}
|
|
1525
|
+
declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
|
|
1526
|
+
|
|
1527
|
+
interface RadioProps {
|
|
1528
|
+
name: string;
|
|
1529
|
+
value: string;
|
|
1530
|
+
id: string;
|
|
1531
|
+
label: string;
|
|
1532
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1533
|
+
checked?: boolean;
|
|
1534
|
+
disabled?: boolean;
|
|
1535
|
+
onChange: (option: RadioGroupOption) => void;
|
|
1536
|
+
}
|
|
1537
|
+
declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
|
|
1538
|
+
|
|
1539
|
+
declare type PortalProps = {
|
|
1540
|
+
id: string;
|
|
1541
|
+
className?: string;
|
|
1542
|
+
};
|
|
1543
|
+
declare const Portal: FC<PortalProps>;
|
|
1465
1544
|
|
|
1466
1545
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
1467
1546
|
|
|
1468
|
-
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints
|
|
1547
|
+
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
|
|
1469
1548
|
isMobile: boolean;
|
|
1470
1549
|
windowDimensions: {
|
|
1471
1550
|
width: number;
|
|
@@ -1473,4 +1552,4 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
|
|
|
1473
1552
|
};
|
|
1474
1553
|
};
|
|
1475
1554
|
|
|
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 };
|
|
1555
|
+
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$1 as IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, RadioGroupInput, RadioGroupOption, RadioInput, 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 };
|