@faststore/ui 1.12.23 → 1.12.33
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/dist/{atoms → components/atoms}/Incentive/Incentive.d.ts +0 -0
- package/dist/components/atoms/Incentive/Incentive.js +6 -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/components/atoms/Link/Link.d.ts +19 -0
- 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/components/atoms/Popover/Popover.d.ts +15 -0
- package/dist/components/atoms/Popover/Popover.js +7 -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/components/atoms/Skeleton/Skeleton.js +6 -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/components/atoms/Slider/Slider.d.ts +67 -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/components/atoms/Spinner/Spinner.d.ts +11 -0
- package/dist/components/atoms/Spinner/Spinner.js +6 -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/components/atoms/TextArea/TextArea.js +10 -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/components/molecules/Accordion/AccordionButton.d.ts +10 -0
- package/dist/components/molecules/Accordion/AccordionButton.js +37 -0
- package/dist/components/molecules/Accordion/AccordionButton.js.map +1 -0
- package/dist/components/molecules/Accordion/AccordionItem.d.ts +37 -0
- 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/components/molecules/AggregateRating/AggregateRating.d.ts +18 -0
- package/dist/components/molecules/AggregateRating/AggregateRating.js +26 -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/components/molecules/Alert/Alert.js +6 -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/components/molecules/Banner/Banner.d.ts +14 -0
- package/dist/components/molecules/Banner/Banner.js +6 -0
- package/dist/components/molecules/Banner/Banner.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/BannerContent.d.ts +0 -0
- package/dist/components/molecules/Banner/BannerContent.js +6 -0
- package/dist/components/molecules/Banner/BannerContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/BannerImage.d.ts +0 -0
- package/dist/components/molecules/Banner/BannerImage.js +6 -0
- package/dist/components/molecules/Banner/BannerImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/Banner/BannerLink.d.ts +0 -0
- package/dist/components/molecules/Banner/BannerLink.js +6 -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/components/molecules/Breadcrumb/Breadcrumb.js +38 -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/components/molecules/Bullets/Bullets.js +12 -0
- 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/components/molecules/Card/Card.js +6 -0
- package/dist/components/molecules/Card/Card.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/CardActions.d.ts +0 -0
- package/dist/components/molecules/Card/CardActions.js +6 -0
- package/dist/components/molecules/Card/CardActions.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/CardContent.d.ts +0 -0
- package/dist/components/molecules/Card/CardContent.js +6 -0
- package/dist/components/molecules/Card/CardContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/Card/CardImage.d.ts +0 -0
- package/dist/components/molecules/Card/CardImage.js +6 -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/components/molecules/Carousel/Carousel.js +183 -0
- package/dist/components/molecules/Carousel/Carousel.js.map +1 -0
- package/dist/components/molecules/Carousel/CarouselItem.d.ts +11 -0
- 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/components/molecules/CartItem/CartItem.js +6 -0
- package/dist/components/molecules/CartItem/CartItem.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemActions.d.ts +0 -0
- package/dist/components/molecules/CartItem/CartItemActions.js +6 -0
- package/dist/components/molecules/CartItem/CartItemActions.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemContent.d.ts +0 -0
- package/dist/components/molecules/CartItem/CartItemContent.js +6 -0
- package/dist/components/molecules/CartItem/CartItemContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemImage.d.ts +0 -0
- package/dist/components/molecules/CartItem/CartItemImage.js +6 -0
- package/dist/components/molecules/CartItem/CartItemImage.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemPrices.d.ts +0 -0
- package/dist/components/molecules/CartItem/CartItemPrices.js +6 -0
- package/dist/components/molecules/CartItem/CartItemPrices.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemSummary.d.ts +0 -0
- package/dist/components/molecules/CartItem/CartItemSummary.js +6 -0
- package/dist/components/molecules/CartItem/CartItemSummary.js.map +1 -0
- package/dist/{molecules → components/molecules}/CartItem/CartItemTitle.d.ts +0 -0
- package/dist/components/molecules/CartItem/CartItemTitle.js +6 -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/components/molecules/Form/Form.js +6 -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/components/molecules/Gift/Gift.d.ts +15 -0
- package/dist/components/molecules/Gift/Gift.js +9 -0
- 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/components/molecules/LoadingButton/LoadingButton.d.ts +14 -0
- package/dist/components/molecules/LoadingButton/LoadingButton.js +8 -0
- 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/components/molecules/Modal/Modal.js +31 -0
- package/dist/components/molecules/Modal/Modal.js.map +1 -0
- package/dist/components/molecules/Modal/ModalContent.d.ts +10 -0
- package/dist/components/molecules/Modal/ModalContent.js +23 -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/components/molecules/OrderSummary/OrderSummary.d.ts +35 -0
- package/dist/components/molecules/OrderSummary/OrderSummary.js +16 -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/components/molecules/PaymentMethods/PaymentMethods.js +8 -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/components/molecules/PriceRange/PriceRange.d.ts +47 -0
- package/dist/components/molecules/PriceRange/PriceRange.js +28 -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/components/molecules/ProductCard/ProductCard.js +6 -0
- package/dist/components/molecules/ProductCard/ProductCard.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardActions.d.ts +0 -0
- package/dist/components/molecules/ProductCard/ProductCardActions.js +6 -0
- package/dist/components/molecules/ProductCard/ProductCardActions.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardContent.d.ts +0 -0
- package/dist/components/molecules/ProductCard/ProductCardContent.js +6 -0
- package/dist/components/molecules/ProductCard/ProductCardContent.js.map +1 -0
- package/dist/{molecules → components/molecules}/ProductCard/ProductCardImage.d.ts +0 -0
- package/dist/components/molecules/ProductCard/ProductCardImage.js +6 -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/components/molecules/ProductTitle/ProductTitle.d.ts +47 -0
- package/dist/components/molecules/ProductTitle/ProductTitle.js +12 -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/components/molecules/QuantitySelector/QuantitySelector.d.ts +29 -0
- package/dist/components/molecules/QuantitySelector/QuantitySelector.js +10 -0
- 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/components/molecules/RadioGroup/RadioGroup.d.ts +5 -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/components/molecules/RadioGroup/RadioOption.js +11 -0
- 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/components/molecules/SearchInput/SearchInput.d.ts +28 -0
- package/dist/components/molecules/SearchInput/SearchInput.js +26 -0
- 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/components/molecules/SkuSelector/SkuSelector.d.ts +58 -0
- package/dist/components/molecules/SkuSelector/SkuSelector.js +16 -0
- 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/components/organisms/OutOfStock/OutOfStock.d.ts +21 -0
- package/dist/components/organisms/OutOfStock/OutOfStock.js +8 -0
- package/dist/components/organisms/OutOfStock/OutOfStock.js.map +1 -0
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.d.ts +9 -0
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.js +5 -0
- package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
- package/dist/components/organisms/OutOfStock/OutOfStockTitle.d.ts +9 -0
- package/dist/components/organisms/OutOfStock/OutOfStockTitle.js +5 -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/components/organisms/Tiles/Tile.js +6 -0
- package/dist/components/organisms/Tiles/Tile.js.map +1 -0
- package/dist/{organisms → components/organisms}/Tiles/Tiles.d.ts +0 -0
- package/dist/components/organisms/Tiles/Tiles.js +30 -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/components/src/atoms/List/List.d.ts +16 -0
- package/dist/components/src/atoms/List/List.js +7 -0
- package/dist/components/src/atoms/List/List.js.map +1 -0
- package/dist/components/src/atoms/List/index.d.ts +2 -0
- package/dist/components/src/atoms/List/index.js +2 -0
- package/dist/components/src/atoms/List/index.js.map +1 -0
- package/dist/components/src/typings/PolymorphicGenerics.d.ts +28 -0
- package/dist/components/src/typings/PolymorphicGenerics.js +8 -0
- package/dist/components/src/typings/PolymorphicGenerics.js.map +1 -0
- package/dist/components/src/typings/index.d.ts +1 -0
- package/dist/components/src/typings/index.js +2 -0
- package/dist/components/src/typings/index.js.map +1 -0
- package/dist/hooks/useSlider/useSlider.d.ts +3 -3
- package/dist/index.d.ts +57 -92
- package/dist/index.js +29 -46
- package/dist/index.js.map +1 -1
- package/dist/typings/PolymorphicGenerics.d.ts +6 -6
- package/dist/ui/src/components/atoms/Incentive/Incentive.d.ts +11 -0
- package/dist/{atoms → ui/src/components/atoms}/Incentive/Incentive.js +0 -0
- package/dist/ui/src/components/atoms/Incentive/Incentive.js.map +1 -0
- package/dist/ui/src/components/atoms/Incentive/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Incentive/index.js +2 -0
- package/dist/ui/src/components/atoms/Incentive/index.js.map +1 -0
- package/dist/ui/src/components/atoms/Incentive/stories/assets/Icons.d.ts +2 -0
- package/dist/ui/src/components/atoms/Incentive/stories/assets/Icons.js +6 -0
- package/dist/ui/src/components/atoms/Incentive/stories/assets/Icons.js.map +1 -0
- package/dist/ui/src/components/atoms/Link/Link.d.ts +19 -0
- package/dist/ui/src/components/atoms/Link/Link.js +13 -0
- package/dist/ui/src/components/atoms/Link/Link.js.map +1 -0
- package/dist/ui/src/components/atoms/Link/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Link/index.js +2 -0
- package/dist/ui/src/components/atoms/Link/index.js.map +1 -0
- package/dist/{atoms → ui/src/components/atoms}/Popover/Popover.d.ts +0 -0
- package/dist/{atoms → ui/src/components/atoms}/Popover/Popover.js +0 -0
- package/dist/ui/src/components/atoms/Popover/Popover.js.map +1 -0
- package/dist/ui/src/components/atoms/Popover/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Popover/index.js +2 -0
- package/dist/ui/src/components/atoms/Popover/index.js.map +1 -0
- package/dist/ui/src/components/atoms/Price/Price.d.ts +28 -0
- package/dist/ui/src/components/atoms/Price/Price.js +7 -0
- package/dist/ui/src/components/atoms/Price/Price.js.map +1 -0
- package/dist/ui/src/components/atoms/Price/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Price/index.js +2 -0
- package/dist/ui/src/components/atoms/Price/index.js.map +1 -0
- package/dist/ui/src/components/atoms/Select/Select.d.ts +10 -0
- package/dist/ui/src/components/atoms/Select/Select.js +6 -0
- package/dist/ui/src/components/atoms/Select/Select.js.map +1 -0
- package/dist/ui/src/components/atoms/Select/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Select/index.js +2 -0
- package/dist/ui/src/components/atoms/Select/index.js.map +1 -0
- package/dist/ui/src/components/atoms/Skeleton/Skeleton.d.ts +10 -0
- package/dist/{atoms → ui/src/components/atoms}/Skeleton/Skeleton.js +0 -0
- package/dist/ui/src/components/atoms/Skeleton/Skeleton.js.map +1 -0
- package/dist/ui/src/components/atoms/Skeleton/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Skeleton/index.js +2 -0
- package/dist/ui/src/components/atoms/Skeleton/index.js.map +1 -0
- package/dist/{atoms → ui/src/components/atoms}/Slider/Slider.d.ts +0 -0
- package/dist/ui/src/components/atoms/Slider/Slider.js +48 -0
- package/dist/ui/src/components/atoms/Slider/Slider.js.map +1 -0
- package/dist/ui/src/components/atoms/Slider/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Slider/index.js +2 -0
- package/dist/ui/src/components/atoms/Slider/index.js.map +1 -0
- package/dist/{atoms → ui/src/components/atoms}/Spinner/Spinner.d.ts +0 -0
- package/dist/{atoms → ui/src/components/atoms}/Spinner/Spinner.js +0 -0
- package/dist/ui/src/components/atoms/Spinner/Spinner.js.map +1 -0
- package/dist/ui/src/components/atoms/Spinner/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/Spinner/index.js +2 -0
- package/dist/ui/src/components/atoms/Spinner/index.js.map +1 -0
- package/dist/ui/src/components/atoms/TextArea/TextArea.d.ts +14 -0
- package/dist/{atoms → ui/src/components/atoms}/TextArea/TextArea.js +0 -0
- package/dist/ui/src/components/atoms/TextArea/TextArea.js.map +1 -0
- package/dist/ui/src/components/atoms/TextArea/index.d.ts +2 -0
- package/dist/ui/src/components/atoms/TextArea/index.js +2 -0
- package/dist/ui/src/components/atoms/TextArea/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Accordion/Accordion.d.ts +26 -0
- package/dist/ui/src/components/molecules/Accordion/Accordion.js +21 -0
- package/dist/ui/src/components/molecules/Accordion/Accordion.js.map +1 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionButton.d.ts +10 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionButton.js +37 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionButton.js.map +1 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionItem.d.ts +37 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionItem.js +28 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionItem.js.map +1 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionPanel.d.ts +10 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionPanel.js +10 -0
- package/dist/ui/src/components/molecules/Accordion/AccordionPanel.js.map +1 -0
- package/dist/ui/src/components/molecules/Accordion/index.d.ts +8 -0
- package/dist/ui/src/components/molecules/Accordion/index.js +5 -0
- package/dist/ui/src/components/molecules/Accordion/index.js.map +1 -0
- package/dist/ui/src/components/molecules/AggregateRating/AggregateRating.d.ts +18 -0
- package/dist/ui/src/components/molecules/AggregateRating/AggregateRating.js +26 -0
- package/dist/ui/src/components/molecules/AggregateRating/AggregateRating.js.map +1 -0
- package/dist/ui/src/components/molecules/AggregateRating/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/AggregateRating/index.js +2 -0
- package/dist/ui/src/components/molecules/AggregateRating/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Alert/Alert.d.ts +11 -0
- package/dist/{molecules → ui/src/components/molecules}/Alert/Alert.js +0 -0
- package/dist/ui/src/components/molecules/Alert/Alert.js.map +1 -0
- package/dist/ui/src/components/molecules/Alert/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/Alert/index.js +2 -0
- package/dist/ui/src/components/molecules/Alert/index.js.map +1 -0
- package/dist/{molecules → ui/src/components/molecules}/Banner/Banner.d.ts +0 -0
- package/dist/{molecules → ui/src/components/molecules}/Banner/Banner.js +0 -0
- package/dist/ui/src/components/molecules/Banner/Banner.js.map +1 -0
- package/dist/ui/src/components/molecules/Banner/BannerContent.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Banner/BannerContent.js +0 -0
- package/dist/ui/src/components/molecules/Banner/BannerContent.js.map +1 -0
- package/dist/ui/src/components/molecules/Banner/BannerImage.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Banner/BannerImage.js +0 -0
- package/dist/ui/src/components/molecules/Banner/BannerImage.js.map +1 -0
- package/dist/ui/src/components/molecules/Banner/BannerLink.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Banner/BannerLink.js +0 -0
- package/dist/ui/src/components/molecules/Banner/BannerLink.js.map +1 -0
- package/dist/ui/src/components/molecules/Banner/index.d.ts +8 -0
- package/dist/ui/src/components/molecules/Banner/index.js +5 -0
- package/dist/ui/src/components/molecules/Banner/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Breadcrumb/Breadcrumb.d.ts +14 -0
- package/dist/ui/src/components/molecules/Breadcrumb/Breadcrumb.js +38 -0
- package/dist/ui/src/components/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/ui/src/components/molecules/Breadcrumb/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/Breadcrumb/index.js +2 -0
- package/dist/ui/src/components/molecules/Breadcrumb/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Bullets/Bullets.d.ts +35 -0
- package/dist/ui/src/components/molecules/Bullets/Bullets.js +12 -0
- package/dist/ui/src/components/molecules/Bullets/Bullets.js.map +1 -0
- package/dist/ui/src/components/molecules/Bullets/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/Bullets/index.js +2 -0
- package/dist/ui/src/components/molecules/Bullets/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Card/Card.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Card/Card.js +0 -0
- package/dist/ui/src/components/molecules/Card/Card.js.map +1 -0
- package/dist/ui/src/components/molecules/Card/CardActions.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Card/CardActions.js +0 -0
- package/dist/ui/src/components/molecules/Card/CardActions.js.map +1 -0
- package/dist/ui/src/components/molecules/Card/CardContent.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Card/CardContent.js +0 -0
- package/dist/ui/src/components/molecules/Card/CardContent.js.map +1 -0
- package/dist/ui/src/components/molecules/Card/CardImage.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/Card/CardImage.js +0 -0
- package/dist/ui/src/components/molecules/Card/CardImage.js.map +1 -0
- package/dist/ui/src/components/molecules/Card/index.d.ts +8 -0
- package/dist/ui/src/components/molecules/Card/index.js +5 -0
- package/dist/ui/src/components/molecules/Card/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Carousel/Arrows.d.ts +12 -0
- package/dist/ui/src/components/molecules/Carousel/Arrows.js +6 -0
- package/dist/ui/src/components/molecules/Carousel/Arrows.js.map +1 -0
- package/dist/ui/src/components/molecules/Carousel/Carousel.d.ts +54 -0
- package/dist/ui/src/components/molecules/Carousel/Carousel.js +183 -0
- package/dist/ui/src/components/molecules/Carousel/Carousel.js.map +1 -0
- package/dist/ui/src/components/molecules/Carousel/CarouselItem.d.ts +11 -0
- package/dist/ui/src/components/molecules/Carousel/CarouselItem.js +18 -0
- package/dist/ui/src/components/molecules/Carousel/CarouselItem.js.map +1 -0
- package/dist/ui/src/components/molecules/Carousel/hooks/useSlideVisibility.d.ts +9 -0
- package/dist/ui/src/components/molecules/Carousel/hooks/useSlideVisibility.js +29 -0
- package/dist/ui/src/components/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
- package/dist/ui/src/components/molecules/Carousel/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/Carousel/index.js +3 -0
- package/dist/ui/src/components/molecules/Carousel/index.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItem.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItem.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItem.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemActions.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItemActions.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemActions.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemContent.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItemContent.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemContent.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemImage.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItemImage.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemImage.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemPrices.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItemPrices.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemPrices.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemSummary.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItemSummary.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemSummary.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemTitle.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/CartItem/CartItemTitle.js +0 -0
- package/dist/ui/src/components/molecules/CartItem/CartItemTitle.js.map +1 -0
- package/dist/ui/src/components/molecules/CartItem/index.d.ts +14 -0
- package/dist/ui/src/components/molecules/CartItem/index.js +8 -0
- package/dist/ui/src/components/molecules/CartItem/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/Dropdown.d.ts +9 -0
- package/dist/ui/src/components/molecules/Dropdown/Dropdown.js +67 -0
- package/dist/ui/src/components/molecules/Dropdown/Dropdown.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownButton.d.ts +10 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownButton.js +11 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownButton.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownItem.d.ts +10 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownItem.js +26 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownItem.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownMenu.d.ts +22 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownMenu.js +65 -0
- package/dist/ui/src/components/molecules/Dropdown/DropdownMenu.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -0
- package/dist/ui/src/components/molecules/Dropdown/contexts/DropdownContext.js +11 -0
- package/dist/ui/src/components/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdown.d.ts +6 -0
- package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdown.js +14 -0
- package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdownPosition.d.ts +8 -0
- package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdownPosition.js +25 -0
- package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/index.d.ts +8 -0
- package/dist/ui/src/components/molecules/Dropdown/index.js +5 -0
- package/dist/ui/src/components/molecules/Dropdown/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Dropdown/stories/assets/Caret.d.ts +2 -0
- package/dist/ui/src/components/molecules/Dropdown/stories/assets/Caret.js +4 -0
- package/dist/ui/src/components/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
- package/dist/ui/src/components/molecules/Form/Form.d.ts +11 -0
- package/dist/{molecules → ui/src/components/molecules}/Form/Form.js +0 -0
- package/dist/ui/src/components/molecules/Form/Form.js.map +1 -0
- package/dist/ui/src/components/molecules/Form/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/Form/index.js +2 -0
- package/dist/ui/src/components/molecules/Form/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Gift/Gift.d.ts +15 -0
- package/dist/ui/src/components/molecules/Gift/Gift.js +9 -0
- package/dist/ui/src/components/molecules/Gift/Gift.js.map +1 -0
- package/dist/ui/src/components/molecules/Gift/GiftContent.d.ts +10 -0
- package/dist/ui/src/components/molecules/Gift/GiftContent.js +6 -0
- package/dist/ui/src/components/molecules/Gift/GiftContent.js.map +1 -0
- package/dist/ui/src/components/molecules/Gift/GiftImage.d.ts +10 -0
- package/dist/ui/src/components/molecules/Gift/GiftImage.js +6 -0
- package/dist/ui/src/components/molecules/Gift/GiftImage.js.map +1 -0
- package/dist/ui/src/components/molecules/Gift/index.d.ts +6 -0
- package/dist/ui/src/components/molecules/Gift/index.js +4 -0
- package/dist/ui/src/components/molecules/Gift/index.js.map +1 -0
- package/dist/ui/src/components/molecules/LoadingButton/LoadingButton.d.ts +14 -0
- package/dist/ui/src/components/molecules/LoadingButton/LoadingButton.js +8 -0
- package/dist/ui/src/components/molecules/LoadingButton/LoadingButton.js.map +1 -0
- package/dist/ui/src/components/molecules/LoadingButton/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/LoadingButton/index.js +2 -0
- package/dist/ui/src/components/molecules/LoadingButton/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Modal/Modal.d.ts +25 -0
- package/dist/ui/src/components/molecules/Modal/Modal.js +31 -0
- package/dist/ui/src/components/molecules/Modal/Modal.js.map +1 -0
- package/dist/{molecules → ui/src/components/molecules}/Modal/ModalContent.d.ts +0 -0
- package/dist/{molecules → ui/src/components/molecules}/Modal/ModalContent.js +0 -0
- package/dist/ui/src/components/molecules/Modal/ModalContent.js.map +1 -0
- package/dist/ui/src/components/molecules/Modal/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/Modal/index.js +2 -0
- package/dist/ui/src/components/molecules/Modal/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Modal/useTrapFocus.d.ts +8 -0
- package/dist/ui/src/components/molecules/Modal/useTrapFocus.js +76 -0
- package/dist/ui/src/components/molecules/Modal/useTrapFocus.js.map +1 -0
- package/dist/ui/src/components/molecules/OrderSummary/OrderSummary.d.ts +35 -0
- package/dist/ui/src/components/molecules/OrderSummary/OrderSummary.js +16 -0
- package/dist/ui/src/components/molecules/OrderSummary/OrderSummary.js.map +1 -0
- package/dist/ui/src/components/molecules/OrderSummary/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/OrderSummary/index.js +2 -0
- package/dist/ui/src/components/molecules/OrderSummary/index.js.map +1 -0
- package/dist/ui/src/components/molecules/PaymentMethods/PaymentMethods.d.ts +26 -0
- package/dist/{molecules → ui/src/components/molecules}/PaymentMethods/PaymentMethods.js +0 -0
- package/dist/ui/src/components/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
- package/dist/ui/src/components/molecules/PaymentMethods/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/PaymentMethods/index.js +2 -0
- package/dist/ui/src/components/molecules/PaymentMethods/index.js.map +1 -0
- package/dist/ui/src/components/molecules/PaymentMethods/stories/assets/Icons.d.ts +9 -0
- package/dist/ui/src/components/molecules/PaymentMethods/stories/assets/Icons.js +26 -0
- package/dist/ui/src/components/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
- package/dist/{molecules → ui/src/components/molecules}/PriceRange/PriceRange.d.ts +0 -0
- package/dist/{molecules → ui/src/components/molecules}/PriceRange/PriceRange.js +0 -0
- package/dist/ui/src/components/molecules/PriceRange/PriceRange.js.map +1 -0
- package/dist/ui/src/components/molecules/PriceRange/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/PriceRange/index.js +2 -0
- package/dist/ui/src/components/molecules/PriceRange/index.js.map +1 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCard.d.ts +11 -0
- package/dist/{molecules → ui/src/components/molecules}/ProductCard/ProductCard.js +0 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCard.js.map +1 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCardActions.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/ProductCard/ProductCardActions.js +0 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCardActions.js.map +1 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCardContent.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/ProductCard/ProductCardContent.js +0 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCardContent.js.map +1 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCardImage.d.ts +10 -0
- package/dist/{molecules → ui/src/components/molecules}/ProductCard/ProductCardImage.js +0 -0
- package/dist/ui/src/components/molecules/ProductCard/ProductCardImage.js.map +1 -0
- package/dist/ui/src/components/molecules/ProductCard/index.d.ts +8 -0
- package/dist/ui/src/components/molecules/ProductCard/index.js +5 -0
- package/dist/ui/src/components/molecules/ProductCard/index.js.map +1 -0
- package/dist/{molecules → ui/src/components/molecules}/ProductTitle/ProductTitle.d.ts +0 -0
- package/dist/{molecules → ui/src/components/molecules}/ProductTitle/ProductTitle.js +0 -0
- package/dist/ui/src/components/molecules/ProductTitle/ProductTitle.js.map +1 -0
- package/dist/ui/src/components/molecules/ProductTitle/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/ProductTitle/index.js +2 -0
- package/dist/ui/src/components/molecules/ProductTitle/index.js.map +1 -0
- package/dist/ui/src/components/molecules/QuantitySelector/QuantitySelector.d.ts +29 -0
- package/dist/ui/src/components/molecules/QuantitySelector/QuantitySelector.js +10 -0
- package/dist/ui/src/components/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
- package/dist/ui/src/components/molecules/QuantitySelector/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/QuantitySelector/index.js +2 -0
- package/dist/ui/src/components/molecules/QuantitySelector/index.js.map +1 -0
- package/dist/ui/src/components/molecules/QuantitySelector/stories/assets/Icons.d.ts +7 -0
- package/dist/ui/src/components/molecules/QuantitySelector/stories/assets/Icons.js +11 -0
- package/dist/ui/src/components/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
- package/dist/{molecules → ui/src/components/molecules}/RadioGroup/RadioGroup.d.ts +0 -0
- package/dist/ui/src/components/molecules/RadioGroup/RadioGroup.js +10 -0
- package/dist/ui/src/components/molecules/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/ui/src/components/molecules/RadioGroup/RadioOption.d.ts +19 -0
- package/dist/ui/src/components/molecules/RadioGroup/RadioOption.js +11 -0
- package/dist/ui/src/components/molecules/RadioGroup/RadioOption.js.map +1 -0
- package/dist/ui/src/components/molecules/RadioGroup/index.d.ts +4 -0
- package/dist/ui/src/components/molecules/RadioGroup/index.js +3 -0
- package/dist/ui/src/components/molecules/RadioGroup/index.js.map +1 -0
- package/dist/ui/src/components/molecules/RadioGroup/useRadioGroup.d.ts +17 -0
- package/dist/ui/src/components/molecules/RadioGroup/useRadioGroup.js +10 -0
- package/dist/ui/src/components/molecules/RadioGroup/useRadioGroup.js.map +1 -0
- package/dist/{molecules → ui/src/components/molecules}/SearchInput/SearchInput.d.ts +0 -0
- package/dist/ui/src/components/molecules/SearchInput/SearchInput.js +26 -0
- package/dist/ui/src/components/molecules/SearchInput/SearchInput.js.map +1 -0
- package/dist/ui/src/components/molecules/SearchInput/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/SearchInput/index.js +2 -0
- package/dist/ui/src/components/molecules/SearchInput/index.js.map +1 -0
- package/dist/ui/src/components/molecules/SearchInput/stories/assets/CustomIcon.d.ts +3 -0
- package/dist/ui/src/components/molecules/SearchInput/stories/assets/CustomIcon.js +7 -0
- package/dist/ui/src/components/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
- package/dist/ui/src/components/molecules/SkuSelector/SkuSelector.d.ts +58 -0
- package/dist/ui/src/components/molecules/SkuSelector/SkuSelector.js +16 -0
- package/dist/ui/src/components/molecules/SkuSelector/SkuSelector.js.map +1 -0
- package/dist/ui/src/components/molecules/SkuSelector/index.d.ts +2 -0
- package/dist/ui/src/components/molecules/SkuSelector/index.js +2 -0
- package/dist/ui/src/components/molecules/SkuSelector/index.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/Table.d.ts +11 -0
- package/dist/ui/src/components/molecules/Table/Table.js +6 -0
- package/dist/ui/src/components/molecules/Table/Table.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/TableBody.d.ts +11 -0
- package/dist/ui/src/components/molecules/Table/TableBody.js +6 -0
- package/dist/ui/src/components/molecules/Table/TableBody.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/TableCell.d.ts +20 -0
- package/dist/ui/src/components/molecules/Table/TableCell.js +7 -0
- package/dist/ui/src/components/molecules/Table/TableCell.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/TableFooter.d.ts +11 -0
- package/dist/ui/src/components/molecules/Table/TableFooter.js +6 -0
- package/dist/ui/src/components/molecules/Table/TableFooter.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/TableHead.d.ts +11 -0
- package/dist/ui/src/components/molecules/Table/TableHead.js +6 -0
- package/dist/ui/src/components/molecules/Table/TableHead.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/TableRow.d.ts +11 -0
- package/dist/ui/src/components/molecules/Table/TableRow.js +6 -0
- package/dist/ui/src/components/molecules/Table/TableRow.js.map +1 -0
- package/dist/ui/src/components/molecules/Table/index.d.ts +12 -0
- package/dist/ui/src/components/molecules/Table/index.js +7 -0
- package/dist/ui/src/components/molecules/Table/index.js.map +1 -0
- package/dist/ui/src/components/organisms/Hero/Hero.d.ts +11 -0
- package/dist/ui/src/components/organisms/Hero/Hero.js +6 -0
- package/dist/ui/src/components/organisms/Hero/Hero.js.map +1 -0
- package/dist/ui/src/components/organisms/Hero/HeroHeading.d.ts +10 -0
- package/dist/ui/src/components/organisms/Hero/HeroHeading.js +6 -0
- package/dist/ui/src/components/organisms/Hero/HeroHeading.js.map +1 -0
- package/dist/ui/src/components/organisms/Hero/HeroImage.d.ts +10 -0
- package/dist/ui/src/components/organisms/Hero/HeroImage.js +6 -0
- package/dist/ui/src/components/organisms/Hero/HeroImage.js.map +1 -0
- package/dist/ui/src/components/organisms/Hero/index.d.ts +6 -0
- package/dist/ui/src/components/organisms/Hero/index.js +4 -0
- package/dist/ui/src/components/organisms/Hero/index.js.map +1 -0
- package/dist/{organisms → ui/src/components/organisms}/OutOfStock/OutOfStock.d.ts +0 -0
- package/dist/{organisms → ui/src/components/organisms}/OutOfStock/OutOfStock.js +0 -0
- package/dist/ui/src/components/organisms/OutOfStock/OutOfStock.js.map +1 -0
- package/dist/{organisms → ui/src/components/organisms}/OutOfStock/OutOfStockMessage.d.ts +0 -0
- package/dist/{organisms → ui/src/components/organisms}/OutOfStock/OutOfStockMessage.js +0 -0
- package/dist/ui/src/components/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
- package/dist/{organisms → ui/src/components/organisms}/OutOfStock/OutOfStockTitle.d.ts +0 -0
- package/dist/{organisms → ui/src/components/organisms}/OutOfStock/OutOfStockTitle.js +0 -0
- package/dist/ui/src/components/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
- package/dist/ui/src/components/organisms/OutOfStock/index.d.ts +6 -0
- package/dist/ui/src/components/organisms/OutOfStock/index.js +4 -0
- package/dist/ui/src/components/organisms/OutOfStock/index.js.map +1 -0
- package/dist/ui/src/components/organisms/Tiles/Tile.d.ts +11 -0
- package/dist/{organisms → ui/src/components/organisms}/Tiles/Tile.js +0 -0
- package/dist/ui/src/components/organisms/Tiles/Tile.js.map +1 -0
- package/dist/ui/src/components/organisms/Tiles/Tiles.d.ts +11 -0
- package/dist/{organisms → ui/src/components/organisms}/Tiles/Tiles.js +0 -0
- package/dist/ui/src/components/organisms/Tiles/Tiles.js.map +1 -0
- package/dist/ui/src/components/organisms/Tiles/index.d.ts +4 -0
- package/dist/ui/src/components/organisms/Tiles/index.js +3 -0
- package/dist/ui/src/components/organisms/Tiles/index.js.map +1 -0
- package/dist/ui/src/hooks/useSlider/index.d.ts +2 -0
- package/dist/ui/src/hooks/useSlider/index.js +3 -0
- package/dist/ui/src/hooks/useSlider/index.js.map +1 -0
- package/dist/ui/src/hooks/useSlider/useSlider.d.ts +64 -0
- package/dist/ui/src/hooks/useSlider/useSlider.js +103 -0
- package/dist/ui/src/hooks/useSlider/useSlider.js.map +1 -0
- package/dist/ui/src/index.d.ts +75 -0
- package/dist/ui/src/index.js +43 -0
- package/dist/ui/src/index.js.map +1 -0
- package/dist/ui/src/typings/PolymorphicGenerics.d.ts +28 -0
- package/dist/ui/src/typings/PolymorphicGenerics.js +8 -0
- package/dist/ui/src/typings/PolymorphicGenerics.js.map +1 -0
- package/dist/ui/src/typings/index.d.ts +1 -0
- package/dist/ui/src/typings/index.js +2 -0
- package/dist/ui/src/typings/index.js.map +1 -0
- package/package.json +2 -3
- package/CHANGELOG.md +0 -2032
- package/LICENSE +0 -21
- 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.d.ts +0 -19
- 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.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.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.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.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 +0 -38
- package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
- package/dist/molecules/Breadcrumb/index.js.map +0 -1
- package/dist/molecules/Bullets/Bullets.js +0 -12
- 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 +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.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.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.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.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.js.map +0 -1
- package/dist/molecules/Modal/Modal.js +0 -31
- 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.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.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.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.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 +0 -11
- 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 +0 -28
- 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.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.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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { HTMLAttributes, ElementType, ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare type PriceVariant = 'selling' | 'listing' | 'spot' | 'savings' | 'installment';
|
|
4
|
+
export declare type PriceFormatter = (price: number, variant: PriceVariant) => ReactNode;
|
|
5
|
+
export interface PriceProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
6
|
+
/**
|
|
7
|
+
* Set the HTML element tag of this component.
|
|
8
|
+
*/
|
|
9
|
+
as?: ElementType;
|
|
10
|
+
/**
|
|
11
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
12
|
+
*/
|
|
13
|
+
testId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The raw price value.
|
|
16
|
+
*/
|
|
17
|
+
value: number;
|
|
18
|
+
/**
|
|
19
|
+
* Formatter function that transforms the raw price value and render the result.
|
|
20
|
+
*/
|
|
21
|
+
formatter?: PriceFormatter;
|
|
22
|
+
/**
|
|
23
|
+
* The current use case variant for prices.
|
|
24
|
+
*/
|
|
25
|
+
variant?: PriceVariant;
|
|
26
|
+
}
|
|
27
|
+
export declare const Price: React.ForwardRefExoticComponent<PriceProps & React.RefAttributes<Omit<HTMLSpanElement, "children">>>;
|
|
28
|
+
export default Price;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
export const Price = forwardRef(function Price({ as: Component = 'span', testId = 'store-price', value, formatter = (price) => price, variant = 'selling', ...otherProps }, ref) {
|
|
3
|
+
const formattedPrice = formatter(value, variant);
|
|
4
|
+
return (React.createElement(Component, Object.assign({ ref: ref, "data-fs-price": true, "data-testid": testId, "data-variant": variant }, otherProps), formattedPrice));
|
|
5
|
+
});
|
|
6
|
+
export default Price;
|
|
7
|
+
//# sourceMappingURL=Price.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Price/Price.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAmCzC,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAC7B,SAAS,KAAK,CACZ,EACE,EAAE,EAAE,SAAS,GAAG,MAAM,EACtB,MAAM,GAAG,aAAa,EACtB,KAAK,EACL,SAAS,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAC5B,OAAO,GAAG,SAAS,EACnB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,cAAc,GAAG,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IAEhD,OAAO,CACL,oBAAC,SAAS,kBACR,GAAG,EAAE,GAAG,wCAEK,MAAM,kBACL,OAAO,IACjB,UAAU,GAEb,cAAc,CACL,CACb,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Price/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SelectHTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
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 Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
10
|
+
export default Select;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
const Select = forwardRef(function Select({ children, testId = 'store-select', ...otherProps }, ref) {
|
|
3
|
+
return (React.createElement("select", Object.assign({ ref: ref, "data-fs-select": true, "data-testid": testId }, otherProps), children));
|
|
4
|
+
});
|
|
5
|
+
export default Select;
|
|
6
|
+
//# sourceMappingURL=Select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Select/Select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,MAAM,GAAG,UAAU,CAAiC,SAAS,MAAM,CACvE,EAAE,QAAQ,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,UAAU,EAAE,EACpD,GAAG;IAEH,OAAO,CACL,8CAAQ,GAAG,EAAE,GAAG,yCAA8B,MAAM,IAAM,UAAU,GACjE,QAAQ,CACF,CACV,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { HTMLAttributes } from 'react';
|
|
3
|
+
export interface SkeletonProps 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 Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export default Skeleton;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,QAAQ,GAAG,UAAU,CAAgC,SAAS,QAAQ,CAC1E,EAAE,MAAM,GAAG,gBAAgB,EAAE,GAAG,UAAU,EAAE,EAC5C,GAAG;IAEH,OAAO,CACL,2CAAK,GAAG,EAAE,GAAG,2CAAgC,MAAM,IAAM,UAAU,EAAI,CACxE,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
|
|
File without changes
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code is inspired by the work of [sandra-lewis](https://codesandbox.io/u/sandra-lewis)
|
|
3
|
+
*/
|
|
4
|
+
import React, { useState, useMemo, useImperativeHandle, forwardRef, } from 'react';
|
|
5
|
+
const percent = (value, min, max) => Math.round(((value - min) / (max - min)) * 100);
|
|
6
|
+
const Slider = forwardRef(function Slider({ min, max, onChange, onEnd, testId = 'store-slider', getAriaValueText, className, step, minValueLabelComponent, maxValueLabelComponent, }, ref) {
|
|
7
|
+
const widthPercent = useMemo(() => (max.absolute - min.absolute) / 100, [max.absolute, min.absolute]);
|
|
8
|
+
const [minPercent, setMinPercent] = useState(() => percent(min.selected, min.absolute, max.absolute));
|
|
9
|
+
const [maxPercent, setMaxPercent] = useState(() => percent(max.selected, min.absolute, max.absolute));
|
|
10
|
+
const [minVal, setMinVal] = useState(() => Math.round(min.absolute + minPercent * widthPercent));
|
|
11
|
+
const [maxVal, setMaxVal] = useState(() => Math.round(min.absolute + maxPercent * widthPercent));
|
|
12
|
+
useImperativeHandle(ref, () => ({
|
|
13
|
+
setSliderValues: (values) => {
|
|
14
|
+
const sliderMinValue = Math.min(Number(values.min), maxVal);
|
|
15
|
+
setMinVal(sliderMinValue);
|
|
16
|
+
setMinPercent(percent(sliderMinValue, min.absolute, max.absolute));
|
|
17
|
+
if (values.max > max.absolute) {
|
|
18
|
+
setMaxVal(max.absolute);
|
|
19
|
+
setMaxPercent(percent(max.absolute, min.absolute, max.absolute));
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const sliderMaxValue = Math.max(Number(values.max), minVal);
|
|
23
|
+
setMaxVal(sliderMaxValue);
|
|
24
|
+
setMaxPercent(percent(sliderMaxValue, min.absolute, max.absolute));
|
|
25
|
+
},
|
|
26
|
+
}));
|
|
27
|
+
return (React.createElement("div", { "data-fs-slider": true, "data-testid": testId, className: className },
|
|
28
|
+
React.createElement("div", { "data-slider-range": true, style: {
|
|
29
|
+
left: `${minPercent}%`,
|
|
30
|
+
width: `${maxPercent - minPercent}%`,
|
|
31
|
+
} }),
|
|
32
|
+
React.createElement("input", { type: "range", min: Math.round(min.absolute), max: Math.round(max.absolute), value: minVal, step: step, onMouseUp: () => onEnd?.({ min: minVal, max: maxVal }), onTouchEnd: () => onEnd?.({ min: minVal, max: maxVal }), onChange: (event) => {
|
|
33
|
+
const minValue = Math.min(Number(event.target.value), maxVal);
|
|
34
|
+
setMinVal(minValue);
|
|
35
|
+
setMinPercent(percent(minValue, min.absolute, max.absolute));
|
|
36
|
+
onChange?.({ min: minValue, max: maxVal });
|
|
37
|
+
}, "data-slider-thumb": "left", "aria-valuemin": min.absolute, "aria-valuemax": max.absolute, "aria-valuenow": minVal, "aria-label": String(minVal), "aria-labelledby": getAriaValueText?.(minVal, 'min') }),
|
|
38
|
+
minValueLabelComponent && minValueLabelComponent(minVal),
|
|
39
|
+
React.createElement("input", { type: "range", min: Math.round(min.absolute), max: Math.round(max.absolute), value: maxVal, step: step, onMouseUp: () => onEnd?.({ min: minVal, max: maxVal }), onTouchEnd: () => onEnd?.({ min: minVal, max: maxVal }), onChange: (event) => {
|
|
40
|
+
const maxValue = Math.max(Number(event.target.value), minVal);
|
|
41
|
+
setMaxVal(maxValue);
|
|
42
|
+
setMaxPercent(percent(maxValue, min.absolute, max.absolute));
|
|
43
|
+
onChange?.({ min: minVal, max: maxValue });
|
|
44
|
+
}, "data-slider-thumb": "right", "aria-valuemin": min.absolute, "aria-valuemax": max.absolute, "aria-valuenow": maxVal, "aria-label": String(maxVal), "aria-labelledby": getAriaValueText?.(maxVal, 'max') }),
|
|
45
|
+
maxValueLabelComponent && maxValueLabelComponent(maxVal)));
|
|
46
|
+
});
|
|
47
|
+
export default Slider;
|
|
48
|
+
//# sourceMappingURL=Slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Slider/Slider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,EACZ,QAAQ,EACR,OAAO,EACP,mBAAmB,EACnB,UAAU,GACX,MAAM,OAAO,CAAA;AAyDd,MAAM,OAAO,GAAG,CAAC,KAAa,EAAE,GAAW,EAAE,GAAW,EAAE,EAAE,CAC1D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAA;AAEjD,MAAM,MAAM,GAAG,UAAU,CACvB,SAAS,MAAM,CACb,EACE,GAAG,EACH,GAAG,EACH,QAAQ,EACR,KAAK,EACL,MAAM,GAAG,cAAc,EACvB,gBAAgB,EAChB,SAAS,EACT,IAAI,EACJ,sBAAsB,EACtB,sBAAsB,GACvB,EACD,GAAG;IAEH,MAAM,YAAY,GAAG,OAAO,CAC1B,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,GAAG,EACzC,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAC7B,CAAA;IACD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAChD,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAClD,CAAA;IAED,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAChD,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAClD,CAAA;IAED,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CACxC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,YAAY,CAAC,CACrD,CAAA;IACD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CACxC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,YAAY,CAAC,CACrD,CAAA;IAED,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,eAAe,EAAE,CAAC,MAAoC,EAAE,EAAE;YACxD,MAAM,cAAc,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAA;YAC3D,SAAS,CAAC,cAAc,CAAC,CAAA;YACzB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAA;YAElE,IAAI,MAAM,CAAC,GAAG,GAAG,GAAG,CAAC,QAAQ,EAAE;gBAC7B,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;gBACvB,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAA;gBAChE,OAAM;aACP;YAED,MAAM,cAAc,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAA;YAC3D,SAAS,CAAC,cAAc,CAAC,CAAA;YACzB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAA;QACpE,CAAC;KACF,CAAC,CAAC,CAAA;IAEH,OAAO,CACL,oEAAiC,MAAM,EAAE,SAAS,EAAE,SAAS;QAC3D,wDAEE,KAAK,EAAE;gBACL,IAAI,EAAE,GAAG,UAAU,GAAG;gBACtB,KAAK,EAAE,GAAG,UAAU,GAAG,UAAU,GAAG;aACrC,GACD;QACF,+BACE,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAC7B,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAC7B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EACtD,UAAU,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EACvD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gBAClB,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAA;gBAE7D,SAAS,CAAC,QAAQ,CAAC,CAAA;gBACnB,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAA;gBAC5D,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAA;YAC5C,CAAC,uBACiB,MAAM,mBACT,GAAG,CAAC,QAAQ,mBACZ,GAAG,CAAC,QAAQ,mBACZ,MAAM,gBACT,MAAM,CAAC,MAAM,CAAC,qBACT,gBAAgB,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,GAClD;QACD,sBAAsB,IAAI,sBAAsB,CAAC,MAAM,CAAC;QACzD,+BACE,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAC7B,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAC7B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EACtD,UAAU,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EACvD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gBAClB,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAA;gBAE7D,SAAS,CAAC,QAAQ,CAAC,CAAA;gBACnB,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAA;gBAC5D,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAA;YAC5C,CAAC,uBACiB,OAAO,mBACV,GAAG,CAAC,QAAQ,mBACZ,GAAG,CAAC,QAAQ,mBACZ,MAAM,gBACT,MAAM,CAAC,MAAM,CAAC,qBACT,gBAAgB,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,GAClD;QACD,sBAAsB,IAAI,sBAAsB,CAAC,MAAM,CAAC,CACrD,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
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,4CAAM,GAAG,EAAE,GAAG,0CAA+B,MAAM,IAAM,UAAU,EAAI,CACxE,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
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,gDACE,GAAG,EAAE,GAAG,2CAEK,MAAM,IACf,QAAQ,EACR,UAAU,EACd,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/atoms/TextArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface AccordionContext {
|
|
4
|
+
indices: Set<number>;
|
|
5
|
+
onChange: (index: number) => void;
|
|
6
|
+
numberOfItems: number;
|
|
7
|
+
}
|
|
8
|
+
declare const AccordionContext: React.Context<AccordionContext | undefined>;
|
|
9
|
+
export interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
10
|
+
/**
|
|
11
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
12
|
+
* testing-library, and jest).
|
|
13
|
+
*/
|
|
14
|
+
testId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Indices that indicate which accordion items are opened.
|
|
17
|
+
*/
|
|
18
|
+
indices: Iterable<number>;
|
|
19
|
+
/**
|
|
20
|
+
* Function that is triggered when an accordion item is opened/closed.
|
|
21
|
+
*/
|
|
22
|
+
onChange: (index: number) => void;
|
|
23
|
+
}
|
|
24
|
+
declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export declare function useAccordion(): AccordionContext;
|
|
26
|
+
export default Accordion;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { useContext, cloneElement, forwardRef, createContext, } from 'react';
|
|
2
|
+
const AccordionContext = createContext(undefined);
|
|
3
|
+
const Accordion = forwardRef(function Accordion({ testId = 'store-accordion', indices, onChange, children, ...otherProps }, ref) {
|
|
4
|
+
const childrenWithIndex = React.Children.map(children, (child, index) => cloneElement(child, { index: child.props.index ?? index }));
|
|
5
|
+
const context = {
|
|
6
|
+
indices: new Set(indices),
|
|
7
|
+
onChange,
|
|
8
|
+
numberOfItems: childrenWithIndex.length,
|
|
9
|
+
};
|
|
10
|
+
return (React.createElement(AccordionContext.Provider, { value: context },
|
|
11
|
+
React.createElement("div", Object.assign({ ref: ref, "data-fs-accordion": true, "data-testid": testId, role: "region" }, otherProps), childrenWithIndex)));
|
|
12
|
+
});
|
|
13
|
+
export function useAccordion() {
|
|
14
|
+
const context = useContext(AccordionContext);
|
|
15
|
+
if (context === undefined) {
|
|
16
|
+
throw new Error('Do not use Accordion components outside the Accordion context.');
|
|
17
|
+
}
|
|
18
|
+
return context;
|
|
19
|
+
}
|
|
20
|
+
export default Accordion;
|
|
21
|
+
//# sourceMappingURL=Accordion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Accordion/Accordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,UAAU,EACV,YAAY,EACZ,UAAU,EACV,aAAa,GACd,MAAM,OAAO,CAAA;AAQd,MAAM,gBAAgB,GAAG,aAAa,CAA+B,SAAS,CAAC,CAAA;AAmB/E,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,iBAAiB,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1E,GAAG;IAEH,MAAM,iBAAiB,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAC1C,QAAwB,EACxB,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,EAAE,CAAC,CAC7E,CAAA;IAED,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,IAAI,GAAG,CAAC,OAAO,CAAC;QACzB,QAAQ;QACR,aAAa,EAAE,iBAAiB,CAAC,MAAM;KACxC,CAAA;IAED,OAAO,CACL,oBAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QACvC,2CACE,GAAG,EAAE,GAAG,4CAEK,MAAM,EACnB,IAAI,EAAC,QAAQ,IACT,UAAU,GAEb,iBAAiB,CACd,CACoB,CAC7B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,UAAU,YAAY;IAC1B,MAAM,OAAO,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAE5C,IAAI,OAAO,KAAK,SAAS,EAAE;QACzB,MAAM,IAAI,KAAK,CACb,gEAAgE,CACjE,CAAA;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ButtonProps } from '@faststore/components';
|
|
3
|
+
export interface AccordionButtonProps extends ButtonProps {
|
|
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 AccordionButton: React.ForwardRefExoticComponent<AccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
export default AccordionButton;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
import { useAccordion } from './Accordion';
|
|
3
|
+
import { useAccordionItem } from './AccordionItem';
|
|
4
|
+
import { Button } from '@faststore/components';
|
|
5
|
+
const AccordionButton = forwardRef(function AccordionButton({ testId = 'store-accordion-button', children, ...otherProps }, ref) {
|
|
6
|
+
const { indices, onChange, numberOfItems } = useAccordion();
|
|
7
|
+
const { index, panel, button, prefixId } = useAccordionItem();
|
|
8
|
+
const onKeyDown = (event) => {
|
|
9
|
+
if (!['ArrowDown', 'ArrowUp'].includes(event.key)) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
const getNext = () => {
|
|
13
|
+
const next = Number(index) + 1 === numberOfItems ? 0 : Number(index) + 1;
|
|
14
|
+
return document.getElementById(`${prefixId && `${prefixId}-`}button--${next}`);
|
|
15
|
+
};
|
|
16
|
+
const getPrevious = () => {
|
|
17
|
+
const previous = Number(index) - 1 < 0 ? numberOfItems - 1 : Number(index) - 1;
|
|
18
|
+
return document.getElementById(`${prefixId && `${prefixId}-`}button--${previous}`);
|
|
19
|
+
};
|
|
20
|
+
switch (event.key) {
|
|
21
|
+
case 'ArrowDown':
|
|
22
|
+
event.preventDefault();
|
|
23
|
+
getNext()?.focus();
|
|
24
|
+
break;
|
|
25
|
+
case 'ArrowUp':
|
|
26
|
+
event.preventDefault();
|
|
27
|
+
getPrevious()?.focus();
|
|
28
|
+
break;
|
|
29
|
+
default:
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
return (React.createElement(Button, Object.assign({ ref: ref, id: button, "aria-expanded": indices.has(index), "aria-controls": panel, "data-accordion-button": true, "data-testid": testId, onKeyDown: onKeyDown, onClick: () => {
|
|
33
|
+
onChange(index);
|
|
34
|
+
} }, otherProps), children));
|
|
35
|
+
});
|
|
36
|
+
export default AccordionButton;
|
|
37
|
+
//# sourceMappingURL=AccordionButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionButton.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Accordion/AccordionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAU9C,MAAM,eAAe,GAAG,UAAU,CAChC,SAAS,eAAe,CACtB,EAAE,MAAM,GAAG,wBAAwB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC9D,GAAG;IAEH,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE,CAAA;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,gBAAgB,EAAE,CAAA;IAE7D,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;QAC/C,IAAI,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;YACjD,OAAM;SACP;QAED,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAExE,OAAO,QAAQ,CAAC,cAAc,CAC5B,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,WAAW,IAAI,EAAE,CAC/C,CAAA;QACH,CAAC,CAAA;QAED,MAAM,WAAW,GAAG,GAAG,EAAE;YACvB,MAAM,QAAQ,GACZ,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAE/D,OAAO,QAAQ,CAAC,cAAc,CAC5B,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,WAAW,QAAQ,EAAE,CACnD,CAAA;QACH,CAAC,CAAA;QAED,QAAQ,KAAK,CAAC,GAAG,EAAE;YACjB,KAAK,WAAW;gBACd,KAAK,CAAC,cAAc,EAAE,CAAA;gBACtB,OAAO,EAAE,EAAE,KAAK,EAAE,CAAA;gBAClB,MAAK;YAEP,KAAK,SAAS;gBACZ,KAAK,CAAC,cAAc,EAAE,CAAA;gBACtB,WAAW,EAAE,EAAE,KAAK,EAAE,CAAA;gBACtB,MAAK;YAEP,QAAQ;SACT;IACH,CAAC,CAAA;IAED,OAAO,CACL,oBAAC,MAAM,kBACL,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,MAAM,mBACK,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,mBAClB,KAAK,gDAEP,MAAM,EACnB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;YACZ,QAAQ,CAAC,KAAK,CAAC,CAAA;QACjB,CAAC,IACG,UAAU,GAEb,QAAQ,CACF,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ElementType, HTMLAttributes, ReactElement } from 'react';
|
|
3
|
+
import type { PolymorphicComponentPropsWithRef } from '../../../typings';
|
|
4
|
+
interface AccordionItemContext {
|
|
5
|
+
index: number;
|
|
6
|
+
panel: string;
|
|
7
|
+
button: string;
|
|
8
|
+
prefixId: string;
|
|
9
|
+
}
|
|
10
|
+
declare const AccordionItemContext: React.Context<AccordionItemContext | undefined>;
|
|
11
|
+
interface Props extends HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
/**
|
|
13
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
14
|
+
* testing-library, and jest).
|
|
15
|
+
*/
|
|
16
|
+
testId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Index of the current accordion item within the accordion.
|
|
19
|
+
*/
|
|
20
|
+
index?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Namespace ID prefix for the current Accordion item's panel and button
|
|
23
|
+
* to avoid ID duplication when multiple instances are on the same page.
|
|
24
|
+
*/
|
|
25
|
+
prefixId?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type AccordionItemProps<C extends ElementType> = PolymorphicComponentPropsWithRef<C, Props>;
|
|
28
|
+
declare type AccordionItemComponent = <C extends ElementType = 'div'>(props: AccordionItemProps<C>) => ReactElement | null;
|
|
29
|
+
declare const AccordionItem: AccordionItemComponent;
|
|
30
|
+
export declare function useAccordionItem(): AccordionItemContext;
|
|
31
|
+
/**
|
|
32
|
+
* This is only being exported to make it easier to use in Storybook.
|
|
33
|
+
* **DON'T** import this directly to use this component, use the default export
|
|
34
|
+
* instead.
|
|
35
|
+
*/
|
|
36
|
+
export declare const StorybookAccordionItem: React.FC<Props>;
|
|
37
|
+
export default AccordionItem;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { useContext, forwardRef, createContext } from 'react';
|
|
2
|
+
const AccordionItemContext = createContext(undefined);
|
|
3
|
+
const AccordionItem = forwardRef(function AccordionItem({ testId = 'store-accordion-item', children, prefixId = '', index = 0, as: MaybeComponent, ...otherProps }, ref) {
|
|
4
|
+
const Component = MaybeComponent ?? 'div';
|
|
5
|
+
const context = {
|
|
6
|
+
index,
|
|
7
|
+
prefixId,
|
|
8
|
+
panel: `${prefixId && `${prefixId}-`}panel--${index}`,
|
|
9
|
+
button: `${prefixId && `${prefixId}-`}button--${index}`,
|
|
10
|
+
};
|
|
11
|
+
return (React.createElement(AccordionItemContext.Provider, { value: context },
|
|
12
|
+
React.createElement(Component, Object.assign({ ref: ref, "data-accordion-item": true, "data-testid": testId }, otherProps), children)));
|
|
13
|
+
});
|
|
14
|
+
export function useAccordionItem() {
|
|
15
|
+
const context = useContext(AccordionItemContext);
|
|
16
|
+
if (context === undefined) {
|
|
17
|
+
throw new Error('Do not use AccordionItem components outside the AccordionItem context.');
|
|
18
|
+
}
|
|
19
|
+
return context;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* This is only being exported to make it easier to use in Storybook.
|
|
23
|
+
* **DON'T** import this directly to use this component, use the default export
|
|
24
|
+
* instead.
|
|
25
|
+
*/
|
|
26
|
+
export const StorybookAccordionItem = AccordionItem;
|
|
27
|
+
export default AccordionItem;
|
|
28
|
+
//# sourceMappingURL=AccordionItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAWpE,MAAM,oBAAoB,GAAG,aAAa,CACxC,SAAS,CACV,CAAA;AA4BD,MAAM,aAAa,GAA2B,UAAU,CACtD,SAAS,aAAa,CACpB,EACE,MAAM,GAAG,sBAAsB,EAC/B,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,KAAK,GAAG,CAAC,EACT,EAAE,EAAE,cAAc,EAClB,GAAG,UAAU,EACS,EACxB,GAAsB;IAEtB,MAAM,SAAS,GAAG,cAAc,IAAI,KAAK,CAAA;IAEzC,MAAM,OAAO,GAAG;QACd,KAAK;QACL,QAAQ;QACR,KAAK,EAAE,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,UAAU,KAAK,EAAE;QACrD,MAAM,EAAE,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,WAAW,KAAK,EAAE;KACxD,CAAA;IAED,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QAC3C,oBAAC,SAAS,kBAAC,GAAG,EAAE,GAAG,8CAAmC,MAAM,IAAM,UAAU,GACzE,QAAQ,CACC,CACkB,CACjC,CAAA;AACH,CAAC,CACF,CAAA;AAED,MAAM,UAAU,gBAAgB;IAC9B,MAAM,OAAO,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAA;IAEhD,IAAI,OAAO,KAAK,SAAS,EAAE;QACzB,MAAM,IAAI,KAAK,CACb,wEAAwE,CACzE,CAAA;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAA0B,CAAA;AAEhE,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface AccordionPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
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 AccordionPanel: React.ForwardRefExoticComponent<AccordionPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export default AccordionPanel;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
import { useAccordion } from './Accordion';
|
|
3
|
+
import { useAccordionItem } from './AccordionItem';
|
|
4
|
+
const AccordionPanel = forwardRef(function AccordionPanel({ testId = 'store-accordion-panel', children, ...otherProps }, ref) {
|
|
5
|
+
const { indices } = useAccordion();
|
|
6
|
+
const { index, button, panel } = useAccordionItem();
|
|
7
|
+
return (React.createElement("div", Object.assign({ ref: ref, id: panel, "aria-labelledby": button, role: "region", "data-accordion-panel": true, "data-testid": testId, hidden: !indices.has(index) }, otherProps), children));
|
|
8
|
+
});
|
|
9
|
+
export default AccordionPanel;
|
|
10
|
+
//# sourceMappingURL=AccordionPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionPanel.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Accordion/AccordionPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAUlD,MAAM,cAAc,GAAG,UAAU,CAC/B,SAAS,cAAc,CACrB,EAAE,MAAM,GAAG,uBAAuB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC7D,GAAG;IAEH,MAAM,EAAE,OAAO,EAAE,GAAG,YAAY,EAAE,CAAA;IAClC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,gBAAgB,EAAE,CAAA;IAEnD,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,KAAK,qBACQ,MAAM,EACvB,IAAI,EAAC,QAAQ,+CAEA,MAAM,EACnB,MAAM,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IACvB,UAAU,GAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default } from './Accordion';
|
|
2
|
+
export type { AccordionProps } from './Accordion';
|
|
3
|
+
export { default as AccordionItem } from './AccordionItem';
|
|
4
|
+
export type { AccordionItemProps } from './AccordionItem';
|
|
5
|
+
export { default as AccordionButton } from './AccordionButton';
|
|
6
|
+
export type { AccordionButtonProps } from './AccordionButton';
|
|
7
|
+
export { default as AccordionPanel } from './AccordionPanel';
|
|
8
|
+
export type { AccordionPanelProps } from './AccordionPanel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGrC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAG1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAG9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ListProps } from '../../../../../components/src/atoms/List';
|
|
3
|
+
export interface AggregateRatingProps extends ListProps<'ul'> {
|
|
4
|
+
/**
|
|
5
|
+
* The current value of the rating, based on the quantity of child elements.
|
|
6
|
+
*/
|
|
7
|
+
value: number;
|
|
8
|
+
/**
|
|
9
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
10
|
+
*/
|
|
11
|
+
testId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface RatingItemProps {
|
|
14
|
+
'data-fs-aggregate-rating-item'?: 'full' | 'partial' | 'empty';
|
|
15
|
+
'data-testid'?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const AggregateRating: React.ForwardRefExoticComponent<Pick<AggregateRatingProps, "slot" | "style" | "title" | "marker" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "testId"> & React.RefAttributes<HTMLUListElement>>;
|
|
18
|
+
export default AggregateRating;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
import List from '../../../../../components/src/atoms/List';
|
|
3
|
+
const RatingItem = ({ children, ...otherProps }) => {
|
|
4
|
+
if (!React.isValidElement(children)) {
|
|
5
|
+
return React.createElement("li", Object.assign({}, otherProps), children);
|
|
6
|
+
}
|
|
7
|
+
return React.createElement("li", null, React.cloneElement(children, otherProps));
|
|
8
|
+
};
|
|
9
|
+
const AggregateRating = forwardRef(function AggregateRating({ children, testId = 'store-aggregate-rating', value, ...otherProps }, ref) {
|
|
10
|
+
const fillCheck = (itemValue) => {
|
|
11
|
+
if (itemValue >= 1) {
|
|
12
|
+
return 'full';
|
|
13
|
+
}
|
|
14
|
+
if (0 < itemValue && itemValue < 1) {
|
|
15
|
+
return 'partial';
|
|
16
|
+
}
|
|
17
|
+
return 'empty';
|
|
18
|
+
};
|
|
19
|
+
return (React.createElement(List, Object.assign({ "data-fs-aggregate-rating": true, ref: ref, "data-testid": testId }, otherProps), React.Children.map(children, (child, index) => {
|
|
20
|
+
const currentItemNumber = index;
|
|
21
|
+
const fill = fillCheck(value - currentItemNumber);
|
|
22
|
+
return (React.createElement(RatingItem, { key: `aggregate-rating-${index}`, "data-fs-aggregate-rating-item": fill, "data-testid": `${testId}-item` }, child));
|
|
23
|
+
})));
|
|
24
|
+
});
|
|
25
|
+
export default AggregateRating;
|
|
26
|
+
//# sourceMappingURL=AggregateRating.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregateRating.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/AggregateRating/AggregateRating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,IAAI,MAAM,0CAA0C,CAAA;AAmB3D,MAAM,UAAU,GAA2C,CAAC,EAC1D,QAAQ,EACR,GAAG,UAAU,EACd,EAAE,EAAE;IACH,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;QACnC,OAAO,4CAAQ,UAAU,GAAG,QAAQ,CAAM,CAAA;KAC3C;IAED,OAAO,gCAAK,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAM,CAAA;AAC5D,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,UAAU,CAChC,SAAS,eAAe,CACtB,EAAE,QAAQ,EAAE,MAAM,GAAG,wBAAwB,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,EACrE,GAAG;IAEH,MAAM,SAAS,GAAG,CAAC,SAAiB,EAAE,EAAE;QACtC,IAAI,SAAS,IAAI,CAAC,EAAE;YAClB,OAAO,MAAM,CAAA;SACd;QAED,IAAI,CAAC,GAAG,SAAS,IAAI,SAAS,GAAG,CAAC,EAAE;YAClC,OAAO,SAAS,CAAA;SACjB;QAED,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;IAED,OAAO,CACL,oBAAC,IAAI,oDAEH,GAAG,EAAE,GAAG,iBACK,MAAM,IACf,UAAU,GAEb,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAa,EAAE,EAAE;QACrD,MAAM,iBAAiB,GAAG,KAAK,CAAA;QAC/B,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,GAAG,iBAAiB,CAAC,CAAA;QAEjD,OAAO,CACL,oBAAC,UAAU,IACT,GAAG,EAAE,oBAAoB,KAAK,EAAE,mCACD,IAAI,iBACtB,GAAG,MAAM,OAAO,IAE5B,KAAK,CACK,CACd,CAAA;IACH,CAAC,CAAC,CACG,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/AggregateRating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
6
|
+
* testing-library, and jest).
|
|
7
|
+
*/
|
|
8
|
+
testId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export default Alert;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Alert/Alert.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,KAAK,GAAG,UAAU,CAA6B,SAAS,KAAK,CACjE,EAAE,MAAM,GAAG,aAAa,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACnD,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,OAAO,wCAEC,MAAM,IACf,UAAU,GAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
|
|
File without changes
|
|
File without changes
|