@siberiacancode/reactuse 0.0.98 → 0.0.99

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 (292) hide show
  1. package/dist/cjs/{_rollupPluginBabelHelpers-Du0ODElA.js → _rollupPluginBabelHelpers-C-GU1yny.js} +2 -2
  2. package/dist/cjs/_rollupPluginBabelHelpers-C-GU1yny.js.map +1 -0
  3. package/dist/cjs/hooks/index.js +2 -2
  4. package/dist/cjs/hooks/useActiveElement/useActiveElement.js +2 -2
  5. package/dist/cjs/hooks/useAsync/useAsync.js +2 -2
  6. package/dist/cjs/hooks/useBattery/useBattery.js +2 -2
  7. package/dist/cjs/hooks/useBluetooth/useBluetooth.js +2 -2
  8. package/dist/cjs/hooks/useBoolean/useBoolean.js +2 -2
  9. package/dist/cjs/hooks/useBreakpoints/useBreakpoints.js +2 -2
  10. package/dist/cjs/hooks/useBrowserLanguage/useBrowserLanguage.js +1 -1
  11. package/dist/cjs/hooks/useClickOutside/useClickOutside.js +2 -2
  12. package/dist/cjs/hooks/useClipboard/useClipboard.js +2 -2
  13. package/dist/cjs/hooks/useConst/useConst.js +1 -1
  14. package/dist/cjs/hooks/useCookie/useCookie.js +2 -2
  15. package/dist/cjs/hooks/useCookies/useCookies.js +2 -2
  16. package/dist/cjs/hooks/useCounter/useCounter.js +2 -2
  17. package/dist/cjs/hooks/useCssVar/useCssVar.js +2 -2
  18. package/dist/cjs/hooks/useDebounceCallback/useDebounceCallback.js +1 -1
  19. package/dist/cjs/hooks/useDebounceValue/useDebounceValue.js +2 -2
  20. package/dist/cjs/hooks/useDefault/useDefault.js +2 -2
  21. package/dist/cjs/hooks/useDeviceMotion/useDeviceMotion.js +2 -2
  22. package/dist/cjs/hooks/useDeviceOrientation/useDeviceOrientation.js +2 -2
  23. package/dist/cjs/hooks/useDevicePixelRatio/useDevicePixelRatio.js +2 -2
  24. package/dist/cjs/hooks/useDidUpdate/useDidUpdate.js +1 -1
  25. package/dist/cjs/hooks/useDisclosure/useDisclosure.js +2 -2
  26. package/dist/cjs/hooks/useDisplayMedia/useDisplayMedia.js +2 -2
  27. package/dist/cjs/hooks/useDocumentEvent/useDocumentEvent.js +2 -2
  28. package/dist/cjs/hooks/useDocumentTitle/useDocumentTitle.js +2 -2
  29. package/dist/cjs/hooks/useDocumentVisibility/useDocumentVisibility.js +1 -1
  30. package/dist/cjs/hooks/useElementSize/useElementSize.js +2 -2
  31. package/dist/cjs/hooks/useEvent/useEvent.js +1 -1
  32. package/dist/cjs/hooks/useEventListener/useEventListener.js +2 -2
  33. package/dist/cjs/hooks/useEyeDropper/useEyeDropper.js +2 -2
  34. package/dist/cjs/hooks/useFavicon/useFavicon.js +2 -2
  35. package/dist/cjs/hooks/useField/useField.js +2 -2
  36. package/dist/cjs/hooks/useField/useField.js.map +1 -1
  37. package/dist/cjs/hooks/useFileDialog/useFileDialog.js +2 -2
  38. package/dist/cjs/hooks/useFileDialog/useFileDialog.js.map +1 -1
  39. package/dist/cjs/hooks/useFocus/useFocus.js +2 -2
  40. package/dist/cjs/hooks/useFocus/useFocus.js.map +1 -1
  41. package/dist/cjs/hooks/useFps/useFps.js +2 -2
  42. package/dist/cjs/hooks/useFullscreen/useFullscreen.js +2 -2
  43. package/dist/cjs/hooks/useGamepad/helpers/index.js +1 -1
  44. package/dist/cjs/hooks/useGamepad/helpers/mapGamepadToXbox360Controller.js +1 -1
  45. package/dist/cjs/hooks/useGamepad/useGamepad.js +2 -2
  46. package/dist/cjs/hooks/useGeolocation/useGeolocation.js +2 -2
  47. package/dist/cjs/hooks/useHash/useHash.js +2 -2
  48. package/dist/cjs/hooks/useHotkeys/useHotkeys.js +2 -2
  49. package/dist/cjs/hooks/useHover/useHover.js +2 -2
  50. package/dist/cjs/hooks/useIdle/useIdle.js +2 -2
  51. package/dist/cjs/hooks/useImage/useImage.js +2 -2
  52. package/dist/cjs/hooks/useInfiniteScroll/useInfiniteScroll.js +2 -2
  53. package/dist/cjs/hooks/useIntersectionObserver/useIntersectionObserver.js +2 -2
  54. package/dist/cjs/hooks/useIntersectionObserver/useIntersectionObserver.js.map +1 -1
  55. package/dist/cjs/hooks/useInterval/useInterval.js +2 -2
  56. package/dist/cjs/hooks/useIsFirstRender/useIsFirstRender.js +1 -1
  57. package/dist/cjs/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -1
  58. package/dist/cjs/hooks/useKeyPress/useKeyPress.js +2 -2
  59. package/dist/cjs/hooks/useKeyPressEvent/useKeyPressEvent.js +2 -2
  60. package/dist/cjs/hooks/useKeyboard/useKeyboard.js +2 -2
  61. package/dist/cjs/hooks/useKeysPressed/useKeysPressed.js +2 -2
  62. package/dist/cjs/hooks/useLastChanged/useLastChanged.js +2 -2
  63. package/dist/cjs/hooks/useLatest/useLatest.js +1 -1
  64. package/dist/cjs/hooks/useLess/useLess.js +3 -0
  65. package/dist/cjs/hooks/useLess/useLess.js.map +1 -0
  66. package/dist/cjs/hooks/useList/useList.js +2 -2
  67. package/dist/cjs/hooks/useLocalStorage/useLocalStorage.js +2 -2
  68. package/dist/cjs/hooks/useLogger/useLogger.js +2 -2
  69. package/dist/cjs/hooks/useLongPress/useLongPress.js +2 -2
  70. package/dist/cjs/hooks/useMap/useMap.js +2 -2
  71. package/dist/cjs/hooks/useMeasure/useMeasure.js +2 -2
  72. package/dist/cjs/hooks/useMediaQuery/useMediaQuery.js +1 -1
  73. package/dist/cjs/hooks/useMemory/useMemory.js +2 -2
  74. package/dist/cjs/hooks/useMount/useMount.js +1 -1
  75. package/dist/cjs/hooks/useMouse/useMouse.js +2 -2
  76. package/dist/cjs/hooks/useMutation/useMutation.js +2 -2
  77. package/dist/cjs/hooks/useMutationObserver/useMutationObserver.js +2 -2
  78. package/dist/cjs/hooks/useNetwork/useNetwork.js +2 -2
  79. package/dist/cjs/hooks/useOffsetPagination/useOffsetPagination.js +2 -2
  80. package/dist/cjs/hooks/useOnline/useOnline.js +1 -1
  81. package/dist/cjs/hooks/useOperatingSystem/useOperatingSystem.js +2 -2
  82. package/dist/cjs/hooks/useOperatingSystem/useOperatingSystem.js.map +1 -1
  83. package/dist/cjs/hooks/useOptimistic/useOptimistic.js +2 -2
  84. package/dist/cjs/hooks/useOrientation/useOrientation.js +2 -2
  85. package/dist/cjs/hooks/useOtpCredential/useOtpCredential.js +2 -2
  86. package/dist/cjs/hooks/usePageLeave/usePageLeave.js +2 -2
  87. package/dist/cjs/hooks/usePaint/usePaint.js +2 -2
  88. package/dist/cjs/hooks/useParallax/useParallax.js +2 -2
  89. package/dist/cjs/hooks/usePerformanceObserver/usePerformanceObserver.js +3 -0
  90. package/dist/cjs/hooks/usePerformanceObserver/usePerformanceObserver.js.map +1 -0
  91. package/dist/cjs/hooks/usePermission/usePermission.js +2 -2
  92. package/dist/cjs/hooks/usePointerLock/usePointerLock.js +2 -2
  93. package/dist/cjs/hooks/usePostMessage/usePostMessage.js +1 -1
  94. package/dist/cjs/hooks/usePreferredColorScheme/usePreferredColorScheme.js +1 -1
  95. package/dist/cjs/hooks/usePreferredContrast/usePreferredContrast.js +1 -1
  96. package/dist/cjs/hooks/usePreferredDark/usePreferredDark.js +1 -1
  97. package/dist/cjs/hooks/usePreferredLanguages/usePreferredLanguages.js +1 -1
  98. package/dist/cjs/hooks/usePreferredReducedMotion/usePreferredReducedMotion.js +1 -1
  99. package/dist/cjs/hooks/usePrevious/usePrevious.js +1 -1
  100. package/dist/cjs/hooks/useQuery/useQuery.js +2 -2
  101. package/dist/cjs/hooks/useQueue/useQueue.js +2 -2
  102. package/dist/cjs/hooks/useRaf/useRaf.js +2 -2
  103. package/dist/cjs/hooks/useRafValue/useRafValue.js +2 -2
  104. package/dist/cjs/hooks/useRefState/useRefState.js +2 -2
  105. package/dist/cjs/hooks/useRenderCount/useRenderCount.js +1 -1
  106. package/dist/cjs/hooks/useRenderInfo/useRenderInfo.js +1 -1
  107. package/dist/cjs/hooks/useRerender/useRerender.js +1 -1
  108. package/dist/cjs/hooks/useResizeObserver/useResizeObserver.js +2 -2
  109. package/dist/cjs/hooks/useScreenOrientation/useScreenOrientation.js +2 -2
  110. package/dist/cjs/hooks/useScript/useScript.js +2 -2
  111. package/dist/cjs/hooks/useScroll/useScroll.js +2 -2
  112. package/dist/cjs/hooks/useScrollIntoView/useScrollIntoView.js +2 -2
  113. package/dist/cjs/hooks/useScrollTo/useScrollTo.js +2 -2
  114. package/dist/cjs/hooks/useSessionStorage/useSessionStorage.js +2 -2
  115. package/dist/cjs/hooks/useSet/useSet.js +2 -2
  116. package/dist/cjs/hooks/useShare/useShare.js +2 -2
  117. package/dist/cjs/hooks/useStateHistory/useStateHistory.js +2 -2
  118. package/dist/cjs/hooks/useStep/useStep.js +2 -2
  119. package/dist/cjs/hooks/useStopwatch/useStopwatch.js +2 -2
  120. package/dist/cjs/hooks/useStorage/useStorage.js +2 -2
  121. package/dist/cjs/hooks/useTextDirection/useTextDirection.js +2 -2
  122. package/dist/cjs/hooks/useTextSelection/useTextSelection.js +2 -2
  123. package/dist/cjs/hooks/useThrottleCallback/useThrottleCallback.js +1 -1
  124. package/dist/cjs/hooks/useThrottleValue/useThrottleValue.js +2 -2
  125. package/dist/cjs/hooks/useTime/useTime.js +2 -2
  126. package/dist/cjs/hooks/useTimeout/useTimeout.js +2 -2
  127. package/dist/cjs/hooks/useTimer/useTimer.js +2 -2
  128. package/dist/cjs/hooks/useToggle/useToggle.js +2 -2
  129. package/dist/cjs/hooks/useUnmount/useUnmount.js +1 -1
  130. package/dist/cjs/hooks/useVibrate/useVibrate.js +2 -2
  131. package/dist/cjs/hooks/useWebSocket/useWebSocket.js +2 -2
  132. package/dist/cjs/hooks/useWindowEvent/useWindowEvent.js +2 -2
  133. package/dist/cjs/hooks/useWindowFocus/useWindowFocus.js +2 -2
  134. package/dist/cjs/hooks/useWindowScroll/useWindowScroll.js +2 -2
  135. package/dist/cjs/hooks/useWindowSize/useWindowSize.js +2 -2
  136. package/dist/cjs/hooks/useWizard/useWizard.js +2 -2
  137. package/dist/cjs/index.js +2 -2
  138. package/dist/cjs/utils/helpers/debounce.js +1 -1
  139. package/dist/cjs/utils/helpers/getDate.js +1 -1
  140. package/dist/cjs/utils/helpers/getElement.js +1 -1
  141. package/dist/cjs/utils/helpers/getRetry.js +1 -1
  142. package/dist/cjs/utils/helpers/index.js +2 -2
  143. package/dist/cjs/utils/helpers/isTarget.js +2 -2
  144. package/dist/cjs/utils/helpers/throttle.js +1 -1
  145. package/dist/esm/{_rollupPluginBabelHelpers-DMxTFLvA.js → _rollupPluginBabelHelpers-D_XDB4a1.js} +2 -2
  146. package/dist/esm/_rollupPluginBabelHelpers-D_XDB4a1.js.map +1 -0
  147. package/dist/esm/hooks/index.js +2 -2
  148. package/dist/esm/hooks/useActiveElement/useActiveElement.js +2 -2
  149. package/dist/esm/hooks/useAsync/useAsync.js +2 -2
  150. package/dist/esm/hooks/useBattery/useBattery.js +2 -2
  151. package/dist/esm/hooks/useBluetooth/useBluetooth.js +2 -2
  152. package/dist/esm/hooks/useBoolean/useBoolean.js +2 -2
  153. package/dist/esm/hooks/useBreakpoints/useBreakpoints.js +2 -2
  154. package/dist/esm/hooks/useBrowserLanguage/useBrowserLanguage.js +1 -1
  155. package/dist/esm/hooks/useClickOutside/useClickOutside.js +2 -2
  156. package/dist/esm/hooks/useClipboard/useClipboard.js +2 -2
  157. package/dist/esm/hooks/useConst/useConst.js +1 -1
  158. package/dist/esm/hooks/useCookie/useCookie.js +2 -2
  159. package/dist/esm/hooks/useCookies/useCookies.js +2 -2
  160. package/dist/esm/hooks/useCounter/useCounter.js +2 -2
  161. package/dist/esm/hooks/useCssVar/useCssVar.js +2 -2
  162. package/dist/esm/hooks/useDebounceCallback/useDebounceCallback.js +1 -1
  163. package/dist/esm/hooks/useDebounceValue/useDebounceValue.js +2 -2
  164. package/dist/esm/hooks/useDefault/useDefault.js +2 -2
  165. package/dist/esm/hooks/useDeviceMotion/useDeviceMotion.js +2 -2
  166. package/dist/esm/hooks/useDeviceOrientation/useDeviceOrientation.js +2 -2
  167. package/dist/esm/hooks/useDevicePixelRatio/useDevicePixelRatio.js +2 -2
  168. package/dist/esm/hooks/useDidUpdate/useDidUpdate.js +1 -1
  169. package/dist/esm/hooks/useDisclosure/useDisclosure.js +2 -2
  170. package/dist/esm/hooks/useDisplayMedia/useDisplayMedia.js +2 -2
  171. package/dist/esm/hooks/useDocumentEvent/useDocumentEvent.js +2 -2
  172. package/dist/esm/hooks/useDocumentTitle/useDocumentTitle.js +2 -2
  173. package/dist/esm/hooks/useDocumentVisibility/useDocumentVisibility.js +1 -1
  174. package/dist/esm/hooks/useElementSize/useElementSize.js +2 -2
  175. package/dist/esm/hooks/useEvent/useEvent.js +1 -1
  176. package/dist/esm/hooks/useEventListener/useEventListener.js +2 -2
  177. package/dist/esm/hooks/useEyeDropper/useEyeDropper.js +2 -2
  178. package/dist/esm/hooks/useFavicon/useFavicon.js +2 -2
  179. package/dist/esm/hooks/useField/useField.js +2 -2
  180. package/dist/esm/hooks/useField/useField.js.map +1 -1
  181. package/dist/esm/hooks/useFileDialog/useFileDialog.js +2 -2
  182. package/dist/esm/hooks/useFileDialog/useFileDialog.js.map +1 -1
  183. package/dist/esm/hooks/useFocus/useFocus.js +2 -2
  184. package/dist/esm/hooks/useFocus/useFocus.js.map +1 -1
  185. package/dist/esm/hooks/useFps/useFps.js +2 -2
  186. package/dist/esm/hooks/useFullscreen/useFullscreen.js +2 -2
  187. package/dist/esm/hooks/useGamepad/helpers/index.js +1 -1
  188. package/dist/esm/hooks/useGamepad/helpers/mapGamepadToXbox360Controller.js +1 -1
  189. package/dist/esm/hooks/useGamepad/useGamepad.js +2 -2
  190. package/dist/esm/hooks/useGeolocation/useGeolocation.js +2 -2
  191. package/dist/esm/hooks/useHash/useHash.js +2 -2
  192. package/dist/esm/hooks/useHotkeys/useHotkeys.js +2 -2
  193. package/dist/esm/hooks/useHover/useHover.js +2 -2
  194. package/dist/esm/hooks/useIdle/useIdle.js +2 -2
  195. package/dist/esm/hooks/useImage/useImage.js +2 -2
  196. package/dist/esm/hooks/useInfiniteScroll/useInfiniteScroll.js +2 -2
  197. package/dist/esm/hooks/useIntersectionObserver/useIntersectionObserver.js +2 -2
  198. package/dist/esm/hooks/useIntersectionObserver/useIntersectionObserver.js.map +1 -1
  199. package/dist/esm/hooks/useInterval/useInterval.js +2 -2
  200. package/dist/esm/hooks/useIsFirstRender/useIsFirstRender.js +1 -1
  201. package/dist/esm/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -1
  202. package/dist/esm/hooks/useKeyPress/useKeyPress.js +2 -2
  203. package/dist/esm/hooks/useKeyPressEvent/useKeyPressEvent.js +2 -2
  204. package/dist/esm/hooks/useKeyboard/useKeyboard.js +2 -2
  205. package/dist/esm/hooks/useKeysPressed/useKeysPressed.js +2 -2
  206. package/dist/esm/hooks/useLastChanged/useLastChanged.js +2 -2
  207. package/dist/esm/hooks/useLatest/useLatest.js +1 -1
  208. package/dist/esm/hooks/useLess/useLess.js +3 -0
  209. package/dist/esm/hooks/useLess/useLess.js.map +1 -0
  210. package/dist/esm/hooks/useList/useList.js +2 -2
  211. package/dist/esm/hooks/useLocalStorage/useLocalStorage.js +2 -2
  212. package/dist/esm/hooks/useLogger/useLogger.js +2 -2
  213. package/dist/esm/hooks/useLongPress/useLongPress.js +2 -2
  214. package/dist/esm/hooks/useMap/useMap.js +2 -2
  215. package/dist/esm/hooks/useMeasure/useMeasure.js +2 -2
  216. package/dist/esm/hooks/useMediaQuery/useMediaQuery.js +1 -1
  217. package/dist/esm/hooks/useMemory/useMemory.js +2 -2
  218. package/dist/esm/hooks/useMount/useMount.js +1 -1
  219. package/dist/esm/hooks/useMouse/useMouse.js +2 -2
  220. package/dist/esm/hooks/useMutation/useMutation.js +2 -2
  221. package/dist/esm/hooks/useMutationObserver/useMutationObserver.js +2 -2
  222. package/dist/esm/hooks/useNetwork/useNetwork.js +2 -2
  223. package/dist/esm/hooks/useOffsetPagination/useOffsetPagination.js +2 -2
  224. package/dist/esm/hooks/useOnline/useOnline.js +1 -1
  225. package/dist/esm/hooks/useOperatingSystem/useOperatingSystem.js +2 -2
  226. package/dist/esm/hooks/useOperatingSystem/useOperatingSystem.js.map +1 -1
  227. package/dist/esm/hooks/useOptimistic/useOptimistic.js +2 -2
  228. package/dist/esm/hooks/useOrientation/useOrientation.js +2 -2
  229. package/dist/esm/hooks/useOtpCredential/useOtpCredential.js +2 -2
  230. package/dist/esm/hooks/usePageLeave/usePageLeave.js +2 -2
  231. package/dist/esm/hooks/usePaint/usePaint.js +2 -2
  232. package/dist/esm/hooks/useParallax/useParallax.js +2 -2
  233. package/dist/esm/hooks/usePerformanceObserver/usePerformanceObserver.js +3 -0
  234. package/dist/esm/hooks/usePerformanceObserver/usePerformanceObserver.js.map +1 -0
  235. package/dist/esm/hooks/usePermission/usePermission.js +2 -2
  236. package/dist/esm/hooks/usePointerLock/usePointerLock.js +2 -2
  237. package/dist/esm/hooks/usePostMessage/usePostMessage.js +1 -1
  238. package/dist/esm/hooks/usePreferredColorScheme/usePreferredColorScheme.js +1 -1
  239. package/dist/esm/hooks/usePreferredContrast/usePreferredContrast.js +1 -1
  240. package/dist/esm/hooks/usePreferredDark/usePreferredDark.js +1 -1
  241. package/dist/esm/hooks/usePreferredLanguages/usePreferredLanguages.js +1 -1
  242. package/dist/esm/hooks/usePreferredReducedMotion/usePreferredReducedMotion.js +1 -1
  243. package/dist/esm/hooks/usePrevious/usePrevious.js +1 -1
  244. package/dist/esm/hooks/useQuery/useQuery.js +2 -2
  245. package/dist/esm/hooks/useQueue/useQueue.js +2 -2
  246. package/dist/esm/hooks/useRaf/useRaf.js +2 -2
  247. package/dist/esm/hooks/useRafValue/useRafValue.js +2 -2
  248. package/dist/esm/hooks/useRefState/useRefState.js +2 -2
  249. package/dist/esm/hooks/useRenderCount/useRenderCount.js +1 -1
  250. package/dist/esm/hooks/useRenderInfo/useRenderInfo.js +1 -1
  251. package/dist/esm/hooks/useRerender/useRerender.js +1 -1
  252. package/dist/esm/hooks/useResizeObserver/useResizeObserver.js +2 -2
  253. package/dist/esm/hooks/useScreenOrientation/useScreenOrientation.js +2 -2
  254. package/dist/esm/hooks/useScript/useScript.js +2 -2
  255. package/dist/esm/hooks/useScroll/useScroll.js +2 -2
  256. package/dist/esm/hooks/useScrollIntoView/useScrollIntoView.js +2 -2
  257. package/dist/esm/hooks/useScrollTo/useScrollTo.js +2 -2
  258. package/dist/esm/hooks/useSessionStorage/useSessionStorage.js +2 -2
  259. package/dist/esm/hooks/useSet/useSet.js +2 -2
  260. package/dist/esm/hooks/useShare/useShare.js +2 -2
  261. package/dist/esm/hooks/useStateHistory/useStateHistory.js +2 -2
  262. package/dist/esm/hooks/useStep/useStep.js +2 -2
  263. package/dist/esm/hooks/useStopwatch/useStopwatch.js +2 -2
  264. package/dist/esm/hooks/useStorage/useStorage.js +2 -2
  265. package/dist/esm/hooks/useTextDirection/useTextDirection.js +2 -2
  266. package/dist/esm/hooks/useTextSelection/useTextSelection.js +2 -2
  267. package/dist/esm/hooks/useThrottleCallback/useThrottleCallback.js +1 -1
  268. package/dist/esm/hooks/useThrottleValue/useThrottleValue.js +2 -2
  269. package/dist/esm/hooks/useTime/useTime.js +2 -2
  270. package/dist/esm/hooks/useTimeout/useTimeout.js +2 -2
  271. package/dist/esm/hooks/useTimer/useTimer.js +2 -2
  272. package/dist/esm/hooks/useToggle/useToggle.js +2 -2
  273. package/dist/esm/hooks/useUnmount/useUnmount.js +1 -1
  274. package/dist/esm/hooks/useVibrate/useVibrate.js +2 -2
  275. package/dist/esm/hooks/useWebSocket/useWebSocket.js +2 -2
  276. package/dist/esm/hooks/useWindowEvent/useWindowEvent.js +2 -2
  277. package/dist/esm/hooks/useWindowFocus/useWindowFocus.js +2 -2
  278. package/dist/esm/hooks/useWindowScroll/useWindowScroll.js +2 -2
  279. package/dist/esm/hooks/useWindowSize/useWindowSize.js +2 -2
  280. package/dist/esm/hooks/useWizard/useWizard.js +2 -2
  281. package/dist/esm/index.js +2 -2
  282. package/dist/esm/utils/helpers/debounce.js +1 -1
  283. package/dist/esm/utils/helpers/getDate.js +1 -1
  284. package/dist/esm/utils/helpers/getElement.js +1 -1
  285. package/dist/esm/utils/helpers/getRetry.js +1 -1
  286. package/dist/esm/utils/helpers/index.js +2 -2
  287. package/dist/esm/utils/helpers/isTarget.js +2 -2
  288. package/dist/esm/utils/helpers/throttle.js +1 -1
  289. package/dist/types/index.d.ts +39 -1
  290. package/package.json +1 -1
  291. package/dist/cjs/_rollupPluginBabelHelpers-Du0ODElA.js.map +0 -1
  292. package/dist/esm/_rollupPluginBabelHelpers-DMxTFLvA.js.map +0 -1
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{_ as n}from"../../_rollupPluginBabelHelpers-DMxTFLvA.js";import{useRef as r,useState as e,useEffect as o}from"react";import{getRetry as t}from"../../utils/helpers/getRetry.js";import{useEvent as u}from"../useEvent/useEvent.js";var c=function(c,l){var i=r(),s=r(null!=l&&l.retry?t(l.retry):0),v=r(!1),a=e("connecting"),d=n(a,2),f=d[0],p=d[1],m=u((function(){i.current=new WebSocket("function"==typeof c?c():c,null==l?void 0:l.protocols),p("connecting");var n=i.current;n&&(n.onopen=function(){var r;p("connected"),null==l||null===(r=l.onConnected)||void 0===r||r.call(l,n)},n.onerror=function(r){var e;p("failed"),null==l||null===(e=l.onError)||void 0===e||e.call(l,r,n)},n.onmessage=function(r){var e;return null==l||null===(e=l.onMessage)||void 0===e?void 0:e.call(l,r,n)},n.onclose=function(r){var e;if(p("disconnected"),null==l||null===(e=l.onDisconnected)||void 0===e||e.call(l,r,n),!v.current)return s.current>0?(s.current-=1,m()):void(s.current=null!=l&&l.retry?t(l.retry):0)})}));o((function(){return m(),function(){i.current&&(i.current.close(),i.current=void 0)}}),[c]);return{client:i.current,close:function(){var n;v.current=!0,null===(n=i.current)||void 0===n||n.close()},open:function(){v.current=!1,m()},send:function(n){var r;return null===(r=i.current)||void 0===r?void 0:r.send(n)},status:f}};export{c as useWebSocket};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{_ as n}from"../../_rollupPluginBabelHelpers-D_XDB4a1.js";import{useRef as r,useState as e,useEffect as o}from"react";import{getRetry as t}from"../../utils/helpers/getRetry.js";import{useEvent as u}from"../useEvent/useEvent.js";var c=function(c,l){var i=r(),s=r(null!=l&&l.retry?t(l.retry):0),v=r(!1),a=e("connecting"),d=n(a,2),f=d[0],p=d[1],m=u((function(){i.current=new WebSocket("function"==typeof c?c():c,null==l?void 0:l.protocols),p("connecting");var n=i.current;n&&(n.onopen=function(){var r;p("connected"),null==l||null===(r=l.onConnected)||void 0===r||r.call(l,n)},n.onerror=function(r){var e;p("failed"),null==l||null===(e=l.onError)||void 0===e||e.call(l,r,n)},n.onmessage=function(r){var e;return null==l||null===(e=l.onMessage)||void 0===e?void 0:e.call(l,r,n)},n.onclose=function(r){var e;if(p("disconnected"),null==l||null===(e=l.onDisconnected)||void 0===e||e.call(l,r,n),!v.current)return s.current>0?(s.current-=1,m()):void(s.current=null!=l&&l.retry?t(l.retry):0)})}));o((function(){return m(),function(){i.current&&(i.current.close(),i.current=void 0)}}),[c]);return{client:i.current,close:function(){var n;v.current=!0,null===(n=i.current)||void 0===n||n.close()},open:function(){v.current=!1,m()},send:function(n){var r;return null===(r=i.current)||void 0===r?void 0:r.send(n)},status:f}};export{c as useWebSocket};
3
3
  //# sourceMappingURL=useWebSocket.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{useEventListener as e}from"../useEventListener/useEventListener.js";import"react";import"../../utils/helpers/getElement.js";import"../useEvent/useEvent.js";import"../useRefState/useRefState.js";import"../../_rollupPluginBabelHelpers-DMxTFLvA.js";var t=function(t,r,s){return e(window,t,r,s)};export{t as useWindowEvent};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{useEventListener as e}from"../useEventListener/useEventListener.js";import"react";import"../../utils/helpers/getElement.js";import"../useEvent/useEvent.js";import"../useRefState/useRefState.js";import"../../_rollupPluginBabelHelpers-D_XDB4a1.js";var t=function(t,r,s){return e(window,t,r,s)};export{t as useWindowEvent};
