@faststore/components 3.0.32-alpha.0 → 3.0.39
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/cjs/molecules/CheckboxField/CheckboxField.d.ts +2 -17
- package/dist/cjs/molecules/CheckboxField/CheckboxField.js +2 -2
- package/dist/cjs/molecules/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/cjs/organisms/PaymentMethods/PaymentMethods.js +1 -1
- package/dist/cjs/organisms/PaymentMethods/PaymentMethods.js.map +1 -1
- package/dist/esm/molecules/CheckboxField/CheckboxField.d.ts +2 -17
- package/dist/esm/molecules/CheckboxField/CheckboxField.js +2 -2
- package/dist/esm/molecules/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/esm/organisms/PaymentMethods/PaymentMethods.js +1 -1
- package/dist/esm/organisms/PaymentMethods/PaymentMethods.js.map +1 -1
- package/package.json +10 -5
- package/src/molecules/CheckboxField/CheckboxField.tsx +18 -20
- package/src/organisms/PaymentMethods/PaymentMethods.tsx +1 -1
- package/dist/atoms/Badge/Badge.d.ts +0 -27
- package/dist/atoms/Badge/Badge.js +0 -7
- 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 -45
- package/dist/atoms/Button/Button.js +0 -14
- 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 -14
- 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 -35
- package/dist/atoms/Icon/Icon.js +0 -14
- 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/Input/Input.d.ts +0 -10
- package/dist/atoms/Input/Input.js +0 -6
- package/dist/atoms/Input/Input.js.map +0 -1
- package/dist/atoms/Input/index.d.ts +0 -2
- package/dist/atoms/Input/index.js +0 -2
- package/dist/atoms/Input/index.js.map +0 -1
- package/dist/atoms/Label/Label.d.ts +0 -10
- package/dist/atoms/Label/Label.js +0 -6
- package/dist/atoms/Label/Label.js.map +0 -1
- package/dist/atoms/Label/index.d.ts +0 -2
- package/dist/atoms/Label/index.js +0 -2
- package/dist/atoms/Label/index.js.map +0 -1
- package/dist/atoms/Link/Link.d.ts +0 -25
- package/dist/atoms/Link/Link.js +0 -7
- package/dist/atoms/Link/Link.js.map +0 -1
- package/dist/atoms/Link/index.d.ts +0 -2
- package/dist/atoms/Link/index.js +0 -2
- package/dist/atoms/Link/index.js.map +0 -1
- package/dist/atoms/List/List.d.ts +0 -16
- package/dist/atoms/List/List.js +0 -7
- package/dist/atoms/List/List.js.map +0 -1
- package/dist/atoms/List/index.d.ts +0 -2
- package/dist/atoms/List/index.js +0 -2
- package/dist/atoms/List/index.js.map +0 -1
- package/dist/atoms/Loader/Loader.d.ts +0 -14
- package/dist/atoms/Loader/Loader.js +0 -9
- package/dist/atoms/Loader/Loader.js.map +0 -1
- package/dist/atoms/Loader/index.d.ts +0 -2
- package/dist/atoms/Loader/index.js +0 -2
- package/dist/atoms/Loader/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/Price/Price.d.ts +0 -32
- package/dist/atoms/Price/Price.js +0 -10
- package/dist/atoms/Price/Price.js.map +0 -1
- package/dist/atoms/Price/index.d.ts +0 -2
- package/dist/atoms/Price/index.js +0 -2
- package/dist/atoms/Price/index.js.map +0 -1
- package/dist/atoms/Radio/Radio.d.ts +0 -10
- 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/SROnly/SROnly.d.ts +0 -14
- package/dist/atoms/SROnly/SROnly.js +0 -7
- package/dist/atoms/SROnly/SROnly.js.map +0 -1
- package/dist/atoms/SROnly/index.d.ts +0 -1
- package/dist/atoms/SROnly/index.js +0 -2
- package/dist/atoms/SROnly/index.js.map +0 -1
- package/dist/atoms/Select/Select.d.ts +0 -20
- package/dist/atoms/Select/Select.js +0 -9
- package/dist/atoms/Select/Select.js.map +0 -1
- package/dist/atoms/Select/index.d.ts +0 -2
- package/dist/atoms/Select/index.js +0 -2
- package/dist/atoms/Select/index.js.map +0 -1
- package/dist/atoms/Skeleton/Skeleton.d.ts +0 -37
- package/dist/atoms/Skeleton/Skeleton.js +0 -10
- package/dist/atoms/Skeleton/Skeleton.js.map +0 -1
- package/dist/atoms/Skeleton/index.d.ts +0 -2
- package/dist/atoms/Skeleton/index.js +0 -2
- package/dist/atoms/Skeleton/index.js.map +0 -1
- package/dist/atoms/Slider/Slider.d.ts +0 -71
- package/dist/atoms/Slider/Slider.js +0 -57
- package/dist/atoms/Slider/Slider.js.map +0 -1
- package/dist/atoms/Slider/index.d.ts +0 -2
- package/dist/atoms/Slider/index.js +0 -2
- package/dist/atoms/Slider/index.js.map +0 -1
- package/dist/cjs/organisms/ImageGallery/ImageZoom.d.ts +0 -7
- package/dist/cjs/organisms/ImageGallery/ImageZoom.js +0 -9
- package/dist/cjs/organisms/ImageGallery/ImageZoom.js.map +0 -1
- package/dist/esm/organisms/ImageGallery/ImageZoom.d.ts +0 -7
- package/dist/esm/organisms/ImageGallery/ImageZoom.js +0 -6
- package/dist/esm/organisms/ImageGallery/ImageZoom.js.map +0 -1
- package/dist/hooks/UIProvider.d.ts +0 -34
- package/dist/hooks/UIProvider.js +0 -78
- package/dist/hooks/UIProvider.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -8
- package/dist/hooks/index.js +0 -8
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/useFadeEffect.d.ts +0 -5
- package/dist/hooks/useFadeEffect.js +0 -18
- package/dist/hooks/useFadeEffect.js.map +0 -1
- package/dist/hooks/useScrollDirection.d.ts +0 -1
- package/dist/hooks/useScrollDirection.js +0 -22
- package/dist/hooks/useScrollDirection.js.map +0 -1
- package/dist/hooks/useSearch.d.ts +0 -7
- package/dist/hooks/useSearch.js +0 -10
- package/dist/hooks/useSearch.js.map +0 -1
- package/dist/hooks/useSlideVisibility.d.ts +0 -9
- package/dist/hooks/useSlideVisibility.js +0 -29
- package/dist/hooks/useSlideVisibility.js.map +0 -1
- package/dist/hooks/useSlider.d.ts +0 -64
- package/dist/hooks/useSlider.js +0 -103
- package/dist/hooks/useSlider.js.map +0 -1
- package/dist/hooks/useTrapFocus.d.ts +0 -8
- package/dist/hooks/useTrapFocus.js +0 -75
- package/dist/hooks/useTrapFocus.js.map +0 -1
- package/dist/index.d.ts +0 -141
- package/dist/index.js +0 -78
- package/dist/index.js.map +0 -1
- package/dist/molecules/Accordion/Accordion.d.ts +0 -26
- package/dist/molecules/Accordion/Accordion.js +0 -21
- package/dist/molecules/Accordion/Accordion.js.map +0 -1
- package/dist/molecules/Accordion/AccordionButton.d.ts +0 -19
- 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 -31
- package/dist/molecules/Accordion/AccordionItem.js +0 -22
- package/dist/molecules/Accordion/AccordionItem.js.map +0 -1
- package/dist/molecules/Accordion/AccordionPanel.d.ts +0 -10
- package/dist/molecules/Accordion/AccordionPanel.js +0 -10
- package/dist/molecules/Accordion/AccordionPanel.js.map +0 -1
- package/dist/molecules/Accordion/index.d.ts +0 -8
- package/dist/molecules/Accordion/index.js +0 -5
- package/dist/molecules/Accordion/index.js.map +0 -1
- package/dist/molecules/Alert/Alert.d.ts +0 -29
- package/dist/molecules/Alert/Alert.js +0 -17
- package/dist/molecules/Alert/Alert.js.map +0 -1
- package/dist/molecules/Alert/index.d.ts +0 -2
- package/dist/molecules/Alert/index.js +0 -2
- package/dist/molecules/Alert/index.js.map +0 -1
- package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +0 -6
- package/dist/molecules/Breadcrumb/Breadcrumb.js +0 -7
- package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
- package/dist/molecules/Breadcrumb/BreadcrumbBase.d.ts +0 -47
- package/dist/molecules/Breadcrumb/BreadcrumbBase.js +0 -45
- package/dist/molecules/Breadcrumb/BreadcrumbBase.js.map +0 -1
- package/dist/molecules/Breadcrumb/BreadcrumbPure.d.ts +0 -14
- package/dist/molecules/Breadcrumb/BreadcrumbPure.js +0 -12
- package/dist/molecules/Breadcrumb/BreadcrumbPure.js.map +0 -1
- package/dist/molecules/Breadcrumb/Divider.d.ts +0 -4
- package/dist/molecules/Breadcrumb/Divider.js +0 -14
- package/dist/molecules/Breadcrumb/Divider.js.map +0 -1
- package/dist/molecules/Breadcrumb/ListItem.d.ts +0 -10
- package/dist/molecules/Breadcrumb/ListItem.js +0 -20
- package/dist/molecules/Breadcrumb/ListItem.js.map +0 -1
- package/dist/molecules/Breadcrumb/index.d.ts +0 -4
- package/dist/molecules/Breadcrumb/index.js +0 -3
- package/dist/molecules/Breadcrumb/index.js.map +0 -1
- package/dist/molecules/BuyButton/BuyButton.d.ts +0 -5
- package/dist/molecules/BuyButton/BuyButton.js +0 -7
- package/dist/molecules/BuyButton/BuyButton.js.map +0 -1
- package/dist/molecules/BuyButton/index.d.ts +0 -1
- package/dist/molecules/BuyButton/index.js +0 -2
- package/dist/molecules/BuyButton/index.js.map +0 -1
- package/dist/molecules/Carousel/Carousel.d.ts +0 -60
- package/dist/molecules/Carousel/Carousel.js +0 -188
- package/dist/molecules/Carousel/Carousel.js.map +0 -1
- package/dist/molecules/Carousel/CarouselBullets.d.ts +0 -39
- package/dist/molecules/Carousel/CarouselBullets.js +0 -12
- package/dist/molecules/Carousel/CarouselBullets.js.map +0 -1
- package/dist/molecules/Carousel/CarouselItem.d.ts +0 -13
- package/dist/molecules/Carousel/CarouselItem.js +0 -20
- package/dist/molecules/Carousel/CarouselItem.js.map +0 -1
- package/dist/molecules/Carousel/index.d.ts +0 -6
- package/dist/molecules/Carousel/index.js +0 -4
- package/dist/molecules/Carousel/index.js.map +0 -1
- package/dist/molecules/CartItem/CartItem.d.ts +0 -32
- package/dist/molecules/CartItem/CartItem.js +0 -12
- package/dist/molecules/CartItem/CartItem.js.map +0 -1
- package/dist/molecules/CartItem/CartItemImage.d.ts +0 -10
- package/dist/molecules/CartItem/CartItemImage.js +0 -6
- package/dist/molecules/CartItem/CartItemImage.js.map +0 -1
- package/dist/molecules/CartItem/CartItemSummary.d.ts +0 -21
- package/dist/molecules/CartItem/CartItemSummary.js +0 -12
- package/dist/molecules/CartItem/CartItemSummary.js.map +0 -1
- package/dist/molecules/CartItem/index.d.ts +0 -6
- package/dist/molecules/CartItem/index.js +0 -4
- package/dist/molecules/CartItem/index.js.map +0 -1
- package/dist/molecules/CheckboxField/CheckboxField.d.ts +0 -25
- package/dist/molecules/CheckboxField/CheckboxField.js +0 -10
- package/dist/molecules/CheckboxField/CheckboxField.js.map +0 -1
- package/dist/molecules/CheckboxField/index.d.ts +0 -2
- package/dist/molecules/CheckboxField/index.js +0 -2
- package/dist/molecules/CheckboxField/index.js.map +0 -1
- package/dist/molecules/DiscountBadge/DiscountBadge.d.ts +0 -26
- package/dist/molecules/DiscountBadge/DiscountBadge.js +0 -19
- package/dist/molecules/DiscountBadge/DiscountBadge.js.map +0 -1
- package/dist/molecules/DiscountBadge/index.d.ts +0 -2
- package/dist/molecules/DiscountBadge/index.js +0 -2
- package/dist/molecules/DiscountBadge/index.js.map +0 -1
- package/dist/molecules/DiscountBadge/useDiscountPercent.d.ts +0 -1
- package/dist/molecules/DiscountBadge/useDiscountPercent.js +0 -9
- package/dist/molecules/DiscountBadge/useDiscountPercent.js.map +0 -1
- package/dist/molecules/Dropdown/Dropdown.d.ts +0 -18
- package/dist/molecules/Dropdown/Dropdown.js +0 -66
- package/dist/molecules/Dropdown/Dropdown.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownButton.d.ts +0 -14
- package/dist/molecules/Dropdown/DropdownButton.js +0 -12
- package/dist/molecules/Dropdown/DropdownButton.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownItem.d.ts +0 -14
- package/dist/molecules/Dropdown/DropdownItem.js +0 -28
- package/dist/molecules/Dropdown/DropdownItem.js.map +0 -1
- package/dist/molecules/Dropdown/DropdownMenu.d.ts +0 -26
- package/dist/molecules/Dropdown/DropdownMenu.js +0 -66
- package/dist/molecules/Dropdown/DropdownMenu.js.map +0 -1
- package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +0 -41
- package/dist/molecules/Dropdown/contexts/DropdownContext.js +0 -11
- package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +0 -1
- package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +0 -6
- package/dist/molecules/Dropdown/hooks/useDropdown.js +0 -14
- package/dist/molecules/Dropdown/hooks/useDropdown.js.map +0 -1
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +0 -8
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +0 -25
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +0 -1
- package/dist/molecules/Dropdown/index.d.ts +0 -8
- package/dist/molecules/Dropdown/index.js +0 -5
- package/dist/molecules/Dropdown/index.js.map +0 -1
- package/dist/molecules/Gift/Gift.d.ts +0 -15
- package/dist/molecules/Gift/Gift.js +0 -8
- package/dist/molecules/Gift/Gift.js.map +0 -1
- package/dist/molecules/Gift/GiftContent.d.ts +0 -27
- package/dist/molecules/Gift/GiftContent.js +0 -14
- package/dist/molecules/Gift/GiftContent.js.map +0 -1
- package/dist/molecules/Gift/GiftImage.d.ts +0 -10
- package/dist/molecules/Gift/GiftImage.js +0 -6
- package/dist/molecules/Gift/GiftImage.js.map +0 -1
- package/dist/molecules/Gift/index.d.ts +0 -6
- package/dist/molecules/Gift/index.js +0 -4
- package/dist/molecules/Gift/index.js.map +0 -1
- package/dist/molecules/IconButton/IconButton.d.ts +0 -19
- package/dist/molecules/IconButton/IconButton.js +0 -7
- 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/InputField/InputField.d.ts +0 -60
- package/dist/molecules/InputField/InputField.js +0 -18
- package/dist/molecules/InputField/InputField.js.map +0 -1
- package/dist/molecules/InputField/index.d.ts +0 -2
- package/dist/molecules/InputField/index.js +0 -2
- package/dist/molecules/InputField/index.js.map +0 -1
- package/dist/molecules/LinkButton/LinkButton.d.ts +0 -6
- package/dist/molecules/LinkButton/LinkButton.js +0 -17
- package/dist/molecules/LinkButton/LinkButton.js.map +0 -1
- package/dist/molecules/LinkButton/index.d.ts +0 -2
- package/dist/molecules/LinkButton/index.js +0 -2
- package/dist/molecules/LinkButton/index.js.map +0 -1
- package/dist/molecules/Modal/Modal.d.ts +0 -39
- package/dist/molecules/Modal/Modal.js +0 -38
- package/dist/molecules/Modal/Modal.js.map +0 -1
- package/dist/molecules/Modal/ModalBody.d.ts +0 -9
- package/dist/molecules/Modal/ModalBody.js +0 -4
- package/dist/molecules/Modal/ModalBody.js.map +0 -1
- package/dist/molecules/Modal/ModalContent.d.ts +0 -11
- package/dist/molecules/Modal/ModalContent.js +0 -23
- package/dist/molecules/Modal/ModalContent.js.map +0 -1
- package/dist/molecules/Modal/ModalHeader.d.ts +0 -22
- package/dist/molecules/Modal/ModalHeader.js +0 -11
- package/dist/molecules/Modal/ModalHeader.js.map +0 -1
- package/dist/molecules/Modal/index.d.ts +0 -5
- package/dist/molecules/Modal/index.js +0 -4
- package/dist/molecules/Modal/index.js.map +0 -1
- package/dist/molecules/NavbarLinks/NavbarLinks.d.ts +0 -10
- package/dist/molecules/NavbarLinks/NavbarLinks.js +0 -6
- package/dist/molecules/NavbarLinks/NavbarLinks.js.map +0 -1
- package/dist/molecules/NavbarLinks/NavbarLinksList.d.ts +0 -10
- package/dist/molecules/NavbarLinks/NavbarLinksList.js +0 -7
- package/dist/molecules/NavbarLinks/NavbarLinksList.js.map +0 -1
- package/dist/molecules/NavbarLinks/NavbarLinksListItem.d.ts +0 -10
- package/dist/molecules/NavbarLinks/NavbarLinksListItem.js +0 -6
- package/dist/molecules/NavbarLinks/NavbarLinksListItem.js.map +0 -1
- package/dist/molecules/NavbarLinks/index.d.ts +0 -6
- package/dist/molecules/NavbarLinks/index.js +0 -4
- package/dist/molecules/NavbarLinks/index.js.map +0 -1
- package/dist/molecules/OrderSummary/OrderSummary.d.ts +0 -35
- package/dist/molecules/OrderSummary/OrderSummary.js +0 -16
- package/dist/molecules/OrderSummary/OrderSummary.js.map +0 -1
- package/dist/molecules/OrderSummary/index.d.ts +0 -2
- package/dist/molecules/OrderSummary/index.js +0 -2
- package/dist/molecules/OrderSummary/index.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCard.d.ts +0 -23
- package/dist/molecules/ProductCard/ProductCard.js +0 -6
- package/dist/molecules/ProductCard/ProductCard.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardContent.d.ts +0 -48
- package/dist/molecules/ProductCard/ProductCardContent.js +0 -19
- package/dist/molecules/ProductCard/ProductCardContent.js.map +0 -1
- package/dist/molecules/ProductCard/ProductCardImage.d.ts +0 -14
- package/dist/molecules/ProductCard/ProductCardImage.js +0 -8
- package/dist/molecules/ProductCard/ProductCardImage.js.map +0 -1
- package/dist/molecules/ProductCard/index.d.ts +0 -6
- package/dist/molecules/ProductCard/index.js +0 -4
- package/dist/molecules/ProductCard/index.js.map +0 -1
- package/dist/molecules/ProductPrice/ProductPrice.d.ts +0 -24
- package/dist/molecules/ProductPrice/ProductPrice.js +0 -11
- package/dist/molecules/ProductPrice/ProductPrice.js.map +0 -1
- package/dist/molecules/ProductPrice/index.d.ts +0 -2
- package/dist/molecules/ProductPrice/index.js +0 -2
- package/dist/molecules/ProductPrice/index.js.map +0 -1
- package/dist/molecules/ProductTitle/ProductTitle.d.ts +0 -30
- package/dist/molecules/ProductTitle/ProductTitle.js +0 -16
- package/dist/molecules/ProductTitle/ProductTitle.js.map +0 -1
- package/dist/molecules/ProductTitle/index.d.ts +0 -2
- package/dist/molecules/ProductTitle/index.js +0 -2
- package/dist/molecules/ProductTitle/index.js.map +0 -1
- package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +0 -31
- package/dist/molecules/QuantitySelector/QuantitySelector.js +0 -37
- package/dist/molecules/QuantitySelector/QuantitySelector.js.map +0 -1
- package/dist/molecules/QuantitySelector/index.d.ts +0 -2
- package/dist/molecules/QuantitySelector/index.js +0 -2
- package/dist/molecules/QuantitySelector/index.js.map +0 -1
- package/dist/molecules/RadioField/RadioField.d.ts +0 -26
- package/dist/molecules/RadioField/RadioField.js +0 -10
- package/dist/molecules/RadioField/RadioField.js.map +0 -1
- package/dist/molecules/RadioField/index.d.ts +0 -2
- package/dist/molecules/RadioField/index.js +0 -2
- package/dist/molecules/RadioField/index.js.map +0 -1
- package/dist/molecules/RadioGroup/RadioGroup.d.ts +0 -6
- package/dist/molecules/RadioGroup/RadioGroup.js +0 -10
- package/dist/molecules/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/molecules/RadioGroup/RadioOption.d.ts +0 -19
- package/dist/molecules/RadioGroup/RadioOption.js +0 -11
- package/dist/molecules/RadioGroup/RadioOption.js.map +0 -1
- package/dist/molecules/RadioGroup/index.d.ts +0 -4
- package/dist/molecules/RadioGroup/index.js +0 -3
- package/dist/molecules/RadioGroup/index.js.map +0 -1
- package/dist/molecules/RadioGroup/useRadioGroup.d.ts +0 -17
- package/dist/molecules/RadioGroup/useRadioGroup.js +0 -10
- package/dist/molecules/RadioGroup/useRadioGroup.js.map +0 -1
- package/dist/molecules/Rating/Rating.d.ts +0 -29
- package/dist/molecules/Rating/Rating.js +0 -27
- package/dist/molecules/Rating/Rating.js.map +0 -1
- package/dist/molecules/Rating/index.d.ts +0 -2
- package/dist/molecules/Rating/index.js +0 -2
- package/dist/molecules/Rating/index.js.map +0 -1
- package/dist/molecules/RegionBar/RegionBar.d.ts +0 -30
- package/dist/molecules/RegionBar/RegionBar.js +0 -12
- package/dist/molecules/RegionBar/RegionBar.js.map +0 -1
- package/dist/molecules/RegionBar/index.d.ts +0 -2
- package/dist/molecules/RegionBar/index.js +0 -2
- package/dist/molecules/RegionBar/index.js.map +0 -1
- package/dist/molecules/SearchAutoComplete/SearchAutoComplete.d.ts +0 -9
- package/dist/molecules/SearchAutoComplete/SearchAutoComplete.js +0 -12
- package/dist/molecules/SearchAutoComplete/SearchAutoComplete.js.map +0 -1
- package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.d.ts +0 -27
- package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.js +0 -27
- package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.js.map +0 -1
- package/dist/molecules/SearchAutoComplete/index.d.ts +0 -4
- package/dist/molecules/SearchAutoComplete/index.js +0 -3
- package/dist/molecules/SearchAutoComplete/index.js.map +0 -1
- package/dist/molecules/SearchDropdown/SearchDropdown.d.ts +0 -14
- package/dist/molecules/SearchDropdown/SearchDropdown.js +0 -14
- package/dist/molecules/SearchDropdown/SearchDropdown.js.map +0 -1
- package/dist/molecules/SearchDropdown/index.d.ts +0 -2
- package/dist/molecules/SearchDropdown/index.js +0 -2
- package/dist/molecules/SearchDropdown/index.js.map +0 -1
- package/dist/molecules/SearchHistory/SearchHistory.d.ts +0 -21
- package/dist/molecules/SearchHistory/SearchHistory.js +0 -15
- package/dist/molecules/SearchHistory/SearchHistory.js.map +0 -1
- package/dist/molecules/SearchHistory/SearchHistoryTerm.d.ts +0 -23
- package/dist/molecules/SearchHistory/SearchHistoryTerm.js +0 -10
- package/dist/molecules/SearchHistory/SearchHistoryTerm.js.map +0 -1
- package/dist/molecules/SearchHistory/index.d.ts +0 -4
- package/dist/molecules/SearchHistory/index.js +0 -3
- package/dist/molecules/SearchHistory/index.js.map +0 -1
- package/dist/molecules/SearchInputField/SearchInputField.d.ts +0 -36
- package/dist/molecules/SearchInputField/SearchInputField.js +0 -21
- package/dist/molecules/SearchInputField/SearchInputField.js.map +0 -1
- package/dist/molecules/SearchInputField/index.d.ts +0 -2
- package/dist/molecules/SearchInputField/index.js +0 -2
- package/dist/molecules/SearchInputField/index.js.map +0 -1
- package/dist/molecules/SearchProducts/SearchProductItem.d.ts +0 -16
- package/dist/molecules/SearchProducts/SearchProductItem.js +0 -8
- package/dist/molecules/SearchProducts/SearchProductItem.js.map +0 -1
- package/dist/molecules/SearchProducts/SearchProductItemContent.d.ts +0 -14
- package/dist/molecules/SearchProducts/SearchProductItemContent.js +0 -9
- package/dist/molecules/SearchProducts/SearchProductItemContent.js.map +0 -1
- package/dist/molecules/SearchProducts/SearchProductItemImage.d.ts +0 -10
- package/dist/molecules/SearchProducts/SearchProductItemImage.js +0 -6
- package/dist/molecules/SearchProducts/SearchProductItemImage.js.map +0 -1
- package/dist/molecules/SearchProducts/SearchProducts.d.ts +0 -13
- package/dist/molecules/SearchProducts/SearchProducts.js +0 -14
- package/dist/molecules/SearchProducts/SearchProducts.js.map +0 -1
- package/dist/molecules/SearchProducts/index.d.ts +0 -8
- package/dist/molecules/SearchProducts/index.js +0 -5
- package/dist/molecules/SearchProducts/index.js.map +0 -1
- package/dist/molecules/SearchProvider/SearchProvider.d.ts +0 -29
- package/dist/molecules/SearchProvider/SearchProvider.js +0 -8
- package/dist/molecules/SearchProvider/SearchProvider.js.map +0 -1
- package/dist/molecules/SearchProvider/index.d.ts +0 -2
- package/dist/molecules/SearchProvider/index.js +0 -2
- package/dist/molecules/SearchProvider/index.js.map +0 -1
- package/dist/molecules/SearchTop/SearchTop.d.ts +0 -14
- package/dist/molecules/SearchTop/SearchTop.js +0 -15
- package/dist/molecules/SearchTop/SearchTop.js.map +0 -1
- package/dist/molecules/SearchTop/SearchTopTerm.d.ts +0 -23
- package/dist/molecules/SearchTop/SearchTopTerm.js +0 -10
- package/dist/molecules/SearchTop/SearchTopTerm.js.map +0 -1
- package/dist/molecules/SearchTop/index.d.ts +0 -4
- package/dist/molecules/SearchTop/index.js +0 -3
- package/dist/molecules/SearchTop/index.js.map +0 -1
- package/dist/molecules/SelectField/SelectField.d.ts +0 -12
- package/dist/molecules/SelectField/SelectField.js +0 -9
- package/dist/molecules/SelectField/SelectField.js.map +0 -1
- package/dist/molecules/SelectField/index.d.ts +0 -2
- package/dist/molecules/SelectField/index.js +0 -2
- package/dist/molecules/SelectField/index.js.map +0 -1
- package/dist/molecules/SkuSelector/SkuSelector.d.ts +0 -78
- package/dist/molecules/SkuSelector/SkuSelector.js +0 -31
- package/dist/molecules/SkuSelector/SkuSelector.js.map +0 -1
- package/dist/molecules/SkuSelector/index.d.ts +0 -2
- package/dist/molecules/SkuSelector/index.js +0 -2
- package/dist/molecules/SkuSelector/index.js.map +0 -1
- package/dist/molecules/SkuSelector/useDefineVariant.d.ts +0 -3
- package/dist/molecules/SkuSelector/useDefineVariant.js +0 -27
- package/dist/molecules/SkuSelector/useDefineVariant.js.map +0 -1
- package/dist/molecules/SkuSelector/useSkuSlug.d.ts +0 -6
- package/dist/molecules/SkuSelector/useSkuSlug.js +0 -23
- package/dist/molecules/SkuSelector/useSkuSlug.js.map +0 -1
- package/dist/molecules/Table/Table.d.ts +0 -26
- package/dist/molecules/Table/Table.js +0 -7
- package/dist/molecules/Table/Table.js.map +0 -1
- package/dist/molecules/Table/TableBody.d.ts +0 -12
- package/dist/molecules/Table/TableBody.js +0 -6
- package/dist/molecules/Table/TableBody.js.map +0 -1
- package/dist/molecules/Table/TableCell.d.ts +0 -26
- package/dist/molecules/Table/TableCell.js +0 -7
- package/dist/molecules/Table/TableCell.js.map +0 -1
- package/dist/molecules/Table/TableFooter.d.ts +0 -12
- package/dist/molecules/Table/TableFooter.js +0 -6
- package/dist/molecules/Table/TableFooter.js.map +0 -1
- package/dist/molecules/Table/TableHead.d.ts +0 -12
- package/dist/molecules/Table/TableHead.js +0 -6
- package/dist/molecules/Table/TableHead.js.map +0 -1
- package/dist/molecules/Table/TableRow.d.ts +0 -12
- package/dist/molecules/Table/TableRow.js +0 -6
- package/dist/molecules/Table/TableRow.js.map +0 -1
- package/dist/molecules/Table/index.d.ts +0 -12
- package/dist/molecules/Table/index.js +0 -7
- package/dist/molecules/Table/index.js.map +0 -1
- package/dist/molecules/Tag/Tag.d.ts +0 -27
- package/dist/molecules/Tag/Tag.js +0 -9
- package/dist/molecules/Tag/Tag.js.map +0 -1
- package/dist/molecules/Tag/index.d.ts +0 -2
- package/dist/molecules/Tag/index.js +0 -2
- package/dist/molecules/Tag/index.js.map +0 -1
- package/dist/molecules/Toast/Toast.d.ts +0 -3
- package/dist/molecules/Toast/Toast.js +0 -29
- package/dist/molecules/Toast/Toast.js.map +0 -1
- package/dist/molecules/Toast/index.d.ts +0 -1
- package/dist/molecules/Toast/index.js +0 -2
- package/dist/molecules/Toast/index.js.map +0 -1
- package/dist/molecules/Toggle/Toggle.d.ts +0 -22
- package/dist/molecules/Toggle/Toggle.js +0 -10
- package/dist/molecules/Toggle/Toggle.js.map +0 -1
- package/dist/molecules/Toggle/index.d.ts +0 -2
- package/dist/molecules/Toggle/index.js +0 -2
- package/dist/molecules/Toggle/index.js.map +0 -1
- package/dist/molecules/ToggleField/ToggleField.d.ts +0 -29
- package/dist/molecules/ToggleField/ToggleField.js +0 -9
- package/dist/molecules/ToggleField/ToggleField.js.map +0 -1
- package/dist/molecules/ToggleField/index.d.ts +0 -2
- package/dist/molecules/ToggleField/index.js +0 -2
- package/dist/molecules/ToggleField/index.js.map +0 -1
- package/dist/organisms/BannerText/BannerText.d.ts +0 -27
- package/dist/organisms/BannerText/BannerText.js +0 -16
- package/dist/organisms/BannerText/BannerText.js.map +0 -1
- package/dist/organisms/BannerText/BannerTextContent.d.ts +0 -30
- package/dist/organisms/BannerText/BannerTextContent.js +0 -13
- package/dist/organisms/BannerText/BannerTextContent.js.map +0 -1
- package/dist/organisms/BannerText/index.d.ts +0 -4
- package/dist/organisms/BannerText/index.js +0 -3
- package/dist/organisms/BannerText/index.js.map +0 -1
- package/dist/organisms/CartSidebar/CartSidebar.d.ts +0 -45
- package/dist/organisms/CartSidebar/CartSidebar.js +0 -18
- package/dist/organisms/CartSidebar/CartSidebar.js.map +0 -1
- package/dist/organisms/CartSidebar/CartSidebarFooter.d.ts +0 -5
- package/dist/organisms/CartSidebar/CartSidebarFooter.js +0 -6
- package/dist/organisms/CartSidebar/CartSidebarFooter.js.map +0 -1
- package/dist/organisms/CartSidebar/CartSidebarList.d.ts +0 -5
- package/dist/organisms/CartSidebar/CartSidebarList.js +0 -7
- package/dist/organisms/CartSidebar/CartSidebarList.js.map +0 -1
- package/dist/organisms/CartSidebar/index.d.ts +0 -4
- package/dist/organisms/CartSidebar/index.js +0 -4
- package/dist/organisms/CartSidebar/index.js.map +0 -1
- package/dist/organisms/EmptyState/EmptyState.d.ts +0 -28
- package/dist/organisms/EmptyState/EmptyState.js +0 -10
- package/dist/organisms/EmptyState/EmptyState.js.map +0 -1
- package/dist/organisms/EmptyState/index.d.ts +0 -2
- package/dist/organisms/EmptyState/index.js +0 -2
- package/dist/organisms/EmptyState/index.js.map +0 -1
- package/dist/organisms/Filter/Filter.d.ts +0 -26
- package/dist/organisms/Filter/Filter.js +0 -9
- package/dist/organisms/Filter/Filter.js.map +0 -1
- package/dist/organisms/Filter/FilterFacetBoolean.d.ts +0 -5
- package/dist/organisms/Filter/FilterFacetBoolean.js +0 -7
- package/dist/organisms/Filter/FilterFacetBoolean.js.map +0 -1
- package/dist/organisms/Filter/FilterFacetBooleanItem.d.ts +0 -38
- package/dist/organisms/Filter/FilterFacetBooleanItem.js +0 -12
- package/dist/organisms/Filter/FilterFacetBooleanItem.js.map +0 -1
- package/dist/organisms/Filter/FilterFacetRange.d.ts +0 -32
- package/dist/organisms/Filter/FilterFacetRange.js +0 -11
- package/dist/organisms/Filter/FilterFacetRange.js.map +0 -1
- package/dist/organisms/Filter/FilterFacets.d.ts +0 -21
- package/dist/organisms/Filter/FilterFacets.js +0 -9
- package/dist/organisms/Filter/FilterFacets.js.map +0 -1
- package/dist/organisms/Filter/FilterSlider.d.ts +0 -36
- package/dist/organisms/Filter/FilterSlider.js +0 -22
- package/dist/organisms/Filter/FilterSlider.js.map +0 -1
- package/dist/organisms/Filter/index.d.ts +0 -11
- package/dist/organisms/Filter/index.js +0 -7
- package/dist/organisms/Filter/index.js.map +0 -1
- package/dist/organisms/Hero/Hero.d.ts +0 -27
- package/dist/organisms/Hero/Hero.js +0 -16
- package/dist/organisms/Hero/Hero.js.map +0 -1
- package/dist/organisms/Hero/HeroHeader.d.ts +0 -34
- package/dist/organisms/Hero/HeroHeader.js +0 -15
- package/dist/organisms/Hero/HeroHeader.js.map +0 -1
- package/dist/organisms/Hero/HeroImage.d.ts +0 -10
- package/dist/organisms/Hero/HeroImage.js +0 -6
- package/dist/organisms/Hero/HeroImage.js.map +0 -1
- package/dist/organisms/Hero/index.d.ts +0 -6
- package/dist/organisms/Hero/index.js +0 -4
- package/dist/organisms/Hero/index.js.map +0 -1
- package/dist/organisms/ImageGallery/ImageGallery.d.ts +0 -42
- package/dist/organisms/ImageGallery/ImageGallery.js +0 -10
- package/dist/organisms/ImageGallery/ImageGallery.js.map +0 -1
- package/dist/organisms/ImageGallery/ImageGallerySelector.d.ts +0 -32
- package/dist/organisms/ImageGallery/ImageGallerySelector.js +0 -46
- package/dist/organisms/ImageGallery/ImageGallerySelector.js.map +0 -1
- package/dist/organisms/ImageGallery/ImageGalleryViewer.d.ts +0 -8
- package/dist/organisms/ImageGallery/ImageGalleryViewer.js +0 -6
- package/dist/organisms/ImageGallery/ImageGalleryViewer.js.map +0 -1
- package/dist/organisms/ImageGallery/ImageZoom.d.ts +0 -7
- package/dist/organisms/ImageGallery/ImageZoom.js +0 -6
- package/dist/organisms/ImageGallery/ImageZoom.js.map +0 -1
- package/dist/organisms/ImageGallery/index.d.ts +0 -6
- package/dist/organisms/ImageGallery/index.js +0 -4
- package/dist/organisms/ImageGallery/index.js.map +0 -1
- package/dist/organisms/Navbar/Navbar.d.ts +0 -14
- package/dist/organisms/Navbar/Navbar.js +0 -6
- package/dist/organisms/Navbar/Navbar.js.map +0 -1
- package/dist/organisms/Navbar/NavbarButtons.d.ts +0 -14
- package/dist/organisms/Navbar/NavbarButtons.js +0 -6
- package/dist/organisms/Navbar/NavbarButtons.js.map +0 -1
- package/dist/organisms/Navbar/NavbarHeader.d.ts +0 -10
- package/dist/organisms/Navbar/NavbarHeader.js +0 -6
- package/dist/organisms/Navbar/NavbarHeader.js.map +0 -1
- package/dist/organisms/Navbar/NavbarRow.d.ts +0 -10
- package/dist/organisms/Navbar/NavbarRow.js +0 -6
- package/dist/organisms/Navbar/NavbarRow.js.map +0 -1
- package/dist/organisms/Navbar/index.d.ts +0 -8
- package/dist/organisms/Navbar/index.js +0 -5
- package/dist/organisms/Navbar/index.js.map +0 -1
- package/dist/organisms/NavbarSlider/NavbarSlider.d.ts +0 -19
- package/dist/organisms/NavbarSlider/NavbarSlider.js +0 -7
- package/dist/organisms/NavbarSlider/NavbarSlider.js.map +0 -1
- package/dist/organisms/NavbarSlider/NavbarSliderContent.d.ts +0 -10
- package/dist/organisms/NavbarSlider/NavbarSliderContent.js +0 -6
- package/dist/organisms/NavbarSlider/NavbarSliderContent.js.map +0 -1
- package/dist/organisms/NavbarSlider/NavbarSliderFooter.d.ts +0 -10
- package/dist/organisms/NavbarSlider/NavbarSliderFooter.js +0 -6
- package/dist/organisms/NavbarSlider/NavbarSliderFooter.js.map +0 -1
- package/dist/organisms/NavbarSlider/NavbarSliderHeader.d.ts +0 -10
- package/dist/organisms/NavbarSlider/NavbarSliderHeader.js +0 -7
- package/dist/organisms/NavbarSlider/NavbarSliderHeader.js.map +0 -1
- package/dist/organisms/NavbarSlider/index.d.ts +0 -8
- package/dist/organisms/NavbarSlider/index.js +0 -5
- package/dist/organisms/NavbarSlider/index.js.map +0 -1
- package/dist/organisms/Newsletter/Newsletter.d.ts +0 -19
- package/dist/organisms/Newsletter/Newsletter.js +0 -6
- package/dist/organisms/Newsletter/Newsletter.js.map +0 -1
- package/dist/organisms/Newsletter/NewsletterAddendum.d.ts +0 -14
- package/dist/organisms/Newsletter/NewsletterAddendum.js +0 -6
- package/dist/organisms/Newsletter/NewsletterAddendum.js.map +0 -1
- package/dist/organisms/Newsletter/NewsletterContent.d.ts +0 -10
- package/dist/organisms/Newsletter/NewsletterContent.js +0 -6
- package/dist/organisms/Newsletter/NewsletterContent.js.map +0 -1
- package/dist/organisms/Newsletter/NewsletterForm.d.ts +0 -14
- package/dist/organisms/Newsletter/NewsletterForm.js +0 -6
- package/dist/organisms/Newsletter/NewsletterForm.js.map +0 -1
- package/dist/organisms/Newsletter/NewsletterHeader.d.ts +0 -22
- package/dist/organisms/Newsletter/NewsletterHeader.js +0 -10
- package/dist/organisms/Newsletter/NewsletterHeader.js.map +0 -1
- package/dist/organisms/Newsletter/index.d.ts +0 -10
- package/dist/organisms/Newsletter/index.js +0 -6
- package/dist/organisms/Newsletter/index.js.map +0 -1
- package/dist/organisms/OutOfStock/OutOfStock.d.ts +0 -43
- package/dist/organisms/OutOfStock/OutOfStock.js +0 -13
- package/dist/organisms/OutOfStock/OutOfStock.js.map +0 -1
- package/dist/organisms/OutOfStock/index.d.ts +0 -2
- package/dist/organisms/OutOfStock/index.js +0 -2
- package/dist/organisms/OutOfStock/index.js.map +0 -1
- package/dist/organisms/PaymentMethods/PaymentMethods.d.ts +0 -32
- package/dist/organisms/PaymentMethods/PaymentMethods.js +0 -11
- package/dist/organisms/PaymentMethods/PaymentMethods.js.map +0 -1
- package/dist/organisms/PaymentMethods/index.d.ts +0 -2
- package/dist/organisms/PaymentMethods/index.js +0 -2
- package/dist/organisms/PaymentMethods/index.js.map +0 -1
- package/dist/organisms/PriceRange/PriceRange.d.ts +0 -25
- package/dist/organisms/PriceRange/PriceRange.js +0 -75
- package/dist/organisms/PriceRange/PriceRange.js.map +0 -1
- package/dist/organisms/PriceRange/index.d.ts +0 -2
- package/dist/organisms/PriceRange/index.js +0 -2
- package/dist/organisms/PriceRange/index.js.map +0 -1
- package/dist/organisms/ProductGrid/ProductGrid.d.ts +0 -10
- package/dist/organisms/ProductGrid/ProductGrid.js +0 -6
- package/dist/organisms/ProductGrid/ProductGrid.js.map +0 -1
- package/dist/organisms/ProductGrid/ProductGridItem.d.ts +0 -10
- package/dist/organisms/ProductGrid/ProductGridItem.js +0 -6
- package/dist/organisms/ProductGrid/ProductGridItem.js.map +0 -1
- package/dist/organisms/ProductGrid/index.d.ts +0 -4
- package/dist/organisms/ProductGrid/index.js +0 -3
- package/dist/organisms/ProductGrid/index.js.map +0 -1
- package/dist/organisms/ProductShelf/ProductShelf.d.ts +0 -10
- package/dist/organisms/ProductShelf/ProductShelf.js +0 -6
- package/dist/organisms/ProductShelf/ProductShelf.js.map +0 -1
- package/dist/organisms/ProductShelf/ProductShelfItem.d.ts +0 -10
- package/dist/organisms/ProductShelf/ProductShelfItem.js +0 -6
- package/dist/organisms/ProductShelf/ProductShelfItem.js.map +0 -1
- package/dist/organisms/ProductShelf/ProductShelfItems.d.ts +0 -10
- package/dist/organisms/ProductShelf/ProductShelfItems.js +0 -6
- package/dist/organisms/ProductShelf/ProductShelfItems.js.map +0 -1
- package/dist/organisms/ProductShelf/index.d.ts +0 -6
- package/dist/organisms/ProductShelf/index.js +0 -4
- package/dist/organisms/ProductShelf/index.js.map +0 -1
- package/dist/organisms/RegionModal/RegionModal.d.ts +0 -72
- package/dist/organisms/RegionModal/RegionModal.js +0 -19
- package/dist/organisms/RegionModal/RegionModal.js.map +0 -1
- package/dist/organisms/RegionModal/index.d.ts +0 -2
- package/dist/organisms/RegionModal/index.js +0 -2
- package/dist/organisms/RegionModal/index.js.map +0 -1
- package/dist/organisms/SearchInput/SearchInput.d.ts +0 -26
- package/dist/organisms/SearchInput/SearchInput.js +0 -8
- package/dist/organisms/SearchInput/SearchInput.js.map +0 -1
- package/dist/organisms/SearchInput/index.d.ts +0 -2
- package/dist/organisms/SearchInput/index.js +0 -2
- package/dist/organisms/SearchInput/index.js.map +0 -1
- package/dist/organisms/ShippingSimulation/ShippingSimulation.d.ts +0 -125
- package/dist/organisms/ShippingSimulation/ShippingSimulation.js +0 -22
- package/dist/organisms/ShippingSimulation/ShippingSimulation.js.map +0 -1
- package/dist/organisms/ShippingSimulation/index.d.ts +0 -2
- package/dist/organisms/ShippingSimulation/index.js +0 -2
- package/dist/organisms/ShippingSimulation/index.js.map +0 -1
- package/dist/organisms/SlideOver/SlideOver.d.ts +0 -39
- package/dist/organisms/SlideOver/SlideOver.js +0 -7
- package/dist/organisms/SlideOver/SlideOver.js.map +0 -1
- package/dist/organisms/SlideOver/SlideOverHeader.d.ts +0 -19
- package/dist/organisms/SlideOver/SlideOverHeader.js +0 -9
- package/dist/organisms/SlideOver/SlideOverHeader.js.map +0 -1
- package/dist/organisms/SlideOver/index.d.ts +0 -4
- package/dist/organisms/SlideOver/index.js +0 -3
- package/dist/organisms/SlideOver/index.js.map +0 -1
- package/dist/typings/PolymorphicGenerics.d.ts +0 -28
- package/dist/typings/PolymorphicGenerics.js +0 -8
- package/dist/typings/PolymorphicGenerics.js.map +0 -1
- package/dist/typings/PriceDefinition.d.ts +0 -6
- package/dist/typings/PriceDefinition.js +0 -2
- package/dist/typings/PriceDefinition.js.map +0 -1
- package/dist/typings/index.d.ts +0 -2
- package/dist/typings/index.js +0 -2
- package/dist/typings/index.js.map +0 -1
|
@@ -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,17 +0,0 @@
|
|
|
1
|
-
import type { ChangeEventHandler } from 'react';
|
|
2
|
-
export interface RadioGroupContext {
|
|
3
|
-
/**
|
|
4
|
-
* Name to link children by context.
|
|
5
|
-
*/
|
|
6
|
-
name: string;
|
|
7
|
-
/**
|
|
8
|
-
* Value of checked child.
|
|
9
|
-
*/
|
|
10
|
-
selectedValue?: string | number;
|
|
11
|
-
/**
|
|
12
|
-
* Function that is triggered when any children is checked.
|
|
13
|
-
*/
|
|
14
|
-
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
15
|
-
}
|
|
16
|
-
export declare const RadioGroupContext: import("react").Context<RadioGroupContext | undefined>;
|
|
17
|
-
export declare function useRadioGroup(): RadioGroupContext;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext } from 'react';
|
|
2
|
-
export const RadioGroupContext = createContext(undefined);
|
|
3
|
-
export function useRadioGroup() {
|
|
4
|
-
const context = useContext(RadioGroupContext);
|
|
5
|
-
if (!context) {
|
|
6
|
-
throw new Error(`useRadioOption hook cannot be used outside the RadioGroup context`);
|
|
7
|
-
}
|
|
8
|
-
return context;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=useRadioGroup.js.map
|
|
@@ -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,29 +0,0 @@
|
|
|
1
|
-
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export interface RatingProps extends Omit<HTMLAttributes<HTMLUListElement>, 'onChange'> {
|
|
3
|
-
/**
|
|
4
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
-
*/
|
|
6
|
-
testId?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The length of child elements.
|
|
9
|
-
*/
|
|
10
|
-
length?: number;
|
|
11
|
-
/**
|
|
12
|
-
* The current value of the rating, based on the quantity of child elements.
|
|
13
|
-
*/
|
|
14
|
-
value: number;
|
|
15
|
-
/**
|
|
16
|
-
* Icon to represent the rating score unit (e.g.: a <Icon name="Star" /> component)
|
|
17
|
-
*/
|
|
18
|
-
icon?: ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Function to be triggered when Rating option change. This should only be used if you and an actionable rating list.
|
|
21
|
-
*/
|
|
22
|
-
onChange?: (value: number) => void;
|
|
23
|
-
}
|
|
24
|
-
export interface RatingItemProps {
|
|
25
|
-
'data-fs-rating-item'?: 'full' | 'partial' | 'empty';
|
|
26
|
-
'data-testid'?: string;
|
|
27
|
-
}
|
|
28
|
-
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLUListElement>>;
|
|
29
|
-
export default Rating;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useState } from 'react';
|
|
2
|
-
import { Icon, IconButton } from '../..';
|
|
3
|
-
import List from '../../atoms/List';
|
|
4
|
-
const Rating = forwardRef(function Rating({ children, testId = 'fs-rating', length = 5, value = 0, icon, onChange, ...otherProps }, ref) {
|
|
5
|
-
const [hover, setHover] = useState(0);
|
|
6
|
-
const outlineProps = { 'data-fs-rating-icon-outline': true };
|
|
7
|
-
const ratingIcon = React.isValidElement(icon) ? icon : React.createElement(Icon, { name: "Star" });
|
|
8
|
-
return (React.createElement(List, { ref: ref, "data-fs-rating": true, "data-fs-rating-actionable": typeof onChange === 'function', "data-testid": testId, ...otherProps }, Array.from({ length }).map((_, index) => {
|
|
9
|
-
const tempIndex = index + 1;
|
|
10
|
-
const fillCheck = () => {
|
|
11
|
-
if (tempIndex <= (hover || value)) {
|
|
12
|
-
return 'full';
|
|
13
|
-
}
|
|
14
|
-
if (tempIndex - value > 0 && tempIndex - value < 1) {
|
|
15
|
-
return 'partial';
|
|
16
|
-
}
|
|
17
|
-
return 'empty';
|
|
18
|
-
};
|
|
19
|
-
return (React.createElement("li", { key: `rating-${index}`, "data-fs-rating-item": fillCheck(), "data-testid": `${testId}-item` }, onChange ? (React.createElement(IconButton, { "data-fs-rating-button": true, icon: ratingIcon, size: "small", "aria-label": "rate", onClick: () => {
|
|
20
|
-
onChange(tempIndex);
|
|
21
|
-
}, onMouseEnter: () => setHover(tempIndex), onMouseLeave: () => setHover(value) })) : (React.createElement(React.Fragment, null,
|
|
22
|
-
React.createElement("div", { "data-fs-rating-icon-wrapper": true }, ratingIcon),
|
|
23
|
-
React.isValidElement(icon) ? (React.cloneElement(icon, outlineProps)) : (React.createElement(Icon, { name: "Star", "data-fs-rating-icon-outline": true }))))));
|
|
24
|
-
})));
|
|
25
|
-
});
|
|
26
|
-
export default Rating;
|
|
27
|
-
//# sourceMappingURL=Rating.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.js","sourceRoot":"","sources":["../../../src/molecules/Rating/Rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAA6B,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE9E,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,IAAI,MAAM,kBAAkB,CAAA;AA+BnC,MAAM,MAAM,GAAG,UAAU,CAAgC,SAAS,MAAM,CACtE,EACE,QAAQ,EACR,MAAM,GAAG,WAAW,EACpB,MAAM,GAAG,CAAC,EACV,KAAK,GAAG,CAAC,EACT,IAAI,EACJ,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IAErC,MAAM,YAAY,GAAG,EAAE,6BAA6B,EAAE,IAAI,EAAE,CAAA;IAC5D,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,CAAA;IAE3E,OAAO,CACL,oBAAC,IAAI,IACH,GAAG,EAAE,GAAG,uDAEmB,OAAO,QAAQ,KAAK,UAAU,iBAC5C,MAAM,KACf,UAAU,IAEb,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAa,EAAE,EAAE;QAC/C,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,CAAA;QAE3B,MAAM,SAAS,GAAG,GAAG,EAAE;YACrB,IAAI,SAAS,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,EAAE;gBACjC,OAAO,MAAM,CAAA;aACd;YAED,IAAI,SAAS,GAAG,KAAK,GAAG,CAAC,IAAI,SAAS,GAAG,KAAK,GAAG,CAAC,EAAE;gBAClD,OAAO,SAAS,CAAA;aACjB;YAED,OAAO,OAAO,CAAA;QAChB,CAAC,CAAA;QAED,OAAO,CACL,4BACE,GAAG,EAAE,UAAU,KAAK,EAAE,yBACD,SAAS,EAAE,iBACnB,GAAG,MAAM,OAAO,IAE5B,QAAQ,CAAC,CAAC,CAAC,CACV,oBAAC,UAAU,mCAET,IAAI,EAAE,UAAU,EAChB,IAAI,EAAC,OAAO,gBACD,MAAM,EACjB,OAAO,EAAE,GAAG,EAAE;gBACZ,QAAQ,CAAC,SAAS,CAAC,CAAA;YACrB,CAAC,EACD,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,EACvC,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,GACnC,CACH,CAAC,CAAC,CAAC,CACF;YACE,oEAAkC,UAAU,CAAO;YAClD,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAC5B,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,YAAY,CAAC,CACvC,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,wCAA+B,CACjD,CACA,CACJ,CACE,CACN,CAAA;IACH,CAAC,CAAC,CACG,CACR,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/Rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface RegionBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* Postal code string to be display in the component
|
|
6
|
-
*/
|
|
7
|
-
postalCode?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Function called when button is clicked.
|
|
10
|
-
*/
|
|
11
|
-
onButtonClick?: () => void;
|
|
12
|
-
/**
|
|
13
|
-
* A React component that will be rendered as an icon.
|
|
14
|
-
*/
|
|
15
|
-
icon?: ReactNode;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies a label for the location text.
|
|
18
|
-
*/
|
|
19
|
-
label: string;
|
|
20
|
-
/**
|
|
21
|
-
* Specifies a label for the edit text.
|
|
22
|
-
*/
|
|
23
|
-
editLabel?: string;
|
|
24
|
-
/**
|
|
25
|
-
* A React component that will be rendered as an icon.
|
|
26
|
-
*/
|
|
27
|
-
buttonIcon?: ReactNode;
|
|
28
|
-
}
|
|
29
|
-
declare const RegionBar: React.ForwardRefExoticComponent<RegionBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
-
export default RegionBar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { Button } from '../../';
|
|
3
|
-
const RegionBar = forwardRef(function RegionBar({ postalCode, icon, label, editLabel, buttonIcon, onButtonClick, ...otherProps }, ref) {
|
|
4
|
-
return (React.createElement("div", { ref: ref, "data-fs-region-bar": true, ...otherProps },
|
|
5
|
-
React.createElement(Button, { variant: "tertiary", iconPosition: "right", onClick: onButtonClick, icon: buttonIcon },
|
|
6
|
-
!!icon && icon,
|
|
7
|
-
postalCode ? (React.createElement(React.Fragment, null,
|
|
8
|
-
React.createElement("span", { "data-fs-region-bar-postal-code": true }, postalCode),
|
|
9
|
-
!!editLabel && React.createElement("span", { "data-fs-region-bar-cta": true }, editLabel))) : (React.createElement("span", { "data-fs-region-bar-message": true }, label)))));
|
|
10
|
-
});
|
|
11
|
-
export default RegionBar;
|
|
12
|
-
//# sourceMappingURL=RegionBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RegionBar.js","sourceRoot":"","sources":["../../../src/molecules/RegionBar/RegionBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA6B/B,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EACE,UAAU,EACV,IAAI,EACJ,KAAK,EACL,SAAS,EACT,UAAU,EACV,aAAa,EACb,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,iCAAyB,UAAU;QAC9C,oBAAC,MAAM,IACL,OAAO,EAAC,UAAU,EAClB,YAAY,EAAC,OAAO,EACpB,OAAO,EAAE,aAAa,EACtB,IAAI,EAAE,UAAU;YAEf,CAAC,CAAC,IAAI,IAAI,IAAI;YACd,UAAU,CAAC,CAAC,CAAC,CACZ;gBACE,wEAAsC,UAAU,CAAQ;gBACvD,CAAC,CAAC,SAAS,IAAI,gEAA8B,SAAS,CAAQ,CAC9D,CACJ,CAAC,CAAC,CAAC,CACF,oEAAkC,KAAK,CAAQ,CAChD,CACM,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/RegionBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
export interface SearchAutoCompleteProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
-
*/
|
|
6
|
-
testId?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const SearchAutoComplete: ({ testId, children, ...otherProps }: SearchAutoCompleteProps) => React.JSX.Element | null;
|
|
9
|
-
export default SearchAutoComplete;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { List, useSearch } from '../..';
|
|
3
|
-
const SearchAutoComplete = ({ testId = 'fs-search-auto-complete', children, ...otherProps }) => {
|
|
4
|
-
const { inContext, values } = useSearch();
|
|
5
|
-
if (inContext && (values.terms.length <= 0 || values.term.length <= 0)) {
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
return (React.createElement("section", { "data-testid": testId, "data-fs-search-auto-complete": true, ...otherProps },
|
|
9
|
-
React.createElement(List, { as: "ol" }, children)));
|
|
10
|
-
};
|
|
11
|
-
export default SearchAutoComplete;
|
|
12
|
-
//# sourceMappingURL=SearchAutoComplete.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchAutoComplete.js","sourceRoot":"","sources":["../../../src/molecules/SearchAutoComplete/SearchAutoComplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUvC,MAAM,kBAAkB,GAAG,CAAC,EAC1B,MAAM,GAAG,yBAAyB,EAClC,QAAQ,EACR,GAAG,UAAU,EACW,EAAE,EAAE;IAE5B,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;IAEzC,IAAI,SAAS,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,EAAE;QACtE,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,CACL,gDAAsB,MAAM,2CAAmC,UAAU;QACvE,oBAAC,IAAI,IAAC,EAAE,EAAC,IAAI,IAAE,QAAQ,CAAQ,CACvB,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React, { HTMLAttributes } from 'react';
|
|
3
|
-
import { LinkElementType, LinkProps } from '../..';
|
|
4
|
-
export interface SearchAutoCompleteTermProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
7
|
-
*/
|
|
8
|
-
testId?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Props for the link from term component.
|
|
11
|
-
*/
|
|
12
|
-
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
13
|
-
/**
|
|
14
|
-
* A React component that will be rendered as an icon.
|
|
15
|
-
*/
|
|
16
|
-
icon?: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Term researched.
|
|
19
|
-
*/
|
|
20
|
-
term: string;
|
|
21
|
-
/**
|
|
22
|
-
* Suggestion proposed with auto complete.
|
|
23
|
-
*/
|
|
24
|
-
suggestion: string;
|
|
25
|
-
}
|
|
26
|
-
declare const SearchAutoCompleteTerm: ({ testId, suggestion, term, linkProps, icon, }: SearchAutoCompleteTermProps) => React.JSX.Element;
|
|
27
|
-
export default SearchAutoCompleteTerm;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React, { Fragment } from 'react';
|
|
2
|
-
import { Icon, Link } from '../..';
|
|
3
|
-
function formatSearchTerm(indexSubstring, searchTerm, suggestion) {
|
|
4
|
-
if (indexSubstring === 0) {
|
|
5
|
-
return searchTerm
|
|
6
|
-
.split('')
|
|
7
|
-
.map((char, idx) => idx === 0 && suggestion.indexOf(char.toUpperCase()) === 0
|
|
8
|
-
? char.toUpperCase()
|
|
9
|
-
: char.toLowerCase())
|
|
10
|
-
.join('');
|
|
11
|
-
}
|
|
12
|
-
return searchTerm.toLowerCase();
|
|
13
|
-
}
|
|
14
|
-
const SearchAutoCompleteTerm = ({ testId = 'fs-search-auto-complete-term', suggestion, term, linkProps, icon = React.createElement(Icon, { name: "MagnifyingGlass", width: 18, height: 18 }), }) => {
|
|
15
|
-
const suggestionSubstring = suggestion.toLowerCase().split(term.toLowerCase());
|
|
16
|
-
return (React.createElement("li", { "data-fs-search-auto-complete-item": true, "data-testid": testId },
|
|
17
|
-
React.createElement(Link, { ...linkProps, "data-fs-search-auto-complete-item-link": true, variant: "display" },
|
|
18
|
-
React.createElement("span", { "data-fs-search-auto-complete-item-icon": true }, icon),
|
|
19
|
-
React.createElement("p", null, suggestionSubstring.map((substring, indexSubstring) => (React.createElement(Fragment, { key: [substring, indexSubstring].join() },
|
|
20
|
-
substring.length > 0 && (React.createElement("strong", { "data-fs-search-auto-complete-item-suggestion": true }, indexSubstring === 0
|
|
21
|
-
? substring.charAt(0).toUpperCase() + substring.slice(1)
|
|
22
|
-
: substring)),
|
|
23
|
-
indexSubstring !== suggestionSubstring.length - 1 &&
|
|
24
|
-
formatSearchTerm(indexSubstring, term, suggestion))))))));
|
|
25
|
-
};
|
|
26
|
-
export default SearchAutoCompleteTerm;
|
|
27
|
-
//# sourceMappingURL=SearchAutoCompleteTerm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchAutoCompleteTerm.js","sourceRoot":"","sources":["../../../src/molecules/SearchAutoComplete/SearchAutoCompleteTerm.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAA;AACvD,OAAO,EAAE,IAAI,EAAE,IAAI,EAA8B,MAAM,OAAO,CAAA;AAE9D,SAAS,gBAAgB,CACvB,cAAsB,EACtB,UAAkB,EAClB,UAAkB;IAElB,IAAI,cAAc,KAAK,CAAC,EAAE;QACxB,OAAO,UAAU;aACd,KAAK,CAAC,EAAE,CAAC;aACT,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CACjB,GAAG,KAAK,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC;YACvD,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE;YACpB,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CACvB;aACA,IAAI,CAAC,EAAE,CAAC,CAAA;KACZ;IAED,OAAO,UAAU,CAAC,WAAW,EAAE,CAAA;AACjC,CAAC;AA0BD,MAAM,sBAAsB,GAAG,CAAC,EAC9B,MAAM,GAAG,8BAA8B,EACvC,UAAU,EACV,IAAI,EACJ,SAAS,EACT,IAAI,GAAG,oBAAC,IAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,GACjC,EAAE,EAAE;IAChC,MAAM,mBAAmB,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAA;IAE9E,OAAO,CACL,sFAAmD,MAAM;QACvD,oBAAC,IAAI,OACC,SAAS,kDAEb,OAAO,EAAC,SAAS;YAEjB,gFAA8C,IAAI,CAAQ;YAC1D,+BACG,mBAAmB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,cAAc,EAAE,EAAE,CAAC,CACtD,oBAAC,QAAQ,IAAC,GAAG,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC,IAAI,EAAE;gBAC9C,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CACvB,wFACG,cAAc,KAAK,CAAC;oBACnB,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;oBACxD,CAAC,CAAC,SAAS,CACN,CACV;gBACA,cAAc,KAAK,mBAAmB,CAAC,MAAM,GAAG,CAAC;oBAChD,gBAAgB,CAAC,cAAc,EAAE,IAAI,EAAE,UAAU,CAAC,CAC3C,CACZ,CAAC,CACA,CACC,CACJ,CACN,CAAA;AACH,CAAC,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { default } from './SearchAutoComplete';
|
|
2
|
-
export type { SearchAutoCompleteProps } from './SearchAutoComplete';
|
|
3
|
-
export { default as SearchAutoCompleteTerm } from './SearchAutoCompleteTerm';
|
|
4
|
-
export type { SearchAutoCompleteTermProps } from './SearchAutoCompleteTerm';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchAutoComplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAG9C,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface SearchDropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
6
|
-
* testing-library, and jest).
|
|
7
|
-
*/
|
|
8
|
-
testId?: string;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
declare const SearchDropdown: React.ForwardRefExoticComponent<SearchDropdownProps & {
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export default SearchDropdown;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { useSearch } from '../../hooks';
|
|
3
|
-
const SearchLoading = () => {
|
|
4
|
-
const { inContext, values } = useSearch();
|
|
5
|
-
return (React.createElement(React.Fragment, null, (inContext && values.isLoading) && React.createElement("p", { "data-fs-search-dropdown-loading-text": true }, "Loading...")));
|
|
6
|
-
};
|
|
7
|
-
const SearchDropdown = forwardRef(function SearchDropdown({ testId = 'fs-search-dropdown', children, ...otherProps }, ref) {
|
|
8
|
-
return (React.createElement("div", { ref: ref, "data-fs-search-dropdown": true, "data-testid": testId, ...otherProps },
|
|
9
|
-
React.createElement("section", null,
|
|
10
|
-
React.createElement(SearchLoading, null),
|
|
11
|
-
children)));
|
|
12
|
-
});
|
|
13
|
-
export default SearchDropdown;
|
|
14
|
-
//# sourceMappingURL=SearchDropdown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchDropdown.js","sourceRoot":"","sources":["../../../src/molecules/SearchDropdown/SearchDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAWvC,MAAM,aAAa,GAAG,GAAG,EAAE;IACzB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;IAEzC,OAAO,CACL,0CACI,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,wFAAsD,CAC1F,CACJ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,cAAc,GAAG,UAAU,CAG/B,SAAS,cAAc,CACvB,EACE,MAAM,GAAG,oBAAoB,EAC7B,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,kDAAuC,MAAM,KAAM,UAAU;QACxE;YACE,oBAAC,aAAa,OAAE;YACf,QAAQ,CACD,CACN,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchDropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
export interface SearchHistoryProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
-
*/
|
|
6
|
-
testId?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Title attribute for the <section> tag rendered by this component.
|
|
9
|
-
*/
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* Defines the text displayed in clear history button.
|
|
13
|
-
*/
|
|
14
|
-
clearLabel?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Event handler for click on clear history button.
|
|
17
|
-
*/
|
|
18
|
-
onClear?: () => void;
|
|
19
|
-
}
|
|
20
|
-
declare const SearchHistory: ({ testId, title, clearLabel, onClear, children, ...otherProps }: SearchHistoryProps) => React.JSX.Element | null;
|
|
21
|
-
export default SearchHistory;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { List, Button, useSearch } from '../..';
|
|
3
|
-
const SearchHistory = ({ testId = 'fs-search-history', title = 'History', clearLabel = 'Clear History', onClear, children, ...otherProps }) => {
|
|
4
|
-
const { inContext, values } = useSearch();
|
|
5
|
-
if (inContext && (values.term.length !== 0 || values.isLoading)) {
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
return (React.createElement("section", { "data-testid": testId, "data-fs-search-history": true, ...otherProps },
|
|
9
|
-
React.createElement("header", { "data-fs-search-history-header": true },
|
|
10
|
-
React.createElement("p", { "data-fs-search-history-title": true }, title),
|
|
11
|
-
React.createElement(Button, { variant: "tertiary", onClick: onClear, size: "small" }, clearLabel)),
|
|
12
|
-
React.createElement(List, { as: "ol" }, children)));
|
|
13
|
-
};
|
|
14
|
-
export default SearchHistory;
|
|
15
|
-
//# sourceMappingURL=SearchHistory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchHistory.js","sourceRoot":"","sources":["../../../src/molecules/SearchHistory/SearchHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAqB/C,MAAM,aAAa,GAAG,CAAC,EACrB,MAAM,GAAG,mBAAmB,EAC5B,KAAK,GAAG,SAAS,EACjB,UAAU,GAAG,eAAe,EAC5B,OAAO,EACP,QAAQ,EACR,GAAG,UAAU,EACM,EAAE,EAAE;IAEvB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;IAEzC,IAAI,SAAS,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,EAAE;QAC/D,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,CACL,gDAAsB,MAAM,qCAA6B,UAAU;QACjE;YACE,mEAAiC,KAAK,CAAK;YAC3C,oBAAC,MAAM,IAAC,OAAO,EAAC,UAAU,EAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,OAAO,IACtD,UAAU,CACJ,CACF;QACT,oBAAC,IAAI,IAAC,EAAE,EAAC,IAAI,IAAE,QAAQ,CAAQ,CACvB,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React, { HTMLAttributes } from 'react';
|
|
3
|
-
import { LinkElementType, LinkProps } from '../..';
|
|
4
|
-
export interface SearchHistoryTermProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
7
|
-
*/
|
|
8
|
-
testId?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Defines the text displayed in history term item.
|
|
11
|
-
*/
|
|
12
|
-
value: string;
|
|
13
|
-
/**
|
|
14
|
-
* Props for the link from term component.
|
|
15
|
-
*/
|
|
16
|
-
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
17
|
-
/**
|
|
18
|
-
* A React component that will be rendered as an icon.
|
|
19
|
-
*/
|
|
20
|
-
icon?: ReactNode;
|
|
21
|
-
}
|
|
22
|
-
declare const SearchHistoryTerm: ({ testId, value, linkProps, icon, }: SearchHistoryTermProps) => React.JSX.Element;
|
|
23
|
-
export default SearchHistoryTerm;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Icon, Link } from '../..';
|
|
3
|
-
const SearchHistoryTerm = ({ testId = 'fs-search-history-term', value, linkProps, icon = React.createElement(Icon, { name: "ClockClockwise", width: 18, height: 18 }), }) => {
|
|
4
|
-
return (React.createElement("li", { "data-fs-search-history-item": true, "data-testid": testId },
|
|
5
|
-
React.createElement(Link, { ...linkProps, "data-fs-search-history-item-link": true, variant: "display" },
|
|
6
|
-
React.createElement("span", { "data-fs-search-history-item-icon": true }, icon),
|
|
7
|
-
React.createElement("span", null, value))));
|
|
8
|
-
};
|
|
9
|
-
export default SearchHistoryTerm;
|
|
10
|
-
//# sourceMappingURL=SearchHistoryTerm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchHistoryTerm.js","sourceRoot":"","sources":["../../../src/molecules/SearchHistory/SearchHistoryTerm.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,IAAI,EAA8B,MAAM,OAAO,CAAA;AAqB9D,MAAM,iBAAiB,GAAG,CAAC,EACzB,MAAM,GAAG,wBAAwB,EACjC,KAAK,EACL,SAAS,EACT,IAAI,GAAG,oBAAC,IAAI,IAAC,IAAI,EAAC,gBAAgB,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,GACrC,EAAE,EAAE;IAC3B,OAAO,CACL,gFAA6C,MAAM;QACjD,oBAAC,IAAI,OAAK,SAAS,4CAAmC,OAAO,EAAC,SAAS;YACrE,0EAAwC,IAAI,CAAQ;YACpD,kCAAO,KAAK,CAAQ,CACf,CACJ,CACN,CAAA;AACH,CAAC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchHistory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAGzC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { AriaAttributes, InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onSubmit'>;
|
|
4
|
-
type ButtonProps = {
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
testId?: string;
|
|
7
|
-
};
|
|
8
|
-
export interface SearchInputFieldProps extends InputProps {
|
|
9
|
-
/**
|
|
10
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
11
|
-
*/
|
|
12
|
-
testId?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Props for the submit button inside the input.
|
|
15
|
-
*/
|
|
16
|
-
buttonProps?: ButtonProps;
|
|
17
|
-
/**
|
|
18
|
-
* A React component that will be rendered as an icon (submit button).
|
|
19
|
-
* @default <Icon name="MagnifyingGlass" />
|
|
20
|
-
*/
|
|
21
|
-
buttonIcon?: ReactNode;
|
|
22
|
-
/**
|
|
23
|
-
* Custom aria-label for input and button.
|
|
24
|
-
*/
|
|
25
|
-
'aria-label'?: AriaAttributes['aria-label'];
|
|
26
|
-
/**
|
|
27
|
-
* Callback function when submitted.
|
|
28
|
-
*/
|
|
29
|
-
onSubmit: (value: string) => void;
|
|
30
|
-
}
|
|
31
|
-
export interface SearchInputFieldRef {
|
|
32
|
-
inputRef?: HTMLInputElement | null;
|
|
33
|
-
formRef?: HTMLFormElement | null;
|
|
34
|
-
}
|
|
35
|
-
declare const SearchInputField: React.ForwardRefExoticComponent<SearchInputFieldProps & React.RefAttributes<SearchInputFieldRef | null>>;
|
|
36
|
-
export default SearchInputField;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
|
2
|
-
import { Icon, IconButton, Input } from '../..';
|
|
3
|
-
const SearchInputField = forwardRef(function SearchInputField({ onSubmit, buttonIcon, 'aria-label': ariaLabel = 'search', testId = 'fs-search-input', buttonProps, ...otherProps }, ref) {
|
|
4
|
-
const inputRef = useRef(null);
|
|
5
|
-
const formRef = useRef(null);
|
|
6
|
-
const handleSubmit = (event) => {
|
|
7
|
-
event.preventDefault();
|
|
8
|
-
if (inputRef.current?.value !== '') {
|
|
9
|
-
onSubmit(inputRef.current.value);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
useImperativeHandle(ref, () => ({
|
|
13
|
-
inputRef: inputRef.current,
|
|
14
|
-
formRef: formRef.current,
|
|
15
|
-
}));
|
|
16
|
-
return (React.createElement("form", { ref: formRef, "data-fs-search-input-field": true, "data-testid": testId, onSubmit: handleSubmit, role: "search" },
|
|
17
|
-
React.createElement(Input, { ref: inputRef, "aria-label": ariaLabel, "data-fs-search-input-field-input": true, ...otherProps }),
|
|
18
|
-
React.createElement(IconButton, { type: "submit", "aria-label": "Submit Search", icon: buttonIcon ?? React.createElement(Icon, { name: "MagnifyingGlass" }), size: "small", ...buttonProps })));
|
|
19
|
-
});
|
|
20
|
-
export default SearchInputField;
|
|
21
|
-
//# sourceMappingURL=SearchInputField.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInputField.js","sourceRoot":"","sources":["../../../src/molecules/SearchInputField/SearchInputField.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAqC/C,MAAM,gBAAgB,GAAG,UAAU,CAGjC,SAAS,gBAAgB,CACzB,EACE,QAAQ,EACR,UAAU,EACV,YAAY,EAAE,SAAS,GAAG,QAAQ,EAClC,MAAM,GAAG,iBAAiB,EAC1B,WAAW,EACX,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,QAAQ,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAA;IAC/C,MAAM,OAAO,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAA;IAE7C,MAAM,YAAY,GAAG,CAAC,KAAgB,EAAE,EAAE;QACxC,KAAK,CAAC,cAAc,EAAE,CAAA;QAEtB,IAAI,QAAQ,CAAC,OAAO,EAAE,KAAK,KAAK,EAAE,EAAE;YAClC,QAAQ,CAAC,QAAQ,CAAC,OAAQ,CAAC,KAAK,CAAC,CAAA;SAClC;IACH,CAAC,CAAA;IAED,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,QAAQ,EAAE,QAAQ,CAAC,OAAO;QAC1B,OAAO,EAAE,OAAO,CAAC,OAAO;KACzB,CAAC,CAAC,CAAA;IAEH,OAAO,CACL,8BACE,GAAG,EAAE,OAAO,qDAEC,MAAM,EACnB,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAC,QAAQ;QAEb,oBAAC,KAAK,IACJ,GAAG,EAAE,QAAQ,gBACD,SAAS,+CAEjB,UAAU,GACd;QACF,oBAAC,UAAU,IACT,IAAI,EAAC,QAAQ,gBACF,eAAe,EAC1B,IAAI,EAAE,UAAU,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAC,iBAAiB,GAAG,EACnD,IAAI,EAAC,OAAO,KACR,WAAW,GACf,CACG,CACR,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchInputField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { LinkElementType, LinkProps } from '../..';
|
|
4
|
-
export interface SearchProductItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
7
|
-
* testing-library, and jest).
|
|
8
|
-
*/
|
|
9
|
-
testId?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Props for the link from SearchProduct component.
|
|
12
|
-
*/
|
|
13
|
-
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
14
|
-
}
|
|
15
|
-
declare const SearchProductItem: React.ForwardRefExoticComponent<SearchProductItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
16
|
-
export default SearchProductItem;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { Link } from '../..';
|
|
3
|
-
const SearchProductItem = forwardRef(function ProductItem({ testId = 'fs-search-product-item', linkProps, children }, ref) {
|
|
4
|
-
return (React.createElement("li", { ref: ref, "data-fs-search-product-item": true, "data-testid": testId },
|
|
5
|
-
React.createElement(Link, { ...linkProps, "data-fs-search-product-item-link": true, variant: "display" }, children)));
|
|
6
|
-
});
|
|
7
|
-
export default SearchProductItem;
|
|
8
|
-
//# sourceMappingURL=SearchProductItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchProductItem.js","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,IAAI,EAA8B,MAAM,OAAO,CAAA;AAcxD,MAAM,iBAAiB,GAAG,UAAU,CAClC,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,wBAAwB,EAAE,SAAS,EAAE,QAAQ,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,4BAAI,GAAG,EAAE,GAAG,sDAA2C,MAAM;QAC3D,oBAAC,IAAI,OAAK,SAAS,4CAAmC,OAAO,EAAC,SAAS,IACpE,QAAQ,CACJ,CACJ,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PriceDefinition } from '../../typings/PriceDefinition';
|
|
3
|
-
export interface SearchProductItemContentProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specifies the product's title.
|
|
6
|
-
*/
|
|
7
|
-
title: string;
|
|
8
|
-
/**
|
|
9
|
-
* Specifies product's prices.
|
|
10
|
-
*/
|
|
11
|
-
price: PriceDefinition;
|
|
12
|
-
}
|
|
13
|
-
declare const SearchProductItemContent: React.ForwardRefExoticComponent<SearchProductItemContentProps & React.RefAttributes<HTMLElement>>;
|
|
14
|
-
export default SearchProductItemContent;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { ProductPrice } from '../..';
|
|
3
|
-
const SearchProductItemContent = forwardRef(function SearchProductItemContent({ price, title, ...otherProps }, ref) {
|
|
4
|
-
return (React.createElement("section", { ref: ref, "data-fs-search-product-item-content": true, ...otherProps },
|
|
5
|
-
React.createElement("p", { "data-fs-search-product-item-title": true }, title),
|
|
6
|
-
price.value !== 0 && (React.createElement(ProductPrice, { "data-fs-search-product-item-prices": true, listPrice: price.listPrice, value: price.value, formatter: price.formatter }))));
|
|
7
|
-
});
|
|
8
|
-
export default SearchProductItemContent;
|
|
9
|
-
//# sourceMappingURL=SearchProductItemContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchProductItemContent.js","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItemContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAepC,MAAM,wBAAwB,GAAG,UAAU,CAGzC,SAAS,wBAAwB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,EAAE,GAAG;IACtE,OAAO,CACL,iCAAS,GAAG,EAAE,GAAG,kDAA0C,UAAU;QACnE,wEAAsC,KAAK,CAAK;QAE/C,KAAK,CAAC,KAAK,KAAK,CAAC,IAAI,CACpB,oBAAC,YAAY,gDAEX,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,SAAS,EAAE,KAAK,CAAC,SAAS,GAC1B,CACH,CACO,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,wBAAwB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface SearchProductItemImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const SearchProductItemImage: React.ForwardRefExoticComponent<SearchProductItemImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default SearchProductItemImage;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const SearchProductItemImage = forwardRef(function SearchProductItemImage({ testId = 'fs-search-product-item-image', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-fs-search-product-item-image": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default SearchProductItemImage;
|
|
6
|
-
//# sourceMappingURL=SearchProductItemImage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchProductItemImage.js","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItemImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,sBAAsB,GAAG,UAAU,CAGvC,SAAS,sBAAsB,CAC/B,EAAE,MAAM,GAAG,8BAA8B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACpE,GAAG;IAEH,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,4DAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,sBAAsB,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
export interface SearchProductsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
-
*/
|
|
6
|
-
testId?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Title attribute for the <section> tag rendered by this component.
|
|
9
|
-
*/
|
|
10
|
-
title?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const SearchProductsProps: ({ testId, title, children, ...otherProps }: SearchProductsProps) => React.JSX.Element | null;
|
|
13
|
-
export default SearchProductsProps;
|