@trafilea/afrodita-components 2.3.2 → 3.0.1-beta.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.css +2 -324
- package/build/index.d.ts +404 -101
- package/build/index.esm.css +2 -324
- package/build/index.esm.js +911 -711
- package/build/index.esm.js.map +1 -1
- package/build/index.js +916 -713
- package/build/index.js.map +1 -1
- package/package.json +8 -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/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/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/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/index.d.ts +0 -5
- 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/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 -6
- 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 -42
- 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 -108
- 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 -2
- package/build/dts/utils/media.d.ts +0 -2
- 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
|
|
|
@@ -25,12 +25,18 @@ declare const LightCheck: ({ height, width, fill, strokeWidth }: LightCheckProps
|
|
|
25
25
|
|
|
26
26
|
declare const Question: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
27
27
|
|
|
28
|
+
declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
31
|
+
|
|
28
32
|
declare const Actions_Check: typeof Check;
|
|
29
33
|
declare const Actions_ClearLight: typeof ClearLight;
|
|
30
34
|
declare const Actions_LightExclamation: typeof LightExclamation;
|
|
31
35
|
type Actions_LightCheckProps = LightCheckProps;
|
|
32
36
|
declare const Actions_LightCheck: typeof LightCheck;
|
|
33
37
|
declare const Actions_Question: typeof Question;
|
|
38
|
+
declare const Actions_Close: typeof Close;
|
|
39
|
+
declare const Actions_Trash: typeof Trash;
|
|
34
40
|
declare namespace Actions {
|
|
35
41
|
export {
|
|
36
42
|
Actions_Check as Check,
|
|
@@ -39,6 +45,8 @@ declare namespace Actions {
|
|
|
39
45
|
Actions_LightCheckProps as LightCheckProps,
|
|
40
46
|
Actions_LightCheck as LightCheck,
|
|
41
47
|
Actions_Question as Question,
|
|
48
|
+
Actions_Close as Close,
|
|
49
|
+
Actions_Trash as Trash,
|
|
42
50
|
};
|
|
43
51
|
}
|
|
44
52
|
|
|
@@ -51,15 +59,19 @@ declare const Loading: ({ height, width, fill, backgroundColor }: LoadingProps)
|
|
|
51
59
|
|
|
52
60
|
declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
|
|
53
61
|
|
|
62
|
+
declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
|
|
63
|
+
|
|
54
64
|
type Other_LoadingProps = LoadingProps;
|
|
55
65
|
declare const Other_Loading: typeof Loading;
|
|
56
66
|
declare const Other_Shapermint: typeof Shapermint;
|
|
67
|
+
declare const Other_McAfee: typeof McAfee;
|
|
57
68
|
declare namespace Other {
|
|
58
69
|
export {
|
|
59
70
|
FitPredictor$1 as FitPredictor,
|
|
60
71
|
Other_LoadingProps as LoadingProps,
|
|
61
72
|
Other_Loading as Loading,
|
|
62
73
|
Other_Shapermint as Shapermint,
|
|
74
|
+
Other_McAfee as McAfee,
|
|
63
75
|
};
|
|
64
76
|
}
|
|
65
77
|
|
|
@@ -69,6 +81,8 @@ declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityPro
|
|
|
69
81
|
|
|
70
82
|
declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
71
83
|
|
|
84
|
+
declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
85
|
+
|
|
72
86
|
declare const ChevronUp: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
73
87
|
|
|
74
88
|
declare const ChevronUpSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
@@ -78,6 +92,7 @@ declare const CircleUp: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
|
78
92
|
declare const Arrows_ChevronDown: typeof ChevronDown;
|
|
79
93
|
declare const Arrows_ChevronLeft: typeof ChevronLeft;
|
|
80
94
|
declare const Arrows_ChevronRight: typeof ChevronRight;
|
|
95
|
+
declare const Arrows_ChevronRightVariant: typeof ChevronRightVariant;
|
|
81
96
|
declare const Arrows_ChevronUp: typeof ChevronUp;
|
|
82
97
|
declare const Arrows_ChevronUpSolid: typeof ChevronUpSolid;
|
|
83
98
|
declare const Arrows_CircleUp: typeof CircleUp;
|
|
@@ -86,6 +101,7 @@ declare namespace Arrows {
|
|
|
86
101
|
Arrows_ChevronDown as ChevronDown,
|
|
87
102
|
Arrows_ChevronLeft as ChevronLeft,
|
|
88
103
|
Arrows_ChevronRight as ChevronRight,
|
|
104
|
+
Arrows_ChevronRightVariant as ChevronRightVariant,
|
|
89
105
|
Arrows_ChevronUp as ChevronUp,
|
|
90
106
|
Arrows_ChevronUpSolid as ChevronUpSolid,
|
|
91
107
|
Arrows_CircleUp as CircleUp,
|
|
@@ -283,10 +299,10 @@ declare enum CardSectionType {
|
|
|
283
299
|
Footer = 1
|
|
284
300
|
}
|
|
285
301
|
declare enum ComponentSize {
|
|
286
|
-
Large =
|
|
287
|
-
Medium =
|
|
288
|
-
Small =
|
|
289
|
-
XSmall =
|
|
302
|
+
Large = "large",
|
|
303
|
+
Medium = "medium",
|
|
304
|
+
Small = "small",
|
|
305
|
+
XSmall = "xsmall"
|
|
290
306
|
}
|
|
291
307
|
declare enum ComponentPosition {
|
|
292
308
|
Top = 0,
|
|
@@ -301,45 +317,318 @@ declare enum InputValidationType {
|
|
|
301
317
|
}
|
|
302
318
|
|
|
303
319
|
interface Theme {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
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;
|
|
309
353
|
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
354
|
+
border: {
|
|
355
|
+
disabled: string;
|
|
356
|
+
highlight: string;
|
|
357
|
+
};
|
|
358
|
+
background: {
|
|
359
|
+
disabled: string;
|
|
360
|
+
};
|
|
361
|
+
text: {
|
|
362
|
+
body: string;
|
|
363
|
+
disabled: string;
|
|
314
364
|
};
|
|
315
|
-
};
|
|
316
|
-
shades: {
|
|
317
|
-
white: string;
|
|
318
|
-
gray010: string;
|
|
319
|
-
gray050: string;
|
|
320
|
-
gray100: string;
|
|
321
|
-
gray150: string;
|
|
322
|
-
gray200: string;
|
|
323
|
-
gray250: string;
|
|
324
|
-
gray300: string;
|
|
325
|
-
gray350: string;
|
|
326
|
-
gray400: string;
|
|
327
|
-
gray450: string;
|
|
328
|
-
gray500: string;
|
|
329
|
-
gray550: string;
|
|
330
|
-
gray600: string;
|
|
331
|
-
gray650: string;
|
|
332
|
-
gray700: string;
|
|
333
|
-
gray750: string;
|
|
334
|
-
gray800: string;
|
|
335
|
-
gray850: string;
|
|
336
|
-
gray900: string;
|
|
337
|
-
gray950: string;
|
|
338
|
-
gray990: string;
|
|
339
365
|
};
|
|
340
366
|
text: {
|
|
341
367
|
weight: {
|
|
368
|
+
heavy: number;
|
|
342
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
|
+
};
|
|
343
632
|
};
|
|
344
633
|
};
|
|
345
634
|
}
|
|
@@ -405,6 +694,17 @@ declare type DropdownListIconsItem = {
|
|
|
405
694
|
declare type DropdownListIconsSubItem = {
|
|
406
695
|
description: string;
|
|
407
696
|
callback: () => void;
|
|
697
|
+
};
|
|
698
|
+
declare type Filter = {
|
|
699
|
+
title: string;
|
|
700
|
+
columns: number;
|
|
701
|
+
isOpenByDefault?: boolean;
|
|
702
|
+
items: string[];
|
|
703
|
+
};
|
|
704
|
+
declare type FilterChange = {
|
|
705
|
+
sectionIndex: number;
|
|
706
|
+
itemIndex: number;
|
|
707
|
+
checked?: boolean;
|
|
408
708
|
};
|
|
409
709
|
|
|
410
710
|
interface ThemeProviderProps {
|
|
@@ -432,7 +732,7 @@ interface CardProps {
|
|
|
432
732
|
border?: borderProps;
|
|
433
733
|
flex?: boolean;
|
|
434
734
|
}
|
|
435
|
-
declare const _default
|
|
735
|
+
declare const _default: (({ children, backgroundColor, widthAuto, border, flex }: CardProps) => JSX.Element) & {
|
|
436
736
|
Header: ({ children }: CardSectionProps) => JSX.Element;
|
|
437
737
|
Footer: ({ children }: CardSectionProps) => JSX.Element;
|
|
438
738
|
Body: ({ children }: CardBodyProps) => JSX.Element;
|
|
@@ -444,12 +744,13 @@ declare const ButtonSecondary: ({ text, onClick, disabled, wide, size }: CTAProp
|
|
|
444
744
|
|
|
445
745
|
declare const ButtonSecondaryOutline: ({ text, onClick, disabled, wide, size, className, }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
446
746
|
|
|
447
|
-
declare type CommonProps
|
|
747
|
+
declare type CommonProps<T> = {
|
|
448
748
|
options: DropdownOption<T>[];
|
|
449
749
|
disabled?: boolean;
|
|
450
750
|
wide?: boolean;
|
|
451
751
|
onChange: (option: DropdownOption<T>) => void;
|
|
452
752
|
label?: string;
|
|
753
|
+
sort?: boolean;
|
|
453
754
|
};
|
|
454
755
|
declare type ConditionalProps<T> = {
|
|
455
756
|
initialValue: DropdownOption<T>;
|
|
@@ -458,8 +759,8 @@ declare type ConditionalProps<T> = {
|
|
|
458
759
|
initialValue?: undefined;
|
|
459
760
|
placeHolder: string;
|
|
460
761
|
};
|
|
461
|
-
declare type SimpleDropdownProps<T> = CommonProps
|
|
462
|
-
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;
|
|
463
764
|
|
|
464
765
|
interface SizeSelectorProps {
|
|
465
766
|
sizes: SizeOption[];
|
|
@@ -548,7 +849,7 @@ interface RatingProps {
|
|
|
548
849
|
reviews: number;
|
|
549
850
|
reviewsText: string;
|
|
550
851
|
}
|
|
551
|
-
declare const Rating: ({ size, reviews, reviewsText, rating, }: RatingProps) =>
|
|
852
|
+
declare const Rating: ({ size, reviews, reviewsText, rating, }: RatingProps) => JSX.Element;
|
|
552
853
|
|
|
553
854
|
interface FitPredictorProps {
|
|
554
855
|
onClick: () => void;
|
|
@@ -584,65 +885,16 @@ interface TooltipProps {
|
|
|
584
885
|
}
|
|
585
886
|
declare const Tooltip: ({ children, position, text, align, onClick, header, }: TooltipProps) => JSX.Element;
|
|
586
887
|
|
|
587
|
-
interface
|
|
588
|
-
children: React.ReactNode;
|
|
589
|
-
}
|
|
590
|
-
declare type InternalProps = {
|
|
591
|
-
staticProp?: boolean;
|
|
592
|
-
unmount?: never;
|
|
593
|
-
} | {
|
|
594
|
-
staticProp?: never;
|
|
595
|
-
unmount?: boolean;
|
|
596
|
-
};
|
|
597
|
-
declare type StyleProps$1 = {
|
|
598
|
-
as: ElementType<any>;
|
|
599
|
-
className?: string;
|
|
600
|
-
} | {
|
|
601
|
-
as?: undefined;
|
|
602
|
-
className?: never;
|
|
603
|
-
};
|
|
604
|
-
declare type AccordionPanelProps = CommonProps$1 & InternalProps & StyleProps$1;
|
|
605
|
-
|
|
606
|
-
interface AccordionButtonProps {
|
|
607
|
-
disabled?: boolean;
|
|
608
|
-
as?: ElementType<any>;
|
|
609
|
-
className?: string;
|
|
610
|
-
children: ReactNode;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
interface CommonProps {
|
|
614
|
-
children: React.ReactNode;
|
|
615
|
-
defaultOpen?: boolean;
|
|
616
|
-
}
|
|
617
|
-
declare type StyleProps = {
|
|
618
|
-
as: ElementType<any>;
|
|
619
|
-
className?: string;
|
|
620
|
-
} | {
|
|
621
|
-
as?: undefined;
|
|
622
|
-
className?: never;
|
|
623
|
-
};
|
|
624
|
-
declare type AccordionProps = CommonProps & StyleProps;
|
|
625
|
-
declare const _default: (({ defaultOpen, as, className, children }: AccordionProps) => _emotion_react_jsx_runtime.JSX.Element) & {
|
|
626
|
-
Button: ({ disabled, as, className, children }: AccordionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
627
|
-
Panel: ({ as, staticProp, unmount, children, className }: AccordionPanelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
628
|
-
};
|
|
629
|
-
|
|
630
|
-
interface AccordionBoxProps {
|
|
631
|
-
title: string;
|
|
632
|
-
text: string;
|
|
888
|
+
interface AccordionProps {
|
|
633
889
|
defaultOpen?: boolean;
|
|
890
|
+
variant: 'simple' | 'box';
|
|
891
|
+
header: ReactNode;
|
|
892
|
+
content: ReactNode;
|
|
634
893
|
disabled?: boolean;
|
|
894
|
+
openIcon: IconType;
|
|
895
|
+
closeIcon: IconType;
|
|
635
896
|
}
|
|
636
|
-
declare const
|
|
637
|
-
|
|
638
|
-
interface AccordionIconProps {
|
|
639
|
-
title: string;
|
|
640
|
-
text: string;
|
|
641
|
-
leadingIcon: React.ReactNode;
|
|
642
|
-
defaultOpen?: boolean;
|
|
643
|
-
disabled?: boolean;
|
|
644
|
-
}
|
|
645
|
-
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;
|
|
646
898
|
|
|
647
899
|
interface CheckboxProps {
|
|
648
900
|
disabled?: boolean;
|
|
@@ -651,8 +903,10 @@ interface CheckboxProps {
|
|
|
651
903
|
text: string;
|
|
652
904
|
checked?: boolean;
|
|
653
905
|
id: string;
|
|
906
|
+
backgroundColor?: string;
|
|
907
|
+
variant: 'primary' | 'secondary';
|
|
654
908
|
}
|
|
655
|
-
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;
|
|
656
910
|
|
|
657
911
|
interface RadioGroupInputProps {
|
|
658
912
|
name: string;
|
|
@@ -986,4 +1240,53 @@ declare const Collection: {
|
|
|
986
1240
|
withProductGrid: typeof withProductGrid;
|
|
987
1241
|
};
|
|
988
1242
|
|
|
989
|
-
|
|
1243
|
+
interface StarListProps {
|
|
1244
|
+
rating: number;
|
|
1245
|
+
size?: ComponentSize;
|
|
1246
|
+
starsNumber: number;
|
|
1247
|
+
fill: string;
|
|
1248
|
+
}
|
|
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;
|
|
1291
|
+
|
|
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 };
|