@faststore/components 3.95.0 → 3.96.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/Badge/Badge.d.ts +27 -0
- package/dist/atoms/Badge/Badge.d.ts.map +1 -0
- package/dist/atoms/Badge/index.d.ts +3 -0
- package/dist/atoms/Badge/index.d.ts.map +1 -0
- package/dist/atoms/Button/Button.d.ts +45 -0
- package/dist/atoms/Button/Button.d.ts.map +1 -0
- package/dist/atoms/Button/index.d.ts +3 -0
- package/dist/atoms/Button/index.d.ts.map +1 -0
- package/dist/atoms/Checkbox/Checkbox.d.ts +14 -0
- package/dist/atoms/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/atoms/Checkbox/index.d.ts +3 -0
- package/dist/atoms/Checkbox/index.d.ts.map +1 -0
- package/dist/atoms/Icon/Icon.d.ts +35 -0
- package/dist/atoms/Icon/Icon.d.ts.map +1 -0
- package/dist/atoms/Icon/index.d.ts +3 -0
- package/dist/atoms/Icon/index.d.ts.map +1 -0
- package/dist/atoms/Input/Input.d.ts +10 -0
- package/dist/atoms/Input/Input.d.ts.map +1 -0
- package/dist/atoms/Input/index.d.ts +3 -0
- package/dist/atoms/Input/index.d.ts.map +1 -0
- package/dist/atoms/Label/Label.d.ts +10 -0
- package/dist/atoms/Label/Label.d.ts.map +1 -0
- package/dist/atoms/Label/index.d.ts +3 -0
- package/dist/atoms/Label/index.d.ts.map +1 -0
- package/dist/atoms/Link/Link.d.ts +25 -0
- package/dist/atoms/Link/Link.d.ts.map +1 -0
- package/dist/atoms/Link/index.d.ts +3 -0
- package/dist/atoms/Link/index.d.ts.map +1 -0
- package/dist/atoms/List/List.d.ts +17 -0
- package/dist/atoms/List/List.d.ts.map +1 -0
- package/dist/atoms/List/index.d.ts +3 -0
- package/dist/atoms/List/index.d.ts.map +1 -0
- package/dist/atoms/Loader/Loader.d.ts +14 -0
- package/dist/atoms/Loader/Loader.d.ts.map +1 -0
- package/dist/atoms/Loader/index.d.ts +3 -0
- package/dist/atoms/Loader/index.d.ts.map +1 -0
- package/dist/atoms/Overlay/Overlay.d.ts +10 -0
- package/dist/atoms/Overlay/Overlay.d.ts.map +1 -0
- package/dist/atoms/Overlay/index.d.ts +3 -0
- package/dist/atoms/Overlay/index.d.ts.map +1 -0
- package/dist/atoms/Price/Price.d.ts +32 -0
- package/dist/atoms/Price/Price.d.ts.map +1 -0
- package/dist/atoms/Price/index.d.ts +3 -0
- package/dist/atoms/Price/index.d.ts.map +1 -0
- package/dist/atoms/Radio/Radio.d.ts +10 -0
- package/dist/atoms/Radio/Radio.d.ts.map +1 -0
- package/dist/atoms/Radio/index.d.ts +3 -0
- package/dist/atoms/Radio/index.d.ts.map +1 -0
- package/dist/atoms/RichText/RichText.d.ts +18 -0
- package/dist/atoms/RichText/RichText.d.ts.map +1 -0
- package/dist/atoms/RichText/index.d.ts +3 -0
- package/dist/atoms/RichText/index.d.ts.map +1 -0
- package/dist/atoms/SROnly/SROnly.d.ts +14 -0
- package/dist/atoms/SROnly/SROnly.d.ts.map +1 -0
- package/dist/atoms/SROnly/index.d.ts +2 -0
- package/dist/atoms/SROnly/index.d.ts.map +1 -0
- package/dist/atoms/Select/Select.d.ts +20 -0
- package/dist/atoms/Select/Select.d.ts.map +1 -0
- package/dist/atoms/Select/index.d.ts +3 -0
- package/dist/atoms/Select/index.d.ts.map +1 -0
- package/dist/atoms/Skeleton/Skeleton.d.ts +37 -0
- package/dist/atoms/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/atoms/Skeleton/index.d.ts +3 -0
- package/dist/atoms/Skeleton/index.d.ts.map +1 -0
- package/dist/atoms/Slider/Slider.d.ts +68 -0
- package/dist/atoms/Slider/Slider.d.ts.map +1 -0
- package/dist/atoms/Slider/index.d.ts +3 -0
- package/dist/atoms/Slider/index.d.ts.map +1 -0
- package/dist/atoms/Textarea/Textarea.d.ts +15 -0
- package/dist/atoms/Textarea/Textarea.d.ts.map +1 -0
- package/dist/atoms/Textarea/index.d.ts +3 -0
- package/dist/atoms/Textarea/index.d.ts.map +1 -0
- package/dist/es/index.mjs +5010 -0
- package/dist/hooks/UIProvider.d.ts +58 -0
- package/dist/hooks/UIProvider.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +13 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useFadeEffect.d.ts +6 -0
- package/dist/hooks/useFadeEffect.d.ts.map +1 -0
- package/dist/hooks/useOnClickOutside.d.ts +5 -0
- package/dist/hooks/useOnClickOutside.d.ts.map +1 -0
- package/dist/hooks/useProductComparison.d.ts +2 -0
- package/dist/hooks/useProductComparison.d.ts.map +1 -0
- package/dist/hooks/useRTL.d.ts +6 -0
- package/dist/hooks/useRTL.d.ts.map +1 -0
- package/dist/hooks/useSKUMatrix.d.ts +2 -0
- package/dist/hooks/useSKUMatrix.d.ts.map +1 -0
- package/dist/hooks/useScrollDirection.d.ts +2 -0
- package/dist/hooks/useScrollDirection.d.ts.map +1 -0
- package/dist/hooks/useSearch.d.ts +8 -0
- package/dist/hooks/useSearch.d.ts.map +1 -0
- package/dist/hooks/useSlideVisibility.d.ts +10 -0
- package/dist/hooks/useSlideVisibility.d.ts.map +1 -0
- package/dist/hooks/useSlider.d.ts +67 -0
- package/dist/hooks/useSlider.d.ts.map +1 -0
- package/dist/hooks/useTrapFocus.d.ts +9 -0
- package/dist/hooks/useTrapFocus.d.ts.map +1 -0
- package/dist/index.d.ts +160 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/molecules/Accordion/Accordion.d.ts +26 -0
- package/dist/molecules/Accordion/Accordion.d.ts.map +1 -0
- package/dist/molecules/Accordion/AccordionButton.d.ts +19 -0
- package/dist/molecules/Accordion/AccordionButton.d.ts.map +1 -0
- package/dist/molecules/Accordion/AccordionItem.d.ts +31 -0
- package/dist/molecules/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/molecules/Accordion/AccordionPanel.d.ts +10 -0
- package/dist/molecules/Accordion/AccordionPanel.d.ts.map +1 -0
- package/dist/molecules/Accordion/index.d.ts +9 -0
- package/dist/molecules/Accordion/index.d.ts.map +1 -0
- package/dist/molecules/Alert/Alert.d.ts +28 -0
- package/dist/molecules/Alert/Alert.d.ts.map +1 -0
- package/dist/molecules/Alert/index.d.ts +3 -0
- package/dist/molecules/Alert/index.d.ts.map +1 -0
- package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/molecules/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/molecules/Breadcrumb/BreadcrumbBase.d.ts +48 -0
- package/dist/molecules/Breadcrumb/BreadcrumbBase.d.ts.map +1 -0
- package/dist/molecules/Breadcrumb/BreadcrumbPure.d.ts +14 -0
- package/dist/molecules/Breadcrumb/BreadcrumbPure.d.ts.map +1 -0
- package/dist/molecules/Breadcrumb/Divider.d.ts +5 -0
- package/dist/molecules/Breadcrumb/Divider.d.ts.map +1 -0
- package/dist/molecules/Breadcrumb/ListItem.d.ts +11 -0
- package/dist/molecules/Breadcrumb/ListItem.d.ts.map +1 -0
- package/dist/molecules/Breadcrumb/index.d.ts +5 -0
- package/dist/molecules/Breadcrumb/index.d.ts.map +1 -0
- package/dist/molecules/BuyButton/BuyButton.d.ts +6 -0
- package/dist/molecules/BuyButton/BuyButton.d.ts.map +1 -0
- package/dist/molecules/BuyButton/index.d.ts +2 -0
- package/dist/molecules/BuyButton/index.d.ts.map +1 -0
- package/dist/molecules/Card/Card.d.ts +26 -0
- package/dist/molecules/Card/Card.d.ts.map +1 -0
- package/dist/molecules/Card/index.d.ts +3 -0
- package/dist/molecules/Card/index.d.ts.map +1 -0
- package/dist/molecules/Carousel/Carousel.d.ts +60 -0
- package/dist/molecules/Carousel/Carousel.d.ts.map +1 -0
- package/dist/molecules/Carousel/CarouselBullets.d.ts +39 -0
- package/dist/molecules/Carousel/CarouselBullets.d.ts.map +1 -0
- package/dist/molecules/Carousel/CarouselItem.d.ts +13 -0
- package/dist/molecules/Carousel/CarouselItem.d.ts.map +1 -0
- package/dist/molecules/Carousel/index.d.ts +7 -0
- package/dist/molecules/Carousel/index.d.ts.map +1 -0
- package/dist/molecules/CartItem/CartItem.d.ts +40 -0
- package/dist/molecules/CartItem/CartItem.d.ts.map +1 -0
- package/dist/molecules/CartItem/CartItemImage.d.ts +10 -0
- package/dist/molecules/CartItem/CartItemImage.d.ts.map +1 -0
- package/dist/molecules/CartItem/CartItemSummary.d.ts +21 -0
- package/dist/molecules/CartItem/CartItemSummary.d.ts.map +1 -0
- package/dist/molecules/CartItem/index.d.ts +7 -0
- package/dist/molecules/CartItem/index.d.ts.map +1 -0
- package/dist/molecules/CheckboxField/CheckboxField.d.ts +19 -0
- package/dist/molecules/CheckboxField/CheckboxField.d.ts.map +1 -0
- package/dist/molecules/CheckboxField/index.d.ts +3 -0
- package/dist/molecules/CheckboxField/index.d.ts.map +1 -0
- package/dist/molecules/DiscountBadge/DiscountBadge.d.ts +27 -0
- package/dist/molecules/DiscountBadge/DiscountBadge.d.ts.map +1 -0
- package/dist/molecules/DiscountBadge/index.d.ts +3 -0
- package/dist/molecules/DiscountBadge/index.d.ts.map +1 -0
- package/dist/molecules/DiscountBadge/useDiscountPercent.d.ts +2 -0
- package/dist/molecules/DiscountBadge/useDiscountPercent.d.ts.map +1 -0
- package/dist/molecules/Dropdown/Dropdown.d.ts +18 -0
- package/dist/molecules/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/molecules/Dropdown/DropdownButton.d.ts +33 -0
- package/dist/molecules/Dropdown/DropdownButton.d.ts.map +1 -0
- package/dist/molecules/Dropdown/DropdownItem.d.ts +23 -0
- package/dist/molecules/Dropdown/DropdownItem.d.ts.map +1 -0
- package/dist/molecules/Dropdown/DropdownMenu.d.ts +30 -0
- package/dist/molecules/Dropdown/DropdownMenu.d.ts.map +1 -0
- package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -0
- package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts.map +1 -0
- package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +7 -0
- package/dist/molecules/Dropdown/hooks/useDropdown.d.ts.map +1 -0
- package/dist/molecules/Dropdown/hooks/useDropdownItem.d.ts +16 -0
- package/dist/molecules/Dropdown/hooks/useDropdownItem.d.ts.map +1 -0
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +10 -0
- package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts.map +1 -0
- package/dist/molecules/Dropdown/hooks/useDropdownTrigger.d.ts +14 -0
- package/dist/molecules/Dropdown/hooks/useDropdownTrigger.d.ts.map +1 -0
- package/dist/molecules/Dropdown/index.d.ts +9 -0
- package/dist/molecules/Dropdown/index.d.ts.map +1 -0
- package/dist/molecules/Gift/Gift.d.ts +15 -0
- package/dist/molecules/Gift/Gift.d.ts.map +1 -0
- package/dist/molecules/Gift/GiftContent.d.ts +27 -0
- package/dist/molecules/Gift/GiftContent.d.ts.map +1 -0
- package/dist/molecules/Gift/GiftImage.d.ts +10 -0
- package/dist/molecules/Gift/GiftImage.d.ts.map +1 -0
- package/dist/molecules/Gift/index.d.ts +7 -0
- package/dist/molecules/Gift/index.d.ts.map +1 -0
- package/dist/molecules/IconButton/IconButton.d.ts +19 -0
- package/dist/molecules/IconButton/IconButton.d.ts.map +1 -0
- package/dist/molecules/IconButton/index.d.ts +3 -0
- package/dist/molecules/IconButton/index.d.ts.map +1 -0
- package/dist/molecules/InputField/InputField.d.ts +60 -0
- package/dist/molecules/InputField/InputField.d.ts.map +1 -0
- package/dist/molecules/InputField/index.d.ts +3 -0
- package/dist/molecules/InputField/index.d.ts.map +1 -0
- package/dist/molecules/LinkButton/LinkButton.d.ts +6 -0
- package/dist/molecules/LinkButton/LinkButton.d.ts.map +1 -0
- package/dist/molecules/LinkButton/index.d.ts +3 -0
- package/dist/molecules/LinkButton/index.d.ts.map +1 -0
- package/dist/molecules/Modal/Modal.d.ts +47 -0
- package/dist/molecules/Modal/Modal.d.ts.map +1 -0
- package/dist/molecules/Modal/ModalBody.d.ts +10 -0
- package/dist/molecules/Modal/ModalBody.d.ts.map +1 -0
- package/dist/molecules/Modal/ModalContent.d.ts +11 -0
- package/dist/molecules/Modal/ModalContent.d.ts.map +1 -0
- package/dist/molecules/Modal/ModalFooter.d.ts +18 -0
- package/dist/molecules/Modal/ModalFooter.d.ts.map +1 -0
- package/dist/molecules/Modal/ModalHeader.d.ts +23 -0
- package/dist/molecules/Modal/ModalHeader.d.ts.map +1 -0
- package/dist/molecules/Modal/index.d.ts +8 -0
- package/dist/molecules/Modal/index.d.ts.map +1 -0
- package/dist/molecules/NavbarLinks/NavbarLinks.d.ts +10 -0
- package/dist/molecules/NavbarLinks/NavbarLinks.d.ts.map +1 -0
- package/dist/molecules/NavbarLinks/NavbarLinksList.d.ts +11 -0
- package/dist/molecules/NavbarLinks/NavbarLinksList.d.ts.map +1 -0
- package/dist/molecules/NavbarLinks/NavbarLinksListItem.d.ts +10 -0
- package/dist/molecules/NavbarLinks/NavbarLinksListItem.d.ts.map +1 -0
- package/dist/molecules/NavbarLinks/index.d.ts +7 -0
- package/dist/molecules/NavbarLinks/index.d.ts.map +1 -0
- package/dist/molecules/OrderSummary/OrderSummary.d.ts +43 -0
- package/dist/molecules/OrderSummary/OrderSummary.d.ts.map +1 -0
- package/dist/molecules/OrderSummary/index.d.ts +3 -0
- package/dist/molecules/OrderSummary/index.d.ts.map +1 -0
- package/dist/molecules/Popover/Popover.d.ts +68 -0
- package/dist/molecules/Popover/Popover.d.ts.map +1 -0
- package/dist/molecules/Popover/index.d.ts +3 -0
- package/dist/molecules/Popover/index.d.ts.map +1 -0
- package/dist/molecules/ProductCard/ProductCard.d.ts +23 -0
- package/dist/molecules/ProductCard/ProductCard.d.ts.map +1 -0
- package/dist/molecules/ProductCard/ProductCardContent.d.ts +72 -0
- package/dist/molecules/ProductCard/ProductCardContent.d.ts.map +1 -0
- package/dist/molecules/ProductCard/ProductCardImage.d.ts +14 -0
- package/dist/molecules/ProductCard/ProductCardImage.d.ts.map +1 -0
- package/dist/molecules/ProductCard/index.d.ts +7 -0
- package/dist/molecules/ProductCard/index.d.ts.map +1 -0
- package/dist/molecules/ProductPrice/ProductPrice.d.ts +24 -0
- package/dist/molecules/ProductPrice/ProductPrice.d.ts.map +1 -0
- package/dist/molecules/ProductPrice/index.d.ts +3 -0
- package/dist/molecules/ProductPrice/index.d.ts.map +1 -0
- package/dist/molecules/ProductTitle/ProductTitle.d.ts +30 -0
- package/dist/molecules/ProductTitle/ProductTitle.d.ts.map +1 -0
- package/dist/molecules/ProductTitle/index.d.ts +3 -0
- package/dist/molecules/ProductTitle/index.d.ts.map +1 -0
- package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +44 -0
- package/dist/molecules/QuantitySelector/QuantitySelector.d.ts.map +1 -0
- package/dist/molecules/QuantitySelector/index.d.ts +3 -0
- package/dist/molecules/QuantitySelector/index.d.ts.map +1 -0
- package/dist/molecules/RadioField/RadioField.d.ts +27 -0
- package/dist/molecules/RadioField/RadioField.d.ts.map +1 -0
- package/dist/molecules/RadioField/index.d.ts +3 -0
- package/dist/molecules/RadioField/index.d.ts.map +1 -0
- package/dist/molecules/RadioGroup/RadioGroup.d.ts +6 -0
- package/dist/molecules/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/molecules/RadioGroup/RadioOption.d.ts +19 -0
- package/dist/molecules/RadioGroup/RadioOption.d.ts.map +1 -0
- package/dist/molecules/RadioGroup/index.d.ts +5 -0
- package/dist/molecules/RadioGroup/index.d.ts.map +1 -0
- package/dist/molecules/RadioGroup/useRadioGroup.d.ts +18 -0
- package/dist/molecules/RadioGroup/useRadioGroup.d.ts.map +1 -0
- package/dist/molecules/Rating/Rating.d.ts +34 -0
- package/dist/molecules/Rating/Rating.d.ts.map +1 -0
- package/dist/molecules/Rating/index.d.ts +3 -0
- package/dist/molecules/Rating/index.d.ts.map +1 -0
- package/dist/molecules/RatingField/RatingField.d.ts +28 -0
- package/dist/molecules/RatingField/RatingField.d.ts.map +1 -0
- package/dist/molecules/RatingField/index.d.ts +3 -0
- package/dist/molecules/RatingField/index.d.ts.map +1 -0
- package/dist/molecules/RegionBar/RegionBar.d.ts +66 -0
- package/dist/molecules/RegionBar/RegionBar.d.ts.map +1 -0
- package/dist/molecules/RegionBar/index.d.ts +3 -0
- package/dist/molecules/RegionBar/index.d.ts.map +1 -0
- package/dist/molecules/SearchAutoComplete/SearchAutoComplete.d.ts +10 -0
- package/dist/molecules/SearchAutoComplete/SearchAutoComplete.d.ts.map +1 -0
- package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.d.ts +27 -0
- package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.d.ts.map +1 -0
- package/dist/molecules/SearchAutoComplete/index.d.ts +5 -0
- package/dist/molecules/SearchAutoComplete/index.d.ts.map +1 -0
- package/dist/molecules/SearchDropdown/SearchDropdown.d.ts +14 -0
- package/dist/molecules/SearchDropdown/SearchDropdown.d.ts.map +1 -0
- package/dist/molecules/SearchDropdown/index.d.ts +3 -0
- package/dist/molecules/SearchDropdown/index.d.ts.map +1 -0
- package/dist/molecules/SearchHistory/SearchHistory.d.ts +22 -0
- package/dist/molecules/SearchHistory/SearchHistory.d.ts.map +1 -0
- package/dist/molecules/SearchHistory/SearchHistoryTerm.d.ts +23 -0
- package/dist/molecules/SearchHistory/SearchHistoryTerm.d.ts.map +1 -0
- package/dist/molecules/SearchHistory/index.d.ts +5 -0
- package/dist/molecules/SearchHistory/index.d.ts.map +1 -0
- package/dist/molecules/SearchInputField/SearchInputField.d.ts +36 -0
- package/dist/molecules/SearchInputField/SearchInputField.d.ts.map +1 -0
- package/dist/molecules/SearchInputField/index.d.ts +3 -0
- package/dist/molecules/SearchInputField/index.d.ts.map +1 -0
- package/dist/molecules/SearchProducts/SearchProductItem.d.ts +16 -0
- package/dist/molecules/SearchProducts/SearchProductItem.d.ts.map +1 -0
- package/dist/molecules/SearchProducts/SearchProductItemContent.d.ts +39 -0
- package/dist/molecules/SearchProducts/SearchProductItemContent.d.ts.map +1 -0
- package/dist/molecules/SearchProducts/SearchProductItemControl.d.ts +50 -0
- package/dist/molecules/SearchProducts/SearchProductItemControl.d.ts.map +1 -0
- package/dist/molecules/SearchProducts/SearchProductItemImage.d.ts +10 -0
- package/dist/molecules/SearchProducts/SearchProductItemImage.d.ts.map +1 -0
- package/dist/molecules/SearchProducts/SearchProducts.d.ts +14 -0
- package/dist/molecules/SearchProducts/SearchProducts.d.ts.map +1 -0
- package/dist/molecules/SearchProducts/index.d.ts +9 -0
- package/dist/molecules/SearchProducts/index.d.ts.map +1 -0
- package/dist/molecules/SearchProvider/SearchProvider.d.ts +29 -0
- package/dist/molecules/SearchProvider/SearchProvider.d.ts.map +1 -0
- package/dist/molecules/SearchProvider/index.d.ts +3 -0
- package/dist/molecules/SearchProvider/index.d.ts.map +1 -0
- package/dist/molecules/SearchTop/SearchTop.d.ts +14 -0
- package/dist/molecules/SearchTop/SearchTop.d.ts.map +1 -0
- package/dist/molecules/SearchTop/SearchTopTerm.d.ts +23 -0
- package/dist/molecules/SearchTop/SearchTopTerm.d.ts.map +1 -0
- package/dist/molecules/SearchTop/index.d.ts +5 -0
- package/dist/molecules/SearchTop/index.d.ts.map +1 -0
- package/dist/molecules/SelectField/SelectField.d.ts +13 -0
- package/dist/molecules/SelectField/SelectField.d.ts.map +1 -0
- package/dist/molecules/SelectField/index.d.ts +3 -0
- package/dist/molecules/SelectField/index.d.ts.map +1 -0
- package/dist/molecules/SkuSelector/SkuSelector.d.ts +78 -0
- package/dist/molecules/SkuSelector/SkuSelector.d.ts.map +1 -0
- package/dist/molecules/SkuSelector/index.d.ts +3 -0
- package/dist/molecules/SkuSelector/index.d.ts.map +1 -0
- package/dist/molecules/SkuSelector/useDefineVariant.d.ts +8 -0
- package/dist/molecules/SkuSelector/useDefineVariant.d.ts.map +1 -0
- package/dist/molecules/SkuSelector/useSkuSlug.d.ts +7 -0
- package/dist/molecules/SkuSelector/useSkuSlug.d.ts.map +1 -0
- package/dist/molecules/Table/Table.d.ts +26 -0
- package/dist/molecules/Table/Table.d.ts.map +1 -0
- package/dist/molecules/Table/TableBody.d.ts +12 -0
- package/dist/molecules/Table/TableBody.d.ts.map +1 -0
- package/dist/molecules/Table/TableCell.d.ts +26 -0
- package/dist/molecules/Table/TableCell.d.ts.map +1 -0
- package/dist/molecules/Table/TableFooter.d.ts +12 -0
- package/dist/molecules/Table/TableFooter.d.ts.map +1 -0
- package/dist/molecules/Table/TableHead.d.ts +12 -0
- package/dist/molecules/Table/TableHead.d.ts.map +1 -0
- package/dist/molecules/Table/TableRow.d.ts +12 -0
- package/dist/molecules/Table/TableRow.d.ts.map +1 -0
- package/dist/molecules/Table/index.d.ts +13 -0
- package/dist/molecules/Table/index.d.ts.map +1 -0
- package/dist/molecules/Tag/Tag.d.ts +27 -0
- package/dist/molecules/Tag/Tag.d.ts.map +1 -0
- package/dist/molecules/Tag/index.d.ts +3 -0
- package/dist/molecules/Tag/index.d.ts.map +1 -0
- package/dist/molecules/TextareaField/TextareaField.d.ts +32 -0
- package/dist/molecules/TextareaField/TextareaField.d.ts.map +1 -0
- package/dist/molecules/TextareaField/index.d.ts +3 -0
- package/dist/molecules/TextareaField/index.d.ts.map +1 -0
- package/dist/molecules/Toast/Toast.d.ts +4 -0
- package/dist/molecules/Toast/Toast.d.ts.map +1 -0
- package/dist/molecules/Toast/index.d.ts +2 -0
- package/dist/molecules/Toast/index.d.ts.map +1 -0
- package/dist/molecules/Toggle/Toggle.d.ts +22 -0
- package/dist/molecules/Toggle/Toggle.d.ts.map +1 -0
- package/dist/molecules/Toggle/index.d.ts +3 -0
- package/dist/molecules/Toggle/index.d.ts.map +1 -0
- package/dist/molecules/ToggleField/ToggleField.d.ts +31 -0
- package/dist/molecules/ToggleField/ToggleField.d.ts.map +1 -0
- package/dist/molecules/ToggleField/index.d.ts +3 -0
- package/dist/molecules/ToggleField/index.d.ts.map +1 -0
- package/dist/molecules/Tooltip/Tooltip.d.ts +50 -0
- package/dist/molecules/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/molecules/Tooltip/index.d.ts +3 -0
- package/dist/molecules/Tooltip/index.d.ts.map +1 -0
- package/dist/organisms/BannerText/BannerText.d.ts +27 -0
- package/dist/organisms/BannerText/BannerText.d.ts.map +1 -0
- package/dist/organisms/BannerText/BannerTextContent.d.ts +30 -0
- package/dist/organisms/BannerText/BannerTextContent.d.ts.map +1 -0
- package/dist/organisms/BannerText/index.d.ts +5 -0
- package/dist/organisms/BannerText/index.d.ts.map +1 -0
- package/dist/organisms/CartSidebar/CartSidebar.d.ts +45 -0
- package/dist/organisms/CartSidebar/CartSidebar.d.ts.map +1 -0
- package/dist/organisms/CartSidebar/CartSidebarFooter.d.ts +6 -0
- package/dist/organisms/CartSidebar/CartSidebarFooter.d.ts.map +1 -0
- package/dist/organisms/CartSidebar/CartSidebarList.d.ts +6 -0
- package/dist/organisms/CartSidebar/CartSidebarList.d.ts.map +1 -0
- package/dist/organisms/CartSidebar/index.d.ts +5 -0
- package/dist/organisms/CartSidebar/index.d.ts.map +1 -0
- package/dist/organisms/EmptyState/EmptyState.d.ts +28 -0
- package/dist/organisms/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/organisms/EmptyState/index.d.ts +3 -0
- package/dist/organisms/EmptyState/index.d.ts.map +1 -0
- package/dist/organisms/Filter/Filter.d.ts +27 -0
- package/dist/organisms/Filter/Filter.d.ts.map +1 -0
- package/dist/organisms/Filter/FilterFacetBoolean.d.ts +6 -0
- package/dist/organisms/Filter/FilterFacetBoolean.d.ts.map +1 -0
- package/dist/organisms/Filter/FilterFacetBooleanItem.d.ts +43 -0
- package/dist/organisms/Filter/FilterFacetBooleanItem.d.ts.map +1 -0
- package/dist/organisms/Filter/FilterFacetRange.d.ts +33 -0
- package/dist/organisms/Filter/FilterFacetRange.d.ts.map +1 -0
- package/dist/organisms/Filter/FilterFacets.d.ts +26 -0
- package/dist/organisms/Filter/FilterFacets.d.ts.map +1 -0
- package/dist/organisms/Filter/FilterSlider.d.ts +50 -0
- package/dist/organisms/Filter/FilterSlider.d.ts.map +1 -0
- package/dist/organisms/Filter/index.d.ts +12 -0
- package/dist/organisms/Filter/index.d.ts.map +1 -0
- package/dist/organisms/Hero/Hero.d.ts +27 -0
- package/dist/organisms/Hero/Hero.d.ts.map +1 -0
- package/dist/organisms/Hero/HeroHeader.d.ts +34 -0
- package/dist/organisms/Hero/HeroHeader.d.ts.map +1 -0
- package/dist/organisms/Hero/HeroImage.d.ts +10 -0
- package/dist/organisms/Hero/HeroImage.d.ts.map +1 -0
- package/dist/organisms/Hero/index.d.ts +7 -0
- package/dist/organisms/Hero/index.d.ts.map +1 -0
- package/dist/organisms/ImageGallery/ImageGallery.d.ts +42 -0
- package/dist/organisms/ImageGallery/ImageGallery.d.ts.map +1 -0
- package/dist/organisms/ImageGallery/ImageGallerySelector.d.ts +32 -0
- package/dist/organisms/ImageGallery/ImageGallerySelector.d.ts.map +1 -0
- package/dist/organisms/ImageGallery/ImageGalleryViewer.d.ts +8 -0
- package/dist/organisms/ImageGallery/ImageGalleryViewer.d.ts.map +1 -0
- package/dist/organisms/ImageGallery/index.d.ts +7 -0
- package/dist/organisms/ImageGallery/index.d.ts.map +1 -0
- package/dist/organisms/Navbar/Navbar.d.ts +14 -0
- package/dist/organisms/Navbar/Navbar.d.ts.map +1 -0
- package/dist/organisms/Navbar/NavbarButtons.d.ts +14 -0
- package/dist/organisms/Navbar/NavbarButtons.d.ts.map +1 -0
- package/dist/organisms/Navbar/NavbarHeader.d.ts +10 -0
- package/dist/organisms/Navbar/NavbarHeader.d.ts.map +1 -0
- package/dist/organisms/Navbar/NavbarRow.d.ts +10 -0
- package/dist/organisms/Navbar/NavbarRow.d.ts.map +1 -0
- package/dist/organisms/Navbar/index.d.ts +9 -0
- package/dist/organisms/Navbar/index.d.ts.map +1 -0
- package/dist/organisms/NavbarSlider/NavbarSlider.d.ts +20 -0
- package/dist/organisms/NavbarSlider/NavbarSlider.d.ts.map +1 -0
- package/dist/organisms/NavbarSlider/NavbarSliderContent.d.ts +10 -0
- package/dist/organisms/NavbarSlider/NavbarSliderContent.d.ts.map +1 -0
- package/dist/organisms/NavbarSlider/NavbarSliderFooter.d.ts +10 -0
- package/dist/organisms/NavbarSlider/NavbarSliderFooter.d.ts.map +1 -0
- package/dist/organisms/NavbarSlider/NavbarSliderHeader.d.ts +11 -0
- package/dist/organisms/NavbarSlider/NavbarSliderHeader.d.ts.map +1 -0
- package/dist/organisms/NavbarSlider/index.d.ts +9 -0
- package/dist/organisms/NavbarSlider/index.d.ts.map +1 -0
- package/dist/organisms/Newsletter/Newsletter.d.ts +19 -0
- package/dist/organisms/Newsletter/Newsletter.d.ts.map +1 -0
- package/dist/organisms/Newsletter/NewsletterAddendum.d.ts +14 -0
- package/dist/organisms/Newsletter/NewsletterAddendum.d.ts.map +1 -0
- package/dist/organisms/Newsletter/NewsletterContent.d.ts +10 -0
- package/dist/organisms/Newsletter/NewsletterContent.d.ts.map +1 -0
- package/dist/organisms/Newsletter/NewsletterForm.d.ts +14 -0
- package/dist/organisms/Newsletter/NewsletterForm.d.ts.map +1 -0
- package/dist/organisms/Newsletter/NewsletterHeader.d.ts +22 -0
- package/dist/organisms/Newsletter/NewsletterHeader.d.ts.map +1 -0
- package/dist/organisms/Newsletter/index.d.ts +11 -0
- package/dist/organisms/Newsletter/index.d.ts.map +1 -0
- package/dist/organisms/OutOfStock/OutOfStock.d.ts +43 -0
- package/dist/organisms/OutOfStock/OutOfStock.d.ts.map +1 -0
- package/dist/organisms/OutOfStock/index.d.ts +3 -0
- package/dist/organisms/OutOfStock/index.d.ts.map +1 -0
- package/dist/organisms/PaymentMethods/PaymentMethods.d.ts +32 -0
- package/dist/organisms/PaymentMethods/PaymentMethods.d.ts.map +1 -0
- package/dist/organisms/PaymentMethods/index.d.ts +3 -0
- package/dist/organisms/PaymentMethods/index.d.ts.map +1 -0
- package/dist/organisms/PriceRange/PriceRange.d.ts +25 -0
- package/dist/organisms/PriceRange/PriceRange.d.ts.map +1 -0
- package/dist/organisms/PriceRange/index.d.ts +3 -0
- package/dist/organisms/PriceRange/index.d.ts.map +1 -0
- package/dist/organisms/ProductComparison/ProductComparison.d.ts +7 -0
- package/dist/organisms/ProductComparison/ProductComparison.d.ts.map +1 -0
- package/dist/organisms/ProductComparison/ProductComparisonSidebar.d.ts +79 -0
- package/dist/organisms/ProductComparison/ProductComparisonSidebar.d.ts.map +1 -0
- package/dist/organisms/ProductComparison/ProductComparisonToolbar.d.ts +9 -0
- package/dist/organisms/ProductComparison/ProductComparisonToolbar.d.ts.map +1 -0
- package/dist/organisms/ProductComparison/ProductComparisonTrigger.d.ts +11 -0
- package/dist/organisms/ProductComparison/ProductComparisonTrigger.d.ts.map +1 -0
- package/dist/organisms/ProductComparison/index.d.ts +11 -0
- package/dist/organisms/ProductComparison/index.d.ts.map +1 -0
- package/dist/organisms/ProductComparison/provider/ProductComparisonProvider.d.ts +75 -0
- package/dist/organisms/ProductComparison/provider/ProductComparisonProvider.d.ts.map +1 -0
- package/dist/organisms/ProductGrid/ProductGrid.d.ts +10 -0
- package/dist/organisms/ProductGrid/ProductGrid.d.ts.map +1 -0
- package/dist/organisms/ProductGrid/ProductGridItem.d.ts +10 -0
- package/dist/organisms/ProductGrid/ProductGridItem.d.ts.map +1 -0
- package/dist/organisms/ProductGrid/index.d.ts +5 -0
- package/dist/organisms/ProductGrid/index.d.ts.map +1 -0
- package/dist/organisms/ProductShelf/ProductShelf.d.ts +10 -0
- package/dist/organisms/ProductShelf/ProductShelf.d.ts.map +1 -0
- package/dist/organisms/ProductShelf/ProductShelfItem.d.ts +10 -0
- package/dist/organisms/ProductShelf/ProductShelfItem.d.ts.map +1 -0
- package/dist/organisms/ProductShelf/ProductShelfItems.d.ts +10 -0
- package/dist/organisms/ProductShelf/ProductShelfItems.d.ts.map +1 -0
- package/dist/organisms/ProductShelf/index.d.ts +7 -0
- package/dist/organisms/ProductShelf/index.d.ts.map +1 -0
- package/dist/organisms/RegionModal/RegionModal.d.ts +81 -0
- package/dist/organisms/RegionModal/RegionModal.d.ts.map +1 -0
- package/dist/organisms/RegionModal/index.d.ts +3 -0
- package/dist/organisms/RegionModal/index.d.ts.map +1 -0
- package/dist/organisms/SKUMatrix/SKUMatrix.d.ts +10 -0
- package/dist/organisms/SKUMatrix/SKUMatrix.d.ts.map +1 -0
- package/dist/organisms/SKUMatrix/SKUMatrixSidebar.d.ts +55 -0
- package/dist/organisms/SKUMatrix/SKUMatrixSidebar.d.ts.map +1 -0
- package/dist/organisms/SKUMatrix/SKUMatrixTrigger.d.ts +6 -0
- package/dist/organisms/SKUMatrix/SKUMatrixTrigger.d.ts.map +1 -0
- package/dist/organisms/SKUMatrix/index.d.ts +7 -0
- package/dist/organisms/SKUMatrix/index.d.ts.map +1 -0
- package/dist/organisms/SKUMatrix/provider/SKUMatrixProvider.d.ts +49 -0
- package/dist/organisms/SKUMatrix/provider/SKUMatrixProvider.d.ts.map +1 -0
- package/dist/organisms/SearchInput/SearchInput.d.ts +26 -0
- package/dist/organisms/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/organisms/SearchInput/index.d.ts +3 -0
- package/dist/organisms/SearchInput/index.d.ts.map +1 -0
- package/dist/organisms/ShippingSimulation/ShippingSimulation.d.ts +125 -0
- package/dist/organisms/ShippingSimulation/ShippingSimulation.d.ts.map +1 -0
- package/dist/organisms/ShippingSimulation/index.d.ts +3 -0
- package/dist/organisms/ShippingSimulation/index.d.ts.map +1 -0
- package/dist/organisms/SlideOver/SlideOver.d.ts +39 -0
- package/dist/organisms/SlideOver/SlideOver.d.ts.map +1 -0
- package/dist/organisms/SlideOver/SlideOverHeader.d.ts +19 -0
- package/dist/organisms/SlideOver/SlideOverHeader.d.ts.map +1 -0
- package/dist/organisms/SlideOver/index.d.ts +5 -0
- package/dist/organisms/SlideOver/index.d.ts.map +1 -0
- package/dist/typings/PolymorphicGenerics.d.ts +23 -0
- package/dist/typings/PolymorphicGenerics.d.ts.map +1 -0
- package/dist/typings/PriceDefinition.d.ts +7 -0
- package/dist/typings/PriceDefinition.d.ts.map +1 -0
- package/dist/typings/index.d.ts +3 -0
- package/dist/typings/index.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/RegionBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface SearchAutoCompleteProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
+
*/
|
|
6
|
+
testId?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const SearchAutoComplete: ({ testId, children, ...otherProps }: SearchAutoCompleteProps) => React.JSX.Element | null;
|
|
9
|
+
export default SearchAutoComplete;
|
|
10
|
+
//# sourceMappingURL=SearchAutoComplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchAutoComplete.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchAutoComplete/SearchAutoComplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAGlD,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,kBAAkB,GAAI,qCAIzB,uBAAuB,6BAYzB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode, default as React, HTMLAttributes } from 'react';
|
|
2
|
+
import { LinkElementType, LinkProps } from '../..';
|
|
3
|
+
export interface SearchAutoCompleteTermProps 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
|
+
* Props for the link from term component.
|
|
10
|
+
*/
|
|
11
|
+
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
12
|
+
/**
|
|
13
|
+
* A React component that will be rendered as an icon.
|
|
14
|
+
*/
|
|
15
|
+
icon?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Term researched.
|
|
18
|
+
*/
|
|
19
|
+
term: string;
|
|
20
|
+
/**
|
|
21
|
+
* Suggestion proposed with auto complete.
|
|
22
|
+
*/
|
|
23
|
+
suggestion: string;
|
|
24
|
+
}
|
|
25
|
+
declare const SearchAutoCompleteTerm: ({ testId, suggestion, term, linkProps, icon, }: SearchAutoCompleteTermProps) => React.JSX.Element;
|
|
26
|
+
export default SearchAutoCompleteTerm;
|
|
27
|
+
//# sourceMappingURL=SearchAutoCompleteTerm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchAutoCompleteTerm.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchAutoComplete/SearchAutoCompleteTerm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAC5D,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAqBxE,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,sBAAsB,GAAI,gDAM7B,2BAA2B,sBA6B7B,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default } from './SearchAutoComplete';
|
|
2
|
+
export type { SearchAutoCompleteProps } from './SearchAutoComplete';
|
|
3
|
+
export { default as SearchAutoCompleteTerm } from './SearchAutoCompleteTerm';
|
|
4
|
+
export type { SearchAutoCompleteTermProps } from './SearchAutoCompleteTerm';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchAutoComplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAEnE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode, default as React } from 'react';
|
|
2
|
+
export interface SearchDropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
5
|
+
* testing-library, and jest).
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const SearchDropdown: React.ForwardRefExoticComponent<SearchDropdownProps & {
|
|
11
|
+
children?: ReactNode | undefined;
|
|
12
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default SearchDropdown;
|
|
14
|
+
//# sourceMappingURL=SearchDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchDropdown.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchDropdown/SearchDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAA;AACzE,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAcD,QAAA,MAAM,cAAc;;wCAelB,CAAA;AAEF,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchDropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface SearchHistoryProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
+
*/
|
|
6
|
+
testId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Title attribute for the <section> tag rendered by this component.
|
|
9
|
+
*/
|
|
10
|
+
title: string;
|
|
11
|
+
/**
|
|
12
|
+
* Defines the text displayed in clear history button.
|
|
13
|
+
*/
|
|
14
|
+
clearLabel?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Event handler for click on clear history button.
|
|
17
|
+
*/
|
|
18
|
+
onClear?: () => void;
|
|
19
|
+
}
|
|
20
|
+
declare const SearchHistory: ({ testId, title, clearLabel, onClear, children, ...otherProps }: SearchHistoryProps) => React.JSX.Element | null;
|
|
21
|
+
export default SearchHistory;
|
|
22
|
+
//# sourceMappingURL=SearchHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchHistory.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchHistory/SearchHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAGlD,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,QAAA,MAAM,aAAa,GAAI,iEAOpB,kBAAkB,6BAkBpB,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactNode, default as React, HTMLAttributes } from 'react';
|
|
2
|
+
import { LinkElementType, LinkProps } from '../..';
|
|
3
|
+
export interface SearchHistoryTermProps 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
|
+
* Defines the text displayed in history term item.
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
/**
|
|
13
|
+
* Props for the link from term component.
|
|
14
|
+
*/
|
|
15
|
+
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
16
|
+
/**
|
|
17
|
+
* A React component that will be rendered as an icon.
|
|
18
|
+
*/
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
}
|
|
21
|
+
declare const SearchHistoryTerm: ({ testId, value, linkProps, icon, }: SearchHistoryTermProps) => React.JSX.Element;
|
|
22
|
+
export default SearchHistoryTerm;
|
|
23
|
+
//# sourceMappingURL=SearchHistoryTerm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchHistoryTerm.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchHistory/SearchHistoryTerm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAExE,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC5E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,QAAA,MAAM,iBAAiB,GAAI,qCAKxB,sBAAsB,sBASxB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default } from './SearchHistory';
|
|
2
|
+
export type { SearchHistoryProps } from './SearchHistory';
|
|
3
|
+
export { default as SearchHistoryTerm } from './SearchHistoryTerm';
|
|
4
|
+
export type { SearchHistoryTermProps } from './SearchHistoryTerm';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchHistory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AriaAttributes, InputHTMLAttributes, ReactNode, default as React } from 'react';
|
|
2
|
+
type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onSubmit'>;
|
|
3
|
+
type ButtonProps = {
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
testId?: string;
|
|
6
|
+
};
|
|
7
|
+
export interface SearchInputFieldProps extends InputProps {
|
|
8
|
+
/**
|
|
9
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
10
|
+
*/
|
|
11
|
+
testId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Props for the submit button inside the input.
|
|
14
|
+
*/
|
|
15
|
+
buttonProps?: ButtonProps;
|
|
16
|
+
/**
|
|
17
|
+
* A React component that will be rendered as an icon (submit button).
|
|
18
|
+
* @default <Icon name="MagnifyingGlass" />
|
|
19
|
+
*/
|
|
20
|
+
buttonIcon?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Custom aria-label for input and button.
|
|
23
|
+
*/
|
|
24
|
+
'aria-label'?: AriaAttributes['aria-label'];
|
|
25
|
+
/**
|
|
26
|
+
* Callback function when submitted.
|
|
27
|
+
*/
|
|
28
|
+
onSubmit: (value: string) => void;
|
|
29
|
+
}
|
|
30
|
+
export interface SearchInputFieldRef {
|
|
31
|
+
inputRef?: HTMLInputElement | null;
|
|
32
|
+
formRef?: HTMLFormElement | null;
|
|
33
|
+
}
|
|
34
|
+
declare const SearchInputField: React.ForwardRefExoticComponent<SearchInputFieldProps & React.RefAttributes<SearchInputFieldRef | null>>;
|
|
35
|
+
export default SearchInputField;
|
|
36
|
+
//# sourceMappingURL=SearchInputField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInputField.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchInputField/SearchInputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAEd,mBAAmB,EACnB,SAAS,EACV,MAAM,OAAO,CAAA;AACd,OAAO,KAAkD,MAAM,OAAO,CAAA;AAItE,KAAK,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC,CAAA;AAEzE,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAA;IAC3C;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAClC,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;CACjC;AAED,QAAA,MAAM,gBAAgB,0GAqDpB,CAAA;AAEF,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchInputField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,YAAY,EACV,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
import { LinkElementType, LinkProps } from '../..';
|
|
3
|
+
export interface SearchProductItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
6
|
+
* testing-library, and jest).
|
|
7
|
+
*/
|
|
8
|
+
testId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Props for the link from SearchProduct component.
|
|
11
|
+
*/
|
|
12
|
+
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
13
|
+
}
|
|
14
|
+
declare const SearchProductItem: React.ForwardRefExoticComponent<SearchProductItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
15
|
+
export default SearchProductItem;
|
|
16
|
+
//# sourceMappingURL=SearchProductItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchProductItem.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAQ,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAElE,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC5E;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;CAChD;AAED,QAAA,MAAM,iBAAiB,8FAatB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PriceDefinition } from '../../typings/PriceDefinition';
|
|
3
|
+
export interface SearchProductItemContentProps {
|
|
4
|
+
/**
|
|
5
|
+
* Specifies the product's title.
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies product's prices.
|
|
10
|
+
*/
|
|
11
|
+
price: PriceDefinition;
|
|
12
|
+
/**
|
|
13
|
+
* Quick order settings.
|
|
14
|
+
*/
|
|
15
|
+
quickOrder?: {
|
|
16
|
+
enabled: boolean;
|
|
17
|
+
outOfStockLabel: string;
|
|
18
|
+
availability: boolean;
|
|
19
|
+
hasVariants: boolean;
|
|
20
|
+
skuMatrixControl: React.ReactNode;
|
|
21
|
+
quantity: number;
|
|
22
|
+
min?: number;
|
|
23
|
+
max?: number;
|
|
24
|
+
onChangeQuantity(value: number): void;
|
|
25
|
+
buyProps?: {
|
|
26
|
+
onClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
27
|
+
'data-testid': string;
|
|
28
|
+
'data-sku': string;
|
|
29
|
+
'data-seller': string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Event emitted when value is out of the min and max bounds
|
|
34
|
+
*/
|
|
35
|
+
onValidateBlur?: (min: number, maxValue: number, quantity: number) => void;
|
|
36
|
+
}
|
|
37
|
+
declare const SearchProductItemContent: React.ForwardRefExoticComponent<SearchProductItemContentProps & React.RefAttributes<HTMLElement>>;
|
|
38
|
+
export default SearchProductItemContent;
|
|
39
|
+
//# sourceMappingURL=SearchProductItemContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchProductItemContent.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItemContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AAItD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAEpE,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,EAAE,eAAe,CAAA;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE;QACX,OAAO,EAAE,OAAO,CAAA;QAChB,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,OAAO,CAAA;QACrB,WAAW,EAAE,OAAO,CAAA;QACpB,gBAAgB,EAAE,KAAK,CAAC,SAAS,CAAA;QACjC,QAAQ,EAAE,MAAM,CAAA;QAChB,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACrC,QAAQ,CAAC,EAAE;YACT,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;YACzD,aAAa,EAAE,MAAM,CAAA;YACrB,UAAU,EAAE,MAAM,CAAA;YAClB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;KACF,CAAA;IACD;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC3E;AAED,QAAA,MAAM,wBAAwB,mGA4C5B,CAAA;AAEF,eAAe,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
export interface SearchProductItemControlProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onClick'> {
|
|
3
|
+
/**
|
|
4
|
+
* Renders child elements.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the label for out-of-stock products.
|
|
9
|
+
*/
|
|
10
|
+
outOfStockLabel: string;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies whether the product is available.
|
|
13
|
+
*/
|
|
14
|
+
availability: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies whether the product has variations.
|
|
17
|
+
*/
|
|
18
|
+
hasVariants: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Renders the elements of the SKUMatrix.
|
|
21
|
+
*/
|
|
22
|
+
skuMatrixControl: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* The maximum value the input can receive
|
|
25
|
+
*/
|
|
26
|
+
max?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The minimum value the input can receive
|
|
29
|
+
*/
|
|
30
|
+
min?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the quantity to be added to the cart.
|
|
33
|
+
*/
|
|
34
|
+
quantity: number;
|
|
35
|
+
/**
|
|
36
|
+
* Callback that fires when the add to cart button is clicked.
|
|
37
|
+
*/
|
|
38
|
+
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Callback that fires when the input value changes.
|
|
41
|
+
*/
|
|
42
|
+
onChangeQuantity: (value: number) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Event emitted when value is out of the min and max bounds
|
|
45
|
+
*/
|
|
46
|
+
onValidateBlur?: (min: number, maxValue: number, quantity: number) => void;
|
|
47
|
+
}
|
|
48
|
+
declare const SearchProductItemControl: React.ForwardRefExoticComponent<SearchProductItemControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
export default SearchProductItemControl;
|
|
50
|
+
//# sourceMappingURL=SearchProductItemControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchProductItemControl.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItemControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,KAAK,cAAc,EAGpB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIlD,MAAM,WAAW,6BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,gBAAgB,EAAE,SAAS,CAAA;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IACpD;;OAEG;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC3E;AAED,QAAA,MAAM,wBAAwB,sGAyI5B,CAAA;AACF,eAAe,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
export interface SearchProductItemImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
+
*/
|
|
6
|
+
testId?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const SearchProductItemImage: React.ForwardRefExoticComponent<SearchProductItemImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default SearchProductItemImage;
|
|
10
|
+
//# sourceMappingURL=SearchProductItemImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchProductItemImage.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProductItemImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,sBAAsB,oGAiB1B,CAAA;AAEF,eAAe,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface SearchProductsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
+
*/
|
|
6
|
+
testId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Title attribute for the <section> tag rendered by this component.
|
|
9
|
+
*/
|
|
10
|
+
title?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const SearchProductsProps: ({ testId, title, children, ...otherProps }: SearchProductsProps) => React.JSX.Element | null;
|
|
13
|
+
export default SearchProductsProps;
|
|
14
|
+
//# sourceMappingURL=SearchProducts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchProducts.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/SearchProducts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAGlD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,mBAAmB,GAAI,4CAK1B,mBAAmB,6BAcrB,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProducts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAE3D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAE3E,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAChF,YAAY,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as React, PropsWithChildren } from 'react';
|
|
2
|
+
export interface SearchProviderContextValue {
|
|
3
|
+
/**
|
|
4
|
+
* Term to be researched.
|
|
5
|
+
*/
|
|
6
|
+
term: string;
|
|
7
|
+
/**
|
|
8
|
+
* Enables a loading state.
|
|
9
|
+
*/
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* List of Suggestion terms.
|
|
13
|
+
*/
|
|
14
|
+
terms: Array<{
|
|
15
|
+
value: string;
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* List of Suggested products.
|
|
19
|
+
*/
|
|
20
|
+
products: {}[];
|
|
21
|
+
/**
|
|
22
|
+
* Callback function when a search term is selected.
|
|
23
|
+
*/
|
|
24
|
+
onSearchSelection?: (term: string, path: string) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const SearchContext: React.Context<SearchProviderContextValue | null>;
|
|
27
|
+
declare function SearchProvider({ onSearchSelection, children, term, terms, products, isLoading, }: PropsWithChildren<SearchProviderContextValue>): React.JSX.Element;
|
|
28
|
+
export default SearchProvider;
|
|
29
|
+
//# sourceMappingURL=SearchProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchProvider.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProvider/SearchProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAG9C,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC/B;;OAEG;IACH,QAAQ,EAAE,EAAE,EAAE,CAAA;IACd;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACzD;AAED,eAAO,MAAM,aAAa,kDAEzB,CAAA;AAED,iBAAS,cAAc,CAAC,EACtB,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,SAAS,GACV,EAAE,iBAAiB,CAAC,0BAA0B,CAAC,qBAQ/C;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,YAAY,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface SearchTopProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
5
|
+
*/
|
|
6
|
+
testId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Title attribute for the <section> tag rendered by this component.
|
|
9
|
+
*/
|
|
10
|
+
title: string;
|
|
11
|
+
}
|
|
12
|
+
declare const SearchTop: React.ForwardRefExoticComponent<SearchTopProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default SearchTop;
|
|
14
|
+
//# sourceMappingURL=SearchTop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchTop.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchTop/SearchTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAI3C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,SAAS,uFAkBb,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
import { LinkElementType, LinkProps } from '../../';
|
|
3
|
+
export interface SearchTopTermProps 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
|
+
* Search term to be shown.
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
/**
|
|
13
|
+
* Props for the `<Link>` rendered by this component.
|
|
14
|
+
*/
|
|
15
|
+
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
16
|
+
/**
|
|
17
|
+
* Current term's position in a list of search terms.
|
|
18
|
+
*/
|
|
19
|
+
index: number;
|
|
20
|
+
}
|
|
21
|
+
declare const SearchTopTerm: React.ForwardRefExoticComponent<SearchTopTermProps & React.RefAttributes<HTMLLIElement>>;
|
|
22
|
+
export default SearchTopTerm;
|
|
23
|
+
//# sourceMappingURL=SearchTopTerm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchTopTerm.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchTop/SearchTopTerm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAe,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE1E,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;IAC/C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,aAAa,0FAgBlB,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SearchTop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { 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 | undefined;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default SelectField;
|
|
13
|
+
//# sourceMappingURL=SelectField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../src/molecules/SelectField/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED,QAAA,MAAM,WAAW;;wCAef,CAAA;AAEF,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SelectField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { FunctionComponent, HTMLAttributes, default as React } from 'react';
|
|
2
|
+
import { LinkProps, LinkElementType } from '../..';
|
|
3
|
+
import { Variant } from './useDefineVariant';
|
|
4
|
+
export interface SkuOption {
|
|
5
|
+
/**
|
|
6
|
+
* Alternative text description of the image.
|
|
7
|
+
*/
|
|
8
|
+
alt?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Image URL.
|
|
11
|
+
*/
|
|
12
|
+
src?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Label to describe the option when selected. This is mandatory if you want to use the `image` variant.'
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Current value for this option.
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies that this option should be disabled.
|
|
23
|
+
*/
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Hex color code for this option. This is mandatory if you want to use the `Color` variant.
|
|
27
|
+
*/
|
|
28
|
+
hexColor?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface SkuSelectorProps extends HTMLAttributes<HTMLDivElement> {
|
|
31
|
+
/**
|
|
32
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
33
|
+
* testing-library, and jest).
|
|
34
|
+
*/
|
|
35
|
+
testId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* ID of the current instance of the component.
|
|
38
|
+
*/
|
|
39
|
+
id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* SKU options that should be rendered.
|
|
42
|
+
*/
|
|
43
|
+
availableVariations: Record<string, SkuOption[]>;
|
|
44
|
+
/**
|
|
45
|
+
* Name of the SKU property that this selector is relative to.
|
|
46
|
+
*/
|
|
47
|
+
skuPropertyName: string;
|
|
48
|
+
/**
|
|
49
|
+
* Currently active variation's value.
|
|
50
|
+
*/
|
|
51
|
+
activeVariations: Record<string, string>;
|
|
52
|
+
/**
|
|
53
|
+
* Optional variant type, when is not passed the type is inferred based on options properties
|
|
54
|
+
*/
|
|
55
|
+
variant?: Variant;
|
|
56
|
+
/**
|
|
57
|
+
* Extends all Link Props.
|
|
58
|
+
*/
|
|
59
|
+
linkProps?: Partial<LinkProps<LinkElementType>>;
|
|
60
|
+
/**
|
|
61
|
+
* Optional function to determines the href string.
|
|
62
|
+
*/
|
|
63
|
+
getItemHref?: (option: SkuOption) => string;
|
|
64
|
+
/**
|
|
65
|
+
* Maps property value combinations to their respective SKU's slug
|
|
66
|
+
*/
|
|
67
|
+
slugsMap: Record<string, string>;
|
|
68
|
+
/**
|
|
69
|
+
* Function that returns a React component that will be used to render images.
|
|
70
|
+
*/
|
|
71
|
+
ImageComponent?: FunctionComponent<{
|
|
72
|
+
src: string;
|
|
73
|
+
alt: string;
|
|
74
|
+
}>;
|
|
75
|
+
}
|
|
76
|
+
declare const SkuSelector: React.ForwardRefExoticComponent<SkuSelectorProps & React.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
export default SkuSelector;
|
|
78
|
+
//# sourceMappingURL=SkuSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkuSelector.d.ts","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/SkuSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,OAAO,CAAA;AACd,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAUnE,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAA;IAChD;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,MAAM,CAAA;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,CAAC;QACjC,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;KACZ,CAAC,CAAA;CACH;AAED,QAAA,MAAM,WAAW,yFA8FhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SkuOption } from './SkuSelector';
|
|
2
|
+
export type Variant = 'image' | 'color' | 'label';
|
|
3
|
+
/**
|
|
4
|
+
* This hook infers what kind of SKU Selector will be displayed on the UI.
|
|
5
|
+
* There are three different options, color, image, and label (default version).
|
|
6
|
+
*/
|
|
7
|
+
export declare const useDefineVariant: (options: SkuOption[], variant?: Variant) => Variant;
|
|
8
|
+
//# sourceMappingURL=useDefineVariant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDefineVariant.d.ts","sourceRoot":"","sources":["../../../src/molecules/SkuSelector/useDefineVariant.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;AAQjD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,SAAS,SAAS,EAAE,EACpB,UAAU,OAAO,KAChB,OAgCqB,CAAA"}
|