@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
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentSize } from '../../../types/enums';
|
|
3
|
-
export interface DiscountTagProps {
|
|
4
|
-
discount: number;
|
|
5
|
-
offText: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
backgroundColor?: string;
|
|
8
|
-
borderColor?: string;
|
|
9
|
-
textColor?: string;
|
|
10
|
-
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
11
|
-
}
|
|
12
|
-
export interface ContainerProps {
|
|
13
|
-
backgroundColor: string;
|
|
14
|
-
borderColor: string;
|
|
15
|
-
size: ComponentSize;
|
|
16
|
-
}
|
|
17
|
-
export interface TextProps {
|
|
18
|
-
size: ComponentSize;
|
|
19
|
-
textColor: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const DiscountTag: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, }: DiscountTagProps) => JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { ComponentSize } from '../../../types/enums';
|
|
4
|
-
import { DiscountTagProps } from './DiscountTag';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, }: DiscountTagProps) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
size: {
|
|
10
|
-
options: ComponentSize[];
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
labels: {
|
|
14
|
-
0: string;
|
|
15
|
-
1: string;
|
|
16
|
-
2: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const Discount: Story<DiscountTagProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DiscountTagProps } from '../discount/DiscountTag';
|
|
3
|
-
import { ComponentSize } from '../../../types/enums';
|
|
4
|
-
export interface PriceLabelProps {
|
|
5
|
-
finalPrice: string;
|
|
6
|
-
originalPrice?: string;
|
|
7
|
-
color?: string;
|
|
8
|
-
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
9
|
-
discount?: DiscountTagProps;
|
|
10
|
-
}
|
|
11
|
-
export declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { ComponentSize } from '../../../types/enums';
|
|
4
|
-
import { PriceLabelProps } from './PriceLabel';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
size: {
|
|
10
|
-
options: ComponentSize[];
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
labels: {
|
|
14
|
-
0: string;
|
|
15
|
-
1: string;
|
|
16
|
-
2: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const Price: Story<PriceLabelProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PriceLabelProps } from '../../../pricing';
|
|
3
|
-
interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
|
|
4
|
-
color?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ProductOrderItemProps {
|
|
7
|
-
title: string;
|
|
8
|
-
subtitle: string;
|
|
9
|
-
image: {
|
|
10
|
-
src: string;
|
|
11
|
-
alt: string;
|
|
12
|
-
};
|
|
13
|
-
price: Price;
|
|
14
|
-
tag?: {
|
|
15
|
-
text: string;
|
|
16
|
-
backgroundColor: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
|
|
20
|
-
export default SimpleOrderItem;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { ProductOrderItemProps } from './SimpleOrderItem';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const Default: Story<ProductOrderItemProps>;
|
|
10
|
-
export declare const PriceColor: Story<ProductOrderItemProps>;
|
|
11
|
-
export declare const WithTag: Story<ProductOrderItemProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ProgressBarProps {
|
|
3
|
-
description?: string;
|
|
4
|
-
fillColor: string;
|
|
5
|
-
widthAuto?: boolean;
|
|
6
|
-
percent?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const ProgressBar: ({ description, fillColor, widthAuto, percent, }: ProgressBarProps) => JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ description, fillColor, widthAuto, percent, }: import("./ProgressBar").ProgressBarProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Indeterminate: () => JSX.Element;
|
|
8
|
-
export declare const Fixed: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RadioGroupOption } from '../../../types/types';
|
|
3
|
-
import { ComponentSize } from '../../..';
|
|
4
|
-
export interface RadioGroupInputProps {
|
|
5
|
-
name: string;
|
|
6
|
-
options?: RadioGroupOption[];
|
|
7
|
-
value?: RadioGroupOption;
|
|
8
|
-
onChange: (value: RadioGroupOption) => void;
|
|
9
|
-
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { RadioGroupInputProps } from './group';
|
|
4
|
-
import { ComponentSize } from '../../..';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
size: {
|
|
10
|
-
options: ComponentSize[];
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
labels: {
|
|
14
|
-
0: string;
|
|
15
|
-
1: string;
|
|
16
|
-
2: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const RadioGroup: Story<RadioGroupInputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './container/group';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentSize, RadioGroupOption } from '../../..';
|
|
3
|
-
export interface RadioProps {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
onChange: (option: RadioGroupOption) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { RadioProps } from './radio';
|
|
4
|
-
import { ComponentSize } from '../../..';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
size: {
|
|
10
|
-
options: ComponentSize[];
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
labels: {
|
|
14
|
-
0: string;
|
|
15
|
-
1: string;
|
|
16
|
-
2: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const BasicRadio: Story<RadioProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentSize } from '../../types/enums';
|
|
2
|
-
export interface RatingProps {
|
|
3
|
-
rating: number;
|
|
4
|
-
size?: ComponentSize;
|
|
5
|
-
reviews: number;
|
|
6
|
-
reviewsText: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const Rating: ({ size, reviews, reviewsText, rating, }: RatingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
|
-
import { ComponentSize } from '../../types/enums';
|
|
3
|
-
import { RatingProps } from './Rating';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ size, reviews, reviewsText, rating, }: RatingProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
7
|
-
argTypes: {
|
|
8
|
-
size: {
|
|
9
|
-
options: ComponentSize[];
|
|
10
|
-
control: {
|
|
11
|
-
type: string;
|
|
12
|
-
labels: {
|
|
13
|
-
0: string;
|
|
14
|
-
1: string;
|
|
15
|
-
2: string;
|
|
16
|
-
3: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const BasicRating: Story<RatingProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentSize } from '../../../types/enums';
|
|
2
|
-
export interface StarListProps {
|
|
3
|
-
rating: number;
|
|
4
|
-
size?: ComponentSize;
|
|
5
|
-
starsNumber: number;
|
|
6
|
-
fill: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
|
-
import { ComponentSize } from '../../../types/enums';
|
|
3
|
-
import { StarListProps } from './StarList';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ rating, starsNumber, fill, size, }: StarListProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
7
|
-
argTypes: {
|
|
8
|
-
size: {
|
|
9
|
-
options: ComponentSize[];
|
|
10
|
-
control: {
|
|
11
|
-
type: string;
|
|
12
|
-
labels: {
|
|
13
|
-
0: string;
|
|
14
|
-
1: string;
|
|
15
|
-
2: string;
|
|
16
|
-
3: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const BasicRating: Story<StarListProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentSize } from '../../types/enums';
|
|
3
|
-
export interface ReviewProps {
|
|
4
|
-
reviewerName: string;
|
|
5
|
-
date: Date;
|
|
6
|
-
rating: number;
|
|
7
|
-
stars: {
|
|
8
|
-
color: string;
|
|
9
|
-
size: ComponentSize.Medium | ComponentSize.Small;
|
|
10
|
-
};
|
|
11
|
-
title: string;
|
|
12
|
-
description: string;
|
|
13
|
-
image: {
|
|
14
|
-
src: string;
|
|
15
|
-
alt: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
19
|
-
export default Review;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { ReviewProps } from './Review';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const Default: Story<ReviewProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ScrollToTopProps {
|
|
3
|
-
scrollToTopText: string;
|
|
4
|
-
onClick: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: React.ElementType<any> | undefined;
|
|
9
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
interface H1Props {
|
|
11
|
-
color: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const H1: import("@emotion/styled").StyledComponent<{
|
|
14
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: React.ElementType<any> | undefined;
|
|
16
|
-
} & H1Props, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
17
|
-
export declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { ScrollToTopProps } from './ScrollToTop';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const Basic: Story<ScrollToTopProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { SimpleSelectorProps } from './SimpleSelector';
|
|
2
|
-
export declare type SelectorSecondaryProps = SimpleSelectorProps;
|
|
3
|
-
declare const SelectorSecondary: ({ text, size, disabled, active, className, onClick, }: SelectorSecondaryProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default SelectorSecondary;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentSize } from '../../../types/enums';
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ text, size, disabled, active, className, onClick, }: import("./SimpleSelector").SimpleSelectorProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
size: {
|
|
8
|
-
options: ComponentSize[];
|
|
9
|
-
control: {
|
|
10
|
-
type: string;
|
|
11
|
-
labels: {
|
|
12
|
-
1: string;
|
|
13
|
-
2: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
onClick: {
|
|
19
|
-
action: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
export declare const Secondary: Story<import("./SimpleSelector").SimpleSelectorProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentSize } from '../../../types/enums';
|
|
2
|
-
export interface SimpleSelectorProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
text: string;
|
|
7
|
-
size?: ComponentSize.Medium | ComponentSize.Small;
|
|
8
|
-
active?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const SimpleSelector: ({ text, className, disabled, size, active, onClick, }: SimpleSelectorProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default SimpleSelector;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { ElementType } from 'react';
|
|
2
|
-
interface CommonProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
defaultOpen?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare type StyleProps = {
|
|
7
|
-
as: ElementType<any>;
|
|
8
|
-
className?: string;
|
|
9
|
-
} | {
|
|
10
|
-
as?: undefined;
|
|
11
|
-
className?: never;
|
|
12
|
-
};
|
|
13
|
-
export declare type AccordionProps = CommonProps & StyleProps;
|
|
14
|
-
declare const _default: (({ defaultOpen, as, className, children }: AccordionProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
|
|
15
|
-
Button: ({ disabled, as, className, children }: import("./AccordionButton").AccordionButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
-
Panel: ({ as, staticProp, unmount, children, className }: import("./AccordionPanel").AccordionPanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (({ defaultOpen, as, className, children }: import("./Accordion").AccordionProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element) & {
|
|
5
|
-
Button: ({ disabled, as, className, children }: import("./AccordionButton").AccordionButtonProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
6
|
-
Panel: ({ as, staticProp, unmount, children, className }: import("./AccordionPanel").AccordionPanelProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const Default: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ElementType } from 'react';
|
|
2
|
-
export interface AccordionButtonProps {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
as?: ElementType<any>;
|
|
5
|
-
className?: string;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const AccordionButton: ({ disabled, as, className, children }: AccordionButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default AccordionButton;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { ElementType } from 'react';
|
|
2
|
-
interface CommonProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
declare type InternalProps = {
|
|
6
|
-
staticProp?: boolean;
|
|
7
|
-
unmount?: never;
|
|
8
|
-
} | {
|
|
9
|
-
staticProp?: never;
|
|
10
|
-
unmount?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare type StyleProps = {
|
|
13
|
-
as: ElementType<any>;
|
|
14
|
-
className?: string;
|
|
15
|
-
} | {
|
|
16
|
-
as?: undefined;
|
|
17
|
-
className?: never;
|
|
18
|
-
};
|
|
19
|
-
export declare type AccordionPanelProps = CommonProps & InternalProps & StyleProps;
|
|
20
|
-
declare const AccordionPanel: ({ as, staticProp, unmount, children, className }: AccordionPanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default AccordionPanel;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonType } from '../../../types/types';
|
|
3
|
-
export interface BaseButtonProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
renderLeading?: React.ReactNode;
|
|
6
|
-
renderTrailing?: React.ReactNode;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
type?: ButtonType;
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const BaseButton: ({ children, renderLeading, renderTrailing, disabled, type, onClick, className, }: BaseButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default BaseButton;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
|
-
import { BaseButtonProps } from './BaseButton';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ children, renderLeading, renderTrailing, disabled, type, onClick, className, }: BaseButtonProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
6
|
-
disabled: {
|
|
7
|
-
options: boolean[];
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
14
|
-
export declare const BasicButton: Story<BaseButtonProps>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface borderProps {
|
|
3
|
-
borderColor: string;
|
|
4
|
-
borderWidth: string;
|
|
5
|
-
}
|
|
6
|
-
export interface CardProps {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
widthAuto?: boolean;
|
|
10
|
-
border?: borderProps;
|
|
11
|
-
flex?: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare const _default: (({ children, backgroundColor, widthAuto, border, flex }: CardProps) => JSX.Element) & {
|
|
14
|
-
Header: ({ children }: import("./CardSection").CardSectionProps) => JSX.Element;
|
|
15
|
-
Footer: ({ children }: import("./CardSection").CardSectionProps) => JSX.Element;
|
|
16
|
-
Body: ({ children }: import("./CardBody").CardBodyProps) => JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Meta } from '@storybook/react';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const BannerNormal: () => JSX.Element;
|
|
6
|
-
export declare const BannerLarge: () => JSX.Element;
|
|
7
|
-
export declare const BannerLargeMessage: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ImageStyleProps {
|
|
3
|
-
height?: string;
|
|
4
|
-
width?: string;
|
|
5
|
-
borderRadius?: string;
|
|
6
|
-
objectFit?: string;
|
|
7
|
-
objectPosition?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ImageProps extends ImageStyleProps {
|
|
10
|
-
src: string;
|
|
11
|
-
alt: string;
|
|
12
|
-
}
|
|
13
|
-
declare const Image: ({ src, alt, height, width, borderRadius, objectFit, objectPosition, }: ImageProps) => JSX.Element;
|
|
14
|
-
export default Image;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import BaseSelectOption from './BaseSelectOption';
|
|
3
|
-
export interface BaseSelectProps<T> {
|
|
4
|
-
value?: T;
|
|
5
|
-
onChange: (value: T) => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
declare function BaseSelect<T>({ value, onChange, disabled, children, className, }: BaseSelectProps<T>): JSX.Element;
|
|
11
|
-
declare const _default: typeof BaseSelect & {
|
|
12
|
-
Button: ({ children, as }: import("./BaseSelectButton").BaseSelectButtonProps) => JSX.Element;
|
|
13
|
-
Options: ({ children, className }: import("./BaseSelectOptions").BaseSelectOptionsProps) => JSX.Element;
|
|
14
|
-
Option: typeof BaseSelectOption;
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (<T>({ value, onChange, disabled, children, className, }: import("./BaseSelect").BaseSelectProps<T>) => JSX.Element) & {
|
|
5
|
-
Button: ({ children, as }: import("./BaseSelectButton").BaseSelectButtonProps) => JSX.Element;
|
|
6
|
-
Options: ({ children, className }: import("./BaseSelectOptions").BaseSelectOptionsProps) => JSX.Element;
|
|
7
|
-
Option: typeof import("./BaseSelectOption").default;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: () => JSX.Element;
|