@react-native-oh-tpl/react-native-gesture-handler 2.12.9 → 2.14.4-1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/DrawerLayout/index.ts +2 -0
  2. package/Swipeable/index.ts +2 -0
  3. package/harmony/gesture_handler.har +0 -0
  4. package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
  5. package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
  6. package/lib/commonjs/handlers/createHandler.js.map +1 -1
  7. package/lib/commonjs/index.js +91 -137
  8. package/lib/commonjs/index.js.map +1 -1
  9. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js.map +1 -1
  10. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -1
  11. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -1
  12. package/lib/module/RNGestureHandlerModule.js.map +1 -1
  13. package/lib/module/components/GestureHandlerRootView.js.map +1 -1
  14. package/lib/module/handlers/createHandler.js.map +1 -1
  15. package/lib/module/index.js +10 -141
  16. package/lib/module/index.js.map +1 -1
  17. package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -1
  18. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -1
  19. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -1
  20. package/lib/typescript/RNGestureHandlerModule.d.ts +2 -2
  21. package/lib/typescript/components/GestureHandlerRootView.d.ts +6 -6
  22. package/lib/typescript/handlers/createHandler.d.ts +11 -11
  23. package/lib/typescript/index.d.ts +42 -9
  24. package/lib/typescript/index.d.ts.map +1 -1
  25. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +14 -14
  26. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +14 -14
  27. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +6 -6
  28. package/package.json +69 -66
  29. package/src/RNGestureHandlerModule.ts +4 -4
  30. package/src/components/GestureHandlerRootView.tsx +23 -23
  31. package/src/handlers/createHandler.tsx +534 -534
  32. package/src/index.ts +172 -172
  33. package/src/specs/NativeRNGestureHandlerModule.ts +26 -26
  34. package/src/specs/RNGestureHandlerButtonNativeComponent.ts +18 -18
  35. package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -6
  36. package/harmony/gesture_handler/BuildProfile.ets +0 -5
  37. package/harmony/gesture_handler/build-profile.json5 +0 -19
  38. package/harmony/gesture_handler/hvigorfile.ts +0 -2
  39. package/harmony/gesture_handler/index.ets +0 -3
  40. package/harmony/gesture_handler/oh-package-lock.json5 +0 -17
  41. package/harmony/gesture_handler/oh-package.json5 +0 -12
  42. package/harmony/gesture_handler/src/main/cpp/CMakeLists.txt +0 -8
  43. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +0 -103
  44. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +0 -21
  45. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +0 -36
  46. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentInstance.h +0 -27
  47. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonJSIBinder.h +0 -32
  48. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +0 -22
  49. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +0 -15
  50. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerPackage.h +0 -72
  51. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +0 -36
  52. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentInstance.h +0 -78
  53. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +0 -25
  54. package/harmony/gesture_handler/src/main/ets/CircularBuffer.ts +0 -42
  55. package/harmony/gesture_handler/src/main/ets/Event.ts +0 -68
  56. package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +0 -53
  57. package/harmony/gesture_handler/src/main/ets/GestureHandler.ts +0 -663
  58. package/harmony/gesture_handler/src/main/ets/GestureHandlerArkUIAdapter.ts +0 -203
  59. package/harmony/gesture_handler/src/main/ets/GestureHandlerFactory.ts +0 -45
  60. package/harmony/gesture_handler/src/main/ets/GestureHandlerOrchestrator.ts +0 -280
  61. package/harmony/gesture_handler/src/main/ets/GestureHandlerPackage.ts +0 -22
  62. package/harmony/gesture_handler/src/main/ets/GestureHandlerRegistry.ts +0 -28
  63. package/harmony/gesture_handler/src/main/ets/InteractionManager.ts +0 -109
  64. package/harmony/gesture_handler/src/main/ets/LeastSquareSolver.ts +0 -182
  65. package/harmony/gesture_handler/src/main/ets/NativeViewGestureHandler.ts +0 -115
  66. package/harmony/gesture_handler/src/main/ets/OutgoingEvent.ts +0 -34
  67. package/harmony/gesture_handler/src/main/ets/PanGestureHandler.ts +0 -328
  68. package/harmony/gesture_handler/src/main/ets/PointerTracker.ts +0 -239
  69. package/harmony/gesture_handler/src/main/ets/RNGHError.ts +0 -5
  70. package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +0 -48
  71. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerArkTS.ts +0 -60
  72. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerCAPI.ts +0 -87
  73. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerButton.ets +0 -38
  74. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerModule.ts +0 -183
  75. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerRootView.ets +0 -53
  76. package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +0 -23
  77. package/harmony/gesture_handler/src/main/ets/State.ts +0 -47
  78. package/harmony/gesture_handler/src/main/ets/TapGestureHandler.ts +0 -206
  79. package/harmony/gesture_handler/src/main/ets/Vector2D.ts +0 -36
  80. package/harmony/gesture_handler/src/main/ets/VelocityTracker.ts +0 -98
  81. package/harmony/gesture_handler/src/main/ets/View.ts +0 -71
  82. package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +0 -43
  83. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerButton.ts +0 -140
  84. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +0 -25
  85. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerRootView.ts +0 -101
  86. package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +0 -3
  87. package/harmony/gesture_handler/src/main/ets/pages/Index.ets +0 -17
  88. package/harmony/gesture_handler/src/main/ets/types.ts +0 -25
  89. package/harmony/gesture_handler/src/main/ets/webviewability/WebviewAbility.ts +0 -41
  90. package/harmony/gesture_handler/src/main/module.json5 +0 -7
  91. package/harmony/gesture_handler/src/main/resources/base/element/color.json +0 -8
  92. package/harmony/gesture_handler/src/main/resources/base/element/string.json +0 -16
  93. package/harmony/gesture_handler/src/main/resources/base/media/icon.png +0 -0
  94. package/harmony/gesture_handler/src/main/resources/base/profile/main_pages.json +0 -5
  95. package/harmony/gesture_handler/src/main/resources/en_US/element/string.json +0 -16
  96. package/harmony/gesture_handler/src/main/resources/zh_CN/element/string.json +0 -16
  97. package/harmony/gesture_handler/ts.ts +0 -2
