react-native-gesture-handler 3.5.0-nightly-20261104-754229cba → 3.5.0
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/apple/Handlers/RNManualHandler.m +5 -0
- package/lib/module/components/Pressable/utils.js.map +1 -1
- package/lib/module/components/ReanimatedDrawerLayout.js.map +1 -1
- package/lib/module/components/ReanimatedSwipeable/ReanimatedSwipeable.js.map +1 -1
- package/lib/module/v3/components/GestureButtons.js.map +1 -1
- package/lib/module/v3/hooks/gestures/fling/FlingTypes.js +2 -0
- package/lib/module/v3/hooks/gestures/fling/FlingTypes.js.map +1 -1
- package/lib/module/v3/hooks/gestures/hover/HoverTypes.js +2 -0
- package/lib/module/v3/hooks/gestures/hover/HoverTypes.js.map +1 -1
- package/lib/module/v3/hooks/gestures/index.js.map +1 -1
- package/lib/module/v3/hooks/gestures/longPress/LongPressTypes.js +2 -0
- package/lib/module/v3/hooks/gestures/longPress/LongPressTypes.js.map +1 -1
- package/lib/module/v3/hooks/gestures/native/NativeTypes.js +2 -0
- package/lib/module/v3/hooks/gestures/native/NativeTypes.js.map +1 -1
- package/lib/module/v3/hooks/gestures/pan/PanTypes.js +2 -0
- package/lib/module/v3/hooks/gestures/pan/PanTypes.js.map +1 -1
- package/lib/module/v3/hooks/gestures/tap/TapTypes.js +2 -0
- package/lib/module/v3/hooks/gestures/tap/TapTypes.js.map +1 -1
- package/lib/module/v3/index.js.map +1 -1
- package/lib/module/web/handlers/GestureHandler.js +1 -1
- package/lib/module/web/handlers/GestureHandler.js.map +1 -1
- package/lib/module/web/tools/GestureHandlerOrchestrator.js +6 -2
- package/lib/module/web/tools/GestureHandlerOrchestrator.js.map +1 -1
- package/lib/module/web/tools/PointerTracker.js +5 -2
- package/lib/module/web/tools/PointerTracker.js.map +1 -1
- package/lib/typescript/components/Pressable/utils.d.ts +2 -3
- package/lib/typescript/components/Pressable/utils.d.ts.map +1 -1
- package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeable.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureButtons.d.ts.map +1 -1
- package/lib/typescript/v3/components/Touchable/TouchableProps.d.ts +0 -4
- package/lib/typescript/v3/components/Touchable/TouchableProps.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/fling/FlingTypes.d.ts +7 -3
- package/lib/typescript/v3/hooks/gestures/fling/FlingTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/hover/HoverTypes.d.ts +6 -2
- package/lib/typescript/v3/hooks/gestures/hover/HoverTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/index.d.ts +19 -19
- package/lib/typescript/v3/hooks/gestures/index.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/longPress/LongPressTypes.d.ts +7 -3
- package/lib/typescript/v3/hooks/gestures/longPress/LongPressTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/manual/ManualTypes.d.ts +7 -3
- package/lib/typescript/v3/hooks/gestures/manual/ManualTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/native/NativeTypes.d.ts +7 -3
- package/lib/typescript/v3/hooks/gestures/native/NativeTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/pan/PanTypes.d.ts +6 -2
- package/lib/typescript/v3/hooks/gestures/pan/PanTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/pinch/PinchTypes.d.ts +6 -2
- package/lib/typescript/v3/hooks/gestures/pinch/PinchTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/rotation/RotationTypes.d.ts +6 -2
- package/lib/typescript/v3/hooks/gestures/rotation/RotationTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/tap/TapTypes.d.ts +7 -3
- package/lib/typescript/v3/hooks/gestures/tap/TapTypes.d.ts.map +1 -1
- package/lib/typescript/v3/index.d.ts +1 -1
- package/lib/typescript/v3/index.d.ts.map +1 -1
- package/lib/typescript/web/handlers/GestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts +1 -1
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts.map +1 -1
- package/lib/typescript/web/tools/PointerTracker.d.ts +1 -0
- package/lib/typescript/web/tools/PointerTracker.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Pressable/utils.ts +8 -8
- package/src/components/ReanimatedDrawerLayout.tsx +2 -2
- package/src/components/ReanimatedSwipeable/ReanimatedSwipeable.tsx +5 -2
- package/src/v3/components/GestureButtons.tsx +10 -9
- package/src/v3/components/Touchable/TouchableProps.ts +0 -5
- package/src/v3/hooks/gestures/fling/FlingTypes.ts +7 -2
- package/src/v3/hooks/gestures/hover/HoverTypes.ts +7 -1
- package/src/v3/hooks/gestures/index.ts +83 -9
- package/src/v3/hooks/gestures/longPress/LongPressTypes.ts +9 -2
- package/src/v3/hooks/gestures/manual/ManualTypes.ts +7 -2
- package/src/v3/hooks/gestures/native/NativeTypes.ts +7 -2
- package/src/v3/hooks/gestures/pan/PanTypes.ts +6 -1
- package/src/v3/hooks/gestures/pinch/PinchTypes.ts +7 -1
- package/src/v3/hooks/gestures/rotation/RotationTypes.ts +7 -1
- package/src/v3/hooks/gestures/tap/TapTypes.ts +7 -2
- package/src/v3/index.ts +27 -0
- package/src/web/handlers/GestureHandler.ts +4 -1
- package/src/web/tools/GestureHandlerOrchestrator.ts +14 -2
- package/src/web/tools/PointerTracker.ts +6 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PointerTracker.d.ts","sourceRoot":"","sources":["../../../../src/web/tools/PointerTracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGzD,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,KAAK,CAAC;IACvB,cAAc,EAAE,KAAK,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,OAAO,CAAC,eAAe,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAG7B;IAEJ,OAAO,CAAC,cAAc,CAAkD;IAExE,OAAO,CAAC,kBAAkB,CAAS;IAEnC,OAAO,CAAC,sBAAsB,CAAyB;IACvD,OAAO,CAAC,sBAAsB,CAAyB;;IAUhD,YAAY,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAqBvC,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAK1C,KAAK,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAyBvC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,mBAAmB;IAOpB,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAUnD,WAAW,CAAC,SAAS,EAAE,MAAM;;;;IAW7B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;IAS7C,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM;IAKxC,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM;IAUxC,wBAAwB;;;;IAcxB,wBAAwB;;;;IAcxB,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM;;;;IAa5C,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM;;;;IAa5C,YAAY,IAAI,IAAI;WAUb,mBAAmB,CAC/B,UAAU,EAAE,MAAM,EAAE,EACpB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO;IAIV,IAAW,oBAAoB,IAAI,MAAM,CAExC;IAED,IAAW,kBAAkB,aAQ5B;IAED,IAAW,eAAe,gCAEzB;CACF"}
|
|
1
|
+
{"version":3,"file":"PointerTracker.d.ts","sourceRoot":"","sources":["../../../../src/web/tools/PointerTracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGzD,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,KAAK,CAAC;IACvB,cAAc,EAAE,KAAK,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,OAAO,CAAC,eAAe,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAG7B;IAEJ,OAAO,CAAC,cAAc,CAAkD;IAExE,OAAO,CAAC,kBAAkB,CAAS;IAEnC,OAAO,CAAC,sBAAsB,CAAyB;IACvD,OAAO,CAAC,sBAAsB,CAAyB;;IAUhD,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAI7C,YAAY,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAqBvC,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAK1C,KAAK,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAyBvC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,mBAAmB;IAOpB,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAUnD,WAAW,CAAC,SAAS,EAAE,MAAM;;;;IAW7B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;IAS7C,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM;IAKxC,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM;IAUxC,wBAAwB;;;;IAcxB,wBAAwB;;;;IAcxB,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM;;;;IAa5C,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM;;;;IAa5C,YAAY,IAAI,IAAI;WAUb,mBAAmB,CAC/B,UAAU,EAAE,MAAM,EAAE,EACpB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO;IAIV,IAAW,oBAAoB,IAAI,MAAM,CAExC;IAED,IAAW,kBAAkB,aAQ5B;IAED,IAAW,eAAe,gCAEzB;CACF"}
|
package/package.json
CHANGED
|
@@ -9,8 +9,10 @@ import type {
|
|
|
9
9
|
HoverGestureHandlerEventPayload,
|
|
10
10
|
LongPressGestureHandlerEventPayload,
|
|
11
11
|
} from '../../handlers/GestureHandlerEventPayload';
|
|
12
|
-
import type {
|
|
13
|
-
|
|
12
|
+
import type {
|
|
13
|
+
HoverGestureBeginEvent,
|
|
14
|
+
HoverGestureFinalizeEvent,
|
|
15
|
+
} from '../../v3';
|
|
14
16
|
import type {
|
|
15
17
|
InnerPressableEvent,
|
|
16
18
|
PressableDimensions,
|
|
@@ -52,9 +54,8 @@ const gestureToPressEvent = (
|
|
|
52
54
|
| GestureStateChangeEvent<
|
|
53
55
|
HoverGestureHandlerEventPayload | LongPressGestureHandlerEventPayload
|
|
54
56
|
>
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
| LongPressGestureEvent,
|
|
57
|
+
| HoverGestureBeginEvent
|
|
58
|
+
| HoverGestureFinalizeEvent,
|
|
58
59
|
timestamp: number,
|
|
59
60
|
targetId: number
|
|
60
61
|
): InnerPressableEvent => ({
|
|
@@ -84,9 +85,8 @@ const gestureToPressableEvent = (
|
|
|
84
85
|
| GestureStateChangeEvent<
|
|
85
86
|
HoverGestureHandlerEventPayload | LongPressGestureHandlerEventPayload
|
|
86
87
|
>
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
| LongPressGestureEvent
|
|
88
|
+
| HoverGestureBeginEvent
|
|
89
|
+
| HoverGestureFinalizeEvent
|
|
90
90
|
): PressableEvent => {
|
|
91
91
|
const timestamp = Date.now();
|
|
92
92
|
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
InterceptingGestureDetector,
|
|
46
46
|
VirtualGestureDetector,
|
|
47
47
|
} from '../v3/detectors';
|
|
48
|
-
import type {
|
|
48
|
+
import type { PanGestureDeactivateEvent } from '../v3/hooks/gestures';
|
|
49
49
|
import { usePanGesture, useTapGesture } from '../v3/hooks/gestures';
|
|
50
50
|
import type { WithSharedValue } from '../v3/types';
|
|
51
51
|
|
|
@@ -454,7 +454,7 @@ const DrawerLayout = function DrawerLayout(
|
|
|
454
454
|
);
|
|
455
455
|
|
|
456
456
|
const handleRelease = useCallback(
|
|
457
|
-
(event:
|
|
457
|
+
(event: PanGestureDeactivateEvent) => {
|
|
458
458
|
'worklet';
|
|
459
459
|
if (event.canceled) {
|
|
460
460
|
// Settle the drawer where it rested before the gesture.
|
|
@@ -26,7 +26,10 @@ import {
|
|
|
26
26
|
|
|
27
27
|
import { tagMessage } from '../../utils';
|
|
28
28
|
import { GestureDetector } from '../../v3/detectors';
|
|
29
|
-
import type {
|
|
29
|
+
import type {
|
|
30
|
+
PanGestureActiveEvent,
|
|
31
|
+
PanGestureDeactivateEvent,
|
|
32
|
+
} from '../../v3/hooks/gestures';
|
|
30
33
|
import { usePanGesture, useTapGesture } from '../../v3/hooks/gestures';
|
|
31
34
|
import {
|
|
32
35
|
maybeUnpackValue,
|
|
@@ -507,7 +510,7 @@ const Swipeable = (props: SwipeableProps) => {
|
|
|
507
510
|
);
|
|
508
511
|
|
|
509
512
|
const handleRelease = useCallback(
|
|
510
|
-
(event:
|
|
513
|
+
(event: PanGestureDeactivateEvent) => {
|
|
511
514
|
'worklet';
|
|
512
515
|
if (event.canceled) {
|
|
513
516
|
// Restore the row to where it rested before the gesture.
|
|
@@ -5,8 +5,12 @@ import { Animated, Platform, StyleSheet } from 'react-native';
|
|
|
5
5
|
import GestureHandlerButton from '../../components/GestureHandlerButton';
|
|
6
6
|
import { getTVProps } from '../../components/utils';
|
|
7
7
|
import createNativeWrapper from '../createNativeWrapper';
|
|
8
|
-
import type {
|
|
9
|
-
|
|
8
|
+
import type {
|
|
9
|
+
NativeGestureActiveEvent,
|
|
10
|
+
NativeGestureBeginEvent,
|
|
11
|
+
NativeGestureDeactivateEvent,
|
|
12
|
+
NativeGestureFinalizeEvent,
|
|
13
|
+
} from '../hooks/gestures';
|
|
10
14
|
import type {
|
|
11
15
|
BaseButtonProps,
|
|
12
16
|
BorderlessButtonProps,
|
|
@@ -14,9 +18,6 @@ import type {
|
|
|
14
18
|
RectButtonProps,
|
|
15
19
|
} from './GestureButtonsProps';
|
|
16
20
|
|
|
17
|
-
type CallbackEventType = GestureEvent<NativeHandlerData>;
|
|
18
|
-
type EndCallbackEventType = GestureEndEvent<NativeHandlerData>;
|
|
19
|
-
|
|
20
21
|
type RawButtonInnerProps = RawButtonProps & {
|
|
21
22
|
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
22
23
|
};
|
|
@@ -54,7 +55,7 @@ export const BaseButton = (props: BaseButtonProps) => {
|
|
|
54
55
|
onLongPress?.();
|
|
55
56
|
};
|
|
56
57
|
|
|
57
|
-
const onBegin = (e:
|
|
58
|
+
const onBegin = (e: NativeGestureBeginEvent) => {
|
|
58
59
|
if (!e.pointerInside) {
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
@@ -69,7 +70,7 @@ export const BaseButton = (props: BaseButtonProps) => {
|
|
|
69
70
|
props.onBegin?.(e);
|
|
70
71
|
};
|
|
71
72
|
|
|
72
|
-
const onActivate = (e:
|
|
73
|
+
const onActivate = (e: NativeGestureActiveEvent) => {
|
|
73
74
|
if (!e.pointerInside && longPressTimeout.current !== undefined) {
|
|
74
75
|
clearTimeout(longPressTimeout.current);
|
|
75
76
|
longPressTimeout.current = undefined;
|
|
@@ -78,11 +79,11 @@ export const BaseButton = (props: BaseButtonProps) => {
|
|
|
78
79
|
props.onActivate?.(e);
|
|
79
80
|
};
|
|
80
81
|
|
|
81
|
-
const onDeactivate = (e:
|
|
82
|
+
const onDeactivate = (e: NativeGestureDeactivateEvent) => {
|
|
82
83
|
props.onDeactivate?.(e);
|
|
83
84
|
};
|
|
84
85
|
|
|
85
|
-
const onFinalize = (e:
|
|
86
|
+
const onFinalize = (e: NativeGestureFinalizeEvent) => {
|
|
86
87
|
onActiveStateChange?.(false);
|
|
87
88
|
|
|
88
89
|
if (!e.canceled && !longPressDetected.current) {
|
|
@@ -4,13 +4,8 @@ import type {
|
|
|
4
4
|
ButtonEvent,
|
|
5
5
|
ButtonProps,
|
|
6
6
|
} from '../../../components/GestureHandlerButton';
|
|
7
|
-
import type { NativeHandlerData } from '../../hooks/gestures/native/NativeTypes';
|
|
8
|
-
import type { GestureEndEvent, GestureEvent } from '../../types';
|
|
9
7
|
import type { BaseButtonProps, RawButtonProps } from '../GestureButtonsProps';
|
|
10
8
|
|
|
11
|
-
export type CallbackEventType = GestureEvent<NativeHandlerData>;
|
|
12
|
-
export type EndCallbackEventType = GestureEndEvent<NativeHandlerData>;
|
|
13
|
-
|
|
14
9
|
type PressableAndroidRippleConfig = {
|
|
15
10
|
[K in keyof RNPressableAndroidRippleConfig]?: Exclude<
|
|
16
11
|
RNPressableAndroidRippleConfig[K],
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
BaseDiscreteGestureConfig,
|
|
3
3
|
ExcludeInternalConfigProps,
|
|
4
|
+
GestureEndEvent,
|
|
4
5
|
GestureEvent,
|
|
5
6
|
SingleGesture,
|
|
6
7
|
WithSharedValue,
|
|
@@ -51,8 +52,12 @@ export type FlingGestureInternalConfig = BaseDiscreteGestureConfig<
|
|
|
51
52
|
export type FlingGestureConfig =
|
|
52
53
|
ExcludeInternalConfigProps<FlingGestureInternalConfig>;
|
|
53
54
|
|
|
54
|
-
export type
|
|
55
|
-
export type FlingGestureActiveEvent =
|
|
55
|
+
export type FlingGestureBeginEvent = GestureEvent<FlingHandlerData>;
|
|
56
|
+
export type FlingGestureActiveEvent = FlingGestureBeginEvent;
|
|
57
|
+
export type FlingGestureDeactivateEvent = GestureEndEvent<FlingHandlerData>;
|
|
58
|
+
export type FlingGestureFinalizeEvent = GestureEndEvent<FlingHandlerData>;
|
|
59
|
+
/** @deprecated Use `FlingGestureBeginEvent` instead. */
|
|
60
|
+
export type FlingGestureEvent = FlingGestureBeginEvent;
|
|
56
61
|
|
|
57
62
|
export type FlingGesture = SingleGesture<
|
|
58
63
|
FlingGestureProperties,
|
|
@@ -3,6 +3,7 @@ import type { HoverEffect } from '../../../../HoverEffect';
|
|
|
3
3
|
import type {
|
|
4
4
|
BaseGestureConfig,
|
|
5
5
|
ExcludeInternalConfigProps,
|
|
6
|
+
GestureEndEvent,
|
|
6
7
|
GestureEvent,
|
|
7
8
|
SingleGesture,
|
|
8
9
|
WithSharedValue,
|
|
@@ -66,8 +67,13 @@ export type HoverGestureInternalConfig = BaseGestureConfig<
|
|
|
66
67
|
HoverExtendedHandlerData
|
|
67
68
|
>;
|
|
68
69
|
|
|
69
|
-
export type
|
|
70
|
+
export type HoverGestureBeginEvent = GestureEvent<HoverHandlerData>;
|
|
70
71
|
export type HoverGestureActiveEvent = GestureEvent<HoverExtendedHandlerData>;
|
|
72
|
+
export type HoverGestureDeactivateEvent =
|
|
73
|
+
GestureEndEvent<HoverExtendedHandlerData>;
|
|
74
|
+
export type HoverGestureFinalizeEvent = GestureEndEvent<HoverHandlerData>;
|
|
75
|
+
/** @deprecated Use `HoverGestureBeginEvent` instead. */
|
|
76
|
+
export type HoverGestureEvent = HoverGestureBeginEvent;
|
|
71
77
|
|
|
72
78
|
export type HoverGesture = SingleGesture<
|
|
73
79
|
HoverGestureInternalProperties,
|
|
@@ -1,127 +1,181 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
FlingGesture,
|
|
3
3
|
FlingGestureActiveEvent,
|
|
4
|
+
FlingGestureBeginEvent,
|
|
4
5
|
FlingGestureConfig,
|
|
6
|
+
FlingGestureDeactivateEvent,
|
|
5
7
|
FlingGestureEvent,
|
|
8
|
+
FlingGestureFinalizeEvent,
|
|
6
9
|
} from './fling/FlingTypes';
|
|
7
10
|
import type {
|
|
8
11
|
HoverGesture,
|
|
9
12
|
HoverGestureActiveEvent,
|
|
13
|
+
HoverGestureBeginEvent,
|
|
10
14
|
HoverGestureConfig,
|
|
15
|
+
HoverGestureDeactivateEvent,
|
|
11
16
|
HoverGestureEvent,
|
|
17
|
+
HoverGestureFinalizeEvent,
|
|
12
18
|
} from './hover/HoverTypes';
|
|
13
19
|
import type {
|
|
14
20
|
LongPressGesture,
|
|
15
21
|
LongPressGestureActiveEvent,
|
|
22
|
+
LongPressGestureBeginEvent,
|
|
16
23
|
LongPressGestureConfig,
|
|
24
|
+
LongPressGestureDeactivateEvent,
|
|
17
25
|
LongPressGestureEvent,
|
|
26
|
+
LongPressGestureFinalizeEvent,
|
|
18
27
|
} from './longPress/LongPressTypes';
|
|
19
28
|
import type {
|
|
20
29
|
ManualGesture,
|
|
21
30
|
ManualGestureActiveEvent,
|
|
31
|
+
ManualGestureBeginEvent,
|
|
22
32
|
ManualGestureConfig,
|
|
33
|
+
ManualGestureDeactivateEvent,
|
|
23
34
|
ManualGestureEvent,
|
|
35
|
+
ManualGestureFinalizeEvent,
|
|
24
36
|
} from './manual/ManualTypes';
|
|
25
37
|
import type {
|
|
26
38
|
NativeGesture,
|
|
27
39
|
NativeGestureActiveEvent,
|
|
40
|
+
NativeGestureBeginEvent,
|
|
28
41
|
NativeGestureConfig,
|
|
42
|
+
NativeGestureDeactivateEvent,
|
|
29
43
|
NativeGestureEvent,
|
|
44
|
+
NativeGestureFinalizeEvent,
|
|
30
45
|
} from './native/NativeTypes';
|
|
31
46
|
import type {
|
|
32
47
|
PanGesture,
|
|
33
48
|
PanGestureActiveEvent,
|
|
49
|
+
PanGestureBeginEvent,
|
|
34
50
|
PanGestureConfig,
|
|
51
|
+
PanGestureDeactivateEvent,
|
|
35
52
|
PanGestureEvent,
|
|
53
|
+
PanGestureFinalizeEvent,
|
|
36
54
|
} from './pan/PanTypes';
|
|
37
55
|
import type {
|
|
38
56
|
PinchGesture,
|
|
39
57
|
PinchGestureActiveEvent,
|
|
58
|
+
PinchGestureBeginEvent,
|
|
40
59
|
PinchGestureConfig,
|
|
60
|
+
PinchGestureDeactivateEvent,
|
|
41
61
|
PinchGestureEvent,
|
|
62
|
+
PinchGestureFinalizeEvent,
|
|
42
63
|
} from './pinch/PinchTypes';
|
|
43
64
|
import type {
|
|
44
65
|
RotationGesture,
|
|
45
66
|
RotationGestureActiveEvent,
|
|
67
|
+
RotationGestureBeginEvent,
|
|
46
68
|
RotationGestureConfig,
|
|
69
|
+
RotationGestureDeactivateEvent,
|
|
47
70
|
RotationGestureEvent,
|
|
71
|
+
RotationGestureFinalizeEvent,
|
|
48
72
|
} from './rotation/RotationTypes';
|
|
49
73
|
import type {
|
|
50
74
|
TapGesture,
|
|
51
75
|
TapGestureActiveEvent,
|
|
76
|
+
TapGestureBeginEvent,
|
|
52
77
|
TapGestureConfig,
|
|
78
|
+
TapGestureDeactivateEvent,
|
|
53
79
|
TapGestureEvent,
|
|
80
|
+
TapGestureFinalizeEvent,
|
|
54
81
|
} from './tap/TapTypes';
|
|
55
82
|
|
|
56
83
|
export type {
|
|
57
84
|
TapGesture,
|
|
58
85
|
TapGestureActiveEvent,
|
|
86
|
+
TapGestureBeginEvent,
|
|
59
87
|
TapGestureConfig,
|
|
88
|
+
TapGestureDeactivateEvent,
|
|
60
89
|
TapGestureEvent,
|
|
90
|
+
TapGestureFinalizeEvent,
|
|
61
91
|
};
|
|
62
92
|
export { useTapGesture } from './tap/useTapGesture';
|
|
63
93
|
|
|
64
94
|
export type {
|
|
65
95
|
FlingGesture,
|
|
66
96
|
FlingGestureActiveEvent,
|
|
97
|
+
FlingGestureBeginEvent,
|
|
67
98
|
FlingGestureConfig,
|
|
99
|
+
FlingGestureDeactivateEvent,
|
|
68
100
|
FlingGestureEvent,
|
|
101
|
+
FlingGestureFinalizeEvent,
|
|
69
102
|
};
|
|
70
103
|
export { useFlingGesture } from './fling/useFlingGesture';
|
|
71
104
|
|
|
72
105
|
export type {
|
|
73
106
|
LongPressGesture,
|
|
74
107
|
LongPressGestureActiveEvent,
|
|
108
|
+
LongPressGestureBeginEvent,
|
|
75
109
|
LongPressGestureConfig,
|
|
110
|
+
LongPressGestureDeactivateEvent,
|
|
76
111
|
LongPressGestureEvent,
|
|
112
|
+
LongPressGestureFinalizeEvent,
|
|
77
113
|
};
|
|
78
114
|
export { useLongPressGesture } from './longPress/useLongPressGesture';
|
|
79
115
|
|
|
80
116
|
export type {
|
|
81
117
|
PinchGesture,
|
|
82
118
|
PinchGestureActiveEvent,
|
|
119
|
+
PinchGestureBeginEvent,
|
|
83
120
|
PinchGestureConfig,
|
|
121
|
+
PinchGestureDeactivateEvent,
|
|
84
122
|
PinchGestureEvent,
|
|
123
|
+
PinchGestureFinalizeEvent,
|
|
85
124
|
};
|
|
86
125
|
export { usePinchGesture } from './pinch/usePinchGesture';
|
|
87
126
|
|
|
88
127
|
export type {
|
|
89
128
|
RotationGesture,
|
|
90
129
|
RotationGestureActiveEvent,
|
|
130
|
+
RotationGestureBeginEvent,
|
|
91
131
|
RotationGestureConfig,
|
|
132
|
+
RotationGestureDeactivateEvent,
|
|
92
133
|
RotationGestureEvent,
|
|
134
|
+
RotationGestureFinalizeEvent,
|
|
93
135
|
};
|
|
94
136
|
export { useRotationGesture } from './rotation/useRotationGesture';
|
|
95
137
|
|
|
96
138
|
export type {
|
|
97
139
|
HoverGesture,
|
|
98
140
|
HoverGestureActiveEvent,
|
|
141
|
+
HoverGestureBeginEvent,
|
|
99
142
|
HoverGestureConfig,
|
|
143
|
+
HoverGestureDeactivateEvent,
|
|
100
144
|
HoverGestureEvent,
|
|
145
|
+
HoverGestureFinalizeEvent,
|
|
101
146
|
};
|
|
102
147
|
export { useHoverGesture } from './hover/useHoverGesture';
|
|
103
148
|
|
|
104
149
|
export type {
|
|
105
150
|
ManualGesture,
|
|
106
151
|
ManualGestureActiveEvent,
|
|
152
|
+
ManualGestureBeginEvent,
|
|
107
153
|
ManualGestureConfig,
|
|
154
|
+
ManualGestureDeactivateEvent,
|
|
108
155
|
ManualGestureEvent,
|
|
156
|
+
ManualGestureFinalizeEvent,
|
|
109
157
|
};
|
|
110
158
|
export { useManualGesture } from './manual/useManualGesture';
|
|
111
159
|
|
|
112
160
|
export type {
|
|
113
161
|
NativeGesture,
|
|
114
162
|
NativeGestureActiveEvent,
|
|
163
|
+
NativeGestureBeginEvent,
|
|
115
164
|
NativeGestureConfig,
|
|
165
|
+
NativeGestureDeactivateEvent,
|
|
116
166
|
NativeGestureEvent,
|
|
167
|
+
NativeGestureFinalizeEvent,
|
|
117
168
|
};
|
|
118
169
|
export { useNativeGesture } from './native/useNativeGesture';
|
|
119
170
|
|
|
120
171
|
export type {
|
|
121
172
|
PanGesture,
|
|
122
173
|
PanGestureActiveEvent,
|
|
174
|
+
PanGestureBeginEvent,
|
|
123
175
|
PanGestureConfig,
|
|
176
|
+
PanGestureDeactivateEvent,
|
|
124
177
|
PanGestureEvent,
|
|
178
|
+
PanGestureFinalizeEvent,
|
|
125
179
|
};
|
|
126
180
|
export { usePanGesture } from './pan/usePanGesture';
|
|
127
181
|
|
|
@@ -138,20 +192,40 @@ export type SingleGesture =
|
|
|
138
192
|
|
|
139
193
|
/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */
|
|
140
194
|
export type SingleGestureEvent =
|
|
141
|
-
|
|
|
195
|
+
| TapGestureBeginEvent
|
|
142
196
|
| TapGestureActiveEvent
|
|
143
|
-
|
|
|
197
|
+
| TapGestureDeactivateEvent
|
|
198
|
+
| TapGestureFinalizeEvent
|
|
199
|
+
| FlingGestureBeginEvent
|
|
144
200
|
| FlingGestureActiveEvent
|
|
145
|
-
|
|
|
201
|
+
| FlingGestureDeactivateEvent
|
|
202
|
+
| FlingGestureFinalizeEvent
|
|
203
|
+
| LongPressGestureBeginEvent
|
|
146
204
|
| LongPressGestureActiveEvent
|
|
147
|
-
|
|
|
205
|
+
| LongPressGestureDeactivateEvent
|
|
206
|
+
| LongPressGestureFinalizeEvent
|
|
207
|
+
| PinchGestureBeginEvent
|
|
208
|
+
| PinchGestureActiveEvent
|
|
209
|
+
| PinchGestureDeactivateEvent
|
|
210
|
+
| PinchGestureFinalizeEvent
|
|
211
|
+
| RotationGestureBeginEvent
|
|
148
212
|
| RotationGestureActiveEvent
|
|
149
|
-
|
|
|
213
|
+
| RotationGestureDeactivateEvent
|
|
214
|
+
| RotationGestureFinalizeEvent
|
|
215
|
+
| HoverGestureBeginEvent
|
|
150
216
|
| HoverGestureActiveEvent
|
|
151
|
-
|
|
|
217
|
+
| HoverGestureDeactivateEvent
|
|
218
|
+
| HoverGestureFinalizeEvent
|
|
219
|
+
| ManualGestureBeginEvent
|
|
152
220
|
| ManualGestureActiveEvent
|
|
153
|
-
|
|
|
221
|
+
| ManualGestureDeactivateEvent
|
|
222
|
+
| ManualGestureFinalizeEvent
|
|
223
|
+
| NativeGestureBeginEvent
|
|
154
224
|
| NativeGestureActiveEvent
|
|
155
|
-
|
|
|
156
|
-
|
|
|
225
|
+
| NativeGestureDeactivateEvent
|
|
226
|
+
| NativeGestureFinalizeEvent
|
|
227
|
+
| PanGestureBeginEvent
|
|
228
|
+
| PanGestureActiveEvent
|
|
229
|
+
| PanGestureDeactivateEvent
|
|
230
|
+
| PanGestureFinalizeEvent;
|
|
157
231
|
/* eslint-enable @typescript-eslint/no-duplicate-type-constituents */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
BaseDiscreteGestureConfig,
|
|
3
3
|
ExcludeInternalConfigProps,
|
|
4
|
+
GestureEndEvent,
|
|
4
5
|
GestureEvent,
|
|
5
6
|
SingleGesture,
|
|
6
7
|
WithSharedValue,
|
|
@@ -63,8 +64,14 @@ export type LongPressGestureInternalConfig = BaseDiscreteGestureConfig<
|
|
|
63
64
|
LongPressHandlerData
|
|
64
65
|
>;
|
|
65
66
|
|
|
66
|
-
export type
|
|
67
|
-
export type LongPressGestureActiveEvent =
|
|
67
|
+
export type LongPressGestureBeginEvent = GestureEvent<LongPressHandlerData>;
|
|
68
|
+
export type LongPressGestureActiveEvent = LongPressGestureBeginEvent;
|
|
69
|
+
export type LongPressGestureDeactivateEvent =
|
|
70
|
+
GestureEndEvent<LongPressHandlerData>;
|
|
71
|
+
export type LongPressGestureFinalizeEvent =
|
|
72
|
+
GestureEndEvent<LongPressHandlerData>;
|
|
73
|
+
/** @deprecated Use `LongPressGestureBeginEvent` instead. */
|
|
74
|
+
export type LongPressGestureEvent = LongPressGestureBeginEvent;
|
|
68
75
|
|
|
69
76
|
export type LongPressGesture = SingleGesture<
|
|
70
77
|
LongPressGestureProperties,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
BaseGestureConfig,
|
|
3
3
|
ExcludeInternalConfigProps,
|
|
4
|
+
GestureEndEvent,
|
|
4
5
|
GestureEvent,
|
|
5
6
|
SingleGesture,
|
|
6
7
|
} from '../../../types';
|
|
@@ -19,8 +20,12 @@ export type ManualGestureInternalConfig = BaseGestureConfig<
|
|
|
19
20
|
export type ManualGestureConfig =
|
|
20
21
|
ExcludeInternalConfigProps<ManualGestureInternalConfig>;
|
|
21
22
|
|
|
22
|
-
export type
|
|
23
|
-
export type ManualGestureActiveEvent =
|
|
23
|
+
export type ManualGestureBeginEvent = GestureEvent<ManualHandlerData>;
|
|
24
|
+
export type ManualGestureActiveEvent = ManualGestureBeginEvent;
|
|
25
|
+
export type ManualGestureDeactivateEvent = GestureEndEvent<ManualHandlerData>;
|
|
26
|
+
export type ManualGestureFinalizeEvent = GestureEndEvent<ManualHandlerData>;
|
|
27
|
+
/** @deprecated Use `ManualGestureBeginEvent` instead. */
|
|
28
|
+
export type ManualGestureEvent = ManualGestureBeginEvent;
|
|
24
29
|
|
|
25
30
|
export type ManualGesture = SingleGesture<
|
|
26
31
|
ManualGestureProperties,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
BaseGestureConfig,
|
|
3
3
|
ExcludeInternalConfigProps,
|
|
4
|
+
GestureEndEvent,
|
|
4
5
|
GestureEvent,
|
|
5
6
|
SingleGesture,
|
|
6
7
|
WithSharedValue,
|
|
@@ -73,8 +74,12 @@ export type NativeGestureInternalConfig = BaseGestureConfig<
|
|
|
73
74
|
export type NativeGestureConfig =
|
|
74
75
|
ExcludeInternalConfigProps<NativeGestureInternalConfig>;
|
|
75
76
|
|
|
76
|
-
export type
|
|
77
|
-
export type NativeGestureActiveEvent =
|
|
77
|
+
export type NativeGestureBeginEvent = GestureEvent<NativeHandlerData>;
|
|
78
|
+
export type NativeGestureActiveEvent = NativeGestureBeginEvent;
|
|
79
|
+
export type NativeGestureDeactivateEvent = GestureEndEvent<NativeHandlerData>;
|
|
80
|
+
export type NativeGestureFinalizeEvent = GestureEndEvent<NativeHandlerData>;
|
|
81
|
+
/** @deprecated Use `NativeGestureBeginEvent` instead. */
|
|
82
|
+
export type NativeGestureEvent = NativeGestureBeginEvent;
|
|
78
83
|
|
|
79
84
|
export type NativeGesture = SingleGesture<
|
|
80
85
|
NativeGestureProperties,
|
|
@@ -2,6 +2,7 @@ import type { StylusData } from '../../../../handlers/gestureHandlerCommon';
|
|
|
2
2
|
import type {
|
|
3
3
|
BaseGestureConfig,
|
|
4
4
|
ExcludeInternalConfigProps,
|
|
5
|
+
GestureEndEvent,
|
|
5
6
|
GestureEvent,
|
|
6
7
|
SingleGesture,
|
|
7
8
|
WithSharedValue,
|
|
@@ -179,8 +180,12 @@ export type PanGestureInternalConfig = BaseGestureConfig<
|
|
|
179
180
|
PanExtendedHandlerData
|
|
180
181
|
>;
|
|
181
182
|
|
|
182
|
-
export type
|
|
183
|
+
export type PanGestureBeginEvent = GestureEvent<PanHandlerData>;
|
|
183
184
|
export type PanGestureActiveEvent = GestureEvent<PanExtendedHandlerData>;
|
|
185
|
+
export type PanGestureDeactivateEvent = GestureEndEvent<PanExtendedHandlerData>;
|
|
186
|
+
export type PanGestureFinalizeEvent = GestureEndEvent<PanHandlerData>;
|
|
187
|
+
/** @deprecated Use `PanGestureBeginEvent` instead. */
|
|
188
|
+
export type PanGestureEvent = PanGestureBeginEvent;
|
|
184
189
|
|
|
185
190
|
export type PanGesture = SingleGesture<
|
|
186
191
|
PanGestureInternalProperties,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
BaseGestureConfig,
|
|
3
3
|
ExcludeInternalConfigProps,
|
|
4
|
+
GestureEndEvent,
|
|
4
5
|
GestureEvent,
|
|
5
6
|
SingleGesture,
|
|
6
7
|
} from '../../../types';
|
|
@@ -30,8 +31,13 @@ export type PinchGestureInternalConfig = BaseGestureConfig<
|
|
|
30
31
|
export type PinchGestureConfig =
|
|
31
32
|
ExcludeInternalConfigProps<PinchGestureInternalConfig>;
|
|
32
33
|
|
|
33
|
-
export type
|
|
34
|
+
export type PinchGestureBeginEvent = GestureEvent<PinchHandlerData>;
|
|
34
35
|
export type PinchGestureActiveEvent = GestureEvent<PinchExtendedHandlerData>;
|
|
36
|
+
export type PinchGestureDeactivateEvent =
|
|
37
|
+
GestureEndEvent<PinchExtendedHandlerData>;
|
|
38
|
+
export type PinchGestureFinalizeEvent = GestureEndEvent<PinchHandlerData>;
|
|
39
|
+
/** @deprecated Use `PinchGestureBeginEvent` instead. */
|
|
40
|
+
export type PinchGestureEvent = PinchGestureBeginEvent;
|
|
35
41
|
|
|
36
42
|
export type PinchGesture = SingleGesture<
|
|
37
43
|
PinchGestureProperties,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
BaseGestureConfig,
|
|
3
3
|
ExcludeInternalConfigProps,
|
|
4
|
+
GestureEndEvent,
|
|
4
5
|
GestureEvent,
|
|
5
6
|
SingleGesture,
|
|
6
7
|
} from '../../../types';
|
|
@@ -30,9 +31,14 @@ export type RotationGestureInternalConfig = BaseGestureConfig<
|
|
|
30
31
|
export type RotationGestureConfig =
|
|
31
32
|
ExcludeInternalConfigProps<RotationGestureInternalConfig>;
|
|
32
33
|
|
|
33
|
-
export type
|
|
34
|
+
export type RotationGestureBeginEvent = GestureEvent<RotationHandlerData>;
|
|
34
35
|
export type RotationGestureActiveEvent =
|
|
35
36
|
GestureEvent<RotationExtendedHandlerData>;
|
|
37
|
+
export type RotationGestureDeactivateEvent =
|
|
38
|
+
GestureEndEvent<RotationExtendedHandlerData>;
|
|
39
|
+
export type RotationGestureFinalizeEvent = GestureEndEvent<RotationHandlerData>;
|
|
40
|
+
/** @deprecated Use `RotationGestureBeginEvent` instead. */
|
|
41
|
+
export type RotationGestureEvent = RotationGestureBeginEvent;
|
|
36
42
|
|
|
37
43
|
export type RotationGesture = SingleGesture<
|
|
38
44
|
RotationGestureProperties,
|
|
@@ -2,6 +2,7 @@ import type {
|
|
|
2
2
|
BaseDiscreteGestureConfig,
|
|
3
3
|
DiscreteSingleGesture,
|
|
4
4
|
ExcludeInternalConfigProps,
|
|
5
|
+
GestureEndEvent,
|
|
5
6
|
GestureEvent,
|
|
6
7
|
WithSharedValue,
|
|
7
8
|
} from '../../../types';
|
|
@@ -96,8 +97,12 @@ export type TapGestureInternalConfig = BaseDiscreteGestureConfig<
|
|
|
96
97
|
TapHandlerData
|
|
97
98
|
>;
|
|
98
99
|
|
|
99
|
-
export type
|
|
100
|
-
export type TapGestureActiveEvent =
|
|
100
|
+
export type TapGestureBeginEvent = GestureEvent<TapHandlerData>;
|
|
101
|
+
export type TapGestureActiveEvent = TapGestureBeginEvent;
|
|
102
|
+
export type TapGestureDeactivateEvent = GestureEndEvent<TapHandlerData>;
|
|
103
|
+
export type TapGestureFinalizeEvent = GestureEndEvent<TapHandlerData>;
|
|
104
|
+
/** @deprecated Use `TapGestureBeginEvent` instead. */
|
|
105
|
+
export type TapGestureEvent = TapGestureBeginEvent;
|
|
101
106
|
|
|
102
107
|
export type TapGesture = DiscreteSingleGesture<
|
|
103
108
|
TapGestureInternalProperties,
|
package/src/v3/index.ts
CHANGED
|
@@ -29,42 +29,69 @@ export { GestureStateManager } from './gestureStateManager';
|
|
|
29
29
|
export type {
|
|
30
30
|
FlingGesture,
|
|
31
31
|
FlingGestureActiveEvent,
|
|
32
|
+
FlingGestureBeginEvent,
|
|
32
33
|
FlingGestureConfig,
|
|
34
|
+
FlingGestureDeactivateEvent,
|
|
33
35
|
FlingGestureEvent,
|
|
36
|
+
FlingGestureFinalizeEvent,
|
|
34
37
|
HoverGesture,
|
|
35
38
|
HoverGestureActiveEvent,
|
|
39
|
+
HoverGestureBeginEvent,
|
|
36
40
|
HoverGestureConfig,
|
|
41
|
+
HoverGestureDeactivateEvent,
|
|
37
42
|
HoverGestureEvent,
|
|
43
|
+
HoverGestureFinalizeEvent,
|
|
38
44
|
LongPressGesture,
|
|
39
45
|
LongPressGestureActiveEvent,
|
|
46
|
+
LongPressGestureBeginEvent,
|
|
40
47
|
LongPressGestureConfig,
|
|
48
|
+
LongPressGestureDeactivateEvent,
|
|
41
49
|
LongPressGestureEvent,
|
|
50
|
+
LongPressGestureFinalizeEvent,
|
|
42
51
|
ManualGesture,
|
|
43
52
|
ManualGestureActiveEvent,
|
|
53
|
+
ManualGestureBeginEvent,
|
|
44
54
|
ManualGestureConfig,
|
|
55
|
+
ManualGestureDeactivateEvent,
|
|
45
56
|
ManualGestureEvent,
|
|
57
|
+
ManualGestureFinalizeEvent,
|
|
46
58
|
NativeGesture,
|
|
47
59
|
NativeGestureActiveEvent,
|
|
60
|
+
NativeGestureBeginEvent,
|
|
48
61
|
NativeGestureConfig,
|
|
62
|
+
NativeGestureDeactivateEvent,
|
|
49
63
|
NativeGestureEvent,
|
|
64
|
+
NativeGestureFinalizeEvent,
|
|
50
65
|
PanGesture,
|
|
51
66
|
PanGestureActiveEvent,
|
|
67
|
+
PanGestureBeginEvent,
|
|
52
68
|
PanGestureConfig,
|
|
69
|
+
PanGestureDeactivateEvent,
|
|
53
70
|
PanGestureEvent,
|
|
71
|
+
PanGestureFinalizeEvent,
|
|
54
72
|
PinchGesture,
|
|
55
73
|
PinchGestureActiveEvent,
|
|
74
|
+
PinchGestureBeginEvent,
|
|
56
75
|
PinchGestureConfig,
|
|
76
|
+
PinchGestureDeactivateEvent,
|
|
57
77
|
PinchGestureEvent,
|
|
78
|
+
PinchGestureFinalizeEvent,
|
|
58
79
|
RotationGesture,
|
|
59
80
|
RotationGestureActiveEvent,
|
|
81
|
+
RotationGestureBeginEvent,
|
|
60
82
|
RotationGestureConfig,
|
|
83
|
+
RotationGestureDeactivateEvent,
|
|
61
84
|
RotationGestureEvent,
|
|
85
|
+
RotationGestureFinalizeEvent,
|
|
62
86
|
SingleGesture,
|
|
63
87
|
SingleGestureEvent,
|
|
64
88
|
TapGesture,
|
|
65
89
|
TapGestureActiveEvent,
|
|
90
|
+
TapGestureBeginEvent,
|
|
66
91
|
TapGestureConfig,
|
|
92
|
+
TapGestureDeactivateEvent,
|
|
67
93
|
TapGestureEvent,
|
|
94
|
+
TapGestureFinalizeEvent,
|
|
68
95
|
} from './hooks';
|
|
69
96
|
export {
|
|
70
97
|
useCompetingGestures,
|