react-native-gesture-handler 3.1.0 → 3.2.0-nightly-20260720-9c6135950
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/lib/module/components/GestureButtons.js +7 -6
- package/lib/module/components/GestureButtons.js.map +1 -1
- package/lib/module/components/GestureComponents.js +2 -0
- package/lib/module/components/GestureComponents.js.map +1 -1
- package/lib/module/components/Pressable/Pressable.js +2 -0
- package/lib/module/components/Pressable/Pressable.js.map +1 -1
- package/lib/module/components/ReanimatedDrawerLayout.js +4 -2
- package/lib/module/components/ReanimatedDrawerLayout.js.map +1 -1
- package/lib/module/components/Text.js.map +1 -1
- package/lib/module/components/touchables/TouchableHighlight.js +2 -2
- package/lib/module/components/touchables/TouchableHighlight.js.map +1 -1
- package/lib/module/components/touchables/TouchableNativeFeedback.android.js.map +1 -1
- package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -1
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.ts +55 -51
- package/lib/module/specs/RNGestureHandlerDetectorNativeComponent.ts +39 -44
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -5
- package/lib/module/v3/components/GestureButtons.js +7 -10
- package/lib/module/v3/components/GestureButtons.js.map +1 -1
- package/lib/module/v3/components/GestureComponents.js.map +1 -1
- package/lib/module/v3/components/Pressable.js +2 -0
- package/lib/module/v3/components/Pressable.js.map +1 -1
- package/lib/module/v3/detectors/HostGestureDetector.web.js.map +1 -1
- package/lib/module/v3/detectors/NativeDetector.js.map +1 -1
- package/lib/module/v3/detectors/VirtualDetector/InterceptingGestureDetector.js.map +1 -1
- package/lib/module/v3/detectors/common.js.map +1 -1
- package/lib/typescript/components/GestureButtons.d.ts +1 -1
- package/lib/typescript/components/GestureButtons.d.ts.map +1 -1
- package/lib/typescript/components/GestureComponents.d.ts +3 -10
- package/lib/typescript/components/GestureComponents.d.ts.map +1 -1
- package/lib/typescript/components/Pressable/Pressable.d.ts.map +1 -1
- package/lib/typescript/components/Pressable/PressableProps.d.ts +1 -1
- package/lib/typescript/components/Pressable/PressableProps.d.ts.map +1 -1
- package/lib/typescript/components/ReanimatedDrawerLayout.d.ts.map +1 -1
- package/lib/typescript/components/touchables/TouchableHighlight.d.ts.map +1 -1
- package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts +1 -1
- package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts +2 -2
- package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts.map +1 -1
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +7 -8
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +1 -1
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +45 -46
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +1 -1
- package/lib/typescript/specs/RNGestureHandlerDetectorNativeComponent.d.ts +36 -37
- package/lib/typescript/specs/RNGestureHandlerDetectorNativeComponent.d.ts.map +1 -1
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +3 -4
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureButtons.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureButtonsProps.d.ts +1 -1
- package/lib/typescript/v3/components/GestureButtonsProps.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureComponents.d.ts +4 -112
- package/lib/typescript/v3/components/GestureComponents.d.ts.map +1 -1
- package/lib/typescript/v3/components/Pressable.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/HostGestureDetector.d.ts +1 -1
- package/lib/typescript/v3/detectors/HostGestureDetector.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/HostGestureDetector.web.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/NativeDetector.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/VirtualDetector/InterceptingGestureDetector.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/common.d.ts +2 -2
- package/lib/typescript/v3/detectors/common.d.ts.map +1 -1
- package/lib/typescript/v3/types/EventTypes.d.ts +4 -1
- package/lib/typescript/v3/types/EventTypes.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/GestureButtons.tsx +14 -8
- package/src/components/GestureComponents.tsx +11 -6
- package/src/components/Pressable/Pressable.tsx +2 -0
- package/src/components/Pressable/PressableProps.tsx +1 -1
- package/src/components/ReanimatedDrawerLayout.tsx +3 -1
- package/src/components/Text.tsx +3 -3
- package/src/components/touchables/TouchableHighlight.tsx +6 -3
- package/src/components/touchables/TouchableNativeFeedback.android.tsx +8 -2
- package/src/handlers/gestures/reanimatedWrapper.ts +2 -2
- package/src/specs/NativeRNGestureHandlerModule.ts +24 -13
- package/src/specs/RNGestureHandlerButtonNativeComponent.ts +55 -51
- package/src/specs/RNGestureHandlerDetectorNativeComponent.ts +39 -44
- package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -5
- package/src/v3/components/GestureButtons.tsx +10 -10
- package/src/v3/components/GestureButtonsProps.ts +1 -1
- package/src/v3/components/GestureComponents.tsx +26 -12
- package/src/v3/components/Pressable.tsx +2 -0
- package/src/v3/detectors/HostGestureDetector.web.tsx +3 -1
- package/src/v3/detectors/NativeDetector.tsx +10 -6
- package/src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx +10 -6
- package/src/v3/detectors/common.ts +4 -2
- package/src/v3/types/EventTypes.ts +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reanimatedWrapper.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/reanimatedWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"reanimatedWrapper.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/reanimatedWrapper.ts"],"names":[],"m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,IAAI,CAAC;IAEtB,OAAO,EAAE,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EAC9B,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,KAClB,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,EACxB,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACpB,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5C,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG;QAAE,KAAK,EAAE,CAAC,CAAA;KAAE,CAAC;CACxC,GACD,SAAS,CAAC;AA+Cd,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
import type { Double } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes, TurboModule } from 'react-native';
|
|
3
2
|
export interface Spec extends TurboModule {
|
|
4
|
-
createGestureHandler: (handlerName: string, handlerTag: Double, config: Object) => void;
|
|
5
|
-
attachGestureHandler: (handlerTag: Double, newView: Double, actionType: Double) => void;
|
|
6
|
-
setGestureHandlerConfig: (handlerTag: Double, newConfig: Object) => void;
|
|
7
|
-
updateGestureHandlerConfig: (handlerTag: Double, newConfig: Object) => void;
|
|
8
|
-
configureRelations: (handlerTag: Double, relations: Object) => void;
|
|
9
|
-
dropGestureHandler: (handlerTag: Double) => void;
|
|
3
|
+
createGestureHandler: (handlerName: string, handlerTag: CodegenTypes.Double, config: Object) => void;
|
|
4
|
+
attachGestureHandler: (handlerTag: CodegenTypes.Double, newView: CodegenTypes.Double, actionType: CodegenTypes.Double) => void;
|
|
5
|
+
setGestureHandlerConfig: (handlerTag: CodegenTypes.Double, newConfig: Object) => void;
|
|
6
|
+
updateGestureHandlerConfig: (handlerTag: CodegenTypes.Double, newConfig: Object) => void;
|
|
7
|
+
configureRelations: (handlerTag: CodegenTypes.Double, relations: Object) => void;
|
|
8
|
+
dropGestureHandler: (handlerTag: CodegenTypes.Double) => void;
|
|
10
9
|
flushOperations: () => void;
|
|
11
10
|
installUIRuntimeBindings: () => boolean;
|
|
12
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeRNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../../src/specs/NativeRNGestureHandlerModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NativeRNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../../src/specs/NativeRNGestureHandlerModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,oBAAoB,EAAE,CACpB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,YAAY,CAAC,MAAM,EAG/B,MAAM,EAAE,MAAM,KACX,IAAI,CAAC;IACV,oBAAoB,EAAE,CACpB,UAAU,EAAE,YAAY,CAAC,MAAM,EAC/B,OAAO,EAAE,YAAY,CAAC,MAAM,EAC5B,UAAU,EAAE,YAAY,CAAC,MAAM,KAC5B,IAAI,CAAC;IAEV,uBAAuB,EAAE,CACvB,UAAU,EAAE,YAAY,CAAC,MAAM,EAE/B,SAAS,EAAE,MAAM,KACd,IAAI,CAAC;IAEV,0BAA0B,EAAE,CAC1B,UAAU,EAAE,YAAY,CAAC,MAAM,EAE/B,SAAS,EAAE,MAAM,KACd,IAAI,CAAC;IAEV,kBAAkB,EAAE,CAClB,UAAU,EAAE,YAAY,CAAC,MAAM,EAE/B,SAAS,EAAE,MAAM,KACd,IAAI,CAAC;IACV,kBAAkB,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC,MAAM,KAAK,IAAI,CAAC;IAC9D,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,wBAAwB,EAAE,MAAM,OAAO,CAAC;CACzC;;AAED,wBAAgF"}
|
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
import type { ColorValue, ViewProps } from 'react-native';
|
|
2
|
-
import type { Float, Int32, UnsafeMixed, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes, ColorValue, HostComponent, ViewProps } from 'react-native';
|
|
3
2
|
interface NativeProps extends ViewProps {
|
|
4
|
-
exclusive?: WithDefault<boolean, true>;
|
|
3
|
+
exclusive?: CodegenTypes.WithDefault<boolean, true>;
|
|
5
4
|
foreground?: boolean;
|
|
6
5
|
borderless?: boolean;
|
|
7
|
-
enabled?: WithDefault<boolean, true>;
|
|
6
|
+
enabled?: CodegenTypes.WithDefault<boolean, true>;
|
|
8
7
|
rippleColor?: ColorValue;
|
|
9
|
-
rippleRadius?: Int32;
|
|
10
|
-
touchSoundDisabled?: WithDefault<boolean, false>;
|
|
11
|
-
pointerEvents?: WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>;
|
|
12
|
-
tapAnimationInDuration?: WithDefault<Int32, 50>;
|
|
13
|
-
tapAnimationOutDuration?: WithDefault<Int32, 100>;
|
|
14
|
-
longPressDuration?: WithDefault<Int32, -1>;
|
|
15
|
-
longPressAnimationOutDuration?: WithDefault<Int32, -1>;
|
|
16
|
-
needsOffscreenAlphaCompositing?: WithDefault<boolean, false>;
|
|
17
|
-
activeOpacity?: WithDefault<Float, 1>;
|
|
18
|
-
activeScale?: WithDefault<Float, 1>;
|
|
19
|
-
activeUnderlayOpacity?: WithDefault<Float, 0>;
|
|
20
|
-
hoverOpacity?: WithDefault<Float, -1>;
|
|
21
|
-
hoverScale?: WithDefault<Float, -1>;
|
|
22
|
-
hoverUnderlayOpacity?: WithDefault<Float, -1>;
|
|
23
|
-
hoverAnimationInDuration?: WithDefault<Int32, 50>;
|
|
24
|
-
hoverAnimationOutDuration?: WithDefault<Int32, 100>;
|
|
25
|
-
defaultOpacity?: WithDefault<Float, 1>;
|
|
26
|
-
defaultScale?: WithDefault<Float, 1>;
|
|
27
|
-
defaultUnderlayOpacity?: WithDefault<Float, 0>;
|
|
8
|
+
rippleRadius?: CodegenTypes.Int32;
|
|
9
|
+
touchSoundDisabled?: CodegenTypes.WithDefault<boolean, false>;
|
|
10
|
+
pointerEvents?: CodegenTypes.WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>;
|
|
11
|
+
tapAnimationInDuration?: CodegenTypes.WithDefault<CodegenTypes.Int32, 50>;
|
|
12
|
+
tapAnimationOutDuration?: CodegenTypes.WithDefault<CodegenTypes.Int32, 100>;
|
|
13
|
+
longPressDuration?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
|
|
14
|
+
longPressAnimationOutDuration?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
|
|
15
|
+
needsOffscreenAlphaCompositing?: CodegenTypes.WithDefault<boolean, false>;
|
|
16
|
+
activeOpacity?: CodegenTypes.WithDefault<CodegenTypes.Float, 1>;
|
|
17
|
+
activeScale?: CodegenTypes.WithDefault<CodegenTypes.Float, 1>;
|
|
18
|
+
activeUnderlayOpacity?: CodegenTypes.WithDefault<CodegenTypes.Float, 0>;
|
|
19
|
+
hoverOpacity?: CodegenTypes.WithDefault<CodegenTypes.Float, -1>;
|
|
20
|
+
hoverScale?: CodegenTypes.WithDefault<CodegenTypes.Float, -1>;
|
|
21
|
+
hoverUnderlayOpacity?: CodegenTypes.WithDefault<CodegenTypes.Float, -1>;
|
|
22
|
+
hoverAnimationInDuration?: CodegenTypes.WithDefault<CodegenTypes.Int32, 50>;
|
|
23
|
+
hoverAnimationOutDuration?: CodegenTypes.WithDefault<CodegenTypes.Int32, 100>;
|
|
24
|
+
defaultOpacity?: CodegenTypes.WithDefault<CodegenTypes.Float, 1>;
|
|
25
|
+
defaultScale?: CodegenTypes.WithDefault<CodegenTypes.Float, 1>;
|
|
26
|
+
defaultUnderlayOpacity?: CodegenTypes.WithDefault<CodegenTypes.Float, 0>;
|
|
28
27
|
underlayColor?: ColorValue;
|
|
29
|
-
borderWidth?: Float;
|
|
28
|
+
borderWidth?: CodegenTypes.Float;
|
|
30
29
|
borderColor?: ColorValue;
|
|
31
|
-
borderStyle?: WithDefault<string, 'solid'>;
|
|
32
|
-
overflow?: WithDefault<string, 'visible'>;
|
|
33
|
-
borderLeftWidth?: Float;
|
|
34
|
-
borderRightWidth?: Float;
|
|
35
|
-
borderTopWidth?: Float;
|
|
36
|
-
borderBottomWidth?: Float;
|
|
37
|
-
borderStartWidth?: Float;
|
|
38
|
-
borderEndWidth?: Float;
|
|
30
|
+
borderStyle?: CodegenTypes.WithDefault<string, 'solid'>;
|
|
31
|
+
overflow?: CodegenTypes.WithDefault<string, 'visible'>;
|
|
32
|
+
borderLeftWidth?: CodegenTypes.Float;
|
|
33
|
+
borderRightWidth?: CodegenTypes.Float;
|
|
34
|
+
borderTopWidth?: CodegenTypes.Float;
|
|
35
|
+
borderBottomWidth?: CodegenTypes.Float;
|
|
36
|
+
borderStartWidth?: CodegenTypes.Float;
|
|
37
|
+
borderEndWidth?: CodegenTypes.Float;
|
|
39
38
|
borderLeftColor?: ColorValue;
|
|
40
39
|
borderRightColor?: ColorValue;
|
|
41
40
|
borderTopColor?: ColorValue;
|
|
@@ -45,20 +44,20 @@ interface NativeProps extends ViewProps {
|
|
|
45
44
|
borderBlockColor?: ColorValue;
|
|
46
45
|
borderBlockEndColor?: ColorValue;
|
|
47
46
|
borderBlockStartColor?: ColorValue;
|
|
48
|
-
borderRadius?: UnsafeMixed;
|
|
49
|
-
borderTopLeftRadius?: UnsafeMixed;
|
|
50
|
-
borderTopRightRadius?: UnsafeMixed;
|
|
51
|
-
borderBottomLeftRadius?: UnsafeMixed;
|
|
52
|
-
borderBottomRightRadius?: UnsafeMixed;
|
|
53
|
-
borderTopStartRadius?: UnsafeMixed;
|
|
54
|
-
borderTopEndRadius?: UnsafeMixed;
|
|
55
|
-
borderBottomStartRadius?: UnsafeMixed;
|
|
56
|
-
borderBottomEndRadius?: UnsafeMixed;
|
|
57
|
-
borderEndEndRadius?: UnsafeMixed;
|
|
58
|
-
borderEndStartRadius?: UnsafeMixed;
|
|
59
|
-
borderStartEndRadius?: UnsafeMixed;
|
|
60
|
-
borderStartStartRadius?: UnsafeMixed;
|
|
47
|
+
borderRadius?: CodegenTypes.UnsafeMixed;
|
|
48
|
+
borderTopLeftRadius?: CodegenTypes.UnsafeMixed;
|
|
49
|
+
borderTopRightRadius?: CodegenTypes.UnsafeMixed;
|
|
50
|
+
borderBottomLeftRadius?: CodegenTypes.UnsafeMixed;
|
|
51
|
+
borderBottomRightRadius?: CodegenTypes.UnsafeMixed;
|
|
52
|
+
borderTopStartRadius?: CodegenTypes.UnsafeMixed;
|
|
53
|
+
borderTopEndRadius?: CodegenTypes.UnsafeMixed;
|
|
54
|
+
borderBottomStartRadius?: CodegenTypes.UnsafeMixed;
|
|
55
|
+
borderBottomEndRadius?: CodegenTypes.UnsafeMixed;
|
|
56
|
+
borderEndEndRadius?: CodegenTypes.UnsafeMixed;
|
|
57
|
+
borderEndStartRadius?: CodegenTypes.UnsafeMixed;
|
|
58
|
+
borderStartEndRadius?: CodegenTypes.UnsafeMixed;
|
|
59
|
+
borderStartStartRadius?: CodegenTypes.UnsafeMixed;
|
|
61
60
|
}
|
|
62
|
-
declare const _default:
|
|
61
|
+
declare const _default: HostComponent<NativeProps>;
|
|
63
62
|
export default _default;
|
|
64
63
|
//# sourceMappingURL=RNGestureHandlerButtonNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNGestureHandlerButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerButtonNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"RN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ChD,oBAAoB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC;IAChD,sBAAsB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC;CACnD;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import type { DirectEventHandler, Double, Int32, UnsafeMixed, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes, HostComponent, ViewProps } from 'react-native';
|
|
3
2
|
type GestureHandlerEvent = Readonly<{
|
|
4
|
-
handlerTag: Int32;
|
|
5
|
-
state: Int32;
|
|
6
|
-
handlerData: UnsafeMixed;
|
|
3
|
+
handlerTag: CodegenTypes.Int32;
|
|
4
|
+
state: CodegenTypes.Int32;
|
|
5
|
+
handlerData: CodegenTypes.UnsafeMixed;
|
|
7
6
|
}>;
|
|
8
7
|
type GestureHandlerStateChangeEvent = Readonly<{
|
|
9
|
-
handlerTag: Int32;
|
|
10
|
-
state: Int32;
|
|
11
|
-
oldState: Int32;
|
|
12
|
-
handlerData: UnsafeMixed;
|
|
8
|
+
handlerTag: CodegenTypes.Int32;
|
|
9
|
+
state: CodegenTypes.Int32;
|
|
10
|
+
oldState: CodegenTypes.Int32;
|
|
11
|
+
handlerData: CodegenTypes.UnsafeMixed;
|
|
13
12
|
}>;
|
|
14
13
|
type GestureHandlerTouchEvent = Readonly<{
|
|
15
|
-
handlerTag: Int32;
|
|
16
|
-
numberOfTouches: Int32;
|
|
17
|
-
state: Int32;
|
|
18
|
-
eventType: Int32;
|
|
14
|
+
handlerTag: CodegenTypes.Int32;
|
|
15
|
+
numberOfTouches: CodegenTypes.Int32;
|
|
16
|
+
state: CodegenTypes.Int32;
|
|
17
|
+
eventType: CodegenTypes.Int32;
|
|
19
18
|
allTouches: {
|
|
20
|
-
id: Int32;
|
|
21
|
-
x: Double;
|
|
22
|
-
y: Double;
|
|
23
|
-
absoluteX: Double;
|
|
24
|
-
absoluteY: Double;
|
|
19
|
+
id: CodegenTypes.Int32;
|
|
20
|
+
x: CodegenTypes.Double;
|
|
21
|
+
y: CodegenTypes.Double;
|
|
22
|
+
absoluteX: CodegenTypes.Double;
|
|
23
|
+
absoluteY: CodegenTypes.Double;
|
|
25
24
|
}[];
|
|
26
25
|
changedTouches: {
|
|
27
|
-
id: Int32;
|
|
28
|
-
x: Double;
|
|
29
|
-
y: Double;
|
|
30
|
-
absoluteX: Double;
|
|
31
|
-
absoluteY: Double;
|
|
26
|
+
id: CodegenTypes.Int32;
|
|
27
|
+
x: CodegenTypes.Double;
|
|
28
|
+
y: CodegenTypes.Double;
|
|
29
|
+
absoluteX: CodegenTypes.Double;
|
|
30
|
+
absoluteY: CodegenTypes.Double;
|
|
32
31
|
}[];
|
|
33
|
-
pointerType: Int32;
|
|
32
|
+
pointerType: CodegenTypes.Int32;
|
|
34
33
|
}>;
|
|
35
34
|
export interface VirtualChildrenProps {
|
|
36
|
-
handlerTags: Int32[];
|
|
37
|
-
viewTag: Int32;
|
|
35
|
+
handlerTags: CodegenTypes.Int32[];
|
|
36
|
+
viewTag: CodegenTypes.Int32;
|
|
38
37
|
}
|
|
39
38
|
export interface NativeProps extends ViewProps {
|
|
40
|
-
onGestureHandlerEvent?: DirectEventHandler<GestureHandlerEvent> | undefined;
|
|
41
|
-
onGestureHandlerStateChange?: DirectEventHandler<GestureHandlerStateChangeEvent> | undefined;
|
|
42
|
-
onGestureHandlerTouchEvent?: DirectEventHandler<GestureHandlerTouchEvent> | undefined;
|
|
43
|
-
onGestureHandlerReanimatedEvent?: DirectEventHandler<GestureHandlerEvent> | undefined;
|
|
44
|
-
onGestureHandlerReanimatedStateChange?: DirectEventHandler<GestureHandlerStateChangeEvent> | undefined;
|
|
45
|
-
onGestureHandlerReanimatedTouchEvent?: DirectEventHandler<GestureHandlerTouchEvent> | undefined;
|
|
46
|
-
onGestureHandlerAnimatedEvent?: DirectEventHandler<GestureHandlerEvent> | undefined;
|
|
47
|
-
handlerTags: Int32[];
|
|
48
|
-
moduleId: Int32;
|
|
39
|
+
onGestureHandlerEvent?: CodegenTypes.DirectEventHandler<GestureHandlerEvent> | undefined;
|
|
40
|
+
onGestureHandlerStateChange?: CodegenTypes.DirectEventHandler<GestureHandlerStateChangeEvent> | undefined;
|
|
41
|
+
onGestureHandlerTouchEvent?: CodegenTypes.DirectEventHandler<GestureHandlerTouchEvent> | undefined;
|
|
42
|
+
onGestureHandlerReanimatedEvent?: CodegenTypes.DirectEventHandler<GestureHandlerEvent> | undefined;
|
|
43
|
+
onGestureHandlerReanimatedStateChange?: CodegenTypes.DirectEventHandler<GestureHandlerStateChangeEvent> | undefined;
|
|
44
|
+
onGestureHandlerReanimatedTouchEvent?: CodegenTypes.DirectEventHandler<GestureHandlerTouchEvent> | undefined;
|
|
45
|
+
onGestureHandlerAnimatedEvent?: CodegenTypes.DirectEventHandler<GestureHandlerEvent> | undefined;
|
|
46
|
+
handlerTags: CodegenTypes.Int32[];
|
|
47
|
+
moduleId: CodegenTypes.Int32;
|
|
49
48
|
virtualChildren: VirtualChildrenProps[];
|
|
50
|
-
pointerEvents?: WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>;
|
|
49
|
+
pointerEvents?: CodegenTypes.WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>;
|
|
51
50
|
}
|
|
52
|
-
declare const _default:
|
|
51
|
+
declare const _default: HostComponent<NativeProps>;
|
|
53
52
|
export default _default;
|
|
54
53
|
//# sourceMappingURL=RNGestureHandlerDetectorNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNGestureHandlerDetectorNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerDetectorNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"RNGestureHandlerDetectorNativeComponent.d.ts","sourceRoot":"","sources":["../../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types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes, HostComponent, ViewProps } from 'react-native';
|
|
3
2
|
export interface RootViewNativeProps extends ViewProps {
|
|
4
3
|
unstable_forceActive?: boolean;
|
|
5
4
|
}
|
|
6
5
|
interface NativeProps extends ViewProps {
|
|
7
|
-
moduleId: Int32;
|
|
6
|
+
moduleId: CodegenTypes.Int32;
|
|
8
7
|
unstable_forceActive?: boolean;
|
|
9
8
|
}
|
|
10
|
-
declare const _default:
|
|
9
|
+
declare const _default: HostComponent<NativeProps>;
|
|
11
10
|
export default _default;
|
|
12
11
|
//# sourceMappingURL=RNGestureHandlerRootViewNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNGestureHandlerRootViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerRootViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"RNGestureHandlerRootViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerRootViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI3E,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,UAAU,WAAY,SAAQ,SAAS;IACrC,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureButtons.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GestureButtons.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAStC,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAiB/B;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBAE9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBAsEhD,CAAC;AAcF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBA2ChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAwB5D,CAAC;AAEF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { NativeWrapperProperties } from '../types/NativeWrapperType';
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated `RawButtonProps` is deprecated, use `ClickableProps` instead
|
|
7
7
|
*/
|
|
8
|
-
export interface RawButtonProps extends Omit<ButtonProps, 'defaultOpacity' | 'defaultScale' | 'defaultUnderlayOpacity' | 'activeOpacity' | 'activeScale' | 'activeUnderlayOpacity' | 'needsOffscreenAlphaCompositing'>, Omit<NativeWrapperProperties<React.ComponentRef<typeof GestureHandlerButton>>, 'hitSlop' | 'enabled'> {
|
|
8
|
+
export interface RawButtonProps extends Omit<ButtonProps, 'defaultOpacity' | 'defaultScale' | 'defaultUnderlayOpacity' | 'activeOpacity' | 'activeScale' | 'activeUnderlayOpacity' | 'needsOffscreenAlphaCompositing'>, Omit<NativeWrapperProperties<React.ComponentRef<typeof GestureHandlerButton>>, 'hitSlop' | 'enabled' | 'testID'> {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated `BaseButtonProps` is deprecated, use `ClickableProps` instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureButtonsProps.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtonsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,WAAW,EACT,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,eAAe,GACf,aAAa,GACb,uBAAuB,GACvB,gCAAgC,CACnC,EACD,IAAI,CACF,uBAAuB,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC,EACxE,SAAS,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"GestureButtonsProps.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtonsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,WAAW,EACT,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,eAAe,GACf,aAAa,GACb,uBAAuB,GACvB,gCAAgC,CACnC,EACD,IAAI,CACF,uBAAuB,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC,EACxE,SAAS,GAAG,SAAS,GAAG,QAAQ,CACjC;CAAG;AAER;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACrD;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEzD;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAEvC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC"}
|
|
@@ -3,121 +3,13 @@ import React from 'react';
|
|
|
3
3
|
import type { FlatListProps as RNFlatListProps, RefreshControlProps as RNRefreshControlProps, ScrollViewProps as RNScrollViewProps, SwitchProps as RNSwitchProps, TextInputProps as RNTextInputProps } from 'react-native';
|
|
4
4
|
import { FlatList as RNFlatList, RefreshControl as RNRefreshControl, ScrollView as RNScrollView, Switch as RNSwitch, TextInput as RNTextInput } from 'react-native';
|
|
5
5
|
import type { NativeWrapperProperties } from '../types/NativeWrapperType';
|
|
6
|
-
export declare const RefreshControl:
|
|
7
|
-
(props: RNRefreshControlProps & {
|
|
8
|
-
disableReanimated?: boolean | undefined;
|
|
9
|
-
useAnimated?: boolean | undefined;
|
|
10
|
-
testID?: string | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
runOnJS?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
13
|
-
enabled?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
14
|
-
shouldCancelWhenOutside?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
15
|
-
hitSlop?: number | import("../types").SharedValue<number> | import("../types").SharedValue<null> | {
|
|
16
|
-
left?: number | import("../types").SharedValue<number> | undefined;
|
|
17
|
-
right?: number | import("../types").SharedValue<number> | undefined;
|
|
18
|
-
top?: number | import("../types").SharedValue<number> | undefined;
|
|
19
|
-
bottom?: number | import("../types").SharedValue<number> | undefined;
|
|
20
|
-
vertical?: number | import("../types").SharedValue<number> | undefined;
|
|
21
|
-
horizontal?: number | import("../types").SharedValue<number> | undefined;
|
|
22
|
-
} | {
|
|
23
|
-
left: number | import("../types").SharedValue<number>;
|
|
24
|
-
width: number | import("../types").SharedValue<number>;
|
|
25
|
-
} | {
|
|
26
|
-
right: number | import("../types").SharedValue<number>;
|
|
27
|
-
width: number | import("../types").SharedValue<number>;
|
|
28
|
-
} | {
|
|
29
|
-
top: number | import("../types").SharedValue<number>;
|
|
30
|
-
height: number | import("../types").SharedValue<number>;
|
|
31
|
-
} | {
|
|
32
|
-
bottom: number | import("../types").SharedValue<number>;
|
|
33
|
-
height: number | import("../types").SharedValue<number>;
|
|
34
|
-
} | null | undefined;
|
|
35
|
-
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
36
|
-
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
37
|
-
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
38
|
-
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
39
|
-
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
40
|
-
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNRefreshControl | null>): React.JSX.Element;
|
|
41
|
-
displayName: any;
|
|
42
|
-
};
|
|
6
|
+
export declare const RefreshControl: React.ComponentType<RNRefreshControlProps & NativeWrapperProperties<React.ComponentRef<typeof RNRefreshControl> | null>>;
|
|
43
7
|
export type RefreshControl = typeof RefreshControl & RNRefreshControl;
|
|
44
|
-
export declare const ScrollView: (props: RNScrollViewProps & NativeWrapperProperties<RNScrollView | null>) => React.JSX.Element;
|
|
8
|
+
export declare const ScrollView: (props: RNScrollViewProps & NativeWrapperProperties<React.ComponentRef<typeof RNScrollView> | null>) => React.JSX.Element;
|
|
45
9
|
export type ScrollView = typeof ScrollView & RNScrollView;
|
|
46
|
-
export declare const Switch:
|
|
47
|
-
(props: RNSwitchProps & {
|
|
48
|
-
disableReanimated?: boolean | undefined;
|
|
49
|
-
useAnimated?: boolean | undefined;
|
|
50
|
-
testID?: string | undefined;
|
|
51
|
-
} & {
|
|
52
|
-
runOnJS?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
53
|
-
enabled?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
54
|
-
shouldCancelWhenOutside?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
55
|
-
hitSlop?: number | import("../types").SharedValue<number> | import("../types").SharedValue<null> | {
|
|
56
|
-
left?: number | import("../types").SharedValue<number> | undefined;
|
|
57
|
-
right?: number | import("../types").SharedValue<number> | undefined;
|
|
58
|
-
top?: number | import("../types").SharedValue<number> | undefined;
|
|
59
|
-
bottom?: number | import("../types").SharedValue<number> | undefined;
|
|
60
|
-
vertical?: number | import("../types").SharedValue<number> | undefined;
|
|
61
|
-
horizontal?: number | import("../types").SharedValue<number> | undefined;
|
|
62
|
-
} | {
|
|
63
|
-
left: number | import("../types").SharedValue<number>;
|
|
64
|
-
width: number | import("../types").SharedValue<number>;
|
|
65
|
-
} | {
|
|
66
|
-
right: number | import("../types").SharedValue<number>;
|
|
67
|
-
width: number | import("../types").SharedValue<number>;
|
|
68
|
-
} | {
|
|
69
|
-
top: number | import("../types").SharedValue<number>;
|
|
70
|
-
height: number | import("../types").SharedValue<number>;
|
|
71
|
-
} | {
|
|
72
|
-
bottom: number | import("../types").SharedValue<number>;
|
|
73
|
-
height: number | import("../types").SharedValue<number>;
|
|
74
|
-
} | null | undefined;
|
|
75
|
-
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
76
|
-
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
77
|
-
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
78
|
-
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
79
|
-
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
80
|
-
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNSwitch | null>): React.JSX.Element;
|
|
81
|
-
displayName: any;
|
|
82
|
-
};
|
|
10
|
+
export declare const Switch: React.ComponentType<RNSwitchProps & NativeWrapperProperties<React.ComponentRef<typeof RNSwitch> | null>>;
|
|
83
11
|
export type Switch = typeof Switch & RNSwitch;
|
|
84
|
-
export declare const TextInput:
|
|
85
|
-
(props: RNTextInputProps & {
|
|
86
|
-
disableReanimated?: boolean | undefined;
|
|
87
|
-
useAnimated?: boolean | undefined;
|
|
88
|
-
testID?: string | undefined;
|
|
89
|
-
} & {
|
|
90
|
-
runOnJS?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
91
|
-
enabled?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
92
|
-
shouldCancelWhenOutside?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
93
|
-
hitSlop?: number | import("../types").SharedValue<number> | import("../types").SharedValue<null> | {
|
|
94
|
-
left?: number | import("../types").SharedValue<number> | undefined;
|
|
95
|
-
right?: number | import("../types").SharedValue<number> | undefined;
|
|
96
|
-
top?: number | import("../types").SharedValue<number> | undefined;
|
|
97
|
-
bottom?: number | import("../types").SharedValue<number> | undefined;
|
|
98
|
-
vertical?: number | import("../types").SharedValue<number> | undefined;
|
|
99
|
-
horizontal?: number | import("../types").SharedValue<number> | undefined;
|
|
100
|
-
} | {
|
|
101
|
-
left: number | import("../types").SharedValue<number>;
|
|
102
|
-
width: number | import("../types").SharedValue<number>;
|
|
103
|
-
} | {
|
|
104
|
-
right: number | import("../types").SharedValue<number>;
|
|
105
|
-
width: number | import("../types").SharedValue<number>;
|
|
106
|
-
} | {
|
|
107
|
-
top: number | import("../types").SharedValue<number>;
|
|
108
|
-
height: number | import("../types").SharedValue<number>;
|
|
109
|
-
} | {
|
|
110
|
-
bottom: number | import("../types").SharedValue<number>;
|
|
111
|
-
height: number | import("../types").SharedValue<number>;
|
|
112
|
-
} | null | undefined;
|
|
113
|
-
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
114
|
-
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
115
|
-
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
116
|
-
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
117
|
-
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
118
|
-
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNTextInput | null>): React.JSX.Element;
|
|
119
|
-
displayName: any;
|
|
120
|
-
};
|
|
12
|
+
export declare const TextInput: React.ComponentType<RNTextInputProps & NativeWrapperProperties<React.ComponentRef<typeof RNTextInput> | null>>;
|
|
121
13
|
export type TextInput = typeof TextInput & RNTextInput;
|
|
122
14
|
export declare const FlatList: <ItemT = any>(props: PropsWithChildren<Omit<RNFlatListProps<ItemT>, "renderScrollComponent" | "ref"> & NativeWrapperProperties<RNFlatList<ItemT> | null>>) => ReactElement | null;
|
|
123
15
|
export type FlatList<ItemT = any> = typeof FlatList & RNFlatList<ItemT>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureComponents.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EACV,aAAa,IAAI,eAAe,EAChC,mBAAmB,IAAI,qBAAqB,EAC5C,eAAe,IAAI,iBAAiB,EACpC,WAAW,IAAI,aAAa,EAC5B,cAAc,IAAI,gBAAgB,EACnC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,QAAQ,IAAI,UAAU,EACtB,cAAc,IAAI,gBAAgB,EAClC,UAAU,IAAI,YAAY,EAC1B,MAAM,IAAI,QAAQ,EAClB,SAAS,IAAI,WAAW,EACzB,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"GestureComponents.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EACV,aAAa,IAAI,eAAe,EAChC,mBAAmB,IAAI,qBAAqB,EAC5C,eAAe,IAAI,iBAAiB,EACpC,WAAW,IAAI,aAAa,EAC5B,cAAc,IAAI,gBAAgB,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E,uBAAuB,GAAG,KAAK,CAAC,GAC3D,uBAAuB,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CACpD,KACE,YAAY,GAAG,IAAI,CAAC;AAGzB,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,GAAG,IAAI,OAAO,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,2CAA2C,CAAC;AAkCnD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,2CAA2C,CAAC;AAkCnD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,sBA4YvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type { NativeProps as RNGestureHandlerDetectorNativeComponentProps } from '../../specs/RNGestureHandlerDetectorNativeComponent';
|
|
2
|
-
declare const HostGestureDetector: import("react-native
|
|
2
|
+
declare const HostGestureDetector: import("react-native").HostComponent<import("./HostGestureDetector").RNGestureHandlerDetectorNativeComponentProps>;
|
|
3
3
|
export default HostGestureDetector;
|
|
4
4
|
//# sourceMappingURL=HostGestureDetector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostGestureDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/HostGestureDetector.tsx"],"names":[],"mappings":"AACA,YAAY,EAAE,WAAW,IAAI,4CAA4C,EAAE,MAAM,qDAAqD,CAAC;AACvI,QAAA,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"HostGestureDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/HostGestureDetector.tsx"],"names":[],"mappings":"AACA,YAAY,EAAE,WAAW,IAAI,4CAA4C,EAAE,MAAM,qDAAqD,CAAC;AACvI,QAAA,MAAM,mBAAmB,oHAA0C,CAAC;AACpE,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostGestureDetector.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/HostGestureDetector.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAqC,MAAM,OAAO,CAAC;AAI1D,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACX,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD,MAAM,WAAW,2BAA4B,SAAQ,QAAQ;IAC3D,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;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
{"version":3,"file":"NativeDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/NativeDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/NativeDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAUpD,wBAAgB,cAAc,CAC5B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,qBA8ElE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InterceptingGestureDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"InterceptingGestureDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAyBlE,wBAAgB,2BAA2B,CACzC,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,gCAAgC,CACjC,OAAO,EACP,YAAY,EACZ,oBAAoB,CACrB,qBA6PA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { Animated } from 'react-native';
|
|
3
2
|
import type { TouchAction, UserSelect } from '../../handlers/gestureHandlerCommon';
|
|
4
3
|
import type { GestureDetectorProps as LegacyDetectorProps } from '../../handlers/gestures/GestureDetector';
|
|
5
4
|
import type { Gesture } from '../types';
|
|
5
|
+
import { type RNGestureHandlerDetectorNativeComponentProps } from './HostGestureDetector';
|
|
6
6
|
export declare enum GestureDetectorType {
|
|
7
7
|
Native = 0,
|
|
8
8
|
Virtual = 1,
|
|
@@ -24,7 +24,7 @@ export interface VirtualDetectorProps<TConfig, THandlerData, TExtendedHandlerDat
|
|
|
24
24
|
gesture: Gesture<TConfig, THandlerData, TExtendedHandlerData>;
|
|
25
25
|
}
|
|
26
26
|
export type GestureDetectorProps<TConfig, THandlerData, TExtendedHandlerData extends THandlerData> = NativeDetectorProps<TConfig, THandlerData, TExtendedHandlerData> | InterceptingGestureDetectorProps<TConfig, THandlerData, TExtendedHandlerData> | LegacyDetectorProps;
|
|
27
|
-
export declare const AnimatedNativeDetector:
|
|
27
|
+
export declare const AnimatedNativeDetector: React.ComponentType<RNGestureHandlerDetectorNativeComponentProps>;
|
|
28
28
|
export declare const nativeDetectorStyles: {
|
|
29
29
|
detector: {
|
|
30
30
|
display: "contents";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACX,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,oBAAoB,IAAI,m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B,EAAE,KAAK,CAAC,aAAa,CAAC,4CAA4C,CAC9C,CAAC;AAExD,eAAO,MAAM,oBAAoB;;;;CAI/B,CAAC"}
|
|
@@ -32,8 +32,11 @@ export type GestureEndEvent<THandlerData> = {
|
|
|
32
32
|
canceled: boolean;
|
|
33
33
|
} & GestureEvent<THandlerData>;
|
|
34
34
|
export type UnpackedGestureHandlerEvent<THandlerData> = GestureEvent<THandlerData> | GestureTouchEvent;
|
|
35
|
+
type AnimatedMapping = {
|
|
36
|
+
[key: string]: AnimatedMapping;
|
|
37
|
+
} | Animated.Value;
|
|
35
38
|
export type AnimatedEvent = {
|
|
36
|
-
_argMapping: (
|
|
39
|
+
_argMapping: (AnimatedMapping | null)[];
|
|
37
40
|
};
|
|
38
41
|
export type ChangeCalculatorType<TExtendedHandlerData> = (current: GestureUpdateEventWithHandlerData<TExtendedHandlerData>, previous?: GestureUpdateEventWithHandlerData<TExtendedHandlerData>) => GestureUpdateEventWithHandlerData<TExtendedHandlerData>;
|
|
39
42
|
export type DiffCalculatorType<TExtendedHandlerData> = (current: HandlerData<TExtendedHandlerData>, previous: HandlerData<TExtendedHandlerData> | null) => Partial<HandlerData<TExtendedHandlerData>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventTypes.d.ts","sourceRoot":"","sources":["../../../../src/v3/types/EventTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AACF,KAAK,uBAAuB,GAAG,YAAY,GAAG;I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