@@ -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,17 @@ 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';
102
- 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
18
 
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';
19
+ // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
157
20
 
21
+ export { RawButton, BaseButton, RectButton, BorderlessButton, PureNativeButton } from 'react-native-gesture-handler/src/components/GestureButtons';
22
+ export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback } from 'react-native-gesture-handler/src/components/touchables';
23
+ export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl } from 'react-native-gesture-handler/src/components/GestureComponents';
24
+ export { default as Swipeable } from 'react-native-gesture-handler/src/components/Swipeable';
25
+ export { default as DrawerLayout } from 'react-native-gesture-handler/src/components/DrawerLayout';
26
+ export { enableExperimentalWebImplementation, enableLegacyWebImplementation } from 'react-native-gesture-handler/src/EnableNewWebImplementation';
158
27
  initialize();
159
28
  //# 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","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;;AAOA,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,SAASvB,OAAO,IAAIwB,SAAS,QAAQ,uDAAuD;AAS5F,SAASxB,OAAO,IAAIyB,YAAY,QAAQ,0DAA0D;AAElG,SACEC,mCAAmC,EACnCC,6BAA6B,QACxB,6DAA6D;AAEpE9B,UAAU,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../src","sources":["specs/NativeRNGestureHandlerModule.ts"],"mappings":"AAAA,SAASA,mBAAmB,QAAqB,cAAc;AAyB/D,eAAeA,mBAAmB,CAACC,YAAY,CAAO,wBAAwB,CAAC"}
