@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,58 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode, RefObject, default as React } from 'react';
|
|
2
|
+
export interface Toast {
|
|
3
|
+
message: string;
|
|
4
|
+
status: 'ERROR' | 'WARNING' | 'INFO';
|
|
5
|
+
title?: string;
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface Popover {
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
triggerRef?: RefObject<HTMLElement>;
|
|
11
|
+
}
|
|
12
|
+
export declare const regionSliderTypes: {
|
|
13
|
+
readonly setLocation: "setLocation";
|
|
14
|
+
readonly changeLocation: "changeLocation";
|
|
15
|
+
readonly changePickupPoint: "changePickupPoint";
|
|
16
|
+
readonly globalChangePickupPoint: "globalChangePickupPoint";
|
|
17
|
+
};
|
|
18
|
+
type RegionSliderType = (typeof regionSliderTypes)[keyof typeof regionSliderTypes];
|
|
19
|
+
export type RegionSlider = {
|
|
20
|
+
type: RegionSliderType | 'none';
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
};
|
|
23
|
+
interface State {
|
|
24
|
+
/** Cart sidebar */
|
|
25
|
+
cart: boolean;
|
|
26
|
+
/** Region modal */
|
|
27
|
+
modal: boolean;
|
|
28
|
+
/** Menu slider */
|
|
29
|
+
navbar: boolean;
|
|
30
|
+
/** Search page filter slider */
|
|
31
|
+
filter: boolean;
|
|
32
|
+
/** Toast notifications */
|
|
33
|
+
toasts: Toast[];
|
|
34
|
+
/** Region Popover */
|
|
35
|
+
popover: Popover;
|
|
36
|
+
/** Region slider */
|
|
37
|
+
regionSlider: RegionSlider;
|
|
38
|
+
}
|
|
39
|
+
interface Context extends State {
|
|
40
|
+
closeNavbar: () => void;
|
|
41
|
+
openNavbar: () => void;
|
|
42
|
+
closeFilter: () => void;
|
|
43
|
+
openFilter: () => void;
|
|
44
|
+
openCart: () => void;
|
|
45
|
+
closeCart: () => void;
|
|
46
|
+
openModal: () => void;
|
|
47
|
+
closeModal: () => void;
|
|
48
|
+
pushToast: (data: Toast) => void;
|
|
49
|
+
popToast: () => void;
|
|
50
|
+
openPopover: (popover: Popover) => void;
|
|
51
|
+
closePopover: () => void;
|
|
52
|
+
openRegionSlider: (type: RegionSliderType) => void;
|
|
53
|
+
closeRegionSlider: () => void;
|
|
54
|
+
}
|
|
55
|
+
declare function UIProvider({ children }: PropsWithChildren<unknown>): React.JSX.Element;
|
|
56
|
+
export declare function useUI(): Context;
|
|
57
|
+
export default UIProvider;
|
|
58
|
+
//# sourceMappingURL=UIProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UIProvider.d.ts","sourceRoot":"","sources":["../../src/hooks/UIProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpE,OAAO,KAAyD,MAAM,OAAO,CAAA;AAE7E,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;CACpC;AAED,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAA;AAEV,KAAK,gBAAgB,GACnB,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAAA;IAC/B,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,UAAU,KAAK;IACb,mBAAmB;IACnB,IAAI,EAAE,OAAO,CAAA;IACb,mBAAmB;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,kBAAkB;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,gCAAgC;IAChC,MAAM,EAAE,OAAO,CAAA;IACf,0BAA0B;IAC1B,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,qBAAqB;IACrB,OAAO,EAAE,OAAO,CAAA;IAChB,oBAAoB;IACpB,YAAY,EAAE,YAAY,CAAA;CAC3B;AAyJD,UAAU,OAAQ,SAAQ,KAAK;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAA;IAChC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACvC,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,gBAAgB,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAClD,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAC9B;AAID,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,CAAC,OAAO,CAAC,qBAmC3D;AAED,wBAAgB,KAAK,YAQpB;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { regionSliderTypes, default as UIProvider, useUI, type Toast as ToastProps, } from './UIProvider';
|
|
2
|
+
export { useFadeEffect } from './useFadeEffect';
|
|
3
|
+
export { useOnClickOutside } from './useOnClickOutside';
|
|
4
|
+
export { useProductComparison } from './useProductComparison';
|
|
5
|
+
export { useScrollDirection } from './useScrollDirection';
|
|
6
|
+
export { useSearch } from './useSearch';
|
|
7
|
+
export { useSKUMatrix } from './useSKUMatrix';
|
|
8
|
+
export { useSlider } from './useSlider';
|
|
9
|
+
export type { SlideDirection, SliderDispatch, SliderState, UseSliderArgs, } from './useSlider';
|
|
10
|
+
export { useSlideVisibility } from './useSlideVisibility';
|
|
11
|
+
export { useTrapFocus } from './useTrapFocus';
|
|
12
|
+
export { useRTL } from './useRTL';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,OAAO,IAAI,UAAU,EACrB,KAAK,EACL,KAAK,KAAK,IAAI,UAAU,GACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFadeEffect.d.ts","sourceRoot":"","sources":["../../src/hooks/useFadeEffect.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;CAkBzB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
type Handler = (event: any) => void;
|
|
3
|
+
export declare function useOnClickOutside<T extends HTMLElement = HTMLElement>(ref: RefObject<T> | undefined, handler: Handler): void;
|
|
4
|
+
export {};
|
|
5
|
+
//# sourceMappingURL=useOnClickOutside.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOnClickOutside.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnClickOutside.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,KAAK,OAAO,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;AAEnC,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACnE,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,EAC7B,OAAO,EAAE,OAAO,QAgCjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useProductComparison.d.ts","sourceRoot":"","sources":["../../src/hooks/useProductComparison.ts"],"names":[],"mappings":"AAIA,wBAAgB,oBAAoB,sHAUnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRTL.d.ts","sourceRoot":"","sources":["../../src/hooks/useRTL.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,MAAM,QAAO,OAoCzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSKUMatrix.d.ts","sourceRoot":"","sources":["../../src/hooks/useSKUMatrix.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,8FAU3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollDirection.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollDirection.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,cA4B9B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSearch.d.ts","sourceRoot":"","sources":["../../src/hooks/useSearch.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;CAQrB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface UseSlideVisibilityArgs {
|
|
2
|
+
currentSlide: number;
|
|
3
|
+
itemsPerPage: number;
|
|
4
|
+
totalItems: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const useSlideVisibility: ({ currentSlide, itemsPerPage, totalItems, }: UseSlideVisibilityArgs) => {
|
|
7
|
+
shouldRenderItem: (index: number) => boolean;
|
|
8
|
+
isItemVisible: (index: number) => boolean;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=useSlideVisibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSlideVisibility.d.ts","sourceRoot":"","sources":["../../src/hooks/useSlideVisibility.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;CACnB;AAsBD,eAAO,MAAM,kBAAkB,GAAI,6CAIhC,sBAAsB;8BAqBU,MAAM;2BART,MAAM;CAarC,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
import { SwipeableProps } from 'react-swipeable';
|
|
3
|
+
export type SlideDirection = 'next' | 'previous';
|
|
4
|
+
interface NextPageAction {
|
|
5
|
+
type: 'NEXT_PAGE';
|
|
6
|
+
}
|
|
7
|
+
interface PreviousPageAction {
|
|
8
|
+
type: 'PREVIOUS_PAGE';
|
|
9
|
+
}
|
|
10
|
+
interface GoToPageAction {
|
|
11
|
+
type: 'GO_TO_PAGE';
|
|
12
|
+
payload: {
|
|
13
|
+
pageIndex: number;
|
|
14
|
+
shouldSlide: boolean;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
interface StopSlideAction {
|
|
18
|
+
type: 'STOP_SLIDE';
|
|
19
|
+
}
|
|
20
|
+
export type Action = NextPageAction | PreviousPageAction | StopSlideAction | GoToPageAction;
|
|
21
|
+
export type SliderDispatch = Dispatch<Action>;
|
|
22
|
+
export interface SliderState {
|
|
23
|
+
/**
|
|
24
|
+
* The `currentItem` in a Slider with multiple items in a single page is
|
|
25
|
+
* always **the one with the lowest index** in the current page.
|
|
26
|
+
*/
|
|
27
|
+
currentItem: number;
|
|
28
|
+
/** Currently active page */
|
|
29
|
+
currentPage: number;
|
|
30
|
+
/**
|
|
31
|
+
* Whether or not the Slider is currently sliding. This is useful to
|
|
32
|
+
* manipulate the `transition` property in a component.
|
|
33
|
+
*/
|
|
34
|
+
sliding: boolean;
|
|
35
|
+
/** The direction in which the Slider is sliding. */
|
|
36
|
+
slideDirection: SlideDirection;
|
|
37
|
+
/** The total number of unique items in the slider. */
|
|
38
|
+
totalItems: number;
|
|
39
|
+
/** The number of items in a single page. */
|
|
40
|
+
itemsPerPage: number;
|
|
41
|
+
/** The total number of pages in the slider. */
|
|
42
|
+
totalPages: number;
|
|
43
|
+
/** Whether or not the slider is infinite. */
|
|
44
|
+
infinite: boolean;
|
|
45
|
+
}
|
|
46
|
+
export declare const nextPage: (current: number, total: number) => number;
|
|
47
|
+
export declare const previousPage: (current: number, total: number) => number;
|
|
48
|
+
export interface UseSliderArgs extends SwipeableProps {
|
|
49
|
+
/** The total number of unique items in the slider. */
|
|
50
|
+
totalItems: number;
|
|
51
|
+
/** The number of items in a single slider page. */
|
|
52
|
+
itemsPerPage?: number;
|
|
53
|
+
/** Whether or not the slider is infinite. */
|
|
54
|
+
infiniteMode?: boolean;
|
|
55
|
+
/** Whether or not slide after swiping left/right. */
|
|
56
|
+
shouldSlideOnSwipe?: boolean;
|
|
57
|
+
/** Whether the document is in RTL mode. */
|
|
58
|
+
isRTL?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export declare const useSlider: ({ totalItems, itemsPerPage, infiniteMode, shouldSlideOnSwipe, isRTL, ...swipeableConfigOverrides }: UseSliderArgs) => {
|
|
61
|
+
handlers: import('react-swipeable').SwipeableHandlers;
|
|
62
|
+
slide: (page: SlideDirection | number, dispatch: Dispatch<Action>) => void;
|
|
63
|
+
sliderState: SliderState;
|
|
64
|
+
sliderDispatch: Dispatch<Action>;
|
|
65
|
+
};
|
|
66
|
+
export {};
|
|
67
|
+
//# sourceMappingURL=useSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSlider.d.ts","sourceRoot":"","sources":["../../src/hooks/useSlider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAGrD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,CAAA;AAEhD,UAAU,cAAc;IACtB,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,UAAU,kBAAkB;IAC1B,IAAI,EAAE,eAAe,CAAA;CACtB;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAA;QACjB,WAAW,EAAE,OAAO,CAAA;KACrB,CAAA;CACF;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,MAAM,MAAM,MAAM,GACd,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,cAAc,CAAA;AAElB,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAA;AAE7C,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB,oDAAoD;IACpD,cAAc,EAAE,cAAc,CAAA;IAC9B,sDAAsD;IACtD,UAAU,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,YAAY,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,EAAE,OAAO,MAAM,WAChC,CAAA;AAEvB,eAAO,MAAM,YAAY,GAAI,SAAS,MAAM,EAAE,OAAO,MAAM,WACR,CAAA;AA4GnD,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,sDAAsD;IACtD,UAAU,EAAE,MAAM,CAAA;IAClB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,SAAS,GAAI,oGAOvB,aAAa;;kBAxCK,cAAc,GAAG,MAAM,YAAY,QAAQ,CAAC,MAAM,CAAC;;;CA+DvE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
interface TrapFocusParams {
|
|
3
|
+
beforeElementRef: RefObject<HTMLElement>;
|
|
4
|
+
trapFocusRef: RefObject<HTMLElement>;
|
|
5
|
+
afterElementRef: RefObject<HTMLElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const useTrapFocus: ({ trapFocusRef, beforeElementRef, afterElementRef, }: TrapFocusParams) => void;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=useTrapFocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTrapFocus.d.ts","sourceRoot":"","sources":["../../src/hooks/useTrapFocus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,UAAU,eAAe;IACvB,gBAAgB,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IACxC,YAAY,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IACpC,eAAe,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;CACxC;AAQD,eAAO,MAAM,YAAY,GAAI,sDAI1B,eAAe,SAsFjB,CAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
export * from './hooks';
|
|
2
|
+
export { default as Badge } from './atoms/Badge';
|
|
3
|
+
export type { BadgeProps } from './atoms/Badge';
|
|
4
|
+
export { default as Button } from './atoms/Button';
|
|
5
|
+
export type { ButtonProps } from './atoms/Button';
|
|
6
|
+
export { default as Checkbox } from './atoms/Checkbox';
|
|
7
|
+
export type { CheckboxProps } from './atoms/Checkbox';
|
|
8
|
+
export { default as Icon } from './atoms/Icon';
|
|
9
|
+
export type { IconProps } from './atoms/Icon';
|
|
10
|
+
export { default as Input } from './atoms/Input';
|
|
11
|
+
export type { InputProps } from './atoms/Input';
|
|
12
|
+
export { default as Label } from './atoms/Label';
|
|
13
|
+
export type { LabelProps } from './atoms/Label';
|
|
14
|
+
export { default as Link } from './atoms/Link';
|
|
15
|
+
export type { LinkElementType, LinkProps } from './atoms/Link';
|
|
16
|
+
export { default as List } from './atoms/List';
|
|
17
|
+
export type { ListProps } from './atoms/List';
|
|
18
|
+
export { default as Loader } from './atoms/Loader';
|
|
19
|
+
export type { LoaderProps } from './atoms/Loader';
|
|
20
|
+
export { default as Overlay } from './atoms/Overlay';
|
|
21
|
+
export type { OverlayProps } from './atoms/Overlay';
|
|
22
|
+
export { default as Price } from './atoms/Price';
|
|
23
|
+
export type { PriceProps } from './atoms/Price';
|
|
24
|
+
export { default as Radio } from './atoms/Radio';
|
|
25
|
+
export type { RadioProps } from './atoms/Radio';
|
|
26
|
+
export { default as RichText } from './atoms/RichText';
|
|
27
|
+
export type { RichTextProps } from './atoms/RichText';
|
|
28
|
+
export { default as Select } from './atoms/Select';
|
|
29
|
+
export type { SelectProps } from './atoms/Select';
|
|
30
|
+
export { default as Skeleton } from './atoms/Skeleton';
|
|
31
|
+
export type { SkeletonProps } from './atoms/Skeleton';
|
|
32
|
+
export { default as Slider } from './atoms/Slider';
|
|
33
|
+
export type { SliderProps } from './atoms/Slider';
|
|
34
|
+
export { default as SROnly } from './atoms/SROnly';
|
|
35
|
+
export { default as Textarea } from './atoms/Textarea';
|
|
36
|
+
export type { TextareaProps } from './atoms/Textarea';
|
|
37
|
+
export { default as Accordion, AccordionButton, AccordionItem, AccordionPanel, } from './molecules/Accordion';
|
|
38
|
+
export type { AccordionButtonProps, AccordionItemProps, AccordionPanelProps, AccordionProps, } from './molecules/Accordion';
|
|
39
|
+
export { default as Alert } from './molecules/Alert';
|
|
40
|
+
export type { AlertProps } from './molecules/Alert';
|
|
41
|
+
export { Breadcrumb, BreadcrumbPure } from './molecules/Breadcrumb';
|
|
42
|
+
export type { BreadcrumbProps, BreadcrumbPureProps, } from './molecules/Breadcrumb';
|
|
43
|
+
export { default as BuyButton } from './molecules/BuyButton';
|
|
44
|
+
export { default as Carousel, CarouselBullets, CarouselItem, } from './molecules/Carousel';
|
|
45
|
+
export type { CarouselBulletsProps, CarouselItemProps, CarouselProps, } from './molecules/Carousel';
|
|
46
|
+
export { default as Card } from './molecules/Card';
|
|
47
|
+
export type { CardProps } from './molecules/Card';
|
|
48
|
+
export { default as CartItem, CartItemImage, CartItemSummary, } from './molecules/CartItem';
|
|
49
|
+
export type { CartItemImageProps, CartItemProps, CartItemSummaryProps, } from './molecules/CartItem';
|
|
50
|
+
export { default as CheckboxField } from './molecules/CheckboxField';
|
|
51
|
+
export type { CheckboxFieldProps } from './molecules/CheckboxField';
|
|
52
|
+
export { default as DiscountBadge } from './molecules/DiscountBadge';
|
|
53
|
+
export type { DiscountBadgeProps } from './molecules/DiscountBadge';
|
|
54
|
+
export { default as Dropdown, DropdownButton, DropdownItem, DropdownMenu, } from './molecules/Dropdown';
|
|
55
|
+
export type { DropdownButtonProps, DropdownItemProps, DropdownMenuProps, DropdownProps, } from './molecules/Dropdown';
|
|
56
|
+
export { default as Gift, GiftContent, GiftImage } from './molecules/Gift';
|
|
57
|
+
export type { GiftContentProps, GiftImageProps, GiftProps, } from './molecules/Gift';
|
|
58
|
+
export { default as IconButton } from './molecules/IconButton';
|
|
59
|
+
export type { IconButtonProps } from './molecules/IconButton';
|
|
60
|
+
export { default as InputField } from './molecules/InputField';
|
|
61
|
+
export type { InputFieldProps } from './molecules/InputField';
|
|
62
|
+
export { default as LinkButton } from './molecules/LinkButton';
|
|
63
|
+
export type { LinkButtonProps } from './molecules/LinkButton';
|
|
64
|
+
export { default as Modal, ModalBody, ModalFooter, ModalHeader, } from './molecules/Modal';
|
|
65
|
+
export type { ModalHeaderProps, ModalProps } from './molecules/Modal';
|
|
66
|
+
export { default as NavbarLinks, NavbarLinksList, NavbarLinksListItem, } from './molecules/NavbarLinks';
|
|
67
|
+
export type { NavbarLinksListItemProps, NavbarLinksListProps, NavbarLinksProps, } from './molecules/NavbarLinks';
|
|
68
|
+
export { default as OrderSummary } from './molecules/OrderSummary';
|
|
69
|
+
export type { OrderSummaryProps } from './molecules/OrderSummary';
|
|
70
|
+
export { default as Popover } from './molecules/Popover';
|
|
71
|
+
export type { PopoverProps } from './molecules/Popover';
|
|
72
|
+
export { default as ProductCard, ProductCardContent, ProductCardImage, } from './molecules/ProductCard';
|
|
73
|
+
export type { ProductCardContentProps, ProductCardImageProps, ProductCardProps, } from './molecules/ProductCard';
|
|
74
|
+
export { default as ProductPrice } from './molecules/ProductPrice';
|
|
75
|
+
export type { ProductPriceProps } from './molecules/ProductPrice';
|
|
76
|
+
export { default as ProductTitle } from './molecules/ProductTitle';
|
|
77
|
+
export type { ProductTitleProps } from './molecules/ProductTitle';
|
|
78
|
+
export { default as RadioField } from './molecules/RadioField';
|
|
79
|
+
export type { RadioFieldProps } from './molecules/RadioField';
|
|
80
|
+
export { default as RadioGroup, RadioOption } from './molecules/RadioGroup';
|
|
81
|
+
export type { RadioGroupProps, RadioOptionProps } from './molecules/RadioGroup';
|
|
82
|
+
export { default as Rating } from './molecules/Rating';
|
|
83
|
+
export type { RatingProps } from './molecules/Rating';
|
|
84
|
+
export { default as RatingField } from './molecules/RatingField';
|
|
85
|
+
export type { RatingFieldProps } from './molecules/RatingField';
|
|
86
|
+
export { default as RegionBar } from './molecules/RegionBar';
|
|
87
|
+
export type { RegionBarProps } from './molecules/RegionBar';
|
|
88
|
+
export { default as TextareaField } from './molecules/TextareaField';
|
|
89
|
+
export type { TextareaFieldProps } from './molecules/TextareaField';
|
|
90
|
+
export { default as Tooltip } from './molecules/Tooltip';
|
|
91
|
+
export type { TooltipProps } from './molecules/Tooltip';
|
|
92
|
+
export { default as SearchProvider } from './molecules/SearchProvider';
|
|
93
|
+
export type { SearchProviderContextValue } from './molecules/SearchProvider';
|
|
94
|
+
export { default as QuantitySelector } from './molecules/QuantitySelector';
|
|
95
|
+
export type { QuantitySelectorProps } from './molecules/QuantitySelector';
|
|
96
|
+
export { default as SearchAutoComplete, SearchAutoCompleteTerm, } from './molecules/SearchAutoComplete';
|
|
97
|
+
export type { SearchAutoCompleteProps, SearchAutoCompleteTermProps, } from './molecules/SearchAutoComplete';
|
|
98
|
+
export { default as SearchDropdown, type SearchDropdownProps, } from './molecules/SearchDropdown';
|
|
99
|
+
export { default as SearchHistory, SearchHistoryTerm, } from './molecules/SearchHistory';
|
|
100
|
+
export type { SearchHistoryProps, SearchHistoryTermProps, } from './molecules/SearchHistory';
|
|
101
|
+
export { default as SearchInputField } from './molecules/SearchInputField';
|
|
102
|
+
export type { SearchInputFieldProps, SearchInputFieldRef, } from './molecules/SearchInputField';
|
|
103
|
+
export { SearchProductItem, SearchProductItemContent, SearchProductItemImage, default as SearchProducts, } from './molecules/SearchProducts';
|
|
104
|
+
export type { SearchProductItemContentProps, SearchProductItemImageProps, SearchProductItemProps, SearchProductsProps, } from './molecules/SearchProducts';
|
|
105
|
+
export { default as SearchTop, SearchTopTerm } from './molecules/SearchTop';
|
|
106
|
+
export type { SearchTopProps, SearchTopTermProps } from './molecules/SearchTop';
|
|
107
|
+
export { default as SelectField } from './molecules/SelectField';
|
|
108
|
+
export type { SelectFieldProps } from './molecules/SelectField';
|
|
109
|
+
export { default as SkuSelector } from './molecules/SkuSelector';
|
|
110
|
+
export type { SkuOption, SkuSelectorProps } from './molecules/SkuSelector';
|
|
111
|
+
export { Table, TableBody, TableCell, TableFooter, TableHead, TableRow, } from './molecules/Table';
|
|
112
|
+
export type { TableBodyProps, TableCellProps, TableFooterProps, TableHeadProps, TableProps, TableRowProps, } from './molecules/Table';
|
|
113
|
+
export { default as Tag } from './molecules/Tag';
|
|
114
|
+
export type { TagProps } from './molecules/Tag';
|
|
115
|
+
export { default as Toast } from './molecules/Toast';
|
|
116
|
+
export { default as Toggle } from './molecules/Toggle';
|
|
117
|
+
export type { ToggleProps } from './molecules/Toggle';
|
|
118
|
+
export { default as ToggleField } from './molecules/ToggleField';
|
|
119
|
+
export type { ToggleFieldProps } from './molecules/ToggleField';
|
|
120
|
+
export { default as BannerText, BannerTextContent, } from './organisms/BannerText';
|
|
121
|
+
export type { BannerTextContentProps, BannerTextProps, } from './organisms/BannerText';
|
|
122
|
+
export { default as CartSidebar, CartSidebarFooter, CartSidebarList, } from './organisms/CartSidebar';
|
|
123
|
+
export type { CartSidebarProps } from './organisms/CartSidebar';
|
|
124
|
+
export { default as EmptyState } from './organisms/EmptyState';
|
|
125
|
+
export type { EmptyStateProps } from './organisms/EmptyState';
|
|
126
|
+
export { default as Filter, FilterFacetBoolean, FilterFacetBooleanItem, FilterFacetRange, FilterFacets, FilterSlider, } from './organisms/Filter';
|
|
127
|
+
export type { FilterFacetBooleanItemProps, FilterFacetRangeProps, FilterFacetsProps, FilterProps, FilterSliderProps, } from './organisms/Filter';
|
|
128
|
+
export { default as Hero, HeroHeader, HeroImage } from './organisms/Hero';
|
|
129
|
+
export type { HeroHeaderProps, HeroImageProps, HeroProps, } from './organisms/Hero';
|
|
130
|
+
export { default as ImageGallery, ImageGallerySelector, ImageGalleryViewer, } from './organisms/ImageGallery';
|
|
131
|
+
export type { ImageElementData, ImageGalleryProps, ImageGallerySelectorProps, ImageGalleryViewerProps, } from './organisms/ImageGallery';
|
|
132
|
+
export { default as Navbar, NavbarButtons, NavbarHeader, NavbarRow, } from './organisms/Navbar';
|
|
133
|
+
export type { NavbarButtonsProps, NavbarHeaderProps, NavbarProps, NavbarRowProps, } from './organisms/Navbar';
|
|
134
|
+
export { default as NavbarSlider, NavbarSliderContent, NavbarSliderFooter, NavbarSliderHeader, } from './organisms/NavbarSlider';
|
|
135
|
+
export type { NavbarSliderContentProps, NavbarSliderFooterProps, NavbarSliderHeaderProps, NavbarSliderProps, } from './organisms/NavbarSlider';
|
|
136
|
+
export { default as Newsletter, NewsletterAddendum, NewsletterContent, NewsletterForm, NewsletterHeader, } from './organisms/Newsletter';
|
|
137
|
+
export type { NewsletterAddendumProps, NewsletterContentProps, NewsletterFormProps, NewsletterHeaderProps, NewsletterProps, } from './organisms/Newsletter';
|
|
138
|
+
export { default as OutOfStock } from './organisms/OutOfStock';
|
|
139
|
+
export type { OutOfStockProps } from './organisms/OutOfStock';
|
|
140
|
+
export { default as PaymentMethods } from './organisms/PaymentMethods';
|
|
141
|
+
export type { PaymentMethodsProps } from './organisms/PaymentMethods';
|
|
142
|
+
export { default as PriceRange } from './organisms/PriceRange';
|
|
143
|
+
export type { PriceRangeProps } from './organisms/PriceRange';
|
|
144
|
+
export { default as ProductComparison, ProductComparisonSidebar, ProductComparisonToolbar, ProductComparisonTrigger, } from './organisms/ProductComparison';
|
|
145
|
+
export type { IProductComparison, ProductComparisonProps, ProductComparisonSidebarProps, ProductComparisonToolbarProps, ProductComparisonTriggerProps, } from './organisms/ProductComparison';
|
|
146
|
+
export { default as ProductGrid, ProductGridItem, } from './organisms/ProductGrid';
|
|
147
|
+
export type { ProductGridItemProps, ProductGridProps, } from './organisms/ProductGrid';
|
|
148
|
+
export { default as ProductShelf, ProductShelfItem, ProductShelfItems, } from './organisms/ProductShelf';
|
|
149
|
+
export type { ProductShelfItemProps, ProductShelfItemsProps, ProductShelfProps, } from './organisms/ProductShelf';
|
|
150
|
+
export { default as RegionModal } from './organisms/RegionModal';
|
|
151
|
+
export type { RegionModalProps } from './organisms/RegionModal';
|
|
152
|
+
export { default as SearchInput } from './organisms/SearchInput';
|
|
153
|
+
export type { SearchInputProps } from './organisms/SearchInput';
|
|
154
|
+
export { default as ShippingSimulation } from './organisms/ShippingSimulation';
|
|
155
|
+
export type { ShippingSimulationProps } from './organisms/ShippingSimulation';
|
|
156
|
+
export { default as SlideOver, SlideOverHeader } from './organisms/SlideOver';
|
|
157
|
+
export type { SlideOverHeaderProps, SlideOverProps, } from './organisms/SlideOver';
|
|
158
|
+
export { default as SKUMatrix, SKUMatrixSidebar, SKUMatrixTrigger, } from './organisms/SKUMatrix';
|
|
159
|
+
export type { SKUMatrixProps, SKUMatrixSidebarProps, SKUMatrixTriggerProps, } from './organisms/SKUMatrix';
|
|
160
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAA;AAGvB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAA;AAChD,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAA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,GAClB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAChE,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAChE,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAC9E,YAAY,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAE7E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC7E,YAAY,EACV,oBAAoB,EACpB,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EACL,OAAO,IAAI,SAAS,EACpB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,uBAAuB,CAAA;AAC9B,YAAY,EACV,cAAc,EACd,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
interface AccordionContext {
|
|
3
|
+
indices: Set<number>;
|
|
4
|
+
onChange: (index: number) => void;
|
|
5
|
+
numberOfItems: number;
|
|
6
|
+
}
|
|
7
|
+
declare const AccordionContext: React.Context<AccordionContext | undefined>;
|
|
8
|
+
export interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
9
|
+
/**
|
|
10
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
11
|
+
* testing-library, and jest).
|
|
12
|
+
*/
|
|
13
|
+
testId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Indices that indicate which accordion items are opened.
|
|
16
|
+
*/
|
|
17
|
+
indices: Iterable<number>;
|
|
18
|
+
/**
|
|
19
|
+
* Function that is triggered when an accordion item is opened/closed.
|
|
20
|
+
*/
|
|
21
|
+
onChange: (index: number) => void;
|
|
22
|
+
}
|
|
23
|
+
declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export declare function useAccordion(): AccordionContext;
|
|
25
|
+
export default Accordion;
|
|
26
|
+
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/molecules/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAA;AACzD,OAAO,KAKN,MAAM,OAAO,CAAA;AAEd,UAAU,gBAAgB;IACxB,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,QAAA,MAAM,gBAAgB,6CAAyD,CAAA;AAE/E,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;IACzB;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,QAAA,MAAM,SAAS,uFAgCb,CAAA;AAEF,wBAAgB,YAAY,qBAU3B;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode, default as React } from 'react';
|
|
2
|
+
import { ButtonProps } from '../..';
|
|
3
|
+
export interface AccordionButtonProps extends ButtonProps {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* A React component is rendered as an icon when the accordion is expanded.
|
|
10
|
+
*/
|
|
11
|
+
expandedIcon?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* A React component is rendered as an icon when the accordion is collapsed.
|
|
14
|
+
*/
|
|
15
|
+
collapsedIcon?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare const AccordionButton: React.ForwardRefExoticComponent<AccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
export default AccordionButton;
|
|
19
|
+
//# sourceMappingURL=AccordionButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionButton.d.ts","sourceRoot":"","sources":["../../../src/molecules/Accordion/AccordionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAGxC,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAA;CAC1B;AAED,QAAA,MAAM,eAAe,gGAwEpB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactElement, default as React } from 'react';
|
|
2
|
+
import { PolymorphicComponentPropsWithRef } from '../../typings';
|
|
3
|
+
interface AccordionItemContext {
|
|
4
|
+
index: number;
|
|
5
|
+
panel: string;
|
|
6
|
+
button: string;
|
|
7
|
+
prefixId: string;
|
|
8
|
+
}
|
|
9
|
+
declare const AccordionItemContext: React.Context<AccordionItemContext | undefined>;
|
|
10
|
+
interface Props extends HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
/**
|
|
12
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
13
|
+
* testing-library, and jest).
|
|
14
|
+
*/
|
|
15
|
+
testId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Index of the current accordion item within the accordion.
|
|
18
|
+
*/
|
|
19
|
+
index?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Namespace ID prefix for the current Accordion item's panel and button
|
|
22
|
+
* to avoid ID duplication when multiple instances are on the same page.
|
|
23
|
+
*/
|
|
24
|
+
prefixId?: string;
|
|
25
|
+
}
|
|
26
|
+
export type AccordionItemProps<C extends ElementType> = PolymorphicComponentPropsWithRef<C, Props>;
|
|
27
|
+
type AccordionItemComponent = <C extends ElementType = 'div'>(props: AccordionItemProps<C>) => ReactElement | null;
|
|
28
|
+
declare const AccordionItem: AccordionItemComponent;
|
|
29
|
+
export declare function useAccordionItem(): AccordionItemContext;
|
|
30
|
+
export default AccordionItem;
|
|
31
|
+
//# sourceMappingURL=AccordionItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../src/molecules/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACtE,OAAO,KAAgD,MAAM,OAAO,CAAA;AACpE,OAAO,KAAK,EACV,gCAAgC,EAEjC,MAAM,eAAe,CAAA;AAEtB,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,oBAAoB,iDAEzB,CAAA;AAED,UAAU,KAAM,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpD;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,IAClD,gCAAgC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;AAE5C,KAAK,sBAAsB,GAAG,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAC1D,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,KACzB,YAAY,GAAG,IAAI,CAAA;AAExB,QAAA,MAAM,aAAa,EAgCb,sBAAsB,CAAA;AAE5B,wBAAgB,gBAAgB,yBAU/B;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
export interface AccordionPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
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 AccordionPanel: React.ForwardRefExoticComponent<AccordionPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default AccordionPanel;
|
|
10
|
+
//# sourceMappingURL=AccordionPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionPanel.d.ts","sourceRoot":"","sources":["../../../src/molecules/Accordion/AccordionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,cAAc,4FAuBnB,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default } from './Accordion';
|
|
2
|
+
export type { AccordionProps } from './Accordion';
|
|
3
|
+
export { default as AccordionItem } from './AccordionItem';
|
|
4
|
+
export type { AccordionItemProps } from './AccordionItem';
|
|
5
|
+
export { default as AccordionButton } from './AccordionButton';
|
|
6
|
+
export type { AccordionButtonProps } from './AccordionButton';
|
|
7
|
+
export { default as AccordionPanel } from './AccordionPanel';
|
|
8
|
+
export type { AccordionPanelProps } from './AccordionPanel';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/Accordion/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;AAEzD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { LinkProps } from '../../';
|
|
3
|
+
export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: cypress,
|
|
6
|
+
* testing-library, and jest).
|
|
7
|
+
*/
|
|
8
|
+
testId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Icon component for additional customization.
|
|
11
|
+
*/
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Enables dismissible feature.
|
|
15
|
+
*/
|
|
16
|
+
dismissible?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Extends all Link Props.
|
|
19
|
+
*/
|
|
20
|
+
link?: LinkProps;
|
|
21
|
+
/**
|
|
22
|
+
* Function called when dismiss button is clicked.
|
|
23
|
+
*/
|
|
24
|
+
onClose?: (event: MouseEvent<HTMLElement>) => void;
|
|
25
|
+
}
|
|
26
|
+
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export default Alert;
|
|
28
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/molecules/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAkC,MAAM,OAAO,CAAA;AAEtD,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE/D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAElD,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;CACnD;AAED,QAAA,MAAM,KAAK,mFAiDT,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BreadcrumbBaseProps } from './BreadcrumbBase';
|
|
3
|
+
export interface BreadcrumbProps extends Omit<BreadcrumbBaseProps, 'isDesktop'> {
|
|
4
|
+
}
|
|
5
|
+
declare const Breadcrumb: ({ breadcrumbList, ...otherProps }: BreadcrumbProps) => React.JSX.Element;
|
|
6
|
+
export default Breadcrumb;
|
|
7
|
+
//# sourceMappingURL=Breadcrumb.d.ts.map
|