@trafilea/afrodita-components 4.0.2-beta.6 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +1035 -909
- package/build/index.esm.js +535 -346
- package/build/index.esm.js.map +1 -1
- package/build/index.js +543 -347
- 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 +139 -63
- package/build/theme/truekind.theme.d.ts +383 -0
- package/build/theme/truekind.theme.js +82 -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/Mail.d.ts +0 -2
- package/build/dts/components/icons/Messaging/Message.d.ts +0 -8
- 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 -5
- 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 -99
- 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
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
declare type Theme = {
|
|
4
|
+
name: string;
|
|
5
|
+
fontSizes: number[];
|
|
6
|
+
fontWeights: number[];
|
|
7
|
+
lineHeights: number[];
|
|
8
|
+
mediaQueries: ThemeBreakpoints;
|
|
9
|
+
radius: {
|
|
10
|
+
regular: string;
|
|
11
|
+
};
|
|
12
|
+
zIndex: {
|
|
13
|
+
modal: number;
|
|
14
|
+
overlay: number;
|
|
15
|
+
};
|
|
16
|
+
colors: ThemeColors;
|
|
17
|
+
component: ThemeComponent;
|
|
18
|
+
typography: ThemeTypography;
|
|
19
|
+
fonts: ThemeFonts;
|
|
20
|
+
assets: ThemeAssets;
|
|
21
|
+
};
|
|
22
|
+
declare type ThemeBreakpoints = {
|
|
23
|
+
mobile: number;
|
|
24
|
+
desktop: number;
|
|
25
|
+
};
|
|
26
|
+
declare type ThemeBasicPallete = {
|
|
27
|
+
color: string;
|
|
28
|
+
contrast: string;
|
|
29
|
+
};
|
|
30
|
+
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
31
|
+
soft: ThemeBasicPallete;
|
|
32
|
+
};
|
|
33
|
+
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
34
|
+
20: ThemeColorPallete;
|
|
35
|
+
40: ThemeColorPallete;
|
|
36
|
+
60: ThemeColorPallete;
|
|
37
|
+
80: ThemeColorPallete;
|
|
38
|
+
};
|
|
39
|
+
declare type ThemeColors = {
|
|
40
|
+
pallete: {
|
|
41
|
+
primary: ThemeColorPrimaryPallete;
|
|
42
|
+
secondary: ThemeColorPrimaryPallete;
|
|
43
|
+
} & Partial<Record<string, ThemeColorPallete>>;
|
|
44
|
+
shades: {
|
|
45
|
+
black: ThemeBasicPallete;
|
|
46
|
+
white: ThemeBasicPallete;
|
|
47
|
+
5: ThemeBasicPallete;
|
|
48
|
+
10: ThemeBasicPallete;
|
|
49
|
+
50: ThemeBasicPallete;
|
|
50
|
+
100: ThemeBasicPallete;
|
|
51
|
+
150: ThemeBasicPallete;
|
|
52
|
+
200: ThemeBasicPallete;
|
|
53
|
+
250: ThemeBasicPallete;
|
|
54
|
+
300: ThemeBasicPallete;
|
|
55
|
+
350: ThemeBasicPallete;
|
|
56
|
+
400: ThemeBasicPallete;
|
|
57
|
+
450: ThemeBasicPallete;
|
|
58
|
+
500: ThemeBasicPallete;
|
|
59
|
+
550: ThemeBasicPallete;
|
|
60
|
+
600: ThemeBasicPallete;
|
|
61
|
+
650: ThemeBasicPallete;
|
|
62
|
+
700: ThemeBasicPallete;
|
|
63
|
+
750: ThemeBasicPallete;
|
|
64
|
+
800: ThemeBasicPallete;
|
|
65
|
+
850: ThemeBasicPallete;
|
|
66
|
+
900: ThemeBasicPallete;
|
|
67
|
+
950: ThemeBasicPallete;
|
|
68
|
+
990: ThemeBasicPallete;
|
|
69
|
+
};
|
|
70
|
+
semantic: {
|
|
71
|
+
positive: ThemeBasicPallete;
|
|
72
|
+
urgent: ThemeBasicPallete;
|
|
73
|
+
attention: ThemeBasicPallete;
|
|
74
|
+
informative: ThemeBasicPallete;
|
|
75
|
+
};
|
|
76
|
+
border: {
|
|
77
|
+
color: string;
|
|
78
|
+
disabled: string;
|
|
79
|
+
highlight: string;
|
|
80
|
+
};
|
|
81
|
+
background: {
|
|
82
|
+
color: string;
|
|
83
|
+
disabled: string;
|
|
84
|
+
};
|
|
85
|
+
text: {
|
|
86
|
+
color: string;
|
|
87
|
+
disabled: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
declare type ThemeComponent = {
|
|
91
|
+
button: {
|
|
92
|
+
border: string;
|
|
93
|
+
borderRadius: string;
|
|
94
|
+
fontWeight: number;
|
|
95
|
+
size: {
|
|
96
|
+
small: {
|
|
97
|
+
fontSize: string;
|
|
98
|
+
padding: string;
|
|
99
|
+
};
|
|
100
|
+
medium: {
|
|
101
|
+
fontSize: string;
|
|
102
|
+
padding: string;
|
|
103
|
+
};
|
|
104
|
+
large: {
|
|
105
|
+
fontSize: string;
|
|
106
|
+
padding: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
primary: {
|
|
110
|
+
active: {
|
|
111
|
+
backgroundColor: string;
|
|
112
|
+
color: string;
|
|
113
|
+
};
|
|
114
|
+
hover: {
|
|
115
|
+
backgroundColor: string;
|
|
116
|
+
color: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
secondary: {
|
|
120
|
+
active: {
|
|
121
|
+
backgroundColor: string;
|
|
122
|
+
color: string;
|
|
123
|
+
};
|
|
124
|
+
hover: {
|
|
125
|
+
backgroundColor: string;
|
|
126
|
+
color: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
input: {
|
|
131
|
+
background: string;
|
|
132
|
+
color: string;
|
|
133
|
+
placeholderColor: string;
|
|
134
|
+
borderRadius: string;
|
|
135
|
+
fontSize: string;
|
|
136
|
+
fontWeight: number;
|
|
137
|
+
padding: string;
|
|
138
|
+
lineHeight: string;
|
|
139
|
+
border: string;
|
|
140
|
+
boxShadow: string;
|
|
141
|
+
};
|
|
142
|
+
inputCustom: {
|
|
143
|
+
button: {
|
|
144
|
+
borderRadius: string;
|
|
145
|
+
};
|
|
146
|
+
input: {
|
|
147
|
+
borderRadius: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
selector: {
|
|
151
|
+
size: {
|
|
152
|
+
small: {
|
|
153
|
+
padding: string;
|
|
154
|
+
borderRadius: string;
|
|
155
|
+
};
|
|
156
|
+
medium: {
|
|
157
|
+
padding: string;
|
|
158
|
+
borderRadius: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
default: {
|
|
162
|
+
fontWeight: number;
|
|
163
|
+
border: string;
|
|
164
|
+
background: string;
|
|
165
|
+
color: string;
|
|
166
|
+
};
|
|
167
|
+
hover: {
|
|
168
|
+
fontWeight: number;
|
|
169
|
+
background: string;
|
|
170
|
+
border: string;
|
|
171
|
+
color: string;
|
|
172
|
+
};
|
|
173
|
+
disabled: {
|
|
174
|
+
border: string;
|
|
175
|
+
};
|
|
176
|
+
fontSize: string;
|
|
177
|
+
};
|
|
178
|
+
rating: {
|
|
179
|
+
fontWeight: number;
|
|
180
|
+
size: {
|
|
181
|
+
xsmall: {
|
|
182
|
+
fontSize: string;
|
|
183
|
+
lineHeight: string;
|
|
184
|
+
};
|
|
185
|
+
small: {
|
|
186
|
+
fontSize: string;
|
|
187
|
+
lineHeight: string;
|
|
188
|
+
};
|
|
189
|
+
medium: {
|
|
190
|
+
fontSize: string;
|
|
191
|
+
lineHeight: string;
|
|
192
|
+
};
|
|
193
|
+
large: {
|
|
194
|
+
fontSize: string;
|
|
195
|
+
lineHeight: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
card: {
|
|
200
|
+
borderRadius: string;
|
|
201
|
+
};
|
|
202
|
+
radio: {
|
|
203
|
+
borderColor: string;
|
|
204
|
+
background: string;
|
|
205
|
+
size: {
|
|
206
|
+
small: {
|
|
207
|
+
borderWidth: string;
|
|
208
|
+
margin: string;
|
|
209
|
+
height: string;
|
|
210
|
+
active: {
|
|
211
|
+
borderWidth: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
medium: {
|
|
215
|
+
borderWidth: string;
|
|
216
|
+
margin: string;
|
|
217
|
+
height: string;
|
|
218
|
+
active: {
|
|
219
|
+
borderWidth: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
large: {
|
|
223
|
+
borderWidth: string;
|
|
224
|
+
margin: string;
|
|
225
|
+
height: string;
|
|
226
|
+
active: {
|
|
227
|
+
borderWidth: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
label: {
|
|
233
|
+
fontSize: {
|
|
234
|
+
small: string;
|
|
235
|
+
medium: string;
|
|
236
|
+
large: string;
|
|
237
|
+
};
|
|
238
|
+
lineHeight: {
|
|
239
|
+
small: string;
|
|
240
|
+
medium: string;
|
|
241
|
+
large: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
checkbox: {
|
|
245
|
+
background: string;
|
|
246
|
+
borderColor: string;
|
|
247
|
+
active: {
|
|
248
|
+
background: string;
|
|
249
|
+
};
|
|
250
|
+
size: {
|
|
251
|
+
large: {
|
|
252
|
+
width: string;
|
|
253
|
+
height: string;
|
|
254
|
+
borderRadius: string;
|
|
255
|
+
borderWidth: string;
|
|
256
|
+
margin: string;
|
|
257
|
+
icon: {
|
|
258
|
+
width: string;
|
|
259
|
+
height: string;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
medium: {
|
|
263
|
+
width: string;
|
|
264
|
+
height: string;
|
|
265
|
+
borderRadius: string;
|
|
266
|
+
borderWidth: string;
|
|
267
|
+
margin: string;
|
|
268
|
+
icon: {
|
|
269
|
+
width: string;
|
|
270
|
+
height: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
small: {
|
|
274
|
+
width: string;
|
|
275
|
+
height: string;
|
|
276
|
+
borderRadius: string;
|
|
277
|
+
borderWidth: string;
|
|
278
|
+
margin: string;
|
|
279
|
+
icon: {
|
|
280
|
+
width: string;
|
|
281
|
+
height: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
accordion: {
|
|
287
|
+
variant: {
|
|
288
|
+
box: {
|
|
289
|
+
container: {
|
|
290
|
+
border: string;
|
|
291
|
+
borderColor: string;
|
|
292
|
+
borderRadius: string;
|
|
293
|
+
padding: string;
|
|
294
|
+
};
|
|
295
|
+
summary: {
|
|
296
|
+
fontWeight: number;
|
|
297
|
+
fontSize: string;
|
|
298
|
+
lineHeight: string;
|
|
299
|
+
color: string;
|
|
300
|
+
};
|
|
301
|
+
details: {
|
|
302
|
+
margin: string;
|
|
303
|
+
};
|
|
304
|
+
icon: {
|
|
305
|
+
width: number;
|
|
306
|
+
height: number;
|
|
307
|
+
color: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
simple: {
|
|
311
|
+
container: {
|
|
312
|
+
borderTop: string;
|
|
313
|
+
borderBottom: string;
|
|
314
|
+
borderColor: string;
|
|
315
|
+
borderRadius: string;
|
|
316
|
+
padding: string;
|
|
317
|
+
};
|
|
318
|
+
summary: {
|
|
319
|
+
fontWeight: number;
|
|
320
|
+
fontSize: string;
|
|
321
|
+
lineHeight: string;
|
|
322
|
+
color: string;
|
|
323
|
+
};
|
|
324
|
+
details: {
|
|
325
|
+
margin: string;
|
|
326
|
+
};
|
|
327
|
+
icon: {
|
|
328
|
+
width: number;
|
|
329
|
+
height: number;
|
|
330
|
+
color: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
dropdown: {
|
|
336
|
+
borderRadius: string;
|
|
337
|
+
fontSize: string;
|
|
338
|
+
fontWeight: number;
|
|
339
|
+
lineHeight: string;
|
|
340
|
+
padding: string;
|
|
341
|
+
color: string;
|
|
342
|
+
fill: string;
|
|
343
|
+
options: {
|
|
344
|
+
borderColor: string;
|
|
345
|
+
color: string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
modal: {
|
|
349
|
+
minWidth: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
declare type ThemeTypography = {
|
|
353
|
+
config: {
|
|
354
|
+
weight: {
|
|
355
|
+
heavy: number;
|
|
356
|
+
bold: number;
|
|
357
|
+
demi: number;
|
|
358
|
+
regular: number;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
variants: Record<string, CSSProperties>;
|
|
362
|
+
};
|
|
363
|
+
declare type ThemeFonts = {
|
|
364
|
+
url: string;
|
|
365
|
+
config: Array<{
|
|
366
|
+
src: string;
|
|
367
|
+
family: string;
|
|
368
|
+
weight?: number | string;
|
|
369
|
+
style?: string;
|
|
370
|
+
stretch?: string;
|
|
371
|
+
}>;
|
|
372
|
+
};
|
|
373
|
+
declare type ThemeAssets = {
|
|
374
|
+
images: {
|
|
375
|
+
favicon: string;
|
|
376
|
+
logo: string;
|
|
377
|
+
};
|
|
378
|
+
[key: string]: any;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
declare const truekind: Theme;
|
|
382
|
+
|
|
383
|
+
export { truekind as default };
|
|
@@ -26,25 +26,6 @@ var __assign = function() {
|
|
|
26
26
|
return __assign.apply(this, arguments);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
/* istanbul ignore next */
|
|
30
|
-
function color(color, contrast, softColor, softContrast) {
|
|
31
|
-
return {
|
|
32
|
-
color: color,
|
|
33
|
-
contrast: contrast,
|
|
34
|
-
soft: {
|
|
35
|
-
color: softColor,
|
|
36
|
-
contrast: softContrast,
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
/* istanbul ignore next */
|
|
41
|
-
function basic(color, contrast) {
|
|
42
|
-
return {
|
|
43
|
-
color: color,
|
|
44
|
-
contrast: contrast,
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
29
|
var truekind = {
|
|
49
30
|
name: 'Truekind',
|
|
50
31
|
fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
|
|
@@ -54,43 +35,89 @@ var truekind = {
|
|
|
54
35
|
mobile: 0,
|
|
55
36
|
desktop: 1200,
|
|
56
37
|
},
|
|
38
|
+
radius: {
|
|
39
|
+
regular: '8px',
|
|
40
|
+
},
|
|
41
|
+
zIndex: {
|
|
42
|
+
modal: 50,
|
|
43
|
+
overlay: 49,
|
|
44
|
+
},
|
|
57
45
|
colors: {
|
|
58
46
|
pallete: {
|
|
59
|
-
primary: __assign(
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
primary: __assign({
|
|
48
|
+
color: '#cc4125',
|
|
49
|
+
contrast: '--colors-shades-white-color',
|
|
50
|
+
soft: { color: '', contrast: '' },
|
|
51
|
+
}, { 20: {
|
|
52
|
+
color: '#f5d9d3',
|
|
53
|
+
contrast: '--colors-shades-700-color',
|
|
54
|
+
soft: { color: '', contrast: '' },
|
|
55
|
+
}, 40: {
|
|
56
|
+
color: '#ebb3a8',
|
|
57
|
+
contrast: '--colors-shades-700-color',
|
|
58
|
+
soft: { color: '', contrast: '' },
|
|
59
|
+
}, 60: {
|
|
60
|
+
color: '#e08d7c',
|
|
61
|
+
contrast: '--colors-shades-700-color',
|
|
62
|
+
soft: { color: '', contrast: '' },
|
|
63
|
+
}, 80: {
|
|
64
|
+
color: '#d66751',
|
|
65
|
+
contrast: '--colors-shades-700-color',
|
|
66
|
+
soft: { color: '', contrast: '' },
|
|
67
|
+
} }),
|
|
68
|
+
secondary: __assign({
|
|
69
|
+
color: '#292929',
|
|
70
|
+
contrast: '--colors-shades-white-color',
|
|
71
|
+
soft: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
72
|
+
}, { 20: {
|
|
73
|
+
color: '#d4d4d4',
|
|
74
|
+
contrast: '--colors-shades-700-color',
|
|
75
|
+
soft: { color: '#f1f1f1', contrast: '--colors-shades-700-color' },
|
|
76
|
+
}, 40: {
|
|
77
|
+
color: '#a9a9a9',
|
|
78
|
+
contrast: '--colors-shades-700-color',
|
|
79
|
+
soft: { color: '#e4e4e4', contrast: '--colors-shades-700-color' },
|
|
80
|
+
}, 60: {
|
|
81
|
+
color: '#7f7f7f',
|
|
82
|
+
contrast: '--colors-shades-white-color',
|
|
83
|
+
soft: { color: '#d6d6d6', contrast: '--colors-shades-700-color' },
|
|
84
|
+
}, 80: {
|
|
85
|
+
color: '#545454',
|
|
86
|
+
contrast: '--colors-shades-white-color',
|
|
87
|
+
soft: { color: '#c9c9c9', contrast: '--colors-shades-700-color' },
|
|
88
|
+
} }),
|
|
62
89
|
},
|
|
63
90
|
shades: {
|
|
64
|
-
black:
|
|
65
|
-
white:
|
|
66
|
-
5:
|
|
67
|
-
10:
|
|
68
|
-
50:
|
|
69
|
-
100:
|
|
70
|
-
150:
|
|
71
|
-
200:
|
|
72
|
-
250:
|
|
73
|
-
300:
|
|
74
|
-
350:
|
|
75
|
-
400:
|
|
76
|
-
450:
|
|
77
|
-
500:
|
|
78
|
-
550:
|
|
79
|
-
600:
|
|
80
|
-
650:
|
|
81
|
-
700:
|
|
82
|
-
750:
|
|
83
|
-
800:
|
|
84
|
-
850:
|
|
85
|
-
900:
|
|
86
|
-
950:
|
|
87
|
-
990:
|
|
91
|
+
black: { color: '#000', contrast: '--colors-shades-white-color' },
|
|
92
|
+
white: { color: '#fff', contrast: '--colors-shades-700-color' },
|
|
93
|
+
5: { color: '#fafafa', contrast: '--colors-shades-700-color' },
|
|
94
|
+
10: { color: '#f7f7f7', contrast: '--colors-shades-700-color' },
|
|
95
|
+
50: { color: '#efefef', contrast: '--colors-shades-700-color' },
|
|
96
|
+
100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
|
|
97
|
+
150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
|
|
98
|
+
200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
99
|
+
250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
|
|
100
|
+
300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
|
|
101
|
+
350: { color: '#949494', contrast: '--colors-shades-700-color' },
|
|
102
|
+
400: { color: '#808080', contrast: '--colors-shades-700-color' },
|
|
103
|
+
450: { color: '#767676', contrast: '--colors-shades-700-color' },
|
|
104
|
+
500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
|
|
105
|
+
550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
|
|
106
|
+
600: { color: '#343434', contrast: '--colors-shades-white-color' },
|
|
107
|
+
650: { color: '#2d2d2d', contrast: '--colors-shades-white-color' },
|
|
108
|
+
700: { color: '#292929', contrast: '--colors-shades-white-color' },
|
|
109
|
+
750: { color: '#232323', contrast: '--colors-shades-white-color' },
|
|
110
|
+
800: { color: '#202020', contrast: '--colors-shades-white-color' },
|
|
111
|
+
850: { color: '#1b1b1b', contrast: '--colors-shades-white-color' },
|
|
112
|
+
900: { color: '#191919', contrast: '--colors-shades-white-color' },
|
|
113
|
+
950: { color: '#141414', contrast: '--colors-shades-white-color' },
|
|
114
|
+
990: { color: '#0b0b0b', contrast: '--colors-shades-white-color' },
|
|
88
115
|
},
|
|
89
116
|
semantic: {
|
|
90
|
-
positive:
|
|
91
|
-
urgent:
|
|
92
|
-
attention:
|
|
93
|
-
informative:
|
|
117
|
+
positive: { color: '#2579C8', contrast: '--colors-shades-white-color' },
|
|
118
|
+
urgent: { color: '#D82A2D', contrast: '--colors-shades-white-color' },
|
|
119
|
+
attention: { color: '#FFA877', contrast: '--colors-shades-700-color' },
|
|
120
|
+
informative: { color: '#686872', contrast: '--colors-shades-white-color' },
|
|
94
121
|
},
|
|
95
122
|
border: {
|
|
96
123
|
color: '',
|
|
@@ -487,9 +514,12 @@ var truekind = {
|
|
|
487
514
|
color: '#292929',
|
|
488
515
|
},
|
|
489
516
|
},
|
|
517
|
+
modal: {
|
|
518
|
+
minWidth: '540px',
|
|
519
|
+
},
|
|
490
520
|
},
|
|
491
521
|
fonts: {
|
|
492
|
-
url: 'https://cdn.jsdelivr.net/gh/
|
|
522
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
|
|
493
523
|
config: [
|
|
494
524
|
{
|
|
495
525
|
family: 'CircularXX',
|
|
@@ -612,7 +642,7 @@ var truekind = {
|
|
|
612
642
|
assets: {
|
|
613
643
|
images: {
|
|
614
644
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
615
|
-
logo: 'https://cdn.jsdelivr.net/gh/
|
|
645
|
+
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
616
646
|
},
|
|
617
647
|
},
|
|
618
648
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IconWrapperProps {
|
|
3
|
-
width?: number;
|
|
4
|
-
height?: number;
|
|
5
|
-
title?: string;
|
|
6
|
-
viewBoxX: number;
|
|
7
|
-
viewBoxY: number;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
testid?: string;
|
|
10
|
-
fill?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const IconWrapper: ({ height, width, title, viewBoxX, viewBoxY, children, testid, fill, }: IconWrapperProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IconType } from '../icons';
|
|
3
|
-
export interface AccordionProps {
|
|
4
|
-
defaultOpen?: boolean;
|
|
5
|
-
variant: 'simple' | 'box';
|
|
6
|
-
header: ReactNode;
|
|
7
|
-
content: ReactNode;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
openIcon: IconType;
|
|
10
|
-
closeIcon: IconType;
|
|
11
|
-
}
|
|
12
|
-
declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
13
|
-
export default Accordion;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: import("./Accordion").AccordionProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Box: () => JSX.Element;
|
|
8
|
-
export declare const Simple: () => JSX.Element;
|
|
9
|
-
export declare const SimpleWithComplexContent: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Theme } from 'src/core/theme/Theme';
|
|
2
|
-
export declare const AccordionStyles: {
|
|
3
|
-
baseStyles: import("@emotion/utils").SerializedStyles;
|
|
4
|
-
simple: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
|
|
5
|
-
box: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
|
|
6
|
-
};
|
|
7
|
-
export declare const AccordionSummaryStyles: {
|
|
8
|
-
baseStyles: import("@emotion/utils").SerializedStyles;
|
|
9
|
-
simple: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
|
|
10
|
-
box: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
|
|
11
|
-
};
|
|
12
|
-
export declare const AccordionDetailsStyles: {
|
|
13
|
-
baseStyles: import("@emotion/utils").SerializedStyles;
|
|
14
|
-
simple: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
15
|
-
box: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
16
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Bundle: {
|
|
3
|
-
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: import("./minimalistic/Minimalistic").MinimalisticProps) => JSX.Element;
|
|
4
|
-
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: import("./simple/Simple").SimpleProps) => JSX.Element;
|
|
5
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface MinimalisticProps {
|
|
3
|
-
backgroundColor?: string;
|
|
4
|
-
borderColor?: string;
|
|
5
|
-
originalPrice: string;
|
|
6
|
-
price: string;
|
|
7
|
-
savingPrice: string;
|
|
8
|
-
getMorePayLessText: string;
|
|
9
|
-
youAreSavingText: string;
|
|
10
|
-
getQtyForText: string;
|
|
11
|
-
discount: number;
|
|
12
|
-
offText: string;
|
|
13
|
-
widthAuto?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { MinimalisticProps } from './Minimalistic';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const MinimalisticBundle: Story<MinimalisticProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface SimpleProps {
|
|
3
|
-
title: string;
|
|
4
|
-
freeShippingText: string;
|
|
5
|
-
price: string;
|
|
6
|
-
anyQtyForText: string;
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
widthAuto?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|