@trafilea/afrodita-components 2.3.3 → 3.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.css +2 -269
- package/build/index.d.ts +375 -103
- package/build/index.esm.css +2 -269
- package/build/index.esm.js +892 -710
- package/build/index.esm.js.map +1 -1
- package/build/index.js +896 -712
- package/build/index.js.map +1 -1
- package/package.json +8 -6
- 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/AccordionBox.d.ts +0 -9
- package/build/dts/components/accordion/AccordionBox.stories.d.ts +0 -10
- package/build/dts/components/accordion/AccordionBox.test.d.ts +0 -1
- package/build/dts/components/accordion/AccordionControlButton.d.ts +0 -12
- package/build/dts/components/accordion/AccordionIcon.d.ts +0 -10
- package/build/dts/components/accordion/AccordionIcon.stories.d.ts +0 -22
- package/build/dts/components/accordion/AccordionIcon.test.d.ts +0 -1
- 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/checkbox/Checkbox.d.ts +0 -24
- package/build/dts/components/checkbox/Checkbox.stories.d.ts +0 -23
- package/build/dts/components/checkbox/Checkbox.test.d.ts +0 -1
- 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 -24
- 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/dropdown/base/BaseDropdown.d.ts +0 -17
- package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +0 -11
- package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +0 -9
- package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +0 -6
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +0 -19
- package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +0 -12
- 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 -59
- package/build/dts/components/fit/FitPredictor.d.ts +0 -5
- package/build/dts/components/fit/FitPredictor.test.d.ts +0 -1
- package/build/dts/components/gallery/ImagePreviewList.d.ts +0 -9
- package/build/dts/components/gallery/ImagePreviewList.test.d.ts +0 -1
- package/build/dts/components/gallery/ImageProductWithTags.d.ts +0 -10
- package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +0 -1
- package/build/dts/components/gallery/ImageSmallPreview.d.ts +0 -9
- package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +0 -1
- package/build/dts/components/gallery/ProductGallery.d.ts +0 -12
- package/build/dts/components/gallery/ProductGallery.stories.d.ts +0 -9
- package/build/dts/components/gallery/ProductGallery.test.d.ts +0 -1
- package/build/dts/components/icon-button/IconButton.d.ts +0 -16
- package/build/dts/components/icon-button/IconButton.stories.d.ts +0 -23
- package/build/dts/components/icon-button/IconButton.test.d.ts +0 -1
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +0 -6
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +0 -7
- package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +0 -1
- package/build/dts/components/icons/Actions/Check.d.ts +0 -3
- package/build/dts/components/icons/Actions/ClearLight.d.ts +0 -3
- package/build/dts/components/icons/Actions/Close.d.ts +0 -3
- package/build/dts/components/icons/Actions/LightCheck.d.ts +0 -6
- package/build/dts/components/icons/Actions/LightExclamation.d.ts +0 -3
- package/build/dts/components/icons/Actions/Question.d.ts +0 -3
- package/build/dts/components/icons/Actions/Trash.d.ts +0 -3
- package/build/dts/components/icons/Actions/index.d.ts +0 -7
- package/build/dts/components/icons/Arrows/ChevronDown.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronRight.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronUp.d.ts +0 -3
- package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +0 -3
- package/build/dts/components/icons/Arrows/CircleUp.d.ts +0 -3
- package/build/dts/components/icons/Arrows/index.d.ts +0 -7
- package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +0 -3
- package/build/dts/components/icons/Custom/index.d.ts +0 -1
- package/build/dts/components/icons/Download/AppleStore.d.ts +0 -3
- package/build/dts/components/icons/Download/GooglePlay.d.ts +0 -3
- package/build/dts/components/icons/Download/index.d.ts +0 -2
- package/build/dts/components/icons/Messaging/Comment.d.ts +0 -3
- package/build/dts/components/icons/Messaging/Messenger.d.ts +0 -3
- package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +0 -3
- package/build/dts/components/icons/Messaging/index.d.ts +0 -3
- package/build/dts/components/icons/Navigation/MapMarker.d.ts +0 -3
- package/build/dts/components/icons/Navigation/Search.d.ts +0 -3
- package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +0 -3
- package/build/dts/components/icons/Navigation/User.d.ts +0 -3
- package/build/dts/components/icons/Navigation/index.d.ts +0 -4
- package/build/dts/components/icons/Other/FitPredictor.d.ts +0 -3
- package/build/dts/components/icons/Other/Loading.d.ts +0 -6
- package/build/dts/components/icons/Other/Shapermint.d.ts +0 -3
- package/build/dts/components/icons/Other/index.d.ts +0 -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 -43
- 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 -24
- 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/payment-methods/PaymentMethod.d.ts +0 -20
- package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +0 -12
- 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/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/rating/Rating.d.ts +0 -8
- package/build/dts/components/rating/Rating.stories.d.ts +0 -23
- package/build/dts/components/rating/Rating.test.d.ts +0 -1
- package/build/dts/components/rating/starList/StarList.d.ts +0 -8
- package/build/dts/components/rating/starList/StarList.stories.d.ts +0 -23
- package/build/dts/components/rating/starList/StarList.test.d.ts +0 -1
- 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/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/accordion/Accordion.d.ts +0 -18
- package/build/dts/components/shared/accordion/Accordion.stories.d.ts +0 -10
- package/build/dts/components/shared/accordion/Accordion.test.d.ts +0 -1
- package/build/dts/components/shared/accordion/AccordionButton.d.ts +0 -9
- package/build/dts/components/shared/accordion/AccordionPanel.d.ts +0 -21
- 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/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 -8
- 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-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/theme/ThemeProvider.d.ts +0 -8
- package/build/dts/components/theme/defaultTheme.d.ts +0 -2
- 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/hooks/WindowDimensions.d.ts +0 -7
- package/build/dts/index.d.ts +0 -3
- 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 -119
- 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 -3
- package/build/dts/utils/media.d.ts +0 -2
- 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/validations/validations.d.ts +0 -5
- package/build/dts/utils/validations/validations.test.d.ts +0 -1
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React, { ReactNode
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
3
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
4
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
5
5
|
|
|
@@ -59,15 +59,19 @@ declare const Loading: ({ height, width, fill, backgroundColor }: LoadingProps)
|
|
|
59
59
|
|
|
60
60
|
declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
|
|
61
61
|
|
|
62
|
+
declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
|
|
63
|
+
|
|
62
64
|
type Other_LoadingProps = LoadingProps;
|
|
63
65
|
declare const Other_Loading: typeof Loading;
|
|
64
66
|
declare const Other_Shapermint: typeof Shapermint;
|
|
67
|
+
declare const Other_McAfee: typeof McAfee;
|
|
65
68
|
declare namespace Other {
|
|
66
69
|
export {
|
|
67
70
|
FitPredictor$1 as FitPredictor,
|
|
68
71
|
Other_LoadingProps as LoadingProps,
|
|
69
72
|
Other_Loading as Loading,
|
|
70
73
|
Other_Shapermint as Shapermint,
|
|
74
|
+
Other_McAfee as McAfee,
|
|
71
75
|
};
|
|
72
76
|
}
|
|
73
77
|
|
|
@@ -295,10 +299,10 @@ declare enum CardSectionType {
|
|
|
295
299
|
Footer = 1
|
|
296
300
|
}
|
|
297
301
|
declare enum ComponentSize {
|
|
298
|
-
Large =
|
|
299
|
-
Medium =
|
|
300
|
-
Small =
|
|
301
|
-
XSmall =
|
|
302
|
+
Large = "large",
|
|
303
|
+
Medium = "medium",
|
|
304
|
+
Small = "small",
|
|
305
|
+
XSmall = "xsmall"
|
|
302
306
|
}
|
|
303
307
|
declare enum ComponentPosition {
|
|
304
308
|
Top = 0,
|
|
@@ -313,45 +317,318 @@ declare enum InputValidationType {
|
|
|
313
317
|
}
|
|
314
318
|
|
|
315
319
|
interface Theme {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
320
|
+
name: string;
|
|
321
|
+
fontSizes: number[];
|
|
322
|
+
fontWeights: number[];
|
|
323
|
+
lineHeights: number[];
|
|
324
|
+
colors: {
|
|
325
|
+
primary: string;
|
|
326
|
+
secondary: string;
|
|
327
|
+
black: string;
|
|
328
|
+
white: string;
|
|
329
|
+
neutral10: string;
|
|
330
|
+
neutral50: string;
|
|
331
|
+
neutral100: string;
|
|
332
|
+
neutral150: string;
|
|
333
|
+
neutral200: string;
|
|
334
|
+
neutral250: string;
|
|
335
|
+
neutral300: string;
|
|
336
|
+
neutral350: string;
|
|
337
|
+
neutral400: string;
|
|
338
|
+
neutral450: string;
|
|
339
|
+
neutral500: string;
|
|
340
|
+
neutral550: string;
|
|
341
|
+
neutral600: string;
|
|
342
|
+
neutral650: string;
|
|
343
|
+
neutral700: string;
|
|
344
|
+
neutral750: string;
|
|
345
|
+
neutral800: string;
|
|
346
|
+
neutral850: string;
|
|
347
|
+
neutral900: string;
|
|
348
|
+
neutral950: string;
|
|
349
|
+
neutral990: string;
|
|
350
|
+
semantic: {
|
|
351
|
+
error: string;
|
|
352
|
+
success: string;
|
|
321
353
|
};
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
354
|
+
border: {
|
|
355
|
+
disabled: string;
|
|
356
|
+
highlight: string;
|
|
357
|
+
};
|
|
358
|
+
background: {
|
|
359
|
+
disabled: string;
|
|
360
|
+
};
|
|
361
|
+
text: {
|
|
362
|
+
body: string;
|
|
363
|
+
disabled: string;
|
|
326
364
|
};
|
|
327
|
-
};
|
|
328
|
-
shades: {
|
|
329
|
-
white: string;
|
|
330
|
-
gray010: string;
|
|
331
|
-
gray050: string;
|
|
332
|
-
gray100: string;
|
|
333
|
-
gray150: string;
|
|
334
|
-
gray200: string;
|
|
335
|
-
gray250: string;
|
|
336
|
-
gray300: string;
|
|
337
|
-
gray350: string;
|
|
338
|
-
gray400: string;
|
|
339
|
-
gray450: string;
|
|
340
|
-
gray500: string;
|
|
341
|
-
gray550: string;
|
|
342
|
-
gray600: string;
|
|
343
|
-
gray650: string;
|
|
344
|
-
gray700: string;
|
|
345
|
-
gray750: string;
|
|
346
|
-
gray800: string;
|
|
347
|
-
gray850: string;
|
|
348
|
-
gray900: string;
|
|
349
|
-
gray950: string;
|
|
350
|
-
gray990: string;
|
|
351
365
|
};
|
|
352
366
|
text: {
|
|
353
367
|
weight: {
|
|
368
|
+
heavy: number;
|
|
354
369
|
bold: number;
|
|
370
|
+
demi: number;
|
|
371
|
+
medium: number;
|
|
372
|
+
regular: number;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
component: {
|
|
376
|
+
button: {
|
|
377
|
+
border: string;
|
|
378
|
+
borderRadius: string;
|
|
379
|
+
fontWeight: number;
|
|
380
|
+
size: {
|
|
381
|
+
small: {
|
|
382
|
+
fontSize: string;
|
|
383
|
+
padding: string;
|
|
384
|
+
};
|
|
385
|
+
medium: {
|
|
386
|
+
fontSize: string;
|
|
387
|
+
padding: string;
|
|
388
|
+
};
|
|
389
|
+
large: {
|
|
390
|
+
fontSize: string;
|
|
391
|
+
padding: string;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
primary: {
|
|
395
|
+
active: {
|
|
396
|
+
backgroundColor: string;
|
|
397
|
+
color: string;
|
|
398
|
+
};
|
|
399
|
+
hover: {
|
|
400
|
+
backgroundColor: string;
|
|
401
|
+
color: string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
secondary: {
|
|
405
|
+
active: {
|
|
406
|
+
backgroundColor: string;
|
|
407
|
+
color: string;
|
|
408
|
+
};
|
|
409
|
+
hover: {
|
|
410
|
+
backgroundColor: string;
|
|
411
|
+
color: string;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
input: {
|
|
416
|
+
background: string;
|
|
417
|
+
color: string;
|
|
418
|
+
placeholderColor: string;
|
|
419
|
+
borderRadius: string;
|
|
420
|
+
fontSize: string;
|
|
421
|
+
fontWeight: number;
|
|
422
|
+
padding: string;
|
|
423
|
+
lineHeight: string;
|
|
424
|
+
border: string;
|
|
425
|
+
boxShadow: string;
|
|
426
|
+
};
|
|
427
|
+
inputCustom: {
|
|
428
|
+
button: {
|
|
429
|
+
borderRadius: string;
|
|
430
|
+
};
|
|
431
|
+
input: {
|
|
432
|
+
borderRadius: string;
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
selector: {
|
|
436
|
+
size: {
|
|
437
|
+
small: {
|
|
438
|
+
padding: string;
|
|
439
|
+
borderRadius: string;
|
|
440
|
+
};
|
|
441
|
+
medium: {
|
|
442
|
+
padding: string;
|
|
443
|
+
borderRadius: string;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
default: {
|
|
447
|
+
fontWeight: number;
|
|
448
|
+
border: string;
|
|
449
|
+
background: string;
|
|
450
|
+
color: string;
|
|
451
|
+
};
|
|
452
|
+
hover: {
|
|
453
|
+
fontWeight: number;
|
|
454
|
+
background: string;
|
|
455
|
+
border: string;
|
|
456
|
+
color: string;
|
|
457
|
+
};
|
|
458
|
+
disabled: {
|
|
459
|
+
border: string;
|
|
460
|
+
};
|
|
461
|
+
fontSize: string;
|
|
462
|
+
};
|
|
463
|
+
rating: {
|
|
464
|
+
fontWeight: number;
|
|
465
|
+
size: {
|
|
466
|
+
xsmall: {
|
|
467
|
+
fontSize: string;
|
|
468
|
+
lineHeight: string;
|
|
469
|
+
};
|
|
470
|
+
small: {
|
|
471
|
+
fontSize: string;
|
|
472
|
+
lineHeight: string;
|
|
473
|
+
};
|
|
474
|
+
medium: {
|
|
475
|
+
fontSize: string;
|
|
476
|
+
lineHeight: string;
|
|
477
|
+
};
|
|
478
|
+
large: {
|
|
479
|
+
fontSize: string;
|
|
480
|
+
lineHeight: string;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
card: {
|
|
485
|
+
borderRadius: string;
|
|
486
|
+
};
|
|
487
|
+
radio: {
|
|
488
|
+
borderColor: string;
|
|
489
|
+
background: string;
|
|
490
|
+
size: {
|
|
491
|
+
small: {
|
|
492
|
+
borderWidth: string;
|
|
493
|
+
margin: string;
|
|
494
|
+
height: string;
|
|
495
|
+
active: {
|
|
496
|
+
borderWidth: string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
medium: {
|
|
500
|
+
borderWidth: string;
|
|
501
|
+
margin: string;
|
|
502
|
+
height: string;
|
|
503
|
+
active: {
|
|
504
|
+
borderWidth: string;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
large: {
|
|
508
|
+
borderWidth: string;
|
|
509
|
+
margin: string;
|
|
510
|
+
height: string;
|
|
511
|
+
active: {
|
|
512
|
+
borderWidth: string;
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
label: {
|
|
518
|
+
fontSize: {
|
|
519
|
+
small: string;
|
|
520
|
+
medium: string;
|
|
521
|
+
large: string;
|
|
522
|
+
};
|
|
523
|
+
lineHeight: {
|
|
524
|
+
small: string;
|
|
525
|
+
medium: string;
|
|
526
|
+
large: string;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
checkbox: {
|
|
530
|
+
background: string;
|
|
531
|
+
borderColor: string;
|
|
532
|
+
active: {
|
|
533
|
+
background: string;
|
|
534
|
+
};
|
|
535
|
+
size: {
|
|
536
|
+
large: {
|
|
537
|
+
width: string;
|
|
538
|
+
height: string;
|
|
539
|
+
borderRadius: string;
|
|
540
|
+
borderWidth: string;
|
|
541
|
+
margin: string;
|
|
542
|
+
icon: {
|
|
543
|
+
width: string;
|
|
544
|
+
height: string;
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
medium: {
|
|
548
|
+
width: string;
|
|
549
|
+
height: string;
|
|
550
|
+
borderRadius: string;
|
|
551
|
+
borderWidth: string;
|
|
552
|
+
margin: string;
|
|
553
|
+
icon: {
|
|
554
|
+
width: string;
|
|
555
|
+
height: string;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
small: {
|
|
559
|
+
width: string;
|
|
560
|
+
height: string;
|
|
561
|
+
borderRadius: string;
|
|
562
|
+
borderWidth: string;
|
|
563
|
+
margin: string;
|
|
564
|
+
icon: {
|
|
565
|
+
width: string;
|
|
566
|
+
height: string;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
accordion: {
|
|
572
|
+
variant: {
|
|
573
|
+
box: {
|
|
574
|
+
container: {
|
|
575
|
+
border: string;
|
|
576
|
+
borderColor: string;
|
|
577
|
+
borderRadius: string;
|
|
578
|
+
padding: string;
|
|
579
|
+
};
|
|
580
|
+
summary: {
|
|
581
|
+
fontWeight: number;
|
|
582
|
+
fontSize: string;
|
|
583
|
+
lineHeight: string;
|
|
584
|
+
color: string;
|
|
585
|
+
};
|
|
586
|
+
details: {
|
|
587
|
+
margin: string;
|
|
588
|
+
};
|
|
589
|
+
icon: {
|
|
590
|
+
width: number;
|
|
591
|
+
height: number;
|
|
592
|
+
color: string;
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
simple: {
|
|
596
|
+
container: {
|
|
597
|
+
borderTop: string;
|
|
598
|
+
borderBottom: string;
|
|
599
|
+
borderColor: string;
|
|
600
|
+
borderRadius: string;
|
|
601
|
+
padding: string;
|
|
602
|
+
};
|
|
603
|
+
summary: {
|
|
604
|
+
fontWeight: number;
|
|
605
|
+
fontSize: string;
|
|
606
|
+
lineHeight: string;
|
|
607
|
+
color: string;
|
|
608
|
+
};
|
|
609
|
+
details: {
|
|
610
|
+
margin: string;
|
|
611
|
+
};
|
|
612
|
+
icon: {
|
|
613
|
+
width: number;
|
|
614
|
+
height: number;
|
|
615
|
+
color: string;
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
dropdown: {
|
|
621
|
+
borderRadius: string;
|
|
622
|
+
fontSize: string;
|
|
623
|
+
fontWeight: number;
|
|
624
|
+
lineHeight: string;
|
|
625
|
+
padding: string;
|
|
626
|
+
color: string;
|
|
627
|
+
fill: string;
|
|
628
|
+
options: {
|
|
629
|
+
borderColor: string;
|
|
630
|
+
color: string;
|
|
631
|
+
};
|
|
355
632
|
};
|
|
356
633
|
};
|
|
357
634
|
}
|
|
@@ -422,7 +699,7 @@ declare type Filter = {
|
|
|
422
699
|
title: string;
|
|
423
700
|
columns: number;
|
|
424
701
|
isOpenByDefault?: boolean;
|
|
425
|
-
items:
|
|
702
|
+
items: string[];
|
|
426
703
|
};
|
|
427
704
|
declare type FilterChange = {
|
|
428
705
|
sectionIndex: number;
|
|
@@ -455,7 +732,7 @@ interface CardProps {
|
|
|
455
732
|
border?: borderProps;
|
|
456
733
|
flex?: boolean;
|
|
457
734
|
}
|
|
458
|
-
declare const _default
|
|
735
|
+
declare const _default: (({ children, backgroundColor, widthAuto, border, flex }: CardProps) => JSX.Element) & {
|
|
459
736
|
Header: ({ children }: CardSectionProps) => JSX.Element;
|
|
460
737
|
Footer: ({ children }: CardSectionProps) => JSX.Element;
|
|
461
738
|
Body: ({ children }: CardBodyProps) => JSX.Element;
|
|
@@ -467,12 +744,13 @@ declare const ButtonSecondary: ({ text, onClick, disabled, wide, size }: CTAProp
|
|
|
467
744
|
|
|
468
745
|
declare const ButtonSecondaryOutline: ({ text, onClick, disabled, wide, size, className, }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
469
746
|
|
|
470
|
-
declare type CommonProps
|
|
747
|
+
declare type CommonProps<T> = {
|
|
471
748
|
options: DropdownOption<T>[];
|
|
472
749
|
disabled?: boolean;
|
|
473
750
|
wide?: boolean;
|
|
474
751
|
onChange: (option: DropdownOption<T>) => void;
|
|
475
752
|
label?: string;
|
|
753
|
+
sort?: boolean;
|
|
476
754
|
};
|
|
477
755
|
declare type ConditionalProps<T> = {
|
|
478
756
|
initialValue: DropdownOption<T>;
|
|
@@ -481,8 +759,8 @@ declare type ConditionalProps<T> = {
|
|
|
481
759
|
initialValue?: undefined;
|
|
482
760
|
placeHolder: string;
|
|
483
761
|
};
|
|
484
|
-
declare type SimpleDropdownProps<T> = CommonProps
|
|
485
|
-
declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, onChange, }: SimpleDropdownProps<T>): JSX.Element;
|
|
762
|
+
declare type SimpleDropdownProps<T> = CommonProps<T> & ConditionalProps<T>;
|
|
763
|
+
declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, }: SimpleDropdownProps<T>): JSX.Element;
|
|
486
764
|
|
|
487
765
|
interface SizeSelectorProps {
|
|
488
766
|
sizes: SizeOption[];
|
|
@@ -571,7 +849,7 @@ interface RatingProps {
|
|
|
571
849
|
reviews: number;
|
|
572
850
|
reviewsText: string;
|
|
573
851
|
}
|
|
574
|
-
declare const Rating: ({ size, reviews, reviewsText, rating, }: RatingProps) =>
|
|
852
|
+
declare const Rating: ({ size, reviews, reviewsText, rating, }: RatingProps) => JSX.Element;
|
|
575
853
|
|
|
576
854
|
interface FitPredictorProps {
|
|
577
855
|
onClick: () => void;
|
|
@@ -607,65 +885,16 @@ interface TooltipProps {
|
|
|
607
885
|
}
|
|
608
886
|
declare const Tooltip: ({ children, position, text, align, onClick, header, }: TooltipProps) => JSX.Element;
|
|
609
887
|
|
|
610
|
-
interface
|
|
611
|
-
children: React.ReactNode;
|
|
612
|
-
}
|
|
613
|
-
declare type InternalProps = {
|
|
614
|
-
staticProp?: boolean;
|
|
615
|
-
unmount?: never;
|
|
616
|
-
} | {
|
|
617
|
-
staticProp?: never;
|
|
618
|
-
unmount?: boolean;
|
|
619
|
-
};
|
|
620
|
-
declare type StyleProps$1 = {
|
|
621
|
-
as: ElementType<any>;
|
|
622
|
-
className?: string;
|
|
623
|
-
} | {
|
|
624
|
-
as?: undefined;
|
|
625
|
-
className?: never;
|
|
626
|
-
};
|
|
627
|
-
declare type AccordionPanelProps = CommonProps$1 & InternalProps & StyleProps$1;
|
|
628
|
-
|
|
629
|
-
interface AccordionButtonProps {
|
|
630
|
-
disabled?: boolean;
|
|
631
|
-
as?: ElementType<any>;
|
|
632
|
-
className?: string;
|
|
633
|
-
children: ReactNode;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
interface CommonProps {
|
|
637
|
-
children: React.ReactNode;
|
|
638
|
-
defaultOpen?: boolean;
|
|
639
|
-
}
|
|
640
|
-
declare type StyleProps = {
|
|
641
|
-
as: ElementType<any>;
|
|
642
|
-
className?: string;
|
|
643
|
-
} | {
|
|
644
|
-
as?: undefined;
|
|
645
|
-
className?: never;
|
|
646
|
-
};
|
|
647
|
-
declare type AccordionProps = CommonProps & StyleProps;
|
|
648
|
-
declare const _default: (({ defaultOpen, as, className, children }: AccordionProps) => _emotion_react_jsx_runtime.JSX.Element) & {
|
|
649
|
-
Button: ({ disabled, as, className, children }: AccordionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
650
|
-
Panel: ({ as, staticProp, unmount, children, className }: AccordionPanelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
651
|
-
};
|
|
652
|
-
|
|
653
|
-
interface AccordionBoxProps {
|
|
654
|
-
title: string;
|
|
655
|
-
text: string;
|
|
888
|
+
interface AccordionProps {
|
|
656
889
|
defaultOpen?: boolean;
|
|
890
|
+
variant: 'simple' | 'box';
|
|
891
|
+
header: ReactNode;
|
|
892
|
+
content: ReactNode;
|
|
657
893
|
disabled?: boolean;
|
|
894
|
+
openIcon: IconType;
|
|
895
|
+
closeIcon: IconType;
|
|
658
896
|
}
|
|
659
|
-
declare const
|
|
660
|
-
|
|
661
|
-
interface AccordionIconProps {
|
|
662
|
-
title: string;
|
|
663
|
-
text: string;
|
|
664
|
-
leadingIcon: React.ReactNode;
|
|
665
|
-
defaultOpen?: boolean;
|
|
666
|
-
disabled?: boolean;
|
|
667
|
-
}
|
|
668
|
-
declare const AccordionIcon: ({ title, text, leadingIcon, defaultOpen, disabled, }: AccordionIconProps) => JSX.Element;
|
|
897
|
+
declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
669
898
|
|
|
670
899
|
interface CheckboxProps {
|
|
671
900
|
disabled?: boolean;
|
|
@@ -674,8 +903,10 @@ interface CheckboxProps {
|
|
|
674
903
|
text: string;
|
|
675
904
|
checked?: boolean;
|
|
676
905
|
id: string;
|
|
906
|
+
backgroundColor?: string;
|
|
907
|
+
variant: 'primary' | 'secondary';
|
|
677
908
|
}
|
|
678
|
-
declare const Checkbox: ({ disabled, onChange, size, text, checked, id, }: CheckboxProps) => JSX.Element;
|
|
909
|
+
declare const Checkbox: ({ disabled, onChange, size, text, checked, id, variant, }: CheckboxProps) => JSX.Element;
|
|
679
910
|
|
|
680
911
|
interface RadioGroupInputProps {
|
|
681
912
|
name: string;
|
|
@@ -1015,6 +1246,47 @@ interface StarListProps {
|
|
|
1015
1246
|
starsNumber: number;
|
|
1016
1247
|
fill: string;
|
|
1017
1248
|
}
|
|
1018
|
-
declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) =>
|
|
1249
|
+
declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
|
|
1250
|
+
|
|
1251
|
+
interface DrawerProps {
|
|
1252
|
+
children: React.ReactNode;
|
|
1253
|
+
isOpen: boolean;
|
|
1254
|
+
onClose?: () => void;
|
|
1255
|
+
onOpen?: () => void;
|
|
1256
|
+
onClickOutside?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1257
|
+
backgroundColor?: string;
|
|
1258
|
+
backdropColor?: string;
|
|
1259
|
+
position?: 'left' | 'right';
|
|
1260
|
+
width?: string;
|
|
1261
|
+
}
|
|
1262
|
+
declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
|
|
1263
|
+
|
|
1264
|
+
interface SpinnerProps {
|
|
1265
|
+
fill: string;
|
|
1266
|
+
background: string;
|
|
1267
|
+
animationDuration?: number;
|
|
1268
|
+
complete?: boolean;
|
|
1269
|
+
completeIconStroke?: number;
|
|
1270
|
+
size?: string;
|
|
1271
|
+
}
|
|
1272
|
+
declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
|
|
1273
|
+
|
|
1274
|
+
interface TagsProps {
|
|
1275
|
+
color?: string;
|
|
1276
|
+
items: string[];
|
|
1277
|
+
onCloseClick: (index: number) => void;
|
|
1278
|
+
}
|
|
1279
|
+
declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
|
|
1280
|
+
|
|
1281
|
+
declare type FilteringDropdownProps<T> = {
|
|
1282
|
+
options: DropdownOption<T>[];
|
|
1283
|
+
disabled?: boolean;
|
|
1284
|
+
wide?: boolean;
|
|
1285
|
+
onChange: (options: DropdownOption<T>[]) => void;
|
|
1286
|
+
filter?: boolean;
|
|
1287
|
+
sliceAfter?: number;
|
|
1288
|
+
placeHolder: string;
|
|
1289
|
+
};
|
|
1290
|
+
declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
|
|
1019
1291
|
|
|
1020
|
-
export {
|
|
1292
|
+
export { Accordion, AmazonPaypalButtons_d as AmazonAndPaypalButtons, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, index_d$1 as Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pattern, PaymentMethod, PriceLabel, ProductGallery, ProgressBar, RadioGroupInput, RadioGroupOption, Rating, Review, ScrollToTop, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, TextButton, Theme, ThemeProvider, Timer, Tooltip, Totals, WithTestId };
|