@zentauri-ui/zentauri-components 1.3.0 → 1.3.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/dist/hooks/index.d.ts +27 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useBodyScrollLock/index.d.ts +2 -0
- package/dist/hooks/useBodyScrollLock/index.d.ts.map +1 -0
- package/dist/hooks/{useBodyScrollLock.d.ts → useBodyScrollLock/useBodyScrollLock.d.ts} +2 -3
- package/dist/hooks/useBodyScrollLock/useBodyScrollLock.d.ts.map +1 -0
- package/dist/hooks/useClickOutside/index.d.ts +2 -0
- package/dist/hooks/useClickOutside/index.d.ts.map +1 -0
- package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +6 -7
- package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useClipboard/index.d.ts +2 -0
- package/dist/hooks/useClipboard/index.d.ts.map +1 -0
- package/dist/hooks/{useClipboard.d.ts → useClipboard/useClipboard.d.ts} +3 -4
- package/dist/hooks/useClipboard/useClipboard.d.ts.map +1 -0
- package/dist/hooks/useControllableState/index.d.ts +2 -0
- package/dist/hooks/useControllableState/index.d.ts.map +1 -0
- package/dist/hooks/{useControllableState.d.ts → useControllableState/useControllableState.d.ts} +3 -4
- package/dist/hooks/useControllableState/useControllableState.d.ts.map +1 -0
- package/dist/hooks/useDebouncedValue/index.d.ts +2 -0
- package/dist/hooks/useDebouncedValue/index.d.ts.map +1 -0
- package/dist/hooks/{useDebouncedValue.d.ts → useDebouncedValue/useDebouncedValue.d.ts} +2 -3
- package/dist/hooks/useDebouncedValue/useDebouncedValue.d.ts.map +1 -0
- package/dist/hooks/useDisclosure/index.d.ts +2 -0
- package/dist/hooks/useDisclosure/index.d.ts.map +1 -0
- package/dist/hooks/{useDisclosure.d.ts → useDisclosure/useDisclosure.d.ts} +4 -5
- package/dist/hooks/useDisclosure/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useDocumentTitle/index.d.ts +2 -0
- package/dist/hooks/useDocumentTitle/index.d.ts.map +1 -0
- package/dist/hooks/{useDocumentTitle.d.ts → useDocumentTitle/useDocumentTitle.d.ts} +3 -4
- package/dist/hooks/useDocumentTitle/useDocumentTitle.d.ts.map +1 -0
- package/dist/hooks/useFocusManagement/index.d.ts +2 -0
- package/dist/hooks/useFocusManagement/index.d.ts.map +1 -0
- package/dist/hooks/{useFocusManagement.d.ts → useFocusManagement/useFocusManagement.d.ts} +3 -5
- package/dist/hooks/useFocusManagement/useFocusManagement.d.ts.map +1 -0
- package/dist/hooks/useHover/index.d.ts +2 -0
- package/dist/hooks/useHover/index.d.ts.map +1 -0
- package/dist/hooks/{useHover.d.ts → useHover/useHover.d.ts} +3 -5
- package/dist/hooks/useHover/useHover.d.ts.map +1 -0
- package/dist/hooks/useInView/index.d.ts +2 -0
- package/dist/hooks/useInView/index.d.ts.map +1 -0
- package/dist/hooks/{useInView.d.ts → useInView/useInView.d.ts} +4 -6
- package/dist/hooks/useInView/useInView.d.ts.map +1 -0
- package/dist/hooks/useIntersectionObserver/index.d.ts +2 -0
- package/dist/hooks/useIntersectionObserver/index.d.ts.map +1 -0
- package/dist/hooks/{useIntersectionObserver.d.ts → useIntersectionObserver/useIntersectionObserver.d.ts} +4 -6
- package/dist/hooks/useIntersectionObserver/useIntersectionObserver.d.ts.map +1 -0
- package/dist/hooks/useIsMounted/index.d.ts +2 -0
- package/dist/hooks/useIsMounted/index.d.ts.map +1 -0
- package/dist/hooks/{useIsMounted.d.ts → useIsMounted/useIsMounted.d.ts} +2 -3
- package/dist/hooks/useIsMounted/useIsMounted.d.ts.map +1 -0
- package/dist/hooks/useIsomorphicLayoutEffect/index.d.ts +2 -0
- package/dist/hooks/useIsomorphicLayoutEffect/index.d.ts.map +1 -0
- package/dist/hooks/{useIsomorphicLayoutEffect.d.ts → useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts} +3 -5
- package/dist/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/hooks/useLocalStorage/index.d.ts +2 -0
- package/dist/hooks/useLocalStorage/index.d.ts.map +1 -0
- package/dist/hooks/{useLocalStorage.d.ts → useLocalStorage/useLocalStorage.d.ts} +3 -4
- package/dist/hooks/useLocalStorage/useLocalStorage.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery/index.d.ts +2 -0
- package/dist/hooks/useMediaQuery/index.d.ts.map +1 -0
- package/dist/hooks/{useMediaQuery.d.ts → useMediaQuery/useMediaQuery.d.ts} +2 -3
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -0
- package/dist/hooks/useNetworkStatus/index.d.ts +2 -0
- package/dist/hooks/useNetworkStatus/index.d.ts.map +1 -0
- package/dist/hooks/{useNetworkStatus.d.ts → useNetworkStatus/useNetworkStatus.d.ts} +2 -3
- package/dist/hooks/useNetworkStatus/useNetworkStatus.d.ts.map +1 -0
- package/dist/hooks/usePageVisibility/index.d.ts +2 -0
- package/dist/hooks/usePageVisibility/index.d.ts.map +1 -0
- package/dist/hooks/{usePageVisibility.d.ts → usePageVisibility/usePageVisibility.d.ts} +2 -3
- package/dist/hooks/usePageVisibility/usePageVisibility.d.ts.map +1 -0
- package/dist/hooks/usePagination/index.d.ts +2 -0
- package/dist/hooks/usePagination/index.d.ts.map +1 -0
- package/dist/hooks/usePagination/usePagination.d.ts +30 -0
- package/dist/hooks/usePagination/usePagination.d.ts.map +1 -0
- package/dist/hooks/usePrefersColorScheme/index.d.ts +2 -0
- package/dist/hooks/usePrefersColorScheme/index.d.ts.map +1 -0
- package/dist/hooks/{usePrefersColorScheme.d.ts → usePrefersColorScheme/usePrefersColorScheme.d.ts} +3 -4
- package/dist/hooks/usePrefersColorScheme/usePrefersColorScheme.d.ts.map +1 -0
- package/dist/hooks/usePrefersReducedMotion/index.d.ts +2 -0
- package/dist/hooks/usePrefersReducedMotion/index.d.ts.map +1 -0
- package/dist/hooks/{usePrefersReducedMotion.d.ts → usePrefersReducedMotion/usePrefersReducedMotion.d.ts} +2 -3
- package/dist/hooks/usePrefersReducedMotion/usePrefersReducedMotion.d.ts.map +1 -0
- package/dist/hooks/useResizeObserver/index.d.ts +2 -0
- package/dist/hooks/useResizeObserver/index.d.ts.map +1 -0
- package/dist/hooks/{useResizeObserver.d.ts → useResizeObserver/useResizeObserver.d.ts} +5 -7
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -0
- package/dist/hooks/useSessionStorage/index.d.ts +2 -0
- package/dist/hooks/useSessionStorage/index.d.ts.map +1 -0
- package/dist/hooks/{useSessionStorage.d.ts → useSessionStorage/useSessionStorage.d.ts} +3 -4
- package/dist/hooks/useSessionStorage/useSessionStorage.d.ts.map +1 -0
- package/dist/hooks/useThrottledCallback/index.d.ts +2 -0
- package/dist/hooks/useThrottledCallback/index.d.ts.map +1 -0
- package/dist/hooks/{useThrottledCallback.d.ts → useThrottledCallback/useThrottledCallback.d.ts} +2 -3
- package/dist/hooks/useThrottledCallback/useThrottledCallback.d.ts.map +1 -0
- package/dist/hooks/useToggle/index.d.ts +2 -0
- package/dist/hooks/useToggle/index.d.ts.map +1 -0
- package/dist/hooks/{useToggle.d.ts → useToggle/useToggle.d.ts} +2 -3
- package/dist/hooks/useToggle/useToggle.d.ts.map +1 -0
- package/dist/hooks/useWindowSize/index.d.ts +2 -0
- package/dist/hooks/useWindowSize/index.d.ts.map +1 -0
- package/dist/hooks/{useWindowSize.d.ts → useWindowSize/useWindowSize.d.ts} +3 -4
- package/dist/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/ui/accordion/accordion-base.d.ts +20 -0
- package/dist/ui/accordion/accordion-base.d.ts.map +1 -0
- package/dist/ui/accordion/accordion.d.ts +8 -0
- package/dist/ui/accordion/accordion.d.ts.map +1 -0
- package/dist/ui/accordion/animated/accordion-content-animated.d.ts +6 -0
- package/dist/ui/accordion/animated/accordion-content-animated.d.ts.map +1 -0
- package/dist/ui/accordion/animated/accordion-root-animated.d.ts +6 -0
- package/dist/ui/accordion/animated/accordion-root-animated.d.ts.map +1 -0
- package/dist/ui/accordion/animated/animations.d.ts +6 -0
- package/dist/ui/accordion/animated/animations.d.ts.map +1 -0
- package/dist/ui/accordion/animated/index.d.ts +6 -0
- package/dist/ui/accordion/animated/index.d.ts.map +1 -0
- package/dist/ui/accordion/animated/types.d.ts +6 -0
- package/dist/ui/accordion/animated/types.d.ts.map +1 -0
- package/dist/ui/accordion/index.d.ts +5 -0
- package/dist/ui/accordion/index.d.ts.map +1 -0
- package/dist/ui/accordion/types.d.ts +39 -0
- package/dist/ui/accordion/types.d.ts.map +1 -0
- package/dist/ui/accordion/variants.d.ts +14 -0
- package/dist/ui/accordion/variants.d.ts.map +1 -0
- package/dist/ui/alert/alert-base.d.ts +28 -0
- package/dist/ui/alert/alert-base.d.ts.map +1 -0
- package/dist/ui/alert/alert.d.ts +6 -0
- package/dist/ui/alert/alert.d.ts.map +1 -0
- package/dist/ui/alert/animated/alert-animated.d.ts +3 -0
- package/dist/ui/alert/animated/alert-animated.d.ts.map +1 -0
- package/dist/ui/alert/animated/animations.d.ts +3 -0
- package/dist/ui/alert/animated/animations.d.ts.map +1 -0
- package/dist/ui/alert/animated/index.d.ts +4 -0
- package/dist/ui/alert/animated/index.d.ts.map +1 -0
- package/dist/ui/alert/animated/types.d.ts +8 -0
- package/dist/ui/alert/animated/types.d.ts.map +1 -0
- package/dist/ui/alert/index.d.ts +5 -0
- package/dist/ui/alert/index.d.ts.map +1 -0
- package/dist/ui/alert/types.d.ts +21 -0
- package/dist/ui/alert/types.d.ts.map +1 -0
- package/dist/ui/alert/variants.d.ts +11 -0
- package/dist/ui/alert/variants.d.ts.map +1 -0
- package/dist/ui/avatar/animated/animations.d.ts +3 -0
- package/dist/ui/avatar/animated/animations.d.ts.map +1 -0
- package/dist/ui/avatar/animated/avatar-animated.d.ts +6 -0
- package/dist/ui/avatar/animated/avatar-animated.d.ts.map +1 -0
- package/dist/ui/avatar/animated/index.d.ts +5 -0
- package/dist/ui/avatar/animated/index.d.ts.map +1 -0
- package/dist/ui/avatar/animated/types.d.ts +8 -0
- package/dist/ui/avatar/animated/types.d.ts.map +1 -0
- package/dist/ui/avatar/avatar-base.d.ts +25 -0
- package/dist/ui/avatar/avatar-base.d.ts.map +1 -0
- package/dist/ui/avatar/avatar.d.ts +8 -0
- package/dist/ui/avatar/avatar.d.ts.map +1 -0
- package/dist/ui/avatar/index.d.ts +5 -0
- package/dist/ui/avatar/index.d.ts.map +1 -0
- package/dist/ui/avatar/types.d.ts +25 -0
- package/dist/ui/avatar/types.d.ts.map +1 -0
- package/dist/ui/avatar/variants.d.ts +8 -0
- package/dist/ui/avatar/variants.d.ts.map +1 -0
- package/dist/ui/badge/animated/animations.d.ts +3 -0
- package/dist/ui/badge/animated/animations.d.ts.map +1 -0
- package/dist/ui/badge/animated/badge-animated.d.ts +6 -0
- package/dist/ui/badge/animated/badge-animated.d.ts.map +1 -0
- package/dist/ui/badge/animated/index.d.ts +4 -0
- package/dist/ui/badge/animated/index.d.ts.map +1 -0
- package/dist/ui/badge/animated/types.d.ts +10 -0
- package/dist/ui/badge/animated/types.d.ts.map +1 -0
- package/dist/ui/badge/badge-base.d.ts +6 -0
- package/dist/ui/badge/badge-base.d.ts.map +1 -0
- package/dist/ui/badge/badge.d.ts +6 -0
- package/dist/ui/badge/badge.d.ts.map +1 -0
- package/dist/ui/badge/index.d.ts +4 -0
- package/dist/ui/badge/index.d.ts.map +1 -0
- package/dist/ui/badge/types.d.ts +17 -0
- package/dist/ui/badge/types.d.ts.map +1 -0
- package/dist/ui/badge/variants.d.ts +40 -0
- package/dist/ui/badge/variants.d.ts.map +1 -0
- package/dist/ui/breadcrumb/breadcrumb.d.ts +33 -0
- package/dist/ui/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/ui/breadcrumb/index.d.ts +4 -0
- package/dist/ui/breadcrumb/index.d.ts.map +1 -0
- package/dist/ui/breadcrumb/types.d.ts +26 -0
- package/dist/ui/breadcrumb/types.d.ts.map +1 -0
- package/dist/ui/breadcrumb/variants.d.ts +11 -0
- package/dist/ui/breadcrumb/variants.d.ts.map +1 -0
- package/dist/ui/buttons/animated/animations.d.ts +3 -0
- package/dist/ui/buttons/animated/animations.d.ts.map +1 -0
- package/dist/ui/buttons/animated/button-animated.d.ts +6 -0
- package/dist/ui/buttons/animated/button-animated.d.ts.map +1 -0
- package/dist/ui/buttons/animated/index.d.ts +4 -0
- package/dist/ui/buttons/animated/index.d.ts.map +1 -0
- package/dist/ui/buttons/animated/types.d.ts +16 -0
- package/dist/ui/buttons/animated/types.d.ts.map +1 -0
- package/dist/ui/buttons/button-base.d.ts +6 -0
- package/dist/ui/buttons/button-base.d.ts.map +1 -0
- package/dist/ui/buttons/button.d.ts +6 -0
- package/dist/ui/buttons/button.d.ts.map +1 -0
- package/dist/ui/buttons/index.d.ts +4 -0
- package/dist/ui/buttons/index.d.ts.map +1 -0
- package/dist/ui/buttons/types.d.ts +10 -0
- package/dist/ui/buttons/types.d.ts.map +1 -0
- package/dist/{variants-Dd9pe-ov.d.mts → ui/buttons/variants.d.ts} +4 -7
- package/dist/ui/buttons/variants.d.ts.map +1 -0
- package/dist/ui/card/animated/animations.d.ts +7 -0
- package/dist/ui/card/animated/animations.d.ts.map +1 -0
- package/dist/ui/card/animated/card-animated.d.ts +6 -0
- package/dist/ui/card/animated/card-animated.d.ts.map +1 -0
- package/dist/ui/card/animated/index.d.ts +5 -0
- package/dist/ui/card/animated/index.d.ts.map +1 -0
- package/dist/ui/card/animated/types.d.ts +6 -0
- package/dist/ui/card/animated/types.d.ts.map +1 -0
- package/dist/ui/card/card-base.d.ts +26 -0
- package/dist/ui/card/card-base.d.ts.map +1 -0
- package/dist/ui/card/card.d.ts +6 -0
- package/dist/ui/card/card.d.ts.map +1 -0
- package/dist/ui/card/index.d.ts +5 -0
- package/dist/ui/card/index.d.ts.map +1 -0
- package/dist/ui/card/types.d.ts +29 -0
- package/dist/ui/card/types.d.ts.map +1 -0
- package/dist/ui/card/variants.d.ts +18 -0
- package/dist/ui/card/variants.d.ts.map +1 -0
- package/dist/ui/divider/animated/animations.d.ts +6 -0
- package/dist/ui/divider/animated/animations.d.ts.map +1 -0
- package/dist/ui/divider/animated/divider-animated.d.ts +6 -0
- package/dist/ui/divider/animated/divider-animated.d.ts.map +1 -0
- package/dist/ui/divider/animated/index.d.ts +3 -0
- package/dist/ui/divider/animated/index.d.ts.map +1 -0
- package/dist/ui/divider/animated/types.d.ts +8 -0
- package/dist/ui/divider/animated/types.d.ts.map +1 -0
- package/dist/ui/divider/divider-base.d.ts +6 -0
- package/dist/ui/divider/divider-base.d.ts.map +1 -0
- package/dist/ui/divider/divider.d.ts +6 -0
- package/dist/ui/divider/divider.d.ts.map +1 -0
- package/dist/ui/divider/index.d.ts +4 -0
- package/dist/ui/divider/index.d.ts.map +1 -0
- package/dist/ui/divider/types.d.ts +15 -0
- package/dist/ui/divider/types.d.ts.map +1 -0
- package/dist/ui/divider/variants.d.ts +14 -0
- package/dist/ui/divider/variants.d.ts.map +1 -0
- package/dist/ui/drawer/animated/animations.d.ts +3 -0
- package/dist/ui/drawer/animated/animations.d.ts.map +1 -0
- package/dist/ui/drawer/animated/drawer-content-animated.d.ts +6 -0
- package/dist/ui/drawer/animated/drawer-content-animated.d.ts.map +1 -0
- package/dist/ui/drawer/animated/index.d.ts +5 -0
- package/dist/ui/drawer/animated/index.d.ts.map +1 -0
- package/dist/ui/drawer/animated/types.d.ts +9 -0
- package/dist/ui/drawer/animated/types.d.ts.map +1 -0
- package/dist/ui/drawer/drawer-base.d.ts +35 -0
- package/dist/ui/drawer/drawer-base.d.ts.map +1 -0
- package/dist/ui/drawer/drawer.d.ts +2 -0
- package/dist/ui/drawer/drawer.d.ts.map +1 -0
- package/dist/ui/drawer/index.d.ts +4 -0
- package/dist/ui/drawer/index.d.ts.map +1 -0
- package/dist/ui/drawer/types.d.ts +33 -0
- package/dist/ui/drawer/types.d.ts.map +1 -0
- package/dist/ui/drawer/variants.d.ts +10 -0
- package/dist/ui/drawer/variants.d.ts.map +1 -0
- package/dist/ui/dropdown/dropdown.d.ts +6 -0
- package/dist/ui/dropdown/dropdown.d.ts.map +1 -0
- package/dist/ui/dropdown/index.d.ts +4 -0
- package/dist/ui/dropdown/index.d.ts.map +1 -0
- package/dist/ui/dropdown/types.d.ts +38 -0
- package/dist/ui/dropdown/types.d.ts.map +1 -0
- package/dist/ui/dropdown/variants.d.ts +12 -0
- package/dist/ui/dropdown/variants.d.ts.map +1 -0
- package/dist/ui/empty-state/animated/animations.d.ts +3 -0
- package/dist/ui/empty-state/animated/animations.d.ts.map +1 -0
- package/dist/ui/empty-state/animated/empty-state-animated.d.ts +6 -0
- package/dist/ui/empty-state/animated/empty-state-animated.d.ts.map +1 -0
- package/dist/ui/empty-state/animated/index.d.ts +4 -0
- package/dist/ui/empty-state/animated/index.d.ts.map +1 -0
- package/dist/ui/empty-state/animated/types.d.ts +14 -0
- package/dist/ui/empty-state/animated/types.d.ts.map +1 -0
- package/dist/ui/empty-state/empty-state-base.d.ts +23 -0
- package/dist/ui/empty-state/empty-state-base.d.ts.map +1 -0
- package/dist/ui/empty-state/empty-state.d.ts +6 -0
- package/dist/ui/empty-state/empty-state.d.ts.map +1 -0
- package/dist/ui/empty-state/index.d.ts +5 -0
- package/dist/ui/empty-state/index.d.ts.map +1 -0
- package/dist/ui/empty-state/types.d.ts +15 -0
- package/dist/ui/empty-state/types.d.ts.map +1 -0
- package/dist/ui/empty-state/variants.d.ts +12 -0
- package/dist/ui/empty-state/variants.d.ts.map +1 -0
- package/dist/ui/file-upload/file-upload.d.ts +8 -0
- package/dist/ui/file-upload/file-upload.d.ts.map +1 -0
- package/dist/ui/file-upload/index.d.ts +4 -0
- package/dist/ui/file-upload/index.d.ts.map +1 -0
- package/dist/ui/file-upload/types.d.ts +18 -0
- package/dist/ui/file-upload/types.d.ts.map +1 -0
- package/dist/ui/file-upload/variants.d.ts +4 -0
- package/dist/ui/file-upload/variants.d.ts.map +1 -0
- package/dist/ui/inputs/animated/animations.d.ts +3 -0
- package/dist/ui/inputs/animated/animations.d.ts.map +1 -0
- package/dist/ui/inputs/animated/index.d.ts +4 -0
- package/dist/ui/inputs/animated/index.d.ts.map +1 -0
- package/dist/ui/inputs/animated/input-animated.d.ts +6 -0
- package/dist/ui/inputs/animated/input-animated.d.ts.map +1 -0
- package/dist/ui/inputs/animated/types.d.ts +16 -0
- package/dist/ui/inputs/animated/types.d.ts.map +1 -0
- package/dist/ui/inputs/index.d.ts +4 -0
- package/dist/ui/inputs/index.d.ts.map +1 -0
- package/dist/ui/inputs/input-base.d.ts +6 -0
- package/dist/ui/inputs/input-base.d.ts.map +1 -0
- package/dist/ui/inputs/input.d.ts +6 -0
- package/dist/ui/inputs/input.d.ts.map +1 -0
- package/dist/ui/inputs/types.d.ts +12 -0
- package/dist/ui/inputs/types.d.ts.map +1 -0
- package/dist/ui/inputs/variants.d.ts +7 -0
- package/dist/ui/inputs/variants.d.ts.map +1 -0
- package/dist/ui/modal/animated/animations.d.ts +3 -0
- package/dist/ui/modal/animated/animations.d.ts.map +1 -0
- package/dist/ui/modal/animated/index.d.ts +4 -0
- package/dist/ui/modal/animated/index.d.ts.map +1 -0
- package/dist/ui/modal/animated/modal-content-animated.d.ts +6 -0
- package/dist/ui/modal/animated/modal-content-animated.d.ts.map +1 -0
- package/dist/ui/modal/animated/types.d.ts +9 -0
- package/dist/ui/modal/animated/types.d.ts.map +1 -0
- package/dist/ui/modal/index.d.ts +5 -0
- package/dist/ui/modal/index.d.ts.map +1 -0
- package/dist/ui/modal/modal-base.d.ts +47 -0
- package/dist/ui/modal/modal-base.d.ts.map +1 -0
- package/dist/ui/modal/modal.d.ts +6 -0
- package/dist/ui/modal/modal.d.ts.map +1 -0
- package/dist/ui/modal/types.d.ts +26 -0
- package/dist/ui/modal/types.d.ts.map +1 -0
- package/dist/ui/modal/variants.d.ts +10 -0
- package/dist/ui/modal/variants.d.ts.map +1 -0
- package/dist/ui/pagination/index.d.ts +5 -0
- package/dist/ui/pagination/index.d.ts.map +1 -0
- package/dist/ui/pagination/pagination.d.ts +17 -0
- package/dist/ui/pagination/pagination.d.ts.map +1 -0
- package/dist/ui/pagination/types.d.ts +56 -0
- package/dist/ui/pagination/types.d.ts.map +1 -0
- package/dist/ui/pagination/variants.d.ts +12 -0
- package/dist/ui/pagination/variants.d.ts.map +1 -0
- package/dist/ui/progress/animated/animations.d.ts +3 -0
- package/dist/ui/progress/animated/animations.d.ts.map +1 -0
- package/dist/ui/progress/animated/index.d.ts +4 -0
- package/dist/ui/progress/animated/index.d.ts.map +1 -0
- package/dist/ui/progress/animated/progress-animated.d.ts +16 -0
- package/dist/ui/progress/animated/progress-animated.d.ts.map +1 -0
- package/dist/ui/progress/animated/types.d.ts +23 -0
- package/dist/ui/progress/animated/types.d.ts.map +1 -0
- package/dist/ui/progress/index.d.ts +5 -0
- package/dist/ui/progress/index.d.ts.map +1 -0
- package/dist/ui/progress/progress-base.d.ts +23 -0
- package/dist/ui/progress/progress-base.d.ts.map +1 -0
- package/dist/ui/progress/progress.d.ts +6 -0
- package/dist/ui/progress/progress.d.ts.map +1 -0
- package/dist/ui/progress/types.d.ts +28 -0
- package/dist/ui/progress/types.d.ts.map +1 -0
- package/dist/ui/progress/variants.d.ts +15 -0
- package/dist/ui/progress/variants.d.ts.map +1 -0
- package/dist/ui/select/index.d.ts +4 -0
- package/dist/ui/select/index.d.ts.map +1 -0
- package/dist/ui/select/select.d.ts +10 -0
- package/dist/ui/select/select.d.ts.map +1 -0
- package/dist/ui/select/types.d.ts +48 -0
- package/dist/ui/select/types.d.ts.map +1 -0
- package/dist/ui/select/variants.d.ts +14 -0
- package/dist/ui/select/variants.d.ts.map +1 -0
- package/dist/ui/skeleton/animated/animations.d.ts +3 -0
- package/dist/ui/skeleton/animated/animations.d.ts.map +1 -0
- package/dist/ui/skeleton/animated/index.d.ts +4 -0
- package/dist/ui/skeleton/animated/index.d.ts.map +1 -0
- package/dist/ui/skeleton/animated/skeleton-animated.d.ts +22 -0
- package/dist/ui/skeleton/animated/skeleton-animated.d.ts.map +1 -0
- package/dist/ui/skeleton/animated/types.d.ts +30 -0
- package/dist/ui/skeleton/animated/types.d.ts.map +1 -0
- package/dist/ui/skeleton/index.d.ts +5 -0
- package/dist/ui/skeleton/index.d.ts.map +1 -0
- package/dist/ui/skeleton/skeleton-base.d.ts +24 -0
- package/dist/ui/skeleton/skeleton-base.d.ts.map +1 -0
- package/dist/ui/skeleton/skeleton.d.ts +2 -0
- package/dist/ui/skeleton/skeleton.d.ts.map +1 -0
- package/dist/ui/skeleton/types.d.ts +23 -0
- package/dist/ui/skeleton/types.d.ts.map +1 -0
- package/dist/{types-CK_vNRIb.d.mts → ui/skeleton/variants.d.ts} +9 -34
- package/dist/ui/skeleton/variants.d.ts.map +1 -0
- package/dist/ui/slider/index.d.ts +4 -0
- package/dist/ui/slider/index.d.ts.map +1 -0
- package/dist/ui/slider/slider.d.ts +33 -0
- package/dist/ui/slider/slider.d.ts.map +1 -0
- package/dist/ui/slider/types.d.ts +49 -0
- package/dist/ui/slider/types.d.ts.map +1 -0
- package/dist/ui/slider/variants.d.ts +13 -0
- package/dist/ui/slider/variants.d.ts.map +1 -0
- package/dist/ui/spinner/animated/index.d.ts +4 -0
- package/dist/ui/spinner/animated/index.d.ts.map +1 -0
- package/dist/ui/spinner/animated/spinner.d.ts +6 -0
- package/dist/ui/spinner/animated/spinner.d.ts.map +1 -0
- package/dist/ui/spinner/animated/types.d.ts +9 -0
- package/dist/ui/spinner/animated/types.d.ts.map +1 -0
- package/dist/ui/spinner/animated/variants.d.ts +6 -0
- package/dist/ui/spinner/animated/variants.d.ts.map +1 -0
- package/dist/ui/stepper/index.d.ts +4 -0
- package/dist/ui/stepper/index.d.ts.map +1 -0
- package/dist/ui/stepper/stepper.d.ts +33 -0
- package/dist/ui/stepper/stepper.d.ts.map +1 -0
- package/dist/ui/stepper/types.d.ts +25 -0
- package/dist/ui/stepper/types.d.ts.map +1 -0
- package/dist/ui/stepper/variants.d.ts +11 -0
- package/dist/ui/stepper/variants.d.ts.map +1 -0
- package/dist/ui/table/animated/animations.d.ts +3 -0
- package/dist/ui/table/animated/animations.d.ts.map +1 -0
- package/dist/ui/table/animated/index.d.ts +5 -0
- package/dist/ui/table/animated/index.d.ts.map +1 -0
- package/dist/ui/table/animated/table-animated.d.ts +5 -0
- package/dist/ui/table/animated/table-animated.d.ts.map +1 -0
- package/dist/ui/table/animated/types.d.ts +8 -0
- package/dist/ui/table/animated/types.d.ts.map +1 -0
- package/dist/ui/table/index.d.ts +4 -0
- package/dist/ui/table/index.d.ts.map +1 -0
- package/dist/ui/table/table-base.d.ts +38 -0
- package/dist/ui/table/table-base.d.ts.map +1 -0
- package/dist/ui/table/table.d.ts +2 -0
- package/dist/ui/table/table.d.ts.map +1 -0
- package/dist/ui/table/types.d.ts +33 -0
- package/dist/ui/table/types.d.ts.map +1 -0
- package/dist/ui/table/variants.d.ts +14 -0
- package/dist/ui/table/variants.d.ts.map +1 -0
- package/dist/ui/tabs/animated/animations.d.ts +5 -0
- package/dist/ui/tabs/animated/animations.d.ts.map +1 -0
- package/dist/ui/tabs/animated/index.d.ts +4 -0
- package/dist/ui/tabs/animated/index.d.ts.map +1 -0
- package/dist/ui/tabs/animated/tabs-content-animated.d.ts +6 -0
- package/dist/ui/tabs/animated/tabs-content-animated.d.ts.map +1 -0
- package/dist/ui/tabs/animated/types.d.ts +14 -0
- package/dist/ui/tabs/animated/types.d.ts.map +1 -0
- package/dist/ui/tabs/index.d.ts +4 -0
- package/dist/ui/tabs/index.d.ts.map +1 -0
- package/dist/ui/tabs/tabs-base.d.ts +8 -0
- package/dist/ui/tabs/tabs-base.d.ts.map +1 -0
- package/dist/ui/tabs/tabs.d.ts +2 -0
- package/dist/ui/tabs/tabs.d.ts.map +1 -0
- package/dist/{types-zHcMUtKK.d.mts → ui/tabs/types.d.ts} +8 -10
- package/dist/ui/tabs/types.d.ts.map +1 -0
- package/dist/ui/tabs/variants.d.ts +11 -0
- package/dist/ui/tabs/variants.d.ts.map +1 -0
- package/dist/ui/toast/animated/animations.d.ts +3 -0
- package/dist/ui/toast/animated/animations.d.ts.map +1 -0
- package/dist/ui/toast/animated/index.d.ts +4 -0
- package/dist/ui/toast/animated/index.d.ts.map +1 -0
- package/dist/ui/toast/animated/toast-animated.d.ts +10 -0
- package/dist/ui/toast/animated/toast-animated.d.ts.map +1 -0
- package/dist/ui/toast/animated/types.d.ts +5 -0
- package/dist/ui/toast/animated/types.d.ts.map +1 -0
- package/dist/ui/toast/index.d.ts +4 -0
- package/dist/ui/toast/index.d.ts.map +1 -0
- package/dist/ui/toast/toast-base.d.ts +35 -0
- package/dist/ui/toast/toast-base.d.ts.map +1 -0
- package/dist/ui/toast/toast.d.ts +2 -0
- package/dist/ui/toast/toast.d.ts.map +1 -0
- package/dist/ui/toast/types.d.ts +45 -0
- package/dist/ui/toast/types.d.ts.map +1 -0
- package/dist/ui/toast/variants.d.ts +8 -0
- package/dist/ui/toast/variants.d.ts.map +1 -0
- package/dist/ui/toggle/animated/animations.d.ts +3 -0
- package/dist/ui/toggle/animated/animations.d.ts.map +1 -0
- package/dist/ui/toggle/animated/index.d.ts +4 -0
- package/dist/ui/toggle/animated/index.d.ts.map +1 -0
- package/dist/ui/toggle/animated/toggle-animated.d.ts +6 -0
- package/dist/ui/toggle/animated/toggle-animated.d.ts.map +1 -0
- package/dist/ui/toggle/animated/types.d.ts +9 -0
- package/dist/ui/toggle/animated/types.d.ts.map +1 -0
- package/dist/ui/toggle/index.d.ts +4 -0
- package/dist/ui/toggle/index.d.ts.map +1 -0
- package/dist/ui/toggle/toggle-base.d.ts +6 -0
- package/dist/ui/toggle/toggle-base.d.ts.map +1 -0
- package/dist/ui/toggle/toggle.d.ts +6 -0
- package/dist/ui/toggle/toggle.d.ts.map +1 -0
- package/dist/ui/toggle/types.d.ts +14 -0
- package/dist/ui/toggle/types.d.ts.map +1 -0
- package/dist/ui/toggle/variants.d.ts +8 -0
- package/dist/ui/toggle/variants.d.ts.map +1 -0
- package/dist/ui/tooltip/animated/animations.d.ts +3 -0
- package/dist/ui/tooltip/animated/animations.d.ts.map +1 -0
- package/dist/ui/tooltip/animated/index.d.ts +4 -0
- package/dist/ui/tooltip/animated/index.d.ts.map +1 -0
- package/dist/ui/tooltip/animated/tooltip-content-animated.d.ts +3 -0
- package/dist/ui/tooltip/animated/tooltip-content-animated.d.ts.map +1 -0
- package/dist/ui/tooltip/animated/types.d.ts +9 -0
- package/dist/ui/tooltip/animated/types.d.ts.map +1 -0
- package/dist/ui/tooltip/index.d.ts +4 -0
- package/dist/ui/tooltip/index.d.ts.map +1 -0
- package/dist/ui/tooltip/tooltip-base.d.ts +7 -0
- package/dist/ui/tooltip/tooltip-base.d.ts.map +1 -0
- package/dist/ui/tooltip/tooltip.d.ts +2 -0
- package/dist/ui/tooltip/tooltip.d.ts.map +1 -0
- package/dist/{types-Cn7IcgkH.d.mts → ui/tooltip/types.d.ts} +7 -9
- package/dist/ui/tooltip/types.d.ts.map +1 -0
- package/dist/ui/tooltip/variants.d.ts +6 -0
- package/dist/ui/tooltip/variants.d.ts.map +1 -0
- package/dist/vitest-setup.d.ts +2 -0
- package/dist/vitest-setup.d.ts.map +1 -0
- package/package.json +12 -5
- package/dist/accordion-base-qVomr7f_.d.mts +0 -66
- package/dist/accordion-base-qVomr7f_.d.ts +0 -66
- package/dist/avatar-base-s4dYg-24.d.mts +0 -49
- package/dist/avatar-base-s4dYg-24.d.ts +0 -49
- package/dist/card-base-CIGac8D_.d.mts +0 -70
- package/dist/card-base-CIGac8D_.d.ts +0 -70
- package/dist/hooks/useBodyScrollLock.d.mts +0 -14
- package/dist/hooks/useClickOutside.d.mts +0 -23
- package/dist/hooks/useClipboard.d.mts +0 -22
- package/dist/hooks/useControllableState.d.mts +0 -22
- package/dist/hooks/useDebouncedValue.d.mts +0 -14
- package/dist/hooks/useDisclosure.d.mts +0 -25
- package/dist/hooks/useDocumentTitle.d.mts +0 -19
- package/dist/hooks/useFocusManagement.d.mts +0 -24
- package/dist/hooks/useHover.d.mts +0 -15
- package/dist/hooks/useInView.d.mts +0 -19
- package/dist/hooks/useIntersectionObserver.d.mts +0 -19
- package/dist/hooks/useIsMounted.d.mts +0 -11
- package/dist/hooks/useIsomorphicLayoutEffect.d.mts +0 -11
- package/dist/hooks/useLocalStorage.d.mts +0 -22
- package/dist/hooks/useMediaQuery.d.mts +0 -13
- package/dist/hooks/useNetworkStatus.d.mts +0 -10
- package/dist/hooks/usePageVisibility.d.mts +0 -10
- package/dist/hooks/usePagination.d.mts +0 -5
- package/dist/hooks/usePagination.d.ts +0 -5
- package/dist/hooks/usePrefersColorScheme.d.mts +0 -10
- package/dist/hooks/usePrefersReducedMotion.d.mts +0 -10
- package/dist/hooks/useResizeObserver.d.mts +0 -23
- package/dist/hooks/useSessionStorage.d.mts +0 -22
- package/dist/hooks/useThrottledCallback.d.mts +0 -14
- package/dist/hooks/useToggle.d.mts +0 -9
- package/dist/hooks/useWindowSize.d.mts +0 -14
- package/dist/hooks/utils.d.mts +0 -8
- package/dist/hooks/utils.d.ts +0 -8
- package/dist/index-ClPu5gDp.d.ts +0 -86
- package/dist/index-D4p9fn1o.d.mts +0 -86
- package/dist/progress-base-Cm1JODYA.d.mts +0 -66
- package/dist/progress-base-Cm1JODYA.d.ts +0 -66
- package/dist/types-C7N9UvRm.d.mts +0 -38
- package/dist/types-C7N9UvRm.d.ts +0 -38
- package/dist/types-CFpwSbpK.d.mts +0 -27
- package/dist/types-CFpwSbpK.d.ts +0 -27
- package/dist/types-CK_vNRIb.d.ts +0 -63
- package/dist/types-Ca3t5aC_.d.mts +0 -31
- package/dist/types-Ca3t5aC_.d.ts +0 -31
- package/dist/types-Cn7IcgkH.d.ts +0 -32
- package/dist/types-CtFK7mFE.d.mts +0 -34
- package/dist/types-CtFK7mFE.d.ts +0 -34
- package/dist/types-DMkTQsWg.d.mts +0 -46
- package/dist/types-DMkTQsWg.d.ts +0 -46
- package/dist/types-DN400jNg.d.mts +0 -28
- package/dist/types-DN400jNg.d.ts +0 -28
- package/dist/types-vcZcRc6w.d.mts +0 -24
- package/dist/types-vcZcRc6w.d.ts +0 -24
- package/dist/types-zHcMUtKK.d.ts +0 -42
- package/dist/ui/accordion/animated.d.mts +0 -24
- package/dist/ui/accordion/animated.d.ts +0 -24
- package/dist/ui/accordion.d.mts +0 -14
- package/dist/ui/accordion.d.ts +0 -14
- package/dist/ui/alert/animated.d.mts +0 -18
- package/dist/ui/alert/animated.d.ts +0 -18
- package/dist/ui/alert.d.mts +0 -36
- package/dist/ui/alert.d.ts +0 -36
- package/dist/ui/avatar/animated.d.mts +0 -22
- package/dist/ui/avatar/animated.d.ts +0 -22
- package/dist/ui/avatar.d.mts +0 -13
- package/dist/ui/avatar.d.ts +0 -13
- package/dist/ui/badge/animated.d.mts +0 -22
- package/dist/ui/badge/animated.d.ts +0 -22
- package/dist/ui/badge.d.mts +0 -13
- package/dist/ui/badge.d.ts +0 -13
- package/dist/ui/breadcrumb.d.mts +0 -71
- package/dist/ui/breadcrumb.d.ts +0 -71
- package/dist/ui/buttons/animated.d.mts +0 -27
- package/dist/ui/buttons/animated.d.ts +0 -27
- package/dist/ui/buttons.d.mts +0 -19
- package/dist/ui/buttons.d.ts +0 -19
- package/dist/ui/card/animated.d.mts +0 -23
- package/dist/ui/card/animated.d.ts +0 -23
- package/dist/ui/card.d.mts +0 -13
- package/dist/ui/card.d.ts +0 -13
- package/dist/ui/divider/animated.d.mts +0 -19
- package/dist/ui/divider/animated.d.ts +0 -19
- package/dist/ui/divider.d.mts +0 -13
- package/dist/ui/divider.d.ts +0 -13
- package/dist/ui/drawer/animated.d.mts +0 -23
- package/dist/ui/drawer/animated.d.ts +0 -23
- package/dist/ui/drawer.d.mts +0 -80
- package/dist/ui/drawer.d.ts +0 -80
- package/dist/ui/dropdown.d.mts +0 -50
- package/dist/ui/dropdown.d.ts +0 -50
- package/dist/ui/empty-state/animated.d.mts +0 -24
- package/dist/ui/empty-state/animated.d.ts +0 -24
- package/dist/ui/empty-state.d.mts +0 -34
- package/dist/ui/empty-state.d.ts +0 -34
- package/dist/ui/file-upload.d.mts +0 -32
- package/dist/ui/file-upload.d.ts +0 -32
- package/dist/ui/inputs/animated.d.mts +0 -27
- package/dist/ui/inputs/animated.d.ts +0 -27
- package/dist/ui/inputs.d.mts +0 -21
- package/dist/ui/inputs.d.ts +0 -21
- package/dist/ui/modal/animated.d.mts +0 -21
- package/dist/ui/modal/animated.d.ts +0 -21
- package/dist/ui/modal.d.mts +0 -46
- package/dist/ui/modal.d.ts +0 -46
- package/dist/ui/pagination.d.mts +0 -36
- package/dist/ui/pagination.d.ts +0 -36
- package/dist/ui/progress/animated.d.mts +0 -41
- package/dist/ui/progress/animated.d.ts +0 -41
- package/dist/ui/progress.d.mts +0 -13
- package/dist/ui/progress.d.ts +0 -13
- package/dist/ui/select.d.mts +0 -73
- package/dist/ui/select.d.ts +0 -73
- package/dist/ui/skeleton/animated.d.mts +0 -56
- package/dist/ui/skeleton/animated.d.ts +0 -56
- package/dist/ui/skeleton.d.mts +0 -29
- package/dist/ui/skeleton.d.ts +0 -29
- package/dist/ui/slider.d.mts +0 -83
- package/dist/ui/slider.d.ts +0 -83
- package/dist/ui/spinner/animated.d.mts +0 -22
- package/dist/ui/spinner/animated.d.ts +0 -22
- package/dist/ui/stepper.d.mts +0 -64
- package/dist/ui/stepper.d.ts +0 -64
- package/dist/ui/table/animated.d.mts +0 -21
- package/dist/ui/table/animated.d.ts +0 -21
- package/dist/ui/table.d.mts +0 -87
- package/dist/ui/table.d.ts +0 -87
- package/dist/ui/tabs/animated.d.mts +0 -25
- package/dist/ui/tabs/animated.d.ts +0 -25
- package/dist/ui/tabs.d.mts +0 -24
- package/dist/ui/tabs.d.ts +0 -24
- package/dist/ui/toast/animated.d.mts +0 -23
- package/dist/ui/toast/animated.d.ts +0 -23
- package/dist/ui/toast.d.mts +0 -41
- package/dist/ui/toast.d.ts +0 -41
- package/dist/ui/toggle/animated.d.mts +0 -22
- package/dist/ui/toggle/animated.d.ts +0 -22
- package/dist/ui/toggle.d.mts +0 -13
- package/dist/ui/toggle.d.ts +0 -13
- package/dist/ui/tooltip/animated.d.mts +0 -17
- package/dist/ui/tooltip/animated.d.ts +0 -17
- package/dist/ui/tooltip.d.mts +0 -19
- package/dist/ui/tooltip.d.ts +0 -19
- package/dist/variants-CYODHI8b.d.mts +0 -10
- package/dist/variants-CYODHI8b.d.ts +0 -10
- package/dist/variants-Dd9pe-ov.d.ts +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../src/ui/tooltip/animated/animations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAGvD,eAAO,MAAM,uBAAuB,EAAE,uBAYrC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { TooltipContentAnimated } from "./tooltip-content-animated";
|
|
2
|
+
export type { TooltipContentAnimatedProps, TooltipAnimation, TooltipAnimationPresets, TooltipPresetMotionProps, } from "./types";
|
|
3
|
+
export { tooltipAnimationPresets } from "./animations";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/tooltip/animated/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,YAAY,EACV,2BAA2B,EAC3B,gBAAgB,EAChB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { TooltipContentAnimatedProps } from "./types";
|
|
2
|
+
export declare const TooltipContentAnimated: ({ children, className, variant, size, width, animation, }: TooltipContentAnimatedProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
//# sourceMappingURL=tooltip-content-animated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-content-animated.d.ts","sourceRoot":"","sources":["../../../../src/ui/tooltip/animated/tooltip-content-animated.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAI3D,eAAO,MAAM,sBAAsB,GAAI,2DAOpC,2BAA2B,mDA4B7B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLMotionProps } from "framer-motion";
|
|
2
|
+
import type { TooltipContentProps } from "../types";
|
|
3
|
+
export type TooltipAnimation = "none" | "fade" | "scale";
|
|
4
|
+
export type TooltipPresetMotionProps = Pick<HTMLMotionProps<"div">, "initial" | "animate" | "style" | "transition">;
|
|
5
|
+
export type TooltipAnimationPresets = Record<TooltipAnimation, TooltipPresetMotionProps>;
|
|
6
|
+
export type TooltipContentAnimatedProps = TooltipContentProps & {
|
|
7
|
+
animation?: TooltipAnimation;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/tooltip/animated/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,eAAe,CAAC,KAAK,CAAC,EACtB,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,YAAY,CAC/C,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAC1C,gBAAgB,EAChB,wBAAwB,CACzB,CAAC;AAGF,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipContext, useTooltip, } from "./tooltip";
|
|
2
|
+
export type { TooltipProps, TooltipTriggerProps, TooltipContentProps, TooltipContextType, TooltipPosition, } from "./types";
|
|
3
|
+
export { tooltipVariants } from "./variants";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,GAChB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TooltipProps, TooltipContextType, TooltipTriggerProps, TooltipContentProps } from "./types";
|
|
2
|
+
export declare const TooltipContext: import("react").Context<TooltipContextType | null>;
|
|
3
|
+
export declare const useTooltip: () => TooltipContextType;
|
|
4
|
+
export declare const Tooltip: ({ children, defaultOpen, open: controlledOpen, onOpenChange, position, delay, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const TooltipTrigger: ({ children, className, }: TooltipTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const TooltipContent: ({ children, className, variant, size, width, }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
//# sourceMappingURL=tooltip-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-base.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/tooltip-base.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,cAAc,oDAAiD,CAAC;AAE7E,eAAO,MAAM,UAAU,0BAMtB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,iFAOrB,YAAY,4CA+Cd,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,0BAG5B,mBAAmB,4CA4BrB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,gDAM5B,mBAAmB,mDAyBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
type TooltipContextType = {
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
3
|
+
export type TooltipContextType = {
|
|
5
4
|
open: boolean;
|
|
6
5
|
setOpen: (value: boolean) => void;
|
|
7
6
|
position: TooltipPosition;
|
|
@@ -9,7 +8,7 @@ type TooltipContextType = {
|
|
|
9
8
|
scheduleDelayedOpen: () => void;
|
|
10
9
|
cancelDelayedOpen: () => void;
|
|
11
10
|
};
|
|
12
|
-
type TooltipProps = {
|
|
11
|
+
export type TooltipProps = {
|
|
13
12
|
children: ReactNode;
|
|
14
13
|
defaultOpen?: boolean;
|
|
15
14
|
open?: boolean;
|
|
@@ -17,16 +16,15 @@ type TooltipProps = {
|
|
|
17
16
|
position?: TooltipPosition;
|
|
18
17
|
delay?: number;
|
|
19
18
|
};
|
|
20
|
-
type TooltipTriggerProps = {
|
|
19
|
+
export type TooltipTriggerProps = {
|
|
21
20
|
children: ReactNode;
|
|
22
21
|
className?: string;
|
|
23
22
|
};
|
|
24
|
-
type TooltipContentProps = {
|
|
23
|
+
export type TooltipContentProps = {
|
|
25
24
|
children: ReactNode;
|
|
26
25
|
className?: string;
|
|
27
26
|
variant?: "default" | "outline" | "ghost" | "glass" | "emerald" | "indigo" | "purple" | "pink" | "rose" | "sky" | "teal" | "yellow" | "orange" | "green" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
|
|
28
27
|
size?: "sm" | "md" | "lg";
|
|
29
28
|
width?: "fit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
30
29
|
};
|
|
31
|
-
|
|
32
|
-
export type { TooltipProps as T, TooltipContentProps as a, TooltipContextType as b, TooltipTriggerProps as c, TooltipPosition as d };
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EACJ,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,iBAAiB,GACjB,iBAAiB,GACjB,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,iBAAiB,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;CAC1D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const tooltipVariants: (props?: ({
|
|
2
|
+
variant?: "default" | "outline" | "ghost" | "glass" | "emerald" | "indigo" | "purple" | "pink" | "rose" | "sky" | "teal" | "yellow" | "orange" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | "green" | null | undefined;
|
|
3
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
|
+
width?: "sm" | "md" | "lg" | "xl" | "2xl" | "xs" | "fit" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;8EA0D3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitest-setup.d.ts","sourceRoot":"","sources":["../src/vitest-setup.ts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zentauri-ui/zentauri-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A UI component library built with React and Tailwind CSS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": ["dist"],
|
|
@@ -10,24 +10,31 @@
|
|
|
10
10
|
},
|
|
11
11
|
"exports": {
|
|
12
12
|
"./ui/*": {
|
|
13
|
-
"types": "./dist/ui
|
|
13
|
+
"types": "./dist/ui/*/index.d.ts",
|
|
14
14
|
"import": "./dist/ui/*.mjs",
|
|
15
15
|
"require": "./dist/ui/*.js"
|
|
16
16
|
},
|
|
17
17
|
"./ui/*/animated": {
|
|
18
|
-
"types": "./dist/ui/*/animated.d.ts",
|
|
18
|
+
"types": "./dist/ui/*/animated/index.d.ts",
|
|
19
19
|
"import": "./dist/ui/*/animated.mjs",
|
|
20
20
|
"require": "./dist/ui/*/animated.js"
|
|
21
21
|
},
|
|
22
|
+
"./hooks/utils": {
|
|
23
|
+
"types": "./dist/lib/utils.d.ts",
|
|
24
|
+
"import": "./dist/hooks/utils.mjs",
|
|
25
|
+
"require": "./dist/hooks/utils.js"
|
|
26
|
+
},
|
|
22
27
|
"./hooks/*": {
|
|
23
|
-
"types": "./dist/hooks
|
|
28
|
+
"types": "./dist/hooks/*/index.d.ts",
|
|
24
29
|
"import": "./dist/hooks/*.mjs",
|
|
25
30
|
"require": "./dist/hooks/*.js"
|
|
26
31
|
}
|
|
27
32
|
},
|
|
28
33
|
"scripts": {
|
|
29
34
|
"dev": "NODE_OPTIONS=--max-old-space-size=8192 tsup --watch",
|
|
30
|
-
"build": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
35
|
+
"build:js": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
36
|
+
"build:types": "tsc -p tsconfig.emit-types.json",
|
|
37
|
+
"build": "pnpm run build:js && pnpm run build:types",
|
|
31
38
|
"test": "vitest run",
|
|
32
39
|
"test:watch": "vitest"
|
|
33
40
|
},
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Transition } from 'framer-motion';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ReactNode, HTMLAttributes, Ref } from 'react';
|
|
5
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
/** Easing and duration presets for accordion panel open/close (opacity only). */
|
|
8
|
-
type AccordionTransition = "none" | "default" | "smooth" | "slow";
|
|
9
|
-
type AccordionTransitionPresets = Record<AccordionTransition, Transition>;
|
|
10
|
-
declare const accordionContentTransitionPresets: AccordionTransitionPresets;
|
|
11
|
-
|
|
12
|
-
declare const accordionVariants: (props?: ({
|
|
13
|
-
appearance?: "default" | "outline" | "ghost" | "card" | "separated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
14
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
-
declare const accordionItemVariants: (props?: ({
|
|
17
|
-
appearance?: "default" | "outline" | "ghost" | "card" | "separated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
18
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
19
|
-
declare const accordionTriggerVariants: (props?: ({
|
|
20
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
21
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
declare const accordionContentVariants: (props?: ({
|
|
23
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
24
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
|
-
|
|
26
|
-
type AccordionVariantProps = VariantProps<typeof accordionVariants>;
|
|
27
|
-
type AccordionType = "single" | "multiple";
|
|
28
|
-
type AccordionBaseProps = AccordionVariantProps & {
|
|
29
|
-
type?: AccordionType;
|
|
30
|
-
/** Controlled value for `single` mode. */
|
|
31
|
-
value?: string;
|
|
32
|
-
/** Controlled values for `multiple` mode. */
|
|
33
|
-
values?: string[];
|
|
34
|
-
defaultValue?: string;
|
|
35
|
-
defaultValues?: string[];
|
|
36
|
-
onValueChange?: (value: string | undefined) => void;
|
|
37
|
-
onValuesChange?: (values: string[]) => void;
|
|
38
|
-
className?: string;
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
};
|
|
41
|
-
type AccordionProps = AccordionBaseProps;
|
|
42
|
-
type AccordionItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
43
|
-
value: string;
|
|
44
|
-
ref?: Ref<HTMLDivElement>;
|
|
45
|
-
};
|
|
46
|
-
type AccordionTriggerProps = HTMLAttributes<HTMLButtonElement> & {
|
|
47
|
-
ref?: Ref<HTMLButtonElement>;
|
|
48
|
-
};
|
|
49
|
-
type AccordionContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
50
|
-
ref?: Ref<HTMLDivElement>;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare function AccordionItem({ className, value, children, ref, ...rest }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
declare namespace AccordionItem {
|
|
55
|
-
var displayName: string;
|
|
56
|
-
}
|
|
57
|
-
declare function AccordionTrigger({ className, children, ref, ...rest }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
|
|
58
|
-
declare namespace AccordionTrigger {
|
|
59
|
-
var displayName: string;
|
|
60
|
-
}
|
|
61
|
-
declare function AccordionContent({ className, children, ref, }: AccordionContentProps): react_jsx_runtime.JSX.Element | null;
|
|
62
|
-
declare namespace AccordionContent {
|
|
63
|
-
var displayName: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { type AccordionProps as A, type AccordionBaseProps as a, AccordionContent as b, type AccordionContentProps as c, AccordionItem as d, type AccordionItemProps as e, type AccordionTransition as f, AccordionTrigger as g, type AccordionTriggerProps as h, type AccordionType as i, accordionContentVariants as j, accordionItemVariants as k, accordionTriggerVariants as l, accordionVariants as m, accordionContentTransitionPresets as n };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Transition } from 'framer-motion';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ReactNode, HTMLAttributes, Ref } from 'react';
|
|
5
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
/** Easing and duration presets for accordion panel open/close (opacity only). */
|
|
8
|
-
type AccordionTransition = "none" | "default" | "smooth" | "slow";
|
|
9
|
-
type AccordionTransitionPresets = Record<AccordionTransition, Transition>;
|
|
10
|
-
declare const accordionContentTransitionPresets: AccordionTransitionPresets;
|
|
11
|
-
|
|
12
|
-
declare const accordionVariants: (props?: ({
|
|
13
|
-
appearance?: "default" | "outline" | "ghost" | "card" | "separated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
14
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
-
declare const accordionItemVariants: (props?: ({
|
|
17
|
-
appearance?: "default" | "outline" | "ghost" | "card" | "separated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
18
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
19
|
-
declare const accordionTriggerVariants: (props?: ({
|
|
20
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
21
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
declare const accordionContentVariants: (props?: ({
|
|
23
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
24
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
|
-
|
|
26
|
-
type AccordionVariantProps = VariantProps<typeof accordionVariants>;
|
|
27
|
-
type AccordionType = "single" | "multiple";
|
|
28
|
-
type AccordionBaseProps = AccordionVariantProps & {
|
|
29
|
-
type?: AccordionType;
|
|
30
|
-
/** Controlled value for `single` mode. */
|
|
31
|
-
value?: string;
|
|
32
|
-
/** Controlled values for `multiple` mode. */
|
|
33
|
-
values?: string[];
|
|
34
|
-
defaultValue?: string;
|
|
35
|
-
defaultValues?: string[];
|
|
36
|
-
onValueChange?: (value: string | undefined) => void;
|
|
37
|
-
onValuesChange?: (values: string[]) => void;
|
|
38
|
-
className?: string;
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
};
|
|
41
|
-
type AccordionProps = AccordionBaseProps;
|
|
42
|
-
type AccordionItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
43
|
-
value: string;
|
|
44
|
-
ref?: Ref<HTMLDivElement>;
|
|
45
|
-
};
|
|
46
|
-
type AccordionTriggerProps = HTMLAttributes<HTMLButtonElement> & {
|
|
47
|
-
ref?: Ref<HTMLButtonElement>;
|
|
48
|
-
};
|
|
49
|
-
type AccordionContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
50
|
-
ref?: Ref<HTMLDivElement>;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare function AccordionItem({ className, value, children, ref, ...rest }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
declare namespace AccordionItem {
|
|
55
|
-
var displayName: string;
|
|
56
|
-
}
|
|
57
|
-
declare function AccordionTrigger({ className, children, ref, ...rest }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
|
|
58
|
-
declare namespace AccordionTrigger {
|
|
59
|
-
var displayName: string;
|
|
60
|
-
}
|
|
61
|
-
declare function AccordionContent({ className, children, ref, }: AccordionContentProps): react_jsx_runtime.JSX.Element | null;
|
|
62
|
-
declare namespace AccordionContent {
|
|
63
|
-
var displayName: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { type AccordionProps as A, type AccordionBaseProps as a, AccordionContent as b, type AccordionContentProps as c, AccordionItem as d, type AccordionItemProps as e, type AccordionTransition as f, AccordionTrigger as g, type AccordionTriggerProps as h, type AccordionType as i, accordionContentVariants as j, accordionItemVariants as k, accordionTriggerVariants as l, accordionVariants as m, accordionContentTransitionPresets as n };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ComponentPropsWithRef, ElementType, ComponentPropsWithoutRef, Ref } from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
declare const avatarVariants: (props?: ({
|
|
7
|
-
appearance?: "default" | "muted" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
8
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare const avatarImageVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11
|
-
declare const avatarFallbackVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
12
|
-
declare const avatarGroupVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
13
|
-
|
|
14
|
-
type AvatarVariantProps = VariantProps<typeof avatarVariants>;
|
|
15
|
-
interface AvatarBaseProps extends ComponentPropsWithRef<"span"> {
|
|
16
|
-
size?: AvatarVariantProps["size"];
|
|
17
|
-
appearance?: AvatarVariantProps["appearance"];
|
|
18
|
-
as?: ElementType;
|
|
19
|
-
}
|
|
20
|
-
type AvatarProps = Omit<AvatarBaseProps, "as">;
|
|
21
|
-
type AvatarImageProps = ComponentPropsWithoutRef<"img">;
|
|
22
|
-
type AvatarFallbackProps = ComponentPropsWithoutRef<"span"> & {
|
|
23
|
-
delayMs?: number;
|
|
24
|
-
};
|
|
25
|
-
type AvatarGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
26
|
-
/** Max avatars before +N overflow label */
|
|
27
|
-
max?: number;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare function AvatarImage({ className, onLoad, onError, ref, ...rest }: AvatarImageProps & {
|
|
31
|
-
ref?: Ref<HTMLImageElement>;
|
|
32
|
-
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
declare namespace AvatarImage {
|
|
34
|
-
var displayName: string;
|
|
35
|
-
}
|
|
36
|
-
declare function AvatarFallback({ className, delayMs, ref, ...rest }: AvatarFallbackProps & {
|
|
37
|
-
ref?: Ref<HTMLSpanElement>;
|
|
38
|
-
}): react_jsx_runtime.JSX.Element | null;
|
|
39
|
-
declare namespace AvatarFallback {
|
|
40
|
-
var displayName: string;
|
|
41
|
-
}
|
|
42
|
-
declare function AvatarGroup({ className, max, children, ref, ...rest }: AvatarGroupProps & {
|
|
43
|
-
ref?: Ref<HTMLDivElement>;
|
|
44
|
-
}): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare namespace AvatarGroup {
|
|
46
|
-
var displayName: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { type AvatarProps as A, type AvatarBaseProps as a, AvatarFallback as b, type AvatarFallbackProps as c, AvatarGroup as d, type AvatarGroupProps as e, AvatarImage as f, type AvatarImageProps as g, avatarFallbackVariants as h, avatarGroupVariants as i, avatarImageVariants as j, avatarVariants as k };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ComponentPropsWithRef, ElementType, ComponentPropsWithoutRef, Ref } from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
declare const avatarVariants: (props?: ({
|
|
7
|
-
appearance?: "default" | "muted" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
8
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare const avatarImageVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11
|
-
declare const avatarFallbackVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
12
|
-
declare const avatarGroupVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
13
|
-
|
|
14
|
-
type AvatarVariantProps = VariantProps<typeof avatarVariants>;
|
|
15
|
-
interface AvatarBaseProps extends ComponentPropsWithRef<"span"> {
|
|
16
|
-
size?: AvatarVariantProps["size"];
|
|
17
|
-
appearance?: AvatarVariantProps["appearance"];
|
|
18
|
-
as?: ElementType;
|
|
19
|
-
}
|
|
20
|
-
type AvatarProps = Omit<AvatarBaseProps, "as">;
|
|
21
|
-
type AvatarImageProps = ComponentPropsWithoutRef<"img">;
|
|
22
|
-
type AvatarFallbackProps = ComponentPropsWithoutRef<"span"> & {
|
|
23
|
-
delayMs?: number;
|
|
24
|
-
};
|
|
25
|
-
type AvatarGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
26
|
-
/** Max avatars before +N overflow label */
|
|
27
|
-
max?: number;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare function AvatarImage({ className, onLoad, onError, ref, ...rest }: AvatarImageProps & {
|
|
31
|
-
ref?: Ref<HTMLImageElement>;
|
|
32
|
-
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
declare namespace AvatarImage {
|
|
34
|
-
var displayName: string;
|
|
35
|
-
}
|
|
36
|
-
declare function AvatarFallback({ className, delayMs, ref, ...rest }: AvatarFallbackProps & {
|
|
37
|
-
ref?: Ref<HTMLSpanElement>;
|
|
38
|
-
}): react_jsx_runtime.JSX.Element | null;
|
|
39
|
-
declare namespace AvatarFallback {
|
|
40
|
-
var displayName: string;
|
|
41
|
-
}
|
|
42
|
-
declare function AvatarGroup({ className, max, children, ref, ...rest }: AvatarGroupProps & {
|
|
43
|
-
ref?: Ref<HTMLDivElement>;
|
|
44
|
-
}): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare namespace AvatarGroup {
|
|
46
|
-
var displayName: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { type AvatarProps as A, type AvatarBaseProps as a, AvatarFallback as b, type AvatarFallbackProps as c, AvatarGroup as d, type AvatarGroupProps as e, AvatarImage as f, type AvatarImageProps as g, avatarFallbackVariants as h, avatarGroupVariants as i, avatarImageVariants as j, avatarVariants as k };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { ComponentPropsWithRef, ElementType, ReactNode, Ref, HTMLAttributes } from 'react';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
declare const cardVariants: (props?: ({
|
|
7
|
-
appearance?: "default" | "glass" | "outline" | "ghost" | "elevated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
8
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
9
|
-
rounded?: "sm" | "md" | "lg" | "full" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const cardHeaderVariants: (props?: ({
|
|
12
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const cardFooterVariants: (props?: ({
|
|
15
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
16
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
declare const cardTitleVariants: (props?: ({
|
|
18
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
19
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
-
declare const cardDescriptionVariants: (props?: ({
|
|
21
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
22
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
|
-
|
|
24
|
-
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
25
|
-
interface CardBaseProps extends ComponentPropsWithRef<"article"> {
|
|
26
|
-
appearance?: CardVariantProps["appearance"];
|
|
27
|
-
size?: CardVariantProps["size"];
|
|
28
|
-
rounded?: CardVariantProps["rounded"];
|
|
29
|
-
as?: ElementType;
|
|
30
|
-
}
|
|
31
|
-
type CardProps = Omit<CardBaseProps, "as">;
|
|
32
|
-
type CardSectionProps = {
|
|
33
|
-
className?: string;
|
|
34
|
-
children?: ReactNode;
|
|
35
|
-
};
|
|
36
|
-
type CardTitleProps = {
|
|
37
|
-
as?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
38
|
-
className?: string;
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
ref?: Ref<HTMLHeadingElement>;
|
|
41
|
-
} & Omit<HTMLAttributes<HTMLHeadingElement>, "className" | "children">;
|
|
42
|
-
type CardDescriptionProps = {
|
|
43
|
-
as?: "p" | "span" | "div";
|
|
44
|
-
className?: string;
|
|
45
|
-
children?: ReactNode;
|
|
46
|
-
ref?: Ref<HTMLElement>;
|
|
47
|
-
} & Omit<HTMLAttributes<HTMLElement>, "className" | "children">;
|
|
48
|
-
|
|
49
|
-
declare function CardHeader({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
50
|
-
declare namespace CardHeader {
|
|
51
|
-
var displayName: string;
|
|
52
|
-
}
|
|
53
|
-
declare function CardBody({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
declare namespace CardBody {
|
|
55
|
-
var displayName: string;
|
|
56
|
-
}
|
|
57
|
-
declare function CardFooter({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
58
|
-
declare namespace CardFooter {
|
|
59
|
-
var displayName: string;
|
|
60
|
-
}
|
|
61
|
-
declare function CardTitle({ className, children, as, ref, ...rest }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
declare namespace CardTitle {
|
|
63
|
-
var displayName: string;
|
|
64
|
-
}
|
|
65
|
-
declare function CardDescription({ className, children, as, ref, ...rest }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
66
|
-
declare namespace CardDescription {
|
|
67
|
-
var displayName: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export { type CardProps as C, type CardBaseProps as a, CardBody as b, CardDescription as c, type CardDescriptionProps as d, CardFooter as e, CardHeader as f, type CardSectionProps as g, CardTitle as h, type CardTitleProps as i, type CardVariantProps as j, cardDescriptionVariants as k, cardFooterVariants as l, cardHeaderVariants as m, cardTitleVariants as n, cardVariants as o };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { ComponentPropsWithRef, ElementType, ReactNode, Ref, HTMLAttributes } from 'react';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
declare const cardVariants: (props?: ({
|
|
7
|
-
appearance?: "default" | "glass" | "outline" | "ghost" | "elevated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
8
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
9
|
-
rounded?: "sm" | "md" | "lg" | "full" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const cardHeaderVariants: (props?: ({
|
|
12
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const cardFooterVariants: (props?: ({
|
|
15
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
16
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
declare const cardTitleVariants: (props?: ({
|
|
18
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
19
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
-
declare const cardDescriptionVariants: (props?: ({
|
|
21
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
22
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
|
-
|
|
24
|
-
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
25
|
-
interface CardBaseProps extends ComponentPropsWithRef<"article"> {
|
|
26
|
-
appearance?: CardVariantProps["appearance"];
|
|
27
|
-
size?: CardVariantProps["size"];
|
|
28
|
-
rounded?: CardVariantProps["rounded"];
|
|
29
|
-
as?: ElementType;
|
|
30
|
-
}
|
|
31
|
-
type CardProps = Omit<CardBaseProps, "as">;
|
|
32
|
-
type CardSectionProps = {
|
|
33
|
-
className?: string;
|
|
34
|
-
children?: ReactNode;
|
|
35
|
-
};
|
|
36
|
-
type CardTitleProps = {
|
|
37
|
-
as?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
38
|
-
className?: string;
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
ref?: Ref<HTMLHeadingElement>;
|
|
41
|
-
} & Omit<HTMLAttributes<HTMLHeadingElement>, "className" | "children">;
|
|
42
|
-
type CardDescriptionProps = {
|
|
43
|
-
as?: "p" | "span" | "div";
|
|
44
|
-
className?: string;
|
|
45
|
-
children?: ReactNode;
|
|
46
|
-
ref?: Ref<HTMLElement>;
|
|
47
|
-
} & Omit<HTMLAttributes<HTMLElement>, "className" | "children">;
|
|
48
|
-
|
|
49
|
-
declare function CardHeader({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
50
|
-
declare namespace CardHeader {
|
|
51
|
-
var displayName: string;
|
|
52
|
-
}
|
|
53
|
-
declare function CardBody({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
declare namespace CardBody {
|
|
55
|
-
var displayName: string;
|
|
56
|
-
}
|
|
57
|
-
declare function CardFooter({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
58
|
-
declare namespace CardFooter {
|
|
59
|
-
var displayName: string;
|
|
60
|
-
}
|
|
61
|
-
declare function CardTitle({ className, children, as, ref, ...rest }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
declare namespace CardTitle {
|
|
63
|
-
var displayName: string;
|
|
64
|
-
}
|
|
65
|
-
declare function CardDescription({ className, children, as, ref, ...rest }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
66
|
-
declare namespace CardDescription {
|
|
67
|
-
var displayName: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export { type CardProps as C, type CardBaseProps as a, CardBody as b, CardDescription as c, type CardDescriptionProps as d, CardFooter as e, CardHeader as f, type CardSectionProps as g, CardTitle as h, type CardTitleProps as i, type CardVariantProps as j, cardDescriptionVariants as k, cardFooterVariants as l, cardHeaderVariants as m, cardTitleVariants as n, cardVariants as o };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Locks the document body scroll while `locked` is true by setting `document.body.style.overflow`
|
|
3
|
-
* to `"hidden"`. Uses a module-level lock count so multiple concurrent callers (nested modals,
|
|
4
|
-
* drawer + modal, several hook instances) only restore the original inline `overflow` after the
|
|
5
|
-
* last lock releases.
|
|
6
|
-
*
|
|
7
|
-
* Typical use: modals, drawers, and full-screen overlays where background content must not scroll.
|
|
8
|
-
*
|
|
9
|
-
* @param locked - When `true`, body scroll is hidden; when `false`, this instance releases its
|
|
10
|
-
* lock; the prior overflow is restored only when no instance still holds a lock.
|
|
11
|
-
*/
|
|
12
|
-
declare const useBodyScrollLock: (locked: boolean) => void;
|
|
13
|
-
|
|
14
|
-
export { useBodyScrollLock };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction, RefObject } from 'react';
|
|
2
|
-
|
|
3
|
-
/** DOM events that can represent an “outside” press for closing overlays. */
|
|
4
|
-
type ClickOutsideEventType = "mousedown" | "pointerdown" | "touchstart";
|
|
5
|
-
type UseClickOutsideParams = {
|
|
6
|
-
/** Called with `false` when a qualifying event target is outside `ref.current`. */
|
|
7
|
-
setOpen: (open: boolean) => void | Dispatch<SetStateAction<boolean>>;
|
|
8
|
-
/** Root element of the floating UI; clicks inside this node do not close. */
|
|
9
|
-
ref: RefObject<HTMLElement | null>;
|
|
10
|
-
/** Defaults to `["mousedown"]` for backward compatibility */
|
|
11
|
-
listenEvents?: ClickOutsideEventType[];
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Registers document-level listeners so that when the user activates outside of `ref`, `setOpen(false)`
|
|
15
|
-
* runs. Useful for dropdowns, popovers, and menus paired with `open` state.
|
|
16
|
-
*
|
|
17
|
-
* @param params.setOpen - State setter or callback that closes the surface.
|
|
18
|
-
* @param params.ref - Container ref; outside is determined with `contains()` on the event target.
|
|
19
|
-
* @param params.listenEvents - Which events to listen for; default is `mousedown` only.
|
|
20
|
-
*/
|
|
21
|
-
declare const useClickOutside: ({ setOpen, ref, listenEvents, }: UseClickOutsideParams) => void;
|
|
22
|
-
|
|
23
|
-
export { type ClickOutsideEventType, type UseClickOutsideParams, useClickOutside };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
type UseClipboardResult = {
|
|
2
|
-
/** `true` after a successful `copy` until the reset delay elapses or `reset` is called. */
|
|
3
|
-
copied: boolean;
|
|
4
|
-
/** Set when the Clipboard API is missing or `writeText` rejects (e.g. permission denied). */
|
|
5
|
-
error: Error | undefined;
|
|
6
|
-
/** Writes `text` via `navigator.clipboard.writeText`; returns whether the write succeeded. */
|
|
7
|
-
copy: (text: string) => Promise<boolean>;
|
|
8
|
-
/** Clears `copied`/`error` and cancels any pending auto-reset timeout. */
|
|
9
|
-
reset: () => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Wraps the async Clipboard API with React state for UX feedback (“Copied!”) and error surfacing.
|
|
13
|
-
*
|
|
14
|
-
* After a successful copy, `copied` flips to `true` for `resetDelay` ms (or stays true if `resetDelay` is 0).
|
|
15
|
-
* SSR-safe: `copy` resolves `false` with an error when `navigator.clipboard` is unavailable.
|
|
16
|
-
*
|
|
17
|
-
* @param resetDelay - Milliseconds before `copied` auto-clears after success; `0` disables auto-clear.
|
|
18
|
-
* @returns `{ copied, error, copy, reset }` for rendering and handlers.
|
|
19
|
-
*/
|
|
20
|
-
declare function useClipboard(resetDelay?: number): UseClipboardResult;
|
|
21
|
-
|
|
22
|
-
export { type UseClipboardResult, useClipboard };
|