@kadoui/react 2.0.1 → 2.1.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 +1052 -376
- package/dist/react-components/Accordion/Accordion.d.ts +1 -0
- package/dist/react-components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/react-components/Accordion/Accordion.js +1 -0
- package/dist/react-components/Accordion/AccordionBody.d.ts +1 -2
- package/dist/react-components/Accordion/AccordionBody.d.ts.map +1 -1
- package/dist/react-components/Accordion/AccordionContext.d.ts +1 -5
- package/dist/react-components/Accordion/AccordionContext.d.ts.map +1 -1
- package/dist/react-components/Accordion/AccordionRoot.d.ts +1 -2
- package/dist/react-components/Accordion/AccordionRoot.d.ts.map +1 -1
- package/dist/react-components/Accordion/AccordionToggle.d.ts +1 -4
- package/dist/react-components/Accordion/AccordionToggle.d.ts.map +1 -1
- package/dist/react-components/Accordion/accordionTypes.d.ts +12 -0
- package/dist/react-components/Accordion/accordionTypes.d.ts.map +1 -0
- package/dist/react-components/Accordion/accordionTypes.js +1 -0
- package/dist/react-components/Affix/Affix.d.ts +1 -2
- package/dist/react-components/Affix/Affix.d.ts.map +1 -1
- package/dist/react-components/Affix/affixTypes.d.ts +3 -0
- package/dist/react-components/Affix/affixTypes.d.ts.map +1 -0
- package/dist/react-components/Affix/affixTypes.js +1 -0
- package/dist/react-components/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/dist/react-components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/react-components/Breadcrumbs/Breadcrumbs.js +1 -0
- package/dist/react-components/Breadcrumbs/BreadcrumbsContext.d.ts +1 -4
- package/dist/react-components/Breadcrumbs/BreadcrumbsContext.d.ts.map +1 -1
- package/dist/react-components/Breadcrumbs/BreadcrumbsItem.d.ts +1 -4
- package/dist/react-components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/react-components/Breadcrumbs/BreadcrumbsRoot.d.ts +1 -4
- package/dist/react-components/Breadcrumbs/BreadcrumbsRoot.d.ts.map +1 -1
- package/dist/react-components/Breadcrumbs/breadcrumbsTypes.d.ts +11 -0
- package/dist/react-components/Breadcrumbs/breadcrumbsTypes.d.ts.map +1 -0
- package/dist/react-components/Breadcrumbs/breadcrumbsTypes.js +1 -0
- package/dist/react-components/Carousel/Carousel.d.ts +1 -0
- package/dist/react-components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/react-components/Carousel/Carousel.js +1 -0
- package/dist/react-components/Carousel/CarouselContainer.d.ts +1 -2
- package/dist/react-components/Carousel/CarouselContainer.d.ts.map +1 -1
- package/dist/react-components/Carousel/CarouselContext.d.ts +1 -8
- package/dist/react-components/Carousel/CarouselContext.d.ts.map +1 -1
- package/dist/react-components/Carousel/CarouselLeftFade.d.ts +1 -3
- package/dist/react-components/Carousel/CarouselLeftFade.d.ts.map +1 -1
- package/dist/react-components/Carousel/CarouselNextBtn.d.ts +1 -2
- package/dist/react-components/Carousel/CarouselNextBtn.d.ts.map +1 -1
- package/dist/react-components/Carousel/CarouselPrevBtn.d.ts +1 -2
- package/dist/react-components/Carousel/CarouselPrevBtn.d.ts.map +1 -1
- package/dist/react-components/Carousel/CarouselRightFade.d.ts +1 -3
- package/dist/react-components/Carousel/CarouselRightFade.d.ts.map +1 -1
- package/dist/react-components/Carousel/CarouselRoot.d.ts +1 -4
- package/dist/react-components/Carousel/CarouselRoot.d.ts.map +1 -1
- package/dist/react-components/Carousel/carouselTypes.d.ts +17 -0
- package/dist/react-components/Carousel/carouselTypes.d.ts.map +1 -0
- package/dist/react-components/Carousel/carouselTypes.js +1 -0
- package/dist/react-components/Choice/Choice.d.ts +1 -0
- package/dist/react-components/Choice/Choice.d.ts.map +1 -1
- package/dist/react-components/Choice/Choice.js +1 -0
- package/dist/react-components/Choice/ChoiceContext.d.ts +1 -16
- package/dist/react-components/Choice/ChoiceContext.d.ts.map +1 -1
- package/dist/react-components/Choice/ChoiceNavigation.d.ts +1 -3
- package/dist/react-components/Choice/ChoiceNavigation.d.ts.map +1 -1
- package/dist/react-components/Choice/ChoiceRoot.d.ts +1 -4
- package/dist/react-components/Choice/ChoiceRoot.d.ts.map +1 -1
- package/dist/react-components/Choice/ChoiceTrigger.d.ts +1 -5
- package/dist/react-components/Choice/ChoiceTrigger.d.ts.map +1 -1
- package/dist/react-components/Choice/choiceTypes.d.ts +23 -0
- package/dist/react-components/Choice/choiceTypes.d.ts.map +1 -0
- package/dist/react-components/Choice/choiceTypes.js +1 -0
- package/dist/react-components/ClientOnly/ClientOnly.d.ts +1 -2
- package/dist/react-components/ClientOnly/ClientOnly.d.ts.map +1 -1
- package/dist/react-components/ClientOnly/clientOnlyTypes.d.ts +3 -0
- package/dist/react-components/ClientOnly/clientOnlyTypes.d.ts.map +1 -0
- package/dist/react-components/ClientOnly/clientOnlyTypes.js +1 -0
- package/dist/react-components/Clipboard/Clipboard.d.ts +1 -6
- package/dist/react-components/Clipboard/Clipboard.d.ts.map +1 -1
- package/dist/react-components/Clipboard/clipboardTypes.d.ts +7 -0
- package/dist/react-components/Clipboard/clipboardTypes.d.ts.map +1 -0
- package/dist/react-components/Clipboard/clipboardTypes.js +1 -0
- package/dist/react-components/ContextMenu/ContextMenu.d.ts +1 -0
- package/dist/react-components/ContextMenu/ContextMenu.d.ts.map +1 -1
- package/dist/react-components/ContextMenu/ContextMenu.js +1 -0
- package/dist/react-components/ContextMenu/ContextMenuBody.d.ts +1 -2
- package/dist/react-components/ContextMenu/ContextMenuBody.d.ts.map +1 -1
- package/dist/react-components/ContextMenu/ContextMenuContext.d.ts +1 -10
- package/dist/react-components/ContextMenu/ContextMenuContext.d.ts.map +1 -1
- package/dist/react-components/ContextMenu/ContextMenuContext.js +1 -1
- package/dist/react-components/ContextMenu/ContextMenuItem.d.ts +1 -3
- package/dist/react-components/ContextMenu/ContextMenuItem.d.ts.map +1 -1
- package/dist/react-components/ContextMenu/ContextMenuNavigation.d.ts +1 -3
- package/dist/react-components/ContextMenu/ContextMenuNavigation.d.ts.map +1 -1
- package/dist/react-components/ContextMenu/ContextMenuNavigation.js +1 -1
- package/dist/react-components/ContextMenu/ContextMenuRoot.d.ts +1 -2
- package/dist/react-components/ContextMenu/ContextMenuRoot.d.ts.map +1 -1
- package/dist/react-components/ContextMenu/contextMenuTypes.d.ts +16 -0
- package/dist/react-components/ContextMenu/contextMenuTypes.d.ts.map +1 -0
- package/dist/react-components/ContextMenu/contextMenuTypes.js +1 -0
- package/dist/react-components/Drawer/Drawer.d.ts +1 -0
- package/dist/react-components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/react-components/Drawer/Drawer.js +1 -0
- package/dist/react-components/Drawer/DrawerBody.d.ts +1 -4
- package/dist/react-components/Drawer/DrawerBody.d.ts.map +1 -1
- package/dist/react-components/Drawer/DrawerBody.js +1 -1
- package/dist/react-components/Drawer/DrawerContext.d.ts +1 -5
- package/dist/react-components/Drawer/DrawerContext.d.ts.map +1 -1
- package/dist/react-components/Drawer/DrawerPortal.d.ts +1 -2
- package/dist/react-components/Drawer/DrawerPortal.d.ts.map +1 -1
- package/dist/react-components/Drawer/DrawerPortal.js +1 -1
- package/dist/react-components/Drawer/DrawerRoot.d.ts +1 -2
- package/dist/react-components/Drawer/DrawerRoot.d.ts.map +1 -1
- package/dist/react-components/Drawer/DrawerRoot.js +1 -1
- package/dist/react-components/Drawer/DrawerToggle.d.ts +1 -2
- package/dist/react-components/Drawer/DrawerToggle.d.ts.map +1 -1
- package/dist/react-components/Drawer/drawerTypes.d.ts +13 -0
- package/dist/react-components/Drawer/drawerTypes.d.ts.map +1 -0
- package/dist/react-components/Drawer/drawerTypes.js +1 -0
- package/dist/react-components/Modal/Modal.d.ts +1 -0
- package/dist/react-components/Modal/Modal.d.ts.map +1 -1
- package/dist/react-components/Modal/Modal.js +1 -0
- package/dist/react-components/Modal/ModalBody.d.ts +1 -2
- package/dist/react-components/Modal/ModalBody.d.ts.map +1 -1
- package/dist/react-components/Modal/ModalBody.js +1 -1
- package/dist/react-components/Modal/ModalContent.d.ts +1 -2
- package/dist/react-components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/react-components/Modal/ModalContext.d.ts +1 -5
- package/dist/react-components/Modal/ModalContext.d.ts.map +1 -1
- package/dist/react-components/Modal/ModalHeader.d.ts +1 -2
- package/dist/react-components/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/react-components/Modal/ModalPortal.d.ts +1 -2
- package/dist/react-components/Modal/ModalPortal.d.ts.map +1 -1
- package/dist/react-components/Modal/ModalPortal.js +1 -1
- package/dist/react-components/Modal/ModalRoot.d.ts +1 -4
- package/dist/react-components/Modal/ModalRoot.d.ts.map +1 -1
- package/dist/react-components/Modal/ModalRoot.js +1 -1
- package/dist/react-components/Modal/ModalTrigger.d.ts +1 -2
- package/dist/react-components/Modal/ModalTrigger.d.ts.map +1 -1
- package/dist/react-components/Modal/modalTypes.d.ts +15 -0
- package/dist/react-components/Modal/modalTypes.d.ts.map +1 -0
- package/dist/react-components/Modal/modalTypes.js +1 -0
- package/dist/react-components/Otp/Otp.d.ts +1 -0
- package/dist/react-components/Otp/Otp.d.ts.map +1 -1
- package/dist/react-components/Otp/Otp.js +1 -0
- package/dist/react-components/Otp/OtpContext.d.ts +2 -6
- package/dist/react-components/Otp/OtpContext.d.ts.map +1 -1
- package/dist/react-components/Otp/OtpHiddenInput.d.ts +1 -2
- package/dist/react-components/Otp/OtpHiddenInput.d.ts.map +1 -1
- package/dist/react-components/Otp/OtpInputs.d.ts +1 -5
- package/dist/react-components/Otp/OtpInputs.d.ts.map +1 -1
- package/dist/react-components/Otp/OtpRoot.d.ts +1 -4
- package/dist/react-components/Otp/OtpRoot.d.ts.map +1 -1
- package/dist/react-components/Otp/OtpRoot.js +1 -1
- package/dist/react-components/Otp/otpTypes.d.ts +15 -0
- package/dist/react-components/Otp/otpTypes.d.ts.map +1 -0
- package/dist/react-components/Otp/otpTypes.js +1 -0
- package/dist/react-components/Pagination/PaginationContext.d.ts +1 -10
- package/dist/react-components/Pagination/PaginationContext.d.ts.map +1 -1
- package/dist/react-components/Pagination/PaginationCounts.d.ts +1 -2
- package/dist/react-components/Pagination/PaginationCounts.d.ts.map +1 -1
- package/dist/react-components/Pagination/PaginationNextBtn.d.ts +1 -4
- package/dist/react-components/Pagination/PaginationNextBtn.d.ts.map +1 -1
- package/dist/react-components/Pagination/PaginationPrevBtn.d.ts +1 -4
- package/dist/react-components/Pagination/PaginationPrevBtn.d.ts.map +1 -1
- package/dist/react-components/Pagination/PaginationSearchParamsRoot.d.ts +1 -4
- package/dist/react-components/Pagination/PaginationSearchParamsRoot.d.ts.map +1 -1
- package/dist/react-components/Pagination/PaginationStateRoot.d.ts +1 -7
- package/dist/react-components/Pagination/PaginationStateRoot.d.ts.map +1 -1
- package/dist/react-components/Pagination/PaginationTypes.d.ts +23 -1
- package/dist/react-components/Pagination/PaginationTypes.d.ts.map +1 -1
- package/dist/react-components/PasswordInput/PasswordInput.d.ts +1 -0
- package/dist/react-components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/react-components/PasswordInput/PasswordInput.js +1 -0
- package/dist/react-components/PasswordInput/PasswordInputContext.d.ts +1 -5
- package/dist/react-components/PasswordInput/PasswordInputContext.d.ts.map +1 -1
- package/dist/react-components/PasswordInput/PasswordInputField.d.ts +1 -2
- package/dist/react-components/PasswordInput/PasswordInputField.d.ts.map +1 -1
- package/dist/react-components/PasswordInput/PasswordInputRoot.d.ts +1 -2
- package/dist/react-components/PasswordInput/PasswordInputRoot.d.ts.map +1 -1
- package/dist/react-components/PasswordInput/PasswordInputToggle.d.ts +1 -4
- package/dist/react-components/PasswordInput/PasswordInputToggle.d.ts.map +1 -1
- package/dist/react-components/PasswordInput/passwordInputTypes.d.ts +11 -0
- package/dist/react-components/PasswordInput/passwordInputTypes.d.ts.map +1 -0
- package/dist/react-components/PasswordInput/passwordInputTypes.js +1 -0
- package/dist/react-components/Popover/Popover.d.ts +1 -0
- package/dist/react-components/Popover/Popover.d.ts.map +1 -1
- package/dist/react-components/Popover/Popover.js +1 -0
- package/dist/react-components/Popover/PopoverBody.d.ts +1 -4
- package/dist/react-components/Popover/PopoverBody.d.ts.map +1 -1
- package/dist/react-components/Popover/PopoverContext.d.ts +1 -8
- package/dist/react-components/Popover/PopoverContext.d.ts.map +1 -1
- package/dist/react-components/Popover/PopoverNavigation.d.ts +2 -2
- package/dist/react-components/Popover/PopoverNavigation.d.ts.map +1 -1
- package/dist/react-components/Popover/PopoverNavigation.js +1 -1
- package/dist/react-components/Popover/PopoverRoot.d.ts +1 -5
- package/dist/react-components/Popover/PopoverRoot.d.ts.map +1 -1
- package/dist/react-components/Popover/PopoverToggle.d.ts +1 -2
- package/dist/react-components/Popover/PopoverToggle.d.ts.map +1 -1
- package/dist/react-components/Popover/popoverTypes.d.ts +18 -0
- package/dist/react-components/Popover/popoverTypes.d.ts.map +1 -0
- package/dist/react-components/Popover/popoverTypes.js +1 -0
- package/dist/react-components/Portal/Portal.d.ts +1 -4
- package/dist/react-components/Portal/Portal.d.ts.map +1 -1
- package/dist/react-components/Portal/portalTypes.d.ts +5 -0
- package/dist/react-components/Portal/portalTypes.d.ts.map +1 -0
- package/dist/react-components/Portal/portalTypes.js +1 -0
- package/dist/react-components/Progress/Progress.d.ts +1 -0
- package/dist/react-components/Progress/Progress.d.ts.map +1 -1
- package/dist/react-components/Progress/Progress.js +1 -0
- package/dist/react-components/Progress/ProgressBar.d.ts +1 -4
- package/dist/react-components/Progress/ProgressBar.d.ts.map +1 -1
- package/dist/react-components/Progress/ProgressContext.d.ts +1 -4
- package/dist/react-components/Progress/ProgressContext.d.ts.map +1 -1
- package/dist/react-components/Progress/ProgressRoot.d.ts +1 -5
- package/dist/react-components/Progress/ProgressRoot.d.ts.map +1 -1
- package/dist/react-components/Progress/progressTypes.d.ts +14 -0
- package/dist/react-components/Progress/progressTypes.d.ts.map +1 -0
- package/dist/react-components/Progress/progressTypes.js +1 -0
- package/dist/react-components/QrCode/QrCode.d.ts +1 -6
- package/dist/react-components/QrCode/QrCode.d.ts.map +1 -1
- package/dist/react-components/QrCode/qrCodeTypes.d.ts +7 -0
- package/dist/react-components/QrCode/qrCodeTypes.d.ts.map +1 -0
- package/dist/react-components/QrCode/qrCodeTypes.js +1 -0
- package/dist/react-components/Rating/Rating.d.ts +2 -1
- package/dist/react-components/Rating/Rating.d.ts.map +1 -1
- package/dist/react-components/Rating/Rating.js +1 -0
- package/dist/react-components/Rating/RatingContext.d.ts +1 -5
- package/dist/react-components/Rating/RatingContext.d.ts.map +1 -1
- package/dist/react-components/Rating/RatingItems.d.ts +1 -8
- package/dist/react-components/Rating/RatingItems.d.ts.map +1 -1
- package/dist/react-components/Rating/RatingRoot.d.ts +1 -2
- package/dist/react-components/Rating/RatingRoot.d.ts.map +1 -1
- package/dist/react-components/Rating/ratingTypes.d.ts +14 -0
- package/dist/react-components/Rating/ratingTypes.d.ts.map +1 -0
- package/dist/react-components/Rating/ratingTypes.js +1 -0
- package/dist/react-components/Sheet/Sheet.d.ts +1 -0
- package/dist/react-components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/react-components/Sheet/Sheet.js +1 -0
- package/dist/react-components/Sheet/SheetBody.d.ts +1 -2
- package/dist/react-components/Sheet/SheetBody.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetBody.js +1 -1
- package/dist/react-components/Sheet/SheetContent.d.ts +1 -2
- package/dist/react-components/Sheet/SheetContent.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetContext.d.ts +1 -9
- package/dist/react-components/Sheet/SheetContext.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetHandlebar.d.ts +1 -2
- package/dist/react-components/Sheet/SheetHandlebar.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetHeader.d.ts +1 -2
- package/dist/react-components/Sheet/SheetHeader.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetPortal.d.ts +1 -2
- package/dist/react-components/Sheet/SheetPortal.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetPortal.js +1 -1
- package/dist/react-components/Sheet/SheetRoot.d.ts +1 -2
- package/dist/react-components/Sheet/SheetRoot.d.ts.map +1 -1
- package/dist/react-components/Sheet/SheetRoot.js +1 -1
- package/dist/react-components/Sheet/SheetToggle.d.ts +1 -2
- package/dist/react-components/Sheet/SheetToggle.d.ts.map +1 -1
- package/dist/react-components/Sheet/sheetTypes.d.ts +17 -0
- package/dist/react-components/Sheet/sheetTypes.d.ts.map +1 -0
- package/dist/react-components/Sheet/sheetTypes.js +1 -0
- package/dist/react-components/ShowMore/ShowMore.d.ts +1 -0
- package/dist/react-components/ShowMore/ShowMore.d.ts.map +1 -1
- package/dist/react-components/ShowMore/ShowMore.js +1 -0
- package/dist/react-components/ShowMore/ShowMoreContent.d.ts +1 -2
- package/dist/react-components/ShowMore/ShowMoreContent.d.ts.map +1 -1
- package/dist/react-components/ShowMore/ShowMoreContext.d.ts +1 -8
- package/dist/react-components/ShowMore/ShowMoreContext.d.ts.map +1 -1
- package/dist/react-components/ShowMore/ShowMoreFade.d.ts +1 -2
- package/dist/react-components/ShowMore/ShowMoreFade.d.ts.map +1 -1
- package/dist/react-components/ShowMore/ShowMoreRoot.d.ts +1 -5
- package/dist/react-components/ShowMore/ShowMoreRoot.d.ts.map +1 -1
- package/dist/react-components/ShowMore/ShowMoreToggle.d.ts +1 -2
- package/dist/react-components/ShowMore/ShowMoreToggle.d.ts.map +1 -1
- package/dist/react-components/ShowMore/showMoreTypes.d.ts +16 -0
- package/dist/react-components/ShowMore/showMoreTypes.d.ts.map +1 -0
- package/dist/react-components/ShowMore/showMoreTypes.js +1 -0
- package/dist/react-components/Spoiler/Spoiler.d.ts +1 -0
- package/dist/react-components/Spoiler/Spoiler.d.ts.map +1 -1
- package/dist/react-components/Spoiler/Spoiler.js +1 -0
- package/dist/react-components/Spoiler/SpoilerBlur.d.ts +1 -2
- package/dist/react-components/Spoiler/SpoilerBlur.d.ts.map +1 -1
- package/dist/react-components/Spoiler/SpoilerContext.d.ts +1 -5
- package/dist/react-components/Spoiler/SpoilerContext.d.ts.map +1 -1
- package/dist/react-components/Spoiler/SpoilerRoot.d.ts +1 -2
- package/dist/react-components/Spoiler/SpoilerRoot.d.ts.map +1 -1
- package/dist/react-components/Spoiler/spoilerTypes.d.ts +8 -0
- package/dist/react-components/Spoiler/spoilerTypes.d.ts.map +1 -0
- package/dist/react-components/Spoiler/spoilerTypes.js +1 -0
- package/dist/react-components/Submit/Submit.d.ts +1 -0
- package/dist/react-components/Submit/Submit.d.ts.map +1 -1
- package/dist/react-components/Submit/Submit.js +1 -0
- package/dist/react-components/Submit/SubmitContext.d.ts +1 -3
- package/dist/react-components/Submit/SubmitContext.d.ts.map +1 -1
- package/dist/react-components/Submit/SubmitLoader.d.ts +2 -5
- package/dist/react-components/Submit/SubmitLoader.d.ts.map +1 -1
- package/dist/react-components/Submit/SubmitRoot.d.ts +1 -4
- package/dist/react-components/Submit/SubmitRoot.d.ts.map +1 -1
- package/dist/react-components/Submit/submitTypes.d.ts +11 -0
- package/dist/react-components/Submit/submitTypes.d.ts.map +1 -0
- package/dist/react-components/Submit/submitTypes.js +1 -0
- package/dist/react-components/Swap/Swap.d.ts +1 -0
- package/dist/react-components/Swap/Swap.d.ts.map +1 -1
- package/dist/react-components/Swap/Swap.js +1 -0
- package/dist/react-components/Swap/SwapBtn.d.ts +1 -4
- package/dist/react-components/Swap/SwapBtn.d.ts.map +1 -1
- package/dist/react-components/Swap/SwapContext.d.ts +1 -6
- package/dist/react-components/Swap/SwapContext.d.ts.map +1 -1
- package/dist/react-components/Swap/SwapRoot.d.ts +1 -6
- package/dist/react-components/Swap/SwapRoot.d.ts.map +1 -1
- package/dist/react-components/Swap/swapTypes.d.ts +15 -0
- package/dist/react-components/Swap/swapTypes.d.ts.map +1 -0
- package/dist/react-components/Swap/swapTypes.js +1 -0
- package/dist/react-components/Tabs/Tabs.d.ts +1 -0
- package/dist/react-components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/react-components/Tabs/Tabs.js +1 -0
- package/dist/react-components/Tabs/TabsContext.d.ts +1 -5
- package/dist/react-components/Tabs/TabsContext.d.ts.map +1 -1
- package/dist/react-components/Tabs/TabsList.d.ts +1 -2
- package/dist/react-components/Tabs/TabsList.d.ts.map +1 -1
- package/dist/react-components/Tabs/TabsPanel.d.ts +1 -4
- package/dist/react-components/Tabs/TabsPanel.d.ts.map +1 -1
- package/dist/react-components/Tabs/TabsRoot.d.ts +1 -5
- package/dist/react-components/Tabs/TabsRoot.d.ts.map +1 -1
- package/dist/react-components/Tabs/TabsTab.d.ts +1 -4
- package/dist/react-components/Tabs/TabsTab.d.ts.map +1 -1
- package/dist/react-components/Tabs/tabsTypes.d.ts +18 -0
- package/dist/react-components/Tabs/tabsTypes.d.ts.map +1 -0
- package/dist/react-components/Tabs/tabsTypes.js +1 -0
- package/dist/react-components/Theme/Theme.d.ts +1 -0
- package/dist/react-components/Theme/Theme.d.ts.map +1 -1
- package/dist/react-components/Theme/Theme.js +1 -0
- package/dist/react-components/Theme/ThemeContext.d.ts +1 -5
- package/dist/react-components/Theme/ThemeContext.d.ts.map +1 -1
- package/dist/react-components/Theme/ThemeProvider.d.ts +1 -3
- package/dist/react-components/Theme/ThemeProvider.d.ts.map +1 -1
- package/dist/react-components/Theme/themeTypes.d.ts +8 -0
- package/dist/react-components/Theme/themeTypes.d.ts.map +1 -0
- package/dist/react-components/Theme/themeTypes.js +1 -0
- package/dist/react-components/Theme/useTheme.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ContextMenuContextT = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
closeHandler: () => void;
|
|
5
|
-
position: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
} | undefined;
|
|
9
|
-
contentRef: RefObject<HTMLDivElement | null>;
|
|
10
|
-
};
|
|
1
|
+
import type { ContextMenuContextT } from "./contextMenuTypes";
|
|
11
2
|
export declare const ContextMenuContext: import("react").Context<ContextMenuContextT>;
|
|
12
3
|
//# sourceMappingURL=ContextMenuContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenuContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextMenuContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,eAAO,MAAM,kBAAkB,8CAAgE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { createContext } from
|
|
1
|
+
import { createContext } from "react";
|
|
2
2
|
export const ContextMenuContext = createContext({});
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type ContextMenuItemPropsT = ComponentProps<"button">;
|
|
1
|
+
import type { ContextMenuItemPropsT } from "./contextMenuTypes";
|
|
3
2
|
export declare function ContextMenuItem({ onClick, ...p }: ContextMenuItemPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export {};
|
|
5
3
|
//# sourceMappingURL=ContextMenuItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenuItem.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextMenuItem.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuItem.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,qBAAqB,2CASvE"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type ContextMenuNavigationPropsT = AccessNavigationPropsT;
|
|
1
|
+
import type { ContextMenuNavigationPropsT } from "./contextMenuTypes";
|
|
3
2
|
export declare function ContextMenuNavigation(p: ContextMenuNavigationPropsT): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
-
export {};
|
|
5
3
|
//# sourceMappingURL=ContextMenuNavigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenuNavigation.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuNavigation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextMenuNavigation.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuNavigation.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAEtE,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,2BAA2B,kDAInE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { use } from "react";
|
|
4
|
-
import { ContextMenuContext } from "./ContextMenuContext";
|
|
5
4
|
import { AccessNavigation } from "../AccessNavigation/AccessNavigation";
|
|
5
|
+
import { ContextMenuContext } from "./ContextMenuContext";
|
|
6
6
|
export function ContextMenuNavigation(p) {
|
|
7
7
|
const { isOpen } = use(ContextMenuContext);
|
|
8
8
|
return isOpen ? _jsx(AccessNavigation, { focusOnMount: true, ...p }) : null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ContextMenuRootPropsT = ComponentProps<"div">;
|
|
1
|
+
import type { ContextMenuRootPropsT } from "./contextMenuTypes";
|
|
3
2
|
export declare function ContextMenuRoot({ onContextMenu, ...p }: ContextMenuRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ContextMenuRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenuRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextMenuRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/ContextMenuRoot.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAuB,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAErF,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,GAAG,CAAC,EAAE,EAAE,qBAAqB,2CAyE7E"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ComponentProps, RefObject } from "react";
|
|
2
|
+
import type { AccessNavigationPropsT } from "../AccessNavigation/AccessNavigation";
|
|
3
|
+
export type ContextMenuContextT = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
closeHandler: () => void;
|
|
6
|
+
position: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
} | undefined;
|
|
10
|
+
contentRef: RefObject<HTMLDivElement | null>;
|
|
11
|
+
};
|
|
12
|
+
export type ContextMenuRootPropsT = ComponentProps<"div">;
|
|
13
|
+
export type ContextMenuBodyPropsT = ComponentProps<"div">;
|
|
14
|
+
export type ContextMenuItemPropsT = ComponentProps<"button">;
|
|
15
|
+
export type ContextMenuNavigationPropsT = AccessNavigationPropsT;
|
|
16
|
+
//# sourceMappingURL=contextMenuTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextMenuTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/ContextMenu/contextMenuTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAY,SAAS,EAAkB,MAAM,OAAO,CAAC;AAEjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1D,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1D,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE7D,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/Drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,MAAM;;;;CAIjB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/Drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,MAAM;;;;CAIjB,CAAC;AAEH,cAAc,eAAe,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerBodyPropsT = HTMLMotionProps<"div"> & {
|
|
3
|
-
position?: "top" | "right" | "bottom" | "left";
|
|
4
|
-
};
|
|
1
|
+
import type { DrawerBodyPropsT } from "./drawerTypes";
|
|
5
2
|
export declare function DrawerBody({ position, dir, children, ...p }: DrawerBodyPropsT): import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=DrawerBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerBody.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerBody.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerBody.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerBody.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,gBAAgB,2CAwD7E"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { motion } from "framer-motion";
|
|
4
4
|
import { use, useEffect, useRef } from "react";
|
|
5
|
-
import { DrawerContext } from "./DrawerContext";
|
|
6
5
|
import { FRAMER_MOTION_DURATION } from "../../configs";
|
|
6
|
+
import { DrawerContext } from "./DrawerContext";
|
|
7
7
|
export function DrawerBody({ position, dir, children, ...p }) {
|
|
8
8
|
const { isOpen } = use(DrawerContext);
|
|
9
9
|
const bodyRef = useRef(null);
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerContextT = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
setOpen: Dispatch<SetStateAction<boolean>>;
|
|
5
|
-
};
|
|
1
|
+
import type { DrawerContextT } from "./drawerTypes";
|
|
6
2
|
export declare const DrawerContext: import("react").Context<DrawerContextT>;
|
|
7
3
|
//# sourceMappingURL=DrawerContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,aAAa,yCAAsD,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerPortalPropsT = HTMLMotionProps<"div">;
|
|
1
|
+
import type { DrawerPortalPropsT } from "./drawerTypes";
|
|
3
2
|
export declare function DrawerPortal({ onClick, ...p }: DrawerPortalPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=DrawerPortal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerPortal.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerPortal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerPortal.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerPortal.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,kBAAkB,2CAuBjE"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { motion, AnimatePresence } from "framer-motion";
|
|
5
|
+
import { ClientOnly } from "../ClientOnly/ClientOnly";
|
|
5
6
|
import { Portal } from "../Portal/Portal";
|
|
6
7
|
import { DrawerContext } from "./DrawerContext";
|
|
7
|
-
import { ClientOnly } from "../ClientOnly/ClientOnly";
|
|
8
8
|
export function DrawerPortal({ onClick, ...p }) {
|
|
9
9
|
const { isOpen, setOpen } = use(DrawerContext);
|
|
10
10
|
return (_jsx(ClientOnly, { children: _jsx(Portal, { children: _jsx(AnimatePresence, { children: isOpen ? (_jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, onClick: ev => {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerRootPropsT = PropsWithChildren;
|
|
1
|
+
import type { DrawerRootPropsT } from "./drawerTypes";
|
|
3
2
|
export declare function DrawerRoot({ children }: DrawerRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=DrawerRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerRoot.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CA2CxD"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { usePathname } from "next/navigation";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
|
-
import { DrawerContext } from "./DrawerContext";
|
|
6
5
|
import { getBrowserScrollbarWith } from "../../utils-exports";
|
|
6
|
+
import { DrawerContext } from "./DrawerContext";
|
|
7
7
|
export function DrawerRoot({ children }) {
|
|
8
8
|
const pathname = usePathname();
|
|
9
9
|
const [isOpen, setOpen] = useState(false);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerTogglePropsT = ComponentProps<"button">;
|
|
1
|
+
import type { DrawerTogglePropsT } from "./drawerTypes";
|
|
3
2
|
export declare function DrawerToggle({ onClick, ...props }: DrawerTogglePropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=DrawerToggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerToggle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAYrE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { HTMLMotionProps } from "framer-motion";
|
|
2
|
+
import type { ComponentProps, Dispatch, PropsWithChildren, SetStateAction } from "react";
|
|
3
|
+
export type DrawerContextT = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
setOpen: Dispatch<SetStateAction<boolean>>;
|
|
6
|
+
};
|
|
7
|
+
export type DrawerRootPropsT = PropsWithChildren;
|
|
8
|
+
export type DrawerBodyPropsT = HTMLMotionProps<"div"> & {
|
|
9
|
+
position?: "top" | "right" | "bottom" | "left";
|
|
10
|
+
};
|
|
11
|
+
export type DrawerTogglePropsT = ComponentProps<"button">;
|
|
12
|
+
export type DrawerPortalPropsT = HTMLMotionProps<"div">;
|
|
13
|
+
//# sourceMappingURL=drawerTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawerTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/drawerTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/Modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,KAAK;;;;;;CAMhB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/Modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,KAAK;;;;;;CAMhB,CAAC;AAEH,cAAc,cAAc,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ModalBodyPropsT = HTMLMotionProps<"div">;
|
|
1
|
+
import type { ModalBodyPropsT } from "./modalTypes";
|
|
3
2
|
export declare function ModalBody(p: ModalBodyPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ModalBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalBody.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalBody.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,wBAAgB,SAAS,CAAC,CAAC,EAAE,eAAe,2CA4B3C"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
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
|
-
import { ModalContext } from "./ModalContext";
|
|
6
5
|
import { FRAMER_MOTION_DURATION } from "../../configs";
|
|
6
|
+
import { ModalContext } from "./ModalContext";
|
|
7
7
|
export function ModalBody(p) {
|
|
8
8
|
const { isOpen } = use(ModalContext);
|
|
9
9
|
const bodyRef = useRef(null);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type ModalContentPropsT = ComponentProps<"div">;
|
|
1
|
+
import type { ModalContentPropsT } from "./modalTypes";
|
|
3
2
|
export declare function ModalContent({ onClick, ...p }: ModalContentPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ModalContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,kBAAkB,2CAUjE"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ModalContextT = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
setOpen: Dispatch<SetStateAction<boolean>>;
|
|
5
|
-
};
|
|
1
|
+
import type { ModalContextT } from "./modalTypes";
|
|
6
2
|
export declare const ModalContext: import("react").Context<ModalContextT>;
|
|
7
3
|
//# sourceMappingURL=ModalContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,eAAO,MAAM,YAAY,wCAAoD,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type ModalHeaderPropsT = ComponentProps<"div">;
|
|
1
|
+
import type { ModalHeaderPropsT } from "./modalTypes";
|
|
3
2
|
export declare function ModalHeader({ onClick, ...p }: ModalHeaderPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ModalHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,2CAU/D"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ModalPortalPropsT = HTMLMotionProps<"div">;
|
|
1
|
+
import type { ModalPortalPropsT } from "./modalTypes";
|
|
3
2
|
export declare function ModalPortal({ onClick, ...p }: ModalPortalPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ModalPortal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalPortal.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalPortal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalPortal.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalPortal.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,2CAuB/D"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { motion, AnimatePresence } from "framer-motion";
|
|
5
|
+
import { ClientOnly } from "../ClientOnly/ClientOnly";
|
|
5
6
|
import { Portal } from "../Portal/Portal";
|
|
6
7
|
import { ModalContext } from "./ModalContext";
|
|
7
|
-
import { ClientOnly } from "../ClientOnly/ClientOnly";
|
|
8
8
|
export function ModalPortal({ onClick, ...p }) {
|
|
9
9
|
const { isOpen, setOpen } = use(ModalContext);
|
|
10
10
|
return (_jsx(ClientOnly, { children: _jsx(Portal, { children: _jsx(AnimatePresence, { children: isOpen ? (_jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, onClick: (ev) => {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ModalRootPropsT = PropsWithChildren & {
|
|
3
|
-
defaultOpen?: boolean;
|
|
4
|
-
};
|
|
1
|
+
import type { ModalRootPropsT } from "./modalTypes";
|
|
5
2
|
export declare function ModalRoot({ children, defaultOpen }: ModalRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=ModalRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalRoot.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,WAAmB,EAAE,EAAE,eAAe,2CA0C3E"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { usePathname } from "next/navigation";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
|
-
import { ModalContext } from "./ModalContext";
|
|
6
5
|
import { getBrowserScrollbarWith } from "../../utils-exports";
|
|
6
|
+
import { ModalContext } from "./ModalContext";
|
|
7
7
|
export function ModalRoot({ children, defaultOpen = false }) {
|
|
8
8
|
const pathname = usePathname();
|
|
9
9
|
const [isOpen, setOpen] = useState(defaultOpen);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type ModalTogglePropsT = ComponentProps<"button">;
|
|
1
|
+
import type { ModalTogglePropsT } from "./modalTypes";
|
|
3
2
|
export declare function ModalToggle({ onClick, ...props }: ModalTogglePropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ModalTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAYnE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { HTMLMotionProps } from "framer-motion";
|
|
2
|
+
import type { ComponentProps, Dispatch, PropsWithChildren, SetStateAction } from "react";
|
|
3
|
+
export type ModalContextT = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
setOpen: Dispatch<SetStateAction<boolean>>;
|
|
6
|
+
};
|
|
7
|
+
export type ModalRootPropsT = PropsWithChildren & {
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type ModalContentPropsT = ComponentProps<"div">;
|
|
11
|
+
export type ModalHeaderPropsT = ComponentProps<"div">;
|
|
12
|
+
export type ModalTogglePropsT = ComponentProps<"button">;
|
|
13
|
+
export type ModalBodyPropsT = HTMLMotionProps<"div">;
|
|
14
|
+
export type ModalPortalPropsT = HTMLMotionProps<"div">;
|
|
15
|
+
//# sourceMappingURL=modalTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modalTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/modalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Otp.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/Otp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,GAAG;;;CAGd,CAAC"}
|
|
1
|
+
{"version":3,"file":"Otp.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/Otp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,GAAG;;;CAGd,CAAC;AAEH,cAAc,YAAY,CAAC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
inputs?: RefObject<(HTMLInputElement | null)[]>;
|
|
4
|
-
getInputsValue: () => string;
|
|
5
|
-
};
|
|
6
|
-
export declare const OtpContext: import("react").Context<createContextT>;
|
|
1
|
+
import type { OtpContextT } from "./otpTypes";
|
|
2
|
+
export declare const OtpContext: import("react").Context<OtpContextT>;
|
|
7
3
|
//# sourceMappingURL=OtpContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OtpContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,UAAU,sCAErB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type OtpHiddenInputPropsT = ComponentProps<"input">;
|
|
1
|
+
import type { OtpHiddenInputPropsT } from "./otpTypes";
|
|
3
2
|
export declare function OtpHiddenInput({ name, ...p }: OtpHiddenInputPropsT): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=OtpHiddenInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpHiddenInput.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpHiddenInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OtpHiddenInput.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpHiddenInput.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,oBAAoB,2CAMlE"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type OtpInputsPropsT = ComponentProps<"input"> & {
|
|
3
|
-
length: number;
|
|
4
|
-
onLastChange?: (otp: string) => void;
|
|
5
|
-
};
|
|
1
|
+
import type { OtpInputsPropsT } from "./otpTypes";
|
|
6
2
|
export declare function OtpInputs({ name, length, onLastChange, ...props }: OtpInputsPropsT): import("react/jsx-runtime").JSX.Element[];
|
|
7
3
|
//# sourceMappingURL=OtpInputs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpInputs.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpInputs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OtpInputs.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpInputs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,6CAwElF"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type OtpRootPropsT = Omit<AccessNavigationPropsT, "direction"> & {
|
|
3
|
-
autoFocus?: boolean;
|
|
4
|
-
};
|
|
1
|
+
import type { OtpRootPropsT } from "./otpTypes";
|
|
5
2
|
export declare function OtpRoot({ autoFocus, ...p }: OtpRootPropsT): import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=OtpRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtpRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OtpRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpRoot.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,EAAE,aAAa,2CAqBzD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
|
+
import { AccessNavigation } from "../AccessNavigation/AccessNavigation";
|
|
4
5
|
import { OtpContext } from "./OtpContext";
|
|
5
|
-
import { AccessNavigation, } from "../AccessNavigation/AccessNavigation";
|
|
6
6
|
export function OtpRoot({ autoFocus, ...p }) {
|
|
7
7
|
const inputs = useRef([]);
|
|
8
8
|
useEffect(() => {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComponentProps, RefObject } from "react";
|
|
2
|
+
import type { AccessNavigationPropsT } from "../AccessNavigation/AccessNavigation";
|
|
3
|
+
export type OtpContextT = {
|
|
4
|
+
inputs?: RefObject<(HTMLInputElement | null)[]>;
|
|
5
|
+
getInputsValue: () => string;
|
|
6
|
+
};
|
|
7
|
+
export type OtpRootPropsT = Omit<AccessNavigationPropsT, "direction"> & {
|
|
8
|
+
autoFocus?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type OtpInputsPropsT = ComponentProps<"input"> & {
|
|
11
|
+
length: number;
|
|
12
|
+
onLastChange?: (otp: string) => void;
|
|
13
|
+
};
|
|
14
|
+
export type OtpHiddenInputPropsT = ComponentProps<"input">;
|
|
15
|
+
//# sourceMappingURL=otpTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"otpTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/otpTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC,CAAC,gBAAgB,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;IAChD,cAAc,EAAE,MAAM,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,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,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PaginationPagesT } from "./PaginationTypes";
|
|
3
|
-
export type PaginationContextT = {
|
|
4
|
-
pages?: PaginationPagesT[];
|
|
5
|
-
pagesLength: number;
|
|
6
|
-
page: number;
|
|
7
|
-
setPage: Dispatch<SetStateAction<number>>;
|
|
8
|
-
nextPage: () => void;
|
|
9
|
-
prevPage: () => void;
|
|
10
|
-
};
|
|
1
|
+
import type { PaginationContextT } from "./PaginationTypes";
|
|
11
2
|
export declare const PaginationContext: import("react").Context<PaginationContextT>;
|
|
12
3
|
//# sourceMappingURL=PaginationContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Pagination/PaginationContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationContext.d.ts","sourceRoot":"","sources":["../../../src/react-components/Pagination/PaginationContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,eAAO,MAAM,iBAAiB,6CAE7B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PaginationCountsPropsT = Omit<ComponentProps<"button">, "children">;
|
|
1
|
+
import type { PaginationCountsPropsT } from "./PaginationTypes";
|
|
3
2
|
export declare function PaginationCounts({ onClick, ...p }: PaginationCountsPropsT): import("react/jsx-runtime").JSX.Element[];
|
|
4
3
|
//# sourceMappingURL=PaginationCounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationCounts.d.ts","sourceRoot":"","sources":["../../../src/react-components/Pagination/PaginationCounts.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationCounts.d.ts","sourceRoot":"","sources":["../../../src/react-components/Pagination/PaginationCounts.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,wBAAgB,gBAAgB,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,sBAAsB,6CAezE"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type PaginationNextBtnPropsT = ComponentProps<"button"> & {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
};
|
|
1
|
+
import type { PaginationNextBtnPropsT } from "./PaginationTypes";
|
|
5
2
|
export declare function PaginationNextBtn({ onClick, disabled, ...p }: PaginationNextBtnPropsT): import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=PaginationNextBtn.d.ts.map
|