1
+ {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"..\\..\\..\\src","sources":["specs/NativeRNGestureHandlerModule.ts"],"mappings":"AAAA,SAASA,mBAAmB,QAAqB,cAAc;AAyB/D,eAAeA,mBAAmB,CAACC,YAAY,CAAO,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerButtonNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAiB5F,eAAeA,sBAAsB,CAAc,wBAAwB,CAAC"}
1
+ {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"..\\..\\..\\src","sources":["specs/RNGestureHandlerButtonNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAiB5F,eAAeA,sBAAsB,CAAc,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerRootViewNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAK5F,eAAeA,sBAAsB,CAAc,0BAA0B,CAAC"}
1
+ {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"..\\..\\..\\src","sources":["specs/RNGestureHandlerRootViewNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAK5F,eAAeA,sBAAsB,CAAc,0BAA0B,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const RNGestureHandlerModule: import("../src/specs/NativeRNGestureHandlerModule").Spec;
2
- export default RNGestureHandlerModule;
1
+ declare const RNGestureHandlerModule: import("../src/specs/NativeRNGestureHandlerModule").Spec;
2
+ export default RNGestureHandlerModule;
3
3
  //# sourceMappingURL=RNGestureHandlerModule.d.ts.map
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { ViewProps } from 'react-native';
4
- export interface GestureHandlerRootViewProps extends PropsWithChildren<ViewProps> {
5
- }
6
- export default function GestureHandlerRootView(props: GestureHandlerRootViewProps): React.JSX.Element;
1
+ import * as React from 'react';
2
+ import { PropsWithChildren } from 'react';
3
+ import { ViewProps } from 'react-native';
4
+ export interface GestureHandlerRootViewProps extends PropsWithChildren<ViewProps> {
5
+ }
6
+ export default function GestureHandlerRootView(props: GestureHandlerRootViewProps): React.JSX.Element;
7
7
  //# sourceMappingURL=GestureHandlerRootView.d.ts.map
@@ -1,12 +1,12 @@
1
- import * as React from 'react';
2
- import { BaseGestureHandlerProps } from "react-native-gesture-handler/src/handlers/gestureHandlerCommon";
3
- declare type CreateHandlerArgs<HandlerPropsT extends Record<string, unknown>> = Readonly<{
4
- name: string;
5
- allowedProps: Readonly<Extract<keyof HandlerPropsT, string>[]>;
6
- config: Readonly<Record<string, unknown>>;
7
- transformProps?: (props: HandlerPropsT) => HandlerPropsT;
8
- customNativeProps?: Readonly<string[]>;
9
- }>;
10
- export default function createHandler<T extends BaseGestureHandlerProps<U>, U extends Record<string, unknown>>({ name, allowedProps, config, transformProps, customNativeProps, }: CreateHandlerArgs<T>): React.ComponentType<T & React.RefAttributes<any>>;
11
- export {};
1
+ import * as React from 'react';
2
+ import { BaseGestureHandlerProps } from "react-native-gesture-handler/src/handlers/gestureHandlerCommon";
3
+ declare type CreateHandlerArgs<HandlerPropsT extends Record<string, unknown>> = Readonly<{
4
+ name: string;
5
+ allowedProps: Readonly<Extract<keyof HandlerPropsT, string>[]>;
6
+ config: Readonly<Record<string, unknown>>;
7
+ transformProps?: (props: HandlerPropsT) => HandlerPropsT;
8
+ customNativeProps?: Readonly<string[]>;
9
+ }>;
10
+ export default function createHandler<T extends BaseGestureHandlerProps<U>, U extends Record<string, unknown>>({ name, allowedProps, config, transformProps, customNativeProps, }: CreateHandlerArgs<T>): React.ComponentType<T & React.RefAttributes<any>>;
11
+ export {};
12
12
  //# sourceMappingURL=createHandler.d.ts.map
@@ -1,10 +1,43 @@
1
- export { State } from 'react-native-gesture-handler/src/State';
2
- export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
3
- export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
4
- export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
5
- export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
6
- export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
7
- 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';
9
- export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl, } from 'react-native-gesture-handler/src/components/GestureComponents';
1
+ export { Directions } from 'react-native-gesture-handler/src/Directions';
2
+ export { State } from 'react-native-gesture-handler/src/State';
3
+ export { default as gestureHandlerRootHOC } from 'react-native-gesture-handler/src/components/gestureHandlerRootHOC';
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';
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';
17
+ export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
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';
21
+ export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
22
+ export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
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 type { RawButtonProps, BaseButtonProps, RectButtonProps, BorderlessButtonProps, } from 'react-native-gesture-handler/src/components/GestureButtons';
35
+ export { RawButton, BaseButton, RectButton, BorderlessButton, PureNativeButton, } from 'react-native-gesture-handler/src/components/GestureButtons';
36
+ export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, } from 'react-native-gesture-handler/src/components/touchables';
37
+ export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl, } from 'react-native-gesture-handler/src/components/GestureComponents';
38
+ 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';
39
+ export { default as Swipeable } from 'react-native-gesture-handler/src/components/Swipeable';
40
+ export type { DrawerLayoutProps, DrawerPosition, DrawerState, DrawerType, DrawerLockMode, DrawerKeyboardDismissMode, } from 'react-native-gesture-handler/src/components/DrawerLayout';
41
+ export { default as DrawerLayout } from 'react-native-gesture-handler/src/components/DrawerLayout';
42
+ export { enableExperimentalWebImplementation, enableLegacyWebImplementation, } from 'react-native-gesture-handler/src/EnableNewWebImplementation';
10
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAexF,YAAY,EAAE,WAAW,EAAE,MAAM,4DAA4D,CAAC;AAgC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,6DAA6D,CAAC;AAGhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,6DAA6D,CAAC;AAShG,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAC;AACrG,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,mEAAmE,CAAC;AA+B9G,OAAO,EAGL,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,UAAU,EACV,MAAM,EACN,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,cAAc,GACf,MAAM,+DAA+D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
@@ -1,15 +1,15 @@
1
- import { TurboModule } from 'react-native';
2
- import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface Spec extends TurboModule {
4
- handleSetJSResponder: (tag: Int32, blockNativeResponder: boolean) => void;
5
- handleClearJSResponder: () => void;
6
- createGestureHandler: (handlerName: string, handlerTag: Int32, config: Object) => void;
7
- attachGestureHandler: (handlerTag: Int32, newView: Int32, actionType: Int32) => void;
8
- updateGestureHandler: (handlerTag: Int32, newConfig: Object) => void;
9
- dropGestureHandler: (handlerTag: Int32) => void;
10
- install: () => boolean;
11
- flushOperations: () => void;
12
- }
13
- declare const _default: Spec;
14
- export default _default;
1
+ import { TurboModule } from 'react-native';
2
+ import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
3
+ export interface Spec extends TurboModule {
4
+ handleSetJSResponder: (tag: Int32, blockNativeResponder: boolean) => void;
5
+ handleClearJSResponder: () => void;
6
+ createGestureHandler: (handlerName: string, handlerTag: Int32, config: Object) => void;
7
+ attachGestureHandler: (handlerTag: Int32, newView: Int32, actionType: Int32) => void;
8
+ updateGestureHandler: (handlerTag: Int32, newConfig: Object) => void;
9
+ dropGestureHandler: (handlerTag: Int32) => void;
10
+ install: () => boolean;
11
+ flushOperations: () => void;
12
+ }
13
+ declare const _default: Spec;
14
+ export default _default;
15
15
  //# sourceMappingURL=NativeRNGestureHandlerModule.d.ts.map
