@kadoui/react 1.11.16 → 2.0.1
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/README.md +20 -20
- package/dist/components/AccessNavigation/AccessNavigation.d.ts +2 -2
- package/dist/components/AccessNavigation/AccessNavigation.d.ts.map +1 -1
- package/dist/components/AccessNavigation/AccessNavigation.js +3 -1
- package/dist/components/Accordion/AccordionToggle.d.ts +2 -2
- package/dist/components/Accordion/AccordionToggle.d.ts.map +1 -1
- package/dist/components/Affix/Affix.d.ts +2 -2
- package/dist/components/Affix/Affix.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/BreadcrumbsItem.d.ts +2 -2
- package/dist/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/BreadcrumbsRoot.d.ts +3 -3
- package/dist/components/Breadcrumbs/BreadcrumbsRoot.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/BreadcrumbsRoot.js +1 -1
- package/dist/components/Carousel/CarouselContainer.d.ts +3 -3
- package/dist/components/Carousel/CarouselContainer.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselContainer.js +71 -4
- package/dist/components/Carousel/CarouselContext.d.ts +1 -0
- package/dist/components/Carousel/CarouselContext.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselLeftFade.d.ts +2 -2
- package/dist/components/Carousel/CarouselLeftFade.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselNextBtn.d.ts +2 -2
- package/dist/components/Carousel/CarouselNextBtn.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselPrevBtn.d.ts +2 -2
- package/dist/components/Carousel/CarouselPrevBtn.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselRightFade.d.ts +2 -2
- package/dist/components/Carousel/CarouselRightFade.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselRoot.d.ts +5 -3
- package/dist/components/Carousel/CarouselRoot.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselRoot.js +2 -2
- package/dist/components/Clipboard/Clipboard.d.ts +2 -2
- package/dist/components/Clipboard/Clipboard.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.d.ts +4 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +4 -0
- package/dist/components/ContextMenu/ContextMenuBody.d.ts +2 -2
- package/dist/components/ContextMenu/ContextMenuBody.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuBody.js +1 -15
- package/dist/components/ContextMenu/ContextMenuContext.d.ts +1 -0
- package/dist/components/ContextMenu/ContextMenuContext.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuItem.d.ts +5 -0
- package/dist/components/ContextMenu/ContextMenuItem.d.ts.map +1 -0
- package/dist/components/ContextMenu/ContextMenuItem.js +11 -0
- package/dist/components/ContextMenu/ContextMenuNavigation.d.ts +5 -0
- package/dist/components/ContextMenu/ContextMenuNavigation.d.ts.map +1 -0
- package/dist/components/ContextMenu/ContextMenuNavigation.js +9 -0
- package/dist/components/ContextMenu/ContextMenuRoot.d.ts +2 -2
- package/dist/components/ContextMenu/ContextMenuRoot.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuRoot.js +6 -3
- package/dist/components/Drawer/DrawerBody.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerBody.js +6 -3
- package/dist/components/Drawer/DrawerRoot.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerRoot.js +9 -5
- package/dist/components/Drawer/DrawerToggle.d.ts +2 -2
- package/dist/components/Drawer/DrawerToggle.d.ts.map +1 -1
- package/dist/components/Modal/ModalBody.d.ts.map +1 -1
- package/dist/components/Modal/ModalBody.js +7 -4
- package/dist/components/Modal/ModalContent.d.ts +2 -2
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalHeader.d.ts +2 -2
- package/dist/components/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/components/Modal/ModalRoot.d.ts.map +1 -1
- package/dist/components/Modal/ModalRoot.js +9 -5
- package/dist/components/Modal/ModalTrigger.d.ts +2 -2
- package/dist/components/Modal/ModalTrigger.d.ts.map +1 -1
- package/dist/components/Otp/OtpHiddenInput.d.ts +2 -2
- package/dist/components/Otp/OtpHiddenInput.d.ts.map +1 -1
- package/dist/components/Otp/OtpInputs.d.ts +2 -2
- package/dist/components/Otp/OtpInputs.d.ts.map +1 -1
- package/dist/components/Otp/OtpRoot.d.ts +4 -2
- package/dist/components/Otp/OtpRoot.d.ts.map +1 -1
- package/dist/components/Otp/OtpRoot.js +5 -3
- package/dist/components/Pagination/PaginationCounts.d.ts +2 -2
- package/dist/components/Pagination/PaginationCounts.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationNextBtn.d.ts +2 -2
- package/dist/components/Pagination/PaginationNextBtn.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationPrevBtn.d.ts +2 -2
- package/dist/components/Pagination/PaginationPrevBtn.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationStateRoot.d.ts +7 -1
- package/dist/components/Pagination/PaginationStateRoot.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationStateRoot.js +1 -3
- package/dist/components/Pagination/PaginationTypes.d.ts +2 -2
- package/dist/components/Pagination/PaginationTypes.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInputField.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInputField.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInputRoot.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInputRoot.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInputToggle.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInputToggle.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +2 -2
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/Popover/PopoverBody.d.ts +2 -2
- package/dist/components/Popover/PopoverBody.d.ts.map +1 -1
- package/dist/components/Popover/PopoverNavigation.d.ts +3 -0
- package/dist/components/Popover/PopoverNavigation.d.ts.map +1 -0
- package/dist/components/Popover/PopoverNavigation.js +5 -0
- package/dist/components/Popover/PopoverRoot.d.ts +2 -2
- package/dist/components/Popover/PopoverRoot.d.ts.map +1 -1
- package/dist/components/Popover/PopoverToggle.d.ts +2 -2
- package/dist/components/Popover/PopoverToggle.d.ts.map +1 -1
- package/dist/components/Progress/ProgressRoot.d.ts +2 -2
- package/dist/components/Progress/ProgressRoot.d.ts.map +1 -1
- package/dist/components/QrCode/QrCode.d.ts +2 -2
- package/dist/components/QrCode/QrCode.d.ts.map +1 -1
- package/dist/components/Rating/RatingItems.d.ts +2 -2
- package/dist/components/Rating/RatingItems.d.ts.map +1 -1
- package/dist/components/Rating/RatingRoot.d.ts +2 -2
- package/dist/components/Rating/RatingRoot.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBox.d.ts +5 -1
- package/dist/components/SelectBox/SelectBox.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBox.js +5 -1
- package/dist/components/SelectBox/SelectBoxContext.d.ts +1 -8
- package/dist/components/SelectBox/SelectBoxContext.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBoxField.d.ts +2 -6
- package/dist/components/SelectBox/SelectBoxField.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBoxField.js +3 -3
- package/dist/components/SelectBox/SelectBoxInput.d.ts +1 -3
- package/dist/components/SelectBox/SelectBoxInput.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBoxList.d.ts +1 -3
- package/dist/components/SelectBox/SelectBoxList.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBoxList.js +2 -1
- package/dist/components/SelectBox/SelectBoxOptions.d.ts +2 -18
- package/dist/components/SelectBox/SelectBoxOptions.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBoxOptions.js +23 -26
- package/dist/components/SelectBox/SelectBoxRoot.d.ts +2 -4
- package/dist/components/SelectBox/SelectBoxRoot.d.ts.map +1 -1
- package/dist/components/SelectBox/SelectBoxRoot.js +15 -10
- package/dist/components/SelectBox/SelectBoxSearchField.d.ts +3 -0
- package/dist/components/SelectBox/SelectBoxSearchField.d.ts.map +1 -0
- package/dist/components/SelectBox/SelectBoxSearchField.js +8 -0
- package/dist/components/SelectBox/SelectBoxSearchInput.d.ts +3 -0
- package/dist/components/SelectBox/SelectBoxSearchInput.d.ts.map +1 -0
- package/dist/components/SelectBox/SelectBoxSearchInput.js +4 -0
- package/dist/components/SelectBox/selectBoxTypes.d.ts +35 -0
- package/dist/components/SelectBox/selectBoxTypes.d.ts.map +1 -0
- package/dist/components/SelectBox/selectBoxTypes.js +1 -0
- package/dist/components/Sheet/SheetBody.d.ts.map +1 -1
- package/dist/components/Sheet/SheetBody.js +14 -3
- package/dist/components/Sheet/SheetContent.d.ts +2 -2
- package/dist/components/Sheet/SheetContent.d.ts.map +1 -1
- package/dist/components/Sheet/SheetContent.js +1 -0
- package/dist/components/Sheet/SheetHandlebar.d.ts +2 -2
- package/dist/components/Sheet/SheetHandlebar.d.ts.map +1 -1
- package/dist/components/Sheet/SheetHeader.d.ts +2 -2
- package/dist/components/Sheet/SheetHeader.d.ts.map +1 -1
- package/dist/components/Sheet/SheetRoot.d.ts.map +1 -1
- package/dist/components/Sheet/SheetRoot.js +21 -3
- package/dist/components/Sheet/SheetToggle.d.ts +2 -2
- package/dist/components/Sheet/SheetToggle.d.ts.map +1 -1
- package/dist/components/ShowMore/ShowMoreContent.d.ts +2 -2
- package/dist/components/ShowMore/ShowMoreContent.d.ts.map +1 -1
- package/dist/components/ShowMore/ShowMoreFade.d.ts +2 -2
- package/dist/components/ShowMore/ShowMoreFade.d.ts.map +1 -1
- package/dist/components/ShowMore/ShowMoreRoot.d.ts +2 -2
- package/dist/components/ShowMore/ShowMoreRoot.d.ts.map +1 -1
- package/dist/components/ShowMore/ShowMoreToggle.d.ts +2 -2
- package/dist/components/ShowMore/ShowMoreToggle.d.ts.map +1 -1
- package/dist/components/Spoiler/SpoilerBlur.d.ts +3 -3
- package/dist/components/Spoiler/SpoilerBlur.d.ts.map +1 -1
- package/dist/components/Spoiler/SpoilerBlur.js +2 -3
- package/dist/components/Spoiler/SpoilerRoot.d.ts +3 -3
- package/dist/components/Spoiler/SpoilerRoot.d.ts.map +1 -1
- package/dist/components/Spoiler/SpoilerRoot.js +2 -3
- package/dist/components/Submit/SubmitRoot.d.ts +2 -2
- package/dist/components/Submit/SubmitRoot.d.ts.map +1 -1
- package/dist/components/Swap/SwapBtn.d.ts +2 -2
- package/dist/components/Swap/SwapBtn.d.ts.map +1 -1
- package/dist/components/Tabs/TabsList.d.ts +2 -2
- package/dist/components/Tabs/TabsList.d.ts.map +1 -1
- package/dist/components/Tabs/TabsList.js +2 -1
- package/dist/components/Tabs/TabsPanel.d.ts +2 -2
- package/dist/components/Tabs/TabsPanel.d.ts.map +1 -1
- package/dist/components/Tabs/TabsTab.d.ts +2 -2
- package/dist/components/Tabs/TabsTab.d.ts.map +1 -1
- package/dist/components/Theme/Theme.d.ts +4 -0
- package/dist/components/Theme/Theme.d.ts.map +1 -0
- package/dist/components/Theme/Theme.js +3 -0
- package/dist/components/Theme/ThemeContext.d.ts +7 -0
- package/dist/components/Theme/ThemeContext.d.ts.map +1 -0
- package/dist/components/Theme/ThemeContext.js +3 -0
- package/dist/components/Theme/ThemeProvider.d.ts +5 -0
- package/dist/components/Theme/ThemeProvider.d.ts.map +1 -0
- package/dist/components/Theme/ThemeProvider.js +29 -0
- package/dist/components/Theme/ThemeScript.d.ts +2 -0
- package/dist/components/Theme/ThemeScript.d.ts.map +1 -0
- package/dist/components/Theme/ThemeScript.js +35 -0
- package/dist/components/Theme/useTheme.d.ts +5 -0
- package/dist/components/Theme/useTheme.d.ts.map +1 -0
- package/dist/components/Theme/useTheme.js +7 -0
- package/dist/configs.d.ts +2 -0
- package/dist/configs.d.ts.map +1 -0
- package/dist/configs.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/next-components/LinkLoader/LinkLoader.d.ts +6 -0
- package/dist/next-components/LinkLoader/LinkLoader.d.ts.map +1 -0
- package/dist/next-components/LinkLoader/LinkLoader.js +6 -0
- package/dist/next-exports.d.ts +2 -0
- package/dist/next-exports.d.ts.map +1 -0
- package/dist/next-exports.js +1 -0
- package/dist/react-components/AccessNavigation/AccessNavigation.d.ts +8 -0
- package/dist/react-components/AccessNavigation/AccessNavigation.d.ts.map +1 -0
- package/dist/react-components/AccessNavigation/AccessNavigation.js +51 -0
- package/dist/react-components/Accordion/Accordion.d.ts +8 -0
- package/dist/react-components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/react-components/Accordion/Accordion.js +7 -0
- package/dist/react-components/Accordion/AccordionBody.d.ts +4 -0
- package/dist/react-components/Accordion/AccordionBody.d.ts.map +1 -0
- package/dist/react-components/Accordion/AccordionBody.js +11 -0
- package/dist/react-components/Accordion/AccordionContext.d.ts +7 -0
- package/dist/react-components/Accordion/AccordionContext.d.ts.map +1 -0
- package/dist/react-components/Accordion/AccordionContext.js +2 -0
- package/dist/react-components/Accordion/AccordionRoot.d.ts +4 -0
- package/dist/react-components/Accordion/AccordionRoot.d.ts.map +1 -0
- package/dist/react-components/Accordion/AccordionRoot.js +8 -0
- package/dist/react-components/Accordion/AccordionToggle.d.ts +6 -0
- package/dist/react-components/Accordion/AccordionToggle.d.ts.map +1 -0
- package/dist/react-components/Accordion/AccordionToggle.js +11 -0
- package/dist/react-components/Affix/Affix.d.ts +4 -0
- package/dist/react-components/Affix/Affix.d.ts.map +1 -0
- package/dist/react-components/Affix/Affix.js +35 -0
- package/dist/react-components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
- package/dist/react-components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/react-components/Breadcrumbs/Breadcrumbs.js +5 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsContext.d.ts +6 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsContext.d.ts.map +1 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsContext.js +2 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsItem.d.ts +6 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsItem.js +8 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsRoot.d.ts +6 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsRoot.d.ts.map +1 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsRoot.js +6 -0
- package/dist/react-components/Carousel/Carousel.d.ts +14 -0
- package/dist/react-components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/react-components/Carousel/Carousel.js +13 -0
- package/dist/react-components/Carousel/CarouselContainer.d.ts +4 -0
- package/dist/react-components/Carousel/CarouselContainer.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselContainer.js +75 -0
- package/dist/react-components/Carousel/CarouselContext.d.ts +10 -0
- package/dist/react-components/Carousel/CarouselContext.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselContext.js +2 -0
- package/dist/react-components/Carousel/CarouselLeftFade.d.ts +5 -0
- package/dist/react-components/Carousel/CarouselLeftFade.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselLeftFade.js +11 -0
- package/dist/react-components/Carousel/CarouselNextBtn.d.ts +4 -0
- package/dist/react-components/Carousel/CarouselNextBtn.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselNextBtn.js +11 -0
- package/dist/react-components/Carousel/CarouselPrevBtn.d.ts +4 -0
- package/dist/react-components/Carousel/CarouselPrevBtn.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselPrevBtn.js +11 -0
- package/dist/react-components/Carousel/CarouselRightFade.d.ts +5 -0
- package/dist/react-components/Carousel/CarouselRightFade.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselRightFade.js +11 -0
- package/dist/react-components/Carousel/CarouselRoot.d.ts +6 -0
- package/dist/react-components/Carousel/CarouselRoot.d.ts.map +1 -0
- package/dist/react-components/Carousel/CarouselRoot.js +52 -0
- package/dist/react-components/Choice/Choice.d.ts +8 -0
- package/dist/react-components/Choice/Choice.d.ts.map +1 -0
- package/dist/react-components/Choice/Choice.js +7 -0
- package/dist/react-components/Choice/ChoiceContext.d.ts +18 -0
- package/dist/react-components/Choice/ChoiceContext.d.ts.map +1 -0
- package/dist/react-components/Choice/ChoiceContext.js +3 -0
- package/dist/react-components/Choice/ChoiceNavigation.d.ts +5 -0
- package/dist/react-components/Choice/ChoiceNavigation.d.ts.map +1 -0
- package/dist/react-components/Choice/ChoiceNavigation.js +5 -0
- package/dist/react-components/Choice/ChoiceRoot.d.ts +6 -0
- package/dist/react-components/Choice/ChoiceRoot.d.ts.map +1 -0
- package/dist/react-components/Choice/ChoiceRoot.js +6 -0
- package/dist/react-components/Choice/ChoiceTrigger.d.ts +7 -0
- package/dist/react-components/Choice/ChoiceTrigger.d.ts.map +1 -0
- package/dist/react-components/Choice/ChoiceTrigger.js +33 -0
- package/dist/react-components/ClientOnly/ClientOnly.d.ts +4 -0
- package/dist/react-components/ClientOnly/ClientOnly.d.ts.map +1 -0
- package/dist/react-components/ClientOnly/ClientOnly.js +6 -0
- package/dist/react-components/Clipboard/Clipboard.d.ts +8 -0
- package/dist/react-components/Clipboard/Clipboard.d.ts.map +1 -0
- package/dist/react-components/Clipboard/Clipboard.js +11 -0
- package/dist/react-components/ContextMenu/ContextMenu.d.ts +10 -0
- package/dist/react-components/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/ContextMenu.js +9 -0
- package/dist/react-components/ContextMenu/ContextMenuBody.d.ts +4 -0
- package/dist/react-components/ContextMenu/ContextMenuBody.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/ContextMenuBody.js +15 -0
- package/dist/react-components/ContextMenu/ContextMenuContext.d.ts +12 -0
- package/dist/react-components/ContextMenu/ContextMenuContext.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/ContextMenuContext.js +2 -0
- package/dist/react-components/ContextMenu/ContextMenuItem.d.ts +5 -0
- package/dist/react-components/ContextMenu/ContextMenuItem.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/ContextMenuItem.js +11 -0
- package/dist/react-components/ContextMenu/ContextMenuNavigation.d.ts +5 -0
- package/dist/react-components/ContextMenu/ContextMenuNavigation.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/ContextMenuNavigation.js +9 -0
- package/dist/react-components/ContextMenu/ContextMenuRoot.d.ts +4 -0
- package/dist/react-components/ContextMenu/ContextMenuRoot.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/ContextMenuRoot.js +58 -0
- package/dist/react-components/Drawer/Drawer.d.ts +10 -0
- package/dist/react-components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/react-components/Drawer/Drawer.js +9 -0
- package/dist/react-components/Drawer/DrawerBody.d.ts +6 -0
- package/dist/react-components/Drawer/DrawerBody.d.ts.map +1 -0
- package/dist/react-components/Drawer/DrawerBody.js +40 -0
- package/dist/react-components/Drawer/DrawerContext.d.ts +7 -0
- package/dist/react-components/Drawer/DrawerContext.d.ts.map +1 -0
- package/dist/react-components/Drawer/DrawerContext.js +2 -0
- package/dist/react-components/Drawer/DrawerPortal.d.ts +4 -0
- package/dist/react-components/Drawer/DrawerPortal.d.ts.map +1 -0
- package/dist/react-components/Drawer/DrawerPortal.js +14 -0
- package/dist/react-components/Drawer/DrawerRoot.d.ts +4 -0
- package/dist/react-components/Drawer/DrawerRoot.d.ts.map +1 -0
- package/dist/react-components/Drawer/DrawerRoot.js +41 -0
- package/dist/react-components/Drawer/DrawerToggle.d.ts +4 -0
- package/dist/react-components/Drawer/DrawerToggle.d.ts.map +1 -0
- package/dist/react-components/Drawer/DrawerToggle.js +11 -0
- package/dist/react-components/Modal/Modal.d.ts +14 -0
- package/dist/react-components/Modal/Modal.d.ts.map +1 -0
- package/dist/react-components/Modal/Modal.js +13 -0
- package/dist/react-components/Modal/ModalBody.d.ts +4 -0
- package/dist/react-components/Modal/ModalBody.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalBody.js +19 -0
- package/dist/react-components/Modal/ModalContent.d.ts +4 -0
- package/dist/react-components/Modal/ModalContent.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalContent.js +8 -0
- package/dist/react-components/Modal/ModalContext.d.ts +7 -0
- package/dist/react-components/Modal/ModalContext.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalContext.js +2 -0
- package/dist/react-components/Modal/ModalHeader.d.ts +4 -0
- package/dist/react-components/Modal/ModalHeader.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalHeader.js +8 -0
- package/dist/react-components/Modal/ModalPortal.d.ts +4 -0
- package/dist/react-components/Modal/ModalPortal.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalPortal.js +14 -0
- package/dist/react-components/Modal/ModalRoot.d.ts +6 -0
- package/dist/react-components/Modal/ModalRoot.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalRoot.js +41 -0
- package/dist/react-components/Modal/ModalTrigger.d.ts +4 -0
- package/dist/react-components/Modal/ModalTrigger.d.ts.map +1 -0
- package/dist/react-components/Modal/ModalTrigger.js +11 -0
- package/dist/react-components/Otp/Otp.d.ts +8 -0
- package/dist/react-components/Otp/Otp.d.ts.map +1 -0
- package/dist/react-components/Otp/Otp.js +7 -0
- package/dist/react-components/Otp/OtpContext.d.ts +7 -0
- package/dist/react-components/Otp/OtpContext.d.ts.map +1 -0
- package/dist/react-components/Otp/OtpContext.js +4 -0
- package/dist/react-components/Otp/OtpHiddenInput.d.ts +4 -0
- package/dist/react-components/Otp/OtpHiddenInput.d.ts.map +1 -0
- package/dist/react-components/Otp/OtpHiddenInput.js +8 -0
- package/dist/react-components/Otp/OtpInputs.d.ts +7 -0
- package/dist/react-components/Otp/OtpInputs.d.ts.map +1 -0
- package/dist/react-components/Otp/OtpInputs.js +55 -0
- package/dist/react-components/Otp/OtpRoot.d.ts +6 -0
- package/dist/react-components/Otp/OtpRoot.d.ts.map +1 -0
- package/dist/react-components/Otp/OtpRoot.js +17 -0
- package/dist/react-components/Pagination/Pagination.d.ts +19 -0
- package/dist/react-components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/react-components/Pagination/Pagination.js +14 -0
- package/dist/react-components/Pagination/PaginationContext.d.ts +12 -0
- package/dist/react-components/Pagination/PaginationContext.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationContext.js +2 -0
- package/dist/react-components/Pagination/PaginationCounts.d.ts +4 -0
- package/dist/react-components/Pagination/PaginationCounts.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationCounts.js +11 -0
- package/dist/react-components/Pagination/PaginationNextBtn.d.ts +6 -0
- package/dist/react-components/Pagination/PaginationNextBtn.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationNextBtn.js +11 -0
- package/dist/react-components/Pagination/PaginationPages.d.ts +2 -0
- package/dist/react-components/Pagination/PaginationPages.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationPages.js +7 -0
- package/dist/react-components/Pagination/PaginationPrevBtn.d.ts +6 -0
- package/dist/react-components/Pagination/PaginationPrevBtn.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationPrevBtn.js +11 -0
- package/dist/react-components/Pagination/PaginationSearchParamsRoot.d.ts +6 -0
- package/dist/react-components/Pagination/PaginationSearchParamsRoot.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationSearchParamsRoot.js +42 -0
- package/dist/react-components/Pagination/PaginationStateRoot.d.ts +9 -0
- package/dist/react-components/Pagination/PaginationStateRoot.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationStateRoot.js +16 -0
- package/dist/react-components/Pagination/PaginationTypes.d.ts +17 -0
- package/dist/react-components/Pagination/PaginationTypes.d.ts.map +1 -0
- package/dist/react-components/Pagination/PaginationTypes.js +1 -0
- package/dist/react-components/PasswordInput/PasswordInput.d.ts +8 -0
- package/dist/react-components/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/react-components/PasswordInput/PasswordInput.js +7 -0
- package/dist/react-components/PasswordInput/PasswordInputContext.d.ts +7 -0
- package/dist/react-components/PasswordInput/PasswordInputContext.d.ts.map +1 -0
- package/dist/react-components/PasswordInput/PasswordInputContext.js +2 -0
- package/dist/react-components/PasswordInput/PasswordInputField.d.ts +4 -0
- package/dist/react-components/PasswordInput/PasswordInputField.d.ts.map +1 -0
- package/dist/react-components/PasswordInput/PasswordInputField.js +8 -0
- package/dist/react-components/PasswordInput/PasswordInputRoot.d.ts +4 -0
- package/dist/react-components/PasswordInput/PasswordInputRoot.d.ts.map +1 -0
- package/dist/react-components/PasswordInput/PasswordInputRoot.js +8 -0
- package/dist/react-components/PasswordInput/PasswordInputToggle.d.ts +6 -0
- package/dist/react-components/PasswordInput/PasswordInputToggle.d.ts.map +1 -0
- package/dist/react-components/PasswordInput/PasswordInputToggle.js +11 -0
- package/dist/react-components/Popover/Popover.d.ts +10 -0
- package/dist/react-components/Popover/Popover.d.ts.map +1 -0
- package/dist/react-components/Popover/Popover.js +9 -0
- package/dist/react-components/Popover/PopoverBody.d.ts +6 -0
- package/dist/react-components/Popover/PopoverBody.d.ts.map +1 -0
- package/dist/react-components/Popover/PopoverBody.js +13 -0
- package/dist/react-components/Popover/PopoverContext.d.ts +10 -0
- package/dist/react-components/Popover/PopoverContext.d.ts.map +1 -0
- package/dist/react-components/Popover/PopoverContext.js +2 -0
- package/dist/react-components/Popover/PopoverNavigation.d.ts +3 -0
- package/dist/react-components/Popover/PopoverNavigation.d.ts.map +1 -0
- package/dist/react-components/Popover/PopoverNavigation.js +5 -0
- package/dist/react-components/Popover/PopoverRoot.d.ts +7 -0
- package/dist/react-components/Popover/PopoverRoot.d.ts.map +1 -0
- package/dist/react-components/Popover/PopoverRoot.js +51 -0
- package/dist/react-components/Popover/PopoverToggle.d.ts +4 -0
- package/dist/react-components/Popover/PopoverToggle.d.ts.map +1 -0
- package/dist/react-components/Popover/PopoverToggle.js +14 -0
- package/dist/react-components/Portal/Portal.d.ts +6 -0
- package/dist/react-components/Portal/Portal.d.ts.map +1 -0
- package/dist/react-components/Portal/Portal.js +10 -0
- package/dist/react-components/Progress/Progress.d.ts +6 -0
- package/dist/react-components/Progress/Progress.d.ts.map +1 -0
- package/dist/react-components/Progress/Progress.js +5 -0
- package/dist/react-components/Progress/ProgressBar.d.ts +6 -0
- package/dist/react-components/Progress/ProgressBar.d.ts.map +1 -0
- package/dist/react-components/Progress/ProgressBar.js +10 -0
- package/dist/react-components/Progress/ProgressContext.d.ts +6 -0
- package/dist/react-components/Progress/ProgressContext.d.ts.map +1 -0
- package/dist/react-components/Progress/ProgressContext.js +2 -0
- package/dist/react-components/Progress/ProgressRoot.d.ts +7 -0
- package/dist/react-components/Progress/ProgressRoot.d.ts.map +1 -0
- package/dist/react-components/Progress/ProgressRoot.js +6 -0
- package/dist/react-components/QrCode/QrCode.d.ts +8 -0
- package/dist/react-components/QrCode/QrCode.d.ts.map +1 -0
- package/dist/react-components/QrCode/QrCode.js +15 -0
- package/dist/react-components/Rating/Rating.d.ts +5 -0
- package/dist/react-components/Rating/Rating.d.ts.map +1 -0
- package/dist/react-components/Rating/Rating.js +5 -0
- package/dist/react-components/Rating/RatingContext.d.ts +7 -0
- package/dist/react-components/Rating/RatingContext.d.ts.map +1 -0
- package/dist/react-components/Rating/RatingContext.js +2 -0
- package/dist/react-components/Rating/RatingItems.d.ts +10 -0
- package/dist/react-components/Rating/RatingItems.d.ts.map +1 -0
- package/dist/react-components/Rating/RatingItems.js +13 -0
- package/dist/react-components/Rating/RatingRoot.d.ts +4 -0
- package/dist/react-components/Rating/RatingRoot.d.ts.map +1 -0
- package/dist/react-components/Rating/RatingRoot.js +8 -0
- package/dist/react-components/SelectBox/SelectBox.d.ts +17 -0
- package/dist/react-components/SelectBox/SelectBox.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBox.js +16 -0
- package/dist/react-components/SelectBox/SelectBoxContext.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxContext.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxContext.js +3 -0
- package/dist/react-components/SelectBox/SelectBoxField.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxField.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxField.js +8 -0
- package/dist/react-components/SelectBox/SelectBoxInput.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxInput.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxInput.js +4 -0
- package/dist/react-components/SelectBox/SelectBoxList.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxList.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxList.js +9 -0
- package/dist/react-components/SelectBox/SelectBoxOptions.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxOptions.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxOptions.js +42 -0
- package/dist/react-components/SelectBox/SelectBoxRoot.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxRoot.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxRoot.js +29 -0
- package/dist/react-components/SelectBox/SelectBoxSearchField.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxSearchField.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxSearchField.js +8 -0
- package/dist/react-components/SelectBox/SelectBoxSearchInput.d.ts +3 -0
- package/dist/react-components/SelectBox/SelectBoxSearchInput.d.ts.map +1 -0
- package/dist/react-components/SelectBox/SelectBoxSearchInput.js +4 -0
- package/dist/react-components/SelectBox/selectBoxTypes.d.ts +35 -0
- package/dist/react-components/SelectBox/selectBoxTypes.d.ts.map +1 -0
- package/dist/react-components/SelectBox/selectBoxTypes.js +1 -0
- package/dist/react-components/Sheet/Sheet.d.ts +16 -0
- package/dist/react-components/Sheet/Sheet.d.ts.map +1 -0
- package/dist/react-components/Sheet/Sheet.js +15 -0
- package/dist/react-components/Sheet/SheetBody.d.ts +4 -0
- package/dist/react-components/Sheet/SheetBody.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetBody.js +37 -0
- package/dist/react-components/Sheet/SheetContent.d.ts +4 -0
- package/dist/react-components/Sheet/SheetContent.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetContent.js +16 -0
- package/dist/react-components/Sheet/SheetContext.d.ts +11 -0
- package/dist/react-components/Sheet/SheetContext.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetContext.js +2 -0
- package/dist/react-components/Sheet/SheetHandlebar.d.ts +4 -0
- package/dist/react-components/Sheet/SheetHandlebar.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetHandlebar.js +5 -0
- package/dist/react-components/Sheet/SheetHeader.d.ts +4 -0
- package/dist/react-components/Sheet/SheetHeader.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetHeader.js +5 -0
- package/dist/react-components/Sheet/SheetPortal.d.ts +4 -0
- package/dist/react-components/Sheet/SheetPortal.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetPortal.js +11 -0
- package/dist/react-components/Sheet/SheetRoot.d.ts +4 -0
- package/dist/react-components/Sheet/SheetRoot.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetRoot.js +57 -0
- package/dist/react-components/Sheet/SheetToggle.d.ts +4 -0
- package/dist/react-components/Sheet/SheetToggle.d.ts.map +1 -0
- package/dist/react-components/Sheet/SheetToggle.js +11 -0
- package/dist/react-components/ShowMore/ShowMore.d.ts +10 -0
- package/dist/react-components/ShowMore/ShowMore.d.ts.map +1 -0
- package/dist/react-components/ShowMore/ShowMore.js +9 -0
- package/dist/react-components/ShowMore/ShowMoreContent.d.ts +4 -0
- package/dist/react-components/ShowMore/ShowMoreContent.d.ts.map +1 -0
- package/dist/react-components/ShowMore/ShowMoreContent.js +19 -0
- package/dist/react-components/ShowMore/ShowMoreContext.d.ts +10 -0
- package/dist/react-components/ShowMore/ShowMoreContext.d.ts.map +1 -0
- package/dist/react-components/ShowMore/ShowMoreContext.js +2 -0
- package/dist/react-components/ShowMore/ShowMoreFade.d.ts +4 -0
- package/dist/react-components/ShowMore/ShowMoreFade.d.ts.map +1 -0
- package/dist/react-components/ShowMore/ShowMoreFade.js +8 -0
- package/dist/react-components/ShowMore/ShowMoreRoot.d.ts +7 -0
- package/dist/react-components/ShowMore/ShowMoreRoot.d.ts.map +1 -0
- package/dist/react-components/ShowMore/ShowMoreRoot.js +21 -0
- package/dist/react-components/ShowMore/ShowMoreToggle.d.ts +4 -0
- package/dist/react-components/ShowMore/ShowMoreToggle.d.ts.map +1 -0
- package/dist/react-components/ShowMore/ShowMoreToggle.js +14 -0
- package/dist/react-components/Spoiler/Spoiler.d.ts +6 -0
- package/dist/react-components/Spoiler/Spoiler.d.ts.map +1 -0
- package/dist/react-components/Spoiler/Spoiler.js +5 -0
- package/dist/react-components/Spoiler/SpoilerBlur.d.ts +4 -0
- package/dist/react-components/Spoiler/SpoilerBlur.d.ts.map +1 -0
- package/dist/react-components/Spoiler/SpoilerBlur.js +8 -0
- package/dist/react-components/Spoiler/SpoilerContext.d.ts +7 -0
- package/dist/react-components/Spoiler/SpoilerContext.d.ts.map +1 -0
- package/dist/react-components/Spoiler/SpoilerContext.js +2 -0
- package/dist/react-components/Spoiler/SpoilerRoot.d.ts +4 -0
- package/dist/react-components/Spoiler/SpoilerRoot.d.ts.map +1 -0
- package/dist/react-components/Spoiler/SpoilerRoot.js +8 -0
- package/dist/react-components/Submit/Submit.d.ts +6 -0
- package/dist/react-components/Submit/Submit.d.ts.map +1 -0
- package/dist/react-components/Submit/Submit.js +5 -0
- package/dist/react-components/Submit/SubmitContext.d.ts +5 -0
- package/dist/react-components/Submit/SubmitContext.d.ts.map +1 -0
- package/dist/react-components/Submit/SubmitContext.js +2 -0
- package/dist/react-components/Submit/SubmitLoader.d.ts +6 -0
- package/dist/react-components/Submit/SubmitLoader.d.ts.map +1 -0
- package/dist/react-components/Submit/SubmitLoader.js +7 -0
- package/dist/react-components/Submit/SubmitRoot.d.ts +6 -0
- package/dist/react-components/Submit/SubmitRoot.d.ts.map +1 -0
- package/dist/react-components/Submit/SubmitRoot.js +8 -0
- package/dist/react-components/Swap/Swap.d.ts +6 -0
- package/dist/react-components/Swap/Swap.d.ts.map +1 -0
- package/dist/react-components/Swap/Swap.js +5 -0
- package/dist/react-components/Swap/SwapBtn.d.ts +6 -0
- package/dist/react-components/Swap/SwapBtn.d.ts.map +1 -0
- package/dist/react-components/Swap/SwapBtn.js +16 -0
- package/dist/react-components/Swap/SwapContext.d.ts +8 -0
- package/dist/react-components/Swap/SwapContext.d.ts.map +1 -0
- package/dist/react-components/Swap/SwapContext.js +2 -0
- package/dist/react-components/Swap/SwapRoot.d.ts +8 -0
- package/dist/react-components/Swap/SwapRoot.d.ts.map +1 -0
- package/dist/react-components/Swap/SwapRoot.js +6 -0
- package/dist/react-components/Tabs/Tabs.d.ts +10 -0
- package/dist/react-components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/react-components/Tabs/Tabs.js +9 -0
- package/dist/react-components/Tabs/TabsContext.d.ts +7 -0
- package/dist/react-components/Tabs/TabsContext.d.ts.map +1 -0
- package/dist/react-components/Tabs/TabsContext.js +5 -0
- package/dist/react-components/Tabs/TabsList.d.ts +4 -0
- package/dist/react-components/Tabs/TabsList.d.ts.map +1 -0
- package/dist/react-components/Tabs/TabsList.js +6 -0
- package/dist/react-components/Tabs/TabsPanel.d.ts +6 -0
- package/dist/react-components/Tabs/TabsPanel.d.ts.map +1 -0
- package/dist/react-components/Tabs/TabsPanel.js +9 -0
- package/dist/react-components/Tabs/TabsRoot.d.ts +7 -0
- package/dist/react-components/Tabs/TabsRoot.d.ts.map +1 -0
- package/dist/react-components/Tabs/TabsRoot.js +6 -0
- package/dist/react-components/Tabs/TabsTab.d.ts +6 -0
- package/dist/react-components/Tabs/TabsTab.d.ts.map +1 -0
- package/dist/react-components/Tabs/TabsTab.js +11 -0
- package/dist/react-components/Theme/Theme.d.ts +4 -0
- package/dist/react-components/Theme/Theme.d.ts.map +1 -0
- package/dist/react-components/Theme/Theme.js +3 -0
- package/dist/react-components/Theme/ThemeContext.d.ts +7 -0
- package/dist/react-components/Theme/ThemeContext.d.ts.map +1 -0
- package/dist/react-components/Theme/ThemeContext.js +3 -0
- package/dist/react-components/Theme/ThemeProvider.d.ts +5 -0
- package/dist/react-components/Theme/ThemeProvider.d.ts.map +1 -0
- package/dist/react-components/Theme/ThemeProvider.js +29 -0
- package/dist/react-components/Theme/ThemeScript.d.ts +2 -0
- package/dist/react-components/Theme/ThemeScript.d.ts.map +1 -0
- package/dist/react-components/Theme/ThemeScript.js +35 -0
- package/dist/react-components/Theme/useTheme.d.ts +5 -0
- package/dist/react-components/Theme/useTheme.d.ts.map +1 -0
- package/dist/react-components/Theme/useTheme.js +7 -0
- package/dist/react-exports.d.ts +28 -0
- package/dist/react-exports.d.ts.map +1 -0
- package/dist/react-exports.js +27 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils-exports.d.ts +4 -0
- package/dist/utils-exports.d.ts.map +1 -0
- package/dist/utils-exports.js +3 -0
- package/package.json +19 -18
|
@@ -7,10 +7,13 @@ export function ContextMenuRoot({ onContextMenu, ...p }) {
|
|
|
7
7
|
const [position, setPosition] = useState(undefined);
|
|
8
8
|
const [isOpen, setOpen] = useState(false);
|
|
9
9
|
const contentRef = useRef(null);
|
|
10
|
+
const closeHandler = () => {
|
|
11
|
+
setOpen(false);
|
|
12
|
+
setPosition(undefined);
|
|
13
|
+
};
|
|
10
14
|
const handleClickOutside = useCallback((ev) => {
|
|
11
15
|
if (!contentRef.current?.contains(ev.target)) {
|
|
12
|
-
|
|
13
|
-
setPosition(undefined);
|
|
16
|
+
closeHandler();
|
|
14
17
|
}
|
|
15
18
|
}, []);
|
|
16
19
|
useEffect(() => {
|
|
@@ -48,7 +51,7 @@ export function ContextMenuRoot({ onContextMenu, ...p }) {
|
|
|
48
51
|
setPosition({ x, y });
|
|
49
52
|
setOpen(true);
|
|
50
53
|
};
|
|
51
|
-
return (_jsx(ContextMenuContext, { value: { contentRef, isOpen, position }, children: _jsx("div", { onContextMenu: ev => {
|
|
54
|
+
return (_jsx(ContextMenuContext, { value: { contentRef, isOpen, closeHandler, position }, children: _jsx("div", { onContextMenu: ev => {
|
|
52
55
|
onContextMenu?.(ev);
|
|
53
56
|
handleContextMenu(ev);
|
|
54
57
|
}, ...p }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerBody.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,eAAe,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"DrawerBody.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,eAAe,EAAE,MAAM,eAAe,CAAC;AAMxD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChD,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,gBAAgB,2CAwD7E"}
|
|
@@ -3,13 +3,16 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { motion } from "framer-motion";
|
|
4
4
|
import { use, useEffect, useRef } from "react";
|
|
5
5
|
import { DrawerContext } from "./DrawerContext";
|
|
6
|
+
import { FRAMER_MOTION_DURATION } from "../../configs";
|
|
6
7
|
export function DrawerBody({ position, dir, children, ...p }) {
|
|
7
8
|
const { isOpen } = use(DrawerContext);
|
|
8
9
|
const bodyRef = useRef(null);
|
|
9
10
|
useEffect(() => {
|
|
10
11
|
if (isOpen) {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
setTimeout(() => {
|
|
13
|
+
const focusableElement = bodyRef.current?.querySelector("[data-drawer='focus']");
|
|
14
|
+
focusableElement?.focus();
|
|
15
|
+
}, FRAMER_MOTION_DURATION);
|
|
13
16
|
}
|
|
14
17
|
;
|
|
15
18
|
}, [isOpen]);
|
|
@@ -32,6 +35,6 @@ export function DrawerBody({ position, dir, children, ...p }) {
|
|
|
32
35
|
: currentPosition === "bottom"
|
|
33
36
|
? { bottom: 0, left: 0, right: 0 }
|
|
34
37
|
: { top: 0, bottom: 0, left: 0 })
|
|
35
|
-
}, transition: { ease: "easeInOut" }, ...p, children: children }));
|
|
38
|
+
}, transition: { ease: "easeInOut", duration: FRAMER_MOTION_DURATION }, ...p, children: children }));
|
|
36
39
|
}
|
|
37
40
|
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DrawerRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CA2CxD"}
|
|
@@ -7,9 +7,6 @@ import { getBrowserScrollbarWith } from "../../utils";
|
|
|
7
7
|
export function DrawerRoot({ children }) {
|
|
8
8
|
const pathname = usePathname();
|
|
9
9
|
const [isOpen, setOpen] = useState(false);
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
setOpen(false);
|
|
12
|
-
}, [pathname]);
|
|
13
10
|
useEffect(() => {
|
|
14
11
|
const handleEscape = (ev) => {
|
|
15
12
|
if (ev.key === "Escape") {
|
|
@@ -22,16 +19,23 @@ export function DrawerRoot({ children }) {
|
|
|
22
19
|
document.body.style.overflow = "unset";
|
|
23
20
|
};
|
|
24
21
|
}, []);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
setOpen(false);
|
|
24
|
+
}, [pathname]);
|
|
25
25
|
useEffect(() => {
|
|
26
26
|
const scrollbarWidth = getBrowserScrollbarWith();
|
|
27
|
+
const removeOverStyles = () => {
|
|
28
|
+
document.body.style.overflow = "unset";
|
|
29
|
+
document.body.style.paddingRight = "0px";
|
|
30
|
+
};
|
|
27
31
|
if (isOpen) {
|
|
28
32
|
document.body.style.overflow = "hidden";
|
|
29
33
|
document.body.style.paddingRight = `${scrollbarWidth}px`;
|
|
30
34
|
}
|
|
31
35
|
else {
|
|
32
|
-
|
|
33
|
-
document.body.style.paddingRight = "0px";
|
|
36
|
+
removeOverStyles();
|
|
34
37
|
}
|
|
38
|
+
return () => removeOverStyles();
|
|
35
39
|
}, [isOpen]);
|
|
36
40
|
return _jsx(DrawerContext, { value: { isOpen, setOpen }, children: children });
|
|
37
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerTogglePropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type DrawerTogglePropsT = ComponentProps<"button">;
|
|
3
3
|
export declare function DrawerToggle({ onClick, ...props }: DrawerTogglePropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=DrawerToggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerToggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerToggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE1D,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAYrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalBody.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAmB,eAAe,EAAU,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalBody.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAmB,eAAe,EAAU,MAAM,eAAe,CAAC;AAKzE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,wBAAgB,SAAS,CAAC,CAAC,EAAE,eAAe,2CA4B3C"}
|
|
@@ -3,14 +3,17 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { use, useEffect, useRef } from "react";
|
|
4
4
|
import { AnimatePresence, motion } from "framer-motion";
|
|
5
5
|
import { ModalContext } from "./ModalContext";
|
|
6
|
+
import { FRAMER_MOTION_DURATION } from "../../configs";
|
|
6
7
|
export function ModalBody(p) {
|
|
7
8
|
const { isOpen } = use(ModalContext);
|
|
8
|
-
const
|
|
9
|
+
const bodyRef = useRef(null);
|
|
9
10
|
useEffect(() => {
|
|
10
11
|
if (isOpen) {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
setTimeout(() => {
|
|
13
|
+
const focusableElement = bodyRef.current?.querySelector("[data-modal='focus']");
|
|
14
|
+
focusableElement?.focus();
|
|
15
|
+
}, FRAMER_MOTION_DURATION);
|
|
13
16
|
}
|
|
14
17
|
}, [isOpen]);
|
|
15
|
-
return (_jsx(AnimatePresence, { children: isOpen ? (_jsx(motion.div, { ref:
|
|
18
|
+
return (_jsx(AnimatePresence, { children: isOpen ? (_jsx(motion.div, { ref: bodyRef, initial: { opacity: 0, scale: 0.9 }, animate: { opacity: 1, scale: 1 }, exit: { opacity: 0, scale: 0.9 }, transition: { ease: "easeInOut", duration: FRAMER_MOTION_DURATION }, ...p })) : null }));
|
|
16
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type ModalContentPropsT =
|
|
1
|
+
import type { ComponentProps } from "react";
|
|
2
|
+
export type ModalContentPropsT = ComponentProps<"div">;
|
|
3
3
|
export declare function ModalContent({ onClick, ...p }: ModalContentPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ModalContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,kBAAkB,2CAUjE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type ModalHeaderPropsT =
|
|
1
|
+
import type { ComponentProps } from "react";
|
|
2
|
+
export type ModalHeaderPropsT = ComponentProps<"div">;
|
|
3
3
|
export declare function ModalHeader({ onClick, ...p }: ModalHeaderPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ModalHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,2CAU/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,WAAmB,EAAE,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"ModalRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,WAAmB,EAAE,EAAE,eAAe,2CA0C3E"}
|
|
@@ -7,9 +7,6 @@ import { getBrowserScrollbarWith } from "../../utils";
|
|
|
7
7
|
export function ModalRoot({ children, defaultOpen = false }) {
|
|
8
8
|
const pathname = usePathname();
|
|
9
9
|
const [isOpen, setOpen] = useState(defaultOpen);
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
setOpen(false);
|
|
12
|
-
}, [pathname]);
|
|
13
10
|
useEffect(() => {
|
|
14
11
|
const handleEscape = (e) => {
|
|
15
12
|
if (e.key === "Escape") {
|
|
@@ -22,16 +19,23 @@ export function ModalRoot({ children, defaultOpen = false }) {
|
|
|
22
19
|
document.body.style.overflow = "unset";
|
|
23
20
|
};
|
|
24
21
|
}, []);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
setOpen(false);
|
|
24
|
+
}, [pathname]);
|
|
25
25
|
useEffect(() => {
|
|
26
26
|
const scrollbarWidth = getBrowserScrollbarWith();
|
|
27
|
+
const removeOverStyles = () => {
|
|
28
|
+
document.body.style.overflow = "unset";
|
|
29
|
+
document.body.style.paddingRight = "0px";
|
|
30
|
+
};
|
|
27
31
|
if (isOpen) {
|
|
28
32
|
document.body.style.overflow = "hidden";
|
|
29
33
|
document.body.style.paddingRight = `${scrollbarWidth}px`;
|
|
30
34
|
}
|
|
31
35
|
else {
|
|
32
|
-
|
|
33
|
-
document.body.style.paddingRight = "0px";
|
|
36
|
+
removeOverStyles();
|
|
34
37
|
}
|
|
38
|
+
return () => removeOverStyles();
|
|
35
39
|
}, [isOpen]);
|
|
36
40
|
return _jsx(ModalContext, { value: { isOpen, setOpen }, children: children });
|
|
37
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ModalTogglePropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type ModalTogglePropsT = ComponentProps<"button">;
|
|
3
3
|
export declare function ModalToggle({ onClick, ...props }: ModalTogglePropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ModalTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEzD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAYnE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type OtpHiddenInputPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type OtpHiddenInputPropsT = ComponentProps<"input">;
|
|
3
3
|
export declare function OtpHiddenInput({ name, ...p }: OtpHiddenInputPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=OtpHiddenInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpHiddenInput.d.ts","sourceRoot":"","sources":["../../../src/components/Otp/OtpHiddenInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OtpHiddenInput.d.ts","sourceRoot":"","sources":["../../../src/components/Otp/OtpHiddenInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE3D,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,oBAAoB,2CAMlE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type OtpInputsPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type OtpInputsPropsT = ComponentProps<"input"> & {
|
|
3
3
|
length: number;
|
|
4
4
|
onLastChange?: (otp: string) => void;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpInputs.d.ts","sourceRoot":"","sources":["../../../src/components/Otp/OtpInputs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,
|
|
1
|
+
{"version":3,"file":"OtpInputs.d.ts","sourceRoot":"","sources":["../../../src/components/Otp/OtpInputs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,cAAc,EAAsB,MAAM,OAAO,CAAC;AAIhF,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,6CAwElF"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { AccessNavigationPropsT } from "../AccessNavigation/AccessNavigation";
|
|
2
|
-
export type OtpRootPropsT = Omit<AccessNavigationPropsT, "direction"
|
|
3
|
-
|
|
2
|
+
export type OtpRootPropsT = Omit<AccessNavigationPropsT, "direction"> & {
|
|
3
|
+
autoFocus?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare function OtpRoot({ autoFocus, ...p }: OtpRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
6
|
//# sourceMappingURL=OtpRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Otp/OtpRoot.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,sBAAsB,EACvB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"OtpRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Otp/OtpRoot.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,sBAAsB,EACvB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,EAAE,aAAa,2CAqBzD"}
|
|
@@ -3,11 +3,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import { OtpContext } from "./OtpContext";
|
|
5
5
|
import { AccessNavigation, } from "../AccessNavigation/AccessNavigation";
|
|
6
|
-
export function OtpRoot(p) {
|
|
6
|
+
export function OtpRoot({ autoFocus, ...p }) {
|
|
7
7
|
const inputs = useRef([]);
|
|
8
8
|
useEffect(() => {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
if (autoFocus) {
|
|
10
|
+
inputs.current[0]?.focus();
|
|
11
|
+
}
|
|
12
|
+
}, [autoFocus]);
|
|
11
13
|
const getInputsValue = () => {
|
|
12
14
|
return inputs?.current.map((input) => input?.value || "").join("") || "";
|
|
13
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PaginationCountsPropsT = Omit<
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PaginationCountsPropsT = Omit<ComponentProps<"button">, "children">;
|
|
3
3
|
export declare function PaginationCounts({ onClick, ...p }: PaginationCountsPropsT): import("react/jsx-runtime").JSX.Element[];
|
|
4
4
|
//# sourceMappingURL=PaginationCounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationCounts.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationCounts.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PaginationCounts.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationCounts.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;AAEhF,wBAAgB,gBAAgB,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,sBAAsB,6CAezE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PaginationNextBtnPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PaginationNextBtnPropsT = ComponentProps<"button"> & {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare function PaginationNextBtn({ onClick, disabled, ...p }: PaginationNextBtnPropsT): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationNextBtn.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationNextBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginationNextBtn.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationNextBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,uBAAuB,2CAarF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PaginationPrevBtnPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PaginationPrevBtnPropsT = ComponentProps<"button"> & {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare function PaginationPrevBtn({ onClick, disabled, ...p }: PaginationPrevBtnPropsT): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationPrevBtn.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationPrevBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginationPrevBtn.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationPrevBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAA;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,uBAAuB,2CAarF"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { SetStateAction, Dispatch } from "react";
|
|
1
2
|
import { PaginationPropsT } from "./PaginationTypes";
|
|
2
|
-
|
|
3
|
+
type PaginationStateRootPropsT = PaginationPropsT & {
|
|
4
|
+
page: number;
|
|
5
|
+
setPage: Dispatch<SetStateAction<number>>;
|
|
6
|
+
};
|
|
7
|
+
export declare function PaginationStateRoot({ page, setPage, pages, pagesLength, ...p }: PaginationStateRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
3
9
|
//# sourceMappingURL=PaginationStateRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationStateRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationStateRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationStateRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationStateRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGrD,KAAK,yBAAyB,GAAG,gBAAgB,GAAG;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CAC3C,CAAA;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,CAAC,EAAE,EAAE,yBAAyB,2CAoBzG"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
4
3
|
import { PaginationContext } from "./PaginationContext";
|
|
5
|
-
export function PaginationStateRoot({ pages, pagesLength, ...p }) {
|
|
6
|
-
const [page, setPage] = useState(1);
|
|
4
|
+
export function PaginationStateRoot({ page, setPage, pages, pagesLength, ...p }) {
|
|
7
5
|
const correctPagesLength = (pages?.length || pagesLength);
|
|
8
6
|
const nextPage = () => setPage((prev) => (prev < correctPagesLength ? prev + 1 : prev));
|
|
9
7
|
const prevPage = () => setPage((prev) => (prev > 1 ? prev - 1 : prev));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
2
|
export type PaginationPagesT = {
|
|
3
3
|
name: string;
|
|
4
4
|
component: ReactNode;
|
|
@@ -12,6 +12,6 @@ type PaginationWithPagesT = {
|
|
|
12
12
|
pagesLength?: never;
|
|
13
13
|
};
|
|
14
14
|
type MergedPaginationT = PaginationWithLengthT | PaginationWithPagesT;
|
|
15
|
-
export type PaginationPropsT =
|
|
15
|
+
export type PaginationPropsT = ComponentProps<"div"> & MergedPaginationT;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=PaginationTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationTypes.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginationTypes.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC;AAEF,KAAK,iBAAiB,GAAG,qBAAqB,GAAG,oBAAoB,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PasswordInputFieldPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PasswordInputFieldPropsT = ComponentProps<"input">;
|
|
3
3
|
export declare function PasswordInputField(props: PasswordInputFieldPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=PasswordInputField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInputField.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInputField.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PasswordInputField.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInputField.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE/D,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,2CAMjE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PasswordInputRootPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PasswordInputRootPropsT = ComponentProps<"label">;
|
|
3
3
|
export declare function PasswordInputRoot(props: PasswordInputRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=PasswordInputRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInputRoot.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInputRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PasswordInputRoot.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInputRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAItD,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE9D,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,2CAQ/D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PasswordInputTogglePropsT =
|
|
1
|
+
import { type ComponentProps, ReactNode } from "react";
|
|
2
|
+
export type PasswordInputTogglePropsT = ComponentProps<"button"> & {
|
|
3
3
|
visibleChildren: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
export declare function PasswordInputToggle({ visibleChildren, onClick, children, ...props }: PasswordInputTogglePropsT): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInputToggle.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInputToggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PasswordInputToggle.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInputToggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAI5D,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACjE,eAAe,EAAE,SAAS,CAAC;CAC5B,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,2CAe9G"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PopoverBody } from "./PopoverBody";
|
|
2
2
|
import { PopoverRoot } from "./PopoverRoot";
|
|
3
3
|
import { PopoverToggle } from "./PopoverToggle";
|
|
4
|
-
import {
|
|
4
|
+
import { PopoverNavigation } from "./PopoverNavigation";
|
|
5
5
|
export declare const Popover: typeof PopoverRoot & {
|
|
6
|
-
|
|
6
|
+
Navigation: typeof PopoverNavigation;
|
|
7
7
|
Toggle: typeof PopoverToggle;
|
|
8
8
|
Body: typeof PopoverBody;
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,OAAO;;;;CAIlB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PopoverBody } from "./PopoverBody";
|
|
2
2
|
import { PopoverRoot } from "./PopoverRoot";
|
|
3
3
|
import { PopoverToggle } from "./PopoverToggle";
|
|
4
|
-
import {
|
|
4
|
+
import { PopoverNavigation } from "./PopoverNavigation";
|
|
5
5
|
export const Popover = Object.assign(PopoverRoot, {
|
|
6
|
-
|
|
6
|
+
Navigation: PopoverNavigation,
|
|
7
7
|
Toggle: PopoverToggle,
|
|
8
8
|
Body: PopoverBody,
|
|
9
9
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PopoverBodyPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PopoverBodyPropsT = ComponentProps<"div"> & {
|
|
3
3
|
preventClose?: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare function PopoverBody({ preventClose, onClick, ...p }: PopoverBodyPropsT): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverBody.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PopoverBody.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,kDAiB7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopoverNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,sBAAsB,EACvB,MAAM,sCAAsC,CAAC;AAE9C,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,sBAAsB,2CAE1D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
2
|
import { PopoverContextT } from "./PopoverContext";
|
|
3
|
-
export type PopoverRootPropsT =
|
|
3
|
+
export type PopoverRootPropsT = ComponentProps<"div"> & {
|
|
4
4
|
mode?: PopoverContextT["mode"];
|
|
5
5
|
};
|
|
6
6
|
export declare function PopoverRoot({ mode, onMouseEnter, onMouseLeave, ...p }: PopoverRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PopoverRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAA+B,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAkB,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACtD,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,IAAc,EACd,YAAY,EACZ,YAAY,EACZ,GAAG,CAAC,EACL,EAAE,iBAAiB,2CAiEnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PopoverTogglePropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type PopoverTogglePropsT = ComponentProps<"button">;
|
|
3
3
|
export declare function PopoverToggle({ onClick, ...props }: PopoverTogglePropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=PopoverToggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverToggle.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverToggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PopoverToggle.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/PopoverToggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAO,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE3D,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAiBvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/ProgressRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"ProgressRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/ProgressRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAc,EAAE,GAAG,CAAC,EAAE,EAAE,kBAAkB,2CAM/E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QRCodeRenderersOptions } from "qrcode";
|
|
2
|
-
import {
|
|
3
|
-
export type QrCodePropsT =
|
|
2
|
+
import { type ComponentProps } from "react";
|
|
3
|
+
export type QrCodePropsT = ComponentProps<"canvas"> & {
|
|
4
4
|
value: string;
|
|
5
5
|
options?: QRCodeRenderersOptions;
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QrCode.d.ts","sourceRoot":"","sources":["../../../src/components/QrCode/QrCode.tsx"],"names":[],"mappings":"AAEA,OAAe,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"QrCode.d.ts","sourceRoot":"","sources":["../../../src/components/QrCode/QrCode.tsx"],"names":[],"mappings":"AAEA,OAAe,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AACxD,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,OAAO,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,OAAY,EAAE,GAAG,CAAC,EAAE,EAAE,YAAY,2CAgBjE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type RatingItemsPropsT =
|
|
1
|
+
import { type ComponentProps, ReactNode } from "react";
|
|
2
|
+
export type RatingItemsPropsT = ComponentProps<"button"> & {
|
|
3
3
|
count: number;
|
|
4
4
|
value: number;
|
|
5
5
|
onValueChange: (newValue: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RatingItems.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/RatingItems.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RatingItems.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/RatingItems.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAI5D,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,SAAS,CAAC;IACnB,aAAa,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,6CA0B3G"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type RatingRootPropsT =
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export type RatingRootPropsT = ComponentProps<"div">;
|
|
3
3
|
export declare const RatingRoot: (p: RatingRootPropsT) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=RatingRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RatingRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/RatingRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RatingRoot.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/RatingRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAItD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAErD,eAAO,MAAM,UAAU,GAAI,GAAG,gBAAgB,4CAW7C,CAAA"}
|