@faststore/ui 2.2.0 → 2.2.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/package.json +3 -3
- package/src/components/molecules/Carousel/styles.scss +20 -37
- package/dist/atoms/Badge/Badge.d.ts +0 -11
- package/dist/atoms/Badge/Badge.js +0 -6
- package/dist/atoms/Badge/Badge.js.map +0 -1
- package/dist/atoms/Badge/index.d.ts +0 -2
- package/dist/atoms/Badge/index.js +0 -2
- package/dist/atoms/Badge/index.js.map +0 -1
- package/dist/atoms/Button/Button.d.ts +0 -10
- package/dist/atoms/Button/Button.js +0 -6
- package/dist/atoms/Button/Button.js.map +0 -1
- package/dist/atoms/Button/index.d.ts +0 -2
- package/dist/atoms/Button/index.js +0 -2
- package/dist/atoms/Button/index.js.map +0 -1
- package/dist/atoms/Checkbox/Checkbox.d.ts +0 -10
- package/dist/atoms/Checkbox/Checkbox.js +0 -6
- package/dist/atoms/Checkbox/Checkbox.js.map +0 -1
- package/dist/atoms/Checkbox/index.d.ts +0 -2
- package/dist/atoms/Checkbox/index.js +0 -2
- package/dist/atoms/Checkbox/index.js.map +0 -1
- package/dist/atoms/Icon/Icon.d.ts +0 -14
- package/dist/atoms/Icon/Icon.js +0 -6
- package/dist/atoms/Icon/Icon.js.map +0 -1
- package/dist/atoms/Icon/index.d.ts +0 -2
- package/dist/atoms/Icon/index.js +0 -2
- package/dist/atoms/Icon/index.js.map +0 -1
- package/dist/atoms/Icon/stories/assets/ShoppingCart.d.ts +0 -3
- package/dist/atoms/Icon/stories/assets/ShoppingCart.js +0 -8
- package/dist/atoms/Icon/stories/assets/ShoppingCart.js.map +0 -1
- package/dist/atoms/Incentive/Incentive.d.ts +0 -11
- package/dist/atoms/Incentive/Incentive.js +0 -6
- package/dist/atoms/Incentive/Incentive.js.map +0 -1
- package/dist/atoms/Incentive/index.d.ts +0 -2
- package/dist/atoms/Incentive/index.js +0 -2
- package/dist/atoms/Incentive/index.js.map +0 -1
- package/dist/atoms/Incentive/stories/assets/Icons.d.ts +0 -2
- package/dist/atoms/Incentive/stories/assets/Icons.js +0 -6
- package/dist/atoms/Incentive/stories/assets/Icons.js.map +0 -1
- package/dist/atoms/Input/Input.d.ts +0 -14
- package/dist/atoms/Input/Input.js +0 -10
- package/dist/atoms/Input/Input.js.map +0 -1
- package/dist/atoms/Input/index.d.ts +0 -2
- package/dist/atoms/Input/index.js +0 -2
- package/dist/atoms/Input/index.js.map +0 -1
- package/dist/atoms/Label/Label.d.ts +0 -10
- package/dist/atoms/Label/Label.js +0 -6
- package/dist/atoms/Label/Label.js.map +0 -1
- package/dist/atoms/Label/index.d.ts +0 -2
- package/dist/atoms/Label/index.js +0 -2
- package/dist/atoms/Label/index.js.map +0 -1
- package/dist/atoms/Link/Link.d.ts +0 -19
- package/dist/atoms/Link/Link.js +0 -13
- package/dist/atoms/Link/Link.js.map +0 -1
- package/dist/atoms/Link/index.d.ts +0 -2
- package/dist/atoms/Link/index.js +0 -2
- package/dist/atoms/Link/index.js.map +0 -1
- package/dist/atoms/List/List.d.ts +0 -12
- package/dist/atoms/List/List.js +0 -16
- package/dist/atoms/List/List.js.map +0 -1
- package/dist/atoms/List/index.d.ts +0 -2
- package/dist/atoms/List/index.js +0 -2
- package/dist/atoms/List/index.js.map +0 -1
- package/dist/atoms/Overlay/Overlay.d.ts +0 -10
- package/dist/atoms/Overlay/Overlay.js +0 -6
- package/dist/atoms/Overlay/Overlay.js.map +0 -1
- package/dist/atoms/Overlay/index.d.ts +0 -2
- package/dist/atoms/Overlay/index.js +0 -2
- package/dist/atoms/Overlay/index.js.map +0 -1
- package/dist/atoms/Popover/Popover.d.ts +0 -15
- package/dist/atoms/Popover/Popover.js +0 -7
- package/dist/atoms/Popover/Popover.js.map +0 -1
- package/dist/atoms/Popover/index.d.ts +0 -2
- package/dist/atoms/Popover/index.js +0 -2
- package/dist/atoms/Popover/index.js.map +0 -1
- package/dist/atoms/Price/Price.d.ts +0 -28
- package/dist/atoms/Price/Price.js +0 -7
- package/dist/atoms/Price/Price.js.map +0 -1
- package/dist/atoms/Price/index.d.ts +0 -2
- package/dist/atoms/Price/index.js +0 -2
- package/dist/atoms/Price/index.js.map +0 -1
- package/dist/atoms/Radio/Radio.d.ts +0 -7
- package/dist/atoms/Radio/Radio.js +0 -6
- package/dist/atoms/Radio/Radio.js.map +0 -1
- package/dist/atoms/Radio/index.d.ts +0 -2
- package/dist/atoms/Radio/index.js +0 -2
- package/dist/atoms/Radio/index.js.map +0 -1
- package/dist/atoms/Select/Select.d.ts +0 -10
- package/dist/atoms/Select/Select.js +0 -6
- package/dist/atoms/Select/Select.js.map +0 -1
- package/dist/atoms/Select/index.d.ts +0 -2
- package/dist/atoms/Select/index.js +0 -2
- package/dist/atoms/Select/index.js.map +0 -1
- package/dist/atoms/Skeleton/Skeleton.d.ts +0 -10
- package/dist/atoms/Skeleton/Skeleton.js +0 -6
- package/dist/atoms/Skeleton/Skeleton.js.map +0 -1
- package/dist/atoms/Skeleton/index.d.ts +0 -2
- package/dist/atoms/Skeleton/index.js +0 -2
- package/dist/atoms/Skeleton/index.js.map +0 -1
- package/dist/atoms/Slider/Slider.d.ts +0 -67
- package/dist/atoms/Slider/Slider.js +0 -48
- package/dist/atoms/Slider/Slider.js.map +0 -1
- package/dist/atoms/Slider/index.d.ts +0 -2
- package/dist/atoms/Slider/index.js +0 -2
- package/dist/atoms/Slider/index.js.map +0 -1
- package/dist/atoms/Spinner/Spinner.d.ts +0 -11
- package/dist/atoms/Spinner/Spinner.js +0 -6
- package/dist/atoms/Spinner/Spinner.js.map +0 -1
- package/dist/atoms/Spinner/index.d.ts +0 -2
- package/dist/atoms/Spinner/index.js +0 -2
- package/dist/atoms/Spinner/index.js.map +0 -1
- package/dist/atoms/TextArea/TextArea.d.ts +0 -14
- package/dist/atoms/TextArea/TextArea.js +0 -10
- package/dist/atoms/TextArea/TextArea.js.map +0 -1
- package/dist/atoms/TextArea/index.d.ts +0 -2
- package/dist/atoms/TextArea/index.js +0 -2
- package/dist/atoms/TextArea/index.js.map +0 -1
- package/dist/components/atoms/Incentive/Incentive.d.ts +0 -11
- package/dist/components/atoms/Incentive/Incentive.js +0 -6
- package/dist/components/atoms/Incentive/Incentive.js.map +0 -1
- package/dist/components/atoms/Incentive/index.d.ts +0 -2
- package/dist/components/atoms/Incentive/index.js +0 -2
- package/dist/components/atoms/Incentive/index.js.map +0 -1
- package/dist/components/atoms/Popover/Popover.d.ts +0 -15
- package/dist/components/atoms/Popover/Popover.js +0 -7
- package/dist/components/atoms/Popover/Popover.js.map +0 -1
- package/dist/components/atoms/Popover/index.d.ts +0 -2
- package/dist/components/atoms/Popover/index.js +0 -2
- package/dist/components/atoms/Popover/index.js.map +0 -1
- package/dist/components/atoms/Skeleton/Skeleton.d.ts +0 -10
- package/dist/components/atoms/Skeleton/Skeleton.js +0 -6
- package/dist/components/atoms/Skeleton/Skeleton.js.map +0 -1
- package/dist/components/atoms/Skeleton/index.d.ts +0 -2
- package/dist/components/atoms/Skeleton/index.js +0 -2
- package/dist/components/atoms/Skeleton/index.js.map +0 -1
- package/dist/components/atoms/Slider/Slider.d.ts +0 -67
- package/dist/components/atoms/Slider/Slider.js +0 -48
- package/dist/components/atoms/Slider/Slider.js.map +0 -1
- package/dist/components/atoms/Slider/index.d.ts +0 -2
- package/dist/components/atoms/Slider/index.js +0 -2
- package/dist/components/atoms/Slider/index.js.map +0 -1
- package/dist/components/atoms/Spinner/Spinner.d.ts +0 -11
- package/dist/components/atoms/Spinner/Spinner.js +0 -6
- package/dist/components/atoms/Spinner/Spinner.js.map +0 -1
- package/dist/components/atoms/Spinner/index.d.ts +0 -2
- package/dist/components/atoms/Spinner/index.js +0 -2
- package/dist/components/atoms/Spinner/index.js.map +0 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts +0 -14
- package/dist/components/atoms/TextArea/TextArea.js +0 -10
- package/dist/components/atoms/TextArea/TextArea.js.map +0 -1
- package/dist/components/atoms/TextArea/index.d.ts +0 -2
- package/dist/components/atoms/TextArea/index.js +0 -2
- package/dist/components/atoms/TextArea/index.js.map +0 -1
- package/dist/components/molecules/Banner/Banner.d.ts +0 -14
- package/dist/components/molecules/Banner/Banner.js +0 -6
- package/dist/components/molecules/Banner/Banner.js.map +0 -1
- package/dist/components/molecules/Banner/BannerContent.d.ts +0 -10
- package/dist/components/molecules/Banner/BannerContent.js +0 -6
- package/dist/components/molecules/Banner/BannerContent.js.map +0 -1
- package/dist/components/molecules/Banner/BannerImage.d.ts +0 -10
- package/dist/components/molecules/Banner/BannerImage.js +0 -6
- package/dist/components/molecules/Banner/BannerImage.js.map +0 -1
- package/dist/components/molecules/Banner/BannerLink.d.ts +0 -10
- package/dist/components/molecules/Banner/BannerLink.js +0 -6
- package/dist/components/molecules/Banner/BannerLink.js.map +0 -1
- package/dist/components/molecules/Banner/index.d.ts +0 -8
- package/dist/components/molecules/Banner/index.js +0 -5
- package/dist/components/molecules/Banner/index.js.map +0 -1
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +0 -14
- package/dist/components/molecules/Breadcrumb/Breadcrumb.js +0 -38
- package/dist/components/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
- package/dist/components/molecules/Breadcrumb/index.d.ts +0 -2
- package/dist/components/molecules/Breadcrumb/index.js +0 -2
- package/dist/components/molecules/Breadcrumb/index.js.map +0 -1
- package/dist/components/molecules/Bullets/Bullets.d.ts +0 -35
- package/dist/components/molecules/Bullets/Bullets.js +0 -12
- package/dist/components/molecules/Bullets/Bullets.js.map +0 -1
- package/dist/components/molecules/Bullets/index.d.ts +0 -2
- package/dist/components/molecules/Bullets/index.js +0 -2
- package/dist/components/molecules/Bullets/index.js.map +0 -1
- package/dist/components/molecules/Card/Card.d.ts +0 -10
- package/dist/components/molecules/Card/Card.js +0 -6
- package/dist/components/molecules/Card/Card.js.map +0 -1
- package/dist/components/molecules/Card/CardActions.d.ts +0 -10
- package/dist/components/molecules/Card/CardActions.js +0 -6
- package/dist/components/molecules/Card/CardActions.js.map +0 -1
- package/dist/components/molecules/Card/CardContent.d.ts +0 -10
- package/dist/components/molecules/Card/CardContent.js +0 -6
- package/dist/components/molecules/Card/CardContent.js.map +0 -1
- package/dist/components/molecules/Card/CardImage.d.ts +0 -10
- package/dist/components/molecules/Card/CardImage.js +0 -6
- package/dist/components/molecules/Card/CardImage.js.map +0 -1
- package/dist/components/molecules/Card/index.d.ts +0 -8
- package/dist/components/molecules/Card/index.js +0 -5
- package/dist/components/molecules/Card/index.js.map +0 -1
- package/dist/components/molecules/Carousel/Arrows.d.ts +0 -12
- package/dist/components/molecules/Carousel/Arrows.js +0 -6
- package/dist/components/molecules/Carousel/Arrows.js.map +0 -1
- package/dist/components/molecules/Carousel/Carousel.d.ts +0 -54
- package/dist/components/molecules/Carousel/Carousel.js +0 -183
- package/dist/components/molecules/Carousel/Carousel.js.map +0 -1
- package/dist/components/molecules/Carousel/CarouselItem.d.ts +0 -11
- package/dist/components/molecules/Carousel/CarouselItem.js +0 -18
- package/dist/components/molecules/Carousel/CarouselItem.js.map +0 -1
- package/dist/components/molecules/Carousel/hooks/useSlideVisibility.d.ts +0 -9
- package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js +0 -29
- package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
- package/dist/components/molecules/Carousel/index.d.ts +0 -2
- package/dist/components/molecules/Carousel/index.js +0 -3
- package/dist/components/molecules/Carousel/index.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItem.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItem.js +0 -6
- package/dist/components/molecules/CartItem/CartItem.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItemActions.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItemActions.js +0 -6
- package/dist/components/molecules/CartItem/CartItemActions.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItemContent.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItemContent.js +0 -6
- package/dist/components/molecules/CartItem/CartItemContent.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItemImage.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItemImage.js +0 -6
- package/dist/components/molecules/CartItem/CartItemImage.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItemPrices.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItemPrices.js +0 -6
- package/dist/components/molecules/CartItem/CartItemPrices.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItemSummary.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItemSummary.js +0 -6
- package/dist/components/molecules/CartItem/CartItemSummary.js.map +0 -1
- package/dist/components/molecules/CartItem/CartItemTitle.d.ts +0 -10
- package/dist/components/molecules/CartItem/CartItemTitle.js +0 -6
- package/dist/components/molecules/CartItem/CartItemTitle.js.map +0 -1
- package/dist/components/molecules/CartItem/index.d.ts +0 -14
- package/dist/components/molecules/CartItem/index.js +0 -8
- package/dist/components/molecules/CartItem/index.js.map +0 -1
- package/dist/components/molecules/Form/Form.d.ts +0 -11
- package/dist/components/molecules/Form/Form.js +0 -6
- package/dist/components/molecules/Form/Form.js.map +0 -1
- package/dist/components/molecules/Form/index.d.ts +0 -2
- package/dist/components/molecules/Form/index.js +0 -2
- package/dist/components/molecules/Form/index.js.map +0 -1
- package/dist/components/molecules/Gift/Gift.d.ts +0 -15
- package/dist/components/molecules/Gift/Gift.js +0 -9
- package/dist/components/molecules/Gift/Gift.js.map +0 -1
- package/dist/components/molecules/Gift/GiftContent.d.ts +0 -10
- package/dist/components/molecules/Gift/GiftContent.js +0 -6
- package/dist/components/molecules/Gift/GiftContent.js.map +0 -1
- package/dist/components/molecules/Gift/GiftImage.d.ts +0 -10
- package/dist/components/molecules/Gift/GiftImage.js +0 -6
- package/dist/components/molecules/Gift/GiftImage.js.map +0 -1
- package/dist/components/molecules/Gift/index.d.ts +0 -6
- package/dist/components/molecules/Gift/index.js +0 -4
- package/dist/components/molecules/Gift/index.js.map +0 -1
- package/dist/components/molecules/LoadingButton/LoadingButton.d.ts +0 -14
- package/dist/components/molecules/LoadingButton/LoadingButton.js +0 -8
- package/dist/components/molecules/LoadingButton/LoadingButton.js.map +0 -1
- package/dist/components/molecules/LoadingButton/index.d.ts +0 -2
- package/dist/components/molecules/LoadingButton/index.js +0 -2
- package/dist/components/molecules/LoadingButton/index.js.map +0 -1
- package/dist/components/molecules/Modal/Modal.d.ts +0 -25
- package/dist/components/molecules/Modal/Modal.js +0 -31
- package/dist/components/molecules/Modal/Modal.js.map +0 -1
- package/dist/components/molecules/Modal/ModalContent.d.ts +0 -10
- package/dist/components/molecules/Modal/ModalContent.js +0 -23
- package/dist/components/molecules/Modal/ModalContent.js.map +0 -1
- package/dist/components/molecules/Modal/index.d.ts +0 -2
- package/dist/components/molecules/Modal/index.js +0 -2
- package/dist/components/molecules/Modal/index.js.map +0 -1
- package/dist/components/molecules/Modal/useTrapFocus.d.ts +0 -8
- package/dist/components/molecules/Modal/useTrapFocus.js +0 -76
- package/dist/components/molecules/Modal/useTrapFocus.js.map +0 -1
- package/dist/components/molecules/OrderSummary/OrderSummary.d.ts +0 -35
- package/dist/components/molecules/OrderSummary/OrderSummary.js +0 -16
- package/dist/components/molecules/OrderSummary/OrderSummary.js.map +0 -1
- package/dist/components/molecules/OrderSummary/index.d.ts +0 -2
- package/dist/components/molecules/OrderSummary/index.js +0 -2
- package/dist/components/molecules/OrderSummary/index.js.map +0 -1
- package/dist/components/molecules/PaymentMethods/PaymentMethods.d.ts +0 -26
- package/dist/components/molecules/PaymentMethods/PaymentMethods.js +0 -8
- package/dist/components/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
- package/dist/components/molecules/PaymentMethods/index.d.ts +0 -2
- package/dist/components/molecules/PaymentMethods/index.js +0 -2
- package/dist/components/molecules/PaymentMethods/index.js.map +0 -1
- package/dist/components/molecules/PriceRange/PriceRange.d.ts +0 -47
- package/dist/components/molecules/PriceRange/PriceRange.js +0 -28
- package/dist/components/molecules/PriceRange/PriceRange.js.map +0 -1
- package/dist/components/molecules/PriceRange/index.d.ts +0 -2
- package/dist/components/molecules/PriceRange/index.js +0 -2
- package/dist/components/molecules/PriceRange/index.js.map +0 -1
- package/dist/components/molecules/ProductCard/ProductCard.d.ts +0 -11
- package/dist/components/molecules/ProductCard/ProductCard.js +0 -6
- package/dist/components/molecules/ProductCard/ProductCard.js.map +0 -1
- package/dist/components/molecules/ProductCard/ProductCardActions.d.ts +0 -10
- package/dist/components/molecules/ProductCard/ProductCardActions.js +0 -6
- package/dist/components/molecules/ProductCard/ProductCardActions.js.map +0 -1
- package/dist/components/molecules/ProductCard/ProductCardContent.d.ts +0 -10
- package/dist/components/molecules/ProductCard/ProductCardContent.js +0 -6
- package/dist/components/molecules/ProductCard/ProductCardContent.js.map +0 -1
- package/dist/components/molecules/ProductCard/ProductCardImage.d.ts +0 -10
- package/dist/components/molecules/ProductCard/ProductCardImage.js +0 -6
- package/dist/components/molecules/ProductCard/ProductCardImage.js.map +0 -1
- package/dist/components/molecules/ProductCard/index.d.ts +0 -8
- package/dist/components/molecules/ProductCard/index.js +0 -5
- package/dist/components/molecules/ProductCard/index.js.map +0 -1
- package/dist/components/molecules/ProductTitle/ProductTitle.d.ts +0 -47
- package/dist/components/molecules/ProductTitle/ProductTitle.js +0 -12
- package/dist/components/molecules/ProductTitle/ProductTitle.js.map +0 -1
- package/dist/components/molecules/ProductTitle/index.d.ts +0 -2
- package/dist/components/molecules/ProductTitle/index.js +0 -2
- package/dist/components/molecules/ProductTitle/index.js.map +0 -1
- package/dist/components/molecules/SearchInput/SearchInput.d.ts +0 -28
- package/dist/components/molecules/SearchInput/SearchInput.js +0 -26
- package/dist/components/molecules/SearchInput/SearchInput.js.map +0 -1
- package/dist/components/molecules/SearchInput/index.d.ts +0 -2
- package/dist/components/molecules/SearchInput/index.js +0 -2
- package/dist/components/molecules/SearchInput/index.js.map +0 -1
- package/dist/components/molecules/SkuSelector/SkuSelector.d.ts +0 -58
- package/dist/components/molecules/SkuSelector/SkuSelector.js +0 -15
- package/dist/components/molecules/SkuSelector/SkuSelector.js.map +0 -1
- package/dist/components/molecules/SkuSelector/index.d.ts +0 -2
- package/dist/components/molecules/SkuSelector/index.js +0 -2
- package/dist/components/molecules/SkuSelector/index.js.map +0 -1
- package/dist/components/organisms/OutOfStock/OutOfStock.d.ts +0 -21
- package/dist/components/organisms/OutOfStock/OutOfStock.js +0 -8
- package/dist/components/organisms/OutOfStock/OutOfStock.js.map +0 -1
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.d.ts +0 -9
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.js +0 -5
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
- package/dist/components/organisms/OutOfStock/OutOfStockTitle.d.ts +0 -9
- package/dist/components/organisms/OutOfStock/OutOfStockTitle.js +0 -5
- package/dist/components/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
- package/dist/components/organisms/OutOfStock/index.d.ts +0 -6
- package/dist/components/organisms/OutOfStock/index.js +0 -4
- package/dist/components/organisms/OutOfStock/index.js.map +0 -1
- package/dist/components/organisms/Tiles/Tile.d.ts +0 -11
- package/dist/components/organisms/Tiles/Tile.js +0 -6
- package/dist/components/organisms/Tiles/Tile.js.map +0 -1
- package/dist/components/organisms/Tiles/Tiles.d.ts +0 -11
- package/dist/components/organisms/Tiles/Tiles.js +0 -30
- package/dist/components/organisms/Tiles/Tiles.js.map +0 -1
- package/dist/components/organisms/Tiles/index.d.ts +0 -4
- package/dist/components/organisms/Tiles/index.js +0 -3
- package/dist/components/organisms/Tiles/index.js.map +0 -1
- package/dist/hooks/useSlider/index.d.ts +0 -2
- package/dist/hooks/useSlider/index.js +0 -3
- package/dist/hooks/useSlider/index.js.map +0 -1
- package/dist/hooks/useSlider/useSlider.d.ts +0 -64
- package/dist/hooks/useSlider/useSlider.js +0 -103
- package/dist/hooks/useSlider/useSlider.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
- package/dist/molecules/Accordion/Accordion.d.ts +0 -26
- package/dist/molecules/Accordion/Accordion.js +0 -21
- package/dist/molecules/Accordion/Accordion.js.map +0 -1
- package/dist/molecules/Accordion/AccordionButton.d.ts +0 -10
- package/dist/molecules/Accordion/AccordionButton.js +0 -37
- package/dist/molecules/Accordion/AccordionButton.js.map +0 -1
- package/dist/molecules/Accordion/AccordionItem.d.ts +0 -37
- package/dist/molecules/Accordion/AccordionItem.js +0 -28
- package/dist/molecules/Accordion/AccordionItem.js.map +0 -1
- package/dist/molecules/Accordion/AccordionPanel.d.ts +0 -10
- package/dist/molecules/Accordion/AccordionPanel.js +0 -10
- package/dist/molecules/Accordion/AccordionPanel.js.map +0 -1
- package/dist/molecules/Accordion/index.d.ts +0 -8
- package/dist/molecules/Accordion/index.js +0 -5
- package/dist/molecules/Accordion/index.js.map +0 -1
- package/dist/molecules/AggregateRating/AggregateRating.d.ts +0 -18
- package/dist/molecules/AggregateRating/AggregateRating.js +0 -26
- package/dist/molecules/AggregateRating/AggregateRating.js.map +0 -1
- package/dist/molecules/AggregateRating/index.d.ts +0 -2
- package/dist/molecules/AggregateRating/index.js +0 -2
- package/dist/molecules/AggregateRating/index.js.map +0 -1
- package/dist/molecules/Alert/Alert.d.ts +0 -11
- package/dist/molecules/Alert/Alert.js +0 -6
- package/dist/molecules/Alert/Alert.js.map +0 -1
- package/dist/molecules/Alert/index.d.ts +0 -2
- package/dist/molecules/Alert/index.js +0 -2
- package/dist/molecules/Alert/index.js.map +0 -1
- package/dist/molecules/Banner/Banner.d.ts +0 -14
- package/dist/molecules/Banner/Banner.js +0 -6
- package/dist/molecules/Banner/Banner.js.map +0 -1
- package/dist/molecules/Banner/BannerContent.d.ts +0 -10
- package/dist/molecules/Banner/BannerContent.js +0 -6
- package/dist/molecules/Banner/BannerContent.js.map +0 -1
- package/dist/molecules/Banner/BannerImage.d.ts +0 -10
- package/dist/molecules/Banner/BannerImage.js +0 -6
- package/dist/molecules/Banner/BannerImage.js.map +0 -1
- package/dist/molecules/Banner/BannerLink.d.ts +0 -10
- package/dist/molecules/Banner/BannerLink.js +0 -6
- package/dist/molecules/Banner/BannerLink.js.map +0 -1
- package/dist/molecules/Banner/index.d.ts +0 -8
- package/dist/molecules/Banner/index.js +0 -5
- package/dist/molecules/Banner/index.js.map +0 -1
- package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +0 -14
- package/dist/molecules/Breadcrumb/Breadcrumb.js +0 -38
- package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
- package/dist/molecules/Breadcrumb/index.d.ts +0 -2
- package/dist/molecules/Breadcrumb/index.js +0 -2
- package/dist/molecules/Breadcrumb/index.js.map +0 -1
- package/dist/molecules/Bullets/Bullets.d.ts +0 -35
- package/dist/molecules/Bullets/Bullets.js +0 -12
- package/dist/molecules/Bullets/Bullets.js.map +0 -1
- package/dist/molecules/Bullets/index.d.ts +0 -2
- package/dist/molecules/Bullets/index.js +0 -2
- package/dist/molecules/Bullets/index.js.map +0 -1
- package/dist/molecules/Card/Card.d.ts +0 -10
- package/dist/molecules/Card/Card.js +0 -6
- package/dist/molecules/Card/Card.js.map +0 -1
- package/dist/molecules/Card/CardActions.d.ts +0 -10
- package/dist/molecules/Card/CardActions.js +0 -6
- package/dist/molecules/Card/CardActions.js.map +0 -1
- package/dist/molecules/Card/CardContent.d.ts +0 -10
- package/dist/molecules/Card/CardContent.js +0 -6
- package/dist/molecules/Card/CardContent.js.map +0 -1
- package/dist/molecules/Card/CardImage.d.ts +0 -10
- package/dist/molecules/Card/CardImage.js +0 -6
- package/dist/molecules/Card/CardImage.js.map +0 -1
- package/dist/molecules/Card/index.d.ts +0 -8
- package/dist/molecules/Card/index.js +0 -5
- package/dist/molecules/Card/index.js.map +0 -1
- package/dist/molecules/Carousel/Arrows.d.ts +0 -12
- package/dist/molecules/Carousel/Arrows.js +0 -6
- package/dist/molecules/Carousel/Arrows.js.map +0 -1
- package/dist/molecules/Carousel/Carousel.d.ts +0 -54
- package/dist/molecules/Carousel/Carousel.js +0 -183
- package/dist/molecules/Carousel/Carousel.js.map +0 -1
- package/dist/molecules/Carousel/CarouselItem.d.ts +0 -11
- package/dist/molecules/Carousel/CarouselItem.js +0 -18
- package/dist/molecules/Carousel/CarouselItem.js.map +0 -1
- package/dist/molecules/Carousel/hooks/useSlideVisibility.d.ts +0 -9
- package/dist/molecules/Carousel/hooks/useSlideVisibility.js +0 -29
- package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
- package/dist/molecules/Carousel/index.d.ts +0 -2
- package/dist/molecules/Carousel/index.js +0 -3
- package/dist/molecules/Carousel/index.js.map +0 -1
- package/dist/molecules/CartItem/CartItem.d.ts +0 -10
- package/dist/molecules/CartItem/CartItem.js +0 -6
- package/dist/molecules/CartItem/CartItem.js.map +0 -1
- package/dist/molecules/CartItem/CartItemActions.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemActions.js +0 -6
- package/dist/molecules/CartItem/CartItemActions.js.map +0 -1
- package/dist/molecules/CartItem/CartItemContent.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemContent.js +0 -6
- package/dist/molecules/CartItem/CartItemContent.js.map +0 -1
- package/dist/molecules/CartItem/CartItemImage.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemImage.js +0 -6
- package/dist/molecules/CartItem/CartItemImage.js.map +0 -1
- package/dist/molecules/CartItem/CartItemPrices.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemPrices.js +0 -6
- package/dist/molecules/CartItem/CartItemPrices.js.map +0 -1
- package/dist/molecules/CartItem/CartItemSummary.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemSummary.js +0 -6
- package/dist/molecules/CartItem/CartItemSummary.js.map +0 -1
- package/dist/molecules/CartItem/CartItemTitle.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemTitle.js +0 -6
- package/dist/molecules/CartItem/CartItemTitle.js.map +0 -1
- package/dist/molecules/CartItem/index.d.ts +0 -14
- package/dist/molecules/CartItem/index.js +0 -8
- package/dist/molecules/CartItem/index.js.map +0 -1
- package/dist/molecules/Dropdown/Dropdown.d.ts +0 -9
- package/dist/molecules/Dropdown/Dropdown.js +0 -67
- package/dist/molecules/Dropdown/Dropdown.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownButton.d.ts +0 -10
- package/dist/molecules/Dropdown/DropdownButton.js +0 -11
- package/dist/molecules/Dropdown/DropdownButton.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownItem.d.ts +0 -10
- package/dist/molecules/Dropdown/DropdownItem.js +0 -26
- package/dist/molecules/Dropdown/DropdownItem.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownMenu.d.ts +0 -22
- package/dist/molecules/Dropdown/DropdownMenu.js +0 -65
- package/dist/molecules/Dropdown/DropdownMenu.js.map +0 -1
- package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +0 -41
- package/dist/molecules/Dropdown/contexts/DropdownContext.js +0 -11
- package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +0 -1
- package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +0 -6
- package/dist/molecules/Dropdown/hooks/useDropdown.js +0 -14
- package/dist/molecules/Dropdown/hooks/useDropdown.js.map +0 -1
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +0 -8
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +0 -25
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +0 -1
- package/dist/molecules/Dropdown/index.d.ts +0 -8
- package/dist/molecules/Dropdown/index.js +0 -5
- package/dist/molecules/Dropdown/index.js.map +0 -1
- package/dist/molecules/Dropdown/stories/assets/Caret.d.ts +0 -2
- package/dist/molecules/Dropdown/stories/assets/Caret.js +0 -4
- package/dist/molecules/Dropdown/stories/assets/Caret.js.map +0 -1
- package/dist/molecules/Form/Form.d.ts +0 -11
- package/dist/molecules/Form/Form.js +0 -6
- package/dist/molecules/Form/Form.js.map +0 -1
- package/dist/molecules/Form/index.d.ts +0 -2
- package/dist/molecules/Form/index.js +0 -2
- package/dist/molecules/Form/index.js.map +0 -1
- package/dist/molecules/Gift/Gift.d.ts +0 -16
- package/dist/molecules/Gift/Gift.js +0 -9
- package/dist/molecules/Gift/Gift.js.map +0 -1
- package/dist/molecules/Gift/GiftContent.d.ts +0 -10
- package/dist/molecules/Gift/GiftContent.js +0 -6
- package/dist/molecules/Gift/GiftContent.js.map +0 -1
- package/dist/molecules/Gift/GiftImage.d.ts +0 -10
- package/dist/molecules/Gift/GiftImage.js +0 -6
- package/dist/molecules/Gift/GiftImage.js.map +0 -1
- package/dist/molecules/Gift/index.d.ts +0 -6
- package/dist/molecules/Gift/index.js +0 -4
- package/dist/molecules/Gift/index.js.map +0 -1
- package/dist/molecules/IconButton/IconButton.d.ts +0 -19
- package/dist/molecules/IconButton/IconButton.js +0 -9
- package/dist/molecules/IconButton/IconButton.js.map +0 -1
- package/dist/molecules/IconButton/index.d.ts +0 -2
- package/dist/molecules/IconButton/index.js +0 -2
- package/dist/molecules/IconButton/index.js.map +0 -1
- package/dist/molecules/LoadingButton/LoadingButton.d.ts +0 -14
- package/dist/molecules/LoadingButton/LoadingButton.js +0 -8
- package/dist/molecules/LoadingButton/LoadingButton.js.map +0 -1
- package/dist/molecules/LoadingButton/index.d.ts +0 -2
- package/dist/molecules/LoadingButton/index.js +0 -2
- package/dist/molecules/LoadingButton/index.js.map +0 -1
- package/dist/molecules/Modal/Modal.d.ts +0 -25
- package/dist/molecules/Modal/Modal.js +0 -31
- package/dist/molecules/Modal/Modal.js.map +0 -1
- package/dist/molecules/Modal/ModalContent.d.ts +0 -10
- package/dist/molecules/Modal/ModalContent.js +0 -23
- package/dist/molecules/Modal/ModalContent.js.map +0 -1
- package/dist/molecules/Modal/index.d.ts +0 -2
- package/dist/molecules/Modal/index.js +0 -2
- package/dist/molecules/Modal/index.js.map +0 -1
- package/dist/molecules/Modal/useTrapFocus.d.ts +0 -8
- package/dist/molecules/Modal/useTrapFocus.js +0 -76
- package/dist/molecules/Modal/useTrapFocus.js.map +0 -1
- package/dist/molecules/OrderSummary/OrderSummary.d.ts +0 -35
- package/dist/molecules/OrderSummary/OrderSummary.js +0 -16
- package/dist/molecules/OrderSummary/OrderSummary.js.map +0 -1
- package/dist/molecules/OrderSummary/index.d.ts +0 -2
- package/dist/molecules/OrderSummary/index.js +0 -2
- package/dist/molecules/OrderSummary/index.js.map +0 -1
- package/dist/molecules/PaymentMethods/PaymentMethods.d.ts +0 -26
- package/dist/molecules/PaymentMethods/PaymentMethods.js +0 -8
- package/dist/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
- package/dist/molecules/PaymentMethods/index.d.ts +0 -2
- package/dist/molecules/PaymentMethods/index.js +0 -2
- package/dist/molecules/PaymentMethods/index.js.map +0 -1
- package/dist/molecules/PaymentMethods/stories/assets/Icons.d.ts +0 -9
- package/dist/molecules/PaymentMethods/stories/assets/Icons.js +0 -26
- package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +0 -1
- package/dist/molecules/PriceRange/PriceRange.d.ts +0 -47
- package/dist/molecules/PriceRange/PriceRange.js +0 -28
- package/dist/molecules/PriceRange/PriceRange.js.map +0 -1
- package/dist/molecules/PriceRange/index.d.ts +0 -2
- package/dist/molecules/PriceRange/index.js +0 -2
- package/dist/molecules/PriceRange/index.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCard.d.ts +0 -11
- package/dist/molecules/ProductCard/ProductCard.js +0 -6
- package/dist/molecules/ProductCard/ProductCard.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardActions.d.ts +0 -10
- package/dist/molecules/ProductCard/ProductCardActions.js +0 -6
- package/dist/molecules/ProductCard/ProductCardActions.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardContent.d.ts +0 -10
- package/dist/molecules/ProductCard/ProductCardContent.js +0 -6
- package/dist/molecules/ProductCard/ProductCardContent.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardImage.d.ts +0 -10
- package/dist/molecules/ProductCard/ProductCardImage.js +0 -6
- package/dist/molecules/ProductCard/ProductCardImage.js.map +0 -1
- package/dist/molecules/ProductCard/index.d.ts +0 -8
- package/dist/molecules/ProductCard/index.js +0 -5
- package/dist/molecules/ProductCard/index.js.map +0 -1
- package/dist/molecules/ProductTitle/ProductTitle.d.ts +0 -47
- package/dist/molecules/ProductTitle/ProductTitle.js +0 -12
- package/dist/molecules/ProductTitle/ProductTitle.js.map +0 -1
- package/dist/molecules/ProductTitle/index.d.ts +0 -2
- package/dist/molecules/ProductTitle/index.js +0 -2
- package/dist/molecules/ProductTitle/index.js.map +0 -1
- package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +0 -30
- package/dist/molecules/QuantitySelector/QuantitySelector.js +0 -11
- package/dist/molecules/QuantitySelector/QuantitySelector.js.map +0 -1
- package/dist/molecules/QuantitySelector/index.d.ts +0 -2
- package/dist/molecules/QuantitySelector/index.js +0 -2
- package/dist/molecules/QuantitySelector/index.js.map +0 -1
- package/dist/molecules/QuantitySelector/stories/assets/Icons.d.ts +0 -7
- package/dist/molecules/QuantitySelector/stories/assets/Icons.js +0 -11
- package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +0 -1
- package/dist/molecules/RadioGroup/RadioGroup.d.ts +0 -5
- package/dist/molecules/RadioGroup/RadioGroup.js +0 -10
- package/dist/molecules/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/molecules/RadioGroup/RadioOption.d.ts +0 -19
- package/dist/molecules/RadioGroup/RadioOption.js +0 -11
- package/dist/molecules/RadioGroup/RadioOption.js.map +0 -1
- package/dist/molecules/RadioGroup/index.d.ts +0 -4
- package/dist/molecules/RadioGroup/index.js +0 -3
- package/dist/molecules/RadioGroup/index.js.map +0 -1
- package/dist/molecules/RadioGroup/useRadioGroup.d.ts +0 -17
- package/dist/molecules/RadioGroup/useRadioGroup.js +0 -10
- package/dist/molecules/RadioGroup/useRadioGroup.js.map +0 -1
- package/dist/molecules/SearchInput/SearchInput.d.ts +0 -28
- package/dist/molecules/SearchInput/SearchInput.js +0 -28
- package/dist/molecules/SearchInput/SearchInput.js.map +0 -1
- package/dist/molecules/SearchInput/index.d.ts +0 -2
- package/dist/molecules/SearchInput/index.js +0 -2
- package/dist/molecules/SearchInput/index.js.map +0 -1
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.d.ts +0 -3
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.js +0 -7
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +0 -1
- package/dist/molecules/SkuSelector/SkuSelector.d.ts +0 -58
- package/dist/molecules/SkuSelector/SkuSelector.js +0 -15
- package/dist/molecules/SkuSelector/SkuSelector.js.map +0 -1
- package/dist/molecules/SkuSelector/index.d.ts +0 -2
- package/dist/molecules/SkuSelector/index.js +0 -2
- package/dist/molecules/SkuSelector/index.js.map +0 -1
- package/dist/molecules/Table/Table.d.ts +0 -11
- package/dist/molecules/Table/Table.js +0 -6
- package/dist/molecules/Table/Table.js.map +0 -1
- package/dist/molecules/Table/TableBody.d.ts +0 -11
- package/dist/molecules/Table/TableBody.js +0 -6
- package/dist/molecules/Table/TableBody.js.map +0 -1
- package/dist/molecules/Table/TableCell.d.ts +0 -20
- package/dist/molecules/Table/TableCell.js +0 -7
- package/dist/molecules/Table/TableCell.js.map +0 -1
- package/dist/molecules/Table/TableFooter.d.ts +0 -11
- package/dist/molecules/Table/TableFooter.js +0 -6
- package/dist/molecules/Table/TableFooter.js.map +0 -1
- package/dist/molecules/Table/TableHead.d.ts +0 -11
- package/dist/molecules/Table/TableHead.js +0 -6
- package/dist/molecules/Table/TableHead.js.map +0 -1
- package/dist/molecules/Table/TableRow.d.ts +0 -11
- package/dist/molecules/Table/TableRow.js +0 -6
- package/dist/molecules/Table/TableRow.js.map +0 -1
- package/dist/molecules/Table/index.d.ts +0 -12
- package/dist/molecules/Table/index.js +0 -7
- package/dist/molecules/Table/index.js.map +0 -1
- package/dist/organisms/Hero/Hero.d.ts +0 -11
- package/dist/organisms/Hero/Hero.js +0 -6
- package/dist/organisms/Hero/Hero.js.map +0 -1
- package/dist/organisms/Hero/HeroHeading.d.ts +0 -10
- package/dist/organisms/Hero/HeroHeading.js +0 -6
- package/dist/organisms/Hero/HeroHeading.js.map +0 -1
- package/dist/organisms/Hero/HeroImage.d.ts +0 -10
- package/dist/organisms/Hero/HeroImage.js +0 -6
- package/dist/organisms/Hero/HeroImage.js.map +0 -1
- package/dist/organisms/Hero/index.d.ts +0 -6
- package/dist/organisms/Hero/index.js +0 -4
- package/dist/organisms/Hero/index.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStock.d.ts +0 -21
- package/dist/organisms/OutOfStock/OutOfStock.js +0 -8
- package/dist/organisms/OutOfStock/OutOfStock.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStockMessage.d.ts +0 -9
- package/dist/organisms/OutOfStock/OutOfStockMessage.js +0 -5
- package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStockTitle.d.ts +0 -9
- package/dist/organisms/OutOfStock/OutOfStockTitle.js +0 -5
- package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
- package/dist/organisms/OutOfStock/index.d.ts +0 -6
- package/dist/organisms/OutOfStock/index.js +0 -4
- package/dist/organisms/OutOfStock/index.js.map +0 -1
- package/dist/organisms/Tiles/Tile.d.ts +0 -11
- package/dist/organisms/Tiles/Tile.js +0 -6
- package/dist/organisms/Tiles/Tile.js.map +0 -1
- package/dist/organisms/Tiles/Tiles.d.ts +0 -11
- package/dist/organisms/Tiles/Tiles.js +0 -30
- package/dist/organisms/Tiles/Tiles.js.map +0 -1
- package/dist/organisms/Tiles/index.d.ts +0 -4
- package/dist/organisms/Tiles/index.js +0 -3
- package/dist/organisms/Tiles/index.js.map +0 -1
- package/dist/setupTests.d.ts +0 -1
- package/dist/setupTests.js +0 -6
- package/dist/setupTests.js.map +0 -1
- package/dist/typings/PolymorphicGenerics.d.ts +0 -28
- package/dist/typings/PolymorphicGenerics.js +0 -8
- package/dist/typings/PolymorphicGenerics.js.map +0 -1
- package/dist/typings/index.d.ts +0 -1
- package/dist/typings/index.js +0 -2
- package/dist/typings/index.js.map +0 -1
- package/dist/utils/toHaveNoIncomplete.d.ts +0 -17
- package/dist/utils/toHaveNoIncomplete.js +0 -43
- package/dist/utils/toHaveNoIncomplete.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../../src/components/atoms/Slider/Slider.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type SpinnerProps = {
|
|
3
|
-
/**
|
|
4
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
-
*/
|
|
6
|
-
testId?: string;
|
|
7
|
-
};
|
|
8
|
-
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default Spinner;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const Spinner = forwardRef(function Spinner({ children, testId = 'store-spinner', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("span", { ref: ref, "data-fs-spinner": true, "data-testid": testId, ...otherProps }));
|
|
4
|
-
});
|
|
5
|
-
export default Spinner;
|
|
6
|
-
//# sourceMappingURL=Spinner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../../../src/components/atoms/Spinner/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,OAAO,GAAG,UAAU,CACxB,SAAS,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,GAAG,UAAU,EAAE,EAAE,GAAG;IACzE,OAAO,CACL,8BAAM,GAAG,EAAE,GAAG,0CAA+B,MAAM,KAAM,UAAU,GAAI,CACxE,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { TextareaHTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'children'> {
|
|
4
|
-
/**
|
|
5
|
-
* Current variant of the input.
|
|
6
|
-
*/
|
|
7
|
-
variant?: 'success' | 'error';
|
|
8
|
-
/**
|
|
9
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
10
|
-
*/
|
|
11
|
-
testId?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
14
|
-
export default TextArea;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const TextArea = forwardRef(function TextArea({ variant, testId = 'store-textarea', ...otherProps }, ref) {
|
|
3
|
-
const variants = {
|
|
4
|
-
'data-success': variant === 'success' || undefined,
|
|
5
|
-
'data-error': variant === 'error' || undefined,
|
|
6
|
-
};
|
|
7
|
-
return (React.createElement("textarea", { ref: ref, "data-fs-textarea": true, "data-testid": testId, ...variants, ...otherProps }));
|
|
8
|
-
});
|
|
9
|
-
export default TextArea;
|
|
10
|
-
//# sourceMappingURL=TextArea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.js","sourceRoot":"","sources":["../../../../src/components/atoms/TextArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAczC,MAAM,QAAQ,GAAG,UAAU,CACzB,SAAS,QAAQ,CACf,EAAE,OAAO,EAAE,MAAM,GAAG,gBAAgB,EAAE,GAAG,UAAU,EAAE,EACrD,GAAG;IAEH,MAAM,QAAQ,GAAG;QACf,cAAc,EAAE,OAAO,KAAK,SAAS,IAAI,SAAS;QAClD,YAAY,EAAE,OAAO,KAAK,OAAO,IAAI,SAAS;KAC/C,CAAA;IAED,OAAO,CACL,kCACE,GAAG,EAAE,GAAG,2CAEK,MAAM,KACf,QAAQ,KACR,UAAU,GACd,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/TextArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
type BannerDirectionVariant = 'vertical' | 'horizontal';
|
|
4
|
-
export interface BannerProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
7
|
-
* testing-library, and jest).
|
|
8
|
-
*/
|
|
9
|
-
testId?: string;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
variant?: BannerDirectionVariant;
|
|
12
|
-
}
|
|
13
|
-
declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export default Banner;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const Banner = forwardRef(function Banner({ testId = 'store-banner', children, variant = 'vertical', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("article", { ref: ref, "data-fs-banner": variant, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default Banner;
|
|
6
|
-
//# sourceMappingURL=Banner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../../../src/components/molecules/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAczC,MAAM,MAAM,GAAG,UAAU,CAA8B,SAAS,MAAM,CACpE,EAAE,MAAM,GAAG,cAAc,EAAE,QAAQ,EAAE,OAAO,GAAG,UAAU,EAAE,GAAG,UAAU,EAAE,EAC1E,GAAG;IAEH,OAAO,CACL,iCACE,GAAG,EAAE,GAAG,oBACQ,OAAO,iBACV,MAAM,KACf,UAAU,IAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,MAAM,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface BannerContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const BannerContent: React.ForwardRefExoticComponent<BannerContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default BannerContent;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const BannerContent = forwardRef(function BannerContent({ testId = 'store-banner-content', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-banner-content": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default BannerContent;
|
|
6
|
-
//# sourceMappingURL=BannerContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BannerContent.js","sourceRoot":"","sources":["../../../../src/components/molecules/Banner/BannerContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,aAAa,GAAG,UAAU,CAC9B,SAAS,aAAa,CACpB,EAAE,MAAM,GAAG,sBAAsB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC5D,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,8CAAmC,MAAM,KAAM,UAAU,IACnE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface BannerImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const BannerImage: React.ForwardRefExoticComponent<BannerImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default BannerImage;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const BannerImage = forwardRef(function BannerImage({ testId = 'store-banner-image', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-banner-image": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default BannerImage;
|
|
6
|
-
//# sourceMappingURL=BannerImage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BannerImage.js","sourceRoot":"","sources":["../../../../src/components/molecules/Banner/BannerImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACjE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface BannerLinkProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const BannerLink: React.ForwardRefExoticComponent<BannerLinkProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default BannerLink;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const BannerLink = forwardRef(function BannerLink({ testId = 'store-banner-link', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-banner-link": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default BannerLink;
|
|
6
|
-
//# sourceMappingURL=BannerLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BannerLink.js","sourceRoot":"","sources":["../../../../src/components/molecules/Banner/BannerLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,UAAU,GAAG,UAAU,CAC3B,SAAS,UAAU,CACjB,EAAE,MAAM,GAAG,mBAAmB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACzD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,2CAAgC,MAAM,KAAM,UAAU,IAChE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { default } from './Banner';
|
|
2
|
-
export type { BannerProps } from './Banner';
|
|
3
|
-
export { default as BannerImage } from './BannerImage';
|
|
4
|
-
export type { BannerImageProps } from './BannerImage';
|
|
5
|
-
export { default as BannerContent } from './BannerContent';
|
|
6
|
-
export type { BannerContentProps } from './BannerContent';
|
|
7
|
-
export { default as BannerLink } from './BannerLink';
|
|
8
|
-
export type { BannerLinkProps } from './BannerLink';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGlC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AAGtD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAG1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
export interface BreadcrumbProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* A ReactNode that will be rendered as the Divider icon.
|
|
6
|
-
*/
|
|
7
|
-
divider?: ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
10
|
-
*/
|
|
11
|
-
testId?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export default Breadcrumb;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { List } from '@faststore/components';
|
|
3
|
-
const Divider = ({ divider, testId }) => {
|
|
4
|
-
const props = {
|
|
5
|
-
'data-breadcrumb-divider': true,
|
|
6
|
-
'aria-hidden': true,
|
|
7
|
-
'data-testid': `${testId}-divider`,
|
|
8
|
-
};
|
|
9
|
-
if (React.isValidElement(divider)) {
|
|
10
|
-
return React.cloneElement(divider, props);
|
|
11
|
-
}
|
|
12
|
-
return React.createElement("span", { ...props }, divider ?? '/');
|
|
13
|
-
};
|
|
14
|
-
const ListItem = ({ children, isLastItem, divider, testId, }) => {
|
|
15
|
-
const props = {
|
|
16
|
-
'data-testid': `${testId}-item`,
|
|
17
|
-
'data-breadcrumb-item': isLastItem ? 'current' : true,
|
|
18
|
-
'aria-current': isLastItem ? 'page' : undefined,
|
|
19
|
-
};
|
|
20
|
-
if (!React.isValidElement(children)) {
|
|
21
|
-
return (React.createElement("li", { "data-breadcrumb-list-item": true },
|
|
22
|
-
React.createElement("span", { ...props },
|
|
23
|
-
children,
|
|
24
|
-
isLastItem ? null : React.createElement(Divider, { divider: divider, testId: testId }))));
|
|
25
|
-
}
|
|
26
|
-
return (React.createElement("li", { "data-breadcrumb-list-item": true },
|
|
27
|
-
React.cloneElement(children, props),
|
|
28
|
-
isLastItem ? null : React.createElement(Divider, { divider: divider, testId: testId })));
|
|
29
|
-
};
|
|
30
|
-
const Breadcrumb = forwardRef(function Breadcrumb({ children, divider: rawDivider, testId = 'store-breadcrumb', ...otherProps }, ref) {
|
|
31
|
-
return (React.createElement("nav", { "aria-label": "Breadcrumb", role: "navigation", ref: ref, "data-fs-breadcrumb": true, "data-testid": testId, ...otherProps },
|
|
32
|
-
React.createElement(List, { as: "ol", "data-breadcrumb-list": true }, React.Children.toArray(children).map((child, index, childrenArray) => {
|
|
33
|
-
const isLastItem = index === childrenArray.length - 1;
|
|
34
|
-
return (React.createElement(ListItem, { isLastItem: isLastItem, divider: rawDivider, key: `breadcrumb-${index}`, testId: testId }, child));
|
|
35
|
-
}))));
|
|
36
|
-
});
|
|
37
|
-
export default Breadcrumb;
|
|
38
|
-
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAa5C,MAAM,OAAO,GAAwB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;IAC3D,MAAM,KAAK,GAAG;QACZ,yBAAyB,EAAE,IAAI;QAC/B,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,GAAG,MAAM,UAAU;KACnC,CAAA;IAED,IAAI,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;QACjC,OAAO,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;KAC1C;IAED,OAAO,iCAAU,KAAK,IAAG,OAAO,IAAI,GAAG,CAAQ,CAAA;AACjD,CAAC,CAAA;AASD,MAAM,QAAQ,GAAsB,CAAC,EACnC,QAAQ,EACR,UAAU,EACV,OAAO,EACP,MAAM,GACP,EAAE,EAAE;IACH,MAAM,KAAK,GAAG;QACZ,aAAa,EAAE,GAAG,MAAM,OAAO;QAC/B,sBAAsB,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI;QACrD,cAAc,EAAE,UAAU,CAAC,CAAC,CAAE,MAAgB,CAAC,CAAC,CAAC,SAAS;KAC3D,CAAA;IAED,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;QACnC,OAAO,CACL;YACE,iCAAU,KAAK;gBACZ,QAAQ;gBACR,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,OAAO,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAI,CAC7D,CACJ,CACN,CAAA;KACF;IAED,OAAO,CACL;QACG,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC;QACnC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,OAAO,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAI,CAC/D,CACN,CAAA;AACH,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,UAAU,CAC3B,SAAS,UAAU,CACjB,EACE,QAAQ,EACR,OAAO,EAAE,UAAU,EACnB,MAAM,GAAG,kBAAkB,EAC3B,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,2CACa,YAAY,EACvB,IAAI,EAAC,YAAY,EACjB,GAAG,EAAE,GAAG,6CAEK,MAAM,KACf,UAAU;QAEd,oBAAC,IAAI,IAAC,EAAE,EAAC,IAAI,kCACV,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,GAAG,CACnC,CAAC,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;YAC9B,MAAM,UAAU,GAAG,KAAK,KAAK,aAAa,CAAC,MAAM,GAAG,CAAC,CAAA;YAErD,OAAO,CACL,oBAAC,QAAQ,IACP,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,UAAU,EACnB,GAAG,EAAE,cAAc,KAAK,EAAE,EAC1B,MAAM,EAAE,MAAM,IAEb,KAAK,CACG,CACZ,CAAA;QACH,CAAC,CACF,CACI,CACH,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, MouseEvent } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface BulletsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick' | 'role'> {
|
|
4
|
-
/**
|
|
5
|
-
* Number of bullets that should be rendered.
|
|
6
|
-
*/
|
|
7
|
-
totalQuantity: number;
|
|
8
|
-
/**
|
|
9
|
-
* The currently active bullet (zero-indexed).
|
|
10
|
-
*/
|
|
11
|
-
activeBullet: number;
|
|
12
|
-
/**
|
|
13
|
-
* Event handler for clicks on each bullet. The handler will be called with
|
|
14
|
-
* the index of the bullet that received the click.
|
|
15
|
-
*/
|
|
16
|
-
onClick: (e: MouseEvent, bulletIdx: number) => void;
|
|
17
|
-
/**
|
|
18
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
19
|
-
* testing-library, and jest).
|
|
20
|
-
*/
|
|
21
|
-
testId?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Function that should be used to generate the aria-label attribute added
|
|
24
|
-
* to each bullet that is inactive. It receives the bullet index as an
|
|
25
|
-
* argument so that it can be interpolated in the generated string.
|
|
26
|
-
*/
|
|
27
|
-
ariaLabelGenerator?: (index: number, isActive: boolean) => string;
|
|
28
|
-
/**
|
|
29
|
-
* Function that should be used to generate the aria-controls attribute added
|
|
30
|
-
* to each bullet. It receives the bullet index as argument and should return a string.
|
|
31
|
-
*/
|
|
32
|
-
ariaControlsGenerator?: (index: number) => string;
|
|
33
|
-
}
|
|
34
|
-
declare const Bullets: React.ForwardRefExoticComponent<BulletsProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
export default Bullets;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useMemo } from 'react';
|
|
2
|
-
import { Button } from '@faststore/components';
|
|
3
|
-
const defaultAriaLabel = (idx, isActive) => isActive ? 'Current page' : `Go to page ${idx + 1}`;
|
|
4
|
-
const Bullets = forwardRef(function Bullets({ totalQuantity, activeBullet, onClick, testId = 'store-bullets', ariaLabelGenerator = defaultAriaLabel, ariaControlsGenerator, ...otherProps }, ref) {
|
|
5
|
-
const bulletIndexes = useMemo(() => Array(totalQuantity).fill(0), [totalQuantity]);
|
|
6
|
-
return (React.createElement("div", { ref: ref, "data-fs-bullets": true, "data-testid": testId, role: "tablist", ...otherProps }, bulletIndexes.map((_, idx) => {
|
|
7
|
-
const isActive = activeBullet === idx;
|
|
8
|
-
return (React.createElement(Button, { key: idx, role: "tab", tabIndex: -1, "data-fs-bullet": true, testId: `${testId}-bullet`, onClick: (e) => onClick(e, idx), "aria-label": ariaLabelGenerator(idx, isActive), "aria-controls": ariaControlsGenerator?.(idx), "aria-selected": isActive }));
|
|
9
|
-
})));
|
|
10
|
-
});
|
|
11
|
-
export default Bullets;
|
|
12
|
-
//# sourceMappingURL=Bullets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bullets.js","sourceRoot":"","sources":["../../../../src/components/molecules/Bullets/Bullets.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAmC9C,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,QAAiB,EAAE,EAAE,CAC1D,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,GAAG,GAAG,CAAC,EAAE,CAAA;AAErD,MAAM,OAAO,GAAG,UAAU,CAA+B,SAAS,OAAO,CACvE,EACE,aAAa,EACb,YAAY,EACZ,OAAO,EACP,MAAM,GAAG,eAAe,EACxB,kBAAkB,GAAG,gBAAgB,EACrC,qBAAqB,EACrB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,aAAa,GAAG,OAAO,CAC3B,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAClC,CAAC,aAAa,CAAC,CAChB,CAAA;IAED,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,0CAEK,MAAM,EACnB,IAAI,EAAC,SAAS,KACV,UAAU,IAEb,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;QAC5B,MAAM,QAAQ,GAAG,YAAY,KAAK,GAAG,CAAA;QAErC,OAAO,CACL,oBAAC,MAAM,IACL,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,CAAC,CAAC,0BAEZ,MAAM,EAAE,GAAG,MAAM,SAAS,EAC1B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,gBACnB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,CAAC,mBAC9B,qBAAqB,EAAE,CAAC,GAAG,CAAC,mBAC5B,QAAQ,GACvB,CACH,CAAA;IACH,CAAC,CAAC,CACE,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,OAAO,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Bullets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default Card;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const Card = forwardRef(function Card({ testId = 'store-card', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("article", { ref: ref, "data-fs-card": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default Card;
|
|
6
|
-
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,IAAI,GAAG,UAAU,CAA4B,SAAS,IAAI,CAC9D,EAAE,MAAM,GAAG,YAAY,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClD,GAAG;IAEH,OAAO,CACL,iCAAS,GAAG,EAAE,GAAG,uCAA4B,MAAM,KAAM,UAAU,IAChE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface CardActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const CardActions: React.ForwardRefExoticComponent<CardActionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default CardActions;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const CardActions = forwardRef(function CardActions({ testId = 'store-card-actions', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-card-actions": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default CardActions;
|
|
6
|
-
//# sourceMappingURL=CardActions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardActions.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/CardActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACjE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface CardContentProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLElement>>;
|
|
10
|
-
export default CardContent;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const CardContent = forwardRef(function CardContent({ testId = 'store-card-content', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("section", { ref: ref, "data-card-content": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default CardContent;
|
|
6
|
-
//# sourceMappingURL=CardContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/CardContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,iCAAS,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACrE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface CardImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const CardImage: React.ForwardRefExoticComponent<CardImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default CardImage;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const CardImage = forwardRef(function CardImage({ testId = 'store-card-image', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-card-image": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default CardImage;
|
|
6
|
-
//# sourceMappingURL=CardImage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardImage.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/CardImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,kBAAkB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,0CAA+B,MAAM,KAAM,UAAU,IAC/D,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { default } from './Card';
|
|
2
|
-
export type { CardProps } from './Card';
|
|
3
|
-
export { default as CardImage } from './CardImage';
|
|
4
|
-
export type { CardImageProps } from './CardImage';
|
|
5
|
-
export { default as CardContent } from './CardContent';
|
|
6
|
-
export type { CardContentProps } from './CardContent';
|
|
7
|
-
export { default as CardActions } from './CardActions';
|
|
8
|
-
export type { CardActionsProps } from './CardActions';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGhC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AAGtD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface IconProps {
|
|
3
|
-
size?: {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
};
|
|
7
|
-
viewBox?: string;
|
|
8
|
-
color?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const LeftArrowIcon: ({ size, viewBox, color, }: IconProps) => JSX.Element;
|
|
11
|
-
export declare const RightArrowIcon: ({ size, viewBox, color, }: IconProps) => JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const LeftArrowIcon = ({ size = { width: 25, height: 25 }, viewBox = '0 0 16 16', color = 'currentColor', }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: viewBox, width: size.width, height: size.height },
|
|
3
|
-
React.createElement("path", { d: "M11 1L4 8L11 15", strokeWidth: "2", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round", stroke: color, fill: "none" })));
|
|
4
|
-
export const RightArrowIcon = ({ size = { width: 25, height: 25 }, viewBox = '0 0 16 16', color = 'currentColor', }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: viewBox, width: size.width, height: size.height },
|
|
5
|
-
React.createElement("path", { d: "M5 15L12 8L5 1", strokeWidth: "2", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round", stroke: color, fill: "none" })));
|
|
6
|
-
//# sourceMappingURL=Arrows.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Arrows.js","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Arrows.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC5B,IAAI,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAChC,OAAO,GAAG,WAAW,EACrB,KAAK,GAAG,cAAc,GACZ,EAAE,EAAE,CAAC,CACf,6BACE,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM;IAEnB,8BACE,CAAC,EAAC,iBAAiB,EACnB,WAAW,EAAC,GAAG,EACf,gBAAgB,EAAC,IAAI,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,MAAM,EAAE,KAAK,EACb,IAAI,EAAC,MAAM,GACX,CACE,CACP,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,IAAI,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAChC,OAAO,GAAG,WAAW,EACrB,KAAK,GAAG,cAAc,GACZ,EAAE,EAAE,CAAC,CACf,6BACE,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM;IAEnB,8BACE,CAAC,EAAC,gBAAgB,EAClB,WAAW,EAAC,GAAG,EACf,gBAAgB,EAAC,IAAI,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,MAAM,EAAE,KAAK,EACb,IAAI,EAAC,MAAM,GACX,CACE,CACP,CAAA"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, PropsWithChildren } from 'react';
|
|
2
|
-
import type { SwipeableProps } from 'react-swipeable';
|
|
3
|
-
export interface CarouselProps extends SwipeableProps {
|
|
4
|
-
/**
|
|
5
|
-
* ID of the current instance of the component.
|
|
6
|
-
*/
|
|
7
|
-
id?: string;
|
|
8
|
-
/**
|
|
9
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
10
|
-
*/
|
|
11
|
-
testId?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Returns the value of element's class content attribute.
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Whether or not the Carousel is infinite slide/scroll. Only for the `slide` variant.
|
|
18
|
-
* @default true
|
|
19
|
-
*/
|
|
20
|
-
infiniteMode?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies which navigation elements should be visible.
|
|
23
|
-
* @default complete
|
|
24
|
-
*/
|
|
25
|
-
controls?: 'complete' | 'navigationArrows' | 'paginationBullets';
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the slide transition. Only for the `slide` variant
|
|
28
|
-
*/
|
|
29
|
-
transition?: {
|
|
30
|
-
duration: number;
|
|
31
|
-
property: string;
|
|
32
|
-
delay?: number;
|
|
33
|
-
timing?: string;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the number of items per page.
|
|
37
|
-
* @default 1
|
|
38
|
-
*/
|
|
39
|
-
itemsPerPage?: number;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the Carousel track variant.
|
|
42
|
-
* @default slide
|
|
43
|
-
*/
|
|
44
|
-
variant?: 'slide' | 'scroll';
|
|
45
|
-
/**
|
|
46
|
-
* Specifies the navigation icons.
|
|
47
|
-
*/
|
|
48
|
-
navigationIcons?: {
|
|
49
|
-
left?: ReactNode;
|
|
50
|
-
right?: ReactNode;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
declare function Carousel({ infiniteMode, controls, testId, transition, children, className, id, variant, itemsPerPage, navigationIcons, ...swipeableConfigOverrides }: PropsWithChildren<CarouselProps>): JSX.Element;
|
|
54
|
-
export default Carousel;
|