@react-native-oh-tpl/react-native-gesture-handler 2.12.9 → 2.14.1-2.14.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/DrawerLayout/index.ts +2 -0
  2. package/Swipeable/index.ts +2 -0
  3. package/harmony/gesture_handler/BuildProfile.ets +15 -3
  4. package/harmony/gesture_handler/hvigorfile.ts +1 -1
  5. package/harmony/gesture_handler/index.ets +2 -2
  6. package/harmony/gesture_handler/oh-package-lock.json5 +4 -3
  7. package/harmony/gesture_handler/oh-package.json5 +4 -4
  8. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +63 -17
  9. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +3 -3
  10. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +2 -2
  11. package/harmony/gesture_handler/src/main/cpp/{RNGestureHandlerButtonComponentInstance.h → componentInstances/RNGestureHandlerButtonComponentInstance.h} +2 -2
  12. package/harmony/gesture_handler/src/main/cpp/componentInstances/RNGestureHandlerRootViewComponentInstance.h +234 -0
  13. package/harmony/gesture_handler/src/main/ets/{GestureHandler.ts → core/GestureHandler.ts} +46 -25
  14. package/harmony/gesture_handler/src/main/ets/{GestureHandlerOrchestrator.ts → core/GestureHandlerOrchestrator.ts} +122 -67
  15. package/harmony/gesture_handler/src/main/ets/{GestureHandlerRegistry.ts → core/GestureHandlerRegistry.ts} +7 -0
  16. package/harmony/gesture_handler/src/main/ets/{Event.ts → core/IncomingEvent.ts} +30 -20
  17. package/harmony/gesture_handler/src/main/ets/core/InteractionManager.ts +144 -0
  18. package/harmony/gesture_handler/src/main/ets/{OutgoingEvent.ts → core/OutgoingEvent.ts} +1 -1
  19. package/harmony/gesture_handler/src/main/ets/core/OutgoingEventDispatcher.ts +12 -0
  20. package/harmony/gesture_handler/src/main/ets/{PointerTracker.ts → core/PointerTracker.ts} +4 -4
  21. package/harmony/gesture_handler/src/main/ets/core/RNGHLogger.ts +12 -0
  22. package/harmony/gesture_handler/src/main/ets/core/Vector2D.ts +80 -0
  23. package/harmony/gesture_handler/src/main/ets/{VelocityTracker.ts → core/VelocityTracker.ts} +13 -5
  24. package/harmony/gesture_handler/src/main/ets/core/View.ts +19 -0
  25. package/harmony/gesture_handler/src/main/ets/core/index.ts +13 -0
  26. package/harmony/gesture_handler/src/main/ets/detectors/ScaleGestureDetector.ts +169 -0
  27. package/harmony/gesture_handler/src/main/ets/gesture-handlers/FlingGestureHandler.ts +211 -0
  28. package/harmony/gesture_handler/src/main/ets/gesture-handlers/GestureHandlerFactory.ts +64 -0
  29. package/harmony/gesture_handler/src/main/ets/gesture-handlers/LongPressGestureHandler.ts +127 -0
  30. package/harmony/gesture_handler/src/main/ets/gesture-handlers/ManualGestureHandler.ts +42 -0
  31. package/harmony/gesture_handler/src/main/ets/{NativeViewGestureHandler.ts → gesture-handlers/NativeViewGestureHandler.ts} +10 -12
  32. package/harmony/gesture_handler/src/main/ets/{PanGestureHandler.ts → gesture-handlers/PanGestureHandler.ts} +27 -13
  33. package/harmony/gesture_handler/src/main/ets/gesture-handlers/PinchGestureHandler.ts +159 -0
  34. package/harmony/gesture_handler/src/main/ets/gesture-handlers/RotationGestureHandler.ts +164 -0
  35. package/harmony/gesture_handler/src/main/ets/{TapGestureHandler.ts → gesture-handlers/TapGestureHandler.ts} +11 -11
  36. package/harmony/gesture_handler/src/main/ets/gesture-handlers/detectors/RotationGestureDetector.ts +167 -0
  37. package/harmony/gesture_handler/src/main/ets/gesture-handlers/index.ts +1 -0
  38. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +8 -9
  39. package/harmony/gesture_handler/src/main/ets/namespace/{RNGestureHandlerButton.ts → components/RNGestureHandlerButton.ts} +35 -36
  40. package/harmony/gesture_handler/src/main/ets/namespace/{RNGestureHandlerRootView.ts → components/RNGestureHandlerRootView.ts} +23 -23
  41. package/harmony/gesture_handler/src/main/ets/namespace/components/ts.ts +2 -0
  42. package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +2 -3
  43. package/harmony/gesture_handler/src/main/ets/rnoh/GestureHandlerArkUIAdapter.ts +240 -0
  44. package/harmony/gesture_handler/src/main/ets/{GestureHandlerPackage.ts → rnoh/GestureHandlerPackage.ts} +4 -4
  45. package/harmony/gesture_handler/src/main/ets/rnoh/Logger.ts +49 -0
  46. package/harmony/gesture_handler/src/main/ets/rnoh/OutgoingEventDispatchers.ts +71 -0
  47. package/harmony/gesture_handler/src/main/ets/rnoh/RNGHRootTouchHandlerArkTS.ts +104 -0
  48. package/harmony/gesture_handler/src/main/ets/rnoh/RNGHRootTouchHandlerCAPI.ts +110 -0
  49. package/harmony/gesture_handler/src/main/ets/{RNGestureHandlerButton.ets → rnoh/RNGestureHandlerButton.ets} +3 -3
  50. package/harmony/gesture_handler/src/main/ets/{RNGestureHandlerModule.ts → rnoh/RNGestureHandlerModule.ts} +74 -27
  51. package/harmony/gesture_handler/src/main/ets/{RNGestureHandlerRootView.ets → rnoh/RNGestureHandlerRootView.ets} +3 -3
  52. package/harmony/gesture_handler/src/main/ets/rnoh/RNOHGestureResponder.ts +24 -0
  53. package/harmony/gesture_handler/src/main/ets/rnoh/RNOHScrollLocker.ts +32 -0
  54. package/harmony/gesture_handler/src/main/ets/rnoh/View.ts +119 -0
  55. package/harmony/gesture_handler/src/main/ets/rnoh/ViewRegistry.ts +95 -0
  56. package/harmony/gesture_handler/src/main/module.json5 +8 -6
  57. package/harmony/gesture_handler/ts.ts +2 -2
  58. package/harmony/gesture_handler.har +0 -0
  59. package/lib/commonjs/index.js +98 -138
  60. package/lib/commonjs/index.js.map +1 -1
  61. package/lib/module/index.js +9 -142
  62. package/lib/module/index.js.map +1 -1
  63. package/lib/typescript/index.d.ts +35 -1
  64. package/lib/typescript/index.d.ts.map +1 -1
  65. package/package.json +13 -10
  66. package/src/index.ts +136 -136
  67. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerPackage.h +0 -72
  68. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentInstance.h +0 -78
  69. package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +0 -53
  70. package/harmony/gesture_handler/src/main/ets/GestureHandlerArkUIAdapter.ts +0 -203
  71. package/harmony/gesture_handler/src/main/ets/GestureHandlerFactory.ts +0 -45
  72. package/harmony/gesture_handler/src/main/ets/InteractionManager.ts +0 -109
  73. package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +0 -48
  74. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerArkTS.ts +0 -60
  75. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerCAPI.ts +0 -87
  76. package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +0 -23
  77. package/harmony/gesture_handler/src/main/ets/Vector2D.ts +0 -36
  78. package/harmony/gesture_handler/src/main/ets/View.ts +0 -71
  79. package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +0 -43
  80. package/harmony/gesture_handler/src/main/ets/pages/Index.ets +0 -17
  81. package/harmony/gesture_handler/src/main/ets/webviewability/WebviewAbility.ts +0 -41
  82. /package/harmony/gesture_handler/src/main/ets/{CircularBuffer.ts → core/CircularBuffer.ts} +0 -0
  83. /package/harmony/gesture_handler/src/main/ets/{LeastSquareSolver.ts → core/LeastSquareSolver.ts} +0 -0
  84. /package/harmony/gesture_handler/src/main/ets/{RNGHError.ts → core/RNGHError.ts} +0 -0
  85. /package/harmony/gesture_handler/src/main/ets/{State.ts → core/State.ts} +0 -0
  86. /package/harmony/gesture_handler/src/main/ets/{types.ts → rnoh/types.ts} +0 -0