3
3
  //# sourceMappingURL=useWindowEvent.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{_ as n}from"../../_rollupPluginBabelHelpers-DMxTFLvA.js";import{useState as r,useEffect as e}from"react";var t=function(){var t=r(!1),o=n(t,2),i=o[0],u=o[1];return e((function(){var n=function(){return u(!0)},r=function(){return u(!1)};return window.addEventListener("focus",n),window.addEventListener("blur",r),function(){window.removeEventListener("focus",n),window.removeEventListener("blur",r)}})),i};export{t as useWindowFocus};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{_ as n}from"../../_rollupPluginBabelHelpers-D_XDB4a1.js";import{useState as r,useEffect as e}from"react";var t=function(){var t=r(!1),o=n(t,2),i=o[0],u=o[1];return e((function(){var n=function(){return u(!0)},r=function(){return u(!1)};return window.addEventListener("focus",n),window.addEventListener("blur",r),function(){window.removeEventListener("focus",n),window.removeEventListener("blur",r)}})),i};export{t as useWindowFocus};
3
3
  //# sourceMappingURL=useWindowFocus.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{_ as e}from"../../_rollupPluginBabelHelpers-DMxTFLvA.js";import{useState as o,useEffect as r}from"react";var n=function(e){var o=e.x,r=e.y,n=e.behavior,i={behavior:void 0===n?"smooth":n};"number"==typeof o&&(i.left=o),"number"==typeof r&&(i.top=r),window.scrollTo(i)},i=function(){var i=o({x:"undefined"!=typeof window?window.scrollX:Number.POSITIVE_INFINITY,y:"undefined"!=typeof window?window.scrollY:Number.POSITIVE_INFINITY}),t=e(i,2),l=t[0],w=t[1];return r((function(){var e=function(){return w({x:window.scrollX,y:window.scrollY})};return window.addEventListener("scroll",e),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}}),[]),{value:l,scrollTo:n}};export{n as scrollTo,i as useWindowScroll};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{_ as e}from"../../_rollupPluginBabelHelpers-D_XDB4a1.js";import{useState as o,useEffect as r}from"react";var n=function(e){var o=e.x,r=e.y,n=e.behavior,i={behavior:void 0===n?"smooth":n};"number"==typeof o&&(i.left=o),"number"==typeof r&&(i.top=r),window.scrollTo(i)},i=function(){var i=o({x:"undefined"!=typeof window?window.scrollX:Number.POSITIVE_INFINITY,y:"undefined"!=typeof window?window.scrollY:Number.POSITIVE_INFINITY}),t=e(i,2),l=t[0],w=t[1];return r((function(){var e=function(){return w({x:window.scrollX,y:window.scrollY})};return window.addEventListener("scroll",e),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}}),[]),{value:l,scrollTo:n}};export{n as scrollTo,i as useWindowScroll};
