@trafilea/afrodita-components 4.0.2-beta.8 → 4.3.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 +1066 -912
- package/build/index.esm.js +607 -358
- package/build/index.esm.js.map +1 -1
- package/build/index.js +625 -359
- 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 +30 -15
- package/build/theme/truekind.theme.d.ts +383 -0
- package/build/theme/truekind.theme.js +12 -2
- 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 -14
- 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
|
@@ -1,38 +1,33 @@
|
|
|
1
|
-
import { CSSProperties
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const useTheme: () => Theme;
|
|
7
|
-
export declare const ThemeVariables: FC<{
|
|
8
|
-
theme: Theme;
|
|
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 = {
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
declare type Theme = {
|
|
16
4
|
name: string;
|
|
17
5
|
fontSizes: number[];
|
|
18
6
|
fontWeights: number[];
|
|
19
7
|
lineHeights: number[];
|
|
20
8
|
mediaQueries: ThemeBreakpoints;
|
|
9
|
+
radius: {
|
|
10
|
+
regular: string;
|
|
11
|
+
};
|
|
12
|
+
zIndex: {
|
|
13
|
+
modal: number;
|
|
14
|
+
overlay: number;
|
|
15
|
+
};
|
|
21
16
|
colors: ThemeColors;
|
|
22
17
|
component: ThemeComponent;
|
|
23
18
|
typography: ThemeTypography;
|
|
24
19
|
fonts: ThemeFonts;
|
|
25
20
|
assets: ThemeAssets;
|
|
26
21
|
};
|
|
27
|
-
|
|
22
|
+
declare type ThemeBreakpoints = {
|
|
28
23
|
mobile: number;
|
|
29
24
|
desktop: number;
|
|
30
25
|
};
|
|
31
|
-
|
|
26
|
+
declare type ThemeBasicPallete = {
|
|
32
27
|
color: string;
|
|
33
28
|
contrast: string;
|
|
34
29
|
};
|
|
35
|
-
|
|
30
|
+
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
36
31
|
soft: ThemeBasicPallete;
|
|
37
32
|
};
|
|
38
33
|
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
@@ -41,7 +36,7 @@ declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
|
41
36
|
60: ThemeColorPallete;
|
|
42
37
|
80: ThemeColorPallete;
|
|
43
38
|
};
|
|
44
|
-
|
|
39
|
+
declare type ThemeColors = {
|
|
45
40
|
pallete: {
|
|
46
41
|
primary: ThemeColorPrimaryPallete;
|
|
47
42
|
secondary: ThemeColorPrimaryPallete;
|
|
@@ -92,7 +87,7 @@ export declare type ThemeColors = {
|
|
|
92
87
|
disabled: string;
|
|
93
88
|
};
|
|
94
89
|
};
|
|
95
|
-
|
|
90
|
+
declare type ThemeComponent = {
|
|
96
91
|
button: {
|
|
97
92
|
border: string;
|
|
98
93
|
borderRadius: string;
|
|
@@ -350,8 +345,11 @@ export declare type ThemeComponent = {
|
|
|
350
345
|
color: string;
|
|
351
346
|
};
|
|
352
347
|
};
|
|
348
|
+
modal: {
|
|
349
|
+
minWidth: string;
|
|
350
|
+
};
|
|
353
351
|
};
|
|
354
|
-
|
|
352
|
+
declare type ThemeTypography = {
|
|
355
353
|
config: {
|
|
356
354
|
weight: {
|
|
357
355
|
heavy: number;
|
|
@@ -362,7 +360,7 @@ export declare type ThemeTypography = {
|
|
|
362
360
|
};
|
|
363
361
|
variants: Record<string, CSSProperties>;
|
|
364
362
|
};
|
|
365
|
-
|
|
363
|
+
declare type ThemeFonts = {
|
|
366
364
|
url: string;
|
|
367
365
|
config: Array<{
|
|
368
366
|
src: string;
|
|
@@ -372,11 +370,14 @@ export declare type ThemeFonts = {
|
|
|
372
370
|
stretch?: string;
|
|
373
371
|
}>;
|
|
374
372
|
};
|
|
375
|
-
|
|
373
|
+
declare type ThemeAssets = {
|
|
376
374
|
images: {
|
|
377
375
|
favicon: string;
|
|
378
376
|
logo: string;
|
|
379
377
|
};
|
|
380
378
|
[key: string]: any;
|
|
381
|
-
};
|
|
382
|
-
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
declare const shapermint: Theme;
|
|
382
|
+
|
|
383
|
+
export { shapermint as default };
|
|
@@ -35,6 +35,13 @@ var shapermint = {
|
|
|
35
35
|
mobile: 0,
|
|
36
36
|
desktop: 1200,
|
|
37
37
|
},
|
|
38
|
+
radius: {
|
|
39
|
+
regular: '8px',
|
|
40
|
+
},
|
|
41
|
+
zIndex: {
|
|
42
|
+
modal: 50,
|
|
43
|
+
overlay: 49,
|
|
44
|
+
},
|
|
38
45
|
colors: {
|
|
39
46
|
pallete: {
|
|
40
47
|
primary: {
|
|
@@ -133,9 +140,9 @@ var shapermint = {
|
|
|
133
140
|
200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
134
141
|
250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
|
|
135
142
|
300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
|
|
136
|
-
350: { color: '#949494', contrast: '--colors-shades-
|
|
137
|
-
400: { color: '#808080', contrast: '--colors-shades-
|
|
138
|
-
450: { color: '#767676', contrast: '--colors-shades-
|
|
143
|
+
350: { color: '#949494', contrast: '--colors-shades-white-color' },
|
|
144
|
+
400: { color: '#808080', contrast: '--colors-shades-white-color' },
|
|
145
|
+
450: { color: '#767676', contrast: '--colors-shades-white-color' },
|
|
139
146
|
500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
|
|
140
147
|
550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
|
|
141
148
|
600: { color: '#343434', contrast: '--colors-shades-white-color' },
|
|
@@ -175,16 +182,16 @@ var shapermint = {
|
|
|
175
182
|
fontWeight: 600,
|
|
176
183
|
size: {
|
|
177
184
|
small: {
|
|
178
|
-
fontSize: '
|
|
179
|
-
padding: '0.
|
|
185
|
+
fontSize: '0.75rem',
|
|
186
|
+
padding: '0.625rem 2rem',
|
|
180
187
|
},
|
|
181
188
|
medium: {
|
|
182
189
|
fontSize: '0.875rem',
|
|
183
190
|
padding: '0.688rem 2rem',
|
|
184
191
|
},
|
|
185
192
|
large: {
|
|
186
|
-
fontSize: '
|
|
187
|
-
padding: '0.
|
|
193
|
+
fontSize: '1rem',
|
|
194
|
+
padding: '0.875rem 2rem',
|
|
188
195
|
},
|
|
189
196
|
},
|
|
190
197
|
primary: {
|
|
@@ -426,6 +433,9 @@ var shapermint = {
|
|
|
426
433
|
color: '--colors-shades-700-color',
|
|
427
434
|
},
|
|
428
435
|
},
|
|
436
|
+
modal: {
|
|
437
|
+
minWidth: '540px',
|
|
438
|
+
},
|
|
429
439
|
},
|
|
430
440
|
typography: {
|
|
431
441
|
config: {
|
|
@@ -551,7 +561,7 @@ var shapermint = {
|
|
|
551
561
|
},
|
|
552
562
|
},
|
|
553
563
|
fonts: {
|
|
554
|
-
url: 'https://cdn.jsdelivr.net/gh/
|
|
564
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/shapermint',
|
|
555
565
|
config: [
|
|
556
566
|
{
|
|
557
567
|
family: 'AvenirNextLTPro',
|
|
@@ -561,30 +571,30 @@ var shapermint = {
|
|
|
561
571
|
{
|
|
562
572
|
family: 'AvenirNextLTPro',
|
|
563
573
|
src: 'AvenirNextLTPro-Demi.otf',
|
|
564
|
-
weight:
|
|
574
|
+
weight: 600,
|
|
565
575
|
},
|
|
566
576
|
{
|
|
567
577
|
family: 'AvenirNextLTPro',
|
|
568
578
|
src: 'AvenirNextLTPro-Bold.otf',
|
|
569
|
-
weight:
|
|
579
|
+
weight: 700,
|
|
570
580
|
},
|
|
571
581
|
{
|
|
572
582
|
family: 'AvenirNextLTPro',
|
|
573
583
|
src: 'AvenirNextLTPro-DemiCn.otf',
|
|
574
|
-
weight:
|
|
584
|
+
weight: 600,
|
|
575
585
|
stretch: 'condensed',
|
|
576
586
|
},
|
|
577
587
|
{
|
|
578
588
|
family: 'AvenirNextLTPro',
|
|
579
589
|
src: 'AvenirNextLTPro-DemiCnIt.otf',
|
|
580
|
-
weight:
|
|
590
|
+
weight: 600,
|
|
581
591
|
stretch: 'condensed',
|
|
582
592
|
style: 'italic',
|
|
583
593
|
},
|
|
584
594
|
{
|
|
585
595
|
family: 'AvenirNextLTPro',
|
|
586
596
|
src: 'AvenirNextLTPro-DemiIt.otf',
|
|
587
|
-
weight:
|
|
597
|
+
weight: 600,
|
|
588
598
|
style: 'italic',
|
|
589
599
|
},
|
|
590
600
|
{
|
|
@@ -613,16 +623,21 @@ var shapermint = {
|
|
|
613
623
|
style: 'italic',
|
|
614
624
|
stretch: 'condensed',
|
|
615
625
|
},
|
|
626
|
+
{
|
|
627
|
+
family: 'AvenirNextLTPro',
|
|
628
|
+
src: 'AvenirNextLTPro-Heavy.otf',
|
|
629
|
+
weight: '800 900',
|
|
630
|
+
},
|
|
616
631
|
{
|
|
617
632
|
family: 'AvenirNextLTPro',
|
|
618
633
|
src: 'AvenirNextLTPro-HeavyCn.otf',
|
|
619
|
-
weight: 900,
|
|
634
|
+
weight: '800 900',
|
|
620
635
|
stretch: 'condensed',
|
|
621
636
|
},
|
|
622
637
|
{
|
|
623
638
|
family: 'AvenirNextLTPro',
|
|
624
639
|
src: 'AvenirNextLTPro-HeavyCnIt.otf',
|
|
625
|
-
weight: 900,
|
|
640
|
+
weight: '800 900',
|
|
626
641
|
style: 'italic',
|
|
627
642
|
stretch: 'condensed',
|
|
628
643
|
},
|
|
@@ -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 };
|
|
@@ -35,6 +35,13 @@ var truekind = {
|
|
|
35
35
|
mobile: 0,
|
|
36
36
|
desktop: 1200,
|
|
37
37
|
},
|
|
38
|
+
radius: {
|
|
39
|
+
regular: '8px',
|
|
40
|
+
},
|
|
41
|
+
zIndex: {
|
|
42
|
+
modal: 50,
|
|
43
|
+
overlay: 49,
|
|
44
|
+
},
|
|
38
45
|
colors: {
|
|
39
46
|
pallete: {
|
|
40
47
|
primary: __assign({
|
|
@@ -507,9 +514,12 @@ var truekind = {
|
|
|
507
514
|
color: '#292929',
|
|
508
515
|
},
|
|
509
516
|
},
|
|
517
|
+
modal: {
|
|
518
|
+
minWidth: '540px',
|
|
519
|
+
},
|
|
510
520
|
},
|
|
511
521
|
fonts: {
|
|
512
|
-
url: 'https://cdn.jsdelivr.net/gh/
|
|
522
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
|
|
513
523
|
config: [
|
|
514
524
|
{
|
|
515
525
|
family: 'CircularXX',
|
|
@@ -632,7 +642,7 @@ var truekind = {
|
|
|
632
642
|
assets: {
|
|
633
643
|
images: {
|
|
634
644
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
635
|
-
logo: 'https://cdn.jsdelivr.net/gh/
|
|
645
|
+
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
636
646
|
},
|
|
637
647
|
},
|
|
638
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;
|