@oneplatformdev/hooks 0.1.0-13 → 0.1.0-135

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.
Files changed (228) hide show
  1. package/CHANGELOG.md +519 -0
  2. package/package.json +15 -19
  3. package/{dist/useEventListener → useEventListener}/useEventListener.d.ts +4 -2
  4. package/{dist/useEventListener → useEventListener}/useEventListener.d.ts.map +1 -1
  5. package/{dist/useHover → useHover}/useHover.d.ts +1 -1
  6. package/{dist/useHover → useHover}/useHover.d.ts.map +1 -1
  7. package/{dist/useOnClickOutside → useOnClickOutside}/useOnClickOutside.d.ts +1 -1
  8. package/{dist/useOnClickOutside → useOnClickOutside}/useOnClickOutside.d.ts.map +1 -1
  9. package/{dist/useResizeObserver → useResizeObserver}/useResizeObserver.d.ts +1 -1
  10. package/{dist/useResizeObserver → useResizeObserver}/useResizeObserver.d.ts.map +1 -1
  11. package/dist/CHANGELOG.md +0 -35
  12. package/dist/LICENSE +0 -21
  13. package/dist/README.md +0 -7
  14. package/dist/package.json +0 -67
  15. /package/{dist/index.d.ts → index.d.ts} +0 -0
  16. /package/{dist/index.d.ts.map → index.d.ts.map} +0 -0
  17. /package/{dist/index.js → index.js} +0 -0
  18. /package/{dist/useBoolean → useBoolean}/index.d.ts +0 -0
  19. /package/{dist/useBoolean → useBoolean}/index.d.ts.map +0 -0
  20. /package/{dist/useBoolean → useBoolean}/index.js +0 -0
  21. /package/{dist/useBoolean → useBoolean}/useBoolean.d.ts +0 -0
  22. /package/{dist/useBoolean → useBoolean}/useBoolean.d.ts.map +0 -0
  23. /package/{dist/useBoolean → useBoolean}/useBoolean.js +0 -0
  24. /package/{dist/useClickAnyWhere → useClickAnyWhere}/index.d.ts +0 -0
  25. /package/{dist/useClickAnyWhere → useClickAnyWhere}/index.d.ts.map +0 -0
  26. /package/{dist/useClickAnyWhere → useClickAnyWhere}/index.js +0 -0
  27. /package/{dist/useClickAnyWhere → useClickAnyWhere}/useClickAnyWhere.d.ts +0 -0
  28. /package/{dist/useClickAnyWhere → useClickAnyWhere}/useClickAnyWhere.d.ts.map +0 -0
  29. /package/{dist/useClickAnyWhere → useClickAnyWhere}/useClickAnyWhere.js +0 -0
  30. /package/{dist/useCopyToClipboard → useCopyToClipboard}/index.d.ts +0 -0
  31. /package/{dist/useCopyToClipboard → useCopyToClipboard}/index.d.ts.map +0 -0
  32. /package/{dist/useCopyToClipboard → useCopyToClipboard}/index.js +0 -0
  33. /package/{dist/useCopyToClipboard → useCopyToClipboard}/useCopyToClipboard.d.ts +0 -0
  34. /package/{dist/useCopyToClipboard → useCopyToClipboard}/useCopyToClipboard.d.ts.map +0 -0
  35. /package/{dist/useCopyToClipboard → useCopyToClipboard}/useCopyToClipboard.js +0 -0
  36. /package/{dist/useCountdown → useCountdown}/index.d.ts +0 -0
  37. /package/{dist/useCountdown → useCountdown}/index.d.ts.map +0 -0
  38. /package/{dist/useCountdown → useCountdown}/index.js +0 -0
  39. /package/{dist/useCountdown → useCountdown}/useCountdown.d.ts +0 -0
  40. /package/{dist/useCountdown → useCountdown}/useCountdown.d.ts.map +0 -0
  41. /package/{dist/useCountdown → useCountdown}/useCountdown.js +0 -0
  42. /package/{dist/useCounter → useCounter}/index.d.ts +0 -0
  43. /package/{dist/useCounter → useCounter}/index.d.ts.map +0 -0
  44. /package/{dist/useCounter → useCounter}/index.js +0 -0
  45. /package/{dist/useCounter → useCounter}/useCounter.d.ts +0 -0
  46. /package/{dist/useCounter → useCounter}/useCounter.d.ts.map +0 -0
  47. /package/{dist/useCounter → useCounter}/useCounter.js +0 -0
  48. /package/{dist/useDarkMode → useDarkMode}/index.d.ts +0 -0
  49. /package/{dist/useDarkMode → useDarkMode}/index.d.ts.map +0 -0
  50. /package/{dist/useDarkMode → useDarkMode}/index.js +0 -0
  51. /package/{dist/useDarkMode → useDarkMode}/useDarkMode.d.ts +0 -0
  52. /package/{dist/useDarkMode → useDarkMode}/useDarkMode.d.ts.map +0 -0
  53. /package/{dist/useDarkMode → useDarkMode}/useDarkMode.js +0 -0
  54. /package/{dist/useDebounceCallback → useDebounceCallback}/index.d.ts +0 -0
  55. /package/{dist/useDebounceCallback → useDebounceCallback}/index.d.ts.map +0 -0
  56. /package/{dist/useDebounceCallback → useDebounceCallback}/index.js +0 -0
  57. /package/{dist/useDebounceCallback → useDebounceCallback}/useDebounceCallback.d.ts +0 -0
  58. /package/{dist/useDebounceCallback → useDebounceCallback}/useDebounceCallback.d.ts.map +0 -0
  59. /package/{dist/useDebounceCallback → useDebounceCallback}/useDebounceCallback.js +0 -0
  60. /package/{dist/useDebounceValue → useDebounceValue}/index.d.ts +0 -0
  61. /package/{dist/useDebounceValue → useDebounceValue}/index.d.ts.map +0 -0
  62. /package/{dist/useDebounceValue → useDebounceValue}/index.js +0 -0
  63. /package/{dist/useDebounceValue → useDebounceValue}/useDebounceValue.d.ts +0 -0
  64. /package/{dist/useDebounceValue → useDebounceValue}/useDebounceValue.d.ts.map +0 -0
  65. /package/{dist/useDebounceValue → useDebounceValue}/useDebounceValue.js +0 -0
  66. /package/{dist/useDocumentTitle → useDocumentTitle}/index.d.ts +0 -0
  67. /package/{dist/useDocumentTitle → useDocumentTitle}/index.d.ts.map +0 -0
  68. /package/{dist/useDocumentTitle → useDocumentTitle}/index.js +0 -0
  69. /package/{dist/useDocumentTitle → useDocumentTitle}/useDocumentTitle.d.ts +0 -0
  70. /package/{dist/useDocumentTitle → useDocumentTitle}/useDocumentTitle.d.ts.map +0 -0
  71. /package/{dist/useDocumentTitle → useDocumentTitle}/useDocumentTitle.js +0 -0
  72. /package/{dist/useEventCallback → useEventCallback}/index.d.ts +0 -0
  73. /package/{dist/useEventCallback → useEventCallback}/index.d.ts.map +0 -0
  74. /package/{dist/useEventCallback → useEventCallback}/index.js +0 -0
  75. /package/{dist/useEventCallback → useEventCallback}/useEventCallback.d.ts +0 -0
  76. /package/{dist/useEventCallback → useEventCallback}/useEventCallback.d.ts.map +0 -0
  77. /package/{dist/useEventCallback → useEventCallback}/useEventCallback.js +0 -0
  78. /package/{dist/useEventListener → useEventListener}/index.d.ts +0 -0
  79. /package/{dist/useEventListener → useEventListener}/index.d.ts.map +0 -0
  80. /package/{dist/useEventListener → useEventListener}/index.js +0 -0
  81. /package/{dist/useEventListener → useEventListener}/useEventListener.js +0 -0
  82. /package/{dist/useHover → useHover}/index.d.ts +0 -0
  83. /package/{dist/useHover → useHover}/index.d.ts.map +0 -0
  84. /package/{dist/useHover → useHover}/index.js +0 -0
  85. /package/{dist/useHover → useHover}/useHover.js +0 -0
  86. /package/{dist/useIntersectionObserver → useIntersectionObserver}/index.d.ts +0 -0
  87. /package/{dist/useIntersectionObserver → useIntersectionObserver}/index.d.ts.map +0 -0
  88. /package/{dist/useIntersectionObserver → useIntersectionObserver}/index.js +0 -0
  89. /package/{dist/useIntersectionObserver → useIntersectionObserver}/useIntersectionObserver.d.ts +0 -0
  90. /package/{dist/useIntersectionObserver → useIntersectionObserver}/useIntersectionObserver.d.ts.map +0 -0
  91. /package/{dist/useIntersectionObserver → useIntersectionObserver}/useIntersectionObserver.js +0 -0
  92. /package/{dist/useInterval → useInterval}/index.d.ts +0 -0
  93. /package/{dist/useInterval → useInterval}/index.d.ts.map +0 -0
  94. /package/{dist/useInterval → useInterval}/index.js +0 -0
  95. /package/{dist/useInterval → useInterval}/useInterval.d.ts +0 -0
  96. /package/{dist/useInterval → useInterval}/useInterval.d.ts.map +0 -0
  97. /package/{dist/useInterval → useInterval}/useInterval.js +0 -0
  98. /package/{dist/useIsClient → useIsClient}/index.d.ts +0 -0
  99. /package/{dist/useIsClient → useIsClient}/index.d.ts.map +0 -0
  100. /package/{dist/useIsClient → useIsClient}/index.js +0 -0
  101. /package/{dist/useIsClient → useIsClient}/useIsClient.d.ts +0 -0
  102. /package/{dist/useIsClient → useIsClient}/useIsClient.d.ts.map +0 -0
  103. /package/{dist/useIsClient → useIsClient}/useIsClient.js +0 -0
  104. /package/{dist/useIsMobile → useIsMobile}/index.d.ts +0 -0
  105. /package/{dist/useIsMobile → useIsMobile}/index.d.ts.map +0 -0
  106. /package/{dist/useIsMobile → useIsMobile}/index.js +0 -0
  107. /package/{dist/useIsMobile → useIsMobile}/types.d.ts +0 -0
  108. /package/{dist/useIsMobile → useIsMobile}/types.d.ts.map +0 -0
  109. /package/{dist/useIsMobile → useIsMobile}/types.js +0 -0
  110. /package/{dist/useIsMobile → useIsMobile}/useIsMobile.d.ts +0 -0
  111. /package/{dist/useIsMobile → useIsMobile}/useIsMobile.d.ts.map +0 -0
  112. /package/{dist/useIsMobile → useIsMobile}/useIsMobile.js +0 -0
  113. /package/{dist/useIsMounted → useIsMounted}/index.d.ts +0 -0
  114. /package/{dist/useIsMounted → useIsMounted}/index.d.ts.map +0 -0
  115. /package/{dist/useIsMounted → useIsMounted}/index.js +0 -0
  116. /package/{dist/useIsMounted → useIsMounted}/useIsMounted.d.ts +0 -0
  117. /package/{dist/useIsMounted → useIsMounted}/useIsMounted.d.ts.map +0 -0
  118. /package/{dist/useIsMounted → useIsMounted}/useIsMounted.js +0 -0
  119. /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/index.d.ts +0 -0
  120. /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/index.d.ts.map +0 -0
  121. /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/index.js +0 -0
  122. /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/useIsomorphicLayoutEffect.d.ts +0 -0
  123. /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/useIsomorphicLayoutEffect.d.ts.map +0 -0
  124. /package/{dist/useIsomorphicLayoutEffect → useIsomorphicLayoutEffect}/useIsomorphicLayoutEffect.js +0 -0
  125. /package/{dist/useLocalStorage → useLocalStorage}/index.d.ts +0 -0
  126. /package/{dist/useLocalStorage → useLocalStorage}/index.d.ts.map +0 -0
  127. /package/{dist/useLocalStorage → useLocalStorage}/index.js +0 -0
  128. /package/{dist/useLocalStorage → useLocalStorage}/useLocalStorage.d.ts +0 -0
  129. /package/{dist/useLocalStorage → useLocalStorage}/useLocalStorage.d.ts.map +0 -0
  130. /package/{dist/useLocalStorage → useLocalStorage}/useLocalStorage.js +0 -0
  131. /package/{dist/useLockBody → useLockBody}/index.d.ts +0 -0
  132. /package/{dist/useLockBody → useLockBody}/index.d.ts.map +0 -0
  133. /package/{dist/useLockBody → useLockBody}/index.js +0 -0
  134. /package/{dist/useLockBody → useLockBody}/useLockBody.d.ts +0 -0
  135. /package/{dist/useLockBody → useLockBody}/useLockBody.d.ts.map +0 -0
  136. /package/{dist/useLockBody → useLockBody}/useLockBody.js +0 -0
  137. /package/{dist/useMap → useMap}/index.d.ts +0 -0
  138. /package/{dist/useMap → useMap}/index.d.ts.map +0 -0
  139. /package/{dist/useMap → useMap}/index.js +0 -0
  140. /package/{dist/useMap → useMap}/useMap.d.ts +0 -0
  141. /package/{dist/useMap → useMap}/useMap.d.ts.map +0 -0
  142. /package/{dist/useMap → useMap}/useMap.js +0 -0
  143. /package/{dist/useMediaQuery → useMediaQuery}/index.d.ts +0 -0
  144. /package/{dist/useMediaQuery → useMediaQuery}/index.d.ts.map +0 -0
  145. /package/{dist/useMediaQuery → useMediaQuery}/index.js +0 -0
  146. /package/{dist/useMediaQuery → useMediaQuery}/useMediaQuery.d.ts +0 -0
  147. /package/{dist/useMediaQuery → useMediaQuery}/useMediaQuery.d.ts.map +0 -0
  148. /package/{dist/useMediaQuery → useMediaQuery}/useMediaQuery.js +0 -0
  149. /package/{dist/useOnClickOutside → useOnClickOutside}/index.d.ts +0 -0
  150. /package/{dist/useOnClickOutside → useOnClickOutside}/index.d.ts.map +0 -0
  151. /package/{dist/useOnClickOutside → useOnClickOutside}/index.js +0 -0
  152. /package/{dist/useOnClickOutside → useOnClickOutside}/useOnClickOutside.js +0 -0
  153. /package/{dist/useQueryString → useQueryString}/index.d.ts +0 -0
  154. /package/{dist/useQueryString → useQueryString}/index.d.ts.map +0 -0
  155. /package/{dist/useQueryString → useQueryString}/index.js +0 -0
  156. /package/{dist/useQueryString → useQueryString}/useQueryString.d.ts +0 -0
  157. /package/{dist/useQueryString → useQueryString}/useQueryString.d.ts.map +0 -0
  158. /package/{dist/useQueryString → useQueryString}/useQueryString.js +0 -0
  159. /package/{dist/useReadLocalStorage → useReadLocalStorage}/index.d.ts +0 -0
  160. /package/{dist/useReadLocalStorage → useReadLocalStorage}/index.d.ts.map +0 -0
  161. /package/{dist/useReadLocalStorage → useReadLocalStorage}/index.js +0 -0
  162. /package/{dist/useReadLocalStorage → useReadLocalStorage}/useReadLocalStorage.d.ts +0 -0
  163. /package/{dist/useReadLocalStorage → useReadLocalStorage}/useReadLocalStorage.d.ts.map +0 -0
  164. /package/{dist/useReadLocalStorage → useReadLocalStorage}/useReadLocalStorage.js +0 -0
  165. /package/{dist/useResizeObserver → useResizeObserver}/index.d.ts +0 -0
  166. /package/{dist/useResizeObserver → useResizeObserver}/index.d.ts.map +0 -0
  167. /package/{dist/useResizeObserver → useResizeObserver}/index.js +0 -0
  168. /package/{dist/useResizeObserver → useResizeObserver}/useResizeObserver.js +0 -0
  169. /package/{dist/useScreen → useScreen}/index.d.ts +0 -0
  170. /package/{dist/useScreen → useScreen}/index.d.ts.map +0 -0
  171. /package/{dist/useScreen → useScreen}/index.js +0 -0
  172. /package/{dist/useScreen → useScreen}/useScreen.d.ts +0 -0
  173. /package/{dist/useScreen → useScreen}/useScreen.d.ts.map +0 -0
  174. /package/{dist/useScreen → useScreen}/useScreen.js +0 -0
  175. /package/{dist/useScript → useScript}/index.d.ts +0 -0
  176. /package/{dist/useScript → useScript}/index.d.ts.map +0 -0
  177. /package/{dist/useScript → useScript}/index.js +0 -0
  178. /package/{dist/useScript → useScript}/useScript.d.ts +0 -0
  179. /package/{dist/useScript → useScript}/useScript.d.ts.map +0 -0
  180. /package/{dist/useScript → useScript}/useScript.js +0 -0
  181. /package/{dist/useScrollLock → useScrollLock}/index.d.ts +0 -0
  182. /package/{dist/useScrollLock → useScrollLock}/index.d.ts.map +0 -0
  183. /package/{dist/useScrollLock → useScrollLock}/index.js +0 -0
  184. /package/{dist/useScrollLock → useScrollLock}/useScrollLock.d.ts +0 -0
  185. /package/{dist/useScrollLock → useScrollLock}/useScrollLock.d.ts.map +0 -0
  186. /package/{dist/useScrollLock → useScrollLock}/useScrollLock.js +0 -0
  187. /package/{dist/useSessionStorage → useSessionStorage}/index.d.ts +0 -0
  188. /package/{dist/useSessionStorage → useSessionStorage}/index.d.ts.map +0 -0
  189. /package/{dist/useSessionStorage → useSessionStorage}/index.js +0 -0
  190. /package/{dist/useSessionStorage → useSessionStorage}/useSessionStorage.d.ts +0 -0
  191. /package/{dist/useSessionStorage → useSessionStorage}/useSessionStorage.d.ts.map +0 -0
  192. /package/{dist/useSessionStorage → useSessionStorage}/useSessionStorage.js +0 -0
  193. /package/{dist/useStep → useStep}/index.d.ts +0 -0
  194. /package/{dist/useStep → useStep}/index.d.ts.map +0 -0
  195. /package/{dist/useStep → useStep}/index.js +0 -0
  196. /package/{dist/useStep → useStep}/useStep.d.ts +0 -0
  197. /package/{dist/useStep → useStep}/useStep.d.ts.map +0 -0
  198. /package/{dist/useStep → useStep}/useStep.js +0 -0
  199. /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/index.d.ts +0 -0
  200. /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/index.d.ts.map +0 -0
  201. /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/index.js +0 -0
  202. /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/useTernaryDarkMode.d.ts +0 -0
  203. /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/useTernaryDarkMode.d.ts.map +0 -0
  204. /package/{dist/useTernaryDarkMode → useTernaryDarkMode}/useTernaryDarkMode.js +0 -0
  205. /package/{dist/useTimeout → useTimeout}/index.d.ts +0 -0
  206. /package/{dist/useTimeout → useTimeout}/index.d.ts.map +0 -0
  207. /package/{dist/useTimeout → useTimeout}/index.js +0 -0
  208. /package/{dist/useTimeout → useTimeout}/useTimeout.d.ts +0 -0
  209. /package/{dist/useTimeout → useTimeout}/useTimeout.d.ts.map +0 -0
  210. /package/{dist/useTimeout → useTimeout}/useTimeout.js +0 -0
  211. /package/{dist/useToggle → useToggle}/index.d.ts +0 -0
  212. /package/{dist/useToggle → useToggle}/index.d.ts.map +0 -0
  213. /package/{dist/useToggle → useToggle}/index.js +0 -0
  214. /package/{dist/useToggle → useToggle}/useToggle.d.ts +0 -0
  215. /package/{dist/useToggle → useToggle}/useToggle.d.ts.map +0 -0
  216. /package/{dist/useToggle → useToggle}/useToggle.js +0 -0
  217. /package/{dist/useUnmount → useUnmount}/index.d.ts +0 -0
  218. /package/{dist/useUnmount → useUnmount}/index.d.ts.map +0 -0
  219. /package/{dist/useUnmount → useUnmount}/index.js +0 -0
  220. /package/{dist/useUnmount → useUnmount}/useUnmount.d.ts +0 -0
  221. /package/{dist/useUnmount → useUnmount}/useUnmount.d.ts.map +0 -0
  222. /package/{dist/useUnmount → useUnmount}/useUnmount.js +0 -0
  223. /package/{dist/useWindowSize → useWindowSize}/index.d.ts +0 -0
  224. /package/{dist/useWindowSize → useWindowSize}/index.d.ts.map +0 -0
  225. /package/{dist/useWindowSize → useWindowSize}/index.js +0 -0
  226. /package/{dist/useWindowSize → useWindowSize}/useWindowSize.d.ts +0 -0
  227. /package/{dist/useWindowSize → useWindowSize}/useWindowSize.d.ts.map +0 -0
  228. /package/{dist/useWindowSize → useWindowSize}/useWindowSize.js +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,519 @@