@@ -1,15 +1,15 @@
1
- /// <reference types="react-native/types/modules/codegen" />
2
- import type { Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
3
- import type { ViewProps, ColorValue } from 'react-native';
4
- interface NativeProps extends ViewProps {
5
- exclusive?: WithDefault<boolean, true>;
6
- foreground?: boolean;
7
- borderless?: boolean;
8
- enabled?: WithDefault<boolean, true>;
9
- rippleColor?: ColorValue;
10
- rippleRadius?: Int32;
11
- touchSoundDisabled?: WithDefault<boolean, false>;
12
- }
13
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
14
- export default _default;
1
+ /// <reference types="react-native/types/modules/codegen" />
2
+ import type { Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
3
+ import type { ViewProps, ColorValue } from 'react-native';
4
+ interface NativeProps extends ViewProps {
5
+ exclusive?: WithDefault<boolean, true>;
6
+ foreground?: boolean;
7
+ borderless?: boolean;
8
+ enabled?: WithDefault<boolean, true>;
9
+ rippleColor?: ColorValue;
10
+ rippleRadius?: Int32;
11
+ touchSoundDisabled?: WithDefault<boolean, false>;
12
+ }
13
+ declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
14
+ export default _default;
15
15
  //# sourceMappingURL=RNGestureHandlerButtonNativeComponent.d.ts.map
@@ -1,7 +1,7 @@
1
- /// <reference types="react-native/types/modules/codegen" />
2
- import type { ViewProps } from 'react-native';
3
- interface NativeProps extends ViewProps {
4
- }
5
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
6
- export default _default;
1
+ /// <reference types="react-native/types/modules/codegen" />
2
+ import type { ViewProps } from 'react-native';
3
+ interface NativeProps extends ViewProps {
4
+ }
5
+ declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
6
+ export default _default;
7
7
  //# sourceMappingURL=RNGestureHandlerRootViewNativeComponent.d.ts.map
package/package.json CHANGED
@@ -1,66 +1,69 @@
1
- {
2
- "name": "@react-native-oh-tpl/react-native-gesture-handler",
3
- "harmony": {
4
- "alias": "react-native-gesture-handler",
5
- "redirectInternalImports": true
6
- },
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/react-native-oh-library/react-native-harmony-gesture-handler.git"
10
- },
11
- "version": "2.12.9",
12
- "description": "",
13
- "react-native": "src/index.ts",
14
- "main": "lib/commonjs/index.js",
15
- "module": "lib/module/index.js",
16
- "types": "lib/typescript/index.d.ts",
17
- "scripts": {
18
- "prepack": "bob build",
19
- "test": "jest",
20
- "pack:harmony": "react-native pack-harmony --oh-module-path ../tester/harmony/react_native_modules/gesture_handler --harmony-dir-path ./harmony --package-json-path ./package.json",
21
- "pack:prod": "npm run pack:harmony && npm pack"
22
- },
23
- "peerDependencies": {
24
- "react": "*",
25
- "react-native": "*",
26
- "react-native-harmony": "*"
27
- },
28
- "keywords": [],
29
- "author": "",
30
- "license": "ISC",
31
- "dependencies": {
32
- "react-native-gesture-handler": "2.12.1"
33
- },
34
- "devDependencies": {
35
- "@babel/core": "^7.12.9",
36
- "@babel/plugin-proposal-class-properties": "^7.12.1",
37
- "@babel/preset-env": "^7.12.11",
38
- "@babel/preset-typescript": "^7.12.7",
39
- "@babel/runtime": "^7.12.5",
40
- "@types/react": "^18.2.18",
41
- "metro-react-native-babel-preset": "^0.64.0",
42
- "react": "^18.2.0",
43
- "react-native": "^0.72.0",
44
- "react-native-builder-bob": "^0.21.3",
45
- "typescript": "4.5.5"
46
- },
47
- "files": [
48
- "harmony",
49
- "src",
50
- "lib"
51
- ],
52
- "react-native-builder-bob": {
53
- "source": "src",
54
- "output": "lib",
55
- "targets": [
56
- "commonjs",
57
- "module",
58
- [
59
- "typescript",
60
- {
61
- "project": "tsconfig.build.json"
62
- }
63
- ]
64
- ]
65
- }
66
- }
1
+ {
2
+ "name": "@react-native-oh-tpl/react-native-gesture-handler",
3
+ "harmony": {
4
+ "alias": "react-native-gesture-handler",
5
+ "redirectInternalImports": true
6
+ },
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/react-native-oh-library/react-native-harmony-gesture-handler.git"
10
+ },
11
+ "version": "2.14.4-1",
12
+ "description": "",
13
+ "react-native": "src/index.ts",
14
+ "main": "lib/commonjs/index.js",
15
+ "module": "lib/module/index.js",
16
+ "types": "lib/typescript/index.d.ts",
17
+ "scripts": {
18
+ "prepack": "bob build",
19
+ "test": "jest",
20
+ "pack:prod": "npm pack",
21
+ "update_version": "node ./scripts/update-version.js",
22
+ "deploy": "node ./scripts/deploy.js"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "*",
26
+ "react-native": "*",
27
+ "react-native-harmony": "./rnoh-react-native-harmony-0.72.23.tgz",
28
+ "react-native-gesture-handler": "2.14.1"
29
+ },
30
+ "keywords": [],
31
+ "author": "",
32
+ "license": "ISC",
33
+ "devDependencies": {
34
+ "@types/hoist-non-react-statics": "^3.3.1",
35
+ "react-native-gesture-handler": "2.14.1",
36
+ "@babel/core": "^7.12.9",
37
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
38
+ "@babel/preset-env": "^7.12.11",
39
+ "@babel/preset-typescript": "^7.12.7",
40
+ "@babel/runtime": "^7.12.5",
41
+ "@types/react": "^18.2.18",
42
+ "metro-react-native-babel-preset": "^0.64.0",
43
+ "react": "^18.2.0",
44
+ "react-native": "^0.72.0",
45
+ "react-native-builder-bob": "^0.21.3",
46
+ "typescript": "4.5.5"
47
+ },
48
+ "files": [
49
+ "harmony",
50
+ "src",
51
+ "lib",
52
+ "DrawerLayout/",
53
+ "Swipeable/"
54
+ ],
55
+ "react-native-builder-bob": {
56
+ "source": "src",
57
+ "output": "lib",
58
+ "targets": [
59
+ "commonjs",
60
+ "module",
61
+ [
62
+ "typescript",
63
+ {
64
+ "project": "tsconfig.build.json"
65
+ }
66
+ ]
67
+ ]
68
+ }
69
+ }
@@ -1,5 +1,5 @@
1
- import NativeRNGestureHandlerModule from '../src/specs/NativeRNGestureHandlerModule';
2
-
3
- const RNGestureHandlerModule = NativeRNGestureHandlerModule;
4
-
1
+ import NativeRNGestureHandlerModule from '../src/specs/NativeRNGestureHandlerModule';
2
+
3
+ const RNGestureHandlerModule = NativeRNGestureHandlerModule;
4
+
5
5
  export default RNGestureHandlerModule;