3
3
  //# sourceMappingURL=useWindowScroll.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{_ as n}from"../../_rollupPluginBabelHelpers-DMxTFLvA.js";import{useState as e,useEffect as i}from"react";var t=function(t){var o,d=null===(o=null==t?void 0:t.includeScrollbar)||void 0===o||o,r=e((function(){return"undefined"==typeof window?{width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY}:{width:d?window.innerWidth:window.document.documentElement.clientWidth,height:d?window.innerHeight:window.document.documentElement.clientHeight}})),u=n(r,2),w=u[0],l=u[1];return i((function(){var n=function(){l(d?{width:window.innerWidth,height:window.innerHeight}:{width:window.document.documentElement.clientWidth,height:window.document.documentElement.clientHeight})};return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}),[null==t?void 0:t.includeScrollbar]),w};export{t as useWindowSize};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{_ as n}from"../../_rollupPluginBabelHelpers-D_XDB4a1.js";import{useState as e,useEffect as i}from"react";var t=function(t){var o,d=null===(o=null==t?void 0:t.includeScrollbar)||void 0===o||o,r=e((function(){return"undefined"==typeof window?{width:Number.POSITIVE_INFINITY,height:Number.POSITIVE_INFINITY}:{width:d?window.innerWidth:window.document.documentElement.clientWidth,height:d?window.innerHeight:window.document.documentElement.clientHeight}})),u=n(r,2),w=u[0],l=u[1];return i((function(){var n=function(){l(d?{width:window.innerWidth,height:window.innerHeight}:{width:window.document.documentElement.clientWidth,height:window.document.documentElement.clientHeight})};return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}),[null==t?void 0:t.includeScrollbar]),w};export{t as useWindowSize};
