@trafilea/afrodita-components 3.0.7-beta.0 → 4.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +12 -0
- package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +1 -0
- package/build/dts/components/accordion/Accordion.d.ts +13 -0
- package/build/dts/components/accordion/Accordion.stories.d.ts +9 -0
- package/build/dts/components/accordion/Accordion.test.d.ts +1 -0
- package/build/dts/components/accordion/styles.d.ts +16 -0
- package/build/dts/components/bundle/index.d.ts +5 -0
- package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +15 -0
- package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +9 -0
- package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +1 -0
- package/build/dts/components/bundle/simple/Simple.d.ts +10 -0
- package/build/dts/components/bundle/simple/Simple.stories.d.ts +9 -0
- package/build/dts/components/bundle/simple/Simple.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +5 -0
- package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Description/Description.d.ts +5 -0
- package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Description/Description.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/Promo/Promo.d.ts +5 -0
- package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +5 -0
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/Title/Title.d.ts +5 -0
- package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +9 -0
- package/build/dts/components/cartProductItem/Title/Title.test.d.ts +1 -0
- package/build/dts/components/cartProductItem/index.d.ts +8 -0
- package/build/dts/components/checkbox/Checkbox.d.ts +21 -0
- package/build/dts/components/checkbox/Checkbox.stories.d.ts +24 -0
- package/build/dts/components/checkbox/Checkbox.test.d.ts +1 -0
- package/build/dts/components/checkbox/styles.d.ts +9 -0
- package/build/dts/components/collection/grid/WithProductGrid.d.ts +11 -0
- package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +9 -0
- package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +1 -0
- package/build/dts/components/collection/index.d.ts +5 -0
- package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +7 -0
- package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +24 -0
- package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +1 -0
- package/build/dts/components/collection/product/types.d.ts +14 -0
- package/build/dts/components/color/ColorRadioGroup.d.ts +24 -0
- package/build/dts/components/color/MultiColorPicker.d.ts +10 -0
- package/build/dts/components/color/MultiColorPicker.stories.d.ts +9 -0
- package/build/dts/components/color/MultiColorPicker.test.d.ts +1 -0
- package/build/dts/components/color/SingleColorPicker.d.ts +10 -0
- package/build/dts/components/color/SingleColorPicker.stories.d.ts +9 -0
- package/build/dts/components/color/SingleColorPicker.test.d.ts +1 -0
- package/build/dts/components/color/selector/ColorSelector.d.ts +15 -0
- package/build/dts/components/color/selector/ColorSelector.stories.d.ts +14 -0
- package/build/dts/components/color/selector/ColorSelector.test.d.ts +1 -0
- package/build/dts/components/color/selector/OneColorSelector.d.ts +8 -0
- package/build/dts/components/color/selector/OutOfStock.d.ts +6 -0
- package/build/dts/components/color/selector/PatternSelector.d.ts +8 -0
- package/build/dts/components/color/selector/PatternSelector.test.d.ts +1 -0
- package/build/dts/components/color/selector/ThreeColorSelector.d.ts +10 -0
- package/build/dts/components/color/selector/TwoColorSelector.d.ts +9 -0
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +13 -0
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +9 -0
- package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +1 -0
- package/build/dts/components/cross-sell/index.d.ts +1 -0
- package/build/dts/components/cta/BaseCTA.d.ts +13 -0
- package/build/dts/components/cta/BaseCTA.test.d.ts +1 -0
- package/build/dts/components/cta/index.d.ts +3 -0
- package/build/dts/components/cta/primary/ButtonPrimary.d.ts +3 -0
- package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +37 -0
- package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +1 -0
- package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +3 -0
- package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +37 -0
- package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +1 -0
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +3 -0
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +37 -0
- package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +1 -0
- package/build/dts/components/delivery-details/DeliveryDetails.d.ts +26 -0
- package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +9 -0
- package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +1 -0
- package/build/dts/components/delivery-details/Note/Note.d.ts +9 -0
- package/build/dts/components/delivery-details/Note/Note.stories.d.ts +9 -0
- package/build/dts/components/delivery-details/Note/Note.test.d.ts +1 -0
- package/build/dts/components/drawer/Drawer.d.ts +13 -0
- package/build/dts/components/drawer/Drawer.stories.d.ts +14 -0
- package/build/dts/components/drawer/Drawer.test.d.ts +1 -0
- package/build/dts/components/dropdown/base/BaseDropdown.d.ts +17 -0
- package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +12 -0
- package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +11 -0
- package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +6 -0
- package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +1 -0
- package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +13 -0
- package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +12 -0
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +20 -0
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +13 -0
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +1 -0
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +6 -0
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +9 -0
- package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +1 -0
- package/build/dts/components/dropdown-list-icons/Styled.d.ts +34 -0
- package/build/dts/components/filtering/Accordion.d.ts +8 -0
- package/build/dts/components/filtering/Filters.d.ts +15 -0
- package/build/dts/components/filtering/Filters.stories.d.ts +9 -0
- package/build/dts/components/filtering/Filters.test.d.ts +1 -0
- package/build/dts/components/filtering/FiltersStyled.d.ts +43 -0
- package/build/dts/components/filtering/Tags/Tags.d.ts +24 -0
- package/build/dts/components/filtering/Tags/Tags.stories.d.ts +9 -0
- package/build/dts/components/filtering/Tags/Tags.test.d.ts +1 -0
- package/build/dts/components/fit/FitPredictor.d.ts +5 -0
- package/build/dts/components/fit/FitPredictor.stories.d.ts +7 -0
- package/build/dts/components/fit/FitPredictor.test.d.ts +1 -0
- package/build/dts/components/gallery/ImagePreviewList.d.ts +9 -0
- package/build/dts/components/gallery/ImagePreviewList.test.d.ts +1 -0
- package/build/dts/components/gallery/ImageProductWithTags.d.ts +10 -0
- package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +1 -0
- package/build/dts/components/gallery/ImageSmallPreview.d.ts +9 -0
- package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +1 -0
- package/build/dts/components/gallery/ProductGallery.d.ts +12 -0
- package/build/dts/components/gallery/ProductGallery.stories.d.ts +9 -0
- package/build/dts/components/gallery/ProductGallery.test.d.ts +1 -0
- package/build/dts/components/icon-button/IconButton.d.ts +16 -0
- package/build/dts/components/icon-button/IconButton.stories.d.ts +23 -0
- package/build/dts/components/icon-button/IconButton.test.d.ts +1 -0
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +6 -0
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +7 -0
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +1 -0
- package/build/dts/components/icons/Actions/Check.d.ts +3 -0
- package/build/dts/components/icons/Actions/ClearLight.d.ts +3 -0
- package/build/dts/components/icons/Actions/Close.d.ts +3 -0
- package/build/dts/components/icons/Actions/LightCheck.d.ts +6 -0
- package/build/dts/components/icons/Actions/LightExclamation.d.ts +3 -0
- package/build/dts/components/icons/Actions/Question.d.ts +3 -0
- package/build/dts/components/icons/Actions/Trash.d.ts +3 -0
- package/build/dts/components/icons/Actions/index.d.ts +7 -0
- package/build/dts/components/icons/Arrows/ChevronDown.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronRight.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronUp.d.ts +3 -0
- package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +3 -0
- package/build/dts/components/icons/Arrows/CircleUp.d.ts +3 -0
- package/build/dts/components/icons/Arrows/index.d.ts +7 -0
- package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +3 -0
- package/build/dts/components/icons/Custom/index.d.ts +1 -0
- package/build/dts/components/icons/Download/AppleStore.d.ts +3 -0
- package/build/dts/components/icons/Download/GooglePlay.d.ts +3 -0
- package/build/dts/components/icons/Download/index.d.ts +2 -0
- package/build/dts/components/icons/Messaging/Comment.d.ts +3 -0
- package/build/dts/components/icons/Messaging/Messenger.d.ts +3 -0
- package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +3 -0
- package/build/dts/components/icons/Messaging/index.d.ts +3 -0
- package/build/dts/components/icons/Navigation/MapMarker.d.ts +3 -0
- package/build/dts/components/icons/Navigation/Search.d.ts +3 -0
- package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +3 -0
- package/build/dts/components/icons/Navigation/User.d.ts +3 -0
- package/build/dts/components/icons/Navigation/index.d.ts +4 -0
- package/build/dts/components/icons/Other/FitPredictor.d.ts +3 -0
- package/build/dts/components/icons/Other/Loading.d.ts +6 -0
- package/build/dts/components/icons/Other/Shapermint.d.ts +3 -0
- package/build/dts/components/icons/Other/index.d.ts +4 -0
- package/build/dts/components/icons/Other/mcAfee.d.ts +3 -0
- package/build/dts/components/icons/PDP/Clock.d.ts +3 -0
- package/build/dts/components/icons/PDP/FlagUSA.d.ts +3 -0
- package/build/dts/components/icons/PDP/Minus.d.ts +3 -0
- package/build/dts/components/icons/PDP/Plus.d.ts +3 -0
- package/build/dts/components/icons/PDP/Rule.d.ts +3 -0
- package/build/dts/components/icons/PDP/Shipping.d.ts +3 -0
- package/build/dts/components/icons/PDP/Star.d.ts +3 -0
- package/build/dts/components/icons/PDP/StarEmpty.d.ts +3 -0
- package/build/dts/components/icons/PDP/StarHalf.d.ts +3 -0
- package/build/dts/components/icons/PDP/Stopwatch.d.ts +3 -0
- package/build/dts/components/icons/PDP/index.d.ts +10 -0
- package/build/dts/components/icons/Payment/Amazon.d.ts +3 -0
- package/build/dts/components/icons/Payment/Amex.d.ts +3 -0
- package/build/dts/components/icons/Payment/JCB.d.ts +3 -0
- package/build/dts/components/icons/Payment/Klarna.d.ts +3 -0
- package/build/dts/components/icons/Payment/MasterCard.d.ts +3 -0
- package/build/dts/components/icons/Payment/Paypal.d.ts +3 -0
- package/build/dts/components/icons/Payment/Visa.d.ts +3 -0
- package/build/dts/components/icons/Payment/index.d.ts +7 -0
- package/build/dts/components/icons/SlideDots/SlideDot.d.ts +3 -0
- package/build/dts/components/icons/SlideDots/index.d.ts +1 -0
- package/build/dts/components/icons/SocialMedia/Facebook.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Instagram.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Twitter.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/Youtube.d.ts +3 -0
- package/build/dts/components/icons/SocialMedia/index.d.ts +7 -0
- package/build/dts/components/icons/index.d.ts +27 -0
- package/build/dts/components/index.d.ts +48 -0
- package/build/dts/components/input/base/BaseInput.d.ts +14 -0
- package/build/dts/components/input/base/BaseInput.stories.d.ts +9 -0
- package/build/dts/components/input/base/BaseInput.test.d.ts +1 -0
- package/build/dts/components/input/base/Error.d.ts +6 -0
- package/build/dts/components/input/base/Styled.d.ts +31 -0
- package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +13 -0
- package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +9 -0
- package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +1 -0
- package/build/dts/components/input/basePlusButton/Success.d.ts +6 -0
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +7 -0
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +9 -0
- package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +1 -0
- package/build/dts/components/input/custom/Custom.d.ts +8 -0
- package/build/dts/components/input/custom/Custom.stories.d.ts +9 -0
- package/build/dts/components/input/custom/Custom.test.d.ts +1 -0
- package/build/dts/components/input/index.d.ts +7 -0
- package/build/dts/components/input/label/Label.d.ts +15 -0
- package/build/dts/components/input/label/Label.stories.d.ts +9 -0
- package/build/dts/components/input/label/Label.test.d.ts +1 -0
- package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +10 -0
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +12 -0
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +8 -0
- package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +1 -0
- package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +8 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +8 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +1 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +9 -0
- package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +1 -0
- package/build/dts/components/offer-banner/OfferBanner.d.ts +15 -0
- package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +9 -0
- package/build/dts/components/offer-banner/OfferBanner.test.d.ts +1 -0
- package/build/dts/components/order-bar/OrderBar.d.ts +17 -0
- package/build/dts/components/order-bar/OrderBar.stories.d.ts +9 -0
- package/build/dts/components/order-bar/OrderBar.test.d.ts +1 -0
- package/build/dts/components/pagination/Pagination.d.ts +11 -0
- package/build/dts/components/pagination/Pagination.stories.d.ts +9 -0
- package/build/dts/components/pagination/Pagination.test.d.ts +1 -0
- package/build/dts/components/pagination/styles.d.ts +29 -0
- package/build/dts/components/payment-methods/PaymentMethod.d.ts +20 -0
- package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +13 -0
- package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +1 -0
- package/build/dts/components/pricing/discount/DiscountTag.d.ts +21 -0
- package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +23 -0
- package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +1 -0
- package/build/dts/components/pricing/index.d.ts +2 -0
- package/build/dts/components/pricing/price/PriceLabel.d.ts +11 -0
- package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +23 -0
- package/build/dts/components/pricing/price/PriceLabel.test.d.ts +1 -0
- package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +20 -0
- package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +11 -0
- package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +1 -0
- package/build/dts/components/progress-bar/ProgressBar.d.ts +8 -0
- package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +8 -0
- package/build/dts/components/progress-bar/ProgressBar.test.d.ts +1 -0
- package/build/dts/components/quantityPicker/QuantityPicker.d.ts +6 -0
- package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +9 -0
- package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +1 -0
- package/build/dts/components/radio/container/group.d.ts +12 -0
- package/build/dts/components/radio/container/group.stories.d.ts +23 -0
- package/build/dts/components/radio/container/group.test.d.ts +1 -0
- package/build/dts/components/radio/index.d.ts +1 -0
- package/build/dts/components/radio/input/radio.d.ts +13 -0
- package/build/dts/components/radio/input/radio.stories.d.ts +23 -0
- package/build/dts/components/radio/input/radio.test.d.ts +1 -0
- package/build/dts/components/radio/input/styles.d.ts +13 -0
- package/build/dts/components/rating/Rating.d.ts +9 -0
- package/build/dts/components/rating/Rating.stories.d.ts +24 -0
- package/build/dts/components/rating/Rating.test.d.ts +1 -0
- package/build/dts/components/rating/starList/StarList.d.ts +9 -0
- package/build/dts/components/rating/starList/StarList.stories.d.ts +24 -0
- package/build/dts/components/rating/starList/StarList.test.d.ts +1 -0
- package/build/dts/components/rating/starList/styles.d.ts +12 -0
- package/build/dts/components/rating/styles.d.ts +13 -0
- package/build/dts/components/review/Review.d.ts +19 -0
- package/build/dts/components/review/Review.stories.d.ts +9 -0
- package/build/dts/components/review/Review.test.d.ts +1 -0
- package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +18 -0
- package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +9 -0
- package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +1 -0
- package/build/dts/components/search-bar/ClearButton.d.ts +6 -0
- package/build/dts/components/search-bar/ClearButton.test.d.ts +1 -0
- package/build/dts/components/search-bar/Footer.d.ts +7 -0
- package/build/dts/components/search-bar/Input.d.ts +9 -0
- package/build/dts/components/search-bar/ProductItem.d.ts +8 -0
- package/build/dts/components/search-bar/ProductItem.test.d.ts +1 -0
- package/build/dts/components/search-bar/ResultsPanel.d.ts +12 -0
- package/build/dts/components/search-bar/ResultsPanel.test.d.ts +1 -0
- package/build/dts/components/search-bar/SearchBar.d.ts +11 -0
- package/build/dts/components/search-bar/SearchBar.stories.d.ts +7 -0
- package/build/dts/components/search-bar/SearchBar.test.d.ts +1 -0
- package/build/dts/components/search-bar/SearchControl.d.ts +7 -0
- package/build/dts/components/search-bar/SearchControl.test.d.ts +1 -0
- package/build/dts/components/search-bar/index.d.ts +1 -0
- package/build/dts/components/selector/simple/SelectorSecondary.d.ts +4 -0
- package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +23 -0
- package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +1 -0
- package/build/dts/components/selector/simple/SimpleSelector.d.ts +11 -0
- package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +1 -0
- package/build/dts/components/shared/button/BaseButton.d.ts +13 -0
- package/build/dts/components/shared/button/BaseButton.stories.d.ts +14 -0
- package/build/dts/components/shared/card/Card.d.ts +18 -0
- package/build/dts/components/shared/card/Card.stories.d.ts +7 -0
- package/build/dts/components/shared/card/Card.test.d.ts +1 -0
- package/build/dts/components/shared/card/CardBody.d.ts +5 -0
- package/build/dts/components/shared/card/CardSection.d.ts +6 -0
- package/build/dts/components/shared/card/index.d.ts +2 -0
- package/build/dts/components/shared/image/Image.d.ts +14 -0
- package/build/dts/components/shared/image/Image.test.d.ts +1 -0
- package/build/dts/components/shared/label/label.d.ts +13 -0
- package/build/dts/components/shared/label/label.test.d.ts +1 -0
- package/build/dts/components/shared/label/styles.d.ts +7 -0
- package/build/dts/components/shared/select/BaseSelect.d.ts +16 -0
- package/build/dts/components/shared/select/BaseSelect.stories.d.ts +11 -0
- package/build/dts/components/shared/select/BaseSelectButton.d.ts +17 -0
- package/build/dts/components/shared/select/BaseSelectOption.d.ts +22 -0
- package/build/dts/components/shared/select/BaseSelectOptions.d.ts +7 -0
- package/build/dts/components/size/guide/SizeFitGuide.d.ts +9 -0
- package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +9 -0
- package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +1 -0
- package/build/dts/components/size/selector/SizeSelector.d.ts +8 -0
- package/build/dts/components/size/selector/SizeSelector.stories.d.ts +7 -0
- package/build/dts/components/size/selector/SizeSelector.test.d.ts +1 -0
- package/build/dts/components/size-table/SizeTable.d.ts +6 -0
- package/build/dts/components/size-table/SizeTable.stories.d.ts +9 -0
- package/build/dts/components/size-table/SizeTable.test.d.ts +1 -0
- package/build/dts/components/slider/ArrowButton.d.ts +14 -0
- package/build/dts/components/slider/SliderNatigation.test.d.ts +1 -0
- package/build/dts/components/slider/SliderNavigation.d.ts +17 -0
- package/build/dts/components/slider/SliderNavigation.stories.d.ts +9 -0
- package/build/dts/components/slider/StyledSlider.d.ts +16 -0
- package/build/dts/components/spinner/Spinner.d.ts +10 -0
- package/build/dts/components/spinner/Spinner.stories.d.ts +9 -0
- package/build/dts/components/spinner/Spinner.test.d.ts +1 -0
- package/build/dts/components/tag/Tag.d.ts +7 -0
- package/build/dts/components/tag/Tag.test.d.ts +1 -0
- package/build/dts/components/tag/index.d.ts +3 -0
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +8 -0
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +22 -0
- package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +1 -0
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +9 -0
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +22 -0
- package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +1 -0
- package/build/dts/components/text/Text.d.ts +98 -0
- package/build/dts/components/text/Text.stories.d.ts +16 -0
- package/build/dts/components/text-button/TextButton.d.ts +13 -0
- package/build/dts/components/text-button/TextButton.stories.d.ts +58 -0
- package/build/dts/components/text-button/TextButton.test.d.ts +1 -0
- package/build/dts/components/timer/Timer.d.ts +13 -0
- package/build/dts/components/timer/Timer.stories.d.ts +9 -0
- package/build/dts/components/timer/Timer.test.d.ts +1 -0
- package/build/dts/components/tooltip/Arrow.d.ts +6 -0
- package/build/dts/components/tooltip/Styled.d.ts +56 -0
- package/build/dts/components/tooltip/Tooltip.d.ts +15 -0
- package/build/dts/components/tooltip/Tooltip.stories.d.ts +35 -0
- package/build/dts/components/tooltip/Tooltip.test.d.ts +1 -0
- package/build/dts/components/tooltip/utils.d.ts +7 -0
- package/build/dts/components/totals/index.d.ts +5 -0
- package/build/dts/components/totals/subtotal/Subtotal.d.ts +22 -0
- package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +9 -0
- package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +1 -0
- package/build/dts/components/totals/total/Total.d.ts +38 -0
- package/build/dts/components/totals/total/Total.stories.d.ts +9 -0
- package/build/dts/components/totals/total/Total.test.d.ts +1 -0
- package/build/dts/config/breakpoints.d.ts +5 -0
- package/build/dts/core/theme/Theme.d.ts +382 -0
- package/build/dts/core/theme/Theme.test.d.ts +1 -0
- package/build/dts/core/theme/shapermint.theme.d.ts +3 -0
- package/build/dts/core/theme/theme.helpers.d.ts +13 -0
- package/build/dts/core/theme/truekind.theme.d.ts +3 -0
- package/build/dts/hooks/WindowDimensions.d.ts +8 -0
- package/build/dts/hooks/click-outside.d.ts +3 -0
- package/build/dts/hooks/index.d.ts +3 -0
- package/build/dts/index.d.ts +5 -0
- package/build/dts/setupTests.d.ts +1 -0
- package/build/dts/types/enums.d.ts +21 -0
- package/build/dts/types/types.d.ts +81 -0
- package/build/dts/utils/dateFormatter/dateFormatter.d.ts +1 -0
- package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +1 -0
- package/build/dts/utils/decimalParser/decimalParser.d.ts +4 -0
- package/build/dts/utils/decimalParser/decimalParser.test.d.ts +1 -0
- package/build/dts/utils/index.d.ts +4 -0
- package/build/dts/utils/media.d.ts +7 -0
- package/build/dts/utils/simulateClick/simulateClick.d.ts +1 -0
- package/build/dts/utils/simulateClick/simulateClick.test.d.ts +1 -0
- package/build/dts/utils/sliceString/sliceString.d.ts +1 -0
- package/build/dts/utils/sliceString/sliceString.test.d.ts +1 -0
- package/build/dts/utils/validations/validations.d.ts +5 -0
- package/build/dts/utils/validations/validations.test.d.ts +1 -0
- package/build/index.d.ts +490 -435
- package/build/index.esm.js +2857 -2945
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2906 -2990
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.js +566 -0
- package/build/theme/truekind.theme.js +565 -0
- package/package.json +7 -5
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import { CSSProperties, ElementType, FC, ReactNode } from 'react';
|
|
2
|
+
export declare const ThemeProvider: FC<{
|
|
3
|
+
theme: Theme;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const useTheme: () => Theme;
|
|
7
|
+
export declare const ThemeVariables: FC<{
|
|
8
|
+
theme: any;
|
|
9
|
+
Container?: ElementType;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const AssetsProvider: FC<{
|
|
12
|
+
assets: ThemeAssets;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const useThemeAssets: () => ThemeAssets;
|
|
15
|
+
export declare type Theme = {
|
|
16
|
+
name: string;
|
|
17
|
+
fontSizes: number[];
|
|
18
|
+
fontWeights: number[];
|
|
19
|
+
lineHeights: number[];
|
|
20
|
+
mediaQueries: ThemeBreakpoints;
|
|
21
|
+
colors: ThemeColors;
|
|
22
|
+
component: ThemeComponent;
|
|
23
|
+
typography: ThemeTypography;
|
|
24
|
+
fonts: ThemeFonts;
|
|
25
|
+
assets: ThemeAssets;
|
|
26
|
+
};
|
|
27
|
+
export declare type ThemeBreakpoints = {
|
|
28
|
+
mobile: number;
|
|
29
|
+
desktop: number;
|
|
30
|
+
};
|
|
31
|
+
export declare type ThemeBasicPallete = {
|
|
32
|
+
color: string;
|
|
33
|
+
contrast: string;
|
|
34
|
+
};
|
|
35
|
+
export declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
36
|
+
soft: ThemeBasicPallete;
|
|
37
|
+
};
|
|
38
|
+
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
39
|
+
20: ThemeColorPallete;
|
|
40
|
+
40: ThemeColorPallete;
|
|
41
|
+
60: ThemeColorPallete;
|
|
42
|
+
80: ThemeColorPallete;
|
|
43
|
+
};
|
|
44
|
+
export declare type ThemeColors = {
|
|
45
|
+
pallete: {
|
|
46
|
+
primary: ThemeColorPrimaryPallete;
|
|
47
|
+
secondary: ThemeColorPrimaryPallete;
|
|
48
|
+
} & Partial<Record<string, ThemeColorPallete>>;
|
|
49
|
+
shades: {
|
|
50
|
+
black: ThemeBasicPallete;
|
|
51
|
+
white: ThemeBasicPallete;
|
|
52
|
+
5: ThemeBasicPallete;
|
|
53
|
+
10: ThemeBasicPallete;
|
|
54
|
+
50: ThemeBasicPallete;
|
|
55
|
+
100: ThemeBasicPallete;
|
|
56
|
+
150: ThemeBasicPallete;
|
|
57
|
+
200: ThemeBasicPallete;
|
|
58
|
+
250: ThemeBasicPallete;
|
|
59
|
+
300: ThemeBasicPallete;
|
|
60
|
+
350: ThemeBasicPallete;
|
|
61
|
+
400: ThemeBasicPallete;
|
|
62
|
+
450: ThemeBasicPallete;
|
|
63
|
+
500: ThemeBasicPallete;
|
|
64
|
+
550: ThemeBasicPallete;
|
|
65
|
+
600: ThemeBasicPallete;
|
|
66
|
+
650: ThemeBasicPallete;
|
|
67
|
+
700: ThemeBasicPallete;
|
|
68
|
+
750: ThemeBasicPallete;
|
|
69
|
+
800: ThemeBasicPallete;
|
|
70
|
+
850: ThemeBasicPallete;
|
|
71
|
+
900: ThemeBasicPallete;
|
|
72
|
+
950: ThemeBasicPallete;
|
|
73
|
+
990: ThemeBasicPallete;
|
|
74
|
+
};
|
|
75
|
+
semantic: {
|
|
76
|
+
positive: ThemeBasicPallete;
|
|
77
|
+
urgent: ThemeBasicPallete;
|
|
78
|
+
attention: ThemeBasicPallete;
|
|
79
|
+
informative: ThemeBasicPallete;
|
|
80
|
+
};
|
|
81
|
+
border: {
|
|
82
|
+
color: string;
|
|
83
|
+
disabled: string;
|
|
84
|
+
highlight: string;
|
|
85
|
+
};
|
|
86
|
+
background: {
|
|
87
|
+
color: string;
|
|
88
|
+
disabled: string;
|
|
89
|
+
};
|
|
90
|
+
text: {
|
|
91
|
+
color: string;
|
|
92
|
+
disabled: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export declare type ThemeComponent = {
|
|
96
|
+
button: {
|
|
97
|
+
border: string;
|
|
98
|
+
borderRadius: string;
|
|
99
|
+
fontWeight: number;
|
|
100
|
+
size: {
|
|
101
|
+
small: {
|
|
102
|
+
fontSize: string;
|
|
103
|
+
padding: string;
|
|
104
|
+
};
|
|
105
|
+
medium: {
|
|
106
|
+
fontSize: string;
|
|
107
|
+
padding: string;
|
|
108
|
+
};
|
|
109
|
+
large: {
|
|
110
|
+
fontSize: string;
|
|
111
|
+
padding: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
primary: {
|
|
115
|
+
active: {
|
|
116
|
+
backgroundColor: string;
|
|
117
|
+
color: string;
|
|
118
|
+
};
|
|
119
|
+
hover: {
|
|
120
|
+
backgroundColor: string;
|
|
121
|
+
color: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
secondary: {
|
|
125
|
+
active: {
|
|
126
|
+
backgroundColor: string;
|
|
127
|
+
color: string;
|
|
128
|
+
};
|
|
129
|
+
hover: {
|
|
130
|
+
backgroundColor: string;
|
|
131
|
+
color: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
input: {
|
|
136
|
+
background: string;
|
|
137
|
+
color: string;
|
|
138
|
+
placeholderColor: string;
|
|
139
|
+
borderRadius: string;
|
|
140
|
+
fontSize: string;
|
|
141
|
+
fontWeight: number;
|
|
142
|
+
padding: string;
|
|
143
|
+
lineHeight: string;
|
|
144
|
+
border: string;
|
|
145
|
+
boxShadow: string;
|
|
146
|
+
};
|
|
147
|
+
inputCustom: {
|
|
148
|
+
button: {
|
|
149
|
+
borderRadius: string;
|
|
150
|
+
};
|
|
151
|
+
input: {
|
|
152
|
+
borderRadius: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
selector: {
|
|
156
|
+
size: {
|
|
157
|
+
small: {
|
|
158
|
+
padding: string;
|
|
159
|
+
borderRadius: string;
|
|
160
|
+
};
|
|
161
|
+
medium: {
|
|
162
|
+
padding: string;
|
|
163
|
+
borderRadius: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
default: {
|
|
167
|
+
fontWeight: number;
|
|
168
|
+
border: string;
|
|
169
|
+
background: string;
|
|
170
|
+
color: string;
|
|
171
|
+
};
|
|
172
|
+
hover: {
|
|
173
|
+
fontWeight: number;
|
|
174
|
+
background: string;
|
|
175
|
+
border: string;
|
|
176
|
+
color: string;
|
|
177
|
+
};
|
|
178
|
+
disabled: {
|
|
179
|
+
border: string;
|
|
180
|
+
};
|
|
181
|
+
fontSize: string;
|
|
182
|
+
};
|
|
183
|
+
rating: {
|
|
184
|
+
fontWeight: number;
|
|
185
|
+
size: {
|
|
186
|
+
xsmall: {
|
|
187
|
+
fontSize: string;
|
|
188
|
+
lineHeight: string;
|
|
189
|
+
};
|
|
190
|
+
small: {
|
|
191
|
+
fontSize: string;
|
|
192
|
+
lineHeight: string;
|
|
193
|
+
};
|
|
194
|
+
medium: {
|
|
195
|
+
fontSize: string;
|
|
196
|
+
lineHeight: string;
|
|
197
|
+
};
|
|
198
|
+
large: {
|
|
199
|
+
fontSize: string;
|
|
200
|
+
lineHeight: string;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
card: {
|
|
205
|
+
borderRadius: string;
|
|
206
|
+
};
|
|
207
|
+
radio: {
|
|
208
|
+
borderColor: string;
|
|
209
|
+
background: string;
|
|
210
|
+
size: {
|
|
211
|
+
small: {
|
|
212
|
+
borderWidth: string;
|
|
213
|
+
margin: string;
|
|
214
|
+
height: string;
|
|
215
|
+
active: {
|
|
216
|
+
borderWidth: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
medium: {
|
|
220
|
+
borderWidth: string;
|
|
221
|
+
margin: string;
|
|
222
|
+
height: string;
|
|
223
|
+
active: {
|
|
224
|
+
borderWidth: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
large: {
|
|
228
|
+
borderWidth: string;
|
|
229
|
+
margin: string;
|
|
230
|
+
height: string;
|
|
231
|
+
active: {
|
|
232
|
+
borderWidth: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
label: {
|
|
238
|
+
fontSize: {
|
|
239
|
+
small: string;
|
|
240
|
+
medium: string;
|
|
241
|
+
large: string;
|
|
242
|
+
};
|
|
243
|
+
lineHeight: {
|
|
244
|
+
small: string;
|
|
245
|
+
medium: string;
|
|
246
|
+
large: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
checkbox: {
|
|
250
|
+
background: string;
|
|
251
|
+
borderColor: string;
|
|
252
|
+
active: {
|
|
253
|
+
background: string;
|
|
254
|
+
};
|
|
255
|
+
size: {
|
|
256
|
+
large: {
|
|
257
|
+
width: string;
|
|
258
|
+
height: string;
|
|
259
|
+
borderRadius: string;
|
|
260
|
+
borderWidth: string;
|
|
261
|
+
margin: string;
|
|
262
|
+
icon: {
|
|
263
|
+
width: string;
|
|
264
|
+
height: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
medium: {
|
|
268
|
+
width: string;
|
|
269
|
+
height: string;
|
|
270
|
+
borderRadius: string;
|
|
271
|
+
borderWidth: string;
|
|
272
|
+
margin: string;
|
|
273
|
+
icon: {
|
|
274
|
+
width: string;
|
|
275
|
+
height: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
small: {
|
|
279
|
+
width: string;
|
|
280
|
+
height: string;
|
|
281
|
+
borderRadius: string;
|
|
282
|
+
borderWidth: string;
|
|
283
|
+
margin: string;
|
|
284
|
+
icon: {
|
|
285
|
+
width: string;
|
|
286
|
+
height: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
accordion: {
|
|
292
|
+
variant: {
|
|
293
|
+
box: {
|
|
294
|
+
container: {
|
|
295
|
+
border: string;
|
|
296
|
+
borderColor: string;
|
|
297
|
+
borderRadius: string;
|
|
298
|
+
padding: string;
|
|
299
|
+
};
|
|
300
|
+
summary: {
|
|
301
|
+
fontWeight: number;
|
|
302
|
+
fontSize: string;
|
|
303
|
+
lineHeight: string;
|
|
304
|
+
color: string;
|
|
305
|
+
};
|
|
306
|
+
details: {
|
|
307
|
+
margin: string;
|
|
308
|
+
};
|
|
309
|
+
icon: {
|
|
310
|
+
width: number;
|
|
311
|
+
height: number;
|
|
312
|
+
color: string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
simple: {
|
|
316
|
+
container: {
|
|
317
|
+
borderTop: string;
|
|
318
|
+
borderBottom: string;
|
|
319
|
+
borderColor: string;
|
|
320
|
+
borderRadius: string;
|
|
321
|
+
padding: string;
|
|
322
|
+
};
|
|
323
|
+
summary: {
|
|
324
|
+
fontWeight: number;
|
|
325
|
+
fontSize: string;
|
|
326
|
+
lineHeight: string;
|
|
327
|
+
color: string;
|
|
328
|
+
};
|
|
329
|
+
details: {
|
|
330
|
+
margin: string;
|
|
331
|
+
};
|
|
332
|
+
icon: {
|
|
333
|
+
width: number;
|
|
334
|
+
height: number;
|
|
335
|
+
color: string;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
dropdown: {
|
|
341
|
+
borderRadius: string;
|
|
342
|
+
fontSize: string;
|
|
343
|
+
fontWeight: number;
|
|
344
|
+
lineHeight: string;
|
|
345
|
+
padding: string;
|
|
346
|
+
color: string;
|
|
347
|
+
fill: string;
|
|
348
|
+
options: {
|
|
349
|
+
borderColor: string;
|
|
350
|
+
color: string;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
export declare type ThemeTypography = {
|
|
355
|
+
config: {
|
|
356
|
+
weight: {
|
|
357
|
+
heavy: number;
|
|
358
|
+
bold: number;
|
|
359
|
+
demi: number;
|
|
360
|
+
regular: number;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
variants: Record<string, CSSProperties>;
|
|
364
|
+
};
|
|
365
|
+
export declare type ThemeFonts = {
|
|
366
|
+
url: string;
|
|
367
|
+
config: Array<{
|
|
368
|
+
src: string;
|
|
369
|
+
family: string;
|
|
370
|
+
weight?: number | string;
|
|
371
|
+
style?: string;
|
|
372
|
+
stretch?: string;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
375
|
+
export declare type ThemeAssets = {
|
|
376
|
+
images: {
|
|
377
|
+
favicon: string;
|
|
378
|
+
logo: string;
|
|
379
|
+
};
|
|
380
|
+
[key: string]: any;
|
|
381
|
+
};
|
|
382
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Theme, ThemeBasicPallete, ThemeColorPallete } from './Theme';
|
|
2
|
+
export declare function color(color: string, contrast: string, softColor: string, softContrast: string): ThemeColorPallete;
|
|
3
|
+
export declare function basic(color: string, contrast: string): ThemeBasicPallete;
|
|
4
|
+
export declare const applyVariablesIntoTheme: (theme: Theme) => Theme;
|
|
5
|
+
export declare const variablesToObject: (variables: Record<string, any>, theme: Theme) => Theme;
|
|
6
|
+
export declare const transformToVariables: (prefix: string, variables: Record<string, any>, theme: Record<string, any>, pending: Record<string, any>) => void;
|
|
7
|
+
export declare const stringify: (variables: Record<string, string>) => string;
|
|
8
|
+
export declare const transformThemeIntoVariables: ({ name, fonts, ...theme }: Theme) => string;
|
|
9
|
+
export declare const transformFonts: (fonts: {
|
|
10
|
+
url: string;
|
|
11
|
+
config: Theme['fonts']['config'];
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const inline: (text: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum CardSectionType {
|
|
2
|
+
Header = 0,
|
|
3
|
+
Footer = 1
|
|
4
|
+
}
|
|
5
|
+
export declare enum ComponentSize {
|
|
6
|
+
Large = "large",
|
|
7
|
+
Medium = "medium",
|
|
8
|
+
Small = "small",
|
|
9
|
+
XSmall = "xsmall"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ComponentPosition {
|
|
12
|
+
Top = 0,
|
|
13
|
+
Bottom = 1,
|
|
14
|
+
Left = 2,
|
|
15
|
+
Right = 3
|
|
16
|
+
}
|
|
17
|
+
export declare enum InputValidationType {
|
|
18
|
+
Error = 0,
|
|
19
|
+
Valid = 1,
|
|
20
|
+
Empty = 2
|
|
21
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { IconType } from '../components/icons';
|
|
2
|
+
import { ComponentSize } from './enums';
|
|
3
|
+
export interface IconProps {
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
fill?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
10
|
+
export interface CTAProps {
|
|
11
|
+
onClick: () => void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
wide?: boolean | false;
|
|
14
|
+
size?: ComponentSize;
|
|
15
|
+
text: string;
|
|
16
|
+
type?: ButtonType;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type DropdownOption<T> = {
|
|
20
|
+
key: string;
|
|
21
|
+
label: string;
|
|
22
|
+
value: T;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
};
|
|
25
|
+
export declare type SizeOption = {
|
|
26
|
+
label: string;
|
|
27
|
+
description: string;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
};
|
|
30
|
+
export declare type Color = {
|
|
31
|
+
primaryColor: string;
|
|
32
|
+
secondaryColor?: string;
|
|
33
|
+
tertiaryColor?: string;
|
|
34
|
+
};
|
|
35
|
+
export declare type Pattern = {
|
|
36
|
+
url: string;
|
|
37
|
+
};
|
|
38
|
+
export declare type ColorPickerOption = {
|
|
39
|
+
label: string;
|
|
40
|
+
color?: Color;
|
|
41
|
+
pattern?: Pattern;
|
|
42
|
+
};
|
|
43
|
+
export declare type RadioGroupOption = {
|
|
44
|
+
value: string;
|
|
45
|
+
label: string;
|
|
46
|
+
};
|
|
47
|
+
export declare type ImageType = {
|
|
48
|
+
key: string;
|
|
49
|
+
imageUrl: string;
|
|
50
|
+
alt: string;
|
|
51
|
+
};
|
|
52
|
+
export interface IconWithOpacityProps extends IconProps {
|
|
53
|
+
opacity?: number;
|
|
54
|
+
}
|
|
55
|
+
export interface WithTestId {
|
|
56
|
+
dataTestId?: string;
|
|
57
|
+
}
|
|
58
|
+
export declare type DropdownListIconsItem = {
|
|
59
|
+
Icon: IconType;
|
|
60
|
+
items: DropdownListIconsSubItem[];
|
|
61
|
+
};
|
|
62
|
+
export declare type DropdownListIconsSubItem = {
|
|
63
|
+
description: string;
|
|
64
|
+
callback: () => void;
|
|
65
|
+
};
|
|
66
|
+
export declare type Filter = {
|
|
67
|
+
title: string;
|
|
68
|
+
columns: number;
|
|
69
|
+
isOpenByDefault?: boolean;
|
|
70
|
+
items: string[];
|
|
71
|
+
};
|
|
72
|
+
export declare type FilterChange = {
|
|
73
|
+
sectionIndex: number;
|
|
74
|
+
itemIndex: number;
|
|
75
|
+
checked?: boolean;
|
|
76
|
+
};
|
|
77
|
+
export interface SearchBarOptionItem {
|
|
78
|
+
src: string;
|
|
79
|
+
price: string;
|
|
80
|
+
title: string;
|
|
81
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function formatDate(date: Date): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const simulateMouseClick: (element: HTMLElement) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sliceString: (str: string, maxLength: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const isEmpty: (value: string) => boolean;
|
|
2
|
+
export declare const isEmail: (value: string) => boolean;
|
|
3
|
+
export declare const isNumber: (value: string) => boolean;
|
|
4
|
+
export declare const isPhoneNumber: (value: string) => boolean;
|
|
5
|
+
export declare const isValidDate: (value: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|