@trafilea/afrodita-components 4.0.2-beta.0 → 4.0.2-beta.12
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 +983 -903
- package/build/index.esm.js +285 -177
- package/build/index.esm.js.map +1 -1
- package/build/index.js +287 -177
- 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 +1 -1
- 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 -25
- 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 -10
- package/build/dts/components/size/selector/SizeSelector.stories.d.ts +0 -8
- 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;
|
|
@@ -429,23 +452,27 @@ declare const ButtonSecondary: ({ text, onClick, disabled, wide, size, className
|
|
|
429
452
|
|
|
430
453
|
declare const ButtonSecondaryOutline: ({ text, onClick, disabled, wide, size, className, }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
431
454
|
|
|
455
|
+
declare type Value<T> = DropdownOption<T>;
|
|
456
|
+
declare type OnChange<T> = (option: Value<T>) => void;
|
|
432
457
|
declare type CommonProps<T> = {
|
|
433
|
-
options:
|
|
458
|
+
options: Value<T>[];
|
|
434
459
|
disabled?: boolean;
|
|
435
460
|
wide?: boolean;
|
|
436
|
-
onChange: (option: DropdownOption<T>) => void;
|
|
437
461
|
label?: string;
|
|
438
462
|
sort?: boolean;
|
|
439
|
-
|
|
440
|
-
declare type ConditionalProps<T> = {
|
|
441
|
-
initialValue: DropdownOption<T>;
|
|
442
|
-
placeHolder?: string;
|
|
443
|
-
} | {
|
|
444
|
-
initialValue?: undefined;
|
|
463
|
+
initialValue?: Value<T>;
|
|
445
464
|
placeHolder: string;
|
|
446
465
|
};
|
|
447
|
-
declare type
|
|
448
|
-
|
|
466
|
+
declare type ControlledProps<T> = {
|
|
467
|
+
value: Value<T>;
|
|
468
|
+
onChange: OnChange<T>;
|
|
469
|
+
} & CommonProps<T>;
|
|
470
|
+
declare type UncontrolledProps<T> = {
|
|
471
|
+
value?: never;
|
|
472
|
+
onChange?: OnChange<T>;
|
|
473
|
+
} & CommonProps<T>;
|
|
474
|
+
declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
|
|
475
|
+
declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, }: SimpleDropdownProps<T>): JSX.Element;
|
|
449
476
|
|
|
450
477
|
interface SizeSelectorProps {
|
|
451
478
|
label: string;
|
|
@@ -472,6 +499,7 @@ interface BaseButtonProps {
|
|
|
472
499
|
type?: ButtonType;
|
|
473
500
|
onClick: () => void;
|
|
474
501
|
className?: string;
|
|
502
|
+
inline?: boolean;
|
|
475
503
|
}
|
|
476
504
|
|
|
477
505
|
declare type BaseProps = Pick<BaseButtonProps, 'disabled' | 'type' | 'onClick'>;
|
|
@@ -584,891 +612,943 @@ interface AccordionProps {
|
|
|
584
612
|
}
|
|
585
613
|
declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
586
614
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
615
|
+
declare const ThemeProvider: FC<{
|
|
616
|
+
theme: Theme;
|
|
617
|
+
children: ReactNode;
|
|
618
|
+
}>;
|
|
619
|
+
declare const useTheme: () => Theme;
|
|
620
|
+
declare const ThemeVariables: FC<{
|
|
621
|
+
theme: Theme;
|
|
622
|
+
Container?: ElementType;
|
|
623
|
+
}>;
|
|
624
|
+
declare const AssetsProvider: FC<{
|
|
625
|
+
assets: ThemeAssets;
|
|
626
|
+
}>;
|
|
627
|
+
declare const useThemeAssets: () => ThemeAssets;
|
|
628
|
+
declare type Theme = {
|
|
600
629
|
name: string;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
608
|
-
|
|
609
|
-
interface SimpleProps {
|
|
610
|
-
title: string;
|
|
611
|
-
freeShippingText: string;
|
|
612
|
-
price: string;
|
|
613
|
-
anyQtyForText: string;
|
|
614
|
-
backgroundColor: string;
|
|
615
|
-
widthAuto?: boolean;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
interface MinimalisticProps {
|
|
619
|
-
backgroundColor?: string;
|
|
620
|
-
borderColor?: string;
|
|
621
|
-
originalPrice: string;
|
|
622
|
-
price: string;
|
|
623
|
-
savingPrice: string;
|
|
624
|
-
getMorePayLessText: string;
|
|
625
|
-
youAreSavingText: string;
|
|
626
|
-
getQtyForText: string;
|
|
627
|
-
discount: number;
|
|
628
|
-
offText: string;
|
|
629
|
-
widthAuto?: boolean;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
declare const Bundle: {
|
|
633
|
-
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
634
|
-
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
635
|
-
};
|
|
636
|
-
|
|
637
|
-
interface CategoryTagProps {
|
|
638
|
-
text: string;
|
|
639
|
-
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
640
|
-
className?: string;
|
|
641
|
-
}
|
|
642
|
-
declare const CategoryTag: ({ text, size, className }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
643
|
-
|
|
644
|
-
interface SeasonOfferTagProps {
|
|
645
|
-
text: string;
|
|
646
|
-
backgroundColor?: string;
|
|
647
|
-
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
648
|
-
className?: string;
|
|
649
|
-
}
|
|
650
|
-
declare const SeasonOfferTag: ({ text, backgroundColor, size, className, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
651
|
-
|
|
652
|
-
interface TimeProps {
|
|
653
|
-
hours: number;
|
|
654
|
-
minutes: number;
|
|
655
|
-
seconds: number;
|
|
656
|
-
}
|
|
657
|
-
interface TimerProps extends TimeProps {
|
|
658
|
-
onTimeUp: () => void;
|
|
659
|
-
}
|
|
660
|
-
declare const Timer: ({ onTimeUp, ...rest }: TimerProps) => JSX.Element;
|
|
661
|
-
|
|
662
|
-
interface BaseInputProps {
|
|
663
|
-
defaultValue?: string;
|
|
664
|
-
maxLength?: number;
|
|
665
|
-
placeholder?: string;
|
|
666
|
-
label?: string;
|
|
667
|
-
onChange?: (value: string) => void;
|
|
668
|
-
onValidation?: (status: InputValidationType) => void;
|
|
669
|
-
disabled?: boolean;
|
|
670
|
-
required?: string;
|
|
671
|
-
children?: React.ReactNode;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
interface BasePlusIconProps extends BaseInputProps {
|
|
675
|
-
Icon: IconType;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
declare type BaseInputPropsWithoutLabel = Omit<BaseInputProps, 'label'>;
|
|
679
|
-
interface BasePlusButtonProps extends BaseInputPropsWithoutLabel {
|
|
680
|
-
onClick: () => void;
|
|
681
|
-
onClickEdit: () => void;
|
|
682
|
-
text: string;
|
|
683
|
-
success: boolean;
|
|
684
|
-
editText: string;
|
|
685
|
-
successText: string;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
interface CustomProps extends BaseInputProps {
|
|
689
|
-
onClick: () => void;
|
|
690
|
-
text: string;
|
|
691
|
-
type: 'primary' | 'secondary';
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
declare const Input: {
|
|
695
|
-
Simple: ({ onChange, defaultValue, label, children, required, onValidation, ...rest }: BaseInputProps) => JSX.Element;
|
|
696
|
-
Custom: ({ onClick, text, type, ...rest }: CustomProps) => JSX.Element;
|
|
697
|
-
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
698
|
-
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
699
|
-
};
|
|
700
|
-
|
|
701
|
-
interface PaymentMethodsProps {
|
|
702
|
-
Icon: IconType;
|
|
703
|
-
width: string;
|
|
704
|
-
height: string;
|
|
705
|
-
onClick?: () => void;
|
|
706
|
-
}
|
|
707
|
-
declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
|
|
708
|
-
|
|
709
|
-
interface OfferBannerProps {
|
|
710
|
-
discountAppliedText: string;
|
|
711
|
-
backgroundColor: string;
|
|
712
|
-
}
|
|
713
|
-
declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
|
|
714
|
-
|
|
715
|
-
declare type SubtotalOption = {
|
|
716
|
-
label: string;
|
|
717
|
-
value: string;
|
|
718
|
-
};
|
|
719
|
-
declare type Coupon = {
|
|
720
|
-
code: string;
|
|
721
|
-
amount: string;
|
|
722
|
-
};
|
|
723
|
-
interface SubtotalProps {
|
|
724
|
-
subtotal: SubtotalOption;
|
|
725
|
-
shipping: SubtotalOption;
|
|
726
|
-
taxes: SubtotalOption;
|
|
727
|
-
highlightColor?: string;
|
|
728
|
-
coupon?: {
|
|
729
|
-
couponText: string;
|
|
730
|
-
appliedText: string;
|
|
731
|
-
coupons: Coupon[];
|
|
630
|
+
fontSizes: number[];
|
|
631
|
+
fontWeights: number[];
|
|
632
|
+
lineHeights: number[];
|
|
633
|
+
mediaQueries: ThemeBreakpoints;
|
|
634
|
+
radius: {
|
|
635
|
+
regular: string;
|
|
732
636
|
};
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
total: string;
|
|
737
|
-
currency: string;
|
|
738
|
-
highlightColor?: string;
|
|
739
|
-
saving?: {
|
|
740
|
-
amount: string;
|
|
741
|
-
savingText: string;
|
|
637
|
+
zIndex: {
|
|
638
|
+
modal: number;
|
|
639
|
+
overlay: number;
|
|
742
640
|
};
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
};
|
|
749
|
-
|
|
750
|
-
declare type detail = {
|
|
751
|
-
title: string;
|
|
752
|
-
details: string;
|
|
641
|
+
colors: ThemeColors;
|
|
642
|
+
component: ThemeComponent;
|
|
643
|
+
typography: ThemeTypography;
|
|
644
|
+
fonts: ThemeFonts;
|
|
645
|
+
assets: ThemeAssets;
|
|
753
646
|
};
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
647
|
+
declare type ThemeBreakpoints = {
|
|
648
|
+
mobile: number;
|
|
649
|
+
desktop: number;
|
|
650
|
+
};
|
|
651
|
+
declare type ThemeBasicPallete = {
|
|
652
|
+
color: string;
|
|
653
|
+
contrast: string;
|
|
654
|
+
};
|
|
655
|
+
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
656
|
+
soft: ThemeBasicPallete;
|
|
657
|
+
};
|
|
658
|
+
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
659
|
+
20: ThemeColorPallete;
|
|
660
|
+
40: ThemeColorPallete;
|
|
661
|
+
60: ThemeColorPallete;
|
|
662
|
+
80: ThemeColorPallete;
|
|
663
|
+
};
|
|
664
|
+
declare type ThemeColors = {
|
|
665
|
+
pallete: {
|
|
666
|
+
primary: ThemeColorPrimaryPallete;
|
|
667
|
+
secondary: ThemeColorPrimaryPallete;
|
|
668
|
+
} & Partial<Record<string, ThemeColorPallete>>;
|
|
669
|
+
shades: {
|
|
670
|
+
black: ThemeBasicPallete;
|
|
671
|
+
white: ThemeBasicPallete;
|
|
672
|
+
5: ThemeBasicPallete;
|
|
673
|
+
10: ThemeBasicPallete;
|
|
674
|
+
50: ThemeBasicPallete;
|
|
675
|
+
100: ThemeBasicPallete;
|
|
676
|
+
150: ThemeBasicPallete;
|
|
677
|
+
200: ThemeBasicPallete;
|
|
678
|
+
250: ThemeBasicPallete;
|
|
679
|
+
300: ThemeBasicPallete;
|
|
680
|
+
350: ThemeBasicPallete;
|
|
681
|
+
400: ThemeBasicPallete;
|
|
682
|
+
450: ThemeBasicPallete;
|
|
683
|
+
500: ThemeBasicPallete;
|
|
684
|
+
550: ThemeBasicPallete;
|
|
685
|
+
600: ThemeBasicPallete;
|
|
686
|
+
650: ThemeBasicPallete;
|
|
687
|
+
700: ThemeBasicPallete;
|
|
688
|
+
750: ThemeBasicPallete;
|
|
689
|
+
800: ThemeBasicPallete;
|
|
690
|
+
850: ThemeBasicPallete;
|
|
691
|
+
900: ThemeBasicPallete;
|
|
692
|
+
950: ThemeBasicPallete;
|
|
693
|
+
990: ThemeBasicPallete;
|
|
758
694
|
};
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
importantNoteText: string;
|
|
767
|
-
text: string;
|
|
768
|
-
accentColor: string;
|
|
769
|
-
backgroundColor: string;
|
|
695
|
+
semantic: {
|
|
696
|
+
positive: ThemeBasicPallete;
|
|
697
|
+
urgent: ThemeBasicPallete;
|
|
698
|
+
attention: ThemeBasicPallete;
|
|
699
|
+
informative: ThemeBasicPallete;
|
|
700
|
+
};
|
|
701
|
+
border: {
|
|
770
702
|
color: string;
|
|
703
|
+
disabled: string;
|
|
704
|
+
highlight: string;
|
|
771
705
|
};
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
interface ScrollToTopProps {
|
|
776
|
-
scrollToTopText: string;
|
|
777
|
-
onClick: () => void;
|
|
778
|
-
}
|
|
779
|
-
declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
|
|
780
|
-
|
|
781
|
-
interface OrderBarProps {
|
|
782
|
-
message: string;
|
|
783
|
-
}
|
|
784
|
-
declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
|
|
785
|
-
|
|
786
|
-
interface TableProps {
|
|
787
|
-
headers: string[];
|
|
788
|
-
data: string[][];
|
|
789
|
-
}
|
|
790
|
-
declare const SizeTable: ({ headers, data }: TableProps) => JSX.Element;
|
|
791
|
-
|
|
792
|
-
interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
|
|
793
|
-
color?: string;
|
|
794
|
-
}
|
|
795
|
-
interface ProductOrderItemProps {
|
|
796
|
-
title: string;
|
|
797
|
-
subtitle: string;
|
|
798
|
-
image: {
|
|
799
|
-
src: string;
|
|
800
|
-
alt: string;
|
|
706
|
+
background: {
|
|
707
|
+
color: string;
|
|
708
|
+
disabled: string;
|
|
801
709
|
};
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
backgroundColor: string;
|
|
710
|
+
text: {
|
|
711
|
+
color: string;
|
|
712
|
+
disabled: string;
|
|
806
713
|
};
|
|
807
|
-
}
|
|
808
|
-
declare
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
714
|
+
};
|
|
715
|
+
declare type ThemeComponent = {
|
|
716
|
+
button: {
|
|
717
|
+
border: string;
|
|
718
|
+
borderRadius: string;
|
|
719
|
+
fontWeight: number;
|
|
720
|
+
size: {
|
|
721
|
+
small: {
|
|
722
|
+
fontSize: string;
|
|
723
|
+
padding: string;
|
|
724
|
+
};
|
|
725
|
+
medium: {
|
|
726
|
+
fontSize: string;
|
|
727
|
+
padding: string;
|
|
728
|
+
};
|
|
729
|
+
large: {
|
|
730
|
+
fontSize: string;
|
|
731
|
+
padding: string;
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
primary: {
|
|
735
|
+
active: {
|
|
736
|
+
backgroundColor: string;
|
|
737
|
+
color: string;
|
|
738
|
+
};
|
|
739
|
+
hover: {
|
|
740
|
+
backgroundColor: string;
|
|
741
|
+
color: string;
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
secondary: {
|
|
745
|
+
active: {
|
|
746
|
+
backgroundColor: string;
|
|
747
|
+
color: string;
|
|
748
|
+
};
|
|
749
|
+
hover: {
|
|
750
|
+
backgroundColor: string;
|
|
751
|
+
color: string;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
input: {
|
|
756
|
+
background: string;
|
|
815
757
|
color: string;
|
|
816
|
-
|
|
758
|
+
placeholderColor: string;
|
|
759
|
+
borderRadius: string;
|
|
760
|
+
fontSize: string;
|
|
761
|
+
fontWeight: number;
|
|
762
|
+
padding: string;
|
|
763
|
+
lineHeight: string;
|
|
764
|
+
border: string;
|
|
765
|
+
boxShadow: string;
|
|
817
766
|
};
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
767
|
+
inputCustom: {
|
|
768
|
+
button: {
|
|
769
|
+
borderRadius: string;
|
|
770
|
+
};
|
|
771
|
+
input: {
|
|
772
|
+
borderRadius: string;
|
|
773
|
+
};
|
|
823
774
|
};
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
775
|
+
selector: {
|
|
776
|
+
size: {
|
|
777
|
+
small: {
|
|
778
|
+
padding: string;
|
|
779
|
+
borderRadius: string;
|
|
780
|
+
};
|
|
781
|
+
medium: {
|
|
782
|
+
padding: string;
|
|
783
|
+
borderRadius: string;
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
default: {
|
|
787
|
+
fontWeight: number;
|
|
788
|
+
border: string;
|
|
789
|
+
background: string;
|
|
790
|
+
color: string;
|
|
791
|
+
};
|
|
792
|
+
hover: {
|
|
793
|
+
fontWeight: number;
|
|
794
|
+
background: string;
|
|
795
|
+
border: string;
|
|
796
|
+
color: string;
|
|
797
|
+
};
|
|
798
|
+
disabled: {
|
|
799
|
+
border: string;
|
|
800
|
+
};
|
|
801
|
+
fontSize: string;
|
|
838
802
|
};
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
interface AmazonPaypalBtnProps {
|
|
861
|
-
onClick: () => void;
|
|
862
|
-
}
|
|
863
|
-
declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
864
|
-
declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
865
|
-
|
|
866
|
-
interface CrossSellCheckboxProps extends rightToLeftProps {
|
|
867
|
-
imageURL: string;
|
|
868
|
-
title: string;
|
|
869
|
-
description: string;
|
|
870
|
-
freeShippingText: string;
|
|
871
|
-
onChange: (checked: Boolean) => void;
|
|
872
|
-
}
|
|
873
|
-
interface rightToLeftProps {
|
|
874
|
-
rightToLeft: boolean;
|
|
875
|
-
}
|
|
876
|
-
declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
|
|
877
|
-
|
|
878
|
-
type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
|
|
879
|
-
declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
|
|
880
|
-
declare namespace index_d {
|
|
881
|
-
export {
|
|
882
|
-
index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
|
|
883
|
-
index_d_CrossSellCheckbox as CrossSellCheckbox,
|
|
884
|
-
};
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
interface ProductItemProps {
|
|
888
|
-
title: string;
|
|
889
|
-
image: ImageProps;
|
|
890
|
-
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
891
|
-
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
892
|
-
tags?: {
|
|
893
|
-
categoryTagText: string;
|
|
894
|
-
seasonOfferTagText: string;
|
|
803
|
+
rating: {
|
|
804
|
+
fontWeight: number;
|
|
805
|
+
size: {
|
|
806
|
+
xsmall: {
|
|
807
|
+
fontSize: string;
|
|
808
|
+
lineHeight: string;
|
|
809
|
+
};
|
|
810
|
+
small: {
|
|
811
|
+
fontSize: string;
|
|
812
|
+
lineHeight: string;
|
|
813
|
+
};
|
|
814
|
+
medium: {
|
|
815
|
+
fontSize: string;
|
|
816
|
+
lineHeight: string;
|
|
817
|
+
};
|
|
818
|
+
large: {
|
|
819
|
+
fontSize: string;
|
|
820
|
+
lineHeight: string;
|
|
821
|
+
};
|
|
822
|
+
};
|
|
895
823
|
};
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
}
|
|
919
|
-
|
|
824
|
+
card: {
|
|
825
|
+
borderRadius: string;
|
|
826
|
+
};
|
|
827
|
+
radio: {
|
|
828
|
+
borderColor: string;
|
|
829
|
+
background: string;
|
|
830
|
+
size: {
|
|
831
|
+
small: {
|
|
832
|
+
borderWidth: string;
|
|
833
|
+
margin: string;
|
|
834
|
+
height: string;
|
|
835
|
+
active: {
|
|
836
|
+
borderWidth: string;
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
medium: {
|
|
840
|
+
borderWidth: string;
|
|
841
|
+
margin: string;
|
|
842
|
+
height: string;
|
|
843
|
+
active: {
|
|
844
|
+
borderWidth: string;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
large: {
|
|
848
|
+
borderWidth: string;
|
|
849
|
+
margin: string;
|
|
850
|
+
height: string;
|
|
851
|
+
active: {
|
|
852
|
+
borderWidth: string;
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
label: {
|
|
858
|
+
fontSize: {
|
|
859
|
+
small: string;
|
|
860
|
+
medium: string;
|
|
861
|
+
large: string;
|
|
862
|
+
};
|
|
863
|
+
lineHeight: {
|
|
864
|
+
small: string;
|
|
865
|
+
medium: string;
|
|
866
|
+
large: string;
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
checkbox: {
|
|
870
|
+
background: string;
|
|
871
|
+
borderColor: string;
|
|
872
|
+
active: {
|
|
873
|
+
background: string;
|
|
874
|
+
};
|
|
875
|
+
size: {
|
|
876
|
+
large: {
|
|
877
|
+
width: string;
|
|
878
|
+
height: string;
|
|
879
|
+
borderRadius: string;
|
|
880
|
+
borderWidth: string;
|
|
881
|
+
margin: string;
|
|
882
|
+
icon: {
|
|
883
|
+
width: string;
|
|
884
|
+
height: string;
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
medium: {
|
|
888
|
+
width: string;
|
|
889
|
+
height: string;
|
|
890
|
+
borderRadius: string;
|
|
891
|
+
borderWidth: string;
|
|
892
|
+
margin: string;
|
|
893
|
+
icon: {
|
|
894
|
+
width: string;
|
|
895
|
+
height: string;
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
small: {
|
|
899
|
+
width: string;
|
|
900
|
+
height: string;
|
|
901
|
+
borderRadius: string;
|
|
902
|
+
borderWidth: string;
|
|
903
|
+
margin: string;
|
|
904
|
+
icon: {
|
|
905
|
+
width: string;
|
|
906
|
+
height: string;
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
accordion: {
|
|
912
|
+
variant: {
|
|
913
|
+
box: {
|
|
914
|
+
container: {
|
|
915
|
+
border: string;
|
|
916
|
+
borderColor: string;
|
|
917
|
+
borderRadius: string;
|
|
918
|
+
padding: string;
|
|
919
|
+
};
|
|
920
|
+
summary: {
|
|
921
|
+
fontWeight: number;
|
|
922
|
+
fontSize: string;
|
|
923
|
+
lineHeight: string;
|
|
924
|
+
color: string;
|
|
925
|
+
};
|
|
926
|
+
details: {
|
|
927
|
+
margin: string;
|
|
928
|
+
};
|
|
929
|
+
icon: {
|
|
930
|
+
width: number;
|
|
931
|
+
height: number;
|
|
932
|
+
color: string;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
simple: {
|
|
936
|
+
container: {
|
|
937
|
+
borderTop: string;
|
|
938
|
+
borderBottom: string;
|
|
939
|
+
borderColor: string;
|
|
940
|
+
borderRadius: string;
|
|
941
|
+
padding: string;
|
|
942
|
+
};
|
|
943
|
+
summary: {
|
|
944
|
+
fontWeight: number;
|
|
945
|
+
fontSize: string;
|
|
946
|
+
lineHeight: string;
|
|
947
|
+
color: string;
|
|
948
|
+
};
|
|
949
|
+
details: {
|
|
950
|
+
margin: string;
|
|
951
|
+
};
|
|
952
|
+
icon: {
|
|
953
|
+
width: number;
|
|
954
|
+
height: number;
|
|
955
|
+
color: string;
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
dropdown: {
|
|
961
|
+
borderRadius: string;
|
|
962
|
+
fontSize: string;
|
|
963
|
+
fontWeight: number;
|
|
964
|
+
lineHeight: string;
|
|
965
|
+
padding: string;
|
|
966
|
+
color: string;
|
|
967
|
+
fill: string;
|
|
968
|
+
options: {
|
|
969
|
+
borderColor: string;
|
|
970
|
+
color: string;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
modal: {
|
|
974
|
+
minWidth: string;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
declare type ThemeTypography = {
|
|
978
|
+
config: {
|
|
979
|
+
weight: {
|
|
980
|
+
heavy: number;
|
|
981
|
+
bold: number;
|
|
982
|
+
demi: number;
|
|
983
|
+
regular: number;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
variants: Record<string, CSSProperties>;
|
|
987
|
+
};
|
|
988
|
+
declare type ThemeFonts = {
|
|
989
|
+
url: string;
|
|
990
|
+
config: Array<{
|
|
991
|
+
src: string;
|
|
992
|
+
family: string;
|
|
993
|
+
weight?: number | string;
|
|
994
|
+
style?: string;
|
|
995
|
+
stretch?: string;
|
|
996
|
+
}>;
|
|
997
|
+
};
|
|
998
|
+
declare type ThemeAssets = {
|
|
999
|
+
images: {
|
|
1000
|
+
favicon: string;
|
|
1001
|
+
logo: string;
|
|
1002
|
+
};
|
|
1003
|
+
[key: string]: any;
|
|
1004
|
+
};
|
|
920
1005
|
|
|
921
|
-
interface
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
1006
|
+
interface CheckboxProps {
|
|
1007
|
+
disabled?: boolean;
|
|
1008
|
+
onChange: (checked: boolean) => void;
|
|
1009
|
+
size?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1010
|
+
text: string;
|
|
1011
|
+
checked?: boolean;
|
|
1012
|
+
id: string;
|
|
927
1013
|
backgroundColor?: string;
|
|
928
|
-
|
|
929
|
-
position?: 'left' | 'right';
|
|
930
|
-
width?: string;
|
|
931
|
-
}
|
|
932
|
-
declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
|
|
933
|
-
|
|
934
|
-
interface SpinnerProps {
|
|
935
|
-
fill: string;
|
|
936
|
-
background: string;
|
|
937
|
-
animationDuration?: number;
|
|
938
|
-
complete?: boolean;
|
|
939
|
-
completeIconStroke?: number;
|
|
940
|
-
size?: string;
|
|
941
|
-
}
|
|
942
|
-
declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
|
|
943
|
-
|
|
944
|
-
interface TagsProps {
|
|
945
|
-
color?: string;
|
|
946
|
-
items: string[];
|
|
947
|
-
onCloseClick: (index: number) => void;
|
|
1014
|
+
variant: 'primary' | 'secondary';
|
|
948
1015
|
}
|
|
949
|
-
declare const
|
|
950
|
-
|
|
951
|
-
declare type FilteringDropdownProps<T> = {
|
|
952
|
-
options: DropdownOption<T>[];
|
|
953
|
-
disabled?: boolean;
|
|
954
|
-
wide?: boolean;
|
|
955
|
-
onChange: (options: DropdownOption<T>[]) => void;
|
|
956
|
-
filter?: boolean;
|
|
957
|
-
sliceAfter?: number;
|
|
958
|
-
placeHolder: string;
|
|
959
|
-
};
|
|
960
|
-
declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
|
|
1016
|
+
declare const Checkbox: ({ disabled, onChange, size, text, checked, id, variant, }: CheckboxProps) => JSX.Element;
|
|
961
1017
|
|
|
962
|
-
interface
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
boldActive?: boolean;
|
|
1018
|
+
interface RadioGroupInputProps {
|
|
1019
|
+
name: string;
|
|
1020
|
+
options?: RadioGroupOption[];
|
|
1021
|
+
value?: RadioGroupOption;
|
|
1022
|
+
onChange: (value: RadioGroupOption) => void;
|
|
1023
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
969
1024
|
disabled?: boolean;
|
|
970
1025
|
}
|
|
971
|
-
declare const
|
|
1026
|
+
declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
972
1027
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
};
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
};
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
original?: boolean;
|
|
1033
|
-
allCaps?: never;
|
|
1034
|
-
};
|
|
1035
|
-
declare type TextLinkProps = {
|
|
1036
|
-
variant: 'link';
|
|
1037
|
-
weight?: 'demi' | 'regular';
|
|
1038
|
-
size?: 'regular' | 'small';
|
|
1039
|
-
underline?: boolean;
|
|
1028
|
+
interface SimpleProps {
|
|
1029
|
+
title: string;
|
|
1030
|
+
freeShippingText: string;
|
|
1031
|
+
price: string;
|
|
1032
|
+
anyQtyForText: string;
|
|
1033
|
+
backgroundColor: string;
|
|
1034
|
+
widthAuto?: boolean;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
interface MinimalisticProps {
|
|
1038
|
+
backgroundColor?: string;
|
|
1039
|
+
borderColor?: string;
|
|
1040
|
+
originalPrice: string;
|
|
1041
|
+
price: string;
|
|
1042
|
+
savingPrice: string;
|
|
1043
|
+
getMorePayLessText: string;
|
|
1044
|
+
youAreSavingText: string;
|
|
1045
|
+
getQtyForText: string;
|
|
1046
|
+
discount: number;
|
|
1047
|
+
offText: string;
|
|
1048
|
+
widthAuto?: boolean;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
declare const Bundle: {
|
|
1052
|
+
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
1053
|
+
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
interface CategoryTagProps {
|
|
1057
|
+
text: string;
|
|
1058
|
+
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1059
|
+
className?: string;
|
|
1060
|
+
}
|
|
1061
|
+
declare const CategoryTag: ({ text, size, className }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1062
|
+
|
|
1063
|
+
interface SeasonOfferTagProps {
|
|
1064
|
+
text: string;
|
|
1065
|
+
backgroundColor?: string;
|
|
1066
|
+
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1067
|
+
className?: string;
|
|
1068
|
+
}
|
|
1069
|
+
declare const SeasonOfferTag: ({ text, backgroundColor, size, className, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1070
|
+
|
|
1071
|
+
interface TimeProps {
|
|
1072
|
+
hours: number;
|
|
1073
|
+
minutes: number;
|
|
1074
|
+
seconds: number;
|
|
1075
|
+
}
|
|
1076
|
+
interface TimerProps extends TimeProps {
|
|
1077
|
+
onTimeUp: () => void;
|
|
1078
|
+
}
|
|
1079
|
+
declare const Timer: ({ onTimeUp, ...rest }: TimerProps) => JSX.Element;
|
|
1080
|
+
|
|
1081
|
+
interface BaseInputCommmonProps {
|
|
1082
|
+
defaultValue?: string;
|
|
1083
|
+
maxLength?: number;
|
|
1084
|
+
placeholder?: string;
|
|
1085
|
+
label?: string;
|
|
1086
|
+
onValidation?: (status: InputValidationType) => void;
|
|
1040
1087
|
disabled?: boolean;
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
allCaps?: never;
|
|
1044
|
-
} & AnchorHTMLAttributes<'a'>;
|
|
1045
|
-
declare type TextLabelProps = {
|
|
1046
|
-
variant: 'label';
|
|
1047
|
-
weight?: 'regular' | 'demi';
|
|
1088
|
+
required?: string;
|
|
1089
|
+
children?: React.ReactNode;
|
|
1048
1090
|
size?: 'regular' | 'small';
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1091
|
+
}
|
|
1092
|
+
interface BaseInputControlled extends BaseInputCommmonProps {
|
|
1093
|
+
value: string;
|
|
1094
|
+
onChange: (value: string) => void;
|
|
1095
|
+
}
|
|
1096
|
+
interface BaseInputUncontrolled extends BaseInputCommmonProps {
|
|
1097
|
+
value?: never;
|
|
1098
|
+
onChange?: (value: string) => void;
|
|
1099
|
+
}
|
|
1100
|
+
declare type BaseInputProps = BaseInputControlled | BaseInputUncontrolled;
|
|
1101
|
+
|
|
1102
|
+
declare type BasePlusIconProps = BaseInputProps & {
|
|
1103
|
+
Icon: IconType;
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
declare type BasePlusButtonProps = BaseInputProps & {
|
|
1107
|
+
label?: undefined;
|
|
1108
|
+
onClick: (value: string) => void;
|
|
1109
|
+
onClickEdit: () => void;
|
|
1110
|
+
text: string;
|
|
1111
|
+
success: boolean;
|
|
1112
|
+
editText: string;
|
|
1113
|
+
successText: string;
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1116
|
+
interface BaseCTAProps {
|
|
1117
|
+
onClick: () => void;
|
|
1060
1118
|
disabled?: boolean;
|
|
1061
|
-
wide?:
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1119
|
+
wide?: boolean;
|
|
1120
|
+
className?: string;
|
|
1121
|
+
size?: ComponentSize;
|
|
1122
|
+
text: string;
|
|
1123
|
+
type?: ButtonType;
|
|
1124
|
+
}
|
|
1068
1125
|
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1126
|
+
declare type ButtonProps = {
|
|
1127
|
+
variant: 'primary' | 'secondary' | 'secondary-outline';
|
|
1128
|
+
} & BaseCTAProps;
|
|
1129
|
+
|
|
1130
|
+
declare type CustomProps = BaseInputProps & {
|
|
1131
|
+
onClick: () => void;
|
|
1132
|
+
text: string;
|
|
1133
|
+
variant: ButtonProps['variant'];
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
declare const Input: {
|
|
1137
|
+
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
|
|
1138
|
+
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
1139
|
+
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
1140
|
+
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
interface PaymentMethodsProps {
|
|
1144
|
+
Icon: IconType;
|
|
1145
|
+
width: string;
|
|
1146
|
+
height: string;
|
|
1147
|
+
onClick?: () => void;
|
|
1075
1148
|
}
|
|
1076
|
-
declare const
|
|
1149
|
+
declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
|
|
1077
1150
|
|
|
1078
|
-
interface
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
DiscountTagElement?: JSX.Element;
|
|
1082
|
-
BestSellerTagElement?: JSX.Element;
|
|
1083
|
-
productImageDataTestId?: string;
|
|
1084
|
-
slideDotsDataTestId?: string;
|
|
1151
|
+
interface OfferBannerProps {
|
|
1152
|
+
discountAppliedText: string;
|
|
1153
|
+
backgroundColor: string;
|
|
1085
1154
|
}
|
|
1086
|
-
declare const
|
|
1155
|
+
declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
|
|
1087
1156
|
|
|
1088
|
-
declare
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
}>;
|
|
1092
|
-
declare const useTheme: () => Theme;
|
|
1093
|
-
declare const ThemeVariables: FC<{
|
|
1094
|
-
theme: Theme;
|
|
1095
|
-
Container?: ElementType;
|
|
1096
|
-
}>;
|
|
1097
|
-
declare const AssetsProvider: FC<{
|
|
1098
|
-
assets: ThemeAssets;
|
|
1099
|
-
}>;
|
|
1100
|
-
declare const useThemeAssets: () => ThemeAssets;
|
|
1101
|
-
declare type Theme = {
|
|
1102
|
-
name: string;
|
|
1103
|
-
fontSizes: number[];
|
|
1104
|
-
fontWeights: number[];
|
|
1105
|
-
lineHeights: number[];
|
|
1106
|
-
mediaQueries: ThemeBreakpoints;
|
|
1107
|
-
colors: ThemeColors;
|
|
1108
|
-
component: ThemeComponent;
|
|
1109
|
-
typography: ThemeTypography;
|
|
1110
|
-
fonts: ThemeFonts;
|
|
1111
|
-
assets: ThemeAssets;
|
|
1112
|
-
};
|
|
1113
|
-
declare type ThemeBreakpoints = {
|
|
1114
|
-
mobile: number;
|
|
1115
|
-
desktop: number;
|
|
1116
|
-
};
|
|
1117
|
-
declare type ThemeBasicPallete = {
|
|
1118
|
-
color: string;
|
|
1119
|
-
contrast: string;
|
|
1120
|
-
};
|
|
1121
|
-
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
1122
|
-
soft: ThemeBasicPallete;
|
|
1157
|
+
declare type SubtotalOption = {
|
|
1158
|
+
label: string;
|
|
1159
|
+
value: string;
|
|
1123
1160
|
};
|
|
1124
|
-
declare type
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
60: ThemeColorPallete;
|
|
1128
|
-
80: ThemeColorPallete;
|
|
1161
|
+
declare type Coupon = {
|
|
1162
|
+
code: string;
|
|
1163
|
+
amount: string;
|
|
1129
1164
|
};
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
10: ThemeBasicPallete;
|
|
1140
|
-
50: ThemeBasicPallete;
|
|
1141
|
-
100: ThemeBasicPallete;
|
|
1142
|
-
150: ThemeBasicPallete;
|
|
1143
|
-
200: ThemeBasicPallete;
|
|
1144
|
-
250: ThemeBasicPallete;
|
|
1145
|
-
300: ThemeBasicPallete;
|
|
1146
|
-
350: ThemeBasicPallete;
|
|
1147
|
-
400: ThemeBasicPallete;
|
|
1148
|
-
450: ThemeBasicPallete;
|
|
1149
|
-
500: ThemeBasicPallete;
|
|
1150
|
-
550: ThemeBasicPallete;
|
|
1151
|
-
600: ThemeBasicPallete;
|
|
1152
|
-
650: ThemeBasicPallete;
|
|
1153
|
-
700: ThemeBasicPallete;
|
|
1154
|
-
750: ThemeBasicPallete;
|
|
1155
|
-
800: ThemeBasicPallete;
|
|
1156
|
-
850: ThemeBasicPallete;
|
|
1157
|
-
900: ThemeBasicPallete;
|
|
1158
|
-
950: ThemeBasicPallete;
|
|
1159
|
-
990: ThemeBasicPallete;
|
|
1165
|
+
interface SubtotalProps {
|
|
1166
|
+
subtotal: SubtotalOption;
|
|
1167
|
+
shipping: SubtotalOption;
|
|
1168
|
+
taxes: SubtotalOption;
|
|
1169
|
+
highlightColor?: string;
|
|
1170
|
+
coupon?: {
|
|
1171
|
+
couponText: string;
|
|
1172
|
+
appliedText: string;
|
|
1173
|
+
coupons: Coupon[];
|
|
1160
1174
|
};
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
interface TotalProps {
|
|
1178
|
+
total: string;
|
|
1179
|
+
currency: string;
|
|
1180
|
+
highlightColor?: string;
|
|
1181
|
+
saving?: {
|
|
1182
|
+
amount: string;
|
|
1183
|
+
savingText: string;
|
|
1166
1184
|
};
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
declare const Totals: {
|
|
1188
|
+
Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
|
|
1189
|
+
Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
declare type detail = {
|
|
1193
|
+
title: string;
|
|
1194
|
+
details: string;
|
|
1195
|
+
};
|
|
1196
|
+
interface orderUpdate extends detail {
|
|
1197
|
+
keepMeUpdated: {
|
|
1198
|
+
title: string;
|
|
1199
|
+
onClick: () => void;
|
|
1171
1200
|
};
|
|
1172
|
-
|
|
1201
|
+
}
|
|
1202
|
+
interface DeliveryDetailsProps {
|
|
1203
|
+
deliveryDetailsText: string;
|
|
1204
|
+
arrivingBy: detail;
|
|
1205
|
+
shippingTo: detail;
|
|
1206
|
+
instantOrderUpdate: orderUpdate;
|
|
1207
|
+
note?: {
|
|
1208
|
+
importantNoteText: string;
|
|
1209
|
+
text: string;
|
|
1210
|
+
accentColor: string;
|
|
1211
|
+
backgroundColor: string;
|
|
1173
1212
|
color: string;
|
|
1174
|
-
disabled: string;
|
|
1175
1213
|
};
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1214
|
+
}
|
|
1215
|
+
declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
|
|
1216
|
+
|
|
1217
|
+
interface ScrollToTopProps {
|
|
1218
|
+
scrollToTopText: string;
|
|
1219
|
+
onClick: () => void;
|
|
1220
|
+
}
|
|
1221
|
+
declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
|
|
1222
|
+
|
|
1223
|
+
interface OrderBarProps {
|
|
1224
|
+
message: string;
|
|
1225
|
+
}
|
|
1226
|
+
declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
|
|
1227
|
+
|
|
1228
|
+
interface TableProps {
|
|
1229
|
+
headers: string[];
|
|
1230
|
+
data: string[][];
|
|
1231
|
+
}
|
|
1232
|
+
declare const SizeTable: ({ headers, data }: TableProps) => JSX.Element;
|
|
1233
|
+
|
|
1234
|
+
interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
|
|
1235
|
+
color?: string;
|
|
1236
|
+
}
|
|
1237
|
+
interface ProductOrderItemProps {
|
|
1238
|
+
title: string;
|
|
1239
|
+
subtitle: string;
|
|
1240
|
+
image: {
|
|
1241
|
+
src: string;
|
|
1242
|
+
alt: string;
|
|
1179
1243
|
};
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
borderRadius: string;
|
|
1185
|
-
fontWeight: number;
|
|
1186
|
-
size: {
|
|
1187
|
-
small: {
|
|
1188
|
-
fontSize: string;
|
|
1189
|
-
padding: string;
|
|
1190
|
-
};
|
|
1191
|
-
medium: {
|
|
1192
|
-
fontSize: string;
|
|
1193
|
-
padding: string;
|
|
1194
|
-
};
|
|
1195
|
-
large: {
|
|
1196
|
-
fontSize: string;
|
|
1197
|
-
padding: string;
|
|
1198
|
-
};
|
|
1199
|
-
};
|
|
1200
|
-
primary: {
|
|
1201
|
-
active: {
|
|
1202
|
-
backgroundColor: string;
|
|
1203
|
-
color: string;
|
|
1204
|
-
};
|
|
1205
|
-
hover: {
|
|
1206
|
-
backgroundColor: string;
|
|
1207
|
-
color: string;
|
|
1208
|
-
};
|
|
1209
|
-
};
|
|
1210
|
-
secondary: {
|
|
1211
|
-
active: {
|
|
1212
|
-
backgroundColor: string;
|
|
1213
|
-
color: string;
|
|
1214
|
-
};
|
|
1215
|
-
hover: {
|
|
1216
|
-
backgroundColor: string;
|
|
1217
|
-
color: string;
|
|
1218
|
-
};
|
|
1219
|
-
};
|
|
1244
|
+
price: Price;
|
|
1245
|
+
tag?: {
|
|
1246
|
+
text: string;
|
|
1247
|
+
backgroundColor: string;
|
|
1220
1248
|
};
|
|
1221
|
-
|
|
1222
|
-
|
|
1249
|
+
}
|
|
1250
|
+
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
|
|
1251
|
+
|
|
1252
|
+
interface ReviewProps {
|
|
1253
|
+
reviewerName: string;
|
|
1254
|
+
date: Date;
|
|
1255
|
+
rating: number;
|
|
1256
|
+
stars: {
|
|
1223
1257
|
color: string;
|
|
1224
|
-
|
|
1225
|
-
borderRadius: string;
|
|
1226
|
-
fontSize: string;
|
|
1227
|
-
fontWeight: number;
|
|
1228
|
-
padding: string;
|
|
1229
|
-
lineHeight: string;
|
|
1230
|
-
border: string;
|
|
1231
|
-
boxShadow: string;
|
|
1232
|
-
};
|
|
1233
|
-
inputCustom: {
|
|
1234
|
-
button: {
|
|
1235
|
-
borderRadius: string;
|
|
1236
|
-
};
|
|
1237
|
-
input: {
|
|
1238
|
-
borderRadius: string;
|
|
1239
|
-
};
|
|
1240
|
-
};
|
|
1241
|
-
selector: {
|
|
1242
|
-
size: {
|
|
1243
|
-
small: {
|
|
1244
|
-
padding: string;
|
|
1245
|
-
borderRadius: string;
|
|
1246
|
-
};
|
|
1247
|
-
medium: {
|
|
1248
|
-
padding: string;
|
|
1249
|
-
borderRadius: string;
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
|
-
default: {
|
|
1253
|
-
fontWeight: number;
|
|
1254
|
-
border: string;
|
|
1255
|
-
background: string;
|
|
1256
|
-
color: string;
|
|
1257
|
-
};
|
|
1258
|
-
hover: {
|
|
1259
|
-
fontWeight: number;
|
|
1260
|
-
background: string;
|
|
1261
|
-
border: string;
|
|
1262
|
-
color: string;
|
|
1263
|
-
};
|
|
1264
|
-
disabled: {
|
|
1265
|
-
border: string;
|
|
1266
|
-
};
|
|
1267
|
-
fontSize: string;
|
|
1258
|
+
size: ComponentSize.Medium | ComponentSize.Small;
|
|
1268
1259
|
};
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
lineHeight: string;
|
|
1275
|
-
};
|
|
1276
|
-
small: {
|
|
1277
|
-
fontSize: string;
|
|
1278
|
-
lineHeight: string;
|
|
1279
|
-
};
|
|
1280
|
-
medium: {
|
|
1281
|
-
fontSize: string;
|
|
1282
|
-
lineHeight: string;
|
|
1283
|
-
};
|
|
1284
|
-
large: {
|
|
1285
|
-
fontSize: string;
|
|
1286
|
-
lineHeight: string;
|
|
1287
|
-
};
|
|
1288
|
-
};
|
|
1260
|
+
title: string;
|
|
1261
|
+
description: string;
|
|
1262
|
+
image: {
|
|
1263
|
+
src: string;
|
|
1264
|
+
alt: string;
|
|
1289
1265
|
};
|
|
1290
|
-
|
|
1291
|
-
|
|
1266
|
+
}
|
|
1267
|
+
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
1268
|
+
|
|
1269
|
+
interface SliderNavigationProps {
|
|
1270
|
+
children: JSX.Element[];
|
|
1271
|
+
infinite: boolean;
|
|
1272
|
+
adaptiveHeight: boolean;
|
|
1273
|
+
dotsSize: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1274
|
+
dotListMarginTop: number;
|
|
1275
|
+
initialSlide?: number;
|
|
1276
|
+
arrows?: {
|
|
1277
|
+
arrowWidth: number;
|
|
1278
|
+
arrowHeight: number;
|
|
1279
|
+
arrowPadding: number;
|
|
1292
1280
|
};
|
|
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
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
height: string;
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
medium: {
|
|
1354
|
-
width: string;
|
|
1355
|
-
height: string;
|
|
1356
|
-
borderRadius: string;
|
|
1357
|
-
borderWidth: string;
|
|
1358
|
-
margin: string;
|
|
1359
|
-
icon: {
|
|
1360
|
-
width: string;
|
|
1361
|
-
height: string;
|
|
1362
|
-
};
|
|
1363
|
-
};
|
|
1364
|
-
small: {
|
|
1365
|
-
width: string;
|
|
1366
|
-
height: string;
|
|
1367
|
-
borderRadius: string;
|
|
1368
|
-
borderWidth: string;
|
|
1369
|
-
margin: string;
|
|
1370
|
-
icon: {
|
|
1371
|
-
width: string;
|
|
1372
|
-
height: string;
|
|
1373
|
-
};
|
|
1374
|
-
};
|
|
1375
|
-
};
|
|
1376
|
-
};
|
|
1377
|
-
accordion: {
|
|
1378
|
-
variant: {
|
|
1379
|
-
box: {
|
|
1380
|
-
container: {
|
|
1381
|
-
border: string;
|
|
1382
|
-
borderColor: string;
|
|
1383
|
-
borderRadius: string;
|
|
1384
|
-
padding: string;
|
|
1385
|
-
};
|
|
1386
|
-
summary: {
|
|
1387
|
-
fontWeight: number;
|
|
1388
|
-
fontSize: string;
|
|
1389
|
-
lineHeight: string;
|
|
1390
|
-
color: string;
|
|
1391
|
-
};
|
|
1392
|
-
details: {
|
|
1393
|
-
margin: string;
|
|
1394
|
-
};
|
|
1395
|
-
icon: {
|
|
1396
|
-
width: number;
|
|
1397
|
-
height: number;
|
|
1398
|
-
color: string;
|
|
1399
|
-
};
|
|
1400
|
-
};
|
|
1401
|
-
simple: {
|
|
1402
|
-
container: {
|
|
1403
|
-
borderTop: string;
|
|
1404
|
-
borderBottom: string;
|
|
1405
|
-
borderColor: string;
|
|
1406
|
-
borderRadius: string;
|
|
1407
|
-
padding: string;
|
|
1408
|
-
};
|
|
1409
|
-
summary: {
|
|
1410
|
-
fontWeight: number;
|
|
1411
|
-
fontSize: string;
|
|
1412
|
-
lineHeight: string;
|
|
1413
|
-
color: string;
|
|
1414
|
-
};
|
|
1415
|
-
details: {
|
|
1416
|
-
margin: string;
|
|
1417
|
-
};
|
|
1418
|
-
icon: {
|
|
1419
|
-
width: number;
|
|
1420
|
-
height: number;
|
|
1421
|
-
color: string;
|
|
1422
|
-
};
|
|
1423
|
-
};
|
|
1424
|
-
};
|
|
1425
|
-
};
|
|
1426
|
-
dropdown: {
|
|
1427
|
-
borderRadius: string;
|
|
1428
|
-
fontSize: string;
|
|
1429
|
-
fontWeight: number;
|
|
1430
|
-
lineHeight: string;
|
|
1431
|
-
padding: string;
|
|
1432
|
-
color: string;
|
|
1433
|
-
fill: string;
|
|
1434
|
-
options: {
|
|
1435
|
-
borderColor: string;
|
|
1436
|
-
color: string;
|
|
1437
|
-
};
|
|
1281
|
+
}
|
|
1282
|
+
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1283
|
+
|
|
1284
|
+
interface DropdownListIconsProps {
|
|
1285
|
+
items: DropdownListIconsItem[];
|
|
1286
|
+
}
|
|
1287
|
+
declare const DropdownListIcons: ({ items }: DropdownListIconsProps) => JSX.Element;
|
|
1288
|
+
|
|
1289
|
+
interface ImageStyleProps {
|
|
1290
|
+
height?: string;
|
|
1291
|
+
width?: string;
|
|
1292
|
+
borderRadius?: string;
|
|
1293
|
+
objectFit?: string;
|
|
1294
|
+
objectPosition?: string;
|
|
1295
|
+
className?: string;
|
|
1296
|
+
}
|
|
1297
|
+
interface ImageProps extends ImageStyleProps {
|
|
1298
|
+
src: string;
|
|
1299
|
+
alt: string;
|
|
1300
|
+
}
|
|
1301
|
+
declare const Image: ({ src, alt, height, width, borderRadius, objectFit, objectPosition, className, }: ImageProps) => JSX.Element;
|
|
1302
|
+
|
|
1303
|
+
interface AmazonPaypalBtnProps {
|
|
1304
|
+
onClick: () => void;
|
|
1305
|
+
}
|
|
1306
|
+
declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
1307
|
+
declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
|
|
1308
|
+
|
|
1309
|
+
interface CrossSellCheckboxProps extends rightToLeftProps {
|
|
1310
|
+
imageURL: string;
|
|
1311
|
+
title: string;
|
|
1312
|
+
description: string;
|
|
1313
|
+
freeShippingText: string;
|
|
1314
|
+
onChange: (checked: Boolean) => void;
|
|
1315
|
+
}
|
|
1316
|
+
interface rightToLeftProps {
|
|
1317
|
+
rightToLeft: boolean;
|
|
1318
|
+
}
|
|
1319
|
+
declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
|
|
1320
|
+
|
|
1321
|
+
type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
|
|
1322
|
+
declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
|
|
1323
|
+
declare namespace index_d {
|
|
1324
|
+
export {
|
|
1325
|
+
index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
|
|
1326
|
+
index_d_CrossSellCheckbox as CrossSellCheckbox,
|
|
1327
|
+
};
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
interface ProductItemProps {
|
|
1331
|
+
title: string;
|
|
1332
|
+
image: ImageProps;
|
|
1333
|
+
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
1334
|
+
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
1335
|
+
tags?: {
|
|
1336
|
+
categoryTagText: string;
|
|
1337
|
+
seasonOfferTagText: string;
|
|
1438
1338
|
};
|
|
1339
|
+
alignName?: 'left' | 'center';
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
1343
|
+
size: ComponentSize.Medium | ComponentSize.Small;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
|
|
1347
|
+
(props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
|
|
1348
|
+
displayName: string;
|
|
1349
|
+
};
|
|
1350
|
+
|
|
1351
|
+
declare const Collection: {
|
|
1352
|
+
ProductItemMobile: ({ title, image, price, rating, size, tags, alignName, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1353
|
+
withProductGrid: typeof withProductGrid;
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
interface StarListProps {
|
|
1357
|
+
rating: number;
|
|
1358
|
+
size?: ComponentSize;
|
|
1359
|
+
starsNumber: number;
|
|
1360
|
+
fill: string;
|
|
1361
|
+
}
|
|
1362
|
+
declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
|
|
1363
|
+
|
|
1364
|
+
interface DrawerProps {
|
|
1365
|
+
children: React.ReactNode;
|
|
1366
|
+
isOpen: boolean;
|
|
1367
|
+
onClose?: () => void;
|
|
1368
|
+
onOpen?: () => void;
|
|
1369
|
+
onClickOutside?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1370
|
+
backgroundColor?: string;
|
|
1371
|
+
backdropColor?: string;
|
|
1372
|
+
position?: 'left' | 'right';
|
|
1373
|
+
width?: string;
|
|
1374
|
+
}
|
|
1375
|
+
declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
|
|
1376
|
+
|
|
1377
|
+
interface SpinnerProps {
|
|
1378
|
+
fill: string;
|
|
1379
|
+
background: string;
|
|
1380
|
+
animationDuration?: number;
|
|
1381
|
+
complete?: boolean;
|
|
1382
|
+
completeIconStroke?: number;
|
|
1383
|
+
size?: string;
|
|
1384
|
+
}
|
|
1385
|
+
declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
|
|
1386
|
+
|
|
1387
|
+
interface TagsProps {
|
|
1388
|
+
color?: string;
|
|
1389
|
+
items: string[];
|
|
1390
|
+
onCloseClick: (index: number) => void;
|
|
1391
|
+
}
|
|
1392
|
+
declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
|
|
1393
|
+
|
|
1394
|
+
declare type FilteringDropdownProps<T> = {
|
|
1395
|
+
options: DropdownOption<T>[];
|
|
1396
|
+
disabled?: boolean;
|
|
1397
|
+
wide?: boolean;
|
|
1398
|
+
onChange: (options: DropdownOption<T>[]) => void;
|
|
1399
|
+
filter?: boolean;
|
|
1400
|
+
sliceAfter?: number;
|
|
1401
|
+
placeHolder: string;
|
|
1439
1402
|
};
|
|
1440
|
-
declare
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1403
|
+
declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
|
|
1404
|
+
|
|
1405
|
+
interface PaginationProps {
|
|
1406
|
+
from: number;
|
|
1407
|
+
to: number;
|
|
1408
|
+
onChange: (page: number) => void;
|
|
1409
|
+
currentPage?: number;
|
|
1410
|
+
underlineActive?: boolean;
|
|
1411
|
+
boldActive?: boolean;
|
|
1412
|
+
disabled?: boolean;
|
|
1413
|
+
}
|
|
1414
|
+
declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
|
|
1415
|
+
|
|
1416
|
+
declare const Text: FC<TextProps>;
|
|
1417
|
+
declare type TextHeroProps = {
|
|
1418
|
+
variant: 'hero1' | 'hero2' | 'hero3';
|
|
1419
|
+
weight?: 'heavy' | 'bold' | 'demi';
|
|
1420
|
+
size?: 'regular';
|
|
1421
|
+
underline?: never;
|
|
1422
|
+
disabled?: never;
|
|
1423
|
+
wide?: never;
|
|
1424
|
+
original?: never;
|
|
1425
|
+
allCaps?: never;
|
|
1450
1426
|
};
|
|
1451
|
-
declare type
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1427
|
+
declare type TextDisplayProps = {
|
|
1428
|
+
variant: 'display1' | 'display2';
|
|
1429
|
+
weight?: 'bold' | 'demi';
|
|
1430
|
+
size?: 'regular';
|
|
1431
|
+
underline?: never;
|
|
1432
|
+
disabled?: never;
|
|
1433
|
+
wide?: never;
|
|
1434
|
+
original?: never;
|
|
1435
|
+
allCaps?: never;
|
|
1460
1436
|
};
|
|
1461
|
-
declare type
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1437
|
+
declare type TextHeadingProps = {
|
|
1438
|
+
variant: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
1439
|
+
weight?: 'bold' | 'demi' | 'regular';
|
|
1440
|
+
size?: 'regular';
|
|
1441
|
+
underline?: never;
|
|
1442
|
+
disabled?: never;
|
|
1443
|
+
wide?: never;
|
|
1444
|
+
original?: never;
|
|
1445
|
+
allCaps?: never;
|
|
1446
|
+
};
|
|
1447
|
+
declare type TextBodyProps = {
|
|
1448
|
+
variant: 'body';
|
|
1449
|
+
size?: 'regular' | 'small';
|
|
1450
|
+
weight?: 'bold' | 'demi' | 'regular';
|
|
1451
|
+
underline?: never;
|
|
1452
|
+
disabled?: never;
|
|
1453
|
+
wide?: never;
|
|
1454
|
+
original?: never;
|
|
1455
|
+
allCaps?: never;
|
|
1456
|
+
};
|
|
1457
|
+
declare type TextButtonProps = {
|
|
1458
|
+
variant: 'button';
|
|
1459
|
+
size: 'large' | 'regular' | 'small';
|
|
1460
|
+
weight: 'bold' | 'demi';
|
|
1461
|
+
underline?: never;
|
|
1462
|
+
disabled?: never;
|
|
1463
|
+
wide?: boolean;
|
|
1464
|
+
original?: never;
|
|
1465
|
+
allCaps?: never;
|
|
1466
|
+
};
|
|
1467
|
+
declare type TextPricingProps = {
|
|
1468
|
+
variant: 'pricing';
|
|
1469
|
+
size: 'large' | 'medium' | 'regular' | 'small';
|
|
1470
|
+
weight?: never;
|
|
1471
|
+
underline?: never;
|
|
1472
|
+
disabled?: never;
|
|
1473
|
+
wide?: never;
|
|
1474
|
+
original?: boolean;
|
|
1475
|
+
allCaps?: never;
|
|
1476
|
+
};
|
|
1477
|
+
declare type TextLinkProps = {
|
|
1478
|
+
variant: 'link';
|
|
1479
|
+
weight?: 'demi' | 'regular';
|
|
1480
|
+
size?: 'regular' | 'small';
|
|
1481
|
+
underline?: boolean;
|
|
1482
|
+
disabled?: boolean;
|
|
1483
|
+
wide?: never;
|
|
1484
|
+
original?: never;
|
|
1485
|
+
allCaps?: never;
|
|
1486
|
+
} & AnchorHTMLAttributes<'a'>;
|
|
1487
|
+
declare type TextLabelProps = {
|
|
1488
|
+
variant: 'label';
|
|
1489
|
+
weight?: 'regular' | 'demi';
|
|
1490
|
+
size?: 'regular' | 'small';
|
|
1491
|
+
underline?: never;
|
|
1492
|
+
disabled?: boolean;
|
|
1493
|
+
wide?: never;
|
|
1494
|
+
original?: never;
|
|
1495
|
+
allCaps?: never;
|
|
1496
|
+
} & LabelHTMLAttributes<'label'>;
|
|
1497
|
+
declare type TextTagProps = {
|
|
1498
|
+
variant: 'tag';
|
|
1499
|
+
size?: 'regular' | 'small' | 'x-small';
|
|
1500
|
+
weight?: 'regular' | 'demi' | 'bold';
|
|
1501
|
+
underline?: never;
|
|
1502
|
+
disabled?: boolean;
|
|
1503
|
+
wide?: never;
|
|
1504
|
+
original?: never;
|
|
1505
|
+
allCaps?: boolean;
|
|
1506
|
+
};
|
|
1507
|
+
declare type TextProps = AriaAttributes & {
|
|
1508
|
+
style?: CSSProperties;
|
|
1509
|
+
className?: string;
|
|
1510
|
+
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1511
|
+
|
|
1512
|
+
interface SearchBarProps {
|
|
1513
|
+
suggestions: SearchBarOptionItem[];
|
|
1514
|
+
resultOptions: SearchBarOptionItem[];
|
|
1515
|
+
onChange: (text: string) => void;
|
|
1516
|
+
onSearch: (term: string) => void;
|
|
1517
|
+
resultsPanelDataTestId?: string;
|
|
1518
|
+
}
|
|
1519
|
+
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
|
|
1520
|
+
|
|
1521
|
+
interface ProductGalleryMobileProps {
|
|
1522
|
+
images: ImageType[];
|
|
1523
|
+
selectedValue?: ImageType;
|
|
1524
|
+
DiscountTagElement?: JSX.Element;
|
|
1525
|
+
BestSellerTagElement?: JSX.Element;
|
|
1526
|
+
productImageDataTestId?: string;
|
|
1527
|
+
slideDotsDataTestId?: string;
|
|
1528
|
+
}
|
|
1529
|
+
declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
|
|
1530
|
+
|
|
1531
|
+
interface RadioProps {
|
|
1532
|
+
name: string;
|
|
1533
|
+
value: string;
|
|
1534
|
+
id: string;
|
|
1535
|
+
label: string;
|
|
1536
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1537
|
+
checked?: boolean;
|
|
1538
|
+
disabled?: boolean;
|
|
1539
|
+
onChange: (option: RadioGroupOption) => void;
|
|
1540
|
+
}
|
|
1541
|
+
declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
|
|
1542
|
+
|
|
1543
|
+
declare type PortalProps = {
|
|
1544
|
+
id: string;
|
|
1545
|
+
className?: string;
|
|
1546
|
+
};
|
|
1547
|
+
declare const Portal: FC<PortalProps>;
|
|
1468
1548
|
|
|
1469
1549
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
1470
1550
|
|
|
1471
|
-
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints
|
|
1551
|
+
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
|
|
1472
1552
|
isMobile: boolean;
|
|
1473
1553
|
windowDimensions: {
|
|
1474
1554
|
width: number;
|
|
@@ -1476,4 +1556,4 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
|
|
|
1476
1556
|
};
|
|
1477
1557
|
};
|
|
1478
1558
|
|
|
1479
|
-
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 };
|
|
1559
|
+
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 };
|