3
3
  //# sourceMappingURL=useWindowSize.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{_ as n,a as o}from"../../_rollupPluginBabelHelpers-DMxTFLvA.js";import{useState as t}from"react";var r=function(r,e){var c=null!=e?e:r[0].id,i=new Map(r.map((function(n){return[n.id,n]}))),l=t(c),a=n(l,2),u=a[0],f=a[1],s=t([c]),d=n(s,2),v=d[0],g=d[1];return{currentStepId:u,set:function(n){var t;if(null===(t=i.get(u))||void 0===t||null===(t=t.nodes)||void 0===t||!t.includes(n))throw new Error("Can't go to ".concat(n," from ").concat(u));g([].concat(o(v),[n])),f(n)},reset:function(){f(c),g([c])},back:function(){var n;if(1!==v.length){var o=v[v.length-2];if(null===(n=i.get(u))||void 0===n||null===(n=n.nodes)||void 0===n||!n.includes(o))throw new Error("Can't go to ".concat(o," from ").concat(u));g(v.slice(0,-1)),f(v[v.length-2])}},history:v}};export{r as useWizard};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{_ as n,a as o}from"../../_rollupPluginBabelHelpers-D_XDB4a1.js";import{useState as t}from"react";var r=function(r,e){var c=null!=e?e:r[0].id,i=new Map(r.map((function(n){return[n.id,n]}))),l=t(c),a=n(l,2),u=a[0],f=a[1],s=t([c]),d=n(s,2),v=d[0],g=d[1];return{currentStepId:u,set:function(n){var t;if(null===(t=i.get(u))||void 0===t||null===(t=t.nodes)||void 0===t||!t.includes(n))throw new Error("Can't go to ".concat(n," from ").concat(u));g([].concat(o(v),[n])),f(n)},reset:function(){f(c),g([c])},back:function(){var n;if(1!==v.length){var o=v[v.length-2];if(null===(n=i.get(u))||void 0===n||null===(n=n.nodes)||void 0===n||!n.includes(o))throw new Error("Can't go to ".concat(o," from ").concat(u));g(v.slice(0,-1)),f(v[v.length-2])}},history:v}};export{r as useWizard};
3
3
  //# sourceMappingURL=useWizard.js.map
