@faststore/components 3.95.1-dev.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,41 @@
|
|
|
1
|
+
export type DropdownContextState<T extends HTMLElement = HTMLElement, E extends HTMLElement = HTMLElement> = {
|
|
2
|
+
/**
|
|
3
|
+
* Control de Dropdown state as Opened (true) or Closed (false).
|
|
4
|
+
*/
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Reference to DropdownButton, used to calculate a position for the DropdownMenu.
|
|
8
|
+
*/
|
|
9
|
+
dropdownTriggerRef: React.MutableRefObject<T | null> | null;
|
|
10
|
+
/**
|
|
11
|
+
* Reference to a selected DropdownItem, used to manipulate focus.
|
|
12
|
+
*/
|
|
13
|
+
selectedDropdownItemIndexRef: React.MutableRefObject<number> | null;
|
|
14
|
+
/**
|
|
15
|
+
* Array of References to dropdownItems in a DropdownMenu.
|
|
16
|
+
*/
|
|
17
|
+
dropdownItemsRef: React.MutableRefObject<E[]> | null;
|
|
18
|
+
/**
|
|
19
|
+
* Function responsible for close the DropdownMenu in this context.
|
|
20
|
+
*/
|
|
21
|
+
close?(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Function responsible for open the DropdownMenu in this context.
|
|
24
|
+
*/
|
|
25
|
+
open?(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Function responsible for switch the the DropdownMenu state in this context.
|
|
28
|
+
*/
|
|
29
|
+
toggle?(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Identifier to be used in aria-controls
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
/**
|
|
35
|
+
* Associates the dropdown trigger element's ref for managing its position and interaction events.
|
|
36
|
+
*/
|
|
37
|
+
addDropdownTriggerRef?(ref: T | null): void;
|
|
38
|
+
};
|
|
39
|
+
declare const DropdownContext: import('react').Context<DropdownContextState<HTMLElement, HTMLElement>>;
|
|
40
|
+
export default DropdownContext;
|
|
41
|
+
//# sourceMappingURL=DropdownContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownContext.d.ts","sourceRoot":"","sources":["../../../../src/molecules/Dropdown/contexts/DropdownContext.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,WAAW,GAAG,WAAW,IACjC;IACF;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,kBAAkB,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAA;IAC3D;;OAEG;IACH,4BAA4B,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;IACnE;;OAEG;IACH,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;IACpD;;OAEG;IACH,KAAK,CAAC,IAAI,IAAI,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,IAAI,IAAI,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,IAAI,IAAI,CAAA;IACf;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,CAAA;CAC5C,CAAA;AAUD,QAAA,MAAM,eAAe,yEAAoD,CAAA;AAEzE,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DropdownContextState } from '../contexts/DropdownContext';
|
|
2
|
+
/**
|
|
3
|
+
* Hook to use the Dropdown context.
|
|
4
|
+
* @returns Dropdown context.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useDropdown: <T extends HTMLElement = HTMLElement, E extends HTMLElement = HTMLElement>() => DropdownContextState<T, E>;
|
|
7
|
+
//# sourceMappingURL=useDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDropdown.d.ts","sourceRoot":"","sources":["../../../../src/molecules/Dropdown/hooks/useDropdown.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AAGvE;;;GAGG;AACH,eAAO,MAAM,WAAW,GACtB,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,WAAW,GAAG,WAAW,OASjB,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAC5C,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type UseDropdownItemProps<E extends HTMLElement = HTMLElement> = {
|
|
3
|
+
ref: React.ForwardedRef<E>;
|
|
4
|
+
onClick?: React.MouseEventHandler<E>;
|
|
5
|
+
dismissOnClick?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const useDropdownItem: <E extends HTMLElement = HTMLElement>({ ref, onClick, dismissOnClick, }: UseDropdownItemProps<E>) => {
|
|
8
|
+
ref: (el: E) => void;
|
|
9
|
+
onFocus: () => void;
|
|
10
|
+
onMouseEnter: () => void;
|
|
11
|
+
onClick: (event: React.MouseEvent<E, MouseEvent>) => void;
|
|
12
|
+
role: string;
|
|
13
|
+
tabIndex: number;
|
|
14
|
+
'data-index': number;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=useDropdownItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/molecules/Dropdown/hooks/useDropdownItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAA;AAIpE,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACtE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAA;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAA;IACpC,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,mCAIlE,oBAAoB,CAAC,CAAC,CAAC;cASD,CAAC;;;qBAgBU,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC;;;;CAgBlE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type DropdownPosition = {
|
|
2
|
+
loading: boolean;
|
|
3
|
+
} & Pick<React.CSSProperties, 'position' | 'top' | 'left' | 'right' | 'transform'>;
|
|
4
|
+
/**
|
|
5
|
+
* Hook used to find the DropdownMenu position in relation to DropdownButton
|
|
6
|
+
* @returns Style with positions.
|
|
7
|
+
*/
|
|
8
|
+
export declare const useDropdownPosition: (align?: "left" | "center" | "right") => DropdownPosition;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=useDropdownPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDropdownPosition.d.ts","sourceRoot":"","sources":["../../../../src/molecules/Dropdown/hooks/useDropdownPosition.ts"],"names":[],"mappings":"AAGA,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,IAAI,CACN,KAAK,CAAC,aAAa,EACnB,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,CACpD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAO,MAAM,GAAG,QAAQ,GAAG,OAAgB,KAC1C,gBAgEF,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type UseDropdownTriggerProps<T extends HTMLElement = HTMLElement> = {
|
|
3
|
+
triggerRef: React.ForwardedRef<T>;
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const useDropdownTrigger: <T extends HTMLElement = HTMLElement>({ triggerRef, }: UseDropdownTriggerProps<T>) => {
|
|
7
|
+
onClick: (() => void) | undefined;
|
|
8
|
+
ref: ((ref: T | null) => void) | undefined;
|
|
9
|
+
'aria-expanded': boolean;
|
|
10
|
+
'aria-controls': string;
|
|
11
|
+
'aria-haspopup': "menu";
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=useDropdownTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDropdownTrigger.d.ts","sourceRoot":"","sources":["../../../../src/molecules/Dropdown/hooks/useDropdownTrigger.ts"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IAClE,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,iBAErE,uBAAuB,CAAC,CAAC,CAAC;;;;;;CAe5B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default } from './Dropdown';
|
|
2
|
+
export type { DropdownProps } from './Dropdown';
|
|
3
|
+
export { default as DropdownButton } from './DropdownButton';
|
|
4
|
+
export type { DropdownButtonProps } from './DropdownButton';
|
|
5
|
+
export { default as DropdownItem } from './DropdownItem';
|
|
6
|
+
export type { DropdownItemProps } from './DropdownItem';
|
|
7
|
+
export { default as DropdownMenu } from './DropdownMenu';
|
|
8
|
+
export type { DropdownMenuProps } from './DropdownMenu';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAE3D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode, default as React } from 'react';
|
|
2
|
+
export interface GiftProps 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
|
+
/**
|
|
9
|
+
* A React component that will be rendered as an icon.
|
|
10
|
+
*/
|
|
11
|
+
icon?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const Gift: React.ForwardRefExoticComponent<GiftProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export default Gift;
|
|
15
|
+
//# sourceMappingURL=Gift.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gift.d.ts","sourceRoot":"","sources":["../../../src/molecules/Gift/Gift.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,QAAA,MAAM,IAAI,kFAUR,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
import { PriceDefinition } from '../../typings/PriceDefinition';
|
|
3
|
+
export interface GiftContentProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the product's name.
|
|
10
|
+
*/
|
|
11
|
+
productName: string;
|
|
12
|
+
/**
|
|
13
|
+
* Specifies product's prices.
|
|
14
|
+
*/
|
|
15
|
+
price: PriceDefinition;
|
|
16
|
+
/**
|
|
17
|
+
* Badge's label
|
|
18
|
+
*/
|
|
19
|
+
badgeLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Additional message in the title
|
|
22
|
+
*/
|
|
23
|
+
titleMessage?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const GiftContent: React.ForwardRefExoticComponent<GiftContentProps & React.RefAttributes<HTMLElement>>;
|
|
26
|
+
export default GiftContent;
|
|
27
|
+
//# sourceMappingURL=GiftContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GiftContent.d.ts","sourceRoot":"","sources":["../../../src/molecules/Gift/GiftContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAEpE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,KAAK,EAAE,eAAe,CAAA;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,QAAA,MAAM,WAAW,sFAoChB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
+
export interface GiftImageProps 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 GiftImage: React.ForwardRefExoticComponent<GiftImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default GiftImage;
|
|
10
|
+
//# sourceMappingURL=GiftImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GiftImage.d.ts","sourceRoot":"","sources":["../../../src/molecules/Gift/GiftImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,SAAS,uFASb,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default } from './Gift';
|
|
2
|
+
export type { GiftProps } from './Gift';
|
|
3
|
+
export { default as GiftContent } from './GiftContent';
|
|
4
|
+
export type { GiftContentProps } from './GiftContent';
|
|
5
|
+
export { default as GiftImage } from './GiftImage';
|
|
6
|
+
export type { GiftImageProps } from './GiftImage';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/Gift/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAChC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAEvC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode, AriaAttributes, default as React } from 'react';
|
|
2
|
+
import { ButtonProps } from '../../';
|
|
3
|
+
export interface IconButtonProps extends Omit<ButtonProps, 'aria-label'> {
|
|
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 that will be rendered as an icon.
|
|
10
|
+
*/
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* A Label should be provided.
|
|
14
|
+
*/
|
|
15
|
+
'aria-label': AriaAttributes['aria-label'];
|
|
16
|
+
}
|
|
17
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
export default IconButton;
|
|
19
|
+
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/molecules/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEzC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,EAAE,SAAS,CAAA;IACf;;OAEG;IACH,YAAY,EAAE,cAAc,CAAC,YAAY,CAAC,CAAA;CAC3C;AAED,QAAA,MAAM,UAAU,2FA6Bf,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/IconButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { MutableRefObject, default as React } from 'react';
|
|
2
|
+
import { InputProps } from '../../';
|
|
3
|
+
type DefaultProps = {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* ID to identify input and corresponding label.
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* The text displayed to identify input text.
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* The error message is displayed when an error occurs.
|
|
18
|
+
*/
|
|
19
|
+
error?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Component's ref.
|
|
22
|
+
*/
|
|
23
|
+
inputRef?: MutableRefObject<HTMLInputElement | null>;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies that the whole input component should be disabled.
|
|
26
|
+
*/
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
};
|
|
29
|
+
type ActionableInputField = {
|
|
30
|
+
actionable?: never;
|
|
31
|
+
onSubmit?: never;
|
|
32
|
+
onClear?: never;
|
|
33
|
+
buttonActionText?: string;
|
|
34
|
+
displayClearButton?: never;
|
|
35
|
+
} | {
|
|
36
|
+
/**
|
|
37
|
+
* Adds a Button to the component.
|
|
38
|
+
*/
|
|
39
|
+
actionable: true;
|
|
40
|
+
/**
|
|
41
|
+
* Callback function when button is clicked. Required for actionable input.
|
|
42
|
+
*/
|
|
43
|
+
onSubmit: () => void;
|
|
44
|
+
/**
|
|
45
|
+
* Callback function when clear button is clicked. Required for actionable input.
|
|
46
|
+
*/
|
|
47
|
+
onClear: () => void;
|
|
48
|
+
/**
|
|
49
|
+
* The text displayed on the Button. Suggestion: maximum 9 characters.
|
|
50
|
+
*/
|
|
51
|
+
buttonActionText?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Boolean that controls the clear button.
|
|
54
|
+
*/
|
|
55
|
+
displayClearButton?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export type InputFieldProps = DefaultProps & Omit<InputProps, 'disabled' | 'onSubmit'> & ActionableInputField;
|
|
58
|
+
declare const InputField: ({ id, label, type, error, displayClearButton, actionable, buttonActionText, onSubmit, onClear, placeholder, inputRef, disabled, value, testId, ...otherProps }: InputFieldProps) => React.JSX.Element;
|
|
59
|
+
export default InputField;
|
|
60
|
+
//# sourceMappingURL=InputField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../../src/molecules/InputField/InputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAGxC,KAAK,YAAY,GAAG;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,KAAK,oBAAoB,GACrB;IACE,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,OAAO,CAAC,EAAE,KAAK,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,kBAAkB,CAAC,EAAE,KAAK,CAAA;CAC3B,GACD;IACE;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA;AAEL,MAAM,MAAM,eAAe,GAAG,YAAY,GACxC,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC,GACzC,oBAAoB,CAAA;AAEtB,QAAA,MAAM,UAAU,GAAI,gKAgBjB,eAAe,sBA2CjB,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/InputField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes, default as React } from 'react';
|
|
2
|
+
import { ButtonProps } from '../..';
|
|
3
|
+
export type LinkButtonProps = AnchorHTMLAttributes<HTMLAnchorElement> & ButtonProps;
|
|
4
|
+
declare function LinkButton({ icon, inverse, children, disabled, iconPosition, size, variant, testId, ...otherProps }: LinkButtonProps): React.JSX.Element;
|
|
5
|
+
export default LinkButton;
|
|
6
|
+
//# sourceMappingURL=LinkButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../src/molecules/LinkButton/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAc,MAAM,OAAO,CAAA;AAC7D,OAAO,KAAiB,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAExC,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACnE,WAAW,CAAA;AAEb,iBAAS,UAAU,CAAC,EAClB,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,IAAgB,EAChB,OAAmB,EACnB,MAAyB,EACzB,GAAG,UAAU,EACd,EAAE,eAAe,qBAmCjB;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/LinkButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AriaAttributes, ReactNode, default as React } from 'react';
|
|
2
|
+
import { OverlayProps } from '../..';
|
|
3
|
+
import { ModalContentProps } from './ModalContent';
|
|
4
|
+
export type ModalChildrenProps = {
|
|
5
|
+
fade: 'in' | 'out';
|
|
6
|
+
fadeOut: () => void;
|
|
7
|
+
fadeIn: () => void;
|
|
8
|
+
};
|
|
9
|
+
type ModalChildrenFunction = (props: ModalChildrenProps) => ReactNode;
|
|
10
|
+
export interface ModalProps extends Omit<ModalContentProps, 'children' | 'onEntered'> {
|
|
11
|
+
/**
|
|
12
|
+
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
13
|
+
*/
|
|
14
|
+
testId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Identifies the element (or elements) that labels the current element.
|
|
17
|
+
* @see aria-labelledby https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby
|
|
18
|
+
*/
|
|
19
|
+
'aria-labelledby'?: AriaAttributes['aria-label'];
|
|
20
|
+
/**
|
|
21
|
+
* A boolean value that represents the state of the Modal.
|
|
22
|
+
*/
|
|
23
|
+
isOpen?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Event emitted when the modal is closed.
|
|
26
|
+
*/
|
|
27
|
+
onDismiss?: () => void;
|
|
28
|
+
/**
|
|
29
|
+
* Callback function when the modal is opened.
|
|
30
|
+
*/
|
|
31
|
+
onEntered?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Props forwarded to the `Overlay` component.
|
|
34
|
+
*/
|
|
35
|
+
overlayProps?: OverlayProps;
|
|
36
|
+
/**
|
|
37
|
+
* Children or function as a children.
|
|
38
|
+
*/
|
|
39
|
+
children: ModalChildrenFunction | ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Disable being closed using the Escape key.
|
|
42
|
+
*/
|
|
43
|
+
disableEscapeKeyDown?: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare const Modal: ({ children, testId, isOpen, onDismiss, overlayProps, disableEscapeKeyDown, onEntered, ...otherProps }: ModalProps) => React.ReactPortal | null;
|
|
46
|
+
export default Modal;
|
|
47
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAGd,SAAS,EACV,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,IAAI,GAAG,KAAK,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,KAAK,qBAAqB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,SAAS,CAAA;AAErE,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,WAAW,CAAC;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAA;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;OAEG;IACH,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAA;IAC3C;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AAQD,QAAA,MAAM,KAAK,GAAI,uGASZ,UAAU,6BAgEZ,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, ReactNode, HTMLAttributes } from 'react';
|
|
2
|
+
export interface ModalBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Children or function as a children
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const ModalBody: ({ children, ...otherProps }: ModalBodyProps) => React.JSX.Element;
|
|
9
|
+
export default ModalBody;
|
|
10
|
+
//# sourceMappingURL=ModalBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/ModalBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAElE,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,QAAA,MAAM,SAAS,GAAI,6BAA6B,cAAc,sBAI7D,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DetailedHTMLProps, HTMLAttributes, RefObject, default as React } from 'react';
|
|
2
|
+
interface ModalContentPureProps extends Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
|
|
3
|
+
beforeElementRef: RefObject<HTMLDivElement>;
|
|
4
|
+
trapFocusRef: RefObject<HTMLDivElement>;
|
|
5
|
+
afterElementRef: RefObject<HTMLDivElement>;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}
|
|
8
|
+
export type ModalContentProps = Omit<ModalContentPureProps, 'trapFocusRef' | 'onClick' | 'beforeElementRef' | 'afterElementRef'>;
|
|
9
|
+
declare const ModalContent: ({ children, ...otherProps }: ModalContentProps) => React.JSX.Element;
|
|
10
|
+
export default ModalContent;
|
|
11
|
+
//# sourceMappingURL=ModalContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/ModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EAEd,SAAS,EACV,MAAM,OAAO,CAAA;AACd,OAAO,KAAiB,MAAM,OAAO,CAAA;AAIrC,UAAU,qBACR,SAAQ,IAAI,CACV,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,EACjE,KAAK,CACN;IACD,gBAAgB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC3C,YAAY,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IACvC,eAAe,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAuCD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,qBAAqB,EACrB,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,iBAAiB,CACpE,CAAA;AAED,QAAA,MAAM,YAAY,GAAI,6BAA6B,iBAAiB,sBAwBnE,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React, ReactNode, HTMLAttributes } from 'react';
|
|
2
|
+
export interface ModalFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Children or function as a children
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Layout direction. Default is `horizontal`.
|
|
9
|
+
*/
|
|
10
|
+
direction?: 'horizontal' | 'vertical';
|
|
11
|
+
/**
|
|
12
|
+
* Allows wrapping. Default is `true`
|
|
13
|
+
*/
|
|
14
|
+
wrap?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const ModalFooter: ({ children, direction, wrap, ...otherProps }: ModalFooterProps) => React.JSX.Element;
|
|
17
|
+
export default ModalFooter;
|
|
18
|
+
//# sourceMappingURL=ModalFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAElE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,QAAA,MAAM,WAAW,GAAI,8CAKlB,gBAAgB,sBAUlB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
import { IconButtonProps } from '../IconButton';
|
|
3
|
+
export interface ModalHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Title for header modal.
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Description for header modal.
|
|
10
|
+
*/
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Props for the Close Button component.
|
|
14
|
+
*/
|
|
15
|
+
closeBtnProps?: Partial<Omit<IconButtonProps, 'onClick'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Function called when dismiss button is clicked.
|
|
18
|
+
*/
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
}
|
|
21
|
+
declare const ModalHeader: ({ onClose, title, closeBtnProps, description, }: ModalHeaderProps) => React.JSX.Element;
|
|
22
|
+
export default ModalHeader;
|
|
23
|
+
//# sourceMappingURL=ModalHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAElD,OAAmB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAA;AAEhE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,CAAA;IACzD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,QAAA,MAAM,WAAW,GAAI,iDAKlB,gBAAgB,sBAgBlB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default } from './Modal';
|
|
2
|
+
export { default as ModalHeader } from './ModalHeader';
|
|
3
|
+
export { default as ModalFooter } from './ModalFooter';
|
|
4
|
+
export { default as ModalBody } from './ModalBody';
|
|
5
|
+
export type { ModalProps } from './Modal';
|
|
6
|
+
export type { ModalHeaderProps } from './ModalHeader';
|
|
7
|
+
export type { ModalFooterProps } from './ModalFooter';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface NavbarLinksProps 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 NavbarLinks: React.ForwardRefExoticComponent<NavbarLinksProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default NavbarLinks;
|
|
10
|
+
//# sourceMappingURL=NavbarLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavbarLinks.d.ts","sourceRoot":"","sources":["../../../src/molecules/NavbarLinks/NavbarLinks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,WAAW,yFAWhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListProps } from '../..';
|
|
3
|
+
export interface NavbarLinksListProps extends ListProps {
|
|
4
|
+
/**
|
|
5
|
+
* ID to find this component in testing tools (e.g.: Cypress, Testing Library, and Jest).
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const NavbarLinksList: React.ForwardRefExoticComponent<Omit<NavbarLinksListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
10
|
+
export default NavbarLinksList;
|
|
11
|
+
//# sourceMappingURL=NavbarLinksList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavbarLinksList.d.ts","sourceRoot":"","sources":["../../../src/molecules/NavbarLinks/NavbarLinksList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,eAAe,4GAgBpB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface NavbarLinksListItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
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 NavbarLinksListItem: React.ForwardRefExoticComponent<NavbarLinksListItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
+
export default NavbarLinksListItem;
|
|
10
|
+
//# sourceMappingURL=NavbarLinksListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavbarLinksListItem.d.ts","sourceRoot":"","sources":["../../../src/molecules/NavbarLinks/NavbarLinksListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,aAAa,CAAC;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,QAAA,MAAM,mBAAmB,gGAgBxB,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default } from './NavbarLinks';
|
|
2
|
+
export type { NavbarLinksProps } from './NavbarLinks';
|
|
3
|
+
export { default as NavbarLinksList } from './NavbarLinksList';
|
|
4
|
+
export type { NavbarLinksListProps } from './NavbarLinksList';
|
|
5
|
+
export { default as NavbarLinksListItem } from './NavbarLinksListItem';
|
|
6
|
+
export type { NavbarLinksListItemProps } from './NavbarLinksListItem';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/NavbarLinks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AACtE,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
export interface OrderSummaryProps extends HTMLAttributes<HTMLUListElement> {
|
|
3
|
+
/**
|
|
4
|
+
* ID to find this component in testing tools (e.g., cypress,
|
|
5
|
+
* testing-library, and jest).
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Label for the subtotal value of the order. It will only show if subtotalValue is provided.
|
|
10
|
+
*/
|
|
11
|
+
subtotalLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Subtotal value of the order. If provided, a subtotal label and value will be shown.
|
|
14
|
+
*/
|
|
15
|
+
subtotalValue?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Label for the discount value for the order. It will only show if discountValue is provided.
|
|
18
|
+
*/
|
|
19
|
+
discountLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Discount value for the order. If provided, a discount label and value will be shown.
|
|
22
|
+
*/
|
|
23
|
+
discountValue?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Label for the total value of the order.
|
|
26
|
+
*/
|
|
27
|
+
totalLabel?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Total value of the order.
|
|
30
|
+
*/
|
|
31
|
+
totalValue?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Specifies whether the displayed price should include taxes.
|
|
34
|
+
*/
|
|
35
|
+
includeTaxes?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Label to determine if the price includes taxes.
|
|
38
|
+
*/
|
|
39
|
+
includeTaxesLabel?: string;
|
|
40
|
+
}
|
|
41
|
+
declare const OrderSummary: React.ForwardRefExoticComponent<OrderSummaryProps & React.RefAttributes<HTMLUListElement>>;
|
|
42
|
+
export default OrderSummary;
|
|
43
|
+
//# sourceMappingURL=OrderSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderSummary.d.ts","sourceRoot":"","sources":["../../../src/molecules/OrderSummary/OrderSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAI3C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,gBAAgB,CAAC;IACzE;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,QAAA,MAAM,YAAY,4FA6EjB,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecules/OrderSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
|