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