package/dist/esm/index.js CHANGED
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- export{useActiveElement}from"./hooks/useActiveElement/useActiveElement.js";export{useAsync}from"./hooks/useAsync/useAsync.js";export{useBattery}from"./hooks/useBattery/useBattery.js";export{useBluetooth}from"./hooks/useBluetooth/useBluetooth.js";export{useBoolean}from"./hooks/useBoolean/useBoolean.js";export{BREAKPOINTS_ANT_DESIGN,BREAKPOINTS_BOOTSTRAP_V5,BREAKPOINTS_MANTINE,BREAKPOINTS_MASTER_CSS,BREAKPOINTS_MATERIAL_UI,BREAKPOINTS_PRIME_FLEX,BREAKPOINTS_QUASAR_V2,BREAKPOINTS_SEMANTIC,BREAKPOINTS_TAILWIND,useBreakpoints}from"./hooks/useBreakpoints/useBreakpoints.js";export{useBrowserLanguage}from"./hooks/useBrowserLanguage/useBrowserLanguage.js";export{useClickOutside}from"./hooks/useClickOutside/useClickOutside.js";export{isPermissionAllowed,legacyCopyToClipboard,useClipboard}from"./hooks/useClipboard/useClipboard.js";export{useConst}from"./hooks/useConst/useConst.js";export{COOKIE_EVENT,dispatchCookieEvent,getCookies,removeCookie,setCookie,useCookie}from"./hooks/useCookie/useCookie.js";export{clearCookies,getParsedCookies,useCookies}from"./hooks/useCookies/useCookies.js";export{useCounter}from"./hooks/useCounter/useCounter.js";export{useCssVar}from"./hooks/useCssVar/useCssVar.js";export{useDebounceCallback}from"./hooks/useDebounceCallback/useDebounceCallback.js";export{useDebounceValue}from"./hooks/useDebounceValue/useDebounceValue.js";export{useDefault}from"./hooks/useDefault/useDefault.js";export{useDeviceMotion}from"./hooks/useDeviceMotion/useDeviceMotion.js";export{useDeviceOrientation}from"./hooks/useDeviceOrientation/useDeviceOrientation.js";export{useDevicePixelRatio}from"./hooks/useDevicePixelRatio/useDevicePixelRatio.js";export{useDidUpdate}from"./hooks/useDidUpdate/useDidUpdate.js";export{useDisclosure}from"./hooks/useDisclosure/useDisclosure.js";export{useDisplayMedia}from"./hooks/useDisplayMedia/useDisplayMedia.js";export{useDocumentEvent}from"./hooks/useDocumentEvent/useDocumentEvent.js";export{useDocumentTitle}from"./hooks/useDocumentTitle/useDocumentTitle.js";export{useDocumentVisibility}from"./hooks/useDocumentVisibility/useDocumentVisibility.js";export{useElementSize}from"./hooks/useElementSize/useElementSize.js";export{useEvent}from"./hooks/useEvent/useEvent.js";export{useEventListener}from"./hooks/useEventListener/useEventListener.js";export{useEyeDropper}from"./hooks/useEyeDropper/useEyeDropper.js";export{useFavicon}from"./hooks/useFavicon/useFavicon.js";export{useField}from"./hooks/useField/useField.js";export{useFileDialog}from"./hooks/useFileDialog/useFileDialog.js";export{useFocus}from"./hooks/useFocus/useFocus.js";export{useFps}from"./hooks/useFps/useFps.js";export{useFullscreen}from"./hooks/useFullscreen/useFullscreen.js";export{useGamepad}from"./hooks/useGamepad/useGamepad.js";export{useGeolocation}from"./hooks/useGeolocation/useGeolocation.js";export{useHash}from"./hooks/useHash/useHash.js";export{isHotkeyMatch,useHotkeys}from"./hooks/useHotkeys/useHotkeys.js";export{useHover}from"./hooks/useHover/useHover.js";export{useIdle}from"./hooks/useIdle/useIdle.js";export{useImage}from"./hooks/useImage/useImage.js";export{useInfiniteScroll}from"./hooks/useInfiniteScroll/useInfiniteScroll.js";export{useIntersectionObserver}from"./hooks/useIntersectionObserver/useIntersectionObserver.js";export{useInterval}from"./hooks/useInterval/useInterval.js";export{useIsFirstRender}from"./hooks/useIsFirstRender/useIsFirstRender.js";export{useIsomorphicLayoutEffect}from"./hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js";export{useKeyboard}from"./hooks/useKeyboard/useKeyboard.js";export{useKeyPress}from"./hooks/useKeyPress/useKeyPress.js";export{useKeyPressEvent}from"./hooks/useKeyPressEvent/useKeyPressEvent.js";export{useKeysPressed}from"./hooks/useKeysPressed/useKeysPressed.js";export{useLastChanged}from"./hooks/useLastChanged/useLastChanged.js";export{useLatest}from"./hooks/useLatest/useLatest.js";export{useList}from"./hooks/useList/useList.js";export{useLocalStorage}from"./hooks/useLocalStorage/useLocalStorage.js";export{useLogger}from"./hooks/useLogger/useLogger.js";export{useLongPress}from"./hooks/useLongPress/useLongPress.js";export{useMap}from"./hooks/useMap/useMap.js";export{useMeasure}from"./hooks/useMeasure/useMeasure.js";export{useMediaQuery}from"./hooks/useMediaQuery/useMediaQuery.js";export{useMemory}from"./hooks/useMemory/useMemory.js";export{useMount}from"./hooks/useMount/useMount.js";export{useMouse}from"./hooks/useMouse/useMouse.js";export{useMutation}from"./hooks/useMutation/useMutation.js";export{useMutationObserver}from"./hooks/useMutationObserver/useMutationObserver.js";export{getConnection,useNetwork}from"./hooks/useNetwork/useNetwork.js";export{useOffsetPagination}from"./hooks/useOffsetPagination/useOffsetPagination.js";export{useOnline}from"./hooks/useOnline/useOnline.js";export{getOperatingSystem,useOperatingSystem}from"./hooks/useOperatingSystem/useOperatingSystem.js";export{useOptimistic}from"./hooks/useOptimistic/useOptimistic.js";export{useOrientation}from"./hooks/useOrientation/useOrientation.js";export{useOtpCredential}from"./hooks/useOtpCredential/useOtpCredential.js";export{usePageLeave}from"./hooks/usePageLeave/usePageLeave.js";export{Paint,Pointer,usePaint}from"./hooks/usePaint/usePaint.js";export{useParallax}from"./hooks/useParallax/useParallax.js";export{usePermission}from"./hooks/usePermission/usePermission.js";export{usePointerLock}from"./hooks/usePointerLock/usePointerLock.js";export{usePostMessage}from"./hooks/usePostMessage/usePostMessage.js";export{usePreferredColorScheme}from"./hooks/usePreferredColorScheme/usePreferredColorScheme.js";export{usePreferredContrast}from"./hooks/usePreferredContrast/usePreferredContrast.js";export{usePreferredDark}from"./hooks/usePreferredDark/usePreferredDark.js";export{usePreferredLanguages}from"./hooks/usePreferredLanguages/usePreferredLanguages.js";export{usePreferredReducedMotion}from"./hooks/usePreferredReducedMotion/usePreferredReducedMotion.js";export{usePrevious}from"./hooks/usePrevious/usePrevious.js";export{useQuery}from"./hooks/useQuery/useQuery.js";export{useQueue}from"./hooks/useQueue/useQueue.js";export{useRaf}from"./hooks/useRaf/useRaf.js";export{useRafValue}from"./hooks/useRafValue/useRafValue.js";export{useRefState}from"./hooks/useRefState/useRefState.js";export{useRenderCount}from"./hooks/useRenderCount/useRenderCount.js";export{useRenderInfo}from"./hooks/useRenderInfo/useRenderInfo.js";export{useRerender}from"./hooks/useRerender/useRerender.js";export{useResizeObserver}from"./hooks/useResizeObserver/useResizeObserver.js";export{useScreenOrientation}from"./hooks/useScreenOrientation/useScreenOrientation.js";export{SCRIPT_STATUS_ATTRIBUTE_NAME,useScript}from"./hooks/useScript/useScript.js";export{useScroll}from"./hooks/useScroll/useScroll.js";export{useScrollIntoView}from"./hooks/useScrollIntoView/useScrollIntoView.js";export{useScrollTo}from"./hooks/useScrollTo/useScrollTo.js";export{useSessionStorage}from"./hooks/useSessionStorage/useSessionStorage.js";export{useSet}from"./hooks/useSet/useSet.js";export{useShare}from"./hooks/useShare/useShare.js";export{useStateHistory}from"./hooks/useStateHistory/useStateHistory.js";export{useStep}from"./hooks/useStep/useStep.js";export{useStopwatch}from"./hooks/useStopwatch/useStopwatch.js";export{STORAGE_EVENT,dispatchStorageEvent,useStorage}from"./hooks/useStorage/useStorage.js";export{useTextDirection}from"./hooks/useTextDirection/useTextDirection.js";export{getRangesSelection,useTextSelection}from"./hooks/useTextSelection/useTextSelection.js";export{useThrottleCallback}from"./hooks/useThrottleCallback/useThrottleCallback.js";export{useThrottleValue}from"./hooks/useThrottleValue/useThrottleValue.js";export{useTime}from"./hooks/useTime/useTime.js";export{useTimeout}from"./hooks/useTimeout/useTimeout.js";export{getTimeFromSeconds,useTimer}from"./hooks/useTimer/useTimer.js";export{useToggle}from"./hooks/useToggle/useToggle.js";export{useUnmount}from"./hooks/useUnmount/useUnmount.js";export{useVibrate}from"./hooks/useVibrate/useVibrate.js";export{useWebSocket}from"./hooks/useWebSocket/useWebSocket.js";export{useWindowEvent}from"./hooks/useWindowEvent/useWindowEvent.js";export{useWindowFocus}from"./hooks/useWindowFocus/useWindowFocus.js";export{scrollTo,useWindowScroll}from"./hooks/useWindowScroll/useWindowScroll.js";export{useWindowSize}from"./hooks/useWindowSize/useWindowSize.js";export{useWizard}from"./hooks/useWizard/useWizard.js";export{debounce}from"./utils/helpers/debounce.js";export{getDate}from"./utils/helpers/getDate.js";export{getElement}from"./utils/helpers/getElement.js";export{getRetry}from"./utils/helpers/getRetry.js";export{isTarget}from"./utils/helpers/isTarget.js";export{throttle}from"./utils/helpers/throttle.js";export{mapGamepadToXbox360Controller}from"./hooks/useGamepad/helpers/mapGamepadToXbox360Controller.js";import"./_rollupPluginBabelHelpers-DMxTFLvA.js";import"react";import"react-dom";
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ export{useActiveElement}from"./hooks/useActiveElement/useActiveElement.js";export{useAsync}from"./hooks/useAsync/useAsync.js";export{useBattery}from"./hooks/useBattery/useBattery.js";export{useBluetooth}from"./hooks/useBluetooth/useBluetooth.js";export{useBoolean}from"./hooks/useBoolean/useBoolean.js";export{BREAKPOINTS_ANT_DESIGN,BREAKPOINTS_BOOTSTRAP_V5,BREAKPOINTS_MANTINE,BREAKPOINTS_MASTER_CSS,BREAKPOINTS_MATERIAL_UI,BREAKPOINTS_PRIME_FLEX,BREAKPOINTS_QUASAR_V2,BREAKPOINTS_SEMANTIC,BREAKPOINTS_TAILWIND,useBreakpoints}from"./hooks/useBreakpoints/useBreakpoints.js";export{useBrowserLanguage}from"./hooks/useBrowserLanguage/useBrowserLanguage.js";export{useClickOutside}from"./hooks/useClickOutside/useClickOutside.js";export{isPermissionAllowed,legacyCopyToClipboard,useClipboard}from"./hooks/useClipboard/useClipboard.js";export{useConst}from"./hooks/useConst/useConst.js";export{COOKIE_EVENT,dispatchCookieEvent,getCookies,removeCookie,setCookie,useCookie}from"./hooks/useCookie/useCookie.js";export{clearCookies,getParsedCookies,useCookies}from"./hooks/useCookies/useCookies.js";export{useCounter}from"./hooks/useCounter/useCounter.js";export{useCssVar}from"./hooks/useCssVar/useCssVar.js";export{useDebounceCallback}from"./hooks/useDebounceCallback/useDebounceCallback.js";export{useDebounceValue}from"./hooks/useDebounceValue/useDebounceValue.js";export{useDefault}from"./hooks/useDefault/useDefault.js";export{useDeviceMotion}from"./hooks/useDeviceMotion/useDeviceMotion.js";export{useDeviceOrientation}from"./hooks/useDeviceOrientation/useDeviceOrientation.js";export{useDevicePixelRatio}from"./hooks/useDevicePixelRatio/useDevicePixelRatio.js";export{useDidUpdate}from"./hooks/useDidUpdate/useDidUpdate.js";export{useDisclosure}from"./hooks/useDisclosure/useDisclosure.js";export{useDisplayMedia}from"./hooks/useDisplayMedia/useDisplayMedia.js";export{useDocumentEvent}from"./hooks/useDocumentEvent/useDocumentEvent.js";export{useDocumentTitle}from"./hooks/useDocumentTitle/useDocumentTitle.js";export{useDocumentVisibility}from"./hooks/useDocumentVisibility/useDocumentVisibility.js";export{useElementSize}from"./hooks/useElementSize/useElementSize.js";export{useEvent}from"./hooks/useEvent/useEvent.js";export{useEventListener}from"./hooks/useEventListener/useEventListener.js";export{useEyeDropper}from"./hooks/useEyeDropper/useEyeDropper.js";export{useFavicon}from"./hooks/useFavicon/useFavicon.js";export{useField}from"./hooks/useField/useField.js";export{useFileDialog}from"./hooks/useFileDialog/useFileDialog.js";export{useFocus}from"./hooks/useFocus/useFocus.js";export{useFps}from"./hooks/useFps/useFps.js";export{useFullscreen}from"./hooks/useFullscreen/useFullscreen.js";export{useGamepad}from"./hooks/useGamepad/useGamepad.js";export{useGeolocation}from"./hooks/useGeolocation/useGeolocation.js";export{useHash}from"./hooks/useHash/useHash.js";export{isHotkeyMatch,useHotkeys}from"./hooks/useHotkeys/useHotkeys.js";export{useHover}from"./hooks/useHover/useHover.js";export{useIdle}from"./hooks/useIdle/useIdle.js";export{useImage}from"./hooks/useImage/useImage.js";export{useInfiniteScroll}from"./hooks/useInfiniteScroll/useInfiniteScroll.js";export{useIntersectionObserver}from"./hooks/useIntersectionObserver/useIntersectionObserver.js";export{useInterval}from"./hooks/useInterval/useInterval.js";export{useIsFirstRender}from"./hooks/useIsFirstRender/useIsFirstRender.js";export{useIsomorphicLayoutEffect}from"./hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js";export{useKeyboard}from"./hooks/useKeyboard/useKeyboard.js";export{useKeyPress}from"./hooks/useKeyPress/useKeyPress.js";export{useKeyPressEvent}from"./hooks/useKeyPressEvent/useKeyPressEvent.js";export{useKeysPressed}from"./hooks/useKeysPressed/useKeysPressed.js";export{useLastChanged}from"./hooks/useLastChanged/useLastChanged.js";export{useLatest}from"./hooks/useLatest/useLatest.js";export{useLess}from"./hooks/useLess/useLess.js";export{useList}from"./hooks/useList/useList.js";export{useLocalStorage}from"./hooks/useLocalStorage/useLocalStorage.js";export{useLogger}from"./hooks/useLogger/useLogger.js";export{useLongPress}from"./hooks/useLongPress/useLongPress.js";export{useMap}from"./hooks/useMap/useMap.js";export{useMeasure}from"./hooks/useMeasure/useMeasure.js";export{useMediaQuery}from"./hooks/useMediaQuery/useMediaQuery.js";export{useMemory}from"./hooks/useMemory/useMemory.js";export{useMount}from"./hooks/useMount/useMount.js";export{useMouse}from"./hooks/useMouse/useMouse.js";export{useMutation}from"./hooks/useMutation/useMutation.js";export{useMutationObserver}from"./hooks/useMutationObserver/useMutationObserver.js";export{getConnection,useNetwork}from"./hooks/useNetwork/useNetwork.js";export{useOffsetPagination}from"./hooks/useOffsetPagination/useOffsetPagination.js";export{useOnline}from"./hooks/useOnline/useOnline.js";export{getOperatingSystem,useOperatingSystem}from"./hooks/useOperatingSystem/useOperatingSystem.js";export{useOptimistic}from"./hooks/useOptimistic/useOptimistic.js";export{useOrientation}from"./hooks/useOrientation/useOrientation.js";export{useOtpCredential}from"./hooks/useOtpCredential/useOtpCredential.js";export{usePageLeave}from"./hooks/usePageLeave/usePageLeave.js";export{Paint,Pointer,usePaint}from"./hooks/usePaint/usePaint.js";export{useParallax}from"./hooks/useParallax/useParallax.js";export{usePerformanceObserver}from"./hooks/usePerformanceObserver/usePerformanceObserver.js";export{usePermission}from"./hooks/usePermission/usePermission.js";export{usePointerLock}from"./hooks/usePointerLock/usePointerLock.js";export{usePostMessage}from"./hooks/usePostMessage/usePostMessage.js";export{usePreferredColorScheme}from"./hooks/usePreferredColorScheme/usePreferredColorScheme.js";export{usePreferredContrast}from"./hooks/usePreferredContrast/usePreferredContrast.js";export{usePreferredDark}from"./hooks/usePreferredDark/usePreferredDark.js";export{usePreferredLanguages}from"./hooks/usePreferredLanguages/usePreferredLanguages.js";export{usePreferredReducedMotion}from"./hooks/usePreferredReducedMotion/usePreferredReducedMotion.js";export{usePrevious}from"./hooks/usePrevious/usePrevious.js";export{useQuery}from"./hooks/useQuery/useQuery.js";export{useQueue}from"./hooks/useQueue/useQueue.js";export{useRaf}from"./hooks/useRaf/useRaf.js";export{useRafValue}from"./hooks/useRafValue/useRafValue.js";export{useRefState}from"./hooks/useRefState/useRefState.js";export{useRenderCount}from"./hooks/useRenderCount/useRenderCount.js";export{useRenderInfo}from"./hooks/useRenderInfo/useRenderInfo.js";export{useRerender}from"./hooks/useRerender/useRerender.js";export{useResizeObserver}from"./hooks/useResizeObserver/useResizeObserver.js";export{useScreenOrientation}from"./hooks/useScreenOrientation/useScreenOrientation.js";export{SCRIPT_STATUS_ATTRIBUTE_NAME,useScript}from"./hooks/useScript/useScript.js";export{useScroll}from"./hooks/useScroll/useScroll.js";export{useScrollIntoView}from"./hooks/useScrollIntoView/useScrollIntoView.js";export{useScrollTo}from"./hooks/useScrollTo/useScrollTo.js";export{useSessionStorage}from"./hooks/useSessionStorage/useSessionStorage.js";export{useSet}from"./hooks/useSet/useSet.js";export{useShare}from"./hooks/useShare/useShare.js";export{useStateHistory}from"./hooks/useStateHistory/useStateHistory.js";export{useStep}from"./hooks/useStep/useStep.js";export{useStopwatch}from"./hooks/useStopwatch/useStopwatch.js";export{STORAGE_EVENT,dispatchStorageEvent,useStorage}from"./hooks/useStorage/useStorage.js";export{useTextDirection}from"./hooks/useTextDirection/useTextDirection.js";export{getRangesSelection,useTextSelection}from"./hooks/useTextSelection/useTextSelection.js";export{useThrottleCallback}from"./hooks/useThrottleCallback/useThrottleCallback.js";export{useThrottleValue}from"./hooks/useThrottleValue/useThrottleValue.js";export{useTime}from"./hooks/useTime/useTime.js";export{useTimeout}from"./hooks/useTimeout/useTimeout.js";export{getTimeFromSeconds,useTimer}from"./hooks/useTimer/useTimer.js";export{useToggle}from"./hooks/useToggle/useToggle.js";export{useUnmount}from"./hooks/useUnmount/useUnmount.js";export{useVibrate}from"./hooks/useVibrate/useVibrate.js";export{useWebSocket}from"./hooks/useWebSocket/useWebSocket.js";export{useWindowEvent}from"./hooks/useWindowEvent/useWindowEvent.js";export{useWindowFocus}from"./hooks/useWindowFocus/useWindowFocus.js";export{scrollTo,useWindowScroll}from"./hooks/useWindowScroll/useWindowScroll.js";export{useWindowSize}from"./hooks/useWindowSize/useWindowSize.js";export{useWizard}from"./hooks/useWizard/useWizard.js";export{debounce}from"./utils/helpers/debounce.js";export{getDate}from"./utils/helpers/getDate.js";export{getElement}from"./utils/helpers/getElement.js";export{getRetry}from"./utils/helpers/getRetry.js";export{isTarget}from"./utils/helpers/isTarget.js";export{throttle}from"./utils/helpers/throttle.js";export{mapGamepadToXbox360Controller}from"./hooks/useGamepad/helpers/mapGamepadToXbox360Controller.js";import"./_rollupPluginBabelHelpers-D_XDB4a1.js";import"react";import"react-dom";
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
2
  function r(r,t){var n;return function(){for(var e=this,o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){return r.apply(e,u)}),t)}}export{r as debounce};