@@ -1,23 +1,23 @@
1
- import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import { ViewProps } from 'react-native';
4
- import { maybeInitializeFabric } from "react-native-gesture-handler/src/init";
5
- import GestureHandlerRootViewContext from 'react-native-gesture-handler/src/GestureHandlerRootViewContext';
6
- import RNGestureHandlerRootViewNativeComponent from '../specs/RNGestureHandlerRootViewNativeComponent';
7
- export interface GestureHandlerRootViewProps
8
- extends PropsWithChildren<ViewProps> {}
9
-
10
- export default function GestureHandlerRootView(
11
- props: GestureHandlerRootViewProps
12
- ) {
13
- // try initialize fabric on the first render, at this point we can
14
- // reliably check if fabric is enabled (the function contains a flag
15
- // to make sure it's called only once)
16
- maybeInitializeFabric();
17
-
18
- return (
19
- <GestureHandlerRootViewContext.Provider value>
20
- <RNGestureHandlerRootViewNativeComponent {...props} />
21
- </GestureHandlerRootViewContext.Provider>
22
- );
23
- }
1
+ import * as React from 'react';
2
+ import { PropsWithChildren } from 'react';
3
+ import { ViewProps } from 'react-native';
4
+ import { maybeInitializeFabric } from "react-native-gesture-handler/src/init";
5
+ import GestureHandlerRootViewContext from 'react-native-gesture-handler/src/GestureHandlerRootViewContext';
6
+ import RNGestureHandlerRootViewNativeComponent from '../specs/RNGestureHandlerRootViewNativeComponent';
7
+ export interface GestureHandlerRootViewProps
8
+ extends PropsWithChildren<ViewProps> {}
9
+
10
+ export default function GestureHandlerRootView(
11
+ props: GestureHandlerRootViewProps
12
+ ) {
13
+ // try initialize fabric on the first render, at this point we can
14
+ // reliably check if fabric is enabled (the function contains a flag
15
+ // to make sure it's called only once)
16
+ maybeInitializeFabric();
17
+
18
+ return (
19
+ <GestureHandlerRootViewContext.Provider value>
20
+ <RNGestureHandlerRootViewNativeComponent {...props} />
21
+ </GestureHandlerRootViewContext.Provider>
22
+ );
23
+ }