@siberiacancode/reactuse 0.2.32 → 0.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -71
- package/dist/cjs/helpers/createStore/createStore.cjs +1 -1
- package/dist/cjs/helpers/createStore/createStore.cjs.map +1 -1
- package/dist/cjs/hooks/useActiveElement/useActiveElement.cjs +1 -1
- package/dist/cjs/hooks/useActiveElement/useActiveElement.cjs.map +1 -1
- package/dist/cjs/hooks/useAsyncEffect/useAsyncEffect.cjs +2 -0
- package/dist/cjs/hooks/useAsyncEffect/useAsyncEffect.cjs.map +1 -0
- package/dist/cjs/hooks/useFocusTrap/useFocusTrap.cjs +2 -0
- package/dist/cjs/hooks/useFocusTrap/useFocusTrap.cjs.map +1 -0
- package/dist/cjs/hooks/useHash/useHash.cjs +1 -1
- package/dist/cjs/hooks/useHash/useHash.cjs.map +1 -1
- package/dist/cjs/hooks/useIntersectionObserver/useIntersectionObserver.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/helpers/createStore/createStore.mjs +4 -4
- package/dist/esm/helpers/createStore/createStore.mjs.map +1 -1
- package/dist/esm/hooks/useActiveElement/useActiveElement.mjs +5 -7
- package/dist/esm/hooks/useActiveElement/useActiveElement.mjs.map +1 -1
- package/dist/esm/hooks/useAsyncEffect/useAsyncEffect.mjs +10 -0
- package/dist/esm/hooks/useAsyncEffect/useAsyncEffect.mjs.map +1 -0
- package/dist/esm/hooks/useFocusTrap/useFocusTrap.mjs +56 -0
- package/dist/esm/hooks/useFocusTrap/useFocusTrap.mjs.map +1 -0
- package/dist/esm/hooks/useHash/useHash.mjs +16 -9
- package/dist/esm/hooks/useHash/useHash.mjs.map +1 -1
- package/dist/esm/hooks/useIntersectionObserver/useIntersectionObserver.mjs +8 -1
- package/dist/esm/hooks/useIntersectionObserver/useIntersectionObserver.mjs.map +1 -1
- package/dist/esm/index.mjs +267 -262
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/hooks/elements.d.ts +1 -0
- package/dist/types/hooks/lifecycle.d.ts +1 -0
- package/dist/types/hooks/useActiveElement/useActiveElement.d.ts +5 -3
- package/dist/types/hooks/useAsyncEffect/useAsyncEffect.d.ts +14 -0
- package/dist/types/hooks/useFocusTrap/useFocusTrap.d.ts +42 -0
- package/dist/types/hooks/useHash/useHash.d.ts +33 -2
- package/dist/types/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +1 -1
- package/package.json +89 -89
package/dist/esm/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { useOptimistic as E } from "./hooks/useOptimistic/useOptimistic.mjs";
|
|
|
9
9
|
import { useQuery as g } from "./hooks/useQuery/useQuery.mjs";
|
|
10
10
|
import { useAudio as R } from "./hooks/useAudio/useAudio.mjs";
|
|
11
11
|
import { useBattery as P } from "./hooks/useBattery/useBattery.mjs";
|
|
12
|
-
import { useBluetooth as
|
|
12
|
+
import { useBluetooth as I } from "./hooks/useBluetooth/useBluetooth.mjs";
|
|
13
13
|
import { useBroadcastChannel as O } from "./hooks/useBroadcastChannel/useBroadcastChannel.mjs";
|
|
14
14
|
import { useClipboard as h } from "./hooks/useClipboard/useClipboard.mjs";
|
|
15
15
|
import { useCopy as _ } from "./hooks/useCopy/useCopy.mjs";
|
|
@@ -18,7 +18,7 @@ import { useDisplayMedia as L } from "./hooks/useDisplayMedia/useDisplayMedia.mj
|
|
|
18
18
|
import { useDocumentTitle as B } from "./hooks/useDocumentTitle/useDocumentTitle.mjs";
|
|
19
19
|
import { useEventSource as F } from "./hooks/useEventSource/useEventSource.mjs";
|
|
20
20
|
import { useEyeDropper as V } from "./hooks/useEyeDropper/useEyeDropper.mjs";
|
|
21
|
-
import { useFavicon as
|
|
21
|
+
import { useFavicon as w } from "./hooks/useFavicon/useFavicon.mjs";
|
|
22
22
|
import { useFps as G } from "./hooks/useFps/useFps.mjs";
|
|
23
23
|
import { useFullscreen as z } from "./hooks/useFullscreen/useFullscreen.mjs";
|
|
24
24
|
import { mapGamepadToXbox360Controller as q, useGamepad as Z } from "./hooks/useGamepad/useGamepad.mjs";
|
|
@@ -34,7 +34,7 @@ import { usePointerLock as Se } from "./hooks/usePointerLock/usePointerLock.mjs"
|
|
|
34
34
|
import { usePostMessage as Te } from "./hooks/usePostMessage/usePostMessage.mjs";
|
|
35
35
|
import { useRaf as de } from "./hooks/useRaf/useRaf.mjs";
|
|
36
36
|
import { useShare as Ce } from "./hooks/useShare/useShare.mjs";
|
|
37
|
-
import { getSpeechRecognition as
|
|
37
|
+
import { getSpeechRecognition as Ae, useSpeechRecognition as Ie } from "./hooks/useSpeechRecognition/useSpeechRecognition.mjs";
|
|
38
38
|
import { useSpeechSynthesis as Oe } from "./hooks/useSpeechSynthesis/useSpeechSynthesis.mjs";
|
|
39
39
|
import { useVibrate as he } from "./hooks/useVibrate/useVibrate.mjs";
|
|
40
40
|
import { useVirtualKeyboard as _e } from "./hooks/useVirtualKeyboard/useVirtualKeyboard.mjs";
|
|
@@ -43,7 +43,7 @@ import { useWebSocket as Le } from "./hooks/useWebSocket/useWebSocket.mjs";
|
|
|
43
43
|
import { useLogger as Be } from "./hooks/useLogger/useLogger.mjs";
|
|
44
44
|
import { useRenderCount as Fe } from "./hooks/useRenderCount/useRenderCount.mjs";
|
|
45
45
|
import { useRenderInfo as Ve } from "./hooks/useRenderInfo/useRenderInfo.mjs";
|
|
46
|
-
import { useRerender as
|
|
46
|
+
import { useRerender as we } from "./hooks/useRerender/useRerender.mjs";
|
|
47
47
|
import { useActiveElement as Ge } from "./hooks/useActiveElement/useActiveElement.mjs";
|
|
48
48
|
import { useAutoScroll as ze } from "./hooks/useAutoScroll/useAutoScroll.mjs";
|
|
49
49
|
import { useClickOutside as qe } from "./hooks/useClickOutside/useClickOutside.mjs";
|
|
@@ -51,317 +51,322 @@ import { DEFAULT_THRESHOLD_TIME as je, useDoubleClick as Je } from "./hooks/useD
|
|
|
51
51
|
import { useDropZone as $e } from "./hooks/useDropZone/useDropZone.mjs";
|
|
52
52
|
import { useFileDialog as oo } from "./hooks/useFileDialog/useFileDialog.mjs";
|
|
53
53
|
import { useFocus as to } from "./hooks/useFocus/useFocus.mjs";
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
54
|
+
import { useFocusTrap as mo } from "./hooks/useFocusTrap/useFocusTrap.mjs";
|
|
55
|
+
import { useHover as po } from "./hooks/useHover/useHover.mjs";
|
|
56
|
+
import { useImage as xo } from "./hooks/useImage/useImage.mjs";
|
|
57
|
+
import { useLongPress as io } from "./hooks/useLongPress/useLongPress.mjs";
|
|
58
|
+
import { Paint as co, Pointer as lo, usePaint as So } from "./hooks/usePaint/usePaint.mjs";
|
|
59
|
+
import { useRightClick as To } from "./hooks/useRightClick/useRightClick.mjs";
|
|
60
|
+
import { SCRIPT_STATUS_ATTRIBUTE_NAME as Ro, useScript as Co } from "./hooks/useScript/useScript.mjs";
|
|
61
|
+
import { useSticky as Ao } from "./hooks/useSticky/useSticky.mjs";
|
|
62
|
+
import { useTextDirection as yo } from "./hooks/useTextDirection/useTextDirection.mjs";
|
|
63
|
+
import { useFul as ko } from "./hooks/useFul/useFul.mjs";
|
|
64
|
+
import { useLess as vo } from "./hooks/useLess/useLess.mjs";
|
|
65
|
+
import { useOnce as Do } from "./hooks/useOnce/useOnce.mjs";
|
|
66
|
+
import { useAsyncEffect as bo } from "./hooks/useAsyncEffect/useAsyncEffect.mjs";
|
|
67
|
+
import { useDidUpdate as No } from "./hooks/useDidUpdate/useDidUpdate.mjs";
|
|
68
|
+
import { useIsFirstRender as Ko } from "./hooks/useIsFirstRender/useIsFirstRender.mjs";
|
|
69
|
+
import { useIsomorphicLayoutEffect as Uo } from "./hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
|
|
70
|
+
import { useMount as Ho } from "./hooks/useMount/useMount.mjs";
|
|
71
|
+
import { deepEqual as Wo, useShallowEffect as Go } from "./hooks/useShallowEffect/useShallowEffect.mjs";
|
|
72
|
+
import { useUnmount as zo } from "./hooks/useUnmount/useUnmount.mjs";
|
|
73
|
+
import { BREAKPOINTS_ANT_DESIGN as qo, BREAKPOINTS_BOOTSTRAP_V5 as Zo, BREAKPOINTS_MANTINE as jo, BREAKPOINTS_MASTER_CSS as Jo, BREAKPOINTS_MATERIAL_UI as Yo, BREAKPOINTS_PRIME_FLEX as $o, BREAKPOINTS_QUASAR_V2 as er, BREAKPOINTS_SEMANTIC as or, BREAKPOINTS_TAILWIND as rr, useBreakpoints as tr } from "./hooks/useBreakpoints/useBreakpoints.mjs";
|
|
74
|
+
import { useDeviceMotion as mr } from "./hooks/useDeviceMotion/useDeviceMotion.mjs";
|
|
75
|
+
import { useDeviceOrientation as pr } from "./hooks/useDeviceOrientation/useDeviceOrientation.mjs";
|
|
76
|
+
import { useDevicePixelRatio as xr } from "./hooks/useDevicePixelRatio/useDevicePixelRatio.mjs";
|
|
77
|
+
import { useDocumentEvent as ir } from "./hooks/useDocumentEvent/useDocumentEvent.mjs";
|
|
78
|
+
import { useDocumentVisibility as cr } from "./hooks/useDocumentVisibility/useDocumentVisibility.mjs";
|
|
79
|
+
import { useElementSize as Sr } from "./hooks/useElementSize/useElementSize.mjs";
|
|
80
|
+
import { useEventListener as Tr } from "./hooks/useEventListener/useEventListener.mjs";
|
|
81
|
+
import { isHotkeyMatch as dr, useHotkeys as Rr } from "./hooks/useHotkeys/useHotkeys.mjs";
|
|
82
|
+
import { useIdle as Pr } from "./hooks/useIdle/useIdle.mjs";
|
|
83
|
+
import { useInfiniteScroll as Ir } from "./hooks/useInfiniteScroll/useInfiniteScroll.mjs";
|
|
84
|
+
import { useIntersectionObserver as Or } from "./hooks/useIntersectionObserver/useIntersectionObserver.mjs";
|
|
85
|
+
import { useKeyboard as hr } from "./hooks/useKeyboard/useKeyboard.mjs";
|
|
86
|
+
import { useKeyPress as _r } from "./hooks/useKeyPress/useKeyPress.mjs";
|
|
87
|
+
import { useKeyPressEvent as Mr } from "./hooks/useKeyPressEvent/useKeyPressEvent.mjs";
|
|
88
|
+
import { useKeysPressed as Lr } from "./hooks/useKeysPressed/useKeysPressed.mjs";
|
|
89
|
+
import { useLockScroll as Br } from "./hooks/useLockScroll/useLockScroll.mjs";
|
|
90
|
+
import { useMeasure as Fr } from "./hooks/useMeasure/useMeasure.mjs";
|
|
91
|
+
import { useMediaQuery as Vr } from "./hooks/useMediaQuery/useMediaQuery.mjs";
|
|
92
|
+
import { useMouse as wr } from "./hooks/useMouse/useMouse.mjs";
|
|
93
|
+
import { useMutationObserver as Gr } from "./hooks/useMutationObserver/useMutationObserver.mjs";
|
|
94
|
+
import { useOrientation as zr } from "./hooks/useOrientation/useOrientation.mjs";
|
|
95
|
+
import { usePageLeave as qr } from "./hooks/usePageLeave/usePageLeave.mjs";
|
|
96
|
+
import { useParallax as jr } from "./hooks/useParallax/useParallax.mjs";
|
|
97
|
+
import { usePerformanceObserver as Yr } from "./hooks/usePerformanceObserver/usePerformanceObserver.mjs";
|
|
98
|
+
import { useResizeObserver as et } from "./hooks/useResizeObserver/useResizeObserver.mjs";
|
|
99
|
+
import { useScroll as rt } from "./hooks/useScroll/useScroll.mjs";
|
|
100
|
+
import { useScrollIntoView as st } from "./hooks/useScrollIntoView/useScrollIntoView.mjs";
|
|
101
|
+
import { useScrollTo as ut } from "./hooks/useScrollTo/useScrollTo.mjs";
|
|
102
|
+
import { getRangesSelection as ft, useTextSelection as xt } from "./hooks/useTextSelection/useTextSelection.mjs";
|
|
103
|
+
import { useWindowEvent as it } from "./hooks/useWindowEvent/useWindowEvent.mjs";
|
|
104
|
+
import { useWindowFocus as ct } from "./hooks/useWindowFocus/useWindowFocus.mjs";
|
|
105
|
+
import { scrollTo as St, useWindowScroll as Et } from "./hooks/useWindowScroll/useWindowScroll.mjs";
|
|
106
|
+
import { useWindowSize as gt } from "./hooks/useWindowSize/useWindowSize.mjs";
|
|
107
|
+
import { useBoolean as Rt } from "./hooks/useBoolean/useBoolean.mjs";
|
|
108
|
+
import { useControllableState as Pt } from "./hooks/useControllableState/useControllableState.mjs";
|
|
109
|
+
import { COOKIE_EVENT as It, dispatchCookieEvent as yt, getCookie as Ot, getCookies as kt, removeCookie as ht, removeCookieItem as vt, setCookie as _t, setCookieItem as Dt, useCookie as Mt } from "./hooks/useCookie/useCookie.mjs";
|
|
110
|
+
import { clearCookies as Lt, useCookies as Nt } from "./hooks/useCookies/useCookies.mjs";
|
|
111
|
+
import { useCounter as Kt } from "./hooks/useCounter/useCounter.mjs";
|
|
112
|
+
import { useDefault as Ut } from "./hooks/useDefault/useDefault.mjs";
|
|
113
|
+
import { useDisclosure as Ht } from "./hooks/useDisclosure/useDisclosure.mjs";
|
|
114
|
+
import { useField as Wt } from "./hooks/useField/useField.mjs";
|
|
115
|
+
import { getHash as Qt, useHash as zt } from "./hooks/useHash/useHash.mjs";
|
|
116
|
+
import { useList as qt } from "./hooks/useList/useList.mjs";
|
|
117
|
+
import { useLocalStorage as jt } from "./hooks/useLocalStorage/useLocalStorage.mjs";
|
|
118
|
+
import { useMap as Yt } from "./hooks/useMap/useMap.mjs";
|
|
119
|
+
import { assignRef as es, mergeRefs as os, useMergedRef as rs } from "./hooks/useMergedRef/useMergedRef.mjs";
|
|
120
|
+
import { useOffsetPagination as ss } from "./hooks/useOffsetPagination/useOffsetPagination.mjs";
|
|
121
|
+
import { useQueue as us } from "./hooks/useQueue/useQueue.mjs";
|
|
122
|
+
import { useRafState as fs } from "./hooks/useRafState/useRafState.mjs";
|
|
123
|
+
import { useRefState as as } from "./hooks/useRefState/useRefState.mjs";
|
|
124
|
+
import { useSessionStorage as ns } from "./hooks/useSessionStorage/useSessionStorage.mjs";
|
|
125
|
+
import { useSet as ls } from "./hooks/useSet/useSet.mjs";
|
|
126
|
+
import { stateHistoryReducer as Es, useStateHistory as Ts } from "./hooks/useStateHistory/useStateHistory.mjs";
|
|
127
|
+
import { useStep as ds } from "./hooks/useStep/useStep.mjs";
|
|
128
|
+
import { STORAGE_EVENT as Cs, dispatchStorageEvent as Ps, useStorage as As } from "./hooks/useStorage/useStorage.mjs";
|
|
129
|
+
import { useToggle as ys } from "./hooks/useToggle/useToggle.mjs";
|
|
130
|
+
import { URL_SEARCH_PARAMS_EVENT as ks, createQueryString as hs, dispatchUrlSearchParamsEvent as vs, getUrlSearchParams as _s, useUrlSearchParam as Ds } from "./hooks/useUrlSearchParam/useUrlSearchParam.mjs";
|
|
131
|
+
import { useUrlSearchParams as bs } from "./hooks/useUrlSearchParams/useUrlSearchParams.mjs";
|
|
132
|
+
import { useWizard as Ns } from "./hooks/useWizard/useWizard.mjs";
|
|
133
|
+
import { useInterval as Ks } from "./hooks/useInterval/useInterval.mjs";
|
|
134
|
+
import { useStopwatch as Us } from "./hooks/useStopwatch/useStopwatch.mjs";
|
|
135
|
+
import { useTime as Hs } from "./hooks/useTime/useTime.mjs";
|
|
136
|
+
import { useTimeout as Ws } from "./hooks/useTimeout/useTimeout.mjs";
|
|
137
|
+
import { getTimeFromSeconds as Qs, useTimer as zs } from "./hooks/useTimer/useTimer.mjs";
|
|
138
|
+
import { useBrowserLanguage as qs } from "./hooks/useBrowserLanguage/useBrowserLanguage.mjs";
|
|
139
|
+
import { getOperatingSystem as js, useOperatingSystem as Js } from "./hooks/useOperatingSystem/useOperatingSystem.mjs";
|
|
140
|
+
import { usePreferredColorScheme as $s } from "./hooks/usePreferredColorScheme/usePreferredColorScheme.mjs";
|
|
141
|
+
import { usePreferredContrast as om } from "./hooks/usePreferredContrast/usePreferredContrast.mjs";
|
|
142
|
+
import { usePreferredDark as tm } from "./hooks/usePreferredDark/usePreferredDark.mjs";
|
|
143
|
+
import { usePreferredLanguages as mm } from "./hooks/usePreferredLanguages/usePreferredLanguages.mjs";
|
|
144
|
+
import { usePreferredReducedMotion as pm } from "./hooks/usePreferredReducedMotion/usePreferredReducedMotion.mjs";
|
|
145
|
+
import { useConst as xm } from "./hooks/useConst/useConst.mjs";
|
|
146
|
+
import { useDebounceCallback as im } from "./hooks/useDebounceCallback/useDebounceCallback.mjs";
|
|
147
|
+
import { useDebounceState as cm } from "./hooks/useDebounceState/useDebounceState.mjs";
|
|
148
|
+
import { useDebounceValue as Sm } from "./hooks/useDebounceValue/useDebounceValue.mjs";
|
|
149
|
+
import { useEvent as Tm } from "./hooks/useEvent/useEvent.mjs";
|
|
150
|
+
import { useLastChanged as dm } from "./hooks/useLastChanged/useLastChanged.mjs";
|
|
151
|
+
import { useLatest as Cm } from "./hooks/useLatest/useLatest.mjs";
|
|
152
|
+
import { usePrevious as Am } from "./hooks/usePrevious/usePrevious.mjs";
|
|
153
|
+
import { useThrottleCallback as ym } from "./hooks/useThrottleCallback/useThrottleCallback.mjs";
|
|
154
|
+
import { useThrottleState as km } from "./hooks/useThrottleState/useThrottleState.mjs";
|
|
155
|
+
import { useThrottleValue as vm } from "./hooks/useThrottleValue/useThrottleValue.mjs";
|
|
156
|
+
import { copy as Dm, legacyCopyToClipboard as Mm } from "./utils/helpers/copy.mjs";
|
|
157
|
+
import { debounce as Lm } from "./utils/helpers/debounce.mjs";
|
|
158
|
+
import { getDate as Bm } from "./utils/helpers/getDate.mjs";
|
|
159
|
+
import { getElement as Fm, target as Um, targetSymbol as Vm } from "./utils/helpers/getElement.mjs";
|
|
160
|
+
import { getRetry as wm } from "./utils/helpers/getRetry.mjs";
|
|
161
|
+
import { isTarget as Gm } from "./utils/helpers/isTarget.mjs";
|
|
162
|
+
import { throttle as zm } from "./utils/helpers/throttle.mjs";
|
|
161
163
|
export {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
164
|
+
qo as BREAKPOINTS_ANT_DESIGN,
|
|
165
|
+
Zo as BREAKPOINTS_BOOTSTRAP_V5,
|
|
166
|
+
jo as BREAKPOINTS_MANTINE,
|
|
167
|
+
Jo as BREAKPOINTS_MASTER_CSS,
|
|
168
|
+
Yo as BREAKPOINTS_MATERIAL_UI,
|
|
169
|
+
$o as BREAKPOINTS_PRIME_FLEX,
|
|
170
|
+
er as BREAKPOINTS_QUASAR_V2,
|
|
171
|
+
or as BREAKPOINTS_SEMANTIC,
|
|
172
|
+
rr as BREAKPOINTS_TAILWIND,
|
|
173
|
+
It as COOKIE_EVENT,
|
|
172
174
|
je as DEFAULT_THRESHOLD_TIME,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
co as Paint,
|
|
176
|
+
lo as Pointer,
|
|
177
|
+
Ro as SCRIPT_STATUS_ATTRIBUTE_NAME,
|
|
178
|
+
Cs as STORAGE_EVENT,
|
|
179
|
+
ks as URL_SEARCH_PARAMS_EVENT,
|
|
180
|
+
es as assignRef,
|
|
181
|
+
Lt as clearCookies,
|
|
182
|
+
Dm as copy,
|
|
181
183
|
r as createContext,
|
|
182
184
|
s as createEventEmitter,
|
|
183
|
-
|
|
185
|
+
hs as createQueryString,
|
|
184
186
|
u as createReactiveContext,
|
|
185
187
|
f as createStore,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
Lm as debounce,
|
|
189
|
+
Wo as deepEqual,
|
|
190
|
+
yt as dispatchCookieEvent,
|
|
191
|
+
Ps as dispatchStorageEvent,
|
|
192
|
+
vs as dispatchUrlSearchParamsEvent,
|
|
191
193
|
se as getConnection,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
194
|
+
Ot as getCookie,
|
|
195
|
+
kt as getCookies,
|
|
196
|
+
Bm as getDate,
|
|
197
|
+
Fm as getElement,
|
|
198
|
+
Qt as getHash,
|
|
199
|
+
js as getOperatingSystem,
|
|
200
|
+
ft as getRangesSelection,
|
|
201
|
+
wm as getRetry,
|
|
202
|
+
Ae as getSpeechRecognition,
|
|
203
|
+
Qs as getTimeFromSeconds,
|
|
204
|
+
_s as getUrlSearchParams,
|
|
205
|
+
dr as isHotkeyMatch,
|
|
206
|
+
Gm as isTarget,
|
|
207
|
+
Mm as legacyCopyToClipboard,
|
|
205
208
|
q as mapGamepadToXbox360Controller,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
209
|
+
os as mergeRefs,
|
|
210
|
+
ht as removeCookie,
|
|
211
|
+
vt as removeCookieItem,
|
|
212
|
+
St as scrollTo,
|
|
213
|
+
_t as setCookie,
|
|
214
|
+
Dt as setCookieItem,
|
|
215
|
+
Es as stateHistoryReducer,
|
|
216
|
+
Um as target,
|
|
217
|
+
Vm as targetSymbol,
|
|
218
|
+
zm as throttle,
|
|
216
219
|
$ as timeRangeToArray,
|
|
217
220
|
Ge as useActiveElement,
|
|
218
221
|
a as useAsync,
|
|
222
|
+
bo as useAsyncEffect,
|
|
219
223
|
R as useAudio,
|
|
220
224
|
ze as useAutoScroll,
|
|
221
225
|
P as useBattery,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
226
|
+
I as useBluetooth,
|
|
227
|
+
Rt as useBoolean,
|
|
228
|
+
tr as useBreakpoints,
|
|
225
229
|
O as useBroadcastChannel,
|
|
226
|
-
|
|
230
|
+
qs as useBrowserLanguage,
|
|
227
231
|
qe as useClickOutside,
|
|
228
232
|
h as useClipboard,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
+
xm as useConst,
|
|
234
|
+
Pt as useControllableState,
|
|
235
|
+
Mt as useCookie,
|
|
236
|
+
Nt as useCookies,
|
|
233
237
|
_ as useCopy,
|
|
234
|
-
|
|
238
|
+
Kt as useCounter,
|
|
235
239
|
M as useCssVar,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
240
|
+
im as useDebounceCallback,
|
|
241
|
+
cm as useDebounceState,
|
|
242
|
+
Sm as useDebounceValue,
|
|
243
|
+
Ut as useDefault,
|
|
244
|
+
mr as useDeviceMotion,
|
|
245
|
+
pr as useDeviceOrientation,
|
|
246
|
+
xr as useDevicePixelRatio,
|
|
247
|
+
No as useDidUpdate,
|
|
248
|
+
Ht as useDisclosure,
|
|
245
249
|
L as useDisplayMedia,
|
|
246
|
-
|
|
250
|
+
ir as useDocumentEvent,
|
|
247
251
|
B as useDocumentTitle,
|
|
248
|
-
|
|
252
|
+
cr as useDocumentVisibility,
|
|
249
253
|
Je as useDoubleClick,
|
|
250
254
|
$e as useDropZone,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
255
|
+
Sr as useElementSize,
|
|
256
|
+
Tm as useEvent,
|
|
257
|
+
Tr as useEventListener,
|
|
254
258
|
F as useEventSource,
|
|
255
259
|
V as useEyeDropper,
|
|
256
|
-
|
|
257
|
-
|
|
260
|
+
w as useFavicon,
|
|
261
|
+
Wt as useField,
|
|
258
262
|
oo as useFileDialog,
|
|
259
263
|
to as useFocus,
|
|
264
|
+
mo as useFocusTrap,
|
|
260
265
|
G as useFps,
|
|
261
|
-
|
|
266
|
+
ko as useFul,
|
|
262
267
|
z as useFullscreen,
|
|
263
268
|
Z as useGamepad,
|
|
264
269
|
J as useGeolocation,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
270
|
+
zt as useHash,
|
|
271
|
+
Rr as useHotkeys,
|
|
272
|
+
po as useHover,
|
|
273
|
+
Pr as useIdle,
|
|
274
|
+
xo as useImage,
|
|
275
|
+
Ir as useInfiniteScroll,
|
|
276
|
+
Or as useIntersectionObserver,
|
|
277
|
+
Ks as useInterval,
|
|
278
|
+
Ko as useIsFirstRender,
|
|
279
|
+
Uo as useIsomorphicLayoutEffect,
|
|
280
|
+
_r as useKeyPress,
|
|
281
|
+
Mr as useKeyPressEvent,
|
|
282
|
+
hr as useKeyboard,
|
|
283
|
+
Lr as useKeysPressed,
|
|
284
|
+
dm as useLastChanged,
|
|
285
|
+
Cm as useLatest,
|
|
286
|
+
vo as useLess,
|
|
287
|
+
qt as useList,
|
|
288
|
+
jt as useLocalStorage,
|
|
284
289
|
n as useLockCallback,
|
|
285
|
-
|
|
290
|
+
Br as useLockScroll,
|
|
286
291
|
Be as useLogger,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
292
|
+
io as useLongPress,
|
|
293
|
+
Yt as useMap,
|
|
294
|
+
Fr as useMeasure,
|
|
290
295
|
ee as useMediaControls,
|
|
291
|
-
|
|
296
|
+
Vr as useMediaQuery,
|
|
292
297
|
re as useMemory,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
298
|
+
rs as useMergedRef,
|
|
299
|
+
Ho as useMount,
|
|
300
|
+
wr as useMouse,
|
|
296
301
|
l as useMutation,
|
|
297
|
-
|
|
302
|
+
Gr as useMutationObserver,
|
|
298
303
|
me as useNetwork,
|
|
299
|
-
|
|
300
|
-
|
|
304
|
+
ss as useOffsetPagination,
|
|
305
|
+
Do as useOnce,
|
|
301
306
|
pe as useOnline,
|
|
302
|
-
|
|
307
|
+
Js as useOperatingSystem,
|
|
303
308
|
E as useOptimistic,
|
|
304
|
-
|
|
309
|
+
zr as useOrientation,
|
|
305
310
|
xe as useOtpCredential,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
311
|
+
qr as usePageLeave,
|
|
312
|
+
So as usePaint,
|
|
313
|
+
jr as useParallax,
|
|
314
|
+
Yr as usePerformanceObserver,
|
|
310
315
|
ie as usePermission,
|
|
311
316
|
ce as usePictureInPicture,
|
|
312
317
|
Se as usePointerLock,
|
|
313
318
|
Te as usePostMessage,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
319
|
+
$s as usePreferredColorScheme,
|
|
320
|
+
om as usePreferredContrast,
|
|
321
|
+
tm as usePreferredDark,
|
|
322
|
+
mm as usePreferredLanguages,
|
|
323
|
+
pm as usePreferredReducedMotion,
|
|
324
|
+
Am as usePrevious,
|
|
320
325
|
g as useQuery,
|
|
321
|
-
|
|
326
|
+
us as useQueue,
|
|
322
327
|
de as useRaf,
|
|
323
|
-
|
|
324
|
-
|
|
328
|
+
fs as useRafState,
|
|
329
|
+
as as useRefState,
|
|
325
330
|
Fe as useRenderCount,
|
|
326
331
|
Ve as useRenderInfo,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
332
|
+
we as useRerender,
|
|
333
|
+
et as useResizeObserver,
|
|
334
|
+
To as useRightClick,
|
|
335
|
+
Co as useScript,
|
|
336
|
+
rt as useScroll,
|
|
337
|
+
st as useScrollIntoView,
|
|
338
|
+
ut as useScrollTo,
|
|
339
|
+
ns as useSessionStorage,
|
|
340
|
+
ls as useSet,
|
|
341
|
+
Go as useShallowEffect,
|
|
337
342
|
Ce as useShare,
|
|
338
|
-
|
|
343
|
+
Ie as useSpeechRecognition,
|
|
339
344
|
Oe as useSpeechSynthesis,
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
345
|
+
Ts as useStateHistory,
|
|
346
|
+
ds as useStep,
|
|
347
|
+
Ao as useSticky,
|
|
348
|
+
Us as useStopwatch,
|
|
349
|
+
As as useStorage,
|
|
350
|
+
yo as useTextDirection,
|
|
351
|
+
xt as useTextSelection,
|
|
352
|
+
ym as useThrottleCallback,
|
|
353
|
+
km as useThrottleState,
|
|
354
|
+
vm as useThrottleValue,
|
|
355
|
+
Hs as useTime,
|
|
356
|
+
Ws as useTimeout,
|
|
357
|
+
zs as useTimer,
|
|
358
|
+
ys as useToggle,
|
|
359
|
+
zo as useUnmount,
|
|
360
|
+
Ds as useUrlSearchParam,
|
|
361
|
+
bs as useUrlSearchParams,
|
|
357
362
|
he as useVibrate,
|
|
358
363
|
_e as useVirtualKeyboard,
|
|
359
364
|
Me as useWakeLock,
|
|
360
365
|
Le as useWebSocket,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
+
it as useWindowEvent,
|
|
367
|
+
ct as useWindowFocus,
|
|
368
|
+
Et as useWindowScroll,
|
|
369
|
+
gt as useWindowSize,
|
|
370
|
+
Ns as useWizard
|
|
366
371
|
};
|
|
367
372
|
//# sourceMappingURL=index.mjs.map
|