@@ -0,0 +1,95 @@
1
+ import { DescriptorRegistry, Tag, } from '@rnoh/react-native-openharmony/ts';
2
+ import { ViewArkTS } from './View';
3
+ import { View } from '../core';
4
+ import type { ViewFinder } from "./RNGHRootTouchHandlerArkTS"
5
+
6
+ export interface ViewRegistry extends ViewFinder {
7
+ getViewByTag(viewTag: Tag)
8
+ save(view: View)
9
+ }
10
+
11
+ export class ViewRegistryArkTS implements ViewRegistry {
12
+ constructor(
13
+ private descriptorRegistry: DescriptorRegistry,
14
+ ) {
15
+ }
16
+
17
+ getViewByTag(viewTag: Tag) {
18
+ return this.createView(viewTag);
19
+ }
20
+
21
+ save(view: View) {
22
+ /**
23
+ * Currently, a new View object is created when getViewByTag is called. That was the approach in initial "quick"
24
+ * implementation of this library. The save was introduced later, for the needs of implementation using C-API architecture.
25
+ * C-API architecture is going to replace ArkTS anyway, so there's no point of doing this properly since this class
26
+ * will be removed in the future.
27
+ */
28
+ }
29
+
30
+ private createView(tag: Tag): ViewArkTS {
31
+ return new ViewArkTS(this.descriptorRegistry, tag);
32
+ }
33
+
34
+ getTouchableViewsAt(
35
+ pos: {
36
+ x: number;
37
+ y: number;
38
+ },
39
+ rootTag: Tag,
40
+ ): ViewArkTS[] {
41
+ const rootView = this.createView(rootTag);
42
+ const results: ViewArkTS[] = [];
43
+ for (const view of this.getTouchableViewsAtPosInView(pos, rootView)) {
44
+ results.push(view);
45
+ }
46
+ return results;
47
+ }
48
+
49
+ private getTouchableViewsAtPosInView(
50
+ pos: {
51
+ x: number;
52
+ y: number;
53
+ },
54
+ view: ViewArkTS,
55
+ ) {
56
+ if (!view.isPositionInBounds(pos)) return [];
57
+ const results: ViewArkTS[] = [];
58
+ results.push(view);
59
+ for (const child of this.getChildrenOf(view.getTag())) {
60
+ for (const result of this.getTouchableViewsAtPosInView(pos, child)) {
61
+ results.push(result);
62
+ }
63
+ }
64
+ return results;
65
+ }
66
+
67
+ private getChildrenOf(viewTag: Tag): ViewArkTS[] {
68
+ return this.descriptorRegistry.findDescriptorWrapperByTag(viewTag).childrenTags.map((tag) => new ViewArkTS(this.descriptorRegistry, tag))
69
+ }
70
+ }
71
+
72
+
73
+ export class ViewRegistryCAPI implements ViewRegistry {
74
+ private viewByTag = new Map<Tag, View>()
75
+
76
+ save(view: View) {
77
+ this.viewByTag.set(view.getTag(), view)
78
+ }
79
+
80
+ getViewByTag(viewTag: Tag) {
81
+ return this.viewByTag.get(viewTag);
82
+ }
83
+
84
+ getTouchableViewsAt(
85
+ pos: {
86
+ x: number;
87
+ y: number;
88
+ },
89
+ rootTag: Tag,
90
+ ): ViewArkTS[] {
91
+ // Finding views is handled on CPP side and provided with the touch event.
92
+ // This method can be removed from ViewRegistry interface once support for ArkTS architecture is removed.
93
+ return []
94
+ }
95
+ }
@@ -1,7 +1,9 @@
1
1
  {
2
- module: {
3
- name: 'gesture_handler',
4
- type: 'har',
5
- deviceTypes: ['default'],
6
- },
7
- }
2
+ "module": {
3
+ "name": "gesture_handler",
4
+ "type": "har",
5
+ "deviceTypes": [
6
+ "default"
7
+ ],
8
+ }
9
+ }
@@ -1,2 +1,2 @@
1
- export * from "./src/main/ets/GestureHandlerPackage"
2
- export * from "./src/main/ets/RNGestureHandlerModule"
1
+ export * from "./src/main/ets/rnoh/GestureHandlerPackage"
2
+ export * from "./src/main/ets/rnoh/RNGestureHandlerModule"
Binary file
@@ -3,6 +3,30 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "BaseButton", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _GestureButtons.BaseButton;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "BorderlessButton", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _GestureButtons.BorderlessButton;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "Directions", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Directions.Directions;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "DrawerLayout", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _DrawerLayout.default;
28
+ }
29
+ });
6
30
  Object.defineProperty(exports, "DrawerLayoutAndroid", {
7
31
  enumerable: true,
8
32
  get: function () {
@@ -33,12 +57,36 @@ Object.defineProperty(exports, "GestureHandlerRootView", {
33
57
  return _GestureHandlerRootView.default;
34
58
  }
35
59
  });
60
+ Object.defineProperty(exports, "NativeViewGestureHandler", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _NativeViewGestureHandler.NativeViewGestureHandler;
64
+ }
65
+ });
36
66
  Object.defineProperty(exports, "PanGestureHandler", {
37
67
  enumerable: true,
38
68
  get: function () {
39
69
  return _PanGestureHandler.PanGestureHandler;
40
70
  }
41
71
  });
