@oneplatformdev/hooks 0.1.0-9 → 0.1.0-91
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/CHANGELOG.md +320 -0
- package/package.json +14 -19
- package/{dist/useEventListener → useEventListener}/useEventListener.d.ts +4 -2
- package/{dist/useEventListener → useEventListener}/useEventListener.d.ts.map +1 -1
- package/{dist/useHover → useHover}/useHover.d.ts +1 -1
- package/{dist/useHover → useHover}/useHover.d.ts.map +1 -1
- package/{dist/useOnClickOutside → useOnClickOutside}/useOnClickOutside.d.ts +1 -1
- package/{dist/useOnClickOutside → useOnClickOutside}/useOnClickOutside.d.ts.map +1 -1
- package/{dist/useResizeObserver → useResizeObserver}/useResizeObserver.d.ts +1 -1
- package/{dist/useResizeObserver → useResizeObserver}/useResizeObserver.d.ts.map +1 -1
- package/.babelrc +0 -12
- package/dist/CHANGELOG.md +0 -19
- package/dist/LICENSE +0 -21
- package/dist/README.md +0 -7
- package/dist/package.json +0 -68
- package/node_modules/@types/lodash.debounce/LICENSE +0 -21
- package/node_modules/@types/lodash.debounce/README.md +0 -23
- package/node_modules/@types/lodash.debounce/index.d.ts +0 -4
- package/node_modules/@types/lodash.debounce/package.json +0 -32
- package/node_modules/@types/react/LICENSE +0 -21
- package/node_modules/@types/react/README.md +0 -15
- package/node_modules/@types/react/canary.d.ts +0 -35
- package/node_modules/@types/react/compiler-runtime.d.ts +0 -4
- package/node_modules/@types/react/experimental.d.ts +0 -125
- package/node_modules/@types/react/global.d.ts +0 -160
- package/node_modules/@types/react/index.d.ts +0 -4206
- package/node_modules/@types/react/jsx-dev-runtime.d.ts +0 -45
- package/node_modules/@types/react/jsx-runtime.d.ts +0 -36
- package/node_modules/@types/react/package.json +0 -210
- package/node_modules/@types/react/ts5.0/canary.d.ts +0 -35
- package/node_modules/@types/react/ts5.0/experimental.d.ts +0 -125
- package/node_modules/@types/react/ts5.0/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/index.d.ts +0 -4193
- package/node_modules/@types/react/ts5.0/jsx-dev-runtime.d.ts +0 -44
- package/node_modules/@types/react/ts5.0/jsx-runtime.d.ts +0 -35
- package/node_modules/@types/react/ts5.0/v18/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/v18/index.d.ts +0 -4543
- package/node_modules/@types/react/ts5.0/v18/jsx-dev-runtime.d.ts +0 -45
- package/node_modules/@types/react/ts5.0/v18/jsx-runtime.d.ts +0 -36
- package/node_modules/@types/react/ts5.0/v18/ts5.0/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/v18/ts5.0/index.d.ts +0 -4530
- package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-dev-runtime.d.ts +0 -44
- package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-runtime.d.ts +0 -35
- package/src/index.ts +0 -36
- package/src/useBoolean/index.ts +0 -1
- package/src/useBoolean/useBoolean.ts +0 -50
- package/src/useClickAnyWhere/index.ts +0 -1
- package/src/useClickAnyWhere/useClickAnyWhere.ts +0 -22
- package/src/useCopyToClipboard/index.ts +0 -1
- package/src/useCopyToClipboard/useCopyToClipboard.ts +0 -58
- package/src/useCountdown/index.ts +0 -1
- package/src/useCountdown/useCountdown.ts +0 -102
- package/src/useCounter/index.ts +0 -1
- package/src/useCounter/useCounter.ts +0 -52
- package/src/useDarkMode/index.ts +0 -1
- package/src/useDarkMode/useDarkMode.ts +0 -92
- package/src/useDebounceCallback/index.ts +0 -2
- package/src/useDebounceCallback/useDebounceCallback.ts +0 -115
- package/src/useDebounceValue/index.ts +0 -1
- package/src/useDebounceValue/useDebounceValue.ts +0 -67
- package/src/useDocumentTitle/index.ts +0 -1
- package/src/useDocumentTitle/useDocumentTitle.ts +0 -43
- package/src/useEventCallback/index.ts +0 -1
- package/src/useEventCallback/useEventCallback.ts +0 -40
- package/src/useEventListener/index.ts +0 -1
- package/src/useEventListener/useEventListener.ts +0 -121
- package/src/useHover/index.ts +0 -1
- package/src/useHover/useHover.ts +0 -37
- package/src/useIntersectionObserver/index.ts +0 -1
- package/src/useIntersectionObserver/useIntersectionObserver.ts +0 -186
- package/src/useInterval/index.ts +0 -1
- package/src/useInterval/useInterval.ts +0 -43
- package/src/useIsClient/index.ts +0 -1
- package/src/useIsClient/useIsClient.ts +0 -22
- package/src/useIsMobile/index.ts +0 -2
- package/src/useIsMobile/types.ts +0 -3
- package/src/useIsMobile/useIsMobile.tsx +0 -23
- package/src/useIsMounted/index.ts +0 -1
- package/src/useIsMounted/useIsMounted.ts +0 -15
- package/src/useIsomorphicLayoutEffect/index.ts +0 -1
- package/src/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts +0 -17
- package/src/useLocalStorage/index.ts +0 -1
- package/src/useLocalStorage/useLocalStorage.ts +0 -191
- package/src/useLockBody/index.ts +0 -1
- package/src/useLockBody/useLockBody.tsx +0 -12
- package/src/useMap/index.ts +0 -1
- package/src/useMap/useMap.ts +0 -83
- package/src/useMediaQuery/index.ts +0 -1
- package/src/useMediaQuery/useMediaQuery.ts +0 -83
- package/src/useOnClickOutside/index.ts +0 -1
- package/src/useOnClickOutside/useOnClickOutside.ts +0 -61
- package/src/useQueryString/index.ts +0 -1
- package/src/useQueryString/useQueryString.ts +0 -26
- package/src/useReadLocalStorage/index.ts +0 -1
- package/src/useReadLocalStorage/useReadLocalStorage.ts +0 -122
- package/src/useResizeObserver/index.ts +0 -1
- package/src/useResizeObserver/useResizeObserver.ts +0 -131
- package/src/useScreen/index.ts +0 -1
- package/src/useScreen/useScreen.ts +0 -106
- package/src/useScript/index.ts +0 -1
- package/src/useScript/useScript.ts +0 -142
- package/src/useScrollLock/index.ts +0 -1
- package/src/useScrollLock/useScrollLock.ts +0 -141
- package/src/useSessionStorage/index.ts +0 -1
- package/src/useSessionStorage/useSessionStorage.ts +0 -191
- package/src/useStep/index.ts +0 -1
- package/src/useStep/useStep.ts +0 -83
- package/src/useTernaryDarkMode/index.ts +0 -1
- package/src/useTernaryDarkMode/useTernaryDarkMode.ts +0 -81
- package/src/useTimeout/index.ts +0 -1
- package/src/useTimeout/useTimeout.ts +0 -44
- package/src/useToggle/index.ts +0 -1
- package/src/useToggle/useToggle.ts +0 -30
- package/src/useUnmount/index.ts +0 -1
- package/src/useUnmount/useUnmount.ts +0 -26
- package/src/useWindowSize/index.ts +0 -1
- package/src/useWindowSize/useWindowSize.ts +0 -100
- package/tsconfig.json +0 -10
- package/tsconfig.lib.json +0 -33
- package/vite.config.ts +0 -62
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.d.ts.map → index.d.ts.map} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/useBoolean → useBoolean}/index.d.ts +0 -0
- /package/{dist/useBoolean → useBoolean}/index.d.ts.map +0 -0
- /package/{dist/useBoolean → useBoolean}/index.js +0 -0
- /package/{dist/useBoolean → useBoolean}/useBoolean.d.ts +0 -0
- /package/{dist/useBoolean → useBoolean}/useBoolean.d.ts.map +0 -0
- /package/{dist/useBoolean → useBoolean}/useBoolean.js +0 -0
- /package/{dist/useClickAnyWhere → useClickAnyWhere}/index.d.ts +0 -0
- /package/{dist/useClickAnyWhere → useClickAnyWhere}/index.d.ts.map +0 -0
- /package/{dist/useClickAnyWhere → useClickAnyWhere}/index.js +0 -0
- /package/{dist/useClickAnyWhere → useClickAnyWhere}/useClickAnyWhere.d.ts +0 -0
- /package/{dist/useClickAnyWhere → useClickAnyWhere}/useClickAnyWhere.d.ts.map +0 -0
- /package/{dist/useClickAnyWhere → useClickAnyWhere}/useClickAnyWhere.js +0 -0
- /package/{dist/useCopyToClipboard → useCopyToClipboard}/index.d.ts +0 -0
- /package/{dist/useCopyToClipboard → useCopyToClipboard}/index.d.ts.map +0 -0
- /package/{dist/useCopyToClipboard → useCopyToClipboard}/index.js +0 -0
- /package/{dist/useCopyToClipboard → useCopyToClipboard}/useCopyToClipboard.d.ts +0 -0
- /package/{dist/useCopyToClipboard → useCopyToClipboard}/useCopyToClipboard.d.ts.map +0 -0
- /package/{dist/useCopyToClipboard → useCopyToClipboard}/useCopyToClipboard.js +0 -0
- /package/{dist/useCountdown → useCountdown}/index.d.ts +0 -0
- /package/{dist/useCountdown → useCountdown}/index.d.ts.map +0 -0
- /package/{dist/useCountdown → useCountdown}/index.js +0 -0
- /package/{dist/useCountdown → useCountdown}/useCountdown.d.ts +0 -0
- /package/{dist/useCountdown → useCountdown}/useCountdown.d.ts.map +0 -0
- /package/{dist/useCountdown → useCountdown}/useCountdown.js +0 -0
- /package/{dist/useCounter → useCounter}/index.d.ts +0 -0
- /package/{dist/useCounter → useCounter}/index.d.ts.map +0 -0
- /package/{dist/useCounter → useCounter}/index.js +0 -0
- /package/{dist/useCounter → useCounter}/useCounter.d.ts +0 -0
- /package/{dist/useCounter → useCounter}/useCounter.d.ts.map +0 -0
- /package/{dist/useCounter → useCounter}/useCounter.js +0 -0
- /package/{dist/useDarkMode → useDarkMode}/index.d.ts +0 -0
- /package/{dist/useDarkMode → useDarkMode}/index.d.ts.map +0 -0
- /package/{dist/useDarkMode → useDarkMode}/index.js +0 -0
- /package/{dist/useDarkMode → useDarkMode}/useDarkMode.d.ts +0 -0
- /package/{dist/useDarkMode → useDarkMode}/useDarkMode.d.ts.map +0 -0
- /package/{dist/useDarkMode → useDarkMode}/useDarkMode.js +0 -0
- /package/{dist/useDebounceCallback → useDebounceCallback}/index.d.ts +0 -0
- /package/{dist/useDebounceCallback → useDebounceCallback}/index.d.ts.map +0 -0
- /package/{dist/useDebounceCallback → useDebounceCallback}/index.js +0 -0
- /package/{dist/useDebounceCallback → useDebounceCallback}/useDebounceCallback.d.ts +0 -0
- /package/{dist/useDebounceCallback → useDebounceCallback}/useDebounceCallback.d.ts.map +0 -0
- /package/{dist/useDebounceCallback → useDebounceCallback}/useDebounceCallback.js +0 -0
- /package/{dist/useDebounceValue → useDebounceValue}/index.d.ts +0 -0
- /package/{dist/useDebounceValue → useDebounceValue}/index.d.ts.map +0 -0
- /package/{dist/useDebounceValue → useDebounceValue}/index.js +0 -0
- /package/{dist/useDebounceValue → useDebounceValue}/useDebounceValue.d.ts +0 -0
- /package/{dist/useDebounceValue → useDebounceValue}/useDebounceValue.d.ts.map +0 -0
- /package/{dist/useDebounceValue → useDebounceValue}/useDebounceValue.js +0 -0
- /package/{dist/useDocumentTitle → useDocumentTitle}/index.d.ts +0 -0
- /package/{dist/useDocumentTitle → useDocumentTitle}/index.d.ts.map +0 -0
- /package/{dist/useDocumentTitle → useDocumentTitle}/index.js +0 -0
- /package/{dist/useDocumentTitle → useDocumentTitle}/useDocumentTitle.d.ts +0 -0
- /package/{dist/useDocumentTitle → useDocumentTitle}/useDocumentTitle.d.ts.map +0 -0
- /package/{dist/useDocumentTitle → useDocumentTitle}/useDocumentTitle.js +0 -0
- /package/{dist/useEventCallback → useEventCallback}/index.d.ts +0 -0
- /package/{dist/useEventCallback → useEventCallback}/index.d.ts.map +0 -0
- /package/{dist/useEventCallback → useEventCallback}/index.js +0 -0
- /package/{dist/useEventCallback → useEventCallback}/useEventCallback.d.ts +0 -0
- /package/{dist/useEventCallback → useEventCallback}/useEventCallback.d.ts.map +0 -0
- /package/{dist/useEventCallback → useEventCallback}/useEventCallback.js +0 -0
- /package/{dist/useEventListener → useEventListener}/index.d.ts +0 -0
- /package/{dist/useEventListener → useEventListener}/index.d.ts.map +0 -0
- /package/{dist/useEventListener → useEventListener}/index.js +0 -0
- /package/{dist/useEventListener → useEventListener}/useEventListener.js +0 -0
- /package/{dist/useHover → useHover}/index.d.ts +0 -0
- /package/{dist/useHover → useHover}/index.d.ts.map +0 -0
- /package/{dist/useHover → useHover}/index.js +0 -0
- /package/{dist/useHover → useHover}/useHover.js +0 -0
- /package/{dist/useIntersectionObserver → useIntersectionObserver}/index.d.ts +0 -0
- /package/{dist/useIntersectionObserver → useIntersectionObserver}/index.d.ts.map +0 -0
- /package/{dist/useIntersectionObserver → useIntersectionObserver}/index.js +0 -0
- /package/{dist/useIntersectionObserver → useIntersectionObserver}/useIntersectionObserver.d.ts +0 -0
- /package/{dist/useIntersectionObserver → useIntersectionObserver}/useIntersectionObserver.d.ts.map +0 -0
- /package/{dist/useIntersectionObserver → useIntersectionObserver}/useIntersectionObserver.js +0 -0
- /package/{dist/useInterval → useInterval}/index.d.ts +0 -0
- /package/{dist/useInterval → useInterval}/index.d.ts.map +0 -0
- /package/{dist/useInterval → useInterval}/index.js +0 -0
- /package/{dist/useInterval → useInterval}/useInterval.d.ts +0 -0
- /package/{dist/useInterval → useInterval}/useInterval.d.ts.map +0 -0
- /package/{dist/useInterval → useInterval}/useInterval.js +0 -0
- /package/{dist/useIsClient → useIsClient}/index.d.ts +0 -0
- /package/{dist/useIsClient → useIsClient}/index.d.ts.map +0 -0
- /package/{dist/useIsClient → useIsClient}/index.js +0 -0
- /package/{dist/useIsClient → useIsClient}/useIsClient.d.ts +0 -0
- /package/{dist/useIsClient → useIsClient}/useIsClient.d.ts.map +0 -0
- /package/{dist/useIsClient → useIsClient}/useIsClient.js +0 -0
- /package/{dist/useIsMobile → useIsMobile}/index.d.ts +0 -0
- /package/{dist/useIsMobile → useIsMobile}/index.d.ts.map +0 -0
- /package/{dist/useIsMobile → useIsMobile}/index.js +0 -0
- /package/{dist/useIsMobile → useIsMobile}/types.d.ts +0 -0
- /package/{dist/useIsMobile → useIsMobile}/types.d.ts.map +0 -0
- /package/{dist/useIsMobile → useIsMobile}/types.js +0 -0
- /package/{dist/useIsMobile → useIsMobile}/useIsMobile.d.ts +0 -0
- /package/{dist/useIsMobile → useIsMobile}/useIsMobile.d.ts.map +0 -0
- /package/{dist/useIsMobile → useIsMobile}/useIsMobile.js +0 -0
- /package/{dist/useIsMounted → useIsMounted}/index.d.ts +0 -0
- /package/{dist/useIsMounted → useIsMounted}/index.d.ts.map +0 -0
- /package/{dist/useIsMounted → useIsMounted}/index.js +0 -0
- /package/{dist/useIsMounted → useIsMounted}/useIsMounted.d.ts +0 -0
- /package/{dist/useIsMounted → useIsMounted}/useIsMounted.d.ts.map +0 -0
- /package/{dist/useIsMounted → useIsMounted}/useIsMounted.js +0 -0
- /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/index.d.ts +0 -0
- /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/index.d.ts.map +0 -0
- /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/index.js +0 -0
- /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/useIsomorphicLayoutEffect.d.ts.map +0 -0
- /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/useIsomorphicLayoutEffect.js +0 -0
- /package/{dist/useLocalStorage → useLocalStorage}/index.d.ts +0 -0
- /package/{dist/useLocalStorage → useLocalStorage}/index.d.ts.map +0 -0
- /package/{dist/useLocalStorage → useLocalStorage}/index.js +0 -0
- /package/{dist/useLocalStorage → useLocalStorage}/useLocalStorage.d.ts +0 -0
- /package/{dist/useLocalStorage → useLocalStorage}/useLocalStorage.d.ts.map +0 -0
- /package/{dist/useLocalStorage → useLocalStorage}/useLocalStorage.js +0 -0
- /package/{dist/useLockBody → useLockBody}/index.d.ts +0 -0
- /package/{dist/useLockBody → useLockBody}/index.d.ts.map +0 -0
- /package/{dist/useLockBody → useLockBody}/index.js +0 -0
- /package/{dist/useLockBody → useLockBody}/useLockBody.d.ts +0 -0
- /package/{dist/useLockBody → useLockBody}/useLockBody.d.ts.map +0 -0
- /package/{dist/useLockBody → useLockBody}/useLockBody.js +0 -0
- /package/{dist/useMap → useMap}/index.d.ts +0 -0
- /package/{dist/useMap → useMap}/index.d.ts.map +0 -0
- /package/{dist/useMap → useMap}/index.js +0 -0
- /package/{dist/useMap → useMap}/useMap.d.ts +0 -0
- /package/{dist/useMap → useMap}/useMap.d.ts.map +0 -0
- /package/{dist/useMap → useMap}/useMap.js +0 -0
- /package/{dist/useMediaQuery → useMediaQuery}/index.d.ts +0 -0
- /package/{dist/useMediaQuery → useMediaQuery}/index.d.ts.map +0 -0
- /package/{dist/useMediaQuery → useMediaQuery}/index.js +0 -0
- /package/{dist/useMediaQuery → useMediaQuery}/useMediaQuery.d.ts +0 -0
- /package/{dist/useMediaQuery → useMediaQuery}/useMediaQuery.d.ts.map +0 -0
- /package/{dist/useMediaQuery → useMediaQuery}/useMediaQuery.js +0 -0
- /package/{dist/useOnClickOutside → useOnClickOutside}/index.d.ts +0 -0
- /package/{dist/useOnClickOutside → useOnClickOutside}/index.d.ts.map +0 -0
- /package/{dist/useOnClickOutside → useOnClickOutside}/index.js +0 -0
- /package/{dist/useOnClickOutside → useOnClickOutside}/useOnClickOutside.js +0 -0
- /package/{dist/useQueryString → useQueryString}/index.d.ts +0 -0
- /package/{dist/useQueryString → useQueryString}/index.d.ts.map +0 -0
- /package/{dist/useQueryString → useQueryString}/index.js +0 -0
- /package/{dist/useQueryString → useQueryString}/useQueryString.d.ts +0 -0
- /package/{dist/useQueryString → useQueryString}/useQueryString.d.ts.map +0 -0
- /package/{dist/useQueryString → useQueryString}/useQueryString.js +0 -0
- /package/{dist/useReadLocalStorage → useReadLocalStorage}/index.d.ts +0 -0
- /package/{dist/useReadLocalStorage → useReadLocalStorage}/index.d.ts.map +0 -0
- /package/{dist/useReadLocalStorage → useReadLocalStorage}/index.js +0 -0
- /package/{dist/useReadLocalStorage → useReadLocalStorage}/useReadLocalStorage.d.ts +0 -0
- /package/{dist/useReadLocalStorage → useReadLocalStorage}/useReadLocalStorage.d.ts.map +0 -0
- /package/{dist/useReadLocalStorage → useReadLocalStorage}/useReadLocalStorage.js +0 -0
- /package/{dist/useResizeObserver → useResizeObserver}/index.d.ts +0 -0
- /package/{dist/useResizeObserver → useResizeObserver}/index.d.ts.map +0 -0
- /package/{dist/useResizeObserver → useResizeObserver}/index.js +0 -0
- /package/{dist/useResizeObserver → useResizeObserver}/useResizeObserver.js +0 -0
- /package/{dist/useScreen → useScreen}/index.d.ts +0 -0
- /package/{dist/useScreen → useScreen}/index.d.ts.map +0 -0
- /package/{dist/useScreen → useScreen}/index.js +0 -0
- /package/{dist/useScreen → useScreen}/useScreen.d.ts +0 -0
- /package/{dist/useScreen → useScreen}/useScreen.d.ts.map +0 -0
- /package/{dist/useScreen → useScreen}/useScreen.js +0 -0
- /package/{dist/useScript → useScript}/index.d.ts +0 -0
- /package/{dist/useScript → useScript}/index.d.ts.map +0 -0
- /package/{dist/useScript → useScript}/index.js +0 -0
- /package/{dist/useScript → useScript}/useScript.d.ts +0 -0
- /package/{dist/useScript → useScript}/useScript.d.ts.map +0 -0
- /package/{dist/useScript → useScript}/useScript.js +0 -0
- /package/{dist/useScrollLock → useScrollLock}/index.d.ts +0 -0
- /package/{dist/useScrollLock → useScrollLock}/index.d.ts.map +0 -0
- /package/{dist/useScrollLock → useScrollLock}/index.js +0 -0
- /package/{dist/useScrollLock → useScrollLock}/useScrollLock.d.ts +0 -0
- /package/{dist/useScrollLock → useScrollLock}/useScrollLock.d.ts.map +0 -0
- /package/{dist/useScrollLock → useScrollLock}/useScrollLock.js +0 -0
- /package/{dist/useSessionStorage → useSessionStorage}/index.d.ts +0 -0
- /package/{dist/useSessionStorage → useSessionStorage}/index.d.ts.map +0 -0
- /package/{dist/useSessionStorage → useSessionStorage}/index.js +0 -0
- /package/{dist/useSessionStorage → useSessionStorage}/useSessionStorage.d.ts +0 -0
- /package/{dist/useSessionStorage → useSessionStorage}/useSessionStorage.d.ts.map +0 -0
- /package/{dist/useSessionStorage → useSessionStorage}/useSessionStorage.js +0 -0
- /package/{dist/useStep → useStep}/index.d.ts +0 -0
- /package/{dist/useStep → useStep}/index.d.ts.map +0 -0
- /package/{dist/useStep → useStep}/index.js +0 -0
- /package/{dist/useStep → useStep}/useStep.d.ts +0 -0
- /package/{dist/useStep → useStep}/useStep.d.ts.map +0 -0
- /package/{dist/useStep → useStep}/useStep.js +0 -0
- /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/index.d.ts +0 -0
- /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/index.d.ts.map +0 -0
- /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/index.js +0 -0
- /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/useTernaryDarkMode.d.ts +0 -0
- /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/useTernaryDarkMode.d.ts.map +0 -0
- /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/useTernaryDarkMode.js +0 -0
- /package/{dist/useTimeout → useTimeout}/index.d.ts +0 -0
- /package/{dist/useTimeout → useTimeout}/index.d.ts.map +0 -0
- /package/{dist/useTimeout → useTimeout}/index.js +0 -0
- /package/{dist/useTimeout → useTimeout}/useTimeout.d.ts +0 -0
- /package/{dist/useTimeout → useTimeout}/useTimeout.d.ts.map +0 -0
- /package/{dist/useTimeout → useTimeout}/useTimeout.js +0 -0
- /package/{dist/useToggle → useToggle}/index.d.ts +0 -0
- /package/{dist/useToggle → useToggle}/index.d.ts.map +0 -0
- /package/{dist/useToggle → useToggle}/index.js +0 -0
- /package/{dist/useToggle → useToggle}/useToggle.d.ts +0 -0
- /package/{dist/useToggle → useToggle}/useToggle.d.ts.map +0 -0
- /package/{dist/useToggle → useToggle}/useToggle.js +0 -0
- /package/{dist/useUnmount → useUnmount}/index.d.ts +0 -0
- /package/{dist/useUnmount → useUnmount}/index.d.ts.map +0 -0
- /package/{dist/useUnmount → useUnmount}/index.js +0 -0
- /package/{dist/useUnmount → useUnmount}/useUnmount.d.ts +0 -0
- /package/{dist/useUnmount → useUnmount}/useUnmount.d.ts.map +0 -0
- /package/{dist/useUnmount → useUnmount}/useUnmount.js +0 -0
- /package/{dist/useWindowSize → useWindowSize}/index.d.ts +0 -0
- /package/{dist/useWindowSize → useWindowSize}/index.d.ts.map +0 -0
- /package/{dist/useWindowSize → useWindowSize}/index.js +0 -0
- /package/{dist/useWindowSize → useWindowSize}/useWindowSize.d.ts +0 -0
- /package/{dist/useWindowSize → useWindowSize}/useWindowSize.d.ts.map +0 -0
- /package/{dist/useWindowSize → useWindowSize}/useWindowSize.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,323 @@
|
|
|
1
|
+
## 0.1.0-91 (2025-10-13)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.1.0-90 (2025-10-13)
|
|
6
|
+
|
|
7
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
8
|
+
|
|
9
|
+
## 0.1.0-89 (2025-10-13)
|
|
10
|
+
|
|
11
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
12
|
+
|
|
13
|
+
## 0.1.0-88 (2025-10-06)
|
|
14
|
+
|
|
15
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
16
|
+
|
|
17
|
+
## 0.1.0-87 (2025-10-04)
|
|
18
|
+
|
|
19
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
20
|
+
|
|
21
|
+
## 0.1.0-86 (2025-10-04)
|
|
22
|
+
|
|
23
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
24
|
+
|
|
25
|
+
## 0.1.0-85 (2025-10-04)
|
|
26
|
+
|
|
27
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
28
|
+
|
|
29
|
+
## 0.1.0-84 (2025-10-04)
|
|
30
|
+
|
|
31
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
32
|
+
|
|
33
|
+
## 0.1.0-83 (2025-10-03)
|
|
34
|
+
|
|
35
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
36
|
+
|
|
37
|
+
## 0.1.0-82 (2025-10-03)
|
|
38
|
+
|
|
39
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
40
|
+
|
|
41
|
+
## 0.1.0-81 (2025-10-03)
|
|
42
|
+
|
|
43
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
44
|
+
|
|
45
|
+
## 0.1.0-80 (2025-10-02)
|
|
46
|
+
|
|
47
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
48
|
+
|
|
49
|
+
## 0.1.0-79 (2025-10-02)
|
|
50
|
+
|
|
51
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
52
|
+
|
|
53
|
+
## 0.1.0-78 (2025-10-02)
|
|
54
|
+
|
|
55
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
56
|
+
|
|
57
|
+
## 0.1.0-77 (2025-10-02)
|
|
58
|
+
|
|
59
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
60
|
+
|
|
61
|
+
## 0.1.0-76 (2025-10-02)
|
|
62
|
+
|
|
63
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
64
|
+
|
|
65
|
+
## 0.1.0-75 (2025-10-02)
|
|
66
|
+
|
|
67
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
68
|
+
|
|
69
|
+
## 0.1.0-74 (2025-10-02)
|
|
70
|
+
|
|
71
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
72
|
+
|
|
73
|
+
## 0.1.0-73 (2025-10-02)
|
|
74
|
+
|
|
75
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
76
|
+
|
|
77
|
+
## 0.1.0-72 (2025-10-02)
|
|
78
|
+
|
|
79
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
80
|
+
|
|
81
|
+
## 0.1.0-71 (2025-10-02)
|
|
82
|
+
|
|
83
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
84
|
+
|
|
85
|
+
## 0.1.0-70 (2025-10-02)
|
|
86
|
+
|
|
87
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
88
|
+
|
|
89
|
+
## 0.1.0-69 (2025-10-02)
|
|
90
|
+
|
|
91
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
92
|
+
|
|
93
|
+
## 0.1.0-68 (2025-10-02)
|
|
94
|
+
|
|
95
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
96
|
+
|
|
97
|
+
## 0.1.0-67 (2025-09-16)
|
|
98
|
+
|
|
99
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
100
|
+
|
|
101
|
+
## 0.1.0-66 (2025-09-16)
|
|
102
|
+
|
|
103
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
104
|
+
|
|
105
|
+
## 0.1.0-65 (2025-09-16)
|
|
106
|
+
|
|
107
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
108
|
+
|
|
109
|
+
## 0.1.0-64 (2025-09-16)
|
|
110
|
+
|
|
111
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
112
|
+
|
|
113
|
+
## 0.1.0-63 (2025-09-16)
|
|
114
|
+
|
|
115
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
116
|
+
|
|
117
|
+
## 0.1.0-62 (2025-09-16)
|
|
118
|
+
|
|
119
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
120
|
+
|
|
121
|
+
## 0.1.0-61 (2025-09-16)
|
|
122
|
+
|
|
123
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
124
|
+
|
|
125
|
+
## 0.1.0-60 (2025-09-16)
|
|
126
|
+
|
|
127
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
128
|
+
|
|
129
|
+
## 0.1.0-59 (2025-09-16)
|
|
130
|
+
|
|
131
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
132
|
+
|
|
133
|
+
## 0.1.0-58 (2025-09-16)
|
|
134
|
+
|
|
135
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
136
|
+
|
|
137
|
+
## 0.1.0-57 (2025-09-16)
|
|
138
|
+
|
|
139
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
140
|
+
|
|
141
|
+
## 0.1.0-56 (2025-09-16)
|
|
142
|
+
|
|
143
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
144
|
+
|
|
145
|
+
## 0.1.0-55 (2025-09-16)
|
|
146
|
+
|
|
147
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
148
|
+
|
|
149
|
+
## 0.1.0-54 (2025-09-16)
|
|
150
|
+
|
|
151
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
152
|
+
|
|
153
|
+
## 0.1.0-53 (2025-09-16)
|
|
154
|
+
|
|
155
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
156
|
+
|
|
157
|
+
## 0.1.0-52 (2025-09-16)
|
|
158
|
+
|
|
159
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
160
|
+
|
|
161
|
+
## 0.1.0-51 (2025-09-16)
|
|
162
|
+
|
|
163
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
164
|
+
|
|
165
|
+
## 0.1.0-50 (2025-09-15)
|
|
166
|
+
|
|
167
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
168
|
+
|
|
169
|
+
## 0.1.0-49 (2025-09-15)
|
|
170
|
+
|
|
171
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
172
|
+
|
|
173
|
+
## 0.1.0-48 (2025-09-15)
|
|
174
|
+
|
|
175
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
176
|
+
|
|
177
|
+
## 0.1.0-47 (2025-09-15)
|
|
178
|
+
|
|
179
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
180
|
+
|
|
181
|
+
## 0.1.0-46 (2025-09-15)
|
|
182
|
+
|
|
183
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
184
|
+
|
|
185
|
+
## 0.1.0-45 (2025-09-15)
|
|
186
|
+
|
|
187
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
188
|
+
|
|
189
|
+
## 0.1.0-44 (2025-09-15)
|
|
190
|
+
|
|
191
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
192
|
+
|
|
193
|
+
## 0.1.0-43 (2025-09-15)
|
|
194
|
+
|
|
195
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
196
|
+
|
|
197
|
+
## 0.1.0-42 (2025-09-15)
|
|
198
|
+
|
|
199
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
200
|
+
|
|
201
|
+
## 0.1.0-41 (2025-09-15)
|
|
202
|
+
|
|
203
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
204
|
+
|
|
205
|
+
## 0.1.0-40 (2025-09-15)
|
|
206
|
+
|
|
207
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
208
|
+
|
|
209
|
+
## 0.1.0-39 (2025-09-15)
|
|
210
|
+
|
|
211
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
212
|
+
|
|
213
|
+
## 0.1.0-38 (2025-09-15)
|
|
214
|
+
|
|
215
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
216
|
+
|
|
217
|
+
## 0.1.0-37 (2025-09-15)
|
|
218
|
+
|
|
219
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
220
|
+
|
|
221
|
+
## 0.1.0-36 (2025-09-15)
|
|
222
|
+
|
|
223
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
224
|
+
|
|
225
|
+
## 0.1.0-35 (2025-09-15)
|
|
226
|
+
|
|
227
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
228
|
+
|
|
229
|
+
## 0.1.0-34 (2025-09-15)
|
|
230
|
+
|
|
231
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
232
|
+
|
|
233
|
+
## 0.1.0-33 (2025-09-15)
|
|
234
|
+
|
|
235
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
236
|
+
|
|
237
|
+
## 0.1.0-32 (2025-09-15)
|
|
238
|
+
|
|
239
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
240
|
+
|
|
241
|
+
## 0.1.0-31 (2025-09-15)
|
|
242
|
+
|
|
243
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
244
|
+
|
|
245
|
+
## 0.1.0-30 (2025-09-15)
|
|
246
|
+
|
|
247
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
248
|
+
|
|
249
|
+
## 0.1.0-29 (2025-09-15)
|
|
250
|
+
|
|
251
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
252
|
+
|
|
253
|
+
## 0.1.0-28 (2025-09-15)
|
|
254
|
+
|
|
255
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
256
|
+
|
|
257
|
+
## 0.1.0-26 (2025-09-15)
|
|
258
|
+
|
|
259
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
260
|
+
|
|
261
|
+
## 0.1.0-25 (2025-09-15)
|
|
262
|
+
|
|
263
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
264
|
+
|
|
265
|
+
## 0.1.0-24 (2025-09-15)
|
|
266
|
+
|
|
267
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
268
|
+
|
|
269
|
+
## 0.1.0-23 (2025-09-15)
|
|
270
|
+
|
|
271
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
272
|
+
|
|
273
|
+
## 0.1.0-22 (2025-09-15)
|
|
274
|
+
|
|
275
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
276
|
+
|
|
277
|
+
## 0.1.0-21 (2025-09-15)
|
|
278
|
+
|
|
279
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
280
|
+
|
|
281
|
+
## 0.1.0-20 (2025-09-15)
|
|
282
|
+
|
|
283
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
284
|
+
|
|
285
|
+
## 0.1.0-19 (2025-09-15)
|
|
286
|
+
|
|
287
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
288
|
+
|
|
289
|
+
## 0.1.0-18 (2025-09-15)
|
|
290
|
+
|
|
291
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
292
|
+
|
|
293
|
+
## 0.1.0-17 (2025-09-15)
|
|
294
|
+
|
|
295
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
296
|
+
|
|
297
|
+
## 0.1.0-16 (2025-09-15)
|
|
298
|
+
|
|
299
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
300
|
+
|
|
301
|
+
## 0.1.0-14 (2025-09-15)
|
|
302
|
+
|
|
303
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
304
|
+
|
|
305
|
+
## 0.1.0-13 (2025-09-15)
|
|
306
|
+
|
|
307
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
308
|
+
|
|
309
|
+
## 0.1.0-12 (2025-09-15)
|
|
310
|
+
|
|
311
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
312
|
+
|
|
313
|
+
## 0.1.0-11 (2025-09-15)
|
|
314
|
+
|
|
315
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
316
|
+
|
|
317
|
+
## 0.1.0-10 (2025-09-11)
|
|
318
|
+
|
|
319
|
+
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
320
|
+
|
|
1
321
|
## 0.1.0-9 (2025-09-11)
|
|
2
322
|
|
|
3
323
|
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneplatformdev/hooks",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-91",
|
|
4
4
|
"description": "React hook library",
|
|
5
5
|
"author": "One Platform Development Team",
|
|
6
6
|
"keywords": [
|
|
@@ -21,37 +21,32 @@
|
|
|
21
21
|
"private": false,
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"type": "module",
|
|
24
|
+
"source": "./index.ts",
|
|
24
25
|
"main": "./index.js",
|
|
25
26
|
"module": "./index.js",
|
|
27
|
+
"default": "./index.js",
|
|
26
28
|
"types": "./index.d.ts",
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"@oneplatformdev/source": "./src/index.ts",
|
|
31
|
-
"types": "./index.d.ts",
|
|
32
|
-
"import": "./index.js",
|
|
33
|
-
"default": "./index.js"
|
|
34
|
-
},
|
|
35
|
-
"./*": {
|
|
36
|
-
"types": "./*.d.ts",
|
|
37
|
-
"import": "./*.js",
|
|
38
|
-
"default": "./*.js"
|
|
39
|
-
}
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"directory": "dist"
|
|
40
32
|
},
|
|
41
33
|
"files": [
|
|
42
34
|
"**/*",
|
|
43
35
|
"dist",
|
|
44
|
-
"README.md",
|
|
45
|
-
"LICENSE",
|
|
46
36
|
"!**/*.tsbuildinfo"
|
|
47
37
|
],
|
|
48
38
|
"dependencies": {
|
|
49
39
|
"lodash.debounce": "^4.0.8"
|
|
50
40
|
},
|
|
51
41
|
"peerDependencies": {
|
|
52
|
-
"react": "
|
|
53
|
-
"react-dom": "
|
|
54
|
-
|
|
42
|
+
"react": "^19.0.0",
|
|
43
|
+
"react-dom": "^19.0.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"react": "19.1.1",
|
|
47
|
+
"react-dom": "19.1.1",
|
|
48
|
+
"@types/react": "19.x",
|
|
49
|
+
"@types/react-dom": "19.x",
|
|
55
50
|
"@types/lodash.debounce": "^4.0.9"
|
|
56
51
|
},
|
|
57
52
|
"peerDependenciesMeta": {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
declare function useEventListener<K extends keyof MediaQueryListEventMap>(eventName: K, handler: (event: MediaQueryListEventMap[K]) => void, element: RefObject<MediaQueryList>, options?: boolean | AddEventListenerOptions): void;
|
|
3
3
|
declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void, element?: undefined, options?: boolean | AddEventListenerOptions): void;
|
|
4
|
-
declare function useEventListener<K extends keyof HTMLElementEventMap & keyof SVGElementEventMap, T extends Element = K extends keyof HTMLElementEventMap ? HTMLDivElement : SVGElement>(eventName: K, handler: ((event: HTMLElementEventMap[K]) => void) | ((event: SVGElementEventMap[K]) => void), element: RefObject<
|
|
5
|
-
declare function useEventListener<K extends keyof
|
|
4
|
+
declare function useEventListener<K extends keyof HTMLElementEventMap & keyof SVGElementEventMap, T extends Element = K extends keyof HTMLElementEventMap ? HTMLDivElement : SVGElement>(eventName: K, handler: ((event: HTMLElementEventMap[K]) => void) | ((event: SVGElementEventMap[K]) => void), element: RefObject<Document | undefined | null>, options?: boolean | AddEventListenerOptions): void;
|
|
5
|
+
declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void, element: RefObject<Window | undefined | null>, options?: boolean | AddEventListenerOptions): void;
|
|
6
|
+
declare function useEventListener<K extends keyof DocumentEventMap>(eventName: K, handler: (event: DocumentEventMap[K]) => void, element: RefObject<Document | undefined | null>, options?: boolean | AddEventListenerOptions): void;
|
|
7
|
+
declare function useEventListener<K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, element: RefObject<HTMLElement | undefined | null>, options?: boolean | AddEventListenerOptions): void;
|
|
6
8
|
export { useEventListener };
|
|
7
9
|
//# sourceMappingURL=useEventListener.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEventListener.d.ts","sourceRoot":"","sources":["../../src/useEventListener/useEventListener.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,sBAAsB,EAC9D,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,IAAI,EACnD,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,EAClC,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAA;AAGP,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,cAAc,EACtD,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI,EAC3C,OAAO,CAAC,EAAE,SAAS,EACnB,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAA;AAGP,iBAAS,gBAAgB,CACvB,CAAC,SAAS,MAAM,mBAAmB,GAAG,MAAM,kBAAkB,EAC9D,CAAC,SAAS,OAAO,GAAG,CAAC,SAAS,MAAM,mBAAmB,GACnD,cAAc,GACd,UAAU,EAEd,SAAS,EAAE,CAAC,EACZ,OAAO,EACH,CAAC,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GACzC,CAAC,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,EAC5C,OAAO,EAAE,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"useEventListener.d.ts","sourceRoot":"","sources":["../../src/useEventListener/useEventListener.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,sBAAsB,EAC9D,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,IAAI,EACnD,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,EAClC,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAA;AAGP,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,cAAc,EACtD,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI,EAC3C,OAAO,CAAC,EAAE,SAAS,EACnB,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAA;AAGP,iBAAS,gBAAgB,CACvB,CAAC,SAAS,MAAM,mBAAmB,GAAG,MAAM,kBAAkB,EAC9D,CAAC,SAAS,OAAO,GAAG,CAAC,SAAS,MAAM,mBAAmB,GACnD,cAAc,GACd,UAAU,EAEd,SAAS,EAAE,CAAC,EACZ,OAAO,EACH,CAAC,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GACzC,CAAC,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,EAC5C,OAAO,EAAE,SAAS,CAAC,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,EAC/C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAA;AAGP,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,cAAc,EACtD,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI,EAC3C,OAAO,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC,EAC7C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;AACR,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,gBAAgB,EACxD,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,EAC7C,OAAO,EAAE,SAAS,CAAC,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,EAC/C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAA;AACP,iBAAS,gBAAgB,CAAC,CAAC,SAAS,MAAM,mBAAmB,EAC3D,SAAS,EAAE,CAAC,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,IAAI,EAChD,OAAO,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,GAAG,IAAI,CAAC,EAClD,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;AA6ER,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -13,5 +13,5 @@ import { RefObject } from 'react';
|
|
|
13
13
|
* // Access the isHovered variable to determine if the button is being hovered over.
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
|
-
export declare function useHover<T extends HTMLElement = HTMLElement>(elementRef: RefObject<T>): boolean;
|
|
16
|
+
export declare function useHover<T extends HTMLElement = HTMLElement>(elementRef: RefObject<T | undefined | null>): boolean;
|
|
17
17
|
//# sourceMappingURL=useHover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/useHover/useHover.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC1D,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/useHover/useHover.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC1D,UAAU,EAAE,SAAS,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GAC1C,OAAO,CAcT"}
|
|
@@ -19,6 +19,6 @@ type EventType = 'mousedown' | 'mouseup' | 'touchstart' | 'touchend' | 'focusin'
|
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare function useOnClickOutside<T extends HTMLElement = HTMLElement>(ref: RefObject<T> | RefObject<T>[], handler: (event: MouseEvent | TouchEvent | FocusEvent) => void, eventType?: EventType, eventListenerOptions?: AddEventListenerOptions): void;
|
|
22
|
+
export declare function useOnClickOutside<T extends HTMLElement = HTMLElement>(ref: RefObject<T | undefined | null> | RefObject<T | undefined | null>[], handler: (event: MouseEvent | TouchEvent | FocusEvent) => void, eventType?: EventType, eventListenerOptions?: AddEventListenerOptions): void;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=useOnClickOutside.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnClickOutside.d.ts","sourceRoot":"","sources":["../../src/useOnClickOutside/useOnClickOutside.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,6BAA6B;AAC7B,KAAK,SAAS,GACV,WAAW,GACX,SAAS,GACT,YAAY,GACZ,UAAU,GACV,SAAS,GACT,UAAU,CAAA;AAEd;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACnE,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"useOnClickOutside.d.ts","sourceRoot":"","sources":["../../src/useOnClickOutside/useOnClickOutside.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,6BAA6B;AAC7B,KAAK,SAAS,GACV,WAAW,GACX,SAAS,GACT,YAAY,GACZ,UAAU,GACV,SAAS,GACT,UAAU,CAAA;AAEd;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACnE,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,EAAE,EACxE,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,KAAK,IAAI,EAC9D,SAAS,GAAE,SAAuB,EAClC,oBAAoB,GAAE,uBAA4B,GACjD,IAAI,CAwBN"}
|
|
@@ -9,7 +9,7 @@ type Size = {
|
|
|
9
9
|
/** The options for the ResizeObserver. */
|
|
10
10
|
type UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {
|
|
11
11
|
/** The ref of the element to observe. */
|
|
12
|
-
ref: RefObject<T>;
|
|
12
|
+
ref: RefObject<T | undefined | null>;
|
|
13
13
|
/**
|
|
14
14
|
* When using `onResize`, the hook doesn't re-render on element size changes; it delegates handling to the provided callback.
|
|
15
15
|
* @default undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResizeObserver.d.ts","sourceRoot":"","sources":["../../src/useResizeObserver/useResizeObserver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,wCAAwC;AACxC,KAAK,IAAI,GAAG;IACV,yCAAyC;IACzC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,0CAA0C;IAC1C,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,0CAA0C;AAC1C,KAAK,wBAAwB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACnE,yCAAyC;IACzC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"useResizeObserver.d.ts","sourceRoot":"","sources":["../../src/useResizeObserver/useResizeObserver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,wCAAwC;AACxC,KAAK,IAAI,GAAG;IACV,yCAAyC;IACzC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,0CAA0C;IAC1C,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,0CAA0C;AAC1C,KAAK,wBAAwB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACnE,yCAAyC;IACzC,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IAC/B;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,GAAG,aAAa,GAAG,0BAA0B,CAAA;CAChE,CAAA;AAOD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACnE,OAAO,EAAE,wBAAwB,CAAC,CAAC,CAAC,GACnC,IAAI,CAmDN"}
|
package/.babelrc
DELETED
package/dist/CHANGELOG.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
## 0.1.0-8 (2025-09-11)
|
|
2
|
-
|
|
3
|
-
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
4
|
-
|
|
5
|
-
## 0.1.0-7 (2025-09-11)
|
|
6
|
-
|
|
7
|
-
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
8
|
-
|
|
9
|
-
## 0.1.0-6 (2025-09-11)
|
|
10
|
-
|
|
11
|
-
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
12
|
-
|
|
13
|
-
## 0.1.0-5 (2025-09-11)
|
|
14
|
-
|
|
15
|
-
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
|
16
|
-
|
|
17
|
-
## 0.1.0-4 (2025-09-11)
|
|
18
|
-
|
|
19
|
-
This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
|
package/dist/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Oleh Maksimenko
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/dist/README.md
DELETED
package/dist/package.json
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@oneplatformdev/hooks",
|
|
3
|
-
"version": "0.1.0-8",
|
|
4
|
-
"description": "React hook library",
|
|
5
|
-
"author": "One Platform Development Team",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"react",
|
|
8
|
-
"oneplatform",
|
|
9
|
-
"hooks",
|
|
10
|
-
"typescript"
|
|
11
|
-
],
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/oneplatformdev/core.git",
|
|
15
|
-
"directory": "packages/hooks"
|
|
16
|
-
},
|
|
17
|
-
"bugs": {
|
|
18
|
-
"url": "https://github.com/oneplatformdev/core/issues"
|
|
19
|
-
},
|
|
20
|
-
"homepage": "private package",
|
|
21
|
-
"private": false,
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"type": "module",
|
|
24
|
-
"main": "./index.js",
|
|
25
|
-
"module": "./index.js",
|
|
26
|
-
"types": "./index.d.ts",
|
|
27
|
-
"exports": {
|
|
28
|
-
"./package.json": "./package.json",
|
|
29
|
-
".": {
|
|
30
|
-
"@oneplatformdev/source": "./src/index.ts",
|
|
31
|
-
"types": "./index.d.ts",
|
|
32
|
-
"import": "./index.js",
|
|
33
|
-
"default": "./index.js"
|
|
34
|
-
},
|
|
35
|
-
"./*": {
|
|
36
|
-
"types": "./*.d.ts",
|
|
37
|
-
"import": "./*.js",
|
|
38
|
-
"default": "./*.js"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"files": [
|
|
42
|
-
"**/*",
|
|
43
|
-
"dist",
|
|
44
|
-
"README.md",
|
|
45
|
-
"LICENSE",
|
|
46
|
-
"!**/*.tsbuildinfo"
|
|
47
|
-
],
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"lodash.debounce": "^4.0.8"
|
|
50
|
-
},
|
|
51
|
-
"peerDependencies": {
|
|
52
|
-
"react": ">=18",
|
|
53
|
-
"react-dom": ">=18",
|
|
54
|
-
"@types/react": ">=18",
|
|
55
|
-
"@types/lodash.debounce": "^4.0.9"
|
|
56
|
-
},
|
|
57
|
-
"peerDependenciesMeta": {
|
|
58
|
-
"@types/react": {
|
|
59
|
-
"optional": true
|
|
60
|
-
},
|
|
61
|
-
"@types/react-dom": {
|
|
62
|
-
"optional": true
|
|
63
|
-
},
|
|
64
|
-
"@types/lodash.debounce": {
|
|
65
|
-
"optional": true
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
> `npm install --save @types/lodash.debounce`
|
|
3
|
-
|
|
4
|
-
# Summary
|
|
5
|
-
This package contains type definitions for lodash.debounce (https://lodash.com).
|
|
6
|
-
|
|
7
|
-
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.debounce.
|
|
9
|
-
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.debounce/index.d.ts)
|
|
10
|
-
````ts
|
|
11
|
-
// Generated from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/lodash/scripts/generate-modules.ts
|
|
12
|
-
|
|
13
|
-
import { debounce } from "lodash";
|
|
14
|
-
export = debounce;
|
|
15
|
-
|
|
16
|
-
````
|
|
17
|
-
|
|
18
|
-
### Additional Details
|
|
19
|
-
* Last updated: Tue, 07 Nov 2023 09:09:38 GMT
|
|
20
|
-
* Dependencies: [@types/lodash](https://npmjs.com/package/@types/lodash)
|
|
21
|
-
|
|
22
|
-
# Credits
|
|
23
|
-
These definitions were written by [Brian Zengel](https://github.com/bczengel), and [Ilya Mochalov](https://github.com/chrootsu).
|