3
3
  //# sourceMappingURL=debounce.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
2
  var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=e.getSeconds(),n=e.getMinutes(),r=e.getHours();return{seconds:t,minutes:n,hours:r,meridiemHours:{value:r%12==0?12:r%12,type:r>=12?"pm":"am"},day:e.getDate(),month:e.getMonth()+1,year:e.getFullYear(),timestamp:e.getTime()}};export{e as getDate};
3
3
  //# sourceMappingURL=getDate.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
2
  var n=function(n){return"function"==typeof n?n():"string"==typeof n?document.querySelector(n):n instanceof Document||n instanceof Window||n instanceof Element?n:n.current};export{n as getElement};
3
3
  //# sourceMappingURL=getElement.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
2
  var r=function(r){return"number"==typeof r?r:r?1:0};export{r as getRetry};
3
3
  //# sourceMappingURL=getRetry.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- export{debounce}from"./debounce.js";export{getDate}from"./getDate.js";export{getElement}from"./getElement.js";export{getRetry}from"./getRetry.js";export{isTarget}from"./isTarget.js";export{throttle}from"./throttle.js";import"../../_rollupPluginBabelHelpers-DMxTFLvA.js";
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ export{debounce}from"./debounce.js";export{getDate}from"./getDate.js";export{getElement}from"./getElement.js";export{getRetry}from"./getRetry.js";export{isTarget}from"./isTarget.js";export{throttle}from"./throttle.js";import"../../_rollupPluginBabelHelpers-D_XDB4a1.js";
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
2
- import{b as n}from"../../_rollupPluginBabelHelpers-DMxTFLvA.js";var e=function(e){return"string"==typeof e||e instanceof Element||e instanceof Window||e instanceof Document||e&&"object"===n(e)&&"current"in e};export{e as isTarget};
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
+ import{b as n}from"../../_rollupPluginBabelHelpers-D_XDB4a1.js";var e=function(e){return"string"==typeof e||e instanceof Element||e instanceof Window||e instanceof Document||e&&"object"===n(e)&&"current"in e};export{e as isTarget};
3
3
  //# sourceMappingURL=isTarget.js.map
@@ -1,3 +1,3 @@
1
- /* @license @siberiacancode/reactuse v0.0.98 */
1
+ /* @license @siberiacancode/reactuse v0.0.99 */
2
2
  var n=function(n,t){var e=!1,r=null,u=function(){r?(n.apply(undefined,r),r=null,setTimeout(u,t)):e=!1};return function(){for(var i=arguments.length,l=new Array(i),o=0;o<i;o++)l[o]=arguments[o];e?r=l:(n.apply(this,l),e=!0,setTimeout(u,t))}};export{n as throttle};
3
3
  //# sourceMappingURL=throttle.js.map
@@ -1926,6 +1926,20 @@ declare const useLastChanged: (source: any, options?: UseLastChangedOptions) =>
1926
1926
  */
1927
1927
  declare const useLatest: <Value>(value: Value) => Value;
1928
1928
 
1929
+ /**
1930
+ * @name useLess
1931
+ * @description - Hook that humorously suggests using it less not for production
1932
+ * @category Humor
1933
+ *
1934
+ * @template Value The type of the value
1935
+ * @param {Value} [value] The value to be returned
1936
+ * @returns {Value} The value passed to the hook
1937
+ *
1938
+ * @example
1939
+ * const value = useLess(state);
1940
+ */
1941
+ declare const useLess: (value?: any) => any;
1942
+
1929
1943
  /** The use list return type */
1930
1944
  interface UseListReturn<Item> {
1931
1945
  /** The current list of items */
@@ -2733,6 +2747,30 @@ interface UseParallax {
2733
2747
  */
2734
2748
  declare const useParallax: UseParallax;
2735
2749
 
2750
+ /** The use performance observer options type */
2751
+ type UsePerformanceObserverOptions = PerformanceObserverInit & {
2752
+ /** Whether to start the observer immediately */
2753
+ immediate?: boolean;
2754
+ };
2755
+ /**
2756
+ * @name usePerformanceObserver
2757
+ * @description - Hook that allows you to observe performance entries
2758
+ * @category Sensor
2759
+ *
2760
+ * @param {UsePerformanceObserverOptions} options The options for the performance observer
2761
+ * @param {PerformanceObserverCallback} callback The function to handle performance entries
2762
+ * @returns {object} An object containing the observer's support status and methods to start and stop the observer
2763
+ *
2764
+ * @example
2765
+ * const { supported, entries, start, stop } = usePerformanceObserver();
2766
+ */
2767
+ declare const usePerformanceObserver: (options: UsePerformanceObserverOptions, callback?: PerformanceObserverCallback) => {
2768
+ supported: boolean;
2769
+ entries: PerformanceEntry[];
2770
+ start: () => void;
2771
+ stop: () => void;
2772
+ };
2773
+
2736
2774
  /** The permission name */
2737
2775
  type UsePermissionName = 'accelerometer' | 'accessibility-events' | 'ambient-light-sensor' | 'background-sync' | 'camera' | 'clipboard-read' | 'clipboard-write' | 'gyroscope' | 'magnetometer' | 'microphone' | 'notifications' | 'payment-handler' | 'persistent-storage' | 'push' | 'speaker' | PermissionName;
2738
2776
  /** The use permission options type */
@@ -3996,4 +4034,4 @@ declare const isTarget: (target: any) => any;
3996
4034
 
3997
4035
  declare const throttle: <Params extends any[]>(callback: (...args: Params) => void, delay: number) => ((...args: Params) => void);
3998
4036
 
3999
- export { BREAKPOINTS_ANT_DESIGN, BREAKPOINTS_BOOTSTRAP_V5, BREAKPOINTS_MANTINE, BREAKPOINTS_MASTER_CSS, BREAKPOINTS_MATERIAL_UI, BREAKPOINTS_PRIME_FLEX, BREAKPOINTS_QUASAR_V2, BREAKPOINTS_SEMANTIC, BREAKPOINTS_TAILWIND, type BatteryManager, type Breakpoints, COOKIE_EVENT, type ColorSelectionOptions, type ColorSelectionResult, type Connection, type ConnectionEffectiveType, type ConnectionType, type EyeDropper, type EyeDropperConstructor, type GetElementTarget, type LongPressReactEvents, type OperatingSystem, type OrientationLockType, Paint, type Point, Pointer, type RemoveCookieParams, type RequestOptions, SCRIPT_STATUS_ATTRIBUTE_NAME, STORAGE_EVENT, type ScrollPosition, type SetCookieParams, type StateRef, type UseAsyncReturn, type UseBatteryStateReturn, type UseBatteryValue, type UseBluetoothOptions, type UseBluetoothReturn, type UseBooleanReturn, type UseBreakpointsReturn, type UseBreakpointsStrategy, type UseClickOutside, type UseClickOutsideTarget, type UseCookieInitialValue, type UseCookieOptions, type UseCookieReturn, type UseCopyToClipboardParams, type UseCopyToClipboardReturn, type UseCounter, type UseCounterOptions, type UseCounterReturn, type UseCssVar, type UseCssVarReturn, type UseCssVarTarget, type UseDeviceMotionParams, type UseDeviceMotionReturn, type UseDeviceOrientationReturn, type UseDeviceOrientationValue, type UseDevicePixelRatioReturn, type UseDisclosureOptions, type UseDisclosureReturn, type UseDisplayMediaOptions, type UseDisplayMediaOverload, type UseDisplayMediaReturn, type UseDisplayMediaTarget, type UseDocumentTitleOptions, type UseDocumentTitleReturn, type UseElementSize, type UseElementSizeReturn, type UseElementSizeTarget, type UseElementSizeValue, type UseEventListener, type UseEventListenerOptions, type UseEventListenerReturn, type UseEventListenerTarget, type UseEyeDropperReturn, type UseFaviconReturn, type UseFieldParams, type UseFieldRegisterParams, type UseFieldReturn, type UseFileDialog, type UseFileDialogOptions, type UseFileDialogReturn, type UseFocus, type UseFocusOptions, type UseFocusReturn, type UseFocusTarget, type UseFullScreen, type UseFullScreenOptions, type UseFullScreenReturn, type UseFullScreenTarget, type UseGamepadStateReturn, type UseGeolocationParams, type UseGeolocationReturn, type UseHotkeys, type UseHotkeysHotkeys, type UseHotkeysKey, type UseHotkeysOptions, type UseHotkeysTarget, type UseHover, type UseHoverOptions, type UseHoverTarget, type UseIdleOptions, type UseIdleReturn, type UseImageOptions, type UseImageReturn, type UseInfiniteScroll, type UseInfiniteScrollOptions, type UseInfiniteScrollTarget, type UseIntersectionObserver, type UseIntersectionObserverOptions, type UseIntersectionObserverReturn, type UseIntersectionObserverTarget, type UseIntervalOptions, type UseIntervalReturn, type UseKeyPressEvent, type UseKeyPressEventKey, type UseKeyPressKey, type UseKeyPressOptions, type UseKeyboardParams, type UseKeysPressedParams, type UseLastChangedOptions, type UseListReturn, type UseLongPressBind, type UseLongPressOptions, type UseLongPressReturn, type UseLongPressTarget, type UseMapReturn, type UseMeasureReturn, type UseMeasureScreen, type UseMeasureTarget, type UseMemoryReturn, type UseMouse, type UseMouseReturn, type UseMouseTarget, type UseMutationObserver, type UseMutationObserverOptions, type UseMutationObserverReturn, type UseMutationObserverTarget, type UseNetworkReturn, type UseOffsetPaginationOptions, type UseOffsetPaginationReturn, type UseOptimisticReturn, type UseOrientationReturn, type UseOtpCredential, type UseOtpCredentialCallback, type UseOtpCredentialParams, type UseOtpCredentialReturn, type UsePaint, type UsePaintOptions, type UsePaintReturn, type UsePaintTarget, type UseParallax, type UseParallaxOptions, type UseParallaxValue, type UsePermissionName, type UsePermissionOptions, type UsePermissionReturn, type UsePostMessageReturn, type UsePreferredColorSchemeReturn, type UsePreferredContrastReturn, type UsePreferredReducedMotionReturn, type UsePreviousOptions, type UseQueryOptions, type UseQueryReturn, type UseQueueReturn, type UseRafCallback, type UseRafOptions, type UseRafParams, type UseRafReturn, type UseRafValueReturn, type UseRenderInfoReturn, type UseResizeObserver, type UseResizeObserverOptions, type UseResizeObserverReturn, type UseResizeObserverTarget, type UseScreenOrientationValue, type UseScriptOptions, type UseScriptStatus, type UseScroll, type UseScrollCallbackParams, type UseScrollIntoViewOptions, type UseScrollIntoViewOverload, type UseScrollIntoViewReturn, type UseScrollIntoViewTarget, type UseScrollOptions, type UseScrollTarget, type UseScrollTo, type UseScrollToOptions, type UseScrollToReturn, type UseScrollToTarget, type UseShareParams, type UseShareReturn, type UseStopwatchOptions, type UseStopwatchReturn, type UseStorageInitialValue, type UseStorageOptions, type UseStorageReturn, type UseTextDirection, type UseTextDirectionReturn, type UseTextDirectionTarget, type UseTextDirectionValue, type UseTextSelectionReturn, type UseTimeReturn, type UseTimer, type UseTimerOptions, type UseTimerReturn, type UseToggleReturn, type UseVibratePattern, type UseVibrateReturn, type UseWebSocketOptions, type UseWebSocketReturn, type UseWebSocketStatus, type UseWebSocketUrl, type UseWindowSizeReturn, type WizardItem, clearCookies, debounce, dispatchCookieEvent, dispatchStorageEvent, getConnection, getCookies, getDate, getElement, getOperatingSystem, getParsedCookies, getRangesSelection, getRetry, getTimeFromSeconds, isHotkeyMatch, isPermissionAllowed, isTarget, legacyCopyToClipboard, mapGamepadToXbox360Controller, removeCookie, scrollTo, setCookie, throttle, useActiveElement, useAsync, useBattery, useBluetooth, useBoolean, useBreakpoints, useBrowserLanguage, useClickOutside, useClipboard, useConst, useCookie, useCookies, useCounter, useCssVar, useDebounceCallback, useDebounceValue, useDefault, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDidUpdate, useDisclosure, useDisplayMedia, useDocumentEvent, useDocumentTitle, useDocumentVisibility, useElementSize, useEvent, useEventListener, useEyeDropper, useFavicon, useField, useFileDialog, useFocus, useFps, useFullscreen, useGamepad, useGeolocation, useHash, useHotkeys, useHover, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useInterval, useIsFirstRender, useIsomorphicLayoutEffect, useKeyPress, useKeyPressEvent, useKeyboard, useKeysPressed, useLastChanged, useLatest, useList, useLocalStorage, useLogger, useLongPress, useMap, useMeasure, useMediaQuery, useMemory, useMount, useMouse, useMutation, useMutationObserver, useNetwork, useOffsetPagination, useOnline, useOperatingSystem, useOptimistic, useOrientation, useOtpCredential, usePageLeave, usePaint, useParallax, usePermission, usePointerLock, usePostMessage, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePrevious, useQuery, useQueue, useRaf, useRafValue, useRefState, useRenderCount, useRenderInfo, useRerender, useResizeObserver, useScreenOrientation, type useScreenOrientationReturn, useScript, useScroll, useScrollIntoView, useScrollTo, useSessionStorage, useSet, useShare, useStateHistory, useStep, useStopwatch, useStorage, useTextDirection, useTextSelection, useThrottleCallback, useThrottleValue, useTime, useTimeout, useTimer, useToggle, useUnmount, useVibrate, useWebSocket, useWindowEvent, useWindowFocus, useWindowScroll, useWindowSize, useWizard };
4037
+ export { BREAKPOINTS_ANT_DESIGN, BREAKPOINTS_BOOTSTRAP_V5, BREAKPOINTS_MANTINE, BREAKPOINTS_MASTER_CSS, BREAKPOINTS_MATERIAL_UI, BREAKPOINTS_PRIME_FLEX, BREAKPOINTS_QUASAR_V2, BREAKPOINTS_SEMANTIC, BREAKPOINTS_TAILWIND, type BatteryManager, type Breakpoints, COOKIE_EVENT, type ColorSelectionOptions, type ColorSelectionResult, type Connection, type ConnectionEffectiveType, type ConnectionType, type EyeDropper, type EyeDropperConstructor, type GetElementTarget, type LongPressReactEvents, type OperatingSystem, type OrientationLockType, Paint, type Point, Pointer, type RemoveCookieParams, type RequestOptions, SCRIPT_STATUS_ATTRIBUTE_NAME, STORAGE_EVENT, type ScrollPosition, type SetCookieParams, type StateRef, type UseAsyncReturn, type UseBatteryStateReturn, type UseBatteryValue, type UseBluetoothOptions, type UseBluetoothReturn, type UseBooleanReturn, type UseBreakpointsReturn, type UseBreakpointsStrategy, type UseClickOutside, type UseClickOutsideTarget, type UseCookieInitialValue, type UseCookieOptions, type UseCookieReturn, type UseCopyToClipboardParams, type UseCopyToClipboardReturn, type UseCounter, type UseCounterOptions, type UseCounterReturn, type UseCssVar, type UseCssVarReturn, type UseCssVarTarget, type UseDeviceMotionParams, type UseDeviceMotionReturn, type UseDeviceOrientationReturn, type UseDeviceOrientationValue, type UseDevicePixelRatioReturn, type UseDisclosureOptions, type UseDisclosureReturn, type UseDisplayMediaOptions, type UseDisplayMediaOverload, type UseDisplayMediaReturn, type UseDisplayMediaTarget, type UseDocumentTitleOptions, type UseDocumentTitleReturn, type UseElementSize, type UseElementSizeReturn, type UseElementSizeTarget, type UseElementSizeValue, type UseEventListener, type UseEventListenerOptions, type UseEventListenerReturn, type UseEventListenerTarget, type UseEyeDropperReturn, type UseFaviconReturn, type UseFieldParams, type UseFieldRegisterParams, type UseFieldReturn, type UseFileDialog, type UseFileDialogOptions, type UseFileDialogReturn, type UseFocus, type UseFocusOptions, type UseFocusReturn, type UseFocusTarget, type UseFullScreen, type UseFullScreenOptions, type UseFullScreenReturn, type UseFullScreenTarget, type UseGamepadStateReturn, type UseGeolocationParams, type UseGeolocationReturn, type UseHotkeys, type UseHotkeysHotkeys, type UseHotkeysKey, type UseHotkeysOptions, type UseHotkeysTarget, type UseHover, type UseHoverOptions, type UseHoverTarget, type UseIdleOptions, type UseIdleReturn, type UseImageOptions, type UseImageReturn, type UseInfiniteScroll, type UseInfiniteScrollOptions, type UseInfiniteScrollTarget, type UseIntersectionObserver, type UseIntersectionObserverOptions, type UseIntersectionObserverReturn, type UseIntersectionObserverTarget, type UseIntervalOptions, type UseIntervalReturn, type UseKeyPressEvent, type UseKeyPressEventKey, type UseKeyPressKey, type UseKeyPressOptions, type UseKeyboardParams, type UseKeysPressedParams, type UseLastChangedOptions, type UseListReturn, type UseLongPressBind, type UseLongPressOptions, type UseLongPressReturn, type UseLongPressTarget, type UseMapReturn, type UseMeasureReturn, type UseMeasureScreen, type UseMeasureTarget, type UseMemoryReturn, type UseMouse, type UseMouseReturn, type UseMouseTarget, type UseMutationObserver, type UseMutationObserverOptions, type UseMutationObserverReturn, type UseMutationObserverTarget, type UseNetworkReturn, type UseOffsetPaginationOptions, type UseOffsetPaginationReturn, type UseOptimisticReturn, type UseOrientationReturn, type UseOtpCredential, type UseOtpCredentialCallback, type UseOtpCredentialParams, type UseOtpCredentialReturn, type UsePaint, type UsePaintOptions, type UsePaintReturn, type UsePaintTarget, type UseParallax, type UseParallaxOptions, type UseParallaxValue, type UsePerformanceObserverOptions, type UsePermissionName, type UsePermissionOptions, type UsePermissionReturn, type UsePostMessageReturn, type UsePreferredColorSchemeReturn, type UsePreferredContrastReturn, type UsePreferredReducedMotionReturn, type UsePreviousOptions, type UseQueryOptions, type UseQueryReturn, type UseQueueReturn, type UseRafCallback, type UseRafOptions, type UseRafParams, type UseRafReturn, type UseRafValueReturn, type UseRenderInfoReturn, type UseResizeObserver, type UseResizeObserverOptions, type UseResizeObserverReturn, type UseResizeObserverTarget, type UseScreenOrientationValue, type UseScriptOptions, type UseScriptStatus, type UseScroll, type UseScrollCallbackParams, type UseScrollIntoViewOptions, type UseScrollIntoViewOverload, type UseScrollIntoViewReturn, type UseScrollIntoViewTarget, type UseScrollOptions, type UseScrollTarget, type UseScrollTo, type UseScrollToOptions, type UseScrollToReturn, type UseScrollToTarget, type UseShareParams, type UseShareReturn, type UseStopwatchOptions, type UseStopwatchReturn, type UseStorageInitialValue, type UseStorageOptions, type UseStorageReturn, type UseTextDirection, type UseTextDirectionReturn, type UseTextDirectionTarget, type UseTextDirectionValue, type UseTextSelectionReturn, type UseTimeReturn, type UseTimer, type UseTimerOptions, type UseTimerReturn, type UseToggleReturn, type UseVibratePattern, type UseVibrateReturn, type UseWebSocketOptions, type UseWebSocketReturn, type UseWebSocketStatus, type UseWebSocketUrl, type UseWindowSizeReturn, type WizardItem, clearCookies, debounce, dispatchCookieEvent, dispatchStorageEvent, getConnection, getCookies, getDate, getElement, getOperatingSystem, getParsedCookies, getRangesSelection, getRetry, getTimeFromSeconds, isHotkeyMatch, isPermissionAllowed, isTarget, legacyCopyToClipboard, mapGamepadToXbox360Controller, removeCookie, scrollTo, setCookie, throttle, useActiveElement, useAsync, useBattery, useBluetooth, useBoolean, useBreakpoints, useBrowserLanguage, useClickOutside, useClipboard, useConst, useCookie, useCookies, useCounter, useCssVar, useDebounceCallback, useDebounceValue, useDefault, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDidUpdate, useDisclosure, useDisplayMedia, useDocumentEvent, useDocumentTitle, useDocumentVisibility, useElementSize, useEvent, useEventListener, useEyeDropper, useFavicon, useField, useFileDialog, useFocus, useFps, useFullscreen, useGamepad, useGeolocation, useHash, useHotkeys, useHover, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useInterval, useIsFirstRender, useIsomorphicLayoutEffect, useKeyPress, useKeyPressEvent, useKeyboard, useKeysPressed, useLastChanged, useLatest, useLess, useList, useLocalStorage, useLogger, useLongPress, useMap, useMeasure, useMediaQuery, useMemory, useMount, useMouse, useMutation, useMutationObserver, useNetwork, useOffsetPagination, useOnline, useOperatingSystem, useOptimistic, useOrientation, useOtpCredential, usePageLeave, usePaint, useParallax, usePerformanceObserver, usePermission, usePointerLock, usePostMessage, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePrevious, useQuery, useQueue, useRaf, useRafValue, useRefState, useRenderCount, useRenderInfo, useRerender, useResizeObserver, useScreenOrientation, type useScreenOrientationReturn, useScript, useScroll, useScrollIntoView, useScrollTo, useSessionStorage, useSet, useShare, useStateHistory, useStep, useStopwatch, useStorage, useTextDirection, useTextSelection, useThrottleCallback, useThrottleValue, useTime, useTimeout, useTimer, useToggle, useUnmount, useVibrate, useWebSocket, useWindowEvent, useWindowFocus, useWindowScroll, useWindowSize, useWizard };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siberiacancode/reactuse",
3
- "version": "0.0.98",
3
+ "version": "0.0.99",
4
4
  "description": "The ultimate collection of react hooks",
5
5
  "author": {
6
6
  "name": "SIBERIA CAN CODE 🧊",
@@ -1 +0,0 @@
1
- {"version":3,"file":"_rollupPluginBabelHelpers-Du0ODElA.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_rollupPluginBabelHelpers-DMxTFLvA.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}