72
+ Object.defineProperty(exports, "PureNativeButton", {
73
+ enumerable: true,
74
+ get: function () {
75
+ return _GestureButtons.PureNativeButton;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "RawButton", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _GestureButtons.RawButton;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "RectButton", {
85
+ enumerable: true,
86
+ get: function () {
87
+ return _GestureButtons.RectButton;
88
+ }
89
+ });
42
90
  Object.defineProperty(exports, "RefreshControl", {
43
91
  enumerable: true,
44
92
  get: function () {
@@ -57,6 +105,12 @@ Object.defineProperty(exports, "State", {
57
105
  return _State.State;
58
106
  }
59
107
  });
108
+ Object.defineProperty(exports, "Swipeable", {
109
+ enumerable: true,
110
+ get: function () {
111
+ return _Swipeable.default;
112
+ }
113
+ });
60
114
  Object.defineProperty(exports, "Switch", {
61
115
  enumerable: true,
62
116
  get: function () {
@@ -75,6 +129,18 @@ Object.defineProperty(exports, "TextInput", {
75
129
  return _GestureComponents.TextInput;
76
130
  }
77
131
  });
132
+ Object.defineProperty(exports, "TouchableHighlight", {
133
+ enumerable: true,
134
+ get: function () {
135
+ return _touchables.TouchableHighlight;
136
+ }
137
+ });
138
+ Object.defineProperty(exports, "TouchableNativeFeedback", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _touchables.TouchableNativeFeedback;
142
+ }
143
+ });
78
144
  Object.defineProperty(exports, "TouchableOpacity", {
79
145
  enumerable: true,
80
146
  get: function () {
@@ -87,160 +153,54 @@ Object.defineProperty(exports, "TouchableWithoutFeedback", {
87
153
  return _touchables.TouchableWithoutFeedback;
88
154
  }
89
155
  });
156
+ Object.defineProperty(exports, "createNativeWrapper", {
157
+ enumerable: true,
158
+ get: function () {
159
+ return _createNativeWrapper.default;
160
+ }
161
+ });
162
+ Object.defineProperty(exports, "enableExperimentalWebImplementation", {
163
+ enumerable: true,
164
+ get: function () {
165
+ return _EnableNewWebImplementation.enableExperimentalWebImplementation;
166
+ }
167
+ });
168
+ Object.defineProperty(exports, "enableLegacyWebImplementation", {
169
+ enumerable: true,
170
+ get: function () {
171
+ return _EnableNewWebImplementation.enableLegacyWebImplementation;
172
+ }
173
+ });
174
+ Object.defineProperty(exports, "gestureHandlerRootHOC", {
175
+ enumerable: true,
176
+ get: function () {
177
+ return _gestureHandlerRootHOC.default;
178
+ }
179
+ });
90
180
  var _init = require("react-native-gesture-handler/src/init");
181
+ var _Directions = require("react-native-gesture-handler/src/Directions");
91
182
  var _State = require("react-native-gesture-handler/src/State");
183
+ var _gestureHandlerRootHOC = _interopRequireDefault(require("react-native-gesture-handler/src/components/gestureHandlerRootHOC"));
92
184
  var _GestureHandlerRootView = _interopRequireDefault(require("./components/GestureHandlerRootView"));
93
185
  var _TapGestureHandler = require("react-native-gesture-handler/src/handlers/TapGestureHandler");
94
186
  var _PanGestureHandler = require("react-native-gesture-handler/src/handlers/PanGestureHandler");
187
+ var _createNativeWrapper = _interopRequireDefault(require("react-native-gesture-handler/src/handlers/createNativeWrapper"));
95
188
  var _GestureDetector = require("react-native-gesture-handler/src/handlers/gestures/GestureDetector");
96
189
  var _gestureObjects = require("react-native-gesture-handler/src/handlers/gestures/gestureObjects");
190
+ var _NativeViewGestureHandler = require("react-native-gesture-handler/src/handlers/NativeViewGestureHandler");
191
+ var _GestureButtons = require("react-native-gesture-handler/src/components/GestureButtons");
97
192
  var _touchables = require("react-native-gesture-handler/src/components/touchables");
98
193
  var _GestureComponents = require("react-native-gesture-handler/src/components/GestureComponents");
194
+ var _Swipeable = _interopRequireDefault(require("react-native-gesture-handler/src/components/Swipeable"));
195
+ var _DrawerLayout = _interopRequireDefault(require("react-native-gesture-handler/src/components/DrawerLayout"));
196
+ var _EnableNewWebImplementation = require("react-native-gesture-handler/src/EnableNewWebImplementation");
99
197
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
100
198
  global.isFormsStackingContext = () => true; // TODO: add using JSI
101
199
 
102
- // export { Directions } from './Directions';
103
-
104
- // export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
105
-
106
- // export type {
107
- // // event types
108
- // GestureEvent,
109
- // HandlerStateChangeEvent,
110
- // // event payloads types
111
- // GestureEventPayload,
112
- // HandlerStateChangeEventPayload,
113
- // // pointer events
114
- // GestureTouchEvent,
115
- // TouchData,
116
- // // new api event types
117
- // GestureUpdateEvent,
118
- // GestureStateChangeEvent,
119
- // } from './handlers/gestureHandlerCommon';
120
- // export type {
121
- // TapGestureHandlerEventPayload,
122
- // TapGestureHandlerProps,
123
- // } from './handlers/TapGestureHandler';
124
- // export type {
125
- // ForceTouchGestureHandlerEventPayload,
126
- // ForceTouchGestureHandlerProps,
127
- // } from './handlers/ForceTouchGestureHandler';
128
- // export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
129
- // export type {
130
- // LongPressGestureHandlerEventPayload,
131
- // LongPressGestureHandlerProps,
132
- // } from './handlers/LongPressGestureHandler';
133
- // export type {
134
- // PanGestureHandlerEventPayload,
135
- // PanGestureHandlerProps,
136
- // } from './handlers/PanGestureHandler';
137
- // export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
138
- // export type {
139
- // PinchGestureHandlerEventPayload,
140
- // PinchGestureHandlerProps,
141
- // } from './handlers/PinchGestureHandler';
142
- // export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
143
- // export type {
144
- // RotationGestureHandlerEventPayload,
145
- // RotationGestureHandlerProps,
146
- // } from './handlers/RotationGestureHandler';
147
- // export type {
148
- // FlingGestureHandlerEventPayload,
149
- // FlingGestureHandlerProps,
150
- // } from './handlers/FlingGestureHandler';
151
200
  // export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
152
201
  // export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
153
202
  // export { PinchGestureHandler } from './handlers/PinchGestureHandler';
154
203
  // export { RotationGestureHandler } from './handlers/RotationGestureHandler';
155
204
  // export { FlingGestureHandler } from './handlers/FlingGestureHandler';
156
- // export { default as createNativeWrapper } from './handlers/createNativeWrapper';
157
- // export type {
158
- // NativeViewGestureHandlerPayload,
159
- // NativeViewGestureHandlerProps,
160
- // } from './handlers/NativeViewGestureHandler';
161
- // export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
162
- // export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
163
- // export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
164
- // export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
165
- // export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
166
- // export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
167
- // export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
168
- // export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
169
- // export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
170
- // export type {
171
- // ComposedGestureType as ComposedGesture,
172
- // RaceGestureType as RaceGesture,
173
- // SimultaneousGestureType as SimultaneousGesture,
174
- // ExclusiveGestureType as ExclusiveGesture,
175
- // } from './handlers/gestures/gestureComposition';
176
- // export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
177
- // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
178
- // export type {
179
- // RawButtonProps,
180
- // BaseButtonProps,
181
- // RectButtonProps,
182
- // BorderlessButtonProps,
183
- // } from './components/GestureButtons';
184
- // export {
185
- // RawButton,
186
- // BaseButton,
187
- // RectButton,
188
- // BorderlessButton,
189
- // PureNativeButton,
190
- // } from './components/GestureButtons';
191
- // export type {
192
- // //events
193
- // GestureHandlerGestureEvent,
194
- // GestureHandlerStateChangeEvent,
195
- // //event payloads
196
- // GestureHandlerGestureEventNativeEvent,
197
- // GestureHandlerStateChangeNativeEvent,
198
- // NativeViewGestureHandlerGestureEvent,
199
- // NativeViewGestureHandlerStateChangeEvent,
200
- // TapGestureHandlerGestureEvent,
201
- // TapGestureHandlerStateChangeEvent,
202
- // ForceTouchGestureHandlerGestureEvent,
203
- // ForceTouchGestureHandlerStateChangeEvent,
204
- // LongPressGestureHandlerGestureEvent,
205
- // LongPressGestureHandlerStateChangeEvent,
206
- // PanGestureHandlerGestureEvent,
207
- // PanGestureHandlerStateChangeEvent,
208
- // PinchGestureHandlerGestureEvent,
209
- // PinchGestureHandlerStateChangeEvent,
210
- // RotationGestureHandlerGestureEvent,
211
- // RotationGestureHandlerStateChangeEvent,
212
- // FlingGestureHandlerGestureEvent,
213
- // FlingGestureHandlerStateChangeEvent,
214
- // // handlers props
215
- // NativeViewGestureHandlerProperties,
216
- // TapGestureHandlerProperties,
217
- // LongPressGestureHandlerProperties,
218
- // PanGestureHandlerProperties,
219
- // PinchGestureHandlerProperties,
220
- // RotationGestureHandlerProperties,
221
- // FlingGestureHandlerProperties,
222
- // ForceTouchGestureHandlerProperties,
223
- // // buttons props
224
- // RawButtonProperties,
225
- // BaseButtonProperties,
226
- // RectButtonProperties,
227
- // BorderlessButtonProperties,
228
- // } from './handlers/gestureHandlerTypesCompat';
229
-
230
- // export { default as Swipeable } from './components/Swipeable';
231
- // export type {
232
- // DrawerLayoutProps,
233
- // DrawerPosition,
234
- // DrawerState,
235
- // DrawerType,
236
- // DrawerLockMode,
237
- // DrawerKeyboardDismissMode,
238
- // } from './components/DrawerLayout';
239
- // export { default as DrawerLayout } from './components/DrawerLayout';
240
-
241
- // export {
242
- // enableExperimentalWebImplementation,
243
- // enableLegacyWebImplementation,
244
- // } from './EnableNewWebImplementation';
245
205
  (0, _init.initialize)();
246
206
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_init","require","_State","_GestureHandlerRootView","_interopRequireDefault","_TapGestureHandler","_PanGestureHandler","_GestureDetector","_gestureObjects","_touchables","_GestureComponents","obj","__esModule","default","global","isFormsStackingContext","initialize"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,uBAAA,GAAAC,sBAAA,CAAAH,OAAA;AA+CA,IAAAI,kBAAA,GAAAJ,OAAA;AAGA,IAAAK,kBAAA,GAAAL,OAAA;AASA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AA+BA,IAAAQ,WAAA,GAAAR,OAAA;AAMA,IAAAS,kBAAA,GAAAT,OAAA;AAOuE,SAAAG,uBAAAO,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AA/GvEG,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAI5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AAEA,IAAAC,gBAAU,EAAC,CAAC"}
1
+ {"version":3,"names":["_init","require","_Directions","_State","_gestureHandlerRootHOC","_interopRequireDefault","_GestureHandlerRootView","_TapGestureHandler","_PanGestureHandler","_createNativeWrapper","_GestureDetector","_gestureObjects","_NativeViewGestureHandler","_GestureButtons","_touchables","_GestureComponents","_Swipeable","_DrawerLayout","_EnableNewWebImplementation","obj","__esModule","default","global","isFormsStackingContext","initialize"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AA+CA,IAAAM,kBAAA,GAAAN,OAAA;AAGA,IAAAO,kBAAA,GAAAP,OAAA;AAIA,IAAAQ,oBAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AAKA,IAAAS,gBAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AAiBA,IAAAW,yBAAA,GAAAX,OAAA;AAOA,IAAAY,eAAA,GAAAZ,OAAA;AAOA,IAAAa,WAAA,GAAAb,OAAA;AAMA,IAAAc,kBAAA,GAAAd,OAAA;AA+CA,IAAAe,UAAA,GAAAX,sBAAA,CAAAJ,OAAA;AASA,IAAAgB,aAAA,GAAAZ,sBAAA,CAAAJ,OAAA;AAEA,IAAAiB,2BAAA,GAAAjB,OAAA;AAGqE,SAAAI,uBAAAc,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AArKrEG,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAuD5C;AACA;AAEA;AACA;AACA;AA2GA,IAAAC,gBAAU,EAAC,CAAC"}
@@ -1,56 +1,10 @@
1
1
  global.isFormsStackingContext = () => true; // TODO: add using JSI
2
2
 
3
3
  import { initialize } from 'react-native-gesture-handler/src/init';
4
-
5
- // export { Directions } from './Directions';
4
+ export { Directions } from 'react-native-gesture-handler/src/Directions';
6
5
  export { State } from 'react-native-gesture-handler/src/State';
7
- // export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
6
+ export { default as gestureHandlerRootHOC } from 'react-native-gesture-handler/src/components/gestureHandlerRootHOC';
8
7
  export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
9
- // export type {
10
- // // event types
11
- // GestureEvent,
12
- // HandlerStateChangeEvent,
13
- // // event payloads types
14
- // GestureEventPayload,
15
- // HandlerStateChangeEventPayload,
16
- // // pointer events
17
- // GestureTouchEvent,
18
- // TouchData,
19
- // // new api event types
20
- // GestureUpdateEvent,
21
- // GestureStateChangeEvent,
22
- // } from './handlers/gestureHandlerCommon';
23
- // export type {
24
- // TapGestureHandlerEventPayload,
25
- // TapGestureHandlerProps,
26
- // } from './handlers/TapGestureHandler';
27
- // export type {
28
- // ForceTouchGestureHandlerEventPayload,
29
- // ForceTouchGestureHandlerProps,
30
- // } from './handlers/ForceTouchGestureHandler';
31
- // export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
32
- // export type {
33
- // LongPressGestureHandlerEventPayload,
34
- // LongPressGestureHandlerProps,
35
- // } from './handlers/LongPressGestureHandler';
36
- // export type {
37
- // PanGestureHandlerEventPayload,
38
- // PanGestureHandlerProps,
39
- // } from './handlers/PanGestureHandler';
40
- // export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
41
- // export type {
42
- // PinchGestureHandlerEventPayload,
43
- // PinchGestureHandlerProps,
44
- // } from './handlers/PinchGestureHandler';
45
- // export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
46
- // export type {
47
- // RotationGestureHandlerEventPayload,
48
- // RotationGestureHandlerProps,
49
- // } from './handlers/RotationGestureHandler';
50
- // export type {
51
- // FlingGestureHandlerEventPayload,
52
- // FlingGestureHandlerProps,
53
- // } from './handlers/FlingGestureHandler';
54
8
  export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
55
9
  // export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
56
10
  // export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
@@ -58,102 +12,15 @@ export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/Pan
58
12
  // export { PinchGestureHandler } from './handlers/PinchGestureHandler';
59
13
  // export { RotationGestureHandler } from './handlers/RotationGestureHandler';
60
14
  // export { FlingGestureHandler } from './handlers/FlingGestureHandler';
61
- // export { default as createNativeWrapper } from './handlers/createNativeWrapper';
62
- // export type {
63
- // NativeViewGestureHandlerPayload,
64
- // NativeViewGestureHandlerProps,
65
- // } from './handlers/NativeViewGestureHandler';
15
+ export { default as createNativeWrapper } from 'react-native-gesture-handler/src/handlers/createNativeWrapper';
66
16
  export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
67
17
  export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
68
- // export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
69
- // export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
70
- // export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
71
- // export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
72
- // export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
73
- // export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
74
- // export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
75
- // export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
76
- // export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
77
- // export type {
78
- // ComposedGestureType as ComposedGesture,
79
- // RaceGestureType as RaceGesture,
80
- // SimultaneousGestureType as SimultaneousGesture,
81
- // ExclusiveGestureType as ExclusiveGesture,
82
- // } from './handlers/gestures/gestureComposition';
83
- // export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
84
- // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
85
- // export type {
86
- // RawButtonProps,
87
- // BaseButtonProps,
88
- // RectButtonProps,
89
- // BorderlessButtonProps,
90
- // } from './components/GestureButtons';
91
- // export {
92
- // RawButton,
93
- // BaseButton,
94
- // RectButton,
95
- // BorderlessButton,
96
- // PureNativeButton,
97
- // } from './components/GestureButtons';
98
- export {
99
- // TouchableHighlight,
100
- // TouchableNativeFeedback,
101
- TouchableOpacity, TouchableWithoutFeedback } from 'react-native-gesture-handler/src/components/touchables';
18
+ export { NativeViewGestureHandler } from 'react-native-gesture-handler/src/handlers/NativeViewGestureHandler';
19
+ export { RawButton, BaseButton, RectButton, BorderlessButton, PureNativeButton } from 'react-native-gesture-handler/src/components/GestureButtons';
20
+ export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback } from 'react-native-gesture-handler/src/components/touchables';
102
21
  export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl } from 'react-native-gesture-handler/src/components/GestureComponents';
103
- // export type {
104
- // //events
105
- // GestureHandlerGestureEvent,
106
- // GestureHandlerStateChangeEvent,
107
- // //event payloads
108
- // GestureHandlerGestureEventNativeEvent,
109
- // GestureHandlerStateChangeNativeEvent,
110
- // NativeViewGestureHandlerGestureEvent,
111
- // NativeViewGestureHandlerStateChangeEvent,
112
- // TapGestureHandlerGestureEvent,
113
- // TapGestureHandlerStateChangeEvent,
114
- // ForceTouchGestureHandlerGestureEvent,
115
- // ForceTouchGestureHandlerStateChangeEvent,
116
- // LongPressGestureHandlerGestureEvent,
117
- // LongPressGestureHandlerStateChangeEvent,
118
- // PanGestureHandlerGestureEvent,
119
- // PanGestureHandlerStateChangeEvent,
120
- // PinchGestureHandlerGestureEvent,
121
- // PinchGestureHandlerStateChangeEvent,
122
- // RotationGestureHandlerGestureEvent,
123
- // RotationGestureHandlerStateChangeEvent,
124
- // FlingGestureHandlerGestureEvent,
125
- // FlingGestureHandlerStateChangeEvent,
126
- // // handlers props
127
- // NativeViewGestureHandlerProperties,
128
- // TapGestureHandlerProperties,
129
- // LongPressGestureHandlerProperties,
130
- // PanGestureHandlerProperties,
131
- // PinchGestureHandlerProperties,
132
- // RotationGestureHandlerProperties,
133
- // FlingGestureHandlerProperties,
134
- // ForceTouchGestureHandlerProperties,
135
- // // buttons props
136
- // RawButtonProperties,
137
- // BaseButtonProperties,
138
- // RectButtonProperties,
139
- // BorderlessButtonProperties,
140
- // } from './handlers/gestureHandlerTypesCompat';
141
-
142
- // export { default as Swipeable } from './components/Swipeable';
143
- // export type {
144
- // DrawerLayoutProps,
145
- // DrawerPosition,
146
- // DrawerState,
147
- // DrawerType,
148
- // DrawerLockMode,
149
- // DrawerKeyboardDismissMode,
150
- // } from './components/DrawerLayout';
151
- // export { default as DrawerLayout } from './components/DrawerLayout';
152
-
153
- // export {
154
- // enableExperimentalWebImplementation,
155
- // enableLegacyWebImplementation,
156
- // } from './EnableNewWebImplementation';
157
-
22
+ export { default as Swipeable } from 'react-native-gesture-handler/src/components/Swipeable';
23
+ export { default as DrawerLayout } from 'react-native-gesture-handler/src/components/DrawerLayout';
24
+ export { enableExperimentalWebImplementation, enableLegacyWebImplementation } from 'react-native-gesture-handler/src/EnableNewWebImplementation';
158
25
  initialize();
159
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["global","isFormsStackingContext","initialize","State","default","GestureHandlerRootView","TapGestureHandler","PanGestureHandler","GestureDetector","GestureObjects","Gesture","TouchableOpacity","TouchableWithoutFeedback","ScrollView","Switch","TextInput","DrawerLayoutAndroid","FlatList","RefreshControl"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAIAA,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAE5C,SAASC,UAAU,QAAQ,uCAAuC;;AAElE;AACA,SAASC,KAAK,QAAQ,wCAAwC;AAC9D;AACA,SAASC,OAAO,IAAIC,sBAAsB,QAAQ,qCAAqC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA;AACA,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,eAAe,QAAQ,oEAAoE;AACpG,SAASC,cAAc,IAAIC,OAAO,QAAQ,mEAAmE;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACAC,gBAAgB,EAChBC,wBAAwB,QACnB,wDAAwD;AAC/D,SACEC,UAAU,EACVC,MAAM,EACNC,SAAS,EACTC,mBAAmB,EACnBC,QAAQ,EACRC,cAAc,QACT,+DAA+D;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEAhB,UAAU,CAAC,CAAC"}
1
+ {"version":3,"names":["global","isFormsStackingContext","initialize","Directions","State","default","gestureHandlerRootHOC","GestureHandlerRootView","TapGestureHandler","PanGestureHandler","createNativeWrapper","GestureDetector","GestureObjects","Gesture","NativeViewGestureHandler","RawButton","BaseButton","RectButton","BorderlessButton","PureNativeButton","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","ScrollView","Switch","TextInput","DrawerLayoutAndroid","FlatList","RefreshControl","Swipeable","DrawerLayout","enableExperimentalWebImplementation","enableLegacyWebImplementation"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAIAA,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAE5C,SAASC,UAAU,QAAQ,uCAAuC;AAElE,SAASC,UAAU,QAAQ,6CAA6C;AACxE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,OAAO,IAAIC,qBAAqB,QAAQ,mEAAmE;AACpH,SAASD,OAAO,IAAIE,sBAAsB,QAAQ,qCAAqC;AA+CvF,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA;AACA,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA;AACA;AACA,SAASJ,OAAO,IAAIK,mBAAmB,QAAQ,+DAA+D;AAK9G,SAASC,eAAe,QAAQ,oEAAoE;AACpG,SAASC,cAAc,IAAIC,OAAO,QAAQ,mEAAmE;AAiB7G,SAASC,wBAAwB,QAAQ,oEAAoE;AAO7G,SACEC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,gBAAgB,EAChBC,gBAAgB,QACX,4DAA4D;AACnE,SACEC,kBAAkB,EAClBC,uBAAuB,EACvBC,gBAAgB,EAChBC,wBAAwB,QACnB,wDAAwD;AAC/D,SACEC,UAAU,EACVC,MAAM,EACNC,SAAS,EACTC,mBAAmB,EACnBC,QAAQ,EACRC,cAAc,QACT,+DAA+D;AAwCtE,SAASxB,OAAO,IAAIyB,SAAS,QAAQ,uDAAuD;AAS5F,SAASzB,OAAO,IAAI0B,YAAY,QAAQ,0DAA0D;AAElG,SACEC,mCAAmC,EACnCC,6BAA6B,QACxB,6DAA6D;AAEpE/B,UAAU,CAAC,CAAC"}
@@ -1,10 +1,44 @@
1
+ export { Directions } from 'react-native-gesture-handler/src/Directions';
1
2
  export { State } from 'react-native-gesture-handler/src/State';
3
+ export { default as gestureHandlerRootHOC } from 'react-native-gesture-handler/src/components/gestureHandlerRootHOC';
2
4
  export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
5
+ export type { GestureEvent, HandlerStateChangeEvent, GestureEventPayload, HandlerStateChangeEventPayload, GestureTouchEvent, TouchData, GestureUpdateEvent, GestureStateChangeEvent, } from 'react-native-gesture-handler/src/handlers/gestureHandlerCommon';
3
6
  export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
7
+ export type { TapGestureHandlerEventPayload, TapGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
8
+ export type { ForceTouchGestureHandlerEventPayload, ForceTouchGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/ForceTouchGestureHandler';
9
+ export type { ForceTouchGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/forceTouchGesture';
10
+ export type { LongPressGestureHandlerEventPayload, LongPressGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/LongPressGestureHandler';
11
+ export type { PanGestureHandlerEventPayload, PanGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
12
+ export type { PanGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/panGesture';
13
+ export type { PinchGestureHandlerEventPayload, PinchGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/PinchGestureHandler';
14
+ export type { PinchGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/pinchGesture';
15
+ export type { RotationGestureHandlerEventPayload, RotationGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/RotationGestureHandler';
16
+ export type { FlingGestureHandlerEventPayload, FlingGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/FlingGestureHandler';
4
17
  export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
5
18
  export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
19
+ export { default as createNativeWrapper } from 'react-native-gesture-handler/src/handlers/createNativeWrapper';
20
+ export type { NativeViewGestureHandlerPayload, NativeViewGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/NativeViewGestureHandler';
6
21
  export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
7
22
  export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
8
- export { TouchableOpacity, TouchableWithoutFeedback, } from 'react-native-gesture-handler/src/components/touchables';
23
+ export type { TapGestureType as TapGesture } from 'react-native-gesture-handler/src/handlers/gestures/tapGesture';
24
+ export type { PanGestureType as PanGesture } from 'react-native-gesture-handler/src/handlers/gestures/panGesture';
25
+ export type { FlingGestureType as FlingGesture } from 'react-native-gesture-handler/src/handlers/gestures/flingGesture';
26
+ export type { LongPressGestureType as LongPressGesture } from 'react-native-gesture-handler/src/handlers/gestures/longPressGesture';
27
+ export type { PinchGestureType as PinchGesture } from 'react-native-gesture-handler/src/handlers/gestures/pinchGesture';
28
+ export type { RotationGestureType as RotationGesture } from 'react-native-gesture-handler/src/handlers/gestures/rotationGesture';
29
+ export type { ForceTouchGestureType as ForceTouchGesture } from 'react-native-gesture-handler/src/handlers/gestures/forceTouchGesture';
30
+ export type { NativeGestureType as NativeGesture } from 'react-native-gesture-handler/src/handlers/gestures/nativeGesture';
31
+ export type { ManualGestureType as ManualGesture } from 'react-native-gesture-handler/src/handlers/gestures/manualGesture';
32
+ export type { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture, } from 'react-native-gesture-handler/src/handlers/gestures/gestureComposition';
33
+ export type { GestureStateManagerType as GestureStateManager } from 'react-native-gesture-handler/src/handlers/gestures/gestureStateManager';
34
+ export { NativeViewGestureHandler } from 'react-native-gesture-handler/src/handlers/NativeViewGestureHandler';
35
+ export type { RawButtonProps, BaseButtonProps, RectButtonProps, BorderlessButtonProps, } from 'react-native-gesture-handler/src/components/GestureButtons';
36
+ export { RawButton, BaseButton, RectButton, BorderlessButton, PureNativeButton, } from 'react-native-gesture-handler/src/components/GestureButtons';
37
+ export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, } from 'react-native-gesture-handler/src/components/touchables';
9
38
  export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl, } from 'react-native-gesture-handler/src/components/GestureComponents';
39
+ export type { GestureHandlerGestureEvent, GestureHandlerStateChangeEvent, GestureHandlerGestureEventNativeEvent, GestureHandlerStateChangeNativeEvent, NativeViewGestureHandlerGestureEvent, NativeViewGestureHandlerStateChangeEvent, TapGestureHandlerGestureEvent, TapGestureHandlerStateChangeEvent, ForceTouchGestureHandlerGestureEvent, ForceTouchGestureHandlerStateChangeEvent, LongPressGestureHandlerGestureEvent, LongPressGestureHandlerStateChangeEvent, PanGestureHandlerGestureEvent, PanGestureHandlerStateChangeEvent, PinchGestureHandlerGestureEvent, PinchGestureHandlerStateChangeEvent, RotationGestureHandlerGestureEvent, RotationGestureHandlerStateChangeEvent, FlingGestureHandlerGestureEvent, FlingGestureHandlerStateChangeEvent, NativeViewGestureHandlerProperties, TapGestureHandlerProperties, LongPressGestureHandlerProperties, PanGestureHandlerProperties, PinchGestureHandlerProperties, RotationGestureHandlerProperties, FlingGestureHandlerProperties, ForceTouchGestureHandlerProperties, RawButtonProperties, BaseButtonProperties, RectButtonProperties, BorderlessButtonProperties, } from 'react-native-gesture-handler/src/handlers/gestureHandlerTypesCompat';
40
+ export { default as Swipeable } from 'react-native-gesture-handler/src/components/Swipeable';
41
+ export type { DrawerLayoutProps, DrawerPosition, DrawerState, DrawerType, DrawerLockMode, DrawerKeyboardDismissMode, } from 'react-native-gesture-handler/src/components/DrawerLayout';
42
+ export { default as DrawerLayout } from 'react-native-gesture-handler/src/components/DrawerLayout';
43
+ export { enableExperimentalWebImplementation, enableLegacyWebImplementation, } from 'react-native-gesture-handler/src/EnableNewWebImplementation';
10
44
  //# sourceMappingURL=index.d.ts.map