1
+ ## 0.1.0-135 (2025-12-03)
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-134 (2025-12-03)
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-133 (2025-12-03)
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-132 (2025-12-03)
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-131 (2025-11-25)
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-130 (2025-11-25)
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-129 (2025-11-25)
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-128 (2025-11-25)
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-127 (2025-11-25)
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-126 (2025-11-25)
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-125 (2025-11-25)
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-124 (2025-11-25)
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-123 (2025-11-25)
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-122 (2025-11-21)
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-121 (2025-11-19)
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-120 (2025-11-11)
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-119 (2025-11-10)
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-118 (2025-11-10)
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-117 (2025-11-10)
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-116 (2025-11-09)
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-115 (2025-11-09)
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-114 (2025-11-06)
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-113 (2025-11-06)
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-112 (2025-11-06)
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-111 (2025-11-06)
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-110 (2025-11-06)
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-109 (2025-11-06)
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-108 (2025-11-06)
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-107 (2025-11-03)
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-106 (2025-11-03)
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-105 (2025-10-22)
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-104 (2025-10-21)
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-103 (2025-10-21)
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-102 (2025-10-21)
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-101 (2025-10-21)
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-100 (2025-10-21)
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-99 (2025-10-21)
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-98 (2025-10-20)
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-97 (2025-10-20)
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-96 (2025-10-20)
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-95 (2025-10-20)
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-94 (2025-10-20)
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-93 (2025-10-13)
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-92 (2025-10-13)
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-91 (2025-10-13)
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-90 (2025-10-13)
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-89 (2025-10-13)
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-88 (2025-10-06)
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-87 (2025-10-04)
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-86 (2025-10-04)
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-85 (2025-10-04)
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-84 (2025-10-04)
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-83 (2025-10-03)
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-82 (2025-10-03)
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-81 (2025-10-03)
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-80 (2025-10-02)
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-79 (2025-10-02)
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-78 (2025-10-02)
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-77 (2025-10-02)
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-76 (2025-10-02)
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-75 (2025-10-02)
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-74 (2025-10-02)
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-73 (2025-10-02)
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-72 (2025-10-02)
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-71 (2025-10-02)
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-70 (2025-10-02)
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-69 (2025-10-02)
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-68 (2025-10-02)
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-67 (2025-09-16)
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-66 (2025-09-16)
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-65 (2025-09-16)
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-64 (2025-09-16)
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-63 (2025-09-16)
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-62 (2025-09-16)
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-61 (2025-09-16)
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-60 (2025-09-16)
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-59 (2025-09-16)
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-58 (2025-09-16)
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-57 (2025-09-16)
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-56 (2025-09-16)
318
+
319
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
320
+
321
+ ## 0.1.0-55 (2025-09-16)
322
+
323
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
324
+
325
+ ## 0.1.0-54 (2025-09-16)
326
+
327
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
328
+
329
+ ## 0.1.0-53 (2025-09-16)
330
+
331
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
332
+
333
+ ## 0.1.0-52 (2025-09-16)
334
+
335
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
336
+
337
+ ## 0.1.0-51 (2025-09-16)
338
+
339
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
340
+
341
+ ## 0.1.0-50 (2025-09-15)
342
+
343
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
344
+
345
+ ## 0.1.0-49 (2025-09-15)
346
+
347
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
348
+
349
+ ## 0.1.0-48 (2025-09-15)
350
+
351
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
352
+
353
+ ## 0.1.0-47 (2025-09-15)
354
+
355
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
356
+
357
+ ## 0.1.0-46 (2025-09-15)
358
+
359
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
360
+
361
+ ## 0.1.0-45 (2025-09-15)
362
+
363
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
364
+
365
+ ## 0.1.0-44 (2025-09-15)
366
+
367
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
368
+
369
+ ## 0.1.0-43 (2025-09-15)
370
+
371
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
372
+
373
+ ## 0.1.0-42 (2025-09-15)
374
+
375
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
376
+
377
+ ## 0.1.0-41 (2025-09-15)
378
+
379
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
380
+
381
+ ## 0.1.0-40 (2025-09-15)
382
+
383
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
384
+
385
+ ## 0.1.0-39 (2025-09-15)
386
+
387
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
388
+
389
+ ## 0.1.0-38 (2025-09-15)
390
+
391
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
392
+
393
+ ## 0.1.0-37 (2025-09-15)
394
+
395
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
396
+
397
+ ## 0.1.0-36 (2025-09-15)
398
+
399
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
400
+
401
+ ## 0.1.0-35 (2025-09-15)
402
+
403
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
404
+
405
+ ## 0.1.0-34 (2025-09-15)
406
+
407
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
408
+
409
+ ## 0.1.0-33 (2025-09-15)
410
+
411
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
412
+
413
+ ## 0.1.0-32 (2025-09-15)
414
+
415
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
416
+
417
+ ## 0.1.0-31 (2025-09-15)
418
+
419
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
420
+
421
+ ## 0.1.0-30 (2025-09-15)
422
+
423
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
424
+
425
+ ## 0.1.0-29 (2025-09-15)
426
+
427
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
428
+
429
+ ## 0.1.0-28 (2025-09-15)
430
+
431
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
432
+
433
+ ## 0.1.0-26 (2025-09-15)
434
+
435
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
436
+
437
+ ## 0.1.0-25 (2025-09-15)
438
+
439
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
440
+
441
+ ## 0.1.0-24 (2025-09-15)
442
+
443
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
444
+
445
+ ## 0.1.0-23 (2025-09-15)
446
+
447
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
448
+
449
+ ## 0.1.0-22 (2025-09-15)
450
+
451
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
452
+
453
+ ## 0.1.0-21 (2025-09-15)
454
+
455
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
456
+
457
+ ## 0.1.0-20 (2025-09-15)
458
+
459
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
460
+
461
+ ## 0.1.0-19 (2025-09-15)
462
+
463
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
464
+
465
+ ## 0.1.0-18 (2025-09-15)
466
+
467
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
468
+
469
+ ## 0.1.0-17 (2025-09-15)
470
+
471
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
472
+
473
+ ## 0.1.0-16 (2025-09-15)
474
+
475
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
476
+
477
+ ## 0.1.0-14 (2025-09-15)
478
+
479
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
480
+
481
+ ## 0.1.0-13 (2025-09-15)
482
+
483
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
484
+
485
+ ## 0.1.0-12 (2025-09-15)
486
+
487
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
488
+
489
+ ## 0.1.0-11 (2025-09-15)
490
+
491
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
492
+
493
+ ## 0.1.0-10 (2025-09-11)
494
+
495
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
496
+
497
+ ## 0.1.0-9 (2025-09-11)
498
+
499
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
500
+
501
+ ## 0.1.0-8 (2025-09-11)
502
+
503
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
504
+
505
+ ## 0.1.0-7 (2025-09-11)
506
+
507
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
508
+
509
+ ## 0.1.0-6 (2025-09-11)
510
+
511
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
512
+
513
+ ## 0.1.0-5 (2025-09-11)
514
+
515
+ This was a version bump only for @oneplatformdev/hooks to align it with other projects, there were no code changes.
516
+
517
+ ## 0.1.0-4 (2025-09-11)
518
+
519
+ 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-13",
3
+ "version": "0.1.0-135",
4
4
  "description": "React hook library",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -21,36 +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
- "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
- }
29
+ "sideEffects": false,
30
+ "publishConfig": {
31
+ "directory": "dist"
40
32
  },
41
33
  "files": [
34
+ "**/*",
42
35
  "dist",
43
- "README.md",
44
- "LICENSE",
45
36
  "!**/*.tsbuildinfo"
46
37
  ],
47
38
  "dependencies": {
48
39
  "lodash.debounce": "^4.0.8"
49
40
  },
50
41
  "peerDependencies": {
51
- "react": ">=18",
52
- "react-dom": ">=18",
53
- "@types/react": ">=18",
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",
54
50
  "@types/lodash.debounce": "^4.0.9"
55
51
  },
56
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<T>, options?: boolean | AddEventListenerOptions): void;
5
- declare function useEventListener<K extends keyof DocumentEventMap>(eventName: K, handler: (event: DocumentEventMap[K]) => void, element: RefObject<Document>, 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<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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AAgB,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,GACvB,OAAO,CAcT"}
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,EAClC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,KAAK,IAAI,EAC9D,SAAS,GAAE,SAAuB,EAClC,oBAAoB,GAAE,uBAA4B,GACjD,IAAI,CAwBN"}
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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