@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,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { List, useSearch } from '../..';
|
|
3
|
-
const SearchProductsProps = ({ testId = 'fs-search-products', title = 'Suggested Products', children, ...otherProps }) => {
|
|
4
|
-
const { inContext, values } = useSearch();
|
|
5
|
-
if (inContext && (values.products.length <= 0)) {
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
return (React.createElement("section", { "data-testid": testId, "data-fs-search-products": true, ...otherProps },
|
|
9
|
-
React.createElement("header", { "data-fs-search-products-header": true },
|
|
10
|
-
React.createElement("p", { "data-fs-search-products-title": true }, title)),
|
|
11
|
-
React.createElement(List, { as: "ol" }, children)));
|
|
12
|
-
};
|
|
13
|
-
export default SearchProductsProps;
|
|
14
|
-
//# sourceMappingURL=SearchProducts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchProducts.js","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProducts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAavC,MAAM,mBAAmB,GAAG,CAAC,EAC3B,MAAM,GAAG,oBAAoB,EAC7B,KAAK,GAAG,oBAAoB,EAC5B,QAAQ,EACR,GAAG,UAAU,EACO,EAAE,EAAE;IACxB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;IAEzC,IAAI,SAAS,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,CAAC,EAAE;QAC9C,OAAO,IAAI,CAAA;KACZ;IACD,OAAO,CACL,gDAAsB,MAAM,sCAA8B,UAAU;QAClE;YACE,oEAAkC,KAAK,CAAK,CACrC;QACT,oBAAC,IAAI,IAAC,EAAE,EAAC,IAAI,IAAE,QAAQ,CAAQ,CACvB,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { default } from './SearchProducts';
|
|
2
|
-
export type { SearchProductsProps } from './SearchProducts';
|
|
3
|
-
export { default as SearchProductItem } from './SearchProductItem';
|
|
4
|
-
export type { SearchProductItemProps } from './SearchProductItem';
|
|
5
|
-
export { default as SearchProductItemImage } from './SearchProductItemImage';
|
|
6
|
-
export type { SearchProductItemImageProps } from './SearchProductItemImage';
|
|
7
|
-
export { default as SearchProductItemContent } from './SearchProductItemContent';
|
|
8
|
-
export type { SearchProductItemContentProps } from './SearchProductItemContent';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default } from './SearchProducts';
|
|
2
|
-
export { default as SearchProductItem } from './SearchProductItem';
|
|
3
|
-
export { default as SearchProductItemImage } from './SearchProductItemImage';
|
|
4
|
-
export { default as SearchProductItemContent } from './SearchProductItemContent';
|
|
5
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG1C,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAG5E,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PropsWithChildren } from 'react';
|
|
3
|
-
export interface SearchProviderContextValue {
|
|
4
|
-
/**
|
|
5
|
-
* Term to be researched.
|
|
6
|
-
*/
|
|
7
|
-
term: string;
|
|
8
|
-
/**
|
|
9
|
-
* Enables a loading state.
|
|
10
|
-
*/
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* List of Suggestion terms.
|
|
14
|
-
*/
|
|
15
|
-
terms: Array<{
|
|
16
|
-
value: string;
|
|
17
|
-
}>;
|
|
18
|
-
/**
|
|
19
|
-
* List of Suggested products.
|
|
20
|
-
*/
|
|
21
|
-
products: {}[];
|
|
22
|
-
/**
|
|
23
|
-
* Callback function when a search term is selected.
|
|
24
|
-
*/
|
|
25
|
-
onSearchSelection?: (term: string, path: string) => void;
|
|
26
|
-
}
|
|
27
|
-
export declare const SearchContext: React.Context<SearchProviderContextValue | null>;
|
|
28
|
-
declare function SearchProvider({ onSearchSelection, children, term, terms, products, isLoading, }: PropsWithChildren<SearchProviderContextValue>): React.JSX.Element;
|
|
29
|
-
export default SearchProvider;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { createContext } from 'react';
|
|
3
|
-
export const SearchContext = createContext(null);
|
|
4
|
-
function SearchProvider({ onSearchSelection, children, term, terms, products, isLoading, }) {
|
|
5
|
-
return (React.createElement(SearchContext.Provider, { value: { onSearchSelection, term, terms, products, isLoading } }, children));
|
|
6
|
-
}
|
|
7
|
-
export default SearchProvider;
|
|
8
|
-
//# sourceMappingURL=SearchProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchProvider.js","sourceRoot":"","sources":["../../../src/molecules/SearchProvider/SearchProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAyBrC,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CACxC,IAAI,CACL,CAAA;AAED,SAAS,cAAc,CAAC,EACtB,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,SAAS,GACqC;IAC9C,OAAO,CACL,oBAAC,aAAa,CAAC,QAAQ,IACrB,KAAK,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,IAE7D,QAAQ,CACc,CAC1B,CAAA;AACH,CAAC;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface SearchTopProps 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
|
-
* Title attribute for the <section> tag rendered by this component.
|
|
10
|
-
*/
|
|
11
|
-
title: string;
|
|
12
|
-
}
|
|
13
|
-
declare const SearchTop: React.ForwardRefExoticComponent<SearchTopProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export default SearchTop;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import { List, useSearch } from '../../';
|
|
4
|
-
const SearchTop = forwardRef(function SearchTop({ testId = 'fs-top-search', title = 'Top Search', children, ...otherProps }, ref) {
|
|
5
|
-
const { inContext, values } = useSearch();
|
|
6
|
-
if (inContext && (values.term.length !== 0 || values.isLoading)) {
|
|
7
|
-
return null;
|
|
8
|
-
}
|
|
9
|
-
return (React.createElement("section", { ref: ref, "data-testid": testId, "data-fs-search-top": true, ...otherProps },
|
|
10
|
-
React.createElement("header", { "data-fs-search-top-header": true },
|
|
11
|
-
React.createElement("p", { "data-fs-search-top-title": true }, title)),
|
|
12
|
-
React.createElement(List, { as: "ol" }, children)));
|
|
13
|
-
});
|
|
14
|
-
export default SearchTop;
|
|
15
|
-
//# sourceMappingURL=SearchTop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchTop.js","sourceRoot":"","sources":["../../../src/molecules/SearchTop/SearchTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGlC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAaxC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EACE,MAAM,GAAG,eAAe,EACxB,KAAK,GAAG,YAAY,EACpB,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAGH,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,iCAAS,GAAG,EAAE,GAAG,iBAAe,MAAM,iCAAyB,UAAU;QACrE;YACE,+DAA6B,KAAK,CAAK,CAChC;QACT,oBAAC,IAAI,IAAC,EAAE,EAAC,IAAI,IAAE,QAAQ,CAAQ,CACzB,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { LinkElementType, LinkProps } from '../../';
|
|
4
|
-
export interface SearchTopTermProps 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
|
-
* Search term to be shown.
|
|
11
|
-
*/
|
|
12
|
-
value: string;
|
|
13
|
-
/**
|
|
14
|
-
* Props for the `<Link>` rendered by this component.
|
|
15
|
-
*/
|
|
16
|
-
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
17
|
-
/**
|
|
18
|
-
* Current term's position in a list of search terms.
|
|
19
|
-
*/
|
|
20
|
-
index: number;
|
|
21
|
-
}
|
|
22
|
-
declare const SearchTopTerm: React.ForwardRefExoticComponent<SearchTopTermProps & React.RefAttributes<HTMLLIElement>>;
|
|
23
|
-
export default SearchTopTerm;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { Badge, Link } from '../../';
|
|
3
|
-
const SearchTopTerm = forwardRef(function SearchTopTerm({ testId = 'fs-top-search-term', value, linkProps, index }, ref) {
|
|
4
|
-
return (React.createElement("li", { ref: ref, "data-fs-search-top-item": true, "data-testid": testId },
|
|
5
|
-
React.createElement(Link, { ...linkProps, "data-fs-search-top-item-link": true, variant: "display" },
|
|
6
|
-
React.createElement(Badge, { "data-fs-search-top-item-badge": true, variant: "info" }, index + 1),
|
|
7
|
-
value)));
|
|
8
|
-
});
|
|
9
|
-
export default SearchTopTerm;
|
|
10
|
-
//# sourceMappingURL=SearchTopTerm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchTopTerm.js","sourceRoot":"","sources":["../../../src/molecules/SearchTop/SearchTopTerm.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,IAAI,EAA8B,MAAM,QAAQ,CAAA;AAqBhE,MAAM,aAAa,GAAG,UAAU,CAC9B,SAAS,aAAa,CACpB,EAAE,MAAM,GAAG,oBAAoB,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,4BAAI,GAAG,EAAE,GAAG,kDAAuC,MAAM;QACvD,oBAAC,IAAI,OAAK,SAAS,wCAA+B,OAAO,EAAC,SAAS;YACjE,oBAAC,KAAK,2CAA+B,OAAO,EAAC,MAAM,IAChD,KAAK,GAAG,CAAC,CACJ;YACP,KAAK,CACD,CACJ,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchTop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGrC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SelectProps } from '../../atoms/Select';
|
|
3
|
-
export interface SelectFieldProps extends SelectProps {
|
|
4
|
-
/**
|
|
5
|
-
* Defines the text displayed in the label right next to the Select.
|
|
6
|
-
*/
|
|
7
|
-
label: string;
|
|
8
|
-
}
|
|
9
|
-
declare const SelectField: React.ForwardRefExoticComponent<SelectFieldProps & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export default SelectField;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { Label, Select } from '../..';
|
|
3
|
-
const SelectField = forwardRef(function SelectField({ id, label, options, testId = 'fs-select-field', ...otherProps }, ref) {
|
|
4
|
-
return (React.createElement("div", { ref: ref, "data-fs-select-field": true },
|
|
5
|
-
React.createElement(Label, { "data-fs-select-field-label": true, htmlFor: id }, label),
|
|
6
|
-
React.createElement(Select, { id: id, options: options, "data-testid": testId, ...otherProps })));
|
|
7
|
-
});
|
|
8
|
-
export default SelectField;
|
|
9
|
-
//# sourceMappingURL=SelectField.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.js","sourceRoot":"","sources":["../../../src/molecules/SelectField/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAUrC,MAAM,WAAW,GAAG,UAAU,CAG5B,SAAS,WAAW,CACpB,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,iBAAiB,EAAE,GAAG,UAAU,EAAE,EACjE,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG;QACX,oBAAC,KAAK,wCAA4B,OAAO,EAAE,EAAE,IAC1C,KAAK,CACA;QACR,oBAAC,MAAM,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,iBAAe,MAAM,KAAM,UAAU,GAAI,CACrE,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SelectField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, HTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { LinkProps, LinkElementType } from '../..';
|
|
4
|
-
import { Variant } from './useDefineVariant';
|
|
5
|
-
export interface SkuOption {
|
|
6
|
-
/**
|
|
7
|
-
* Alternative text description of the image.
|
|
8
|
-
*/
|
|
9
|
-
alt?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Image URL.
|
|
12
|
-
*/
|
|
13
|
-
src?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Label to describe the option when selected. This is mandatory if you want to use the `image` variant.'
|
|
16
|
-
*/
|
|
17
|
-
label: string;
|
|
18
|
-
/**
|
|
19
|
-
* Current value for this option.
|
|
20
|
-
*/
|
|
21
|
-
value: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies that this option should be disabled.
|
|
24
|
-
*/
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Hex color code for this option. This is mandatory if you want to use the `Color` variant.
|
|
28
|
-
*/
|
|
29
|
-
hexColor?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface SkuSelectorProps extends HTMLAttributes<HTMLDivElement> {
|
|
32
|
-
/**
|
|
33
|
-
* ID to find this component in testing tools (e.g.: cypress,
|
|
34
|
-
* testing-library, and jest).
|
|
35
|
-
*/
|
|
36
|
-
testId?: string;
|
|
37
|
-
/**
|
|
38
|
-
* ID of the current instance of the component.
|
|
39
|
-
*/
|
|
40
|
-
id?: string;
|
|
41
|
-
/**
|
|
42
|
-
* SKU options that should be rendered.
|
|
43
|
-
*/
|
|
44
|
-
availableVariations: Record<string, SkuOption[]>;
|
|
45
|
-
/**
|
|
46
|
-
* Name of the SKU property that this selector is relative to.
|
|
47
|
-
*/
|
|
48
|
-
skuPropertyName: string;
|
|
49
|
-
/**
|
|
50
|
-
* Currently active variation's value.
|
|
51
|
-
*/
|
|
52
|
-
activeVariations: Record<string, string>;
|
|
53
|
-
/**
|
|
54
|
-
* Optional variant type, when is not passed the type is inferred based on options properties
|
|
55
|
-
*/
|
|
56
|
-
variant?: Variant;
|
|
57
|
-
/**
|
|
58
|
-
* Extends all Link Props.
|
|
59
|
-
*/
|
|
60
|
-
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
61
|
-
/**
|
|
62
|
-
* Optional function to determines the href string.
|
|
63
|
-
*/
|
|
64
|
-
getItemHref?: (option: SkuOption) => string;
|
|
65
|
-
/**
|
|
66
|
-
* Maps property value combinations to their respective SKU's slug
|
|
67
|
-
*/
|
|
68
|
-
slugsMap: Record<string, string>;
|
|
69
|
-
/**
|
|
70
|
-
* Function that returns a React component that will be used to render images.
|
|
71
|
-
*/
|
|
72
|
-
ImageComponent?: FunctionComponent<{
|
|
73
|
-
src: string;
|
|
74
|
-
alt: string;
|
|
75
|
-
}>;
|
|
76
|
-
}
|
|
77
|
-
declare const SkuSelector: React.ForwardRefExoticComponent<SkuSelectorProps & React.RefAttributes<HTMLDivElement>>;
|
|
78
|
-
export default SkuSelector;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { Label, SROnly, Link } from '../..';
|
|
3
|
-
import { useDefineVariant } from './useDefineVariant';
|
|
4
|
-
import { useSkuSlug } from './useSkuSlug';
|
|
5
|
-
// TODO: Change by ImageComponent when it be right
|
|
6
|
-
const ImageComponentFallback = ({ src, alt, ...otherProps }) => React.createElement("img", { src: src, alt: alt, ...otherProps });
|
|
7
|
-
const SkuSelector = forwardRef(function SkuSelector({ availableVariations, skuPropertyName, testId, activeVariations, linkProps, slugsMap, getItemHref: getItemHrefProp, ImageComponent = ImageComponentFallback, variant: variantProp, ...otherProps }, ref) {
|
|
8
|
-
const activeSelectorValue = activeVariations[skuPropertyName];
|
|
9
|
-
const options = availableVariations[skuPropertyName];
|
|
10
|
-
const variant = useDefineVariant(options, variantProp);
|
|
11
|
-
const { getItemHref } = useSkuSlug(activeVariations, slugsMap, skuPropertyName, getItemHrefProp);
|
|
12
|
-
return (React.createElement("div", { ref: ref, "data-fs-sku-selector": true, "data-testid": testId, "data-fs-sku-selector-variant": variant, ...otherProps },
|
|
13
|
-
skuPropertyName && (React.createElement(Label, { "data-fs-sku-selector-title": true },
|
|
14
|
-
skuPropertyName,
|
|
15
|
-
": ",
|
|
16
|
-
React.createElement("strong", null, activeSelectorValue))),
|
|
17
|
-
React.createElement("ul", { "data-fs-sku-selector-list": true }, options.map((option, index) => {
|
|
18
|
-
return (React.createElement("li", { key: String(index), title: option.label, "data-fs-sku-selector-option": true, "data-fs-sku-selector-disabled": option.disabled, "data-fs-sku-selector-checked": option.value === activeVariations[skuPropertyName] },
|
|
19
|
-
React.createElement(Link, { "data-fs-sku-selector-option-link": true, href: getItemHref(option), ...linkProps },
|
|
20
|
-
React.createElement(SROnly, { text: option.label })),
|
|
21
|
-
variant === 'label' && React.createElement("span", null, option.value),
|
|
22
|
-
variant === 'image' && ImageComponent && (React.createElement("span", null,
|
|
23
|
-
React.createElement(ImageComponent, { src: option.src ?? '', alt: option.alt ?? '', "data-fs-sku-selector-option-image": true }))),
|
|
24
|
-
variant === 'color' && (React.createElement("span", null,
|
|
25
|
-
React.createElement("div", { "data-fs-sku-selector-option-color": true, title: option.value, style: {
|
|
26
|
-
'--data-fs-sku-selector-option-color-bkg-color': option.hexColor,
|
|
27
|
-
} })))));
|
|
28
|
-
}))));
|
|
29
|
-
});
|
|
30
|
-
export default SkuSelector;
|
|
31
|
-
//# sourceMappingURL=SkuSelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkuSelector.js","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/SkuSelector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAA8B,MAAM,OAAO,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAW,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,kDAAkD;AAClD,MAAM,sBAAsB,GAAuC,CAAC,EAClE,GAAG,EACH,GAAG,EACH,GAAG,UAAU,EACd,EAAE,EAAE,CAAC,6BAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,KAAM,UAAU,GAAI,CAAA;AA4EjD,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,mBAAmB,EACnB,eAAe,EACf,MAAM,EACN,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,WAAW,EAAE,eAAe,EAC5B,cAAc,GAAG,sBAAsB,EACvC,OAAO,EAAE,WAAW,EACpB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAA;IAC7D,MAAM,OAAO,GAAG,mBAAmB,CAAC,eAAe,CAAC,CAAA;IAEpD,MAAM,OAAO,GAAG,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;IAEtD,MAAM,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,CAAC,CAAA;IAEhG,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,+CAEK,MAAM,kCACW,OAAO,KACjC,UAAU;QAEb,eAAe,IAAI,CAClB,oBAAC,KAAK;YACH,eAAe;;YAAG,oCAAS,mBAAmB,CAAU,CACnD,CACT;QACD,iEACG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YAC7B,OAAO,CACL,4BACE,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,EAClB,KAAK,EAAE,MAAM,CAAC,KAAK,wEAEY,MAAM,CAAC,QAAQ,kCAE5C,MAAM,CAAC,KAAK,KAAK,gBAAgB,CAAC,eAAe,CAAC;gBAGpD,oBAAC,IAAI,8CAEH,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,KACrB,SAAS;oBAEb,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,CAAC,KAAK,GAAI,CACzB;gBAEN,OAAO,KAAK,OAAO,IAAI,kCAAO,MAAM,CAAC,KAAK,CAAQ;gBAElD,OAAO,KAAK,OAAO,IAAI,cAAc,IAAI,CACxC;oBACE,oBAAC,cAAc,IACb,GAAG,EAAE,MAAM,CAAC,GAAG,IAAI,EAAE,EACrB,GAAG,EAAE,MAAM,CAAC,GAAG,IAAI,EAAE,8CAErB,CACG,CACR;gBAEA,OAAO,KAAK,OAAO,IAAI,CACtB;oBACE,wEAEE,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,KAAK,EACH;4BACE,+CAA+C,EAC7C,MAAM,CAAC,QAAQ;yBACK,GAErB,CACF,CACR,CACE,CACN,CAAA;QACH,CAAC,CAAC,CACC,CACD,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { useMemo } from 'react';
|
|
2
|
-
const getImageName = (src) => {
|
|
3
|
-
const sourcePath = new URL(src).pathname;
|
|
4
|
-
const imageName = sourcePath.split('/').slice(-1)[0];
|
|
5
|
-
return imageName;
|
|
6
|
-
};
|
|
7
|
-
export const useDefineVariant = (options, variant) => useMemo(() => {
|
|
8
|
-
if (variant)
|
|
9
|
-
return variant;
|
|
10
|
-
const allOptionsHaveHexColor = options.every((option) => option.hexColor);
|
|
11
|
-
if (allOptionsHaveHexColor) {
|
|
12
|
-
return 'color';
|
|
13
|
-
}
|
|
14
|
-
const firstImageName = options[0]?.src && getImageName(options[0].src);
|
|
15
|
-
const areSourcesEqualsOrNull = options.every((option) => {
|
|
16
|
-
if (!option.src) {
|
|
17
|
-
return true;
|
|
18
|
-
}
|
|
19
|
-
const optionImageName = getImageName(option.src);
|
|
20
|
-
return optionImageName === firstImageName;
|
|
21
|
-
});
|
|
22
|
-
if (!areSourcesEqualsOrNull) {
|
|
23
|
-
return 'image';
|
|
24
|
-
}
|
|
25
|
-
return 'label';
|
|
26
|
-
}, [options, variant]);
|
|
27
|
-
//# sourceMappingURL=useDefineVariant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDefineVariant.js","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/useDefineVariant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAK/B,MAAM,YAAY,GAAG,CAAC,GAAW,EAAE,EAAE;IACnC,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAA;IACxC,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACpD,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAAoB,EAAE,OAAiB,EAAW,EAAE,CACnF,OAAO,CAAC,GAAG,EAAE;IACX,IAAG,OAAO;QAAE,OAAO,OAAO,CAAA;IAE1B,MAAM,sBAAsB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;IACzE,IAAI,sBAAsB,EAAE;QAC1B,OAAO,OAAO,CAAA;KACf;IAED,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAEtE,MAAM,sBAAsB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE;QACtD,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;YACf,OAAO,IAAI,CAAA;SACZ;QACD,MAAM,eAAe,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;QAChD,OAAO,eAAe,KAAK,cAAc,CAAA;IAC3C,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,sBAAsB,EAAE;QAC3B,OAAO,OAAO,CAAA;KACf;IAED,OAAO,OAAO,CAAA;AAChB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SkuOption } from './SkuSelector';
|
|
2
|
-
export declare const useSkuSlug: (activeVariations: Record<string, string>, slugsMap: Record<string, string>, skuPropertyName: string, getItemHrefProp?: ((option: SkuOption) => string) | undefined) => {
|
|
3
|
-
getItemHref: (option: SkuOption) => string | {
|
|
4
|
-
getItemHrefProp: (option: SkuOption) => string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useCallback } from 'react';
|
|
2
|
-
function getSkuSlug(slugsMap, selectedVariations, dominantVariation) {
|
|
3
|
-
const slugsMapKey = Object.entries(selectedVariations).flat().join('-');
|
|
4
|
-
if (slugsMapKey in slugsMap) {
|
|
5
|
-
return slugsMap[slugsMapKey];
|
|
6
|
-
}
|
|
7
|
-
const possibleVariants = Object.keys(slugsMap);
|
|
8
|
-
const firstVariationForDominantValue = possibleVariants.find((slug) => slug.includes(`${dominantVariation}-${selectedVariations[dominantVariation]}`));
|
|
9
|
-
return slugsMap[firstVariationForDominantValue ?? possibleVariants[0]];
|
|
10
|
-
}
|
|
11
|
-
export const useSkuSlug = (activeVariations, slugsMap, skuPropertyName, getItemHrefProp) => {
|
|
12
|
-
const getItemHref = useCallback((option) => {
|
|
13
|
-
if (getItemHrefProp)
|
|
14
|
-
return { getItemHrefProp };
|
|
15
|
-
const currentItemHref = `/${getSkuSlug(slugsMap, {
|
|
16
|
-
...activeVariations,
|
|
17
|
-
[skuPropertyName]: option.value,
|
|
18
|
-
}, skuPropertyName)}/p`;
|
|
19
|
-
return currentItemHref;
|
|
20
|
-
}, [activeVariations, getItemHrefProp, slugsMap, skuPropertyName]);
|
|
21
|
-
return { getItemHref };
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=useSkuSlug.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSkuSlug.js","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/useSkuSlug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAGnC,SAAS,UAAU,CACjB,QAAgC,EAChC,kBAA0C,EAC1C,iBAAyB;IAEzB,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEvE,IAAI,WAAW,IAAI,QAAQ,EAAE;QAC3B,OAAO,QAAQ,CAAC,WAAW,CAAC,CAAA;KAC7B;IAED,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAE9C,MAAM,8BAA8B,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACpE,IAAI,CAAC,QAAQ,CACX,GAAG,iBAAiB,IAAI,kBAAkB,CAAC,iBAAiB,CAAC,EAAE,CAChE,CACF,CAAA;IAED,OAAO,QAAQ,CAAC,8BAA8B,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAA;AACxE,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,gBAAwC,EACxC,QAAgC,EAChC,eAAuB,EACvB,eAA+C,EAC/C,EAAE;IACF,MAAM,WAAW,GAAG,WAAW,CAC7B,CAAC,MAAiB,EAAE,EAAE;QACpB,IAAG,eAAe;YAAE,OAAO,EAAE,eAAe,EAAE,CAAA;QAE9C,MAAM,eAAe,GAAG,IAAI,UAAU,CACpC,QAAQ,EACR;YACE,GAAG,gBAAgB;YACnB,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK;SAChC,EACD,eAAe,CAChB,IAAI,CAAA;QACL,OAAO,eAAe,CAAA;IACxB,CAAC,EACD,CAAC,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,eAAe,CAAC,CAC/D,CAAA;IACD,OAAO,EAAE,WAAW,EAAE,CAAA;AACxB,CAAC,CAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { DetailedHTMLProps, PropsWithChildren, ReactEventHandler, TableHTMLAttributes } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface TableProps extends DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement> {
|
|
4
|
-
/**
|
|
5
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
-
*/
|
|
7
|
-
testId?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Defines what style this component should use.
|
|
10
|
-
*/
|
|
11
|
-
variant?: 'colored' | 'bordered';
|
|
12
|
-
/**
|
|
13
|
-
* Call a function when the component is resized.
|
|
14
|
-
*/
|
|
15
|
-
onResize?: ReactEventHandler<unknown> | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* A version of onResize that fires in the capture phase.
|
|
18
|
-
*/
|
|
19
|
-
onResizeCapture?: ReactEventHandler<unknown> | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* A randomly generated string that is only used once.
|
|
22
|
-
*/
|
|
23
|
-
nonce?: string | undefined;
|
|
24
|
-
}
|
|
25
|
-
declare const Table: React.ForwardRefExoticComponent<Omit<PropsWithChildren<TableProps>, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
26
|
-
export default Table;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const Table = forwardRef(function Table({ children, variant = 'colored', testId = 'fs-table', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("div", { "data-fs-table": true },
|
|
4
|
-
React.createElement("table", { ref: ref, "data-fs-table-content": true, "data-fs-table-variant": variant, "data-testid": testId, ...otherProps }, children)));
|
|
5
|
-
});
|
|
6
|
-
export default Table;
|
|
7
|
-
//# sourceMappingURL=Table.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../src/molecules/Table/Table.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AA6BzC,MAAM,KAAK,GAAG,UAAU,CACtB,SAAS,KAAK,CACZ,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,MAAM,GAAG,UAAU,EAAE,GAAG,UAAU,EAAE,EACrE,GAAG;IAEH,OAAO,CACL;QACE,+BACE,GAAG,EAAE,GAAG,0DAEe,OAAO,iBACjB,MAAM,KACf,UAAU,IAEb,QAAQ,CACH,CACJ,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface TableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
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 TableBody: React.ForwardRefExoticComponent<TableBodyProps & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
12
|
-
export default TableBody;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const TableBody = forwardRef(function TableBody({ children, testId = 'fs-table-body', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("tbody", { ref: ref, "data-testid": testId, "data-fs-table-body": true, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default TableBody;
|
|
6
|
-
//# sourceMappingURL=TableBody.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableBody.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,SAAS,GAAG,UAAU,CAG1B,SAAS,SAAS,CAClB,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,GAAG,UAAU,EAAE,EACrD,GAAG;IAEH,OAAO,CACL,+BAAO,GAAG,EAAE,GAAG,iBAAe,MAAM,iCAAyB,UAAU,IACpE,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
type TableCellVariant = 'data' | 'header';
|
|
4
|
-
export interface TableCellProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
5
|
-
/**
|
|
6
|
-
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
7
|
-
*/
|
|
8
|
-
testId?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Specify if this component should be rendered as a header (`<th>`) or as a data cell (`<td>`).
|
|
11
|
-
*/
|
|
12
|
-
variant?: TableCellVariant;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the cells that the header element (`<th>`) relates to.
|
|
15
|
-
* @see scope https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope
|
|
16
|
-
*/
|
|
17
|
-
scope?: 'col' | 'row' | 'rowgroup' | 'colgroup';
|
|
18
|
-
/**
|
|
19
|
-
* Defines how this component should be aligned.
|
|
20
|
-
*/
|
|
21
|
-
align?: 'left' | 'center' | 'right';
|
|
22
|
-
}
|
|
23
|
-
declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & {
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
} & React.RefAttributes<HTMLTableCellElement>>;
|
|
26
|
-
export default TableCell;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const TableCell = forwardRef(function TableCell({ scope, align, children, variant = 'data', testId = 'fs-table-cell', ...otherProps }, ref) {
|
|
3
|
-
const Cell = variant === 'header' ? 'th' : 'td';
|
|
4
|
-
return (React.createElement(Cell, { ref: ref, "data-fs-table-cell": variant, "data-fs-table-cell-align": align, "data-testid": testId, scope: scope, ...otherProps }, children));
|
|
5
|
-
});
|
|
6
|
-
export default TableCell;
|
|
7
|
-
//# sourceMappingURL=TableCell.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAyBzC,MAAM,SAAS,GAAG,UAAU,CAG1B,SAAS,SAAS,CAClB,EACE,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,MAAM,EAChB,MAAM,GAAG,eAAe,EACxB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,IAAI,GAAG,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;IAE/C,OAAO,CACL,oBAAC,IAAI,IACH,GAAG,EAAE,GAAG,wBACY,OAAO,8BACD,KAAK,iBAClB,MAAM,EACnB,KAAK,EAAE,KAAK,KACR,UAAU,IAEb,QAAQ,CACJ,CACR,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface TableFooterProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
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 TableFooter: React.ForwardRefExoticComponent<TableFooterProps & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
12
|
-
export default TableFooter;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const TableFooter = forwardRef(function TableFooter({ children, testId = 'fs-table-footer', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("tfoot", { ref: ref, "data-testid": testId, "data-fs-table-footer": true, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default TableFooter;
|
|
6
|
-
//# sourceMappingURL=TableFooter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableFooter.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,WAAW,GAAG,UAAU,CAG5B,SAAS,WAAW,CACpB,EAAE,QAAQ,EAAE,MAAM,GAAG,iBAAiB,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,+BAAO,GAAG,EAAE,GAAG,iBAAe,MAAM,mCAA2B,UAAU,IACtE,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,WAAW,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface TableHeadProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
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 TableHead: React.ForwardRefExoticComponent<TableHeadProps & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
12
|
-
export default TableHead;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const TableHead = forwardRef(function TableHead({ children, testId = 'fs-table-head', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("thead", { ref: ref, "data-testid": testId, "data-fs-table-head": true, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default TableHead;
|
|
6
|
-
//# sourceMappingURL=TableHead.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableHead.js","sourceRoot":"","sources":["../../../src/molecules/Table/TableHead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,SAAS,GAAG,UAAU,CAG1B,SAAS,SAAS,CAClB,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,GAAG,UAAU,EAAE,EACrD,GAAG;IAEH,OAAO,CACL,+BAAO,GAAG,EAAE,GAAG,iBAAe,MAAM,iCAAyB,UAAU,IACpE,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { HTMLAttributes } from 'react';
|
|
3
|
-
export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
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 TableRow: React.ForwardRefExoticComponent<TableRowProps & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<HTMLTableRowElement>>;
|
|
12
|
-
export default TableRow;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
const TableRow = forwardRef(function TableRow({ children, testId = 'fs-table-row', ...otherProps }, ref) {
|
|
3
|
-
return (React.createElement("tr", { ref: ref, "data-fs-table-row": true, "data-testid": testId, ...otherProps }, children));
|
|
4
|
-
});
|
|
5
|
-
export default TableRow;
|
|
6
|
-
//# sourceMappingURL=TableRow.js.map
|