@faststore/ui 1.9.4 → 1.9.10
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/CHANGELOG.md +744 -2291
- package/README.md +2 -0
- package/dist/atoms/Badge/Badge.d.ts +11 -11
- package/dist/atoms/Badge/Badge.js +6 -0
- package/dist/atoms/Badge/Badge.js.map +1 -0
- package/dist/atoms/Badge/index.d.ts +2 -2
- package/dist/atoms/Badge/index.js +2 -0
- package/dist/atoms/Badge/index.js.map +1 -0
- package/dist/atoms/Button/Button.d.ts +10 -10
- package/dist/atoms/Button/Button.js +6 -0
- package/dist/atoms/Button/Button.js.map +1 -0
- package/dist/atoms/Button/index.d.ts +2 -2
- package/dist/atoms/Button/index.js +2 -0
- package/dist/atoms/Button/index.js.map +1 -0
- package/dist/atoms/Checkbox/Checkbox.d.ts +10 -10
- package/dist/atoms/Checkbox/Checkbox.js +6 -0
- package/dist/atoms/Checkbox/Checkbox.js.map +1 -0
- package/dist/atoms/Checkbox/index.d.ts +2 -2
- package/dist/atoms/Checkbox/index.js +2 -0
- package/dist/atoms/Checkbox/index.js.map +1 -0
- package/dist/atoms/Icon/Icon.d.ts +14 -14
- package/dist/atoms/Icon/Icon.js +6 -0
- package/dist/atoms/Icon/Icon.js.map +1 -0
- package/dist/atoms/Icon/index.d.ts +2 -2
- package/dist/atoms/Icon/index.js +2 -0
- package/dist/atoms/Icon/index.js.map +1 -0
- package/dist/atoms/Icon/stories/assets/ShoppingCart.d.ts +3 -3
- package/dist/atoms/Icon/stories/assets/ShoppingCart.js +8 -0
- package/dist/atoms/Icon/stories/assets/ShoppingCart.js.map +1 -0
- package/dist/atoms/Incentive/Incentive.d.ts +11 -11
- package/dist/atoms/Incentive/Incentive.js +6 -0
- package/dist/atoms/Incentive/Incentive.js.map +1 -0
- package/dist/atoms/Incentive/index.d.ts +2 -2
- package/dist/atoms/Incentive/index.js +2 -0
- package/dist/atoms/Incentive/index.js.map +1 -0
- package/dist/atoms/Incentive/stories/assets/Icons.d.ts +2 -2
- package/dist/atoms/Incentive/stories/assets/Icons.js +6 -0
- package/dist/atoms/Incentive/stories/assets/Icons.js.map +1 -0
- package/dist/atoms/Input/Input.d.ts +14 -14
- package/dist/atoms/Input/Input.js +10 -0
- package/dist/atoms/Input/Input.js.map +1 -0
- package/dist/atoms/Input/index.d.ts +2 -2
- package/dist/atoms/Input/index.js +2 -0
- package/dist/atoms/Input/index.js.map +1 -0
- package/dist/atoms/Label/Label.d.ts +10 -10
- package/dist/atoms/Label/Label.js +6 -0
- package/dist/atoms/Label/Label.js.map +1 -0
- package/dist/atoms/Label/index.d.ts +2 -2
- package/dist/atoms/Label/index.js +2 -0
- package/dist/atoms/Label/index.js.map +1 -0
- package/dist/atoms/Link/Link.d.ts +19 -19
- package/dist/atoms/Link/Link.js +13 -0
- package/dist/atoms/Link/Link.js.map +1 -0
- package/dist/atoms/Link/index.d.ts +2 -2
- package/dist/atoms/Link/index.js +2 -0
- package/dist/atoms/Link/index.js.map +1 -0
- package/dist/atoms/List/List.d.ts +12 -12
- package/dist/atoms/List/List.js +16 -0
- package/dist/atoms/List/List.js.map +1 -0
- package/dist/atoms/List/index.d.ts +2 -2
- package/dist/atoms/List/index.js +2 -0
- package/dist/atoms/List/index.js.map +1 -0
- package/dist/atoms/Overlay/Overlay.d.ts +10 -10
- package/dist/atoms/Overlay/Overlay.js +6 -0
- package/dist/atoms/Overlay/Overlay.js.map +1 -0
- package/dist/atoms/Overlay/index.d.ts +2 -2
- package/dist/atoms/Overlay/index.js +2 -0
- package/dist/atoms/Overlay/index.js.map +1 -0
- package/dist/atoms/Popover/Popover.d.ts +15 -15
- package/dist/atoms/Popover/Popover.js +7 -0
- package/dist/atoms/Popover/Popover.js.map +1 -0
- package/dist/atoms/Popover/index.d.ts +2 -2
- package/dist/atoms/Popover/index.js +2 -0
- package/dist/atoms/Popover/index.js.map +1 -0
- package/dist/atoms/Price/Price.d.ts +28 -28
- package/dist/atoms/Price/Price.js +7 -0
- package/dist/atoms/Price/Price.js.map +1 -0
- package/dist/atoms/Price/index.d.ts +2 -2
- package/dist/atoms/Price/index.js +2 -0
- package/dist/atoms/Price/index.js.map +1 -0
- package/dist/atoms/Radio/Radio.d.ts +7 -7
- package/dist/atoms/Radio/Radio.js +6 -0
- package/dist/atoms/Radio/Radio.js.map +1 -0
- package/dist/atoms/Radio/index.d.ts +2 -2
- package/dist/atoms/Radio/index.js +2 -0
- package/dist/atoms/Radio/index.js.map +1 -0
- package/dist/atoms/Select/Select.d.ts +10 -10
- package/dist/atoms/Select/Select.js +6 -0
- package/dist/atoms/Select/Select.js.map +1 -0
- package/dist/atoms/Select/index.d.ts +2 -2
- package/dist/atoms/Select/index.js +2 -0
- package/dist/atoms/Select/index.js.map +1 -0
- package/dist/atoms/Skeleton/Skeleton.d.ts +10 -10
- package/dist/atoms/Skeleton/Skeleton.js +6 -0
- package/dist/atoms/Skeleton/Skeleton.js.map +1 -0
- package/dist/atoms/Skeleton/index.d.ts +2 -2
- package/dist/atoms/Skeleton/index.js +2 -0
- package/dist/atoms/Skeleton/index.js.map +1 -0
- package/dist/atoms/Slider/Slider.d.ts +37 -37
- package/dist/atoms/Slider/Slider.js +46 -0
- package/dist/atoms/Slider/Slider.js.map +1 -0
- package/dist/atoms/Slider/index.d.ts +2 -2
- package/dist/atoms/Slider/index.js +2 -0
- package/dist/atoms/Slider/index.js.map +1 -0
- package/dist/atoms/Spinner/Spinner.d.ts +11 -11
- package/dist/atoms/Spinner/Spinner.js +6 -0
- package/dist/atoms/Spinner/Spinner.js.map +1 -0
- package/dist/atoms/Spinner/index.d.ts +2 -2
- package/dist/atoms/Spinner/index.js +2 -0
- package/dist/atoms/Spinner/index.js.map +1 -0
- package/dist/atoms/TextArea/TextArea.d.ts +14 -14
- package/dist/atoms/TextArea/TextArea.js +10 -0
- package/dist/atoms/TextArea/TextArea.js.map +1 -0
- package/dist/atoms/TextArea/index.d.ts +2 -2
- package/dist/atoms/TextArea/index.js +2 -0
- package/dist/atoms/TextArea/index.js.map +1 -0
- package/dist/hooks/useSlider/index.d.ts +2 -2
- package/dist/hooks/useSlider/index.js +3 -0
- package/dist/hooks/useSlider/index.js.map +1 -0
- package/dist/hooks/useSlider/useSlider.d.ts +62 -62
- package/dist/hooks/useSlider/useSlider.js +108 -0
- package/dist/hooks/useSlider/useSlider.js.map +1 -0
- package/dist/index.d.ts +80 -80
- package/dist/index.js +45 -8
- package/dist/index.js.map +1 -0
- package/dist/molecules/Accordion/Accordion.d.ts +26 -26
- package/dist/molecules/Accordion/Accordion.js +21 -0
- package/dist/molecules/Accordion/Accordion.js.map +1 -0
- package/dist/molecules/Accordion/AccordionButton.d.ts +10 -10
- package/dist/molecules/Accordion/AccordionButton.js +37 -0
- package/dist/molecules/Accordion/AccordionButton.js.map +1 -0
- package/dist/molecules/Accordion/AccordionItem.d.ts +28 -28
- package/dist/molecules/Accordion/AccordionItem.js +21 -0
- package/dist/molecules/Accordion/AccordionItem.js.map +1 -0
- package/dist/molecules/Accordion/AccordionPanel.d.ts +10 -10
- package/dist/molecules/Accordion/AccordionPanel.js +10 -0
- package/dist/molecules/Accordion/AccordionPanel.js.map +1 -0
- package/dist/molecules/Accordion/index.d.ts +8 -8
- package/dist/molecules/Accordion/index.js +5 -0
- package/dist/molecules/Accordion/index.js.map +1 -0
- package/dist/molecules/AggregateRating/AggregateRating.d.ts +18 -18
- package/dist/molecules/AggregateRating/AggregateRating.js +26 -0
- package/dist/molecules/AggregateRating/AggregateRating.js.map +1 -0
- package/dist/molecules/AggregateRating/index.d.ts +2 -2
- package/dist/molecules/AggregateRating/index.js +2 -0
- package/dist/molecules/AggregateRating/index.js.map +1 -0
- package/dist/molecules/Alert/Alert.d.ts +11 -11
- package/dist/molecules/Alert/Alert.js +6 -0
- package/dist/molecules/Alert/Alert.js.map +1 -0
- package/dist/molecules/Alert/index.d.ts +2 -2
- package/dist/molecules/Alert/index.js +2 -0
- package/dist/molecules/Alert/index.js.map +1 -0
- package/dist/molecules/Banner/Banner.d.ts +14 -14
- package/dist/molecules/Banner/Banner.js +6 -0
- package/dist/molecules/Banner/Banner.js.map +1 -0
- package/dist/molecules/Banner/BannerContent.d.ts +10 -10
- package/dist/molecules/Banner/BannerContent.js +6 -0
- package/dist/molecules/Banner/BannerContent.js.map +1 -0
- package/dist/molecules/Banner/BannerImage.d.ts +10 -10
- package/dist/molecules/Banner/BannerImage.js +6 -0
- package/dist/molecules/Banner/BannerImage.js.map +1 -0
- package/dist/molecules/Banner/BannerLink.d.ts +10 -10
- package/dist/molecules/Banner/BannerLink.js +6 -0
- package/dist/molecules/Banner/BannerLink.js.map +1 -0
- package/dist/molecules/Banner/index.d.ts +8 -8
- package/dist/molecules/Banner/index.js +5 -0
- package/dist/molecules/Banner/index.js.map +1 -0
- package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +14 -14
- package/dist/molecules/Breadcrumb/Breadcrumb.js +38 -0
- package/dist/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/molecules/Breadcrumb/index.d.ts +2 -2
- package/dist/molecules/Breadcrumb/index.js +2 -0
- package/dist/molecules/Breadcrumb/index.js.map +1 -0
- package/dist/molecules/Bullets/Bullets.d.ts +35 -35
- package/dist/molecules/Bullets/Bullets.js +12 -0
- package/dist/molecules/Bullets/Bullets.js.map +1 -0
- package/dist/molecules/Bullets/index.d.ts +2 -2
- package/dist/molecules/Bullets/index.js +2 -0
- package/dist/molecules/Bullets/index.js.map +1 -0
- package/dist/molecules/Card/Card.d.ts +10 -10
- package/dist/molecules/Card/Card.js +6 -0
- package/dist/molecules/Card/Card.js.map +1 -0
- package/dist/molecules/Card/CardActions.d.ts +10 -10
- package/dist/molecules/Card/CardActions.js +6 -0
- package/dist/molecules/Card/CardActions.js.map +1 -0
- package/dist/molecules/Card/CardContent.d.ts +10 -10
- package/dist/molecules/Card/CardContent.js +6 -0
- package/dist/molecules/Card/CardContent.js.map +1 -0
- package/dist/molecules/Card/CardImage.d.ts +10 -10
- package/dist/molecules/Card/CardImage.js +6 -0
- package/dist/molecules/Card/CardImage.js.map +1 -0
- package/dist/molecules/Card/index.d.ts +8 -8
- package/dist/molecules/Card/index.js +5 -0
- package/dist/molecules/Card/index.js.map +1 -0
- package/dist/molecules/Carousel/Arrows.d.ts +12 -12
- package/dist/molecules/Carousel/Arrows.js +6 -0
- package/dist/molecules/Carousel/Arrows.js.map +1 -0
- package/dist/molecules/Carousel/Carousel.d.ts +16 -16
- package/dist/molecules/Carousel/Carousel.js +124 -0
- package/dist/molecules/Carousel/Carousel.js.map +1 -0
- package/dist/molecules/Carousel/hooks/useSlideVisibility.d.ts +9 -9
- package/dist/molecules/Carousel/hooks/useSlideVisibility.js +29 -0
- package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
- package/dist/molecules/Carousel/index.d.ts +2 -2
- package/dist/molecules/Carousel/index.js +3 -0
- package/dist/molecules/Carousel/index.js.map +1 -0
- package/dist/molecules/Dropdown/Dropdown.d.ts +9 -9
- package/dist/molecules/Dropdown/Dropdown.js +67 -0
- package/dist/molecules/Dropdown/Dropdown.js.map +1 -0
- package/dist/molecules/Dropdown/DropdownButton.d.ts +10 -10
- package/dist/molecules/Dropdown/DropdownButton.js +11 -0
- package/dist/molecules/Dropdown/DropdownButton.js.map +1 -0
- package/dist/molecules/Dropdown/DropdownItem.d.ts +10 -10
- package/dist/molecules/Dropdown/DropdownItem.js +26 -0
- package/dist/molecules/Dropdown/DropdownItem.js.map +1 -0
- package/dist/molecules/Dropdown/DropdownMenu.d.ts +22 -22
- package/dist/molecules/Dropdown/DropdownMenu.js +65 -0
- package/dist/molecules/Dropdown/DropdownMenu.js.map +1 -0
- package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -41
- package/dist/molecules/Dropdown/contexts/DropdownContext.js +11 -0
- package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
- package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +6 -6
- package/dist/molecules/Dropdown/hooks/useDropdown.js +14 -0
- package/dist/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +8 -8
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +25 -0
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
- package/dist/molecules/Dropdown/index.d.ts +8 -8
- package/dist/molecules/Dropdown/index.js +5 -0
- package/dist/molecules/Dropdown/index.js.map +1 -0
- package/dist/molecules/Dropdown/stories/assets/Caret.d.ts +2 -2
- package/dist/molecules/Dropdown/stories/assets/Caret.js +4 -0
- package/dist/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
- package/dist/molecules/Form/Form.d.ts +11 -11
- package/dist/molecules/Form/Form.js +6 -0
- package/dist/molecules/Form/Form.js.map +1 -0
- package/dist/molecules/Form/index.d.ts +2 -2
- package/dist/molecules/Form/index.js +2 -0
- package/dist/molecules/Form/index.js.map +1 -0
- package/dist/molecules/IconButton/IconButton.d.ts +19 -19
- package/dist/molecules/IconButton/IconButton.js +9 -0
- package/dist/molecules/IconButton/IconButton.js.map +1 -0
- package/dist/molecules/IconButton/index.d.ts +2 -2
- package/dist/molecules/IconButton/index.js +2 -0
- package/dist/molecules/IconButton/index.js.map +1 -0
- package/dist/molecules/LoadingButton/LoadingButton.d.ts +14 -14
- package/dist/molecules/LoadingButton/LoadingButton.js +8 -0
- package/dist/molecules/LoadingButton/LoadingButton.js.map +1 -0
- package/dist/molecules/LoadingButton/index.d.ts +2 -2
- package/dist/molecules/LoadingButton/index.js +2 -0
- package/dist/molecules/LoadingButton/index.js.map +1 -0
- package/dist/molecules/Modal/Modal.d.ts +25 -25
- package/dist/molecules/Modal/Modal.js +31 -0
- package/dist/molecules/Modal/Modal.js.map +1 -0
- package/dist/molecules/Modal/ModalContent.d.ts +10 -10
- package/dist/molecules/Modal/ModalContent.js +23 -0
- package/dist/molecules/Modal/ModalContent.js.map +1 -0
- package/dist/molecules/Modal/index.d.ts +2 -2
- package/dist/molecules/Modal/index.js +2 -0
- package/dist/molecules/Modal/index.js.map +1 -0
- package/dist/molecules/Modal/useTrapFocus.d.ts +8 -8
- package/dist/molecules/Modal/useTrapFocus.js +76 -0
- package/dist/molecules/Modal/useTrapFocus.js.map +1 -0
- package/dist/molecules/PaymentMethods/PaymentMethods.d.ts +26 -26
- package/dist/molecules/PaymentMethods/PaymentMethods.js +8 -0
- package/dist/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
- package/dist/molecules/PaymentMethods/index.d.ts +2 -2
- package/dist/molecules/PaymentMethods/index.js +2 -0
- package/dist/molecules/PaymentMethods/index.js.map +1 -0
- package/dist/molecules/PaymentMethods/stories/assets/Icons.d.ts +9 -9
- package/dist/molecules/PaymentMethods/stories/assets/Icons.js +26 -0
- package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
- package/dist/molecules/PriceRange/PriceRange.d.ts +23 -23
- package/dist/molecules/PriceRange/PriceRange.js +23 -0
- package/dist/molecules/PriceRange/PriceRange.js.map +1 -0
- package/dist/molecules/PriceRange/index.d.ts +2 -2
- package/dist/molecules/PriceRange/index.js +2 -0
- package/dist/molecules/PriceRange/index.js.map +1 -0
- package/dist/molecules/ProductCard/ProductCard.d.ts +11 -11
- package/dist/molecules/ProductCard/ProductCard.js +6 -0
- package/dist/molecules/ProductCard/ProductCard.js.map +1 -0
- package/dist/molecules/ProductCard/ProductCardActions.d.ts +10 -10
- package/dist/molecules/ProductCard/ProductCardActions.js +6 -0
- package/dist/molecules/ProductCard/ProductCardActions.js.map +1 -0
- package/dist/molecules/ProductCard/ProductCardContent.d.ts +10 -10
- package/dist/molecules/ProductCard/ProductCardContent.js +6 -0
- package/dist/molecules/ProductCard/ProductCardContent.js.map +1 -0
- package/dist/molecules/ProductCard/ProductCardImage.d.ts +10 -10
- package/dist/molecules/ProductCard/ProductCardImage.js +6 -0
- package/dist/molecules/ProductCard/ProductCardImage.js.map +1 -0
- package/dist/molecules/ProductCard/index.d.ts +8 -8
- package/dist/molecules/ProductCard/index.js +5 -0
- package/dist/molecules/ProductCard/index.js.map +1 -0
- package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +30 -30
- package/dist/molecules/QuantitySelector/QuantitySelector.js +11 -0
- package/dist/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
- package/dist/molecules/QuantitySelector/index.d.ts +2 -2
- package/dist/molecules/QuantitySelector/index.js +2 -0
- package/dist/molecules/QuantitySelector/index.js.map +1 -0
- package/dist/molecules/QuantitySelector/stories/assets/Icons.d.ts +7 -7
- package/dist/molecules/QuantitySelector/stories/assets/Icons.js +11 -0
- package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
- package/dist/molecules/RadioGroup/RadioGroup.d.ts +5 -5
- package/dist/molecules/RadioGroup/RadioGroup.js +10 -0
- package/dist/molecules/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/molecules/RadioGroup/RadioOption.d.ts +19 -19
- package/dist/molecules/RadioGroup/RadioOption.js +11 -0
- package/dist/molecules/RadioGroup/RadioOption.js.map +1 -0
- package/dist/molecules/RadioGroup/index.d.ts +4 -4
- package/dist/molecules/RadioGroup/index.js +3 -0
- package/dist/molecules/RadioGroup/index.js.map +1 -0
- package/dist/molecules/RadioGroup/useRadioGroup.d.ts +17 -17
- package/dist/molecules/RadioGroup/useRadioGroup.js +10 -0
- package/dist/molecules/RadioGroup/useRadioGroup.js.map +1 -0
- package/dist/molecules/SearchInput/SearchInput.d.ts +28 -28
- package/dist/molecules/SearchInput/SearchInput.js +28 -0
- package/dist/molecules/SearchInput/SearchInput.js.map +1 -0
- package/dist/molecules/SearchInput/index.d.ts +2 -2
- package/dist/molecules/SearchInput/index.js +2 -0
- package/dist/molecules/SearchInput/index.js.map +1 -0
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.d.ts +3 -3
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.js +7 -0
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
- package/dist/molecules/Table/Table.d.ts +11 -11
- package/dist/molecules/Table/Table.js +6 -0
- package/dist/molecules/Table/Table.js.map +1 -0
- package/dist/molecules/Table/TableBody.d.ts +11 -11
- package/dist/molecules/Table/TableBody.js +6 -0
- package/dist/molecules/Table/TableBody.js.map +1 -0
- package/dist/molecules/Table/TableCell.d.ts +20 -20
- package/dist/molecules/Table/TableCell.js +7 -0
- package/dist/molecules/Table/TableCell.js.map +1 -0
- package/dist/molecules/Table/TableFooter.d.ts +11 -11
- package/dist/molecules/Table/TableFooter.js +6 -0
- package/dist/molecules/Table/TableFooter.js.map +1 -0
- package/dist/molecules/Table/TableHead.d.ts +11 -11
- package/dist/molecules/Table/TableHead.js +6 -0
- package/dist/molecules/Table/TableHead.js.map +1 -0
- package/dist/molecules/Table/TableRow.d.ts +11 -11
- package/dist/molecules/Table/TableRow.js +6 -0
- package/dist/molecules/Table/TableRow.js.map +1 -0
- package/dist/molecules/Table/index.d.ts +12 -12
- package/dist/molecules/Table/index.js +7 -0
- package/dist/molecules/Table/index.js.map +1 -0
- package/dist/organisms/Hero/Hero.d.ts +11 -11
- package/dist/organisms/Hero/Hero.js +6 -0
- package/dist/organisms/Hero/Hero.js.map +1 -0
- package/dist/organisms/Hero/HeroHeading.d.ts +10 -10
- package/dist/organisms/Hero/HeroHeading.js +6 -0
- package/dist/organisms/Hero/HeroHeading.js.map +1 -0
- package/dist/organisms/Hero/HeroImage.d.ts +10 -10
- package/dist/organisms/Hero/HeroImage.js +6 -0
- package/dist/organisms/Hero/HeroImage.js.map +1 -0
- package/dist/organisms/Hero/index.d.ts +6 -6
- package/dist/organisms/Hero/index.js +4 -0
- package/dist/organisms/Hero/index.js.map +1 -0
- package/dist/organisms/OutOfStock/OutOfStock.d.ts +21 -21
- package/dist/organisms/OutOfStock/OutOfStock.js +8 -0
- package/dist/organisms/OutOfStock/OutOfStock.js.map +1 -0
- package/dist/organisms/OutOfStock/OutOfStockMessage.d.ts +9 -9
- package/dist/organisms/OutOfStock/OutOfStockMessage.js +5 -0
- package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
- package/dist/organisms/OutOfStock/OutOfStockTitle.d.ts +9 -9
- package/dist/organisms/OutOfStock/OutOfStockTitle.js +5 -0
- package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
- package/dist/organisms/OutOfStock/index.d.ts +6 -6
- package/dist/organisms/OutOfStock/index.js +4 -0
- package/dist/organisms/OutOfStock/index.js.map +1 -0
- package/dist/setupTests.d.ts +1 -1
- package/dist/setupTests.js +6 -0
- package/dist/setupTests.js.map +1 -0
- package/dist/typings/PolymorphicGenerics.d.ts +28 -28
- package/dist/typings/PolymorphicGenerics.js +8 -0
- package/dist/typings/PolymorphicGenerics.js.map +1 -0
- package/dist/typings/index.d.ts +1 -1
- package/dist/typings/index.js +2 -0
- package/dist/typings/index.js.map +1 -0
- package/dist/utils/toHaveNoIncomplete.d.ts +17 -17
- package/dist/utils/toHaveNoIncomplete.js +43 -0
- package/dist/utils/toHaveNoIncomplete.js.map +1 -0
- package/package.json +9 -13
- package/src/molecules/Accordion/Accordion.test.tsx +3 -3
- package/src/molecules/AggregateRating/stories/AggregateRating.stories.tsx +2 -3
- package/src/molecules/Bullets/Bullets.test.tsx +6 -6
- package/src/molecules/Bullets/Bullets.tsx +4 -3
- package/src/molecules/Dropdown/DropdownItem.tsx +2 -5
- package/src/molecules/Dropdown/DropdownMenu.tsx +2 -7
- package/src/molecules/Modal/ModalContent.tsx +0 -1
- package/src/typings/PolymorphicGenerics.ts +2 -3
- package/dist/atoms/Badge/stories/Badge.stories.d.ts +0 -17
- package/dist/atoms/Button/stories/Button.stories.d.ts +0 -14
- package/dist/atoms/Checkbox/stories/Checkbox.stories.d.ts +0 -4
- package/dist/atoms/Icon/stories/Icon.stories.d.ts +0 -14
- package/dist/atoms/Incentive/stories/Incentive.stories.d.ts +0 -4
- package/dist/atoms/Input/stories/Input.stories.d.ts +0 -14
- package/dist/atoms/Label/stories/Label.stories.d.ts +0 -14
- package/dist/atoms/List/stories/List.stories.d.ts +0 -22
- package/dist/atoms/Overlay/stories/Overlay.stories.d.ts +0 -8
- package/dist/atoms/Popover/stories/Popover.stories.d.ts +0 -14
- package/dist/atoms/Price/stories/Price.stories.d.ts +0 -18
- package/dist/atoms/Radio/stories/Radio.stories.d.ts +0 -4
- package/dist/atoms/Select/stories/Select.stories.d.ts +0 -20
- package/dist/atoms/Skeleton/stories/Skeleton.stories.d.ts +0 -12
- package/dist/atoms/Slider/stories/Slider.stories.d.ts +0 -4
- package/dist/atoms/Spinner/stories/Spinner.stories.d.ts +0 -12
- package/dist/atoms/TextArea/stories/TextArea.stories.d.ts +0 -4
- package/dist/molecules/Accordion/stories/Accordion.stories.d.ts +0 -14
- package/dist/molecules/AggregateRating/stories/AggregateRating.stories.d.ts +0 -16
- package/dist/molecules/Alert/stories/Alert.stories.d.ts +0 -5
- package/dist/molecules/Banner/stories/Banner.stories.d.ts +0 -4
- package/dist/molecules/Breadcrumb/stories/Breadcrumb.stories.d.ts +0 -15
- package/dist/molecules/Bullets/stories/Bullets.stories.d.ts +0 -15
- package/dist/molecules/Card/stories/Card.stories.d.ts +0 -4
- package/dist/molecules/Carousel/stories/Carousel.stories.d.ts +0 -18
- package/dist/molecules/Dropdown/stories/Dropdown.stories.d.ts +0 -7
- package/dist/molecules/Form/stories/Form.stories.d.ts +0 -12
- package/dist/molecules/IconButton/stories/IconButton.stories.d.ts +0 -5
- package/dist/molecules/LoadingButton/stories/LoadingButton.stories.d.ts +0 -14
- package/dist/molecules/Modal/stories/Modal.stories.d.ts +0 -5
- package/dist/molecules/PaymentMethods/stories/PaymentMethods.stories.d.ts +0 -4
- package/dist/molecules/PriceRange/stories/PriceRange.stories.d.ts +0 -4
- package/dist/molecules/ProductCard/stories/ProductCard.stories.d.ts +0 -4
- package/dist/molecules/QuantitySelector/stories/QuantitySelector.stories.d.ts +0 -5
- package/dist/molecules/RadioGroup/stories/RadioGroup.stories.d.ts +0 -15
- package/dist/molecules/SearchInput/stories/SearchInput.stories.d.ts +0 -15
- package/dist/molecules/Table/stories/Table.stories.d.ts +0 -12
- package/dist/organisms/Hero/stories/Hero.stories.d.ts +0 -4
- package/dist/organisms/OutOfStock/stories/OutOfStock.stories.d.ts +0 -10
- package/dist/ui.cjs.development.js +0 -2109
- package/dist/ui.cjs.development.js.map +0 -1
- package/dist/ui.cjs.production.min.js +0 -2
- package/dist/ui.cjs.production.min.js.map +0 -1
- package/dist/ui.esm.js +0 -2037
- package/dist/ui.esm.js.map +0 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { printReceived, matcherHint } from 'jest-matcher-utils';
|
|
2
|
+
import chalk from 'chalk';
|
|
3
|
+
// This code is based on jest-axe library.
|
|
4
|
+
// https://github.com/nickcolley/jest-axe
|
|
5
|
+
export const toHaveNoIncompletes = {
|
|
6
|
+
toHaveNoIncompletes: (results) => {
|
|
7
|
+
if (typeof results.incomplete === 'undefined') {
|
|
8
|
+
throw new Error('No incompletes found in aXe results object');
|
|
9
|
+
}
|
|
10
|
+
const reporter = (incompletes) => {
|
|
11
|
+
if (incompletes.length === 0) {
|
|
12
|
+
return [];
|
|
13
|
+
}
|
|
14
|
+
const lineBreak = '\n\n';
|
|
15
|
+
const horizontalLine = '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500';
|
|
16
|
+
return incompletes
|
|
17
|
+
.map((incomplete) => {
|
|
18
|
+
const errorBody = incomplete.nodes
|
|
19
|
+
.map((node) => {
|
|
20
|
+
const selector = node.target.join(', ');
|
|
21
|
+
const expectedText = `Expected the HTML found at $('${selector}') to have no incompletes:${lineBreak}`;
|
|
22
|
+
return `${expectedText + chalk.grey(node.html) + lineBreak}Received:${lineBreak}${printReceived(`${incomplete.help} (${incomplete.id})`)}${lineBreak}${chalk.yellow(node.failureSummary)}${lineBreak}${incomplete.helpUrl
|
|
23
|
+
? `You can find more information on this issue here: \n${chalk.blue(incomplete.helpUrl)}`
|
|
24
|
+
: ''}`;
|
|
25
|
+
})
|
|
26
|
+
.join(lineBreak);
|
|
27
|
+
return errorBody;
|
|
28
|
+
})
|
|
29
|
+
.join(lineBreak + horizontalLine + lineBreak);
|
|
30
|
+
};
|
|
31
|
+
const { incomplete: incompletes } = results;
|
|
32
|
+
const formatedIncompletes = reporter(incompletes);
|
|
33
|
+
const pass = formatedIncompletes.length === 0;
|
|
34
|
+
const message = () => {
|
|
35
|
+
if (pass) {
|
|
36
|
+
return '';
|
|
37
|
+
}
|
|
38
|
+
return (`${matcherHint('.toHaveNoIncompletes')}\n\n` + `${formatedIncompletes}`);
|
|
39
|
+
};
|
|
40
|
+
return { actual: incompletes, message, pass };
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=toHaveNoIncomplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toHaveNoIncomplete.js","sourceRoot":"","sources":["../../src/utils/toHaveNoIncomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,0CAA0C;AAC1C,yCAAyC;AACzC,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,mBAAmB,EAAE,CAAC,OAAmB,EAAE,EAAE;QAC3C,IAAI,OAAO,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;YAC7C,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAA;SAC9D;QAED,MAAM,QAAQ,GAAG,CAAC,WAAqC,EAAE,EAAE;YACzD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,OAAO,EAAE,CAAA;aACV;YAED,MAAM,SAAS,GAAG,MAAM,CAAA;YACxB,MAAM,cAAc,GAAG,kDAAkD,CAAA;YAEzE,OAAO,WAAW;iBACf,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE;gBAClB,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK;qBAC/B,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACZ,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;oBACvC,MAAM,YAAY,GAAG,iCAAiC,QAAQ,6BAA6B,SAAS,EAAE,CAAA;oBAEtG,OAAO,GACL,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,SACzC,YAAY,SAAS,GAAG,aAAa,CACnC,GAAG,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,EAAE,GAAG,CACxC,GAAG,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,SAAS,GAC3D,UAAU,CAAC,OAAO;wBAChB,CAAC,CAAC,uDAAuD,KAAK,CAAC,IAAI,CAC/D,UAAU,CAAC,OAAO,CACnB,EAAE;wBACL,CAAC,CAAC,EACN,EAAE,CAAA;gBACJ,CAAC,CAAC;qBACD,IAAI,CAAC,SAAS,CAAC,CAAA;gBAElB,OAAO,SAAS,CAAA;YAClB,CAAC,CAAC;iBACD,IAAI,CAAC,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC,CAAA;QACjD,CAAC,CAAA;QAED,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,OAAO,CAAA;QAC3C,MAAM,mBAAmB,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAA;QACjD,MAAM,IAAI,GAAG,mBAAmB,CAAC,MAAM,KAAK,CAAC,CAAA;QAE7C,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,IAAI,IAAI,EAAE;gBACR,OAAO,EAAE,CAAA;aACV;YAED,OAAO,CACL,GAAG,WAAW,CAAC,sBAAsB,CAAC,MAAM,GAAG,GAAG,mBAAmB,EAAE,CACxE,CAAA;QACH,CAAC,CAAA;QAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;IAC/C,CAAC;CACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.10",
|
|
4
4
|
"description": "A lightweight, framework agnostic component library for React",
|
|
5
5
|
"author": "emersonlaurentino",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"directory": "packages/ui"
|
|
11
11
|
},
|
|
12
12
|
"browserslist": "supports es6-module and not dead and last 2 version",
|
|
13
|
-
"
|
|
14
|
-
"module": "dist/ui.esm.js",
|
|
13
|
+
"module": "dist/index.js",
|
|
15
14
|
"typings": "dist/index.d.ts",
|
|
16
15
|
"sideEffects": false,
|
|
17
16
|
"engines": {
|
|
@@ -22,8 +21,9 @@
|
|
|
22
21
|
"src"
|
|
23
22
|
],
|
|
24
23
|
"scripts": {
|
|
25
|
-
"develop": "
|
|
26
|
-
"build": "
|
|
24
|
+
"develop": "tsc --watch",
|
|
25
|
+
"build": "tsc",
|
|
26
|
+
"lint": "eslint src/**/*.{ts,tsx}",
|
|
27
27
|
"test": "tsdx test --passWithNoTests",
|
|
28
28
|
"storybook": "start-storybook -p 6006 --no-manager-cache",
|
|
29
29
|
"size": "size-limit",
|
|
@@ -42,11 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"size-limit": [
|
|
44
44
|
{
|
|
45
|
-
"path": "dist/
|
|
46
|
-
"limit": "20 KB"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"path": "dist/ui.esm.js",
|
|
45
|
+
"path": "dist/index.js",
|
|
50
46
|
"limit": "20 KB"
|
|
51
47
|
}
|
|
52
48
|
],
|
|
@@ -61,7 +57,7 @@
|
|
|
61
57
|
"react-dom": "^17.0.2"
|
|
62
58
|
},
|
|
63
59
|
"devDependencies": {
|
|
64
|
-
"@size-limit/preset-small-lib": "^
|
|
60
|
+
"@size-limit/preset-small-lib": "^7.0.8",
|
|
65
61
|
"@storybook/addon-actions": "^6.4.4",
|
|
66
62
|
"@storybook/addon-docs": "^6.4.4",
|
|
67
63
|
"@storybook/addon-essentials": "^6.4.4",
|
|
@@ -84,10 +80,10 @@
|
|
|
84
80
|
"react": "^17.0.2",
|
|
85
81
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
86
82
|
"react-dom": "^17.0.2",
|
|
87
|
-
"size-limit": "^
|
|
83
|
+
"size-limit": "^7.0.8",
|
|
88
84
|
"storybook-addon-themes": "^6.1.0",
|
|
89
85
|
"tsdx": "^0.14.1",
|
|
90
86
|
"typescript": "^4.2.4"
|
|
91
87
|
},
|
|
92
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "7865d21a4a22495f3828bcc3f1d00e556c63d66f"
|
|
93
89
|
}
|
|
@@ -76,7 +76,7 @@ describe('Accordion', () => {
|
|
|
76
76
|
|
|
77
77
|
it('should show panel specified by `indices`', () => {
|
|
78
78
|
const { getAllByTestId } = render(
|
|
79
|
-
<Accordion indices={[1]} onChange={() =>
|
|
79
|
+
<Accordion indices={[1]} onChange={() => null}>
|
|
80
80
|
<AccordionItem>
|
|
81
81
|
<AccordionButton />
|
|
82
82
|
<AccordionPanel testId="store-accordion-panel-mock" />
|
|
@@ -97,13 +97,13 @@ describe('Accordion', () => {
|
|
|
97
97
|
it('should prevent duplicate IDs when using the `prefixID` attribute', () => {
|
|
98
98
|
const { getAllByTestId } = render(
|
|
99
99
|
<>
|
|
100
|
-
<Accordion indices={[]} onChange={() =>
|
|
100
|
+
<Accordion indices={[]} onChange={() => null}>
|
|
101
101
|
<AccordionItem prefixId="filter">
|
|
102
102
|
<AccordionButton testId="data-accordion-button" />
|
|
103
103
|
<AccordionPanel testId="data-accordion-panel" />
|
|
104
104
|
</AccordionItem>
|
|
105
105
|
</Accordion>
|
|
106
|
-
<Accordion indices={[]} onChange={() =>
|
|
106
|
+
<Accordion indices={[]} onChange={() => null}>
|
|
107
107
|
<AccordionItem prefixId="footer">
|
|
108
108
|
<AccordionButton testId="data-accordion-button" />
|
|
109
109
|
<AccordionPanel testId="data-accordion-panel" />
|
|
@@ -72,9 +72,8 @@ const AggregateRatingWithoutIconTemplate: Story<AggregateRatingProps> = ({
|
|
|
72
72
|
)
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export const AggregateRatingWithoutIcon =
|
|
76
|
-
{}
|
|
77
|
-
)
|
|
75
|
+
export const AggregateRatingWithoutIcon =
|
|
76
|
+
AggregateRatingWithoutIconTemplate.bind({})
|
|
78
77
|
AggregateRatingWithoutIcon.args = { value: 3 }
|
|
79
78
|
|
|
80
79
|
const AggregateRatingWithCSSTemplate: Story<AggregateRatingProps> = ({
|
|
@@ -7,7 +7,7 @@ import Bullets from './Bullets'
|
|
|
7
7
|
describe('Bullets', () => {
|
|
8
8
|
it('should have `data-store-bullets` attribute', () => {
|
|
9
9
|
const { getByTestId } = render(
|
|
10
|
-
<Bullets totalQuantity={5} activeBullet={2} onClick={() =>
|
|
10
|
+
<Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
|
|
11
11
|
)
|
|
12
12
|
|
|
13
13
|
expect(getByTestId('store-bullets')).toHaveAttribute('data-store-bullets')
|
|
@@ -15,7 +15,7 @@ describe('Bullets', () => {
|
|
|
15
15
|
|
|
16
16
|
it('should render 5 bullets with `data-bullet-item` attribute', () => {
|
|
17
17
|
const { queryAllByTestId } = render(
|
|
18
|
-
<Bullets totalQuantity={5} activeBullet={2} onClick={() =>
|
|
18
|
+
<Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
|
|
19
19
|
)
|
|
20
20
|
|
|
21
21
|
const bulletItems = queryAllByTestId('store-bullets-item')
|
|
@@ -29,7 +29,7 @@ describe('Bullets', () => {
|
|
|
29
29
|
|
|
30
30
|
it('should render only the currently active bullet with an `aria-selected` equal to true', () => {
|
|
31
31
|
const { queryAllByTestId } = render(
|
|
32
|
-
<Bullets totalQuantity={5} activeBullet={2} onClick={() =>
|
|
32
|
+
<Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
|
|
33
33
|
)
|
|
34
34
|
|
|
35
35
|
const bulletItems = queryAllByTestId('store-bullets-item')
|
|
@@ -78,7 +78,7 @@ describe('Bullets', () => {
|
|
|
78
78
|
describe('Accessibility', () => {
|
|
79
79
|
it('should have no violations on a default use case', async () => {
|
|
80
80
|
const { getByTestId } = render(
|
|
81
|
-
<Bullets totalQuantity={5} activeBullet={2} onClick={() =>
|
|
81
|
+
<Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
expect(await axe(getByTestId('store-bullets'))).toHaveNoViolations()
|
|
@@ -91,7 +91,7 @@ describe('Bullets', () => {
|
|
|
91
91
|
<Bullets
|
|
92
92
|
totalQuantity={1}
|
|
93
93
|
activeBullet={0}
|
|
94
|
-
onClick={() =>
|
|
94
|
+
onClick={() => null}
|
|
95
95
|
ariaControlsGenerator={(idx: number) => `item-${idx + 1}`}
|
|
96
96
|
/>
|
|
97
97
|
</>
|
|
@@ -108,7 +108,7 @@ describe('Bullets', () => {
|
|
|
108
108
|
<Bullets
|
|
109
109
|
totalQuantity={2}
|
|
110
110
|
activeBullet={0}
|
|
111
|
-
onClick={() =>
|
|
111
|
+
onClick={() => null}
|
|
112
112
|
ariaControlsGenerator={(idx: number) => `item-${idx + 1}`}
|
|
113
113
|
/>
|
|
114
114
|
</>
|
|
@@ -51,9 +51,10 @@ const Bullets = forwardRef<HTMLDivElement, BulletsProps>(function Bullets(
|
|
|
51
51
|
},
|
|
52
52
|
ref
|
|
53
53
|
) {
|
|
54
|
-
const bulletIndexes = useMemo(
|
|
55
|
-
totalQuantity,
|
|
56
|
-
|
|
54
|
+
const bulletIndexes = useMemo(
|
|
55
|
+
() => Array(totalQuantity).fill(0),
|
|
56
|
+
[totalQuantity]
|
|
57
|
+
)
|
|
57
58
|
|
|
58
59
|
return (
|
|
59
60
|
<div
|
|
@@ -16,11 +16,8 @@ const DropdownItem = forwardRef<HTMLButtonElement, DropdownItemProps>(
|
|
|
16
16
|
{ children, onClick, testId = 'store-dropdown-item', ...otherProps },
|
|
17
17
|
ref
|
|
18
18
|
) {
|
|
19
|
-
const {
|
|
20
|
-
|
|
21
|
-
selectedDropdownItemIndexRef,
|
|
22
|
-
close,
|
|
23
|
-
} = useDropdown()
|
|
19
|
+
const { dropdownItemsRef, selectedDropdownItemIndexRef, close } =
|
|
20
|
+
useDropdown()
|
|
24
21
|
|
|
25
22
|
const [dropdownItemIndex, setDropdownItemIndex] = useState(0)
|
|
26
23
|
const dropdownItemRef = useRef<HTMLButtonElement>()
|
|
@@ -44,13 +44,8 @@ const DropdownMenu = ({
|
|
|
44
44
|
style,
|
|
45
45
|
...otherProps
|
|
46
46
|
}: PropsWithChildren<DropdownMenuProps>) => {
|
|
47
|
-
const {
|
|
48
|
-
|
|
49
|
-
close,
|
|
50
|
-
dropdownItemsRef,
|
|
51
|
-
selectedDropdownItemIndexRef,
|
|
52
|
-
id,
|
|
53
|
-
} = useDropdown()
|
|
47
|
+
const { isOpen, close, dropdownItemsRef, selectedDropdownItemIndexRef, id } =
|
|
48
|
+
useDropdown()
|
|
54
49
|
|
|
55
50
|
const dropdownPosition = useDropdownPosition()
|
|
56
51
|
|
|
@@ -46,6 +46,5 @@ export type PolymorphicComponentPropsWithRef<
|
|
|
46
46
|
> = PolymorphicComponentProps<C, P> & { ref?: ComponentPropsWithRef<C>['ref'] }
|
|
47
47
|
|
|
48
48
|
// Extract the `ref` prop from a polymorphic component
|
|
49
|
-
export type PolymorphicRef<
|
|
50
|
-
C
|
|
51
|
-
> = PolymorphicComponentPropsWithRef<C>['ref']
|
|
49
|
+
export type PolymorphicRef<C extends ElementType> =
|
|
50
|
+
PolymorphicComponentPropsWithRef<C>['ref']
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
interface StoryControls {
|
|
4
|
-
badgeText: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Badge: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, StoryControls>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, StoryControls>;
|
|
10
|
-
argTypes: ComponentArgTypes<StoryControls>;
|
|
11
|
-
parameters: {
|
|
12
|
-
docs: {
|
|
13
|
-
page: (props: any) => JSX.Element;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { ButtonProps } from '../Button';
|
|
4
|
-
export declare const Button: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps<HTMLButtonElement>>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: ComponentArgTypes<ButtonProps<HTMLButtonElement>>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: (props: any) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CheckboxProps } from '../Checkbox';
|
|
2
|
-
export declare const Checkbox: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { IconProps } from '../Icon';
|
|
3
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
4
|
-
export declare const Icon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IconProps>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: ComponentArgTypes<Pick<IconProps, "testId" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: (props: any) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { IncentiveProps } from '../Incentive';
|
|
2
|
-
export declare const Incentive: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IncentiveProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { InputProps } from '../Input';
|
|
4
|
-
export declare const Input: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: ComponentArgTypes<InputProps>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: (props: any) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { LabelProps } from '../Label';
|
|
4
|
-
export declare const Label: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, LabelProps>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: ComponentArgTypes<LabelProps>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: (props: any) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { ListProps } from '../List';
|
|
4
|
-
declare type ListStoryProps = ListProps & {
|
|
5
|
-
options: string[];
|
|
6
|
-
};
|
|
7
|
-
declare type DescriptionListStoryProps = ListProps & {
|
|
8
|
-
options: string[][];
|
|
9
|
-
};
|
|
10
|
-
export declare const UnorderedList: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ListStoryProps>;
|
|
11
|
-
export declare const OrderedList: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ListStoryProps>;
|
|
12
|
-
export declare const DescriptionList: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DescriptionListStoryProps>;
|
|
13
|
-
declare const _default: {
|
|
14
|
-
title: string;
|
|
15
|
-
argTypes: ComponentArgTypes<ListStoryProps>;
|
|
16
|
-
parameters: {
|
|
17
|
-
docs: {
|
|
18
|
-
page: (props: any) => JSX.Element;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Props as OverlayProps } from '../Overlay';
|
|
2
|
-
declare type ColorType = 'black' | 'green';
|
|
3
|
-
declare type OverlayStoryProps = OverlayProps & {
|
|
4
|
-
color: ColorType;
|
|
5
|
-
};
|
|
6
|
-
export declare const Overlay: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, OverlayStoryProps>;
|
|
7
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
8
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { PopoverProps } from '../Popover';
|
|
3
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
4
|
-
export declare const Popover: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PopoverProps>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: ComponentArgTypes<Pick<PopoverProps, "testId" | "children" | "hidden" | "unstable_observableRefs">>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: (props: any) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Story } from '@storybook/react';
|
|
3
|
-
import type { PriceProps } from '../Price';
|
|
4
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
5
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PriceProps>;
|
|
6
|
-
export declare const INTLFormatted: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PriceProps>;
|
|
7
|
-
export declare const INTLFormattedToParts: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PriceProps>;
|
|
8
|
-
export declare const Custom: Story<PriceProps>;
|
|
9
|
-
declare const _default: {
|
|
10
|
-
title: string;
|
|
11
|
-
argTypes: ComponentArgTypes<Pick<PriceProps, "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "variant" | "as" | "formatter">>;
|
|
12
|
-
parameters: {
|
|
13
|
-
docs: {
|
|
14
|
-
page: (props: any) => JSX.Element;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { RadioProps } from '../Radio';
|
|
2
|
-
export declare const Radio: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, RadioProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { SelectProps } from '../Select';
|
|
4
|
-
declare type SelectStoryProps = SelectProps & {
|
|
5
|
-
options: string[][];
|
|
6
|
-
};
|
|
7
|
-
export declare const DefaultSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
|
|
8
|
-
export declare const DisabledSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
|
|
9
|
-
export declare const MultipleSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
|
|
10
|
-
export declare const BaseValueSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
|
|
11
|
-
declare const _default: {
|
|
12
|
-
title: string;
|
|
13
|
-
argTypes: ComponentArgTypes<SelectStoryProps>;
|
|
14
|
-
parameters: {
|
|
15
|
-
docs: {
|
|
16
|
-
page: (props: any) => JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { SkeletonProps } from '../Skeleton';
|
|
3
|
-
export declare const Skeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SkeletonProps>;
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: (props: any) => JSX.Element;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { SliderProps } from '../Slider';
|
|
2
|
-
export declare const Slider: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SliderProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { SpinnerProps } from '../Spinner';
|
|
3
|
-
export declare const Spinner: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SpinnerProps>;
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: (props: any) => JSX.Element;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { TextAreaProps } from '../TextArea';
|
|
2
|
-
export declare const Textarea: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TextAreaProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { AccordionProps } from '..';
|
|
3
|
-
export declare const MultipleAndCollapsible: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AccordionProps>;
|
|
4
|
-
export declare const ToggleWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AccordionProps>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AccordionProps>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: (props: any) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { AggregateRatingProps } from '../AggregateRating';
|
|
4
|
-
export declare const AggregateRating: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AggregateRatingProps>;
|
|
5
|
-
export declare const AggregateRatingWithoutIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AggregateRatingProps>;
|
|
6
|
-
export declare const AggregateRatingWithCSS: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AggregateRatingProps>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
title: string;
|
|
9
|
-
argTypes: ComponentArgTypes<AggregateRatingProps>;
|
|
10
|
-
parameters: {
|
|
11
|
-
docs: {
|
|
12
|
-
page: (props: any) => JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { AlertProps } from '../Alert';
|
|
2
|
-
export declare const Alert: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AlertProps>;
|
|
3
|
-
export declare const AlertWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AlertProps>;
|
|
4
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BannerProps } from '../Banner';
|
|
2
|
-
export declare const Banner: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BannerProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { BreadcrumbProps } from '../Breadcrumb';
|
|
4
|
-
export declare const Breadcrumb: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
|
|
5
|
-
export declare const BreadcrumbWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
|
|
6
|
-
declare const _default: {
|
|
7
|
-
title: string;
|
|
8
|
-
argTypes: ComponentArgTypes<BreadcrumbProps>;
|
|
9
|
-
parameters: {
|
|
10
|
-
docs: {
|
|
11
|
-
page: (props: any) => JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentArgTypes } from '../../../typings/utils';
|
|
3
|
-
import type { BulletsProps } from '../Bullets';
|
|
4
|
-
export declare const Bullets: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BulletsProps>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BulletsProps>;
|
|
8
|
-
argTypes: ComponentArgTypes<BulletsProps>;
|
|
9
|
-
parameters: {
|
|
10
|
-
docs: {
|
|
11
|
-
page: (props: any) => JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CardProps } from '../Card';
|
|
2
|
-
export declare const Card: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CardProps>;
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|