@faststore/ui 2.0.3-alpha.0 → 2.0.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/assets/ShoppingCart.d.ts +3 -0
- package/dist/assets/ShoppingCart.js +10 -0
- package/dist/assets/ShoppingCart.js.map +1 -0
- package/dist/assets/X.d.ts +3 -0
- package/dist/assets/X.js +8 -0
- package/dist/assets/X.js.map +1 -0
- package/dist/{atoms → components/atoms}/Incentive/Incentive.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Incentive/Incentive.js +0 -0
- package/dist/components/atoms/Incentive/Incentive.js.map +1 -0
- package/dist/{atoms → components/atoms}/Incentive/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Incentive/index.js +0 -0
- package/dist/components/atoms/Incentive/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Incentive/stories/assets/Icons.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Incentive/stories/assets/Icons.js +0 -0
- package/dist/components/atoms/Incentive/stories/assets/Icons.js.map +1 -0
- package/dist/{atoms → components/atoms}/Input/Input.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Input/Input.js +0 -0
- package/dist/components/atoms/Input/Input.js.map +1 -0
- package/dist/{atoms → components/atoms}/Input/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Input/index.js +0 -0
- package/dist/components/atoms/Input/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Link/Link.d.ts +1 -1
- package/dist/{atoms → components/atoms}/Link/Link.js +0 -0
- package/dist/components/atoms/Link/Link.js.map +1 -0
- package/dist/{atoms → components/atoms}/Link/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Link/index.js +0 -0
- package/dist/components/atoms/Link/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/List/List.d.ts +0 -0
- package/dist/{atoms → components/atoms}/List/List.js +0 -0
- package/dist/components/atoms/List/List.js.map +1 -0
- package/dist/{atoms → components/atoms}/List/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/List/index.js +0 -0
- package/dist/components/atoms/List/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Popover/Popover.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Popover/Popover.js +0 -0
- package/dist/components/atoms/Popover/Popover.js.map +1 -0
- package/dist/{atoms → components/atoms}/Popover/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Popover/index.js +0 -0
- package/dist/components/atoms/Popover/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Price/Price.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Price/Price.js +0 -0
- package/dist/components/atoms/Price/Price.js.map +1 -0
- package/dist/{atoms → components/atoms}/Price/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Price/index.js +0 -0
- package/dist/components/atoms/Price/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Select/Select.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Select/Select.js +0 -0
- package/dist/components/atoms/Select/Select.js.map +1 -0
- package/dist/{atoms → components/atoms}/Select/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Select/index.js +0 -0
- package/dist/components/atoms/Select/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Skeleton/Skeleton.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Skeleton/Skeleton.js +0 -0
- package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -0
- package/dist/{atoms → components/atoms}/Skeleton/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Skeleton/index.js +0 -0
- package/dist/components/atoms/Skeleton/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Slider/Slider.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Slider/Slider.js +0 -0
- package/dist/components/atoms/Slider/Slider.js.map +1 -0
- package/dist/{atoms → components/atoms}/Slider/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Slider/index.js +0 -0
- package/dist/components/atoms/Slider/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/Spinner/Spinner.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Spinner/Spinner.js +0 -0
- package/dist/components/atoms/Spinner/Spinner.js.map +1 -0
- package/dist/{atoms → components/atoms}/Spinner/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/Spinner/index.js +0 -0
- package/dist/components/atoms/Spinner/index.js.map +1 -0
- package/dist/{atoms → components/atoms}/TextArea/TextArea.d.ts +0 -0
- package/dist/{atoms → components/atoms}/TextArea/TextArea.js +0 -0
- package/dist/components/atoms/TextArea/TextArea.js.map +1 -0
- package/dist/{atoms → components/atoms}/TextArea/index.d.ts +0 -0
- package/dist/{atoms → components/atoms}/TextArea/index.js +0 -0
- package/dist/components/atoms/TextArea/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Accordion/Accordion.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Accordion/Accordion.js +0 -0
- package/dist/components/molecules/Accordion/Accordion.js.map +1 -0
- package/dist/{molecules → components/molecules}/Accordion/AccordionButton.d.ts +2 -2
- package/dist/{molecules → components/molecules}/Accordion/AccordionButton.js +1 -1
- package/dist/components/molecules/Accordion/AccordionButton.js.map +1 -0
- package/dist/{molecules → components/molecules}/Accordion/AccordionItem.d.ts +1 -1
- package/dist/{molecules → components/molecules}/Accordion/AccordionItem.js +0 -0
- package/dist/components/molecules/Accordion/AccordionItem.js.map +1 -0
- package/dist/{molecules → components/molecules}/Accordion/AccordionPanel.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Accordion/AccordionPanel.js +0 -0
- package/dist/components/molecules/Accordion/AccordionPanel.js.map +1 -0
- package/dist/{molecules → components/molecules}/Accordion/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Accordion/index.js +0 -0
- package/dist/components/molecules/Accordion/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/AggregateRating/AggregateRating.d.ts +0 -0
- package/dist/{molecules → components/molecules}/AggregateRating/AggregateRating.js +0 -0
- package/dist/components/molecules/AggregateRating/AggregateRating.js.map +1 -0
- package/dist/{molecules → components/molecules}/AggregateRating/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/AggregateRating/index.js +0 -0
- package/dist/components/molecules/AggregateRating/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Alert/Alert.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Alert/Alert.js +0 -0
- package/dist/components/molecules/Alert/Alert.js.map +1 -0
- package/dist/{molecules → components/molecules}/Alert/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Alert/index.js +0 -0
- package/dist/components/molecules/Alert/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/Banner.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Banner/Banner.js +0 -0
- package/dist/components/molecules/Banner/Banner.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/BannerContent.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Banner/BannerContent.js +0 -0
- package/dist/components/molecules/Banner/BannerContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/BannerImage.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Banner/BannerImage.js +0 -0
- package/dist/components/molecules/Banner/BannerImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/BannerLink.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Banner/BannerLink.js +0 -0
- package/dist/components/molecules/Banner/BannerLink.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Banner/index.js +0 -0
- package/dist/components/molecules/Banner/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Breadcrumb/Breadcrumb.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Breadcrumb/Breadcrumb.js +0 -0
- package/dist/components/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/{molecules → components/molecules}/Breadcrumb/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Breadcrumb/index.js +0 -0
- package/dist/components/molecules/Breadcrumb/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Bullets/Bullets.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Bullets/Bullets.js +1 -1
- package/dist/components/molecules/Bullets/Bullets.js.map +1 -0
- package/dist/{molecules → components/molecules}/Bullets/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Bullets/index.js +0 -0
- package/dist/components/molecules/Bullets/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/Card.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Card/Card.js +0 -0
- package/dist/components/molecules/Card/Card.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/CardActions.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Card/CardActions.js +0 -0
- package/dist/components/molecules/Card/CardActions.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/CardContent.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Card/CardContent.js +0 -0
- package/dist/components/molecules/Card/CardContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/CardImage.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Card/CardImage.js +0 -0
- package/dist/components/molecules/Card/CardImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Card/index.js +0 -0
- package/dist/components/molecules/Card/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Carousel/Arrows.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Carousel/Arrows.js +0 -0
- package/dist/components/molecules/Carousel/Arrows.js.map +1 -0
- package/dist/{molecules → components/molecules}/Carousel/Carousel.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Carousel/Carousel.js +2 -2
- package/dist/components/molecules/Carousel/Carousel.js.map +1 -0
- package/dist/{molecules → components/molecules}/Carousel/CarouselItem.d.ts +1 -1
- package/dist/{molecules → components/molecules}/Carousel/CarouselItem.js +0 -0
- package/dist/components/molecules/Carousel/CarouselItem.js.map +1 -0
- package/dist/{molecules → components/molecules}/Carousel/hooks/useSlideVisibility.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Carousel/hooks/useSlideVisibility.js +0 -0
- package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
- package/dist/{molecules → components/molecules}/Carousel/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Carousel/index.js +0 -0
- package/dist/components/molecules/Carousel/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItem.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItem.js +0 -0
- package/dist/components/molecules/CartItem/CartItem.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemActions.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemActions.js +0 -0
- package/dist/components/molecules/CartItem/CartItemActions.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemContent.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemContent.js +0 -0
- package/dist/components/molecules/CartItem/CartItemContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemImage.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemImage.js +0 -0
- package/dist/components/molecules/CartItem/CartItemImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemPrices.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemPrices.js +0 -0
- package/dist/components/molecules/CartItem/CartItemPrices.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemSummary.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemSummary.js +0 -0
- package/dist/components/molecules/CartItem/CartItemSummary.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemTitle.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemTitle.js +0 -0
- package/dist/components/molecules/CartItem/CartItemTitle.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/CartItem/index.js +0 -0
- package/dist/components/molecules/CartItem/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/Dropdown.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/Dropdown.js +0 -0
- package/dist/components/molecules/Dropdown/Dropdown.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/DropdownButton.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/DropdownButton.js +0 -0
- package/dist/components/molecules/Dropdown/DropdownButton.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/DropdownItem.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/DropdownItem.js +0 -0
- package/dist/components/molecules/Dropdown/DropdownItem.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/DropdownMenu.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/DropdownMenu.js +0 -0
- package/dist/components/molecules/Dropdown/DropdownMenu.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/contexts/DropdownContext.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/contexts/DropdownContext.js +0 -0
- package/dist/components/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/hooks/useDropdown.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/hooks/useDropdown.js +0 -0
- package/dist/components/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/hooks/useDropdownPosition.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/hooks/useDropdownPosition.js +0 -0
- package/dist/components/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/index.js +0 -0
- package/dist/components/molecules/Dropdown/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Dropdown/stories/assets/Caret.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Dropdown/stories/assets/Caret.js +0 -0
- package/dist/components/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
- package/dist/{molecules → components/molecules}/Form/Form.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Form/Form.js +0 -0
- package/dist/components/molecules/Form/Form.js.map +1 -0
- package/dist/{molecules → components/molecules}/Form/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Form/index.js +0 -0
- package/dist/components/molecules/Form/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Gift/Gift.d.ts +1 -2
- package/dist/{molecules → components/molecules}/Gift/Gift.js +1 -1
- package/dist/components/molecules/Gift/Gift.js.map +1 -0
- package/dist/{molecules → components/molecules}/Gift/GiftContent.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Gift/GiftContent.js +0 -0
- package/dist/components/molecules/Gift/GiftContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/Gift/GiftImage.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Gift/GiftImage.js +0 -0
- package/dist/components/molecules/Gift/GiftImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/Gift/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Gift/index.js +0 -0
- package/dist/components/molecules/Gift/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/LoadingButton/LoadingButton.d.ts +1 -1
- package/dist/{molecules → components/molecules}/LoadingButton/LoadingButton.js +1 -1
- package/dist/components/molecules/LoadingButton/LoadingButton.js.map +1 -0
- package/dist/{molecules → components/molecules}/LoadingButton/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/LoadingButton/index.js +0 -0
- package/dist/components/molecules/LoadingButton/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Modal/Modal.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Modal/Modal.js +2 -2
- package/dist/components/molecules/Modal/Modal.js.map +1 -0
- package/dist/{molecules → components/molecules}/Modal/ModalContent.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Modal/ModalContent.js +0 -0
- package/dist/components/molecules/Modal/ModalContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/Modal/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Modal/index.js +0 -0
- package/dist/components/molecules/Modal/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Modal/useTrapFocus.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Modal/useTrapFocus.js +0 -0
- package/dist/components/molecules/Modal/useTrapFocus.js.map +1 -0
- package/dist/{molecules → components/molecules}/OrderSummary/OrderSummary.d.ts +0 -0
- package/dist/{molecules → components/molecules}/OrderSummary/OrderSummary.js +0 -0
- package/dist/components/molecules/OrderSummary/OrderSummary.js.map +1 -0
- package/dist/{molecules → components/molecules}/OrderSummary/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/OrderSummary/index.js +0 -0
- package/dist/components/molecules/OrderSummary/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/PaymentMethods/PaymentMethods.d.ts +0 -0
- package/dist/{molecules → components/molecules}/PaymentMethods/PaymentMethods.js +0 -0
- package/dist/components/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
- package/dist/{molecules → components/molecules}/PaymentMethods/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/PaymentMethods/index.js +0 -0
- package/dist/components/molecules/PaymentMethods/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/PaymentMethods/stories/assets/Icons.d.ts +0 -0
- package/dist/{molecules → components/molecules}/PaymentMethods/stories/assets/Icons.js +0 -0
- package/dist/components/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
- package/dist/{molecules → components/molecules}/PriceRange/PriceRange.d.ts +0 -0
- package/dist/{molecules → components/molecules}/PriceRange/PriceRange.js +0 -0
- package/dist/components/molecules/PriceRange/PriceRange.js.map +1 -0
- package/dist/{molecules → components/molecules}/PriceRange/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/PriceRange/index.js +0 -0
- package/dist/components/molecules/PriceRange/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCard.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCard.js +0 -0
- package/dist/components/molecules/ProductCard/ProductCard.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardActions.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardActions.js +0 -0
- package/dist/components/molecules/ProductCard/ProductCardActions.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardContent.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardContent.js +0 -0
- package/dist/components/molecules/ProductCard/ProductCardContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardImage.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardImage.js +0 -0
- package/dist/components/molecules/ProductCard/ProductCardImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductCard/index.js +0 -0
- package/dist/components/molecules/ProductCard/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductTitle/ProductTitle.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductTitle/ProductTitle.js +0 -0
- package/dist/components/molecules/ProductTitle/ProductTitle.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductTitle/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/ProductTitle/index.js +0 -0
- package/dist/components/molecules/ProductTitle/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/QuantitySelector/QuantitySelector.d.ts +1 -1
- package/dist/{molecules → components/molecules}/QuantitySelector/QuantitySelector.js +1 -1
- package/dist/components/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
- package/dist/{molecules → components/molecules}/QuantitySelector/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/QuantitySelector/index.js +0 -0
- package/dist/components/molecules/QuantitySelector/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/QuantitySelector/stories/assets/Icons.d.ts +0 -0
- package/dist/{molecules → components/molecules}/QuantitySelector/stories/assets/Icons.js +0 -0
- package/dist/components/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
- package/dist/{molecules → components/molecules}/RadioGroup/RadioGroup.d.ts +0 -0
- package/dist/{molecules → components/molecules}/RadioGroup/RadioGroup.js +0 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/{molecules → components/molecules}/RadioGroup/RadioOption.d.ts +0 -0
- package/dist/{molecules → components/molecules}/RadioGroup/RadioOption.js +1 -1
- package/dist/components/molecules/RadioGroup/RadioOption.js.map +1 -0
- package/dist/{molecules → components/molecules}/RadioGroup/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/RadioGroup/index.js +0 -0
- package/dist/components/molecules/RadioGroup/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/RadioGroup/useRadioGroup.d.ts +0 -0
- package/dist/{molecules → components/molecules}/RadioGroup/useRadioGroup.js +0 -0
- package/dist/components/molecules/RadioGroup/useRadioGroup.js.map +1 -0
- package/dist/{molecules → components/molecules}/SearchInput/SearchInput.d.ts +0 -0
- package/dist/{molecules → components/molecules}/SearchInput/SearchInput.js +2 -3
- package/dist/components/molecules/SearchInput/SearchInput.js.map +1 -0
- package/dist/{molecules → components/molecules}/SearchInput/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/SearchInput/index.js +0 -0
- package/dist/components/molecules/SearchInput/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/SearchInput/stories/assets/CustomIcon.d.ts +0 -0
- package/dist/{molecules → components/molecules}/SearchInput/stories/assets/CustomIcon.js +0 -0
- package/dist/components/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
- package/dist/{molecules → components/molecules}/SkuSelector/SkuSelector.d.ts +1 -1
- package/dist/{molecules → components/molecules}/SkuSelector/SkuSelector.js +2 -1
- package/dist/components/molecules/SkuSelector/SkuSelector.js.map +1 -0
- package/dist/{molecules → components/molecules}/SkuSelector/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/SkuSelector/index.js +0 -0
- package/dist/components/molecules/SkuSelector/index.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/Table.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/Table.js +0 -0
- package/dist/components/molecules/Table/Table.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/TableBody.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/TableBody.js +0 -0
- package/dist/components/molecules/Table/TableBody.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/TableCell.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/TableCell.js +0 -0
- package/dist/components/molecules/Table/TableCell.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/TableFooter.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/TableFooter.js +0 -0
- package/dist/components/molecules/Table/TableFooter.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/TableHead.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/TableHead.js +0 -0
- package/dist/components/molecules/Table/TableHead.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/TableRow.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/TableRow.js +0 -0
- package/dist/components/molecules/Table/TableRow.js.map +1 -0
- package/dist/{molecules → components/molecules}/Table/index.d.ts +0 -0
- package/dist/{molecules → components/molecules}/Table/index.js +0 -0
- package/dist/components/molecules/Table/index.js.map +1 -0
- package/dist/{organisms → components/organisms}/Hero/Hero.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Hero/Hero.js +0 -0
- package/dist/components/organisms/Hero/Hero.js.map +1 -0
- package/dist/{organisms → components/organisms}/Hero/HeroHeading.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Hero/HeroHeading.js +0 -0
- package/dist/components/organisms/Hero/HeroHeading.js.map +1 -0
- package/dist/{organisms → components/organisms}/Hero/HeroImage.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Hero/HeroImage.js +0 -0
- package/dist/components/organisms/Hero/HeroImage.js.map +1 -0
- package/dist/{organisms → components/organisms}/Hero/index.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Hero/index.js +0 -0
- package/dist/components/organisms/Hero/index.js.map +1 -0
- package/dist/{organisms → components/organisms}/OutOfStock/OutOfStock.d.ts +0 -0
- package/dist/{organisms → components/organisms}/OutOfStock/OutOfStock.js +0 -0
- package/dist/components/organisms/OutOfStock/OutOfStock.js.map +1 -0
- package/dist/{organisms → components/organisms}/OutOfStock/OutOfStockMessage.d.ts +0 -0
- package/dist/{organisms → components/organisms}/OutOfStock/OutOfStockMessage.js +0 -0
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
- package/dist/{organisms → components/organisms}/OutOfStock/OutOfStockTitle.d.ts +0 -0
- package/dist/{organisms → components/organisms}/OutOfStock/OutOfStockTitle.js +0 -0
- package/dist/components/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
- package/dist/{organisms → components/organisms}/OutOfStock/index.d.ts +0 -0
- package/dist/{organisms → components/organisms}/OutOfStock/index.js +0 -0
- package/dist/components/organisms/OutOfStock/index.js.map +1 -0
- package/dist/{organisms → components/organisms}/Tiles/Tile.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Tiles/Tile.js +0 -0
- package/dist/components/organisms/Tiles/Tile.js.map +1 -0
- package/dist/{organisms → components/organisms}/Tiles/Tiles.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Tiles/Tiles.js +0 -0
- package/dist/components/organisms/Tiles/Tiles.js.map +1 -0
- package/dist/{organisms → components/organisms}/Tiles/index.d.ts +0 -0
- package/dist/{organisms → components/organisms}/Tiles/index.js +0 -0
- package/dist/components/organisms/Tiles/index.js.map +1 -0
- package/dist/index.d.ts +77 -92
- package/dist/index.js +39 -46
- package/dist/index.js.map +1 -1
- package/package.json +29 -36
- package/src/assets/ShoppingCart.tsx +50 -0
- package/src/assets/X.tsx +38 -0
- package/src/base/layout.scss +78 -0
- package/src/base/tokens.scss +274 -0
- package/src/base/typography.scss +64 -0
- package/src/components/atoms/Badge/Badge.stories.mdx +156 -0
- package/src/components/atoms/Badge/styles.scss +209 -0
- package/src/components/atoms/Button/Button.stories.mdx +110 -0
- package/src/components/atoms/Button/styles.scss +316 -0
- package/src/components/atoms/Checkbox/styles.scss +155 -0
- package/src/{atoms → components/atoms}/Incentive/Incentive.tsx +0 -0
- package/src/{atoms → components/atoms}/Incentive/index.tsx +0 -0
- package/src/{atoms → components/atoms}/Incentive/stories/Incentive.mdx +0 -0
- package/src/{atoms → components/atoms}/Incentive/stories/Incentive.stories.tsx +0 -0
- package/src/{atoms → components/atoms}/Incentive/stories/assets/Icons.tsx +0 -0
- package/src/{atoms → components/atoms}/Input/Input.tsx +0 -0
- package/src/{atoms → components/atoms}/Input/index.ts +0 -0
- package/src/{atoms → components/atoms}/Input/stories/Input.mdx +0 -0
- package/src/{atoms → components/atoms}/Input/stories/Input.stories.tsx +1 -1
- package/src/components/atoms/Label/Label.stories.mdx +65 -0
- package/src/{atoms → components/atoms}/Link/Link.tsx +1 -1
- package/src/{atoms → components/atoms}/Link/index.tsx +0 -0
- package/src/{atoms → components/atoms}/Link/stories/Link.mdx +0 -0
- package/src/{atoms → components/atoms}/Link/stories/Link.stories.tsx +0 -0
- package/src/{atoms → components/atoms}/List/List.tsx +0 -0
- package/src/{atoms → components/atoms}/List/index.ts +0 -0
- package/src/{atoms → components/atoms}/List/stories/List.mdx +0 -0
- package/src/{atoms → components/atoms}/List/stories/List.stories.tsx +1 -1
- package/src/components/atoms/Overlay/styles.scss +14 -0
- package/src/{atoms → components/atoms}/Popover/Popover.tsx +0 -0
- package/src/{atoms → components/atoms}/Popover/index.ts +0 -0
- package/src/{atoms → components/atoms}/Popover/stories/Popover.mdx +0 -0
- package/src/{atoms → components/atoms}/Popover/stories/Popover.stories.tsx +1 -1
- package/src/{atoms → components/atoms}/Price/Price.tsx +0 -0
- package/src/{atoms → components/atoms}/Price/index.ts +0 -0
- package/src/{atoms → components/atoms}/Price/stories/Price.mdx +0 -0
- package/src/{atoms → components/atoms}/Price/stories/Price.stories.tsx +1 -1
- package/src/components/atoms/Radio/Radio.stories.mdx +101 -0
- package/src/components/atoms/Radio/styles.scss +108 -0
- package/src/{atoms → components/atoms}/Select/Select.tsx +0 -0
- package/src/{atoms → components/atoms}/Select/index.ts +0 -0
- package/src/{atoms → components/atoms}/Select/stories/Select.mdx +0 -0
- package/src/{atoms → components/atoms}/Select/stories/Select.stories.tsx +1 -1
- package/src/{atoms → components/atoms}/Skeleton/Skeleton.tsx +0 -0
- package/src/{atoms → components/atoms}/Skeleton/index.ts +0 -0
- package/src/{atoms → components/atoms}/Skeleton/stories/Skeleton.mdx +0 -0
- package/src/{atoms → components/atoms}/Skeleton/stories/Skeleton.stories.tsx +0 -0
- package/src/{atoms → components/atoms}/Slider/Slider.tsx +0 -0
- package/src/{atoms → components/atoms}/Slider/index.ts +0 -0
- package/src/{atoms → components/atoms}/Slider/stories/Slider.mdx +0 -0
- package/src/{atoms → components/atoms}/Slider/stories/Slider.stories.tsx +1 -1
- package/src/{atoms → components/atoms}/Spinner/Spinner.tsx +0 -0
- package/src/{atoms → components/atoms}/Spinner/index.tsx +0 -0
- package/src/{atoms → components/atoms}/Spinner/stories/Spinner.mdx +0 -0
- package/src/{atoms → components/atoms}/Spinner/stories/Spinner.stories.tsx +0 -0
- package/src/{atoms → components/atoms}/TextArea/TextArea.tsx +0 -0
- package/src/{atoms → components/atoms}/TextArea/index.ts +0 -0
- package/src/{atoms → components/atoms}/TextArea/stories/TextArea.mdx +0 -0
- package/src/{atoms → components/atoms}/TextArea/stories/TextArea.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Accordion/Accordion.tsx +0 -0
- package/src/{molecules → components/molecules}/Accordion/AccordionButton.tsx +4 -4
- package/src/{molecules → components/molecules}/Accordion/AccordionItem.tsx +1 -1
- package/src/{molecules → components/molecules}/Accordion/AccordionPanel.tsx +0 -0
- package/src/{molecules → components/molecules}/Accordion/index.ts +0 -0
- package/src/{molecules → components/molecules}/Accordion/stories/Accordion.mdx +0 -0
- package/src/{molecules → components/molecules}/Accordion/stories/Accordion.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/AggregateRating/AggregateRating.tsx +0 -0
- package/src/{molecules → components/molecules}/AggregateRating/index.ts +0 -0
- package/src/{molecules → components/molecules}/AggregateRating/stories/AggregateRating.mdx +0 -0
- package/src/{molecules → components/molecules}/AggregateRating/stories/AggregateRating.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Alert/Alert.tsx +0 -0
- package/src/{molecules → components/molecules}/Alert/index.ts +0 -0
- package/src/{molecules → components/molecules}/Alert/stories/Alert.mdx +0 -0
- package/src/{molecules → components/molecules}/Alert/stories/Alert.stories.tsx +3 -3
- package/src/{molecules → components/molecules}/Banner/Banner.tsx +0 -0
- package/src/{molecules → components/molecules}/Banner/BannerContent.tsx +0 -0
- package/src/{molecules → components/molecules}/Banner/BannerImage.tsx +0 -0
- package/src/{molecules → components/molecules}/Banner/BannerLink.tsx +0 -0
- package/src/{molecules → components/molecules}/Banner/index.ts +0 -0
- package/src/{molecules → components/molecules}/Banner/stories/Banner.mdx +0 -0
- package/src/{molecules → components/molecules}/Banner/stories/Banner.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Breadcrumb/Breadcrumb.tsx +0 -0
- package/src/{molecules → components/molecules}/Breadcrumb/index.ts +0 -0
- package/src/{molecules → components/molecules}/Breadcrumb/stories/Breadcrumb.mdx +0 -0
- package/src/{molecules → components/molecules}/Breadcrumb/stories/Breadcrumb.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Bullets/Bullets.tsx +1 -1
- package/src/{molecules → components/molecules}/Bullets/index.ts +0 -0
- package/src/{molecules → components/molecules}/Bullets/stories/Bullets.mdx +0 -0
- package/src/{molecules → components/molecules}/Bullets/stories/Bullets.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Card/Card.tsx +0 -0
- package/src/{molecules → components/molecules}/Card/CardActions.tsx +0 -0
- package/src/{molecules → components/molecules}/Card/CardContent.tsx +0 -0
- package/src/{molecules → components/molecules}/Card/CardImage.tsx +0 -0
- package/src/{molecules → components/molecules}/Card/index.tsx +0 -0
- package/src/{molecules → components/molecules}/Card/stories/Card.mdx +0 -0
- package/src/{molecules → components/molecules}/Card/stories/Card.stories.tsx +5 -5
- package/src/{molecules → components/molecules}/Carousel/Arrows.tsx +0 -0
- package/src/{molecules → components/molecules}/Carousel/Carousel.tsx +2 -2
- package/src/{molecules → components/molecules}/Carousel/CarouselItem.tsx +1 -1
- package/src/{molecules → components/molecules}/Carousel/hooks/useSlideVisibility.ts +0 -0
- package/src/{molecules → components/molecules}/Carousel/index.ts +0 -0
- package/src/{molecules → components/molecules}/Carousel/stories/Carousel.mdx +0 -0
- package/src/{molecules → components/molecules}/Carousel/stories/Carousel.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/CartItem/CartItem.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/CartItemActions.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/CartItemContent.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/CartItemImage.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/CartItemPrices.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/CartItemSummary.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/CartItemTitle.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/index.tsx +0 -0
- package/src/{molecules → components/molecules}/CartItem/stories/CartItem.mdx +0 -0
- package/src/{molecules → components/molecules}/CartItem/stories/CartItem.stories.tsx +1 -1
- package/src/components/molecules/CheckboxField/CheckboxField.stories.mdx +38 -0
- package/src/components/molecules/CheckboxField/styles.scss +12 -0
- package/src/{molecules → components/molecules}/Dropdown/Dropdown.tsx +0 -0
- package/src/{molecules → components/molecules}/Dropdown/DropdownButton.tsx +0 -0
- package/src/{molecules → components/molecules}/Dropdown/DropdownItem.tsx +0 -0
- package/src/{molecules → components/molecules}/Dropdown/DropdownMenu.tsx +0 -0
- package/src/{molecules → components/molecules}/Dropdown/contexts/DropdownContext.ts +0 -0
- package/src/{molecules → components/molecules}/Dropdown/hooks/useDropdown.ts +0 -0
- package/src/{molecules → components/molecules}/Dropdown/hooks/useDropdownPosition.ts +0 -0
- package/src/{molecules → components/molecules}/Dropdown/index.ts +0 -0
- package/src/{molecules → components/molecules}/Dropdown/stories/Dropdown.mdx +0 -0
- package/src/{molecules → components/molecules}/Dropdown/stories/Dropdown.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Dropdown/stories/assets/Caret.tsx +0 -0
- package/src/{molecules → components/molecules}/Form/Form.tsx +0 -0
- package/src/{molecules → components/molecules}/Form/index.ts +0 -0
- package/src/{molecules → components/molecules}/Form/stories/Form.mdx +0 -0
- package/src/{molecules → components/molecules}/Form/stories/Form.stories.tsx +2 -1
- package/src/{molecules → components/molecules}/Gift/Gift.tsx +2 -3
- package/src/{molecules → components/molecules}/Gift/GiftContent.tsx +0 -0
- package/src/{molecules → components/molecules}/Gift/GiftImage.tsx +0 -0
- package/src/{molecules → components/molecules}/Gift/index.tsx +0 -0
- package/src/{molecules → components/molecules}/Gift/stories/Gift.mdx +0 -0
- package/src/{molecules → components/molecules}/Gift/stories/Gift.stories.tsx +1 -1
- package/src/components/molecules/IconButton/IconButton.stories.mdx +47 -0
- package/src/{molecules → components/molecules}/LoadingButton/LoadingButton.tsx +3 -8
- package/src/{molecules → components/molecules}/LoadingButton/index.tsx +0 -0
- package/src/{molecules → components/molecules}/LoadingButton/stories/LoadingButton.mdx +0 -0
- package/src/{molecules → components/molecules}/LoadingButton/stories/LoadingButton.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Modal/Modal.tsx +2 -3
- package/src/{molecules → components/molecules}/Modal/ModalContent.tsx +0 -0
- package/src/{molecules → components/molecules}/Modal/index.tsx +0 -0
- package/src/{molecules → components/molecules}/Modal/stories/Modal.mdx +0 -2
- package/src/{molecules → components/molecules}/Modal/stories/Modal.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Modal/useTrapFocus.ts +0 -0
- package/src/{molecules → components/molecules}/OrderSummary/OrderSummary.tsx +0 -0
- package/src/{molecules → components/molecules}/OrderSummary/index.tsx +0 -0
- package/src/{molecules → components/molecules}/OrderSummary/stories/OrderSummary.mdx +0 -0
- package/src/{molecules → components/molecules}/OrderSummary/stories/OrderSummary.stories.tsx +0 -0
- package/src/{molecules → components/molecules}/PaymentMethods/PaymentMethods.tsx +0 -0
- package/src/{molecules → components/molecules}/PaymentMethods/index.tsx +0 -0
- package/src/{molecules → components/molecules}/PaymentMethods/stories/PaymentMethods.mdx +0 -0
- package/src/{molecules → components/molecules}/PaymentMethods/stories/PaymentMethods.stories.tsx +0 -0
- package/src/{molecules → components/molecules}/PaymentMethods/stories/assets/Icons.tsx +0 -0
- package/src/{molecules → components/molecules}/PriceRange/PriceRange.tsx +0 -0
- package/src/{molecules → components/molecules}/PriceRange/index.ts +0 -0
- package/src/{molecules → components/molecules}/PriceRange/stories/PriceRange.mdx +0 -0
- package/src/{molecules → components/molecules}/PriceRange/stories/PriceRange.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/ProductCard/ProductCard.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductCard/ProductCardActions.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductCard/ProductCardContent.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductCard/ProductCardImage.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductCard/index.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductCard/stories/ProductCard.mdx +0 -0
- package/src/{molecules → components/molecules}/ProductCard/stories/ProductCard.stories.tsx +1 -2
- package/src/{molecules → components/molecules}/ProductTitle/ProductTitle.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductTitle/index.tsx +0 -0
- package/src/{molecules → components/molecules}/ProductTitle/stories/ProductTitle.mdx +0 -0
- package/src/{molecules → components/molecules}/ProductTitle/stories/ProductTitle.stories.tsx +3 -3
- package/src/{molecules → components/molecules}/QuantitySelector/QuantitySelector.tsx +2 -2
- package/src/{molecules → components/molecules}/QuantitySelector/index.ts +0 -0
- package/src/{molecules → components/molecules}/QuantitySelector/stories/QuantitySelector.mdx +0 -0
- package/src/{molecules → components/molecules}/QuantitySelector/stories/QuantitySelector.stories.tsx +0 -0
- package/src/{molecules → components/molecules}/QuantitySelector/stories/assets/Icons.tsx +0 -0
- package/src/components/molecules/RadioField/RadioField.stories.mdx +38 -0
- package/src/components/molecules/RadioField/styles.scss +12 -0
- package/src/{molecules → components/molecules}/RadioGroup/RadioGroup.tsx +0 -0
- package/src/{molecules → components/molecules}/RadioGroup/RadioOption.tsx +1 -1
- package/src/{molecules → components/molecules}/RadioGroup/index.tsx +0 -0
- package/src/{molecules → components/molecules}/RadioGroup/stories/RadioGroup.mdx +0 -0
- package/src/{molecules → components/molecules}/RadioGroup/stories/RadioGroup.stories.tsx +0 -0
- package/src/{molecules → components/molecules}/RadioGroup/useRadioGroup.ts +0 -0
- package/src/{molecules → components/molecules}/SearchInput/SearchInput.tsx +2 -3
- package/src/{molecules → components/molecules}/SearchInput/index.ts +0 -0
- package/src/{molecules → components/molecules}/SearchInput/stories/SearchInput.mdx +0 -0
- package/src/{molecules → components/molecules}/SearchInput/stories/SearchInput.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/SearchInput/stories/assets/CustomIcon.tsx +0 -0
- package/src/{molecules → components/molecules}/SkuSelector/SkuSelector.tsx +3 -2
- package/src/{molecules → components/molecules}/SkuSelector/index.tsx +0 -0
- package/src/{molecules → components/molecules}/SkuSelector/stories/SkuSelector.mdx +0 -0
- package/src/{molecules → components/molecules}/SkuSelector/stories/SkuSelector.stories.tsx +1 -1
- package/src/{molecules → components/molecules}/Table/Table.tsx +0 -0
- package/src/{molecules → components/molecules}/Table/TableBody.tsx +0 -0
- package/src/{molecules → components/molecules}/Table/TableCell.tsx +0 -0
- package/src/{molecules → components/molecules}/Table/TableFooter.tsx +0 -0
- package/src/{molecules → components/molecules}/Table/TableHead.tsx +0 -0
- package/src/{molecules → components/molecules}/Table/TableRow.tsx +0 -0
- package/src/{molecules → components/molecules}/Table/index.ts +0 -0
- package/src/{molecules → components/molecules}/Table/stories/Table.mdx +0 -0
- package/src/{molecules → components/molecules}/Table/stories/Table.stories.tsx +0 -0
- package/src/components/molecules/Tag/Tag.stories.mdx +31 -0
- package/src/components/molecules/Tag/styles.scss +99 -0
- package/src/{organisms → components/organisms}/Hero/Hero.tsx +0 -0
- package/src/{organisms → components/organisms}/Hero/HeroHeading.tsx +0 -0
- package/src/{organisms → components/organisms}/Hero/HeroImage.tsx +0 -0
- package/src/{organisms → components/organisms}/Hero/index.tsx +0 -0
- package/src/{organisms → components/organisms}/Hero/stories/Hero.mdx +0 -0
- package/src/{organisms → components/organisms}/Hero/stories/Hero.stories.tsx +1 -1
- package/src/{organisms → components/organisms}/OutOfStock/OutOfStock.tsx +0 -0
- package/src/{organisms → components/organisms}/OutOfStock/OutOfStockMessage.tsx +0 -0
- package/src/{organisms → components/organisms}/OutOfStock/OutOfStockTitle.tsx +0 -0
- package/src/{organisms → components/organisms}/OutOfStock/index.tsx +0 -0
- package/src/{organisms → components/organisms}/OutOfStock/stories/OutOfStock.mdx +0 -0
- package/src/{organisms → components/organisms}/OutOfStock/stories/OutOfStock.stories.tsx +1 -1
- package/src/{organisms → components/organisms}/Tiles/Tile.tsx +0 -0
- package/src/{organisms → components/organisms}/Tiles/Tiles.tsx +0 -0
- package/src/{organisms → components/organisms}/Tiles/index.ts +0 -0
- package/src/{organisms → components/organisms}/Tiles/stories/Tiles.mdx +0 -0
- package/src/{organisms → components/organisms}/Tiles/stories/Tiles.stories.tsx +0 -0
- package/src/index.ts +95 -100
- package/src/styles/base.scss +3 -0
- package/src/styles/components.scss +11 -0
- package/src/styles/global.scss +4 -0
- package/src/styles/reset.scss +54 -0
- package/src/styles/utilities.scss +75 -0
- package/src/typings/utils.d.ts +2 -2
- 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.js.map +0 -1
- package/dist/atoms/Incentive/index.js.map +0 -1
- package/dist/atoms/Incentive/stories/assets/Icons.js.map +0 -1
- package/dist/atoms/Input/Input.js.map +0 -1
- 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.js.map +0 -1
- package/dist/atoms/Link/index.js.map +0 -1
- package/dist/atoms/List/List.js.map +0 -1
- 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.js.map +0 -1
- package/dist/atoms/Popover/index.js.map +0 -1
- package/dist/atoms/Price/Price.js.map +0 -1
- 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.js.map +0 -1
- package/dist/atoms/Select/index.js.map +0 -1
- package/dist/atoms/Skeleton/Skeleton.js.map +0 -1
- package/dist/atoms/Skeleton/index.js.map +0 -1
- package/dist/atoms/Slider/Slider.js.map +0 -1
- package/dist/atoms/Slider/index.js.map +0 -1
- package/dist/atoms/Spinner/Spinner.js.map +0 -1
- package/dist/atoms/Spinner/index.js.map +0 -1
- package/dist/atoms/TextArea/TextArea.js.map +0 -1
- package/dist/atoms/TextArea/index.js.map +0 -1
- package/dist/molecules/Accordion/Accordion.js.map +0 -1
- package/dist/molecules/Accordion/AccordionButton.js.map +0 -1
- package/dist/molecules/Accordion/AccordionItem.js.map +0 -1
- package/dist/molecules/Accordion/AccordionPanel.js.map +0 -1
- package/dist/molecules/Accordion/index.js.map +0 -1
- package/dist/molecules/AggregateRating/AggregateRating.js.map +0 -1
- package/dist/molecules/AggregateRating/index.js.map +0 -1
- package/dist/molecules/Alert/Alert.js.map +0 -1
- package/dist/molecules/Alert/index.js.map +0 -1
- package/dist/molecules/Banner/Banner.js.map +0 -1
- package/dist/molecules/Banner/BannerContent.js.map +0 -1
- package/dist/molecules/Banner/BannerImage.js.map +0 -1
- package/dist/molecules/Banner/BannerLink.js.map +0 -1
- package/dist/molecules/Banner/index.js.map +0 -1
- package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
- package/dist/molecules/Breadcrumb/index.js.map +0 -1
- package/dist/molecules/Bullets/Bullets.js.map +0 -1
- package/dist/molecules/Bullets/index.js.map +0 -1
- package/dist/molecules/Card/Card.js.map +0 -1
- package/dist/molecules/Card/CardActions.js.map +0 -1
- package/dist/molecules/Card/CardContent.js.map +0 -1
- package/dist/molecules/Card/CardImage.js.map +0 -1
- package/dist/molecules/Card/index.js.map +0 -1
- package/dist/molecules/Carousel/Arrows.js.map +0 -1
- package/dist/molecules/Carousel/Carousel.js.map +0 -1
- package/dist/molecules/Carousel/CarouselItem.js.map +0 -1
- package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
- package/dist/molecules/Carousel/index.js.map +0 -1
- package/dist/molecules/CartItem/CartItem.js.map +0 -1
- package/dist/molecules/CartItem/CartItemActions.js.map +0 -1
- package/dist/molecules/CartItem/CartItemContent.js.map +0 -1
- package/dist/molecules/CartItem/CartItemImage.js.map +0 -1
- package/dist/molecules/CartItem/CartItemPrices.js.map +0 -1
- package/dist/molecules/CartItem/CartItemSummary.js.map +0 -1
- package/dist/molecules/CartItem/CartItemTitle.js.map +0 -1
- package/dist/molecules/CartItem/index.js.map +0 -1
- package/dist/molecules/Dropdown/Dropdown.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownButton.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownItem.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownMenu.js.map +0 -1
- package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +0 -1
- package/dist/molecules/Dropdown/hooks/useDropdown.js.map +0 -1
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +0 -1
- package/dist/molecules/Dropdown/index.js.map +0 -1
- package/dist/molecules/Dropdown/stories/assets/Caret.js.map +0 -1
- package/dist/molecules/Form/Form.js.map +0 -1
- package/dist/molecules/Form/index.js.map +0 -1
- package/dist/molecules/Gift/Gift.js.map +0 -1
- package/dist/molecules/Gift/GiftContent.js.map +0 -1
- package/dist/molecules/Gift/GiftImage.js.map +0 -1
- 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.js.map +0 -1
- package/dist/molecules/LoadingButton/index.js.map +0 -1
- package/dist/molecules/Modal/Modal.js.map +0 -1
- package/dist/molecules/Modal/ModalContent.js.map +0 -1
- package/dist/molecules/Modal/index.js.map +0 -1
- package/dist/molecules/Modal/useTrapFocus.js.map +0 -1
- package/dist/molecules/OrderSummary/OrderSummary.js.map +0 -1
- package/dist/molecules/OrderSummary/index.js.map +0 -1
- package/dist/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
- package/dist/molecules/PaymentMethods/index.js.map +0 -1
- package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +0 -1
- package/dist/molecules/PriceRange/PriceRange.js.map +0 -1
- package/dist/molecules/PriceRange/index.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCard.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardActions.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardContent.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardImage.js.map +0 -1
- package/dist/molecules/ProductCard/index.js.map +0 -1
- package/dist/molecules/ProductTitle/ProductTitle.js.map +0 -1
- package/dist/molecules/ProductTitle/index.js.map +0 -1
- package/dist/molecules/QuantitySelector/QuantitySelector.js.map +0 -1
- package/dist/molecules/QuantitySelector/index.js.map +0 -1
- package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +0 -1
- package/dist/molecules/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/molecules/RadioGroup/RadioOption.js.map +0 -1
- package/dist/molecules/RadioGroup/index.js.map +0 -1
- package/dist/molecules/RadioGroup/useRadioGroup.js.map +0 -1
- package/dist/molecules/SearchInput/SearchInput.js.map +0 -1
- package/dist/molecules/SearchInput/index.js.map +0 -1
- package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +0 -1
- package/dist/molecules/SkuSelector/SkuSelector.js.map +0 -1
- package/dist/molecules/SkuSelector/index.js.map +0 -1
- package/dist/molecules/Table/Table.js.map +0 -1
- package/dist/molecules/Table/TableBody.js.map +0 -1
- package/dist/molecules/Table/TableCell.js.map +0 -1
- package/dist/molecules/Table/TableFooter.js.map +0 -1
- package/dist/molecules/Table/TableHead.js.map +0 -1
- package/dist/molecules/Table/TableRow.js.map +0 -1
- package/dist/molecules/Table/index.js.map +0 -1
- package/dist/organisms/Hero/Hero.js.map +0 -1
- package/dist/organisms/Hero/HeroHeading.js.map +0 -1
- package/dist/organisms/Hero/HeroImage.js.map +0 -1
- package/dist/organisms/Hero/index.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStock.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
- package/dist/organisms/OutOfStock/index.js.map +0 -1
- package/dist/organisms/Tiles/Tile.js.map +0 -1
- package/dist/organisms/Tiles/Tiles.js.map +0 -1
- 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/utils/toHaveNoIncomplete.d.ts +0 -17
- package/dist/utils/toHaveNoIncomplete.js +0 -43
- package/dist/utils/toHaveNoIncomplete.js.map +0 -1
- package/src/atoms/Badge/Badge.test.tsx +0 -23
- package/src/atoms/Badge/Badge.tsx +0 -23
- package/src/atoms/Badge/index.ts +0 -2
- package/src/atoms/Badge/stories/Badge.mdx +0 -18
- package/src/atoms/Badge/stories/Badge.stories.tsx +0 -37
- package/src/atoms/Button/Button.test.tsx +0 -12
- package/src/atoms/Button/Button.tsx +0 -23
- package/src/atoms/Button/index.ts +0 -2
- package/src/atoms/Button/stories/Button.mdx +0 -18
- package/src/atoms/Button/stories/Button.stories.tsx +0 -36
- package/src/atoms/Checkbox/Checkbox.test.tsx +0 -65
- package/src/atoms/Checkbox/Checkbox.tsx +0 -27
- package/src/atoms/Checkbox/index.ts +0 -2
- package/src/atoms/Checkbox/stories/Checkbox.mdx +0 -18
- package/src/atoms/Checkbox/stories/Checkbox.stories.tsx +0 -65
- package/src/atoms/Icon/Icon.test.tsx +0 -43
- package/src/atoms/Icon/Icon.tsx +0 -26
- package/src/atoms/Icon/index.ts +0 -2
- package/src/atoms/Icon/stories/Icon.mdx +0 -18
- package/src/atoms/Icon/stories/Icon.stories.tsx +0 -40
- package/src/atoms/Icon/stories/assets/ShoppingCart.tsx +0 -23
- package/src/atoms/Incentive/Incentive.test.tsx +0 -36
- package/src/atoms/Input/Input.test.tsx +0 -73
- package/src/atoms/Label/Label.test.tsx +0 -71
- package/src/atoms/Label/Label.tsx +0 -22
- package/src/atoms/Label/index.ts +0 -2
- package/src/atoms/Label/stories/Label.mdx +0 -18
- package/src/atoms/Label/stories/Label.stories.tsx +0 -30
- package/src/atoms/Link/Link.test.tsx +0 -53
- package/src/atoms/List/List.test.tsx +0 -195
- package/src/atoms/Overlay/Overlay.test.tsx +0 -23
- package/src/atoms/Overlay/Overlay.tsx +0 -26
- package/src/atoms/Overlay/index.ts +0 -2
- package/src/atoms/Overlay/stories/Overlay.mdx +0 -18
- package/src/atoms/Overlay/stories/Overlay.stories.tsx +0 -48
- package/src/atoms/Popover/Popover.test.tsx +0 -39
- package/src/atoms/Price/Price.test.tsx +0 -63
- package/src/atoms/Radio/Radio.test.tsx +0 -59
- package/src/atoms/Radio/Radio.tsx +0 -24
- package/src/atoms/Radio/index.ts +0 -2
- package/src/atoms/Radio/stories/Radio.mdx +0 -18
- package/src/atoms/Radio/stories/Radio.stories.tsx +0 -41
- package/src/atoms/Select/Select.test.tsx +0 -71
- package/src/atoms/Skeleton/Skeleton.test.tsx +0 -13
- package/src/atoms/Slider/Slider.test.tsx +0 -32
- package/src/atoms/Spinner/Spinner.test.tsx +0 -12
- package/src/atoms/TextArea/TextArea.test.tsx +0 -77
- package/src/hooks/useSlider/useSlider.test.ts +0 -176
- package/src/molecules/Accordion/Accordion.test.tsx +0 -226
- package/src/molecules/AggregateRating/AggregateRating.test.tsx +0 -87
- package/src/molecules/Alert/Alert.test.tsx +0 -23
- package/src/molecules/Banner/Banner.test.tsx +0 -67
- package/src/molecules/Breadcrumb/Breadcrumb.test.tsx +0 -124
- package/src/molecules/Bullets/Bullets.test.tsx +0 -128
- package/src/molecules/Card/Card.test.tsx +0 -68
- package/src/molecules/Carousel/Carousel.test.tsx +0 -587
- package/src/molecules/Carousel/hooks/hooks.test.ts +0 -109
- package/src/molecules/CartItem/CartItem.test.tsx +0 -79
- package/src/molecules/Dropdown/Dropdown.test.tsx +0 -275
- package/src/molecules/Form/Form.test.tsx +0 -61
- package/src/molecules/Gift/Gift.test.tsx +0 -53
- package/src/molecules/IconButton/IconButton.test.tsx +0 -31
- package/src/molecules/IconButton/IconButton.tsx +0 -35
- package/src/molecules/IconButton/index.tsx +0 -2
- package/src/molecules/IconButton/stories/IconButton.mdx +0 -27
- package/src/molecules/IconButton/stories/IconButton.stories.tsx +0 -35
- package/src/molecules/LoadingButton/LoadingButton.test.tsx +0 -14
- package/src/molecules/Modal/Modal.test.tsx +0 -241
- package/src/molecules/OrderSummary/OrderSummary.test.tsx +0 -103
- package/src/molecules/PaymentMethods/PaymentMethods.test.tsx +0 -37
- package/src/molecules/PriceRange/PriceRange.test.tsx +0 -70
- package/src/molecules/ProductCard/ProductCard.test.tsx +0 -75
- package/src/molecules/QuantitySelector/QuantitySelector.test.tsx +0 -93
- package/src/molecules/RadioGroup/RadioGroup.test.tsx +0 -107
- package/src/molecules/SearchInput/SearchInput.test.tsx +0 -34
- package/src/molecules/SkuSelector/SkuSelector.test.tsx +0 -42
- package/src/molecules/Table/Table.test.tsx +0 -233
- package/src/organisms/Hero/Hero.test.tsx +0 -60
- package/src/organisms/OutOfStock/OutOfStock.test.tsx +0 -122
- package/src/setupTests.ts +0 -7
- package/src/utils/toHaveNoIncomplete.ts +0 -76
|
@@ -3,7 +3,7 @@ import type { PropsWithChildren } from 'react'
|
|
|
3
3
|
import type { Meta, Story } from '@storybook/react'
|
|
4
4
|
|
|
5
5
|
import { Caret } from './assets/Caret'
|
|
6
|
-
import Button from '
|
|
6
|
+
import { Button } from '@faststore/components'
|
|
7
7
|
import type { DropdownProps } from '..'
|
|
8
8
|
import Dropdown, { DropdownButton, DropdownItem, DropdownMenu } from '..'
|
|
9
9
|
import mdx from './Dropdown.mdx'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { Story } from '@storybook/react'
|
|
2
2
|
import React, { useState } from 'react'
|
|
3
3
|
|
|
4
|
-
import { Button,
|
|
4
|
+
import { Button, Input } from '../../../../'
|
|
5
5
|
import type { FormProps } from '../Form'
|
|
6
6
|
import Component from '../Form'
|
|
7
7
|
import mdx from './Form.mdx'
|
|
8
|
+
import { Checkbox, Label } from '@faststore/components'
|
|
8
9
|
|
|
9
10
|
const FormTemplate: Story<FormProps> = ({ testId }) => {
|
|
10
11
|
const [name, setName] = useState<string>()
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react'
|
|
1
2
|
import React, { forwardRef } from 'react'
|
|
2
|
-
import type { HTMLAttributes } from 'react'
|
|
3
|
-
import type { ReactNode } from 'react'
|
|
4
3
|
|
|
5
|
-
import Icon from '
|
|
4
|
+
import { Icon } from '@faststore/components'
|
|
6
5
|
|
|
7
6
|
export interface GiftProps extends HTMLAttributes<HTMLDivElement> {
|
|
8
7
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Story, Meta } from '@storybook/react'
|
|
2
2
|
import React, { useMemo } from 'react'
|
|
3
3
|
|
|
4
|
-
import Badge from '
|
|
4
|
+
import Badge from '@faststore/components'
|
|
5
5
|
import Price from '../../../atoms/Price/Price'
|
|
6
6
|
// Gift components
|
|
7
7
|
import GiftComponent from '../Gift'
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
+
|
|
3
|
+
import { IconButton } from '@faststore/components'
|
|
4
|
+
import { ShoppingCart } from '../../../assets'
|
|
5
|
+
|
|
6
|
+
<Meta
|
|
7
|
+
title="Molecules/IconButton"
|
|
8
|
+
component={IconButton}
|
|
9
|
+
argTypes={{
|
|
10
|
+
variant: {
|
|
11
|
+
options: ['primary', 'secondary', 'tertiary'],
|
|
12
|
+
control: { type: 'select' },
|
|
13
|
+
description: 'Specifies the component color variant.',
|
|
14
|
+
},
|
|
15
|
+
}}
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
export const Template = ({ args }) => (
|
|
19
|
+
<IconButton icon={<ShoppingCart />} aria-label="Buy" />
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
<header>
|
|
23
|
+
|
|
24
|
+
# IconButton
|
|
25
|
+
|
|
26
|
+
</header>
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
```jsx
|
|
31
|
+
import { IconButton } from '@faststore/ui'
|
|
32
|
+
// Styles
|
|
33
|
+
import '@faststore/ui/src/components/atoms/Button/styles.scss'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
<Canvas>
|
|
37
|
+
<Story
|
|
38
|
+
name="default"
|
|
39
|
+
args={{ id: 'icon-button-default', variant: 'secondary' }}
|
|
40
|
+
>
|
|
41
|
+
{Template.bind({})}
|
|
42
|
+
</Story>
|
|
43
|
+
</Canvas>
|
|
44
|
+
|
|
45
|
+
<ArgsTable story="default" />
|
|
46
|
+
|
|
47
|
+
This component inherits [Button](?path=/docs/atoms-button--button#css-selectors) css selectors & styles.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react'
|
|
2
2
|
|
|
3
|
-
import Button from '
|
|
4
|
-
import type { ButtonProps } from '
|
|
3
|
+
import { Button } from '@faststore/components'
|
|
4
|
+
import type { ButtonProps } from '@faststore/components'
|
|
5
5
|
import Spinner from '../../atoms/Spinner'
|
|
6
6
|
|
|
7
7
|
export interface LoadingButtonProps extends ButtonProps {
|
|
@@ -21,12 +21,7 @@ const LoadingButton = forwardRef<HTMLButtonElement, LoadingButtonProps>(
|
|
|
21
21
|
ref
|
|
22
22
|
) {
|
|
23
23
|
return (
|
|
24
|
-
<Button
|
|
25
|
-
ref={ref}
|
|
26
|
-
data-fs-loading-button
|
|
27
|
-
testId={testId}
|
|
28
|
-
{...otherProps}
|
|
29
|
-
>
|
|
24
|
+
<Button ref={ref} data-fs-loading-button testId={testId} {...otherProps}>
|
|
30
25
|
{loading ? <Spinner /> : children}
|
|
31
26
|
</Button>
|
|
32
27
|
)
|
|
File without changes
|
|
File without changes
|
package/src/{molecules → components/molecules}/LoadingButton/stories/LoadingButton.stories.tsx
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Story } from '@storybook/react'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
|
-
import type { ComponentArgTypes } from '
|
|
4
|
+
import type { ComponentArgTypes } from '../../../../typings/utils'
|
|
5
5
|
import type { LoadingButtonProps } from '../LoadingButton'
|
|
6
6
|
import Component from '../LoadingButton'
|
|
7
7
|
import mdx from './LoadingButton.mdx'
|
|
@@ -7,9 +7,9 @@ import type {
|
|
|
7
7
|
import React from 'react'
|
|
8
8
|
import { createPortal } from 'react-dom'
|
|
9
9
|
|
|
10
|
-
import Overlay from '
|
|
11
|
-
import ModalContent from './ModalContent'
|
|
10
|
+
import { Overlay } from '@faststore/components'
|
|
12
11
|
import type { ModalContentProps } from './ModalContent'
|
|
12
|
+
import ModalContent from './ModalContent'
|
|
13
13
|
|
|
14
14
|
export interface ModalProps extends ModalContentProps {
|
|
15
15
|
/**
|
|
@@ -67,7 +67,6 @@ const Modal = ({
|
|
|
67
67
|
return isOpen
|
|
68
68
|
? createPortal(
|
|
69
69
|
<Overlay
|
|
70
|
-
data-modal-overlay
|
|
71
70
|
onClick={handleBackdropClick}
|
|
72
71
|
onKeyDown={handleBackdropKeyDown}
|
|
73
72
|
>
|
|
File without changes
|
|
File without changes
|
|
@@ -3,7 +3,7 @@ import type { PropsWithChildren } from 'react'
|
|
|
3
3
|
import type { Meta, Story } from '@storybook/react'
|
|
4
4
|
|
|
5
5
|
import type { ModalProps } from '..'
|
|
6
|
-
import Button from '
|
|
6
|
+
import { Button } from '@faststore/components'
|
|
7
7
|
import Component from '../Modal'
|
|
8
8
|
import mdx from './Modal.mdx'
|
|
9
9
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/{molecules → components/molecules}/OrderSummary/stories/OrderSummary.stories.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/{molecules → components/molecules}/PaymentMethods/stories/PaymentMethods.stories.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Meta, Story } from '@storybook/react'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
|
-
import type { ComponentArgTypes } from '
|
|
4
|
+
import type { ComponentArgTypes } from '../../../../typings/utils'
|
|
5
5
|
import type { PriceRangeProps } from '../PriceRange'
|
|
6
6
|
import Component from '../PriceRange'
|
|
7
7
|
import mdx from './PriceRange.mdx'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,8 +3,7 @@ import React from 'react'
|
|
|
3
3
|
|
|
4
4
|
// Atoms
|
|
5
5
|
import Price from '../../../atoms/Price'
|
|
6
|
-
import Badge from '
|
|
7
|
-
import Button from '../../../atoms/Button'
|
|
6
|
+
import { Badge, Button } from '@faststore/components'
|
|
8
7
|
// Card components
|
|
9
8
|
import ProductCardComponent from '../ProductCard'
|
|
10
9
|
import ProductCardImage from '../ProductCardImage'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/{molecules → components/molecules}/ProductTitle/stories/ProductTitle.stories.tsx
RENAMED
|
@@ -4,12 +4,12 @@ import React from 'react'
|
|
|
4
4
|
import type { ProductTitleProps } from '../ProductTitle'
|
|
5
5
|
import Component from '../ProductTitle'
|
|
6
6
|
import mdx from './ProductTitle.mdx'
|
|
7
|
-
import Badge from '
|
|
7
|
+
import Badge from '@faststore/components'
|
|
8
8
|
|
|
9
9
|
const ProductTitleTemplate: Story<ProductTitleProps> = () => (
|
|
10
|
-
<Component
|
|
10
|
+
<Component
|
|
11
11
|
title={<h1>Apple Magic Mouse</h1>}
|
|
12
|
-
refNumber=
|
|
12
|
+
refNumber="99995945"
|
|
13
13
|
label={<Badge>90%</Badge>}
|
|
14
14
|
/>
|
|
15
15
|
)
|
|
@@ -3,8 +3,8 @@ import React, { forwardRef } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import type { InputProps } from '../../atoms/Input'
|
|
5
5
|
import Input from '../../atoms/Input'
|
|
6
|
-
import type { IconButtonProps } from '
|
|
7
|
-
import IconButton from '
|
|
6
|
+
import type { IconButtonProps } from '../../../index'
|
|
7
|
+
import { IconButton } from '../../../index'
|
|
8
8
|
|
|
9
9
|
export interface QuantitySelectorProps
|
|
10
10
|
extends InputHTMLAttributes<HTMLDivElement> {
|
|
File without changes
|
package/src/{molecules → components/molecules}/QuantitySelector/stories/QuantitySelector.mdx
RENAMED
|
File without changes
|
package/src/{molecules → components/molecules}/QuantitySelector/stories/QuantitySelector.stories.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
+
|
|
3
|
+
import { RadioField } from '@faststore/components'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules/RadioField" component={RadioField} argTypes={{}} />
|
|
6
|
+
|
|
7
|
+
export const Template = (args) => (
|
|
8
|
+
<RadioField id="radio-field" label="RadioField" />
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
<header>
|
|
12
|
+
|
|
13
|
+
# RadioField
|
|
14
|
+
|
|
15
|
+
RadioField is composed of a Checkbox input and its corresponding Label. It allows users to select one option from a set.
|
|
16
|
+
|
|
17
|
+
</header>
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
import RadioField from '@faststore/ui'
|
|
23
|
+
// Styles
|
|
24
|
+
import '@faststore/ui/src/components/molecules/RadioField/styles.scss'
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
<Canvas>
|
|
28
|
+
<Story
|
|
29
|
+
name="default"
|
|
30
|
+
args={{
|
|
31
|
+
id: 'radio-default',
|
|
32
|
+
}}
|
|
33
|
+
>
|
|
34
|
+
{Template.bind({})}
|
|
35
|
+
</Story>
|
|
36
|
+
</Canvas>
|
|
37
|
+
|
|
38
|
+
<ArgsTable story="default" />
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[data-fs-radio-field] {
|
|
2
|
+
// --------------------------------------------------------
|
|
3
|
+
// Design Tokens for Radio Field
|
|
4
|
+
// --------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
// Default properties
|
|
7
|
+
--fs-radio-field-gap : var(--fs-spacing-1);
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
column-gap: var(--fs-radio-field-gap);
|
|
12
|
+
};
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InputHTMLAttributes } from 'react'
|
|
2
2
|
import React, { forwardRef } from 'react'
|
|
3
3
|
|
|
4
|
-
import Radio from '
|
|
4
|
+
import { Radio } from '@faststore/components'
|
|
5
5
|
import { useRadioGroup } from './useRadioGroup'
|
|
6
6
|
|
|
7
7
|
export interface RadioOptionProps
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,10 +4,9 @@ import type {
|
|
|
4
4
|
InputHTMLAttributes,
|
|
5
5
|
ReactNode,
|
|
6
6
|
} from 'react'
|
|
7
|
-
import React, {
|
|
7
|
+
import React, { forwardRef, useImperativeHandle, useRef } from 'react'
|
|
8
8
|
|
|
9
|
-
import Button from '
|
|
10
|
-
import Icon from '../../atoms/Icon'
|
|
9
|
+
import { Icon, Button } from '@faststore/components'
|
|
11
10
|
import Input from '../../atoms/Input'
|
|
12
11
|
import Form from '../Form'
|
|
13
12
|
|
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ import type { SearchInputProps } from '../SearchInput'
|
|
|
5
5
|
import Component from '../SearchInput'
|
|
6
6
|
import mdx from './SearchInput.mdx'
|
|
7
7
|
import Icon from './assets/CustomIcon'
|
|
8
|
-
import type { ComponentArgTypes } from '
|
|
8
|
+
import type { ComponentArgTypes } from '../../../../typings/utils'
|
|
9
9
|
|
|
10
10
|
const DefaultTemplate: Story<SearchInputProps> = ({
|
|
11
11
|
onSubmit,
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { ChangeEventHandler, HTMLAttributes } from 'react'
|
|
1
2
|
import React, { forwardRef } from 'react'
|
|
2
|
-
import
|
|
3
|
-
import
|
|
3
|
+
import { Label } from '@faststore/components'
|
|
4
|
+
import RadioGroup from '../RadioGroup'
|
|
4
5
|
|
|
5
6
|
interface SkuProps {
|
|
6
7
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
+
|
|
3
|
+
import { Tag } from '@faststore/components'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules/Tag" component={Tag} argTypes={{}} />
|
|
6
|
+
|
|
7
|
+
export const Template = (args) => (
|
|
8
|
+
<Tag label="Label" variant="warning" onClose={() => {}} />
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
<header>
|
|
12
|
+
|
|
13
|
+
# Tag
|
|
14
|
+
|
|
15
|
+
Tags are an interactive `Badge.` By default, its have a close button.
|
|
16
|
+
|
|
17
|
+
</header>
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
import { Tag } from '@faststore/ui'
|
|
23
|
+
// Styles
|
|
24
|
+
import '@faststore/ui/src/components/molecules/Tag/styles.scss'
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
<Canvas>
|
|
28
|
+
<Story name="default">{Template.bind({})}</Story>
|
|
29
|
+
</Canvas>
|
|
30
|
+
|
|
31
|
+
<ArgsTable story="default" />
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
[data-fs-tag] {
|
|
2
|
+
// --------------------------------------------------------
|
|
3
|
+
// Design Tokens for Tag
|
|
4
|
+
// --------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
// Default properties
|
|
7
|
+
--fs-tag-text-color : var(--fs-color-text);
|
|
8
|
+
|
|
9
|
+
// Icon
|
|
10
|
+
--fs-tag-icon-size : var(--fs-spacing-3);
|
|
11
|
+
--fs-tag-icon-stroke-width : var(--fs-spacing-4);
|
|
12
|
+
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
|
|
17
|
+
[data-fs-badge-wrapper] {
|
|
18
|
+
position: relative;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
padding-right: var(--fs-spacing-6);
|
|
22
|
+
line-height: initial;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-fs-tag-icon-button] {
|
|
26
|
+
position: absolute;
|
|
27
|
+
right: calc(-1 * var(--fs-spacing-1));
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
width: var(--fs-control-tap-size);
|
|
32
|
+
height: var(--fs-control-tap-size);
|
|
33
|
+
color: var(--fs-tag-text-color);
|
|
34
|
+
|
|
35
|
+
> span {
|
|
36
|
+
border: var(--fs-border-width) solid transparent;
|
|
37
|
+
border-radius: var(--fs-border-radius-circle);
|
|
38
|
+
padding: 3px;
|
|
39
|
+
transition: var(--fs-badge-transition-property) var(--fs-badge-transition-timing) var(--fs-badge-transition-function);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:hover > span, &:focus > span {
|
|
43
|
+
filter: brightness(0.90);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:focus > span {
|
|
47
|
+
border: var(--fs-border-width) solid var(--fs-tag-text-color);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
svg {
|
|
51
|
+
width: var(--fs-tag-icon-size);
|
|
52
|
+
height: var(--fs-tag-icon-size);
|
|
53
|
+
stroke-width: var(--fs-tag-icon-stroke-width);
|
|
54
|
+
color: var(--fs-tag-text-color);
|
|
55
|
+
vertical-align: middle;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[data-fs-badge-size="big"] [data-fs-tag-label] {
|
|
60
|
+
padding-top: 1px;
|
|
61
|
+
margin-right: var(--fs-spacing-4);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&[data-fs-badge-variant="warning"] {
|
|
65
|
+
[data-fs-tag-icon-button] > span {
|
|
66
|
+
background-color: var(--fs-badge-warning-bkg-color);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&[data-fs-badge-variant="highlighted"] {
|
|
71
|
+
[data-fs-tag-icon-button] > span {
|
|
72
|
+
background-color: var(--fs-badge-highlighted-bkg-color);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&[data-fs-badge-variant="neutral"] {
|
|
77
|
+
[data-fs-tag-icon-button] > span {
|
|
78
|
+
background-color: var(--fs-badge-neutral-bkg-color);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&[data-fs-badge-variant="info"] {
|
|
83
|
+
[data-fs-tag-icon-button] > span {
|
|
84
|
+
background-color: var(--fs-badge-info-bkg-color);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&[data-fs-badge-variant="danger"] {
|
|
89
|
+
[data-fs-tag-icon-button] > span {
|
|
90
|
+
background-color: var(--fs-badge-danger-bkg-color);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&[data-fs-badge-variant="success"] {
|
|
95
|
+
[data-fs-tag-icon-button] > span {
|
|
96
|
+
background-color: var(--fs-badge-success-bkg-color);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ import HeroComponent from '../Hero'
|
|
|
5
5
|
import HeroImage from '../HeroImage'
|
|
6
6
|
import HeroHeading from '../HeroHeading'
|
|
7
7
|
import type { HeroProps } from '../Hero'
|
|
8
|
-
import { Icon } from '
|
|
8
|
+
import { Icon } from '../../../../'
|
|
9
9
|
import mdx from './Hero.mdx'
|
|
10
10
|
|
|
11
11
|
const RightArrow = () => (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|