@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,75 +0,0 @@
|
|
|
1
|
-
import React, { useRef, useState, useImperativeHandle, forwardRef } from 'react';
|
|
2
|
-
import { Price, Slider, InputField } from '../../';
|
|
3
|
-
const PriceRange = forwardRef(function PriceRange({ formatter, max, min, step = 1, onChange, onEnd, testId = 'fs-price-range', variant, 'aria-label': ariaLabel, ...otherProps }, ref) {
|
|
4
|
-
const sliderRef = useRef();
|
|
5
|
-
useImperativeHandle(ref, () => ({
|
|
6
|
-
setPriceRangeValues: (values) => {
|
|
7
|
-
onChange?.(values);
|
|
8
|
-
sliderRef.current?.setSliderValues(values);
|
|
9
|
-
},
|
|
10
|
-
}));
|
|
11
|
-
const inputMinRef = useRef(null);
|
|
12
|
-
const inputMaxRef = useRef(null);
|
|
13
|
-
const [inputMinError, setInputMinError] = useState();
|
|
14
|
-
const [inputMaxError, setInputMaxError] = useState();
|
|
15
|
-
const [priceRange, setPriceRange] = useState({
|
|
16
|
-
min: Math.floor(min.selected),
|
|
17
|
-
max: Math.round(max.selected),
|
|
18
|
-
});
|
|
19
|
-
function onChangePriceRange(value) {
|
|
20
|
-
setInputMinError(undefined);
|
|
21
|
-
setInputMaxError(undefined);
|
|
22
|
-
setPriceRange({ min: value.min, max: value.max });
|
|
23
|
-
if (inputMinRef.current?.value) {
|
|
24
|
-
inputMinRef.current.value = String(value.min);
|
|
25
|
-
}
|
|
26
|
-
if (inputMaxRef.current?.value) {
|
|
27
|
-
inputMaxRef.current.value = String(value.max);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function onChangeInputMin(value) {
|
|
31
|
-
setInputMinError(undefined);
|
|
32
|
-
if (Number(value) < Math.floor(min.absolute)) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
if (Number(value) > Math.floor(priceRange.max)) {
|
|
36
|
-
setInputMinError(`Min price can't be greater than max`);
|
|
37
|
-
}
|
|
38
|
-
setPriceRange({ ...priceRange, min: Number(value) });
|
|
39
|
-
sliderRef.current?.setSliderValues({
|
|
40
|
-
...priceRange,
|
|
41
|
-
min: Number(value),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function onChangeInputMax(value) {
|
|
45
|
-
setInputMaxError(undefined);
|
|
46
|
-
if (Number(value) > Math.round(max.absolute)) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
if (Number(value) < Math.round(priceRange.min)) {
|
|
50
|
-
setInputMaxError(`Max price can't be smaller than min`);
|
|
51
|
-
}
|
|
52
|
-
setPriceRange({ ...priceRange, max: Number(value) });
|
|
53
|
-
sliderRef.current?.setSliderValues({
|
|
54
|
-
...priceRange,
|
|
55
|
-
max: Number(value),
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
return (React.createElement("div", { "data-fs-price-range": true, "data-testid": testId, ...otherProps },
|
|
59
|
-
React.createElement(Slider, { ref: sliderRef, min: min, max: max, step: step, onEnd: (value) => {
|
|
60
|
-
onEnd?.(value);
|
|
61
|
-
onChangePriceRange(value);
|
|
62
|
-
}, "aria-label": ariaLabel, onChange: (value) => onChange?.(value), absoluteValuesLabel: {
|
|
63
|
-
min: (React.createElement(Price, { value: Math.floor(min.absolute), variant: variant, formatter: formatter })),
|
|
64
|
-
max: (React.createElement(Price, { value: Math.round(max.absolute), variant: variant, formatter: formatter })),
|
|
65
|
-
}, minValueLabelComponent: (minValue) => {
|
|
66
|
-
return (React.createElement(Price, { value: minValue, variant: variant, formatter: formatter }));
|
|
67
|
-
}, maxValueLabelComponent: (maxValue) => {
|
|
68
|
-
return (React.createElement(Price, { value: maxValue, variant: variant, formatter: formatter }));
|
|
69
|
-
} }),
|
|
70
|
-
React.createElement("div", { "data-fs-price-range-inputs": true },
|
|
71
|
-
React.createElement(InputField, { id: "price-range-min", step: step, label: "Min", type: "number", inputMode: "numeric", error: inputMinError, inputRef: inputMinRef, min: Math.floor(min.absolute), max: priceRange.max, value: priceRange.min, onChange: (e) => onChangeInputMin(e.target.value), onBlur: () => !inputMinError && onEnd?.(priceRange) }),
|
|
72
|
-
React.createElement(InputField, { id: "price-range-max", label: "Max", step: step, type: "number", inputMode: "numeric", error: inputMaxError, inputRef: inputMaxRef, max: Math.round(max.absolute), min: priceRange.min, value: priceRange.max, onChange: (e) => onChangeInputMax(e.target.value), onBlur: () => !inputMaxError && onEnd?.(priceRange) }))));
|
|
73
|
-
});
|
|
74
|
-
export default PriceRange;
|
|
75
|
-
//# sourceMappingURL=PriceRange.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PriceRange.js","sourceRoot":"","sources":["../../../src/organisms/PriceRange/PriceRange.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/PriceRange/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface ProductGridProps extends HTMLAttributes<HTMLUListElement> {
|
|
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 ProductGrid: React.ForwardRefExoticComponent<ProductGridProps & React.RefAttributes<HTMLUListElement>>;
|
|
10
|
-
export default ProductGrid;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const ProductGrid = forwardRef(function ProductGridItem({ testId = 'fs-product-grid', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("ul", { ref: ref, "data-fs-product-grid": true, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default ProductGrid;
|
|
6
|
-
//# sourceMappingURL=ProductGrid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGrid.js","sourceRoot":"","sources":["../../../src/organisms/ProductGrid/ProductGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,eAAe,CACtB,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,4BAAI,GAAG,EAAE,GAAG,mCAA2B,UAAU,IAC9C,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface ProductGridItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
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 ProductGridItem: React.ForwardRefExoticComponent<ProductGridItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
10
|
-
export default ProductGridItem;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const ProductGridItem = forwardRef(function ProductGridItem({ testId = 'fs-product-grid-item', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("li", { ref: ref, "data-fs-product-grid-item": true, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default ProductGridItem;
|
|
6
|
-
//# sourceMappingURL=ProductGridItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGridItem.js","sourceRoot":"","sources":["../../../src/organisms/ProductGrid/ProductGridItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,eAAe,GAAG,UAAU,CAChC,SAAS,eAAe,CACtB,EAAE,MAAM,GAAG,sBAAsB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC5D,GAAG;IAEH,OAAO,CACL,4BAAI,GAAG,EAAE,GAAG,wCAAgC,UAAU,IACnD,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/ProductGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ProductShelfProps 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 ProductShelf: React.ForwardRefExoticComponent<ProductShelfProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default ProductShelf;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const ProductShelf = forwardRef(function ProductShelf({ testId = 'fs-product-shelf', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { ref: ref, "data-fs-product-shelf": true, "data-fs-content": "product-shelf", "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default ProductShelf;
|
|
6
|
-
//# sourceMappingURL=ProductShelf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductShelf.js","sourceRoot":"","sources":["../../../src/organisms/ProductShelf/ProductShelf.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EAAE,MAAM,GAAG,kBAAkB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,oDAEQ,eAAe,iBAClB,MAAM,KACf,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ProductShelfItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
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 ProductShelfItem: React.ForwardRefExoticComponent<ProductShelfItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
10
|
-
export default ProductShelfItem;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const ProductShelfItem = forwardRef(function ProductShelfItem({ testId = 'fs-product-shelf-item', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("li", { role: "listitem", ref: ref, "data-fs-product-shelf-item": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default ProductShelfItem;
|
|
6
|
-
//# sourceMappingURL=ProductShelfItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductShelfItem.js","sourceRoot":"","sources":["../../../src/organisms/ProductShelf/ProductShelfItem.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,uBAAuB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC7D,GAAG;IAEH,OAAO,CACL,4BACE,IAAI,EAAC,UAAU,EACf,GAAG,EAAE,GAAG,qDAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ProductShelfItemsProps extends HTMLAttributes<HTMLUListElement> {
|
|
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 ProductShelfItems: React.ForwardRefExoticComponent<ProductShelfItemsProps & React.RefAttributes<HTMLUListElement>>;
|
|
10
|
-
export default ProductShelfItems;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const ProductShelfItems = forwardRef(function ProductShelfItems({ testId = 'fs-product-shelf-items', children, ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("ul", { role: "list", ref: ref, "data-fs-product-shelf-items": true, "data-fs-content": "product-shelf", "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default ProductShelfItems;
|
|
6
|
-
//# sourceMappingURL=ProductShelfItems.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductShelfItems.js","sourceRoot":"","sources":["../../../src/organisms/ProductShelf/ProductShelfItems.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,iBAAiB,GAAG,UAAU,CAClC,SAAS,iBAAiB,CACxB,EAAE,MAAM,GAAG,wBAAwB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC9D,GAAG;IAEH,OAAO,CACL,4BACE,IAAI,EAAC,MAAM,EACX,GAAG,EAAE,GAAG,0DAEQ,eAAe,iBAClB,MAAM,KACf,UAAU,IAEb,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default } from './ProductShelf';
|
|
2
|
-
export type { ProductShelfProps } from './ProductShelf';
|
|
3
|
-
export { default as ProductShelfItems } from './ProductShelfItems';
|
|
4
|
-
export type { ProductShelfItemsProps } from './ProductShelfItems';
|
|
5
|
-
export { default as ProductShelfItem } from './ProductShelfItem';
|
|
6
|
-
export type { ProductShelfItemProps } from './ProductShelfItem';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/ProductShelf/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAGxC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { MutableRefObject } from 'react';
|
|
3
|
-
import type { LinkElementType, LinkProps, ModalProps, OverlayProps } from '../../';
|
|
4
|
-
export interface RegionModalProps extends Omit<ModalProps, 'children'> {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
7
|
-
* testing-library, and jest).
|
|
8
|
-
*/
|
|
9
|
-
testId?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The region modal's title.
|
|
12
|
-
*/
|
|
13
|
-
title?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Description for region modal.
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Close button aria-label.
|
|
20
|
-
*/
|
|
21
|
-
closeButtonAriaLabel?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Props for the link `I don't know my Postal Code`.
|
|
24
|
-
*/
|
|
25
|
-
idkPostalCodeLinkProps?: Partial<LinkProps<LinkElementType>>;
|
|
26
|
-
/**
|
|
27
|
-
* Props for the `I don't know my Postal Code` link on modal body content.
|
|
28
|
-
*/
|
|
29
|
-
linkText?: Partial<LinkProps<LinkElementType>>;
|
|
30
|
-
/**
|
|
31
|
-
* Message of error for input.
|
|
32
|
-
*/
|
|
33
|
-
errorMessage?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Postal code input's ref.
|
|
36
|
-
*/
|
|
37
|
-
inputRef?: MutableRefObject<HTMLInputElement | null>;
|
|
38
|
-
/**
|
|
39
|
-
* Postal code input's value.
|
|
40
|
-
*/
|
|
41
|
-
inputValue?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Postal code input's label.
|
|
44
|
-
*/
|
|
45
|
-
inputLabel?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Enables fadeOut effect on modal after onSubmit function
|
|
48
|
-
*/
|
|
49
|
-
fadeOutOnSubmit?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Props forwarded to the `Overlay` component.
|
|
52
|
-
*/
|
|
53
|
-
overlayProps?: OverlayProps;
|
|
54
|
-
/**
|
|
55
|
-
* Function called when Close button is clicked.
|
|
56
|
-
*/
|
|
57
|
-
onClose?: () => void;
|
|
58
|
-
/**
|
|
59
|
-
* Callback function when input is typed.
|
|
60
|
-
*/
|
|
61
|
-
onInput?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Callback function when form is submitted.
|
|
64
|
-
*/
|
|
65
|
-
onSubmit?: () => void;
|
|
66
|
-
/**
|
|
67
|
-
* Callback function when the input clear button is clicked.
|
|
68
|
-
*/
|
|
69
|
-
onClear?: () => void;
|
|
70
|
-
}
|
|
71
|
-
declare function RegionModal({ testId, title, description, closeButtonAriaLabel, idkPostalCodeLinkProps, errorMessage, inputRef, inputValue, inputLabel, fadeOutOnSubmit, overlayProps, onClose, onInput, onSubmit, onClear, ...otherProps }: RegionModalProps): React.JSX.Element;
|
|
72
|
-
export default RegionModal;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputField, Link, Modal, ModalBody, ModalHeader } from '../..';
|
|
3
|
-
function RegionModal({ testId = 'fs-region-modal', title = 'Set your location', description = 'Prices, offers and availability may vary according to your location.', closeButtonAriaLabel = 'Close Region Modal', idkPostalCodeLinkProps, errorMessage, inputRef, inputValue, inputLabel = 'Postal Code', fadeOutOnSubmit, overlayProps, onClose, onInput, onSubmit, onClear, ...otherProps }) {
|
|
4
|
-
return (React.createElement(Modal, { "data-fs-region-modal": true, testId: testId, overlayProps: overlayProps, title: "Region modal", "aria-label": "Region modal", ...otherProps }, ({ fadeOut }) => (React.createElement(React.Fragment, null,
|
|
5
|
-
React.createElement(ModalHeader, { onClose: () => {
|
|
6
|
-
fadeOut();
|
|
7
|
-
onClose?.();
|
|
8
|
-
}, title: title, description: description, closeBtnProps: {
|
|
9
|
-
'aria-label': closeButtonAriaLabel,
|
|
10
|
-
} }),
|
|
11
|
-
React.createElement(ModalBody, null,
|
|
12
|
-
React.createElement(InputField, { "data-fs-region-modal-input": true, id: `${testId}-input-field`, inputRef: inputRef, label: inputLabel, actionable: true, value: inputValue, onInput: (event) => onInput?.(event), onSubmit: () => {
|
|
13
|
-
onSubmit?.();
|
|
14
|
-
fadeOutOnSubmit ? fadeOut() : null;
|
|
15
|
-
}, onClear: () => onClear?.(), error: errorMessage }),
|
|
16
|
-
React.createElement(Link, { "data-fs-region-modal-link": true, ...idkPostalCodeLinkProps }))))));
|
|
17
|
-
}
|
|
18
|
-
export default RegionModal;
|
|
19
|
-
//# sourceMappingURL=RegionModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RegionModal.js","sourceRoot":"","sources":["../../../src/organisms/RegionModal/RegionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AA4EvE,SAAS,WAAW,CAAC,EACnB,MAAM,GAAG,iBAAiB,EAC1B,KAAK,GAAG,mBAAmB,EAC3B,WAAW,GAAG,sEAAsE,EACpF,oBAAoB,GAAG,oBAAoB,EAC3C,sBAAsB,EACtB,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,UAAU,GAAG,aAAa,EAC1B,eAAe,EACf,YAAY,EACZ,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,GAAG,UAAU,EACI;IACjB,OAAO,CACL,oBAAC,KAAK,kCAEJ,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAC,cAAc,gBACT,cAAc,KACrB,UAAU,IAEb,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAChB;QACE,oBAAC,WAAW,IACV,OAAO,EAAE,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAA;gBACT,OAAO,EAAE,EAAE,CAAA;YACb,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE;gBACb,YAAY,EAAE,oBAAoB;aACnC,GACD;QACF,oBAAC,SAAS;YACR,oBAAC,UAAU,wCAET,EAAE,EAAE,GAAG,MAAM,cAAc,EAC3B,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,UAAU,EACjB,UAAU,QACV,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EACpC,QAAQ,EAAE,GAAG,EAAE;oBACb,QAAQ,EAAE,EAAE,CAAA;oBACZ,eAAe,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;gBACpC,CAAC,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,EAC1B,KAAK,EAAE,YAAY,GACnB;YAEF,oBAAC,IAAI,0CAA+B,sBAAsB,GAAI,CACpD,CACX,CACJ,CACK,CACT,CAAA;AACH,CAAC;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/RegionModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
import { SearchProviderContextValue } from '../../molecules/SearchProvider';
|
|
4
|
-
export type SearchInputProps = {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
7
|
-
* testing-library, and jest).
|
|
8
|
-
*/
|
|
9
|
-
testId?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The current status of the Search Dropdown.
|
|
12
|
-
*/
|
|
13
|
-
visibleDropdown: boolean;
|
|
14
|
-
} & HTMLAttributes<HTMLDivElement> & SearchProviderContextValue;
|
|
15
|
-
declare const SearchInput: React.ForwardRefExoticComponent<{
|
|
16
|
-
/**
|
|
17
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
18
|
-
* testing-library, and jest).
|
|
19
|
-
*/
|
|
20
|
-
testId?: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* The current status of the Search Dropdown.
|
|
23
|
-
*/
|
|
24
|
-
visibleDropdown: boolean;
|
|
25
|
-
} & React.HTMLAttributes<HTMLDivElement> & SearchProviderContextValue & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
export default SearchInput;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import SearchProvider from '../../molecules/SearchProvider';
|
|
3
|
-
const SearchInput = forwardRef(function SearchInput({ children, visibleDropdown = false, testId = 'fs-search-input', isLoading, products, term, terms, onSearchSelection, ...otherProps }, ref) {
|
|
4
|
-
return (React.createElement("div", { ref: ref, "data-fs-search-input": true, "data-fs-search-input-dropdown-visible": visibleDropdown, "data-testid": testId, ...otherProps },
|
|
5
|
-
React.createElement(SearchProvider, { onSearchSelection: onSearchSelection, isLoading: isLoading, term: term, products: products, terms: terms }, children)));
|
|
6
|
-
});
|
|
7
|
-
export default SearchInput;
|
|
8
|
-
//# sourceMappingURL=SearchInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../src/organisms/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,cAA8C,MAAM,gCAAgC,CAAA;AAe3F,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,QAAQ,EACR,eAAe,GAAG,KAAK,EACvB,MAAM,GAAG,iBAAiB,EAC1B,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,iBAAiB,EACjB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,yEAE+B,eAAe,iBACzC,MAAM,KACf,UAAU;QAEd,oBAAC,cAAc,IACb,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,IAEX,QAAQ,CACM,CACb,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import type { PriceFormatter } from '../../atoms/Price/Price';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { LinkElementType, LinkProps } from '../..';
|
|
5
|
-
interface ShippingSLA {
|
|
6
|
-
/**
|
|
7
|
-
* ShippingSLA carrier.
|
|
8
|
-
*/
|
|
9
|
-
carrier: string;
|
|
10
|
-
/**
|
|
11
|
-
* ShippingSLA localized shipping estimate.
|
|
12
|
-
*/
|
|
13
|
-
localizedEstimates: string;
|
|
14
|
-
/**
|
|
15
|
-
* ShippingSLA price.
|
|
16
|
-
*/
|
|
17
|
-
price: number;
|
|
18
|
-
}
|
|
19
|
-
interface Address {
|
|
20
|
-
/**
|
|
21
|
-
* Address postal code
|
|
22
|
-
*/
|
|
23
|
-
postalCode?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Address city
|
|
26
|
-
*/
|
|
27
|
-
city?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Address state
|
|
30
|
-
*/
|
|
31
|
-
state?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Address country
|
|
34
|
-
*/
|
|
35
|
-
country?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Address street
|
|
38
|
-
*/
|
|
39
|
-
street?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Address number
|
|
42
|
-
*/
|
|
43
|
-
number?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Address neighborhood
|
|
46
|
-
*/
|
|
47
|
-
neighborhood?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Address complement
|
|
50
|
-
*/
|
|
51
|
-
complement?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Address reference
|
|
54
|
-
*/
|
|
55
|
-
reference?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Address geoCoordinates
|
|
58
|
-
*/
|
|
59
|
-
geoCoordinates?: [number];
|
|
60
|
-
}
|
|
61
|
-
export interface ShippingSimulationProps extends HTMLAttributes<HTMLDivElement> {
|
|
62
|
-
/**
|
|
63
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
64
|
-
* testing-library, and jest).
|
|
65
|
-
*/
|
|
66
|
-
testId?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Formatter function that transforms the raw price value and render the result.
|
|
69
|
-
*/
|
|
70
|
-
formatter: PriceFormatter;
|
|
71
|
-
/**
|
|
72
|
-
* The Shipping Suggestions Section's title.
|
|
73
|
-
*/
|
|
74
|
-
title?: string;
|
|
75
|
-
/**
|
|
76
|
-
* The text displayed to Shipping Simulation input text.
|
|
77
|
-
*/
|
|
78
|
-
inputLabel?: string;
|
|
79
|
-
/**
|
|
80
|
-
* The text displayed in Shipping options table.
|
|
81
|
-
*/
|
|
82
|
-
optionsLabel?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Props for the link `I don't know my Postal Code`.
|
|
85
|
-
*/
|
|
86
|
-
idkPostalCodeLinkProps?: Partial<LinkProps<LinkElementType>>;
|
|
87
|
-
/**
|
|
88
|
-
* Callback function when input is typed.
|
|
89
|
-
*/
|
|
90
|
-
onInput?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
91
|
-
/**
|
|
92
|
-
* Callback function when form is submitted.
|
|
93
|
-
*/
|
|
94
|
-
onSubmit?: () => void;
|
|
95
|
-
/**
|
|
96
|
-
* Callback function when the input clear button is clicked.
|
|
97
|
-
*/
|
|
98
|
-
onClear?: () => void;
|
|
99
|
-
/**
|
|
100
|
-
* Location for shipping.
|
|
101
|
-
*/
|
|
102
|
-
location?: string;
|
|
103
|
-
/**
|
|
104
|
-
* Address for shipping.
|
|
105
|
-
*/
|
|
106
|
-
address?: Address;
|
|
107
|
-
/**
|
|
108
|
-
* Options for shipping simulation.
|
|
109
|
-
*/
|
|
110
|
-
options?: ShippingSLA[];
|
|
111
|
-
/**
|
|
112
|
-
* Show clear button.
|
|
113
|
-
*/
|
|
114
|
-
displayClearButton?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Message of error for input.
|
|
117
|
-
*/
|
|
118
|
-
errorMessage?: string;
|
|
119
|
-
/**
|
|
120
|
-
* Postal code.
|
|
121
|
-
*/
|
|
122
|
-
postalCode?: string;
|
|
123
|
-
}
|
|
124
|
-
declare function ShippingSimulation({ testId, formatter, title, inputLabel, optionsLabel, idkPostalCodeLinkProps, onInput, onSubmit, onClear, location, options, displayClearButton, errorMessage, postalCode, ...otherProps }: ShippingSimulationProps): React.JSX.Element;
|
|
125
|
-
export default ShippingSimulation;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Icon, InputField, Link, Price, Table, TableBody, TableCell, TableRow, } from '../..';
|
|
3
|
-
function ShippingSimulation({ testId = 'fs-shipping-simulation', formatter, title = 'Shipping', inputLabel = 'Postal Code', optionsLabel = 'Shipping options', idkPostalCodeLinkProps, onInput, onSubmit, onClear, location, options = [], displayClearButton = false, errorMessage, postalCode, ...otherProps }) {
|
|
4
|
-
const hasShippingOptions = !!options && options.length > 0;
|
|
5
|
-
return (React.createElement("section", { "data-fs-shipping-simulation": true, "data-fs-shipping-simulation-empty": !hasShippingOptions ? 'true' : 'false', "data-testid": testId, ...otherProps },
|
|
6
|
-
React.createElement("h2", { "data-fs-shipping-simulation-title": true }, title),
|
|
7
|
-
React.createElement(InputField, { actionable: true, error: errorMessage, id: `${testId}-input-field`, label: inputLabel, value: postalCode, onInput: (event) => onInput?.(event), onSubmit: () => onSubmit?.(), onClear: () => onClear?.(), displayClearButton: displayClearButton }),
|
|
8
|
-
React.createElement(Link, { href: "/", "data-fs-shipping-simulation-link": true, size: "small", ...idkPostalCodeLinkProps }, idkPostalCodeLinkProps?.children ?? (React.createElement(React.Fragment, null,
|
|
9
|
-
"I don't know my Postal Code",
|
|
10
|
-
React.createElement(Icon, { name: "ArrowSquareOut", width: 20, height: 20 })))),
|
|
11
|
-
hasShippingOptions && (React.createElement(React.Fragment, null,
|
|
12
|
-
React.createElement("header", { "data-fs-shipping-simulation-header": true },
|
|
13
|
-
React.createElement("h3", { "data-fs-shipping-simulation-subtitle": true }, optionsLabel),
|
|
14
|
-
React.createElement("p", { "data-fs-shipping-simulation-location": true }, location)),
|
|
15
|
-
React.createElement(Table, null,
|
|
16
|
-
React.createElement(TableBody, null, options.map((option) => (React.createElement(TableRow, { key: option.carrier },
|
|
17
|
-
React.createElement(TableCell, { align: "left" }, option.carrier),
|
|
18
|
-
React.createElement(TableCell, null, option.localizedEstimates),
|
|
19
|
-
React.createElement(TableCell, { align: "right" }, option.price && (React.createElement(Price, { formatter: formatter, value: option.price, SRText: "price" }))))))))))));
|
|
20
|
-
}
|
|
21
|
-
export default ShippingSimulation;
|
|
22
|
-
//# sourceMappingURL=ShippingSimulation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShippingSimulation.js","sourceRoot":"","sources":["../../../src/organisms/ShippingSimulation/ShippingSimulation.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EACL,IAAI,EACJ,UAAU,EACV,IAAI,EAGJ,KAAK,EACL,KAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,GACT,MAAM,OAAO,CAAA;AA6Hd,SAAS,kBAAkB,CAAC,EAC1B,MAAM,GAAG,wBAAwB,EACjC,SAAS,EACT,KAAK,GAAG,UAAU,EAClB,UAAU,GAAG,aAAa,EAC1B,YAAY,GAAG,kBAAkB,EACjC,sBAAsB,EACtB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,OAAO,GAAG,EAAE,EACZ,kBAAkB,GAAG,KAAK,EAC1B,YAAY,EACZ,UAAU,EACV,GAAG,UAAU,EACW;IACxB,MAAM,kBAAkB,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,CAAA;IAE1D,OAAO,CACL,2GAEqC,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,iBAC5D,MAAM,KACf,UAAU;QAEd,yEAAuC,KAAK,CAAM;QAElD,oBAAC,UAAU,IACT,UAAU,QACV,KAAK,EAAE,YAAY,EACnB,EAAE,EAAE,GAAG,MAAM,cAAc,EAC3B,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EACpC,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,EAC5B,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,EAC1B,kBAAkB,EAAE,kBAAkB,GACtC;QAEF,oBAAC,IAAI,IACH,IAAI,EAAC,GAAG,4CAER,IAAI,EAAC,OAAO,KACR,sBAAsB,IAEzB,sBAAsB,EAAE,QAAQ,IAAI,CACnC;YACG,6BAA6B;YAC9B,oBAAC,IAAI,IAAC,IAAI,EAAC,gBAAgB,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,CACpD,CACJ,CACI;QAEN,kBAAkB,IAAI,CACrB;YACE;gBACE,4EAA0C,YAAY,CAAM;gBAC5D,2EAAyC,QAAQ,CAAK,CAC/C;YAET,oBAAC,KAAK;gBACJ,oBAAC,SAAS,QACP,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvB,oBAAC,QAAQ,IAAC,GAAG,EAAE,MAAM,CAAC,OAAO;oBAC3B,oBAAC,SAAS,IAAC,KAAK,EAAC,MAAM,IAAE,MAAM,CAAC,OAAO,CAAa;oBACpD,oBAAC,SAAS,QAAE,MAAM,CAAC,kBAAkB,CAAa;oBAClD,oBAAC,SAAS,IAAC,KAAK,EAAC,OAAO,IACrB,MAAM,CAAC,KAAK,IAAI,CACf,oBAAC,KAAK,IACJ,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,MAAM,EAAC,OAAO,GACd,CACH,CACS,CACH,CACZ,CAAC,CACQ,CACN,CACP,CACJ,CACO,CACX,CAAA;AACH,CAAC;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/organisms/ShippingSimulation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { ModalProps, OverlayProps } from '../../';
|
|
4
|
-
export type Direction = 'leftSide' | 'rightSide';
|
|
5
|
-
export type WidthSize = 'full' | 'partial';
|
|
6
|
-
export interface SlideOverProps extends Omit<ModalProps, 'title'> {
|
|
7
|
-
/**
|
|
8
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
9
|
-
*/
|
|
10
|
-
testId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* A boolean value that represents the state of the SlideOver
|
|
13
|
-
*/
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Represents the side that the SlideOver comes from.
|
|
17
|
-
*/
|
|
18
|
-
direction: Direction;
|
|
19
|
-
/**
|
|
20
|
-
* Represents the size of the SlideOver.
|
|
21
|
-
*/
|
|
22
|
-
size: WidthSize;
|
|
23
|
-
/**
|
|
24
|
-
* Represents the fade effect of the SlideOver.
|
|
25
|
-
*/
|
|
26
|
-
fade: 'in' | 'out';
|
|
27
|
-
children: ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Props forwarded to the `Overlay` component.
|
|
30
|
-
*/
|
|
31
|
-
overlayProps?: OverlayProps;
|
|
32
|
-
/**
|
|
33
|
-
* This function is called whenever the user clicks outside.
|
|
34
|
-
* the modal content
|
|
35
|
-
*/
|
|
36
|
-
onDismiss?: () => void;
|
|
37
|
-
}
|
|
38
|
-
declare function SlideOver({ testId, isOpen, direction, size, fade, children, overlayProps, onDismiss, ...otherProps }: SlideOverProps): React.JSX.Element;
|
|
39
|
-
export default SlideOver;
|