@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../src/molecules/Modal/Modal.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,OAAO,MAAM,qBAAqB,CAAA;AACzC,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAyBzC;;;;GAIG;AAEH,MAAM,KAAK,GAAG,CAAC,EACb,MAAM,EACN,QAAQ,EACR,SAAS,EACT,MAAM,GAAG,aAAa,EACtB,GAAG,UAAU,EACiB,EAAE,EAAE;IAClC,MAAM,mBAAmB,GAAG,CAAC,KAAiB,EAAE,EAAE;QAChD,IAAI,KAAK,CAAC,gBAAgB,EAAE;YAC1B,OAAM;SACP;QAED,KAAK,CAAC,eAAe,EAAE,CAAA;QACvB,SAAS,EAAE,CAAC,KAAK,CAAC,CAAA;IACpB,CAAC,CAAA;IAED,MAAM,qBAAqB,GAAG,CAAC,KAAoB,EAAE,EAAE;QACrD,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,KAAK,CAAC,gBAAgB,EAAE;YACpD,OAAM;SACP;QAED,KAAK,CAAC,eAAe,EAAE,CAAA;QACvB,SAAS,EAAE,CAAC,KAAK,CAAC,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,MAAM;QACX,CAAC,CAAC,YAAY,CACV,oBAAC,OAAO,gCAEN,OAAO,EAAE,mBAAmB,EAC5B,SAAS,EAAE,qBAAqB;YAEhC,oBAAC,YAAY,oBAAK,UAAU,IAAE,MAAM,EAAE,MAAM,KACzC,QAAQ,CACI,CACP,EACV,QAAQ,CAAC,IAAI,CACd;QACH,CAAC,CAAC,IAAI,CAAA;AACV,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContent.js","sourceRoot":"","sources":["../../../src/molecules/Modal/ModalContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAErC,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAazC,MAAM,gBAAgB,GAAG,CAAC,EACxB,gBAAgB,EAChB,YAAY,EACZ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e,EAAE,gBAAgB,EAAE,YAAY,CAAC,CAAC,CAAA;AACzE,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ListProps } from '../../atoms/List';
|
|
3
|
-
export interface OrderSummaryProps<T = HTMLElement> extends Omit<ListProps<T>, 'variant'> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
6
|
-
* testing-library, and jest).
|
|
7
|
-
*/
|
|
8
|
-
testId?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Label for the subtotal value of the order. Will only show if subtotalValue is provided.
|
|
11
|
-
*/
|
|
12
|
-
subtotalLabel?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Subtotal value of the order. If provided, subtotal label and value will be shown.
|
|
15
|
-
*/
|
|
16
|
-
subtotalValue?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Label for the discount value for the order. Will only show if discountValue is provided.
|
|
19
|
-
*/
|
|
20
|
-
discountLabel?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Discount value for the order. If provided, discount label and value will be shown.
|
|
23
|
-
*/
|
|
24
|
-
discountValue?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Label for the total value of the order.
|
|
27
|
-
*/
|
|
28
|
-
totalLabel?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Total value of the order.
|
|
31
|
-
*/
|
|
32
|
-
totalValue?: string;
|
|
33
|
-
}
|
|
34
|
-
declare const OrderSummary: React.ForwardRefExoticComponent<OrderSummaryProps<HTMLElement> & React.RefAttributes<HTMLUListElement>>;
|
|
35
|
-
export default OrderSummary;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import List from '../../atoms/List';
|
|
3
|
-
const OrderSummary = forwardRef(function OrderSummary({ testId = 'store-order-summary', children, subtotalLabel, subtotalValue, discountLabel, discountValue, totalLabel, totalValue, ...otherProps }, ref) {
|
|
4
|
-
return (React.createElement(List, Object.assign({ ref: ref, "data-fs-order-summary": true, "data-testid": testId }, otherProps),
|
|
5
|
-
subtotalValue ? (React.createElement("li", { "data-fs-order-summary-subtotal": true },
|
|
6
|
-
React.createElement("span", { "data-fs-order-summary-subtotal-label": true, "data-testid": `${testId}-subtotal-label` }, subtotalLabel),
|
|
7
|
-
React.createElement("span", { "data-fs-order-summary-subtotal-value": true, "data-testid": `${testId}-subtotal-value` }, subtotalValue))) : null,
|
|
8
|
-
discountValue ? (React.createElement("li", { "data-fs-order-summary-discount": true },
|
|
9
|
-
React.createElement("span", { "data-fs-order-summary-discount-label": true, "data-testid": `${testId}-discount-label` }, discountLabel),
|
|
10
|
-
React.createElement("span", { "data-fs-order-summary-discount-value": true, "data-testid": `${testId}-discount-value` }, discountValue))) : null,
|
|
11
|
-
React.createElement("li", { "data-fs-order-summary-total": true },
|
|
12
|
-
React.createElement("span", { "data-fs-order-summary-total-label": true, "data-testid": `${testId}-total-label` }, totalLabel),
|
|
13
|
-
React.createElement("span", { "data-fs-order-summary-total-value": true, "data-testid": `${testId}-total-value` }, totalValue))));
|
|
14
|
-
});
|
|
15
|
-
export default OrderSummary;
|
|
16
|
-
//# sourceMappingURL=OrderSummary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrderSummary.js","sourceRoot":"","sources":["../../../src/molecules/OrderSummary/OrderSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,IAAmB,MAAM,kBAAkB,CAAA;AAkClD,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,MAAM,GAAG,qBAAqB,EAC9B,QAAQ,EACR,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,oBAAC,IAAI,kBACH,GAAG,EAAE,GAAG,gDAEK,MAAM,IACf,UAAU;QAEb,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACP,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACR;YACE,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN;YACP,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN,CACJ,CACA,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/OrderSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethods.js","sourceRoot":"","sources":["../../../src/molecules/PaymentMethods/PaymentMethods.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAyBzC,MAAM,cAAc,GAAG,UAAU,CAC/B,SAAS,cAAc,CACrB,EACE,MAAM,GAAG,uBAAuB,EAChC,KAAK,EACL,YAAY,EAAE,SAAS,GAAG,iBAAiB,EAC3C,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,kDAEK,MAAM,IACf,UAAU;QAEb,CAAC,CAAC,KAAK,IAAI,iCAAM,KAAK,CAAO;QAC9B,+EAEc,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,IAExC,QAAQ,CACL,CACF,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/PaymentMethods/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.js","sourceRoot":"","sources":["../../../../../src/molecules/PaymentMethods/stories/assets/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,UAAU,QAAQ;IACtB,OAAO,CACL,6BACE,GAAG,EAAC,WAAW,EACf,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,qEAAqE,GACzE,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,6BACE,GAAG,EAAC,iBAAiB,EACrB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,8GAA8G,GAClH,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,6BACE,GAAG,EAAC,uBAAuB,EAC3B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,iFAAiF,GACrF,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,WAAW;IACzB,OAAO,CACL,6BACE,GAAG,EAAC,uBAAuB,EAC3B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,wEAAwE,GAC5E,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,OAAO;IACrB,OAAO,CACL,6BACE,GAAG,EAAC,UAAU,EACd,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,oEAAoE,GACxE,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,SAAS;IACvB,OAAO,CACL,6BACE,GAAG,EAAC,gBAAgB,EACpB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,0EAA0E,GAC9E,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,MAAM;IACpB,OAAO,CACL,6BACE,GAAG,EAAC,cAAc,EAClB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,uEAAuE,GAC3E,CACH,CAAA;AACH,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,6BACE,GAAG,EAAC,kBAAkB,EACtB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,0FAA0F,GAC9F,CACH,CAAA;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PriceRange.js","sourceRoot":"","sources":["../../../src/molecules/PriceRange/PriceRange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGtE,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,MAAM,MAAM,oBAAoB,CAAA;AA2BvC,MAAM,UAAU,GAAG,UAAU,CAC3B,SAAS,UAAU,CACjB,EACE,SAAS,EACT,SAAS,EACT,GAAG,EACH,GAAG,EACH,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,MAAM,GAAG,mBAAmB,EAC5B,OAAO,EACP,YAAY,EAAE,SAAS,GACxB,EACD,GAAG;IAEH,MAAM,SAAS,GAAG,MAAM,EAEpB,CAAA;IAEJ,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,mBAAmB,EAAE,CAAC,MAAoC,EAAE,EAAE;YAC5D,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAA;Y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Ae,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/PriceRange/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,WAAW,GAAG,UAAU,CAAmC,SAAS,IAAI,CAC5E,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,+CACE,GAAG,EAAE,GAAG,+CAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCardActions.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,kBAAkB,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,4BAA4B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClE,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,oDAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCardContent.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,kBAAkB,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,4BAA4B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClE,GAAG;IAEH,OAAO,CACL,+CACE,GAAG,EAAE,GAAG,oDAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCardImage.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,gBAAgB,GAAG,UAAU,CACjC,SAAS,gBAAgB,CACvB,EAAE,MAAM,GAAG,0BAA0B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAChE,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,kDAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGhE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAGpE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/ProductTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AA0BzD,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,GAAE,QAAQ,EAAC,SAAS,EAAE,MAAM,GAAE,qBAAqB,EAAE,GAAG,UAAU,EAAE,EAAE,GAAG;IACnH,OAAO,CACL,8CAAQ,GAAG,EAAE,GAAG,gDAAqC,MAAM,IAAM,UAAU;QACzE;YACG,KAAK;YACL,CAAC,CAAC,KAAK,IAAI,KAAK,CACb;QAEL,SAAS,IAAI,CACZ;YACG,MAAM;YAAE,SAAS,CAChB,CACL,CACM,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { InputHTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { InputProps } from '../../atoms/Input';
|
|
4
|
-
import type { IconButtonProps } from '../IconButton';
|
|
5
|
-
export interface QuantitySelectorProps extends InputHTMLAttributes<HTMLDivElement> {
|
|
6
|
-
/**
|
|
7
|
-
* Sets the current value that should be displayed on the input at the center of the quantity selector.
|
|
8
|
-
*/
|
|
9
|
-
quantity: number | string;
|
|
10
|
-
/**
|
|
11
|
-
* Object with properties that will be passed forward the inner IconButton atom at the left of the input.
|
|
12
|
-
*/
|
|
13
|
-
leftButtonProps: Omit<IconButtonProps, 'aria-label'>;
|
|
14
|
-
/**
|
|
15
|
-
* Object with properties that will be passed forward the inner Input atom between the two buttons.
|
|
16
|
-
*/
|
|
17
|
-
inputProps: InputProps;
|
|
18
|
-
/**
|
|
19
|
-
* Object with properties that will be passed forward the inner IconButton atom at the right of the input.
|
|
20
|
-
*/
|
|
21
|
-
rightButtonProps: Omit<IconButtonProps, 'aria-label'>;
|
|
22
|
-
/**
|
|
23
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
24
|
-
*
|
|
25
|
-
* @default 'store-quantity-selector'
|
|
26
|
-
*/
|
|
27
|
-
testId?: string;
|
|
28
|
-
}
|
|
29
|
-
declare const QuantitySelector: React.ForwardRefExoticComponent<QuantitySelectorProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
-
export default QuantitySelector;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import Input from '../../atoms/Input';
|
|
3
|
-
import IconButton from '../IconButton';
|
|
4
|
-
const QuantitySelector = forwardRef(function QuantitySelector({ quantity, testId = 'store-quantity-selector', leftButtonProps, inputProps, rightButtonProps, ...otherProps }, ref) {
|
|
5
|
-
return (React.createElement("div", Object.assign({ "data-fs-quantity-selector": true, "data-testid": testId, ref: ref }, otherProps),
|
|
6
|
-
React.createElement(IconButton, Object.assign({ "aria-controls": "quantity-selector-input", "aria-label": "Decrement Quantity", "data-quantity-selector-button": "left" }, leftButtonProps)),
|
|
7
|
-
React.createElement(Input, Object.assign({ "aria-label": "Quantity", "data-quantity-selector-input": true, id: "quantity-selector-input", value: quantity }, inputProps)),
|
|
8
|
-
React.createElement(IconButton, Object.assign({ "aria-controls": "quantity-selector-input", "aria-label": "Increment Quantity", "data-quantity-selector-button": "right" }, rightButtonProps))));
|
|
9
|
-
});
|
|
10
|
-
export default QuantitySelector;
|
|
11
|
-
//# sourceMappingURL=QuantitySelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuantitySelector.js","sourceRoot":"","sources":["../../../src/molecules/QuantitySelector/QuantitySelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AAErC,OAAO,UAAU,MAAM,eAAe,CAAA;AAgCtC,MAAM,gBAAgB,GAAG,UAAU,CACjC,SAAS,gBAAgB,CACvB,EACE,QAAQ,EACR,MAAM,GAAG,yBAAyB,EAClC,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,GAAG,UAAU,EACS,EACxB,GAAG;IAEH,OAAO,CACL,6FAEe,MAAM,EACnB,GAAG,EAAE,GAAG,IACJ,UAAU;QAEd,oBAAC,UAAU,mCACK,yBAAyB,gBAC5B,oBAAoB,mCACD,MAAM,IAChC,eAAe,EACnB;QACF,oBAAC,KAAK,gCACO,UAAU,wCAErB,EAAE,EAAC,yBAAyB,EAC5B,KAAK,EAAE,QAAQ,IACX,UAAU,EACd;QACF,oBAAC,UAAU,mCACK,yBAAyB,gBAC5B,oBAAoB,mCACD,OAAO,IACjC,gBAAgB,EACpB,CACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/QuantitySelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.js","sourceRoot":"","sources":["../../../../../src/molecules/QuantitySelector/stories/assets/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,UAAU,QAAQ,CAAC,KAAgC;IACvD,OAAO,CACL,6BACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B;QAElC,8BACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAE,KAAK,CAAC,KAAK,EACnB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB;QACF,8BACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAE,KAAK,CAAC,KAAK,EACnB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,CACE,CACP,CAAA;AACH,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAgC;IACxD,OAAO,CACL,6BACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B;QAElC,8BACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAE,KAAK,CAAC,KAAK,EACnB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,CACE,CACP,CAAA;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAInD,MAAM,UAAU,GAAG,CAAC,EAClB,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,aAAa,GACG,EAAE,EAAE;IACpB,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACvC,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAA;IAC1C,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAA;IAEnC,OAAO,CACL,oBAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,aAAa,IAC7C,QAAQ,CACkB,CAC9B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import Radio from '../../atoms/Radio';
|
|
3
|
-
import { useRadioGroup } from './useRadioGroup';
|
|
4
|
-
const RadioOption = forwardRef(function RadioOption({ label, value, children, testId = 'store-radio-option', ...otherProps }, ref) {
|
|
5
|
-
const { name, selectedValue, onChange } = useRadioGroup();
|
|
6
|
-
return (React.createElement("label", { "aria-label": label, "data-fs-radio-option": true },
|
|
7
|
-
React.createElement(Radio, Object.assign({ "data-fs-radio-option-item": true, ref: ref, name: name, checked: value === selectedValue, onChange: onChange, value: value, testId: testId }, otherProps)),
|
|
8
|
-
children));
|
|
9
|
-
});
|
|
10
|
-
export default RadioOption;
|
|
11
|
-
//# sourceMappingURL=RadioOption.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioOption.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/RadioOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAmB/C,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,GAAG,oBAAoB,EAAE,GAAG,UAAU,EAAE,EACxE,GAAG;IAEH,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,aAAa,EAAE,CAAA;IAEzD,OAAO,CACL,6CAAmB,KAAK;QACtB,oBAAC,KAAK,qDAEJ,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,KAAK,KAAK,aAAa,EAChC,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,IACV,UAAU,EACd;QACD,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRadioGroup.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/useRadioGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAiBjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAC5C,SAAS,CACV,CAAA;AAED,MAAM,UAAU,aAAa;IAC3B,MAAM,OAAO,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAE7C,IAAI,CAAC,OAAO,EAAE;QACZ,MAAM,IAAI,KAAK,CACb,mEAAmE,CACpE,CAAA;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { useImperativeHandle, forwardRef, useRef } from 'react';
|
|
2
|
-
import Button from '../../atoms/Button';
|
|
3
|
-
import Icon from '../../atoms/Icon';
|
|
4
|
-
import Input from '../../atoms/Input';
|
|
5
|
-
import Form from '../Form';
|
|
6
|
-
const SearchIcon = () => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
|
|
7
|
-
React.createElement("circle", { cx: "11", cy: "11", r: "8" }),
|
|
8
|
-
React.createElement("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })));
|
|
9
|
-
const SearchInput = forwardRef(function SearchInput({ onSubmit, icon, 'aria-label': ariaLabel = 'search', testId = 'store-search-input', ...otherProps }, ref) {
|
|
10
|
-
const inputRef = useRef(null);
|
|
11
|
-
const formRef = useRef(null);
|
|
12
|
-
const handleSubmit = (event) => {
|
|
13
|
-
event.preventDefault();
|
|
14
|
-
if (inputRef.current?.value !== '') {
|
|
15
|
-
onSubmit(inputRef.current.value);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
useImperativeHandle(ref, () => ({
|
|
19
|
-
inputRef: inputRef.current,
|
|
20
|
-
formRef: formRef.current,
|
|
21
|
-
}));
|
|
22
|
-
return (React.createElement(Form, { ref: formRef, "data-fs-search-input-form": true, "data-testid": testId, onSubmit: handleSubmit, role: "search" },
|
|
23
|
-
React.createElement(Input, Object.assign({ ref: inputRef, "aria-label": ariaLabel }, otherProps)),
|
|
24
|
-
React.createElement(Button, { type: "submit", "aria-label": "Submit Search" },
|
|
25
|
-
React.createElement(Icon, { component: icon ?? React.createElement(SearchIcon, null) }))));
|
|
26
|
-
});
|
|
27
|
-
export default SearchInput;
|
|
28
|
-
//# sourceMappingURL=SearchInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../src/molecules/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtE,OAAO,MAAM,MAAM,oBAAoB,CAAA;AACvC,OAAO,IAAI,MAAM,kBAAkB,CAAA;AACnC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,IAAI,MAAM,SAAS,CAAA;AAE1B,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,CACvB,6BACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAA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AC9C,oBAAC,IAAI,IAAC,SAAS,EAAE,IAAI,IAAI,oBAAC,UAAU,OAAG,GAAI,CACpC,CACJ,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CustomIcon.js","sourceRoot":"","sources":["../../../../../src/molecules/SearchInput/stories/assets/CustomIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,UAAU,GAAO,GAAG,EAAE,CAAC,CAC3B,6BACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO;IAEtB,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG;IACjC,8BAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG;IACtC,8BAAM,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAG,CAClC,CACP,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes, ChangeEventHandler } from 'react';
|
|
3
|
-
interface SkuProps {
|
|
4
|
-
/**
|
|
5
|
-
* Alternative text description of the image.
|
|
6
|
-
*/
|
|
7
|
-
alt?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Image URL.
|
|
10
|
-
*/
|
|
11
|
-
src?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Label to describe the option when selected.
|
|
14
|
-
*/
|
|
15
|
-
label: string;
|
|
16
|
-
/**
|
|
17
|
-
* Current value for this option.
|
|
18
|
-
*/
|
|
19
|
-
value: string;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies that this option should be disabled.
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
}
|
|
25
|
-
declare type Variant = 'label' | 'image';
|
|
26
|
-
export interface SkuSelectorProps extends HTMLAttributes<HTMLDivElement> {
|
|
27
|
-
/**
|
|
28
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
29
|
-
* testing-library, and jest).
|
|
30
|
-
*/
|
|
31
|
-
testId?: string;
|
|
32
|
-
/**
|
|
33
|
-
* ID of the current instance of the component.
|
|
34
|
-
*/
|
|
35
|
-
id?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Specify which variant the component should handle.
|
|
38
|
-
*/
|
|
39
|
-
variant: Variant;
|
|
40
|
-
/**
|
|
41
|
-
* SKU options that should be rendered.
|
|
42
|
-
*/
|
|
43
|
-
options: SkuProps[];
|
|
44
|
-
/**
|
|
45
|
-
* Section label for the SKU selector.
|
|
46
|
-
*/
|
|
47
|
-
label?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Currently active variation's value.
|
|
50
|
-
*/
|
|
51
|
-
activeValue: string;
|
|
52
|
-
/**
|
|
53
|
-
* Function to be triggered when SKU option change.
|
|
54
|
-
*/
|
|
55
|
-
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
56
|
-
}
|
|
57
|
-
declare const SkuSelector: React.ForwardRefExoticComponent<SkuSelectorProps & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
-
export default SkuSelector;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { Label, RadioGroup } from '../..';
|
|
3
|
-
const SkuSelector = forwardRef(function SkuSelector({ id, label, variant, onChange, testId = 'store-sku-selector', activeValue, children, ...otherProps }, ref) {
|
|
4
|
-
const radioGroupId = id ? `-${id}` : '';
|
|
5
|
-
return (React.createElement("div", Object.assign({ ref: ref, "data-fs-sku-selector": true, "data-testid": testId, "data-fs-sku-selector-variant": variant }, otherProps),
|
|
6
|
-
label && (React.createElement(Label, { "data-fs-sku-selector-title": true },
|
|
7
|
-
label,
|
|
8
|
-
": ",
|
|
9
|
-
React.createElement("strong", null, activeValue))),
|
|
10
|
-
React.createElement(RadioGroup, { selectedValue: activeValue, name: `sku-selector-${variant}${radioGroupId}`, onChange: (e) => {
|
|
11
|
-
onChange?.(e);
|
|
12
|
-
} }, children)));
|
|
13
|
-
});
|
|
14
|
-
export default SkuSelector;
|
|
15
|
-
//# sourceMappingURL=SkuSelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkuSelector.js","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/SkuSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AA4DzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,EAAE,EACF,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,GAAG,oBAAoB,EAC7B,WAAW,EACX,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAEvC,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,+CAEK,MAAM,kCACW,OAAO,IACjC,UAAU;QAEb,KAAK,IAAI,CACR,oBAAC,KAAK;YACH,KAAK;;YAAG,oCAAS,WAAW,CAAU,CACjC,CACT;QACD,oBAAC,UAAU,IACT,aAAa,EAAE,WAAW,EAC1B,IAAI,EAAE,gBAAgB,OAAO,GAAG,YAAY,EAAE,EAC9C,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAA;YACf,CAAC,IAEA,QAAQ,CACE,CACT,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../src/molecules/Table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,KAAK,GAAG,UAAU,CAA+B,SAAS,KAAK,CACnE,EAAE,MAAM,GAAG,aAAa,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACnD,GAAG;IAEH,OAAO,CACL,6CAAO,GAAG,EAAE,GAAG,wCAA6B,MAAM,IAAM,UAAU,GAC/D,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableBody.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableBody.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,SAAS,GAAG,UAAU,CAC1B,SAAS,SAAS,CAChB,EAAE,QAAQ,EAAE,MAAM,GAAG,kBAAkB,EAAE,GAAG,UAAU,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,6CAAO,GAAG,EAAE,GAAG,iBAAe,MAAM,6BAAsB,UAAU,GACjE,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableCell.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAoBzC,MAAM,SAAS,GAAG,UAAU,CAC1B,SAAS,SAAS,CAChB,EACE,MAAM,GAAG,kBAAkB,EAC3B,QAAQ,EACR,OAAO,GAAG,MAAM,EAChB,KAAK,EACL,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,IAAI,GAAG,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;IAE/C,OAAO,CACL,oBAAC,IAAI,kBACH,GAAG,EAAE,GAAG,qBACS,OAAO,iBACX,MAAM,EACnB,KAAK,EAAE,KAAK,IACR,UAAU,GAEb,QAAQ,CACJ,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableFooter.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,QAAQ,EAAE,MAAM,GAAG,oBAAoB,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,6CAAO,GAAG,EAAE,GAAG,iBAAe,MAAM,+BAAwB,UAAU,GACnE,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableHead.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableHead.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,SAAS,GAAG,UAAU,CAC1B,SAAS,SAAS,CAChB,EAAE,QAAQ,EAAE,MAAM,GAAG,kBAAkB,EAAE,GAAG,UAAU,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,6CAAO,GAAG,EAAE,GAAG,iBAAe,MAAM,6BAAsB,UAAU,GACjE,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,QAAQ,GAAG,UAAU,CACzB,SAAS,QAAQ,CACf,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,0CAAI,GAAG,EAAE,GAAG,yCAA8B,MAAM,IAAM,UAAU,GAC7D,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/Table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAG1C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGhD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../src/organisms/Hero/Hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,IAAI,GAAG,UAAU,CAA4B,SAAS,IAAI,CAC9D,EAAE,MAAM,GAAG,YAAY,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClD,GAAG;IAEH,OAAO,CACL,+CAAS,GAAG,EAAE,GAAG,uCAA4B,MAAM,IAAM,UAAU,GAChE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeroHeading.js","sourceRoot":"","sources":["../../../src/organisms/Hero/HeroHeading.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,8CAAQ,GAAG,EAAE,GAAG,4CAAiC,MAAM,IAAM,UAAU,GACpE,QAAQ,CACF,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeroImage.js","sourceRoot":"","sources":["../../../src/organisms/Hero/HeroImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,kBAAkB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,2CAAK,GAAG,EAAE,GAAG,0CAA+B,MAAM,IAAM,UAAU,GAC/D,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/Hero/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGhC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OutOfStock.js","sourceRoot":"","sources":["../../../src/organisms/OutOfStock/OutOfStock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,IAAI,MAAM,sBAAsB,CAAA;AAqBvC,MAAM,UAAU,GAAG,CAAC,EAClB,MAAM,GAAG,oBAAoB,EAC7B,QAAQ,EACR,GAAG,UAAU,EACG,EAAE,EAAE;IACpB,OAAO,CACL,8EAA2C,MAAM;QAC/C,oBAAC,IAAI,kDAAwB,MAAM,EAAE,GAAG,MAAM,OAAO,IAAM,UAAU,GAClE,QAAQ,CACJ,CACC,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OutOfStockMessage.js","sourceRoot":"","sources":["../../../src/organisms/OutOfStock/OutOfStockMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,EAAE,EAAE,gBAAgB,GAAG,GAAG,EAC1B,MAAM,GAAG,4BAA4B,EACrC,QAAQ,EACR,GAAG,UAAU,EACU,EAAE,EAAE;IAC3B,OAAO,CACL,oBAAC,gBAAgB,oEAEF,MAAM,IACf,UAAU,GAEb,QAAQ,CACQ,CACpB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OutOfStockTitle.js","sourceRoot":"","sources":["../../../src/organisms/OutOfStock/OutOfStockTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,EAAE,EAAE,cAAc,GAAG,IAAI,EACzB,MAAM,GAAG,0BAA0B,EACnC,QAAQ,EACR,GAAG,UAAU,EACQ,EAAE,EAAE;IACzB,OAAO,CACL,oBAAC,cAAc,kEAEA,MAAM,IACf,UAAU,GAEb,QAAQ,CACM,CAClB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/OutOfStock/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/organisms/Tiles/Tile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,IAAI,GAAG,UAAU,CAA2B,SAAS,IAAI,CAC7D,EAAE,MAAM,GAAG,YAAY,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClD,GAAG;IAEH,OAAO,CACL,0CAAI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M,aAAa,GACjB,aAAa,KAAK,4BAA4B;QAC5C,CAAC,CAAC,gBAAgB;QAClB,CAAC,CAAC,aAAa,KAAK,gCAAgC;YACpD,CAAC,CAAC,oBAAoB;YACtB,CAAC,CAAC,EAAE,CAAA;IAER,OAAO,CACL,0CACE,GAAG,EAAE,GAAG,kDAEe,aAAa,iBACvB,MAAM,IACf,UAAU,GAEb,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/Tiles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAG1C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA"}
|
package/dist/setupTests.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/extend-expect';
|
package/dist/setupTests.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/extend-expect';
|
|
2
|
-
import { toHaveNoViolations } from 'jest-axe';
|
|
3
|
-
import { toHaveNoIncompletes } from './utils/toHaveNoIncomplete';
|
|
4
|
-
expect.extend(toHaveNoViolations);
|
|
5
|
-
expect.extend(toHaveNoIncompletes);
|
|
6
|
-
//# sourceMappingURL=setupTests.js.map
|
package/dist/setupTests.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setupTests.js","sourceRoot":"","sources":["../src/setupTests.ts"],"names":[],"mappings":"AAAA,OAAO,yCAAyC,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAEhE,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAA;AACjC,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { AxeResults } from 'axe-core';
|
|
2
|
-
export declare const toHaveNoIncompletes: {
|
|
3
|
-
toHaveNoIncompletes: (results: AxeResults) => {
|
|
4
|
-
actual: import("axe-core").Result[];
|
|
5
|
-
message: () => string;
|
|
6
|
-
pass: boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
declare global {
|
|
10
|
-
namespace jest {
|
|
11
|
-
interface Matchers<R> {
|
|
12
|
-
toHaveNoIncompletes(): R;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
interface Node {
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { printReceived, matcherHint } from 'jest-matcher-utils';
|
|
2
|
-
import chalk from 'chalk';
|
|
3
|
-
// This code is based on jest-axe library.
|
|
4
|
-
// https://github.com/nickcolley/jest-axe
|
|
5
|
-
export const toHaveNoIncompletes = {
|
|
6
|
-
toHaveNoIncompletes: (results) => {
|
|
7
|
-
if (typeof results.incomplete === 'undefined') {
|
|
8
|
-
throw new Error('No incompletes found in aXe results object');
|
|
9
|
-
}
|
|
10
|
-
const reporter = (incompletes) => {
|
|
11
|
-
if (incompletes.length === 0) {
|
|
12
|
-
return [];
|
|
13
|
-
}
|
|
14
|
-
const lineBreak = '\n\n';
|
|
15
|
-
const horizontalLine = '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500';
|
|
16
|
-
return incompletes
|
|
17
|
-
.map((incomplete) => {
|
|
18
|
-
const errorBody = incomplete.nodes
|
|
19
|
-
.map((node) => {
|
|
20
|
-
const selector = node.target.join(', ');
|
|
21
|
-
const expectedText = `Expected the HTML found at $('${selector}') to have no incompletes:${lineBreak}`;
|
|
22
|
-
return `${expectedText + chalk.grey(node.html) + lineBreak}Received:${lineBreak}${printReceived(`${incomplete.help} (${incomplete.id})`)}${lineBreak}${chalk.yellow(node.failureSummary)}${lineBreak}${incomplete.helpUrl
|
|
23
|
-
? `You can find more information on this issue here: \n${chalk.blue(incomplete.helpUrl)}`
|
|
24
|
-
: ''}`;
|
|
25
|
-
})
|
|
26
|
-
.join(lineBreak);
|
|
27
|
-
return errorBody;
|
|
28
|
-
})
|
|
29
|
-
.join(lineBreak + horizontalLine + lineBreak);
|
|
30
|
-
};
|
|
31
|
-
const { incomplete: incompletes } = results;
|
|
32
|
-
const formatedIncompletes = reporter(incompletes);
|
|
33
|
-
const pass = formatedIncompletes.length === 0;
|
|
34
|
-
const message = () => {
|
|
35
|
-
if (pass) {
|
|
36
|
-
return '';
|
|
37
|
-
}
|
|
38
|
-
return (`${matcherHint('.toHaveNoIncompletes')}\n\n` + `${formatedIncompletes}`);
|
|
39
|
-
};
|
|
40
|
-
return { actual: incompletes, message, pass };
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=toHaveNoIncomplete.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toHaveNoIncomplete.js","sourceRoot":"","sources":["../../src/utils/toHaveNoIncomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,0CAA0C;AAC1C,yCAAyC;AACzC,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,mBAAmB,EAAE,CAAC,OAAmB,EAAE,EAAE;QAC3C,IAAI,OAAO,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;YAC7C,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAA;SAC9D;QAED,MAAM,QAAQ,GAAG,CAAC,WAAqC,EAAE,EAAE;YACzD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,OAAO,EAAE,CAAA;aACV;YAED,MAAM,SAAS,GAAG,MAAM,CAAA;YACxB,MAAM,cAAc,GAAG,k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