react-native-gesture-handler 2.1.2 → 2.1.3
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/commonjs/index.js +0 -106
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +0 -11
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/handlers/ForceTouchGestureHandler.d.ts +1 -1
- package/lib/typescript/handlers/handlersRegistry.d.ts +1 -1
- package/lib/typescript/index.d.ts +11 -11
- package/lib/typescript/web/constants.d.ts +0 -1
- package/package.json +1 -1
- package/src/index.ts +11 -11
package/lib/commonjs/index.js
CHANGED
@@ -87,90 +87,6 @@ Object.defineProperty(exports, "Gesture", {
|
|
87
87
|
return _gestureObjects.GestureObjects;
|
88
88
|
}
|
89
89
|
});
|
90
|
-
Object.defineProperty(exports, "TapGesture", {
|
91
|
-
enumerable: true,
|
92
|
-
get: function () {
|
93
|
-
return _tapGesture.TapGestureType;
|
94
|
-
}
|
95
|
-
});
|
96
|
-
Object.defineProperty(exports, "PanGesture", {
|
97
|
-
enumerable: true,
|
98
|
-
get: function () {
|
99
|
-
return _panGesture.PanGestureType;
|
100
|
-
}
|
101
|
-
});
|
102
|
-
Object.defineProperty(exports, "FlingGesture", {
|
103
|
-
enumerable: true,
|
104
|
-
get: function () {
|
105
|
-
return _flingGesture.FlingGestureType;
|
106
|
-
}
|
107
|
-
});
|
108
|
-
Object.defineProperty(exports, "LongPressGesture", {
|
109
|
-
enumerable: true,
|
110
|
-
get: function () {
|
111
|
-
return _longPressGesture.LongPressGestureType;
|
112
|
-
}
|
113
|
-
});
|
114
|
-
Object.defineProperty(exports, "PinchGesture", {
|
115
|
-
enumerable: true,
|
116
|
-
get: function () {
|
117
|
-
return _pinchGesture.PinchGestureType;
|
118
|
-
}
|
119
|
-
});
|
120
|
-
Object.defineProperty(exports, "RotationGesture", {
|
121
|
-
enumerable: true,
|
122
|
-
get: function () {
|
123
|
-
return _rotationGesture.RotationGestureType;
|
124
|
-
}
|
125
|
-
});
|
126
|
-
Object.defineProperty(exports, "ForceTouchGesture", {
|
127
|
-
enumerable: true,
|
128
|
-
get: function () {
|
129
|
-
return _forceTouchGesture.ForceTouchGestureType;
|
130
|
-
}
|
131
|
-
});
|
132
|
-
Object.defineProperty(exports, "NativeGesture", {
|
133
|
-
enumerable: true,
|
134
|
-
get: function () {
|
135
|
-
return _nativeGesture.NativeGestureType;
|
136
|
-
}
|
137
|
-
});
|
138
|
-
Object.defineProperty(exports, "ManualGesture", {
|
139
|
-
enumerable: true,
|
140
|
-
get: function () {
|
141
|
-
return _manualGesture.ManualGestureType;
|
142
|
-
}
|
143
|
-
});
|
144
|
-
Object.defineProperty(exports, "ComposedGesture", {
|
145
|
-
enumerable: true,
|
146
|
-
get: function () {
|
147
|
-
return _gestureComposition.ComposedGestureType;
|
148
|
-
}
|
149
|
-
});
|
150
|
-
Object.defineProperty(exports, "RaceGesture", {
|
151
|
-
enumerable: true,
|
152
|
-
get: function () {
|
153
|
-
return _gestureComposition.RaceGestureType;
|
154
|
-
}
|
155
|
-
});
|
156
|
-
Object.defineProperty(exports, "SimultaneousGesture", {
|
157
|
-
enumerable: true,
|
158
|
-
get: function () {
|
159
|
-
return _gestureComposition.SimultaneousGestureType;
|
160
|
-
}
|
161
|
-
});
|
162
|
-
Object.defineProperty(exports, "ExclusiveGesture", {
|
163
|
-
enumerable: true,
|
164
|
-
get: function () {
|
165
|
-
return _gestureComposition.ExclusiveGestureType;
|
166
|
-
}
|
167
|
-
});
|
168
|
-
Object.defineProperty(exports, "GestureStateManager", {
|
169
|
-
enumerable: true,
|
170
|
-
get: function () {
|
171
|
-
return _gestureStateManager.GestureStateManagerType;
|
172
|
-
}
|
173
|
-
});
|
174
90
|
Object.defineProperty(exports, "NativeViewGestureHandler", {
|
175
91
|
enumerable: true,
|
176
92
|
get: function () {
|
@@ -298,28 +214,6 @@ var _GestureDetector = require("./handlers/gestures/GestureDetector");
|
|
298
214
|
|
299
215
|
var _gestureObjects = require("./handlers/gestures/gestureObjects");
|
300
216
|
|
301
|
-
var _tapGesture = require("./handlers/gestures/tapGesture");
|
302
|
-
|
303
|
-
var _panGesture = require("./handlers/gestures/panGesture");
|
304
|
-
|
305
|
-
var _flingGesture = require("./handlers/gestures/flingGesture");
|
306
|
-
|
307
|
-
var _longPressGesture = require("./handlers/gestures/longPressGesture");
|
308
|
-
|
309
|
-
var _pinchGesture = require("./handlers/gestures/pinchGesture");
|
310
|
-
|
311
|
-
var _rotationGesture = require("./handlers/gestures/rotationGesture");
|
312
|
-
|
313
|
-
var _forceTouchGesture = require("./handlers/gestures/forceTouchGesture");
|
314
|
-
|
315
|
-
var _nativeGesture = require("./handlers/gestures/nativeGesture");
|
316
|
-
|
317
|
-
var _manualGesture = require("./handlers/gestures/manualGesture");
|
318
|
-
|
319
|
-
var _gestureComposition = require("./handlers/gestures/gestureComposition");
|
320
|
-
|
321
|
-
var _gestureStateManager = require("./handlers/gestures/gestureStateManager");
|
322
|
-
|
323
217
|
var _NativeViewGestureHandler = require("./handlers/NativeViewGestureHandler");
|
324
218
|
|
325
219
|
var _GestureButtons = require("./components/GestureButtons");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AA4CA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAKA;;AACA;;AAiBA;;AAOA;;AAMA;;AAMA;;AA8CA;;AASA;;;;AAEA","sourcesContent":["import { initialize } from './init';\n\nexport { Directions } from './Directions';\nexport { State } from './State';\nexport { default as gestureHandlerRootHOC } from './gestureHandlerRootHOC';\nexport { default as GestureHandlerRootView } from './GestureHandlerRootView';\nexport type {\n // event types\n GestureEvent,\n HandlerStateChangeEvent,\n // event payloads types\n GestureEventPayload,\n HandlerStateChangeEventPayload,\n // pointer events\n GestureTouchEvent,\n TouchData,\n // new api event types\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from './handlers/gestureHandlerCommon';\nexport type { GestureType } from './handlers/gestures/gesture';\nexport type {\n TapGestureHandlerEventPayload,\n TapGestureHandlerProps,\n} from './handlers/TapGestureHandler';\nexport type {\n ForceTouchGestureHandlerEventPayload,\n ForceTouchGestureHandlerProps,\n} from './handlers/ForceTouchGestureHandler';\nexport type {\n LongPressGestureHandlerEventPayload,\n LongPressGestureHandlerProps,\n} from './handlers/LongPressGestureHandler';\nexport type {\n PanGestureHandlerEventPayload,\n PanGestureHandlerProps,\n} from './handlers/PanGestureHandler';\nexport type {\n PinchGestureHandlerEventPayload,\n PinchGestureHandlerProps,\n} from './handlers/PinchGestureHandler';\nexport type {\n RotationGestureHandlerEventPayload,\n RotationGestureHandlerProps,\n} from './handlers/RotationGestureHandler';\nexport type {\n FlingGestureHandlerEventPayload,\n FlingGestureHandlerProps,\n} from './handlers/FlingGestureHandler';\nexport { TapGestureHandler } from './handlers/TapGestureHandler';\nexport { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';\nexport { LongPressGestureHandler } from './handlers/LongPressGestureHandler';\nexport { PanGestureHandler } from './handlers/PanGestureHandler';\nexport { PinchGestureHandler } from './handlers/PinchGestureHandler';\nexport { RotationGestureHandler } from './handlers/RotationGestureHandler';\nexport { FlingGestureHandler } from './handlers/FlingGestureHandler';\nexport { default as createNativeWrapper } from './handlers/createNativeWrapper';\nexport type {\n NativeViewGestureHandlerPayload,\n NativeViewGestureHandlerProps,\n} from './handlers/NativeViewGestureHandler';\nexport { GestureDetector } from './handlers/gestures/GestureDetector';\nexport { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';\nexport type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';\nexport type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';\nexport type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';\nexport type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';\nexport type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';\nexport type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';\nexport type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';\nexport type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';\nexport type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';\nexport type {\n ComposedGestureType as ComposedGesture,\n RaceGestureType as RaceGesture,\n SimultaneousGestureType as SimultaneousGesture,\n ExclusiveGestureType as ExclusiveGesture,\n} from './handlers/gestures/gestureComposition';\nexport type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';\nexport { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';\nexport type {\n RawButtonProps,\n BaseButtonProps,\n RectButtonProps,\n BorderlessButtonProps,\n} from './components/GestureButtons';\nexport {\n RawButton,\n BaseButton,\n RectButton,\n BorderlessButton,\n} from './components/GestureButtons';\nexport {\n TouchableHighlight,\n TouchableNativeFeedback,\n TouchableOpacity,\n TouchableWithoutFeedback,\n} from './components/touchables';\nexport {\n ScrollView,\n Switch,\n TextInput,\n DrawerLayoutAndroid,\n FlatList,\n} from './components/GestureComponents';\nexport type {\n //events\n GestureHandlerGestureEvent,\n GestureHandlerStateChangeEvent,\n //event payloads\n GestureHandlerGestureEventNativeEvent,\n GestureHandlerStateChangeNativeEvent,\n NativeViewGestureHandlerGestureEvent,\n NativeViewGestureHandlerStateChangeEvent,\n TapGestureHandlerGestureEvent,\n TapGestureHandlerStateChangeEvent,\n ForceTouchGestureHandlerGestureEvent,\n ForceTouchGestureHandlerStateChangeEvent,\n LongPressGestureHandlerGestureEvent,\n LongPressGestureHandlerStateChangeEvent,\n PanGestureHandlerGestureEvent,\n PanGestureHandlerStateChangeEvent,\n PinchGestureHandlerGestureEvent,\n PinchGestureHandlerStateChangeEvent,\n RotationGestureHandlerGestureEvent,\n RotationGestureHandlerStateChangeEvent,\n FlingGestureHandlerGestureEvent,\n FlingGestureHandlerStateChangeEvent,\n // handlers props\n NativeViewGestureHandlerProperties,\n TapGestureHandlerProperties,\n LongPressGestureHandlerProperties,\n PanGestureHandlerProperties,\n PinchGestureHandlerProperties,\n RotationGestureHandlerProperties,\n FlingGestureHandlerProperties,\n ForceTouchGestureHandlerProperties,\n // buttons props\n RawButtonProperties,\n BaseButtonProperties,\n RectButtonProperties,\n BorderlessButtonProperties,\n} from './handlers/gestureHandlerTypesCompat';\n\nexport { default as Swipeable } from './components/Swipeable';\nexport type {\n DrawerLayoutProps,\n DrawerPosition,\n DrawerState,\n DrawerType,\n DrawerLockMode,\n DrawerKeyboardDismissMode,\n} from './components/DrawerLayout';\nexport { default as DrawerLayout } from './components/DrawerLayout';\n\ninitialize();\n"]}
|
package/lib/module/index.js
CHANGED
@@ -13,17 +13,6 @@ export { FlingGestureHandler } from './handlers/FlingGestureHandler';
|
|
13
13
|
export { default as createNativeWrapper } from './handlers/createNativeWrapper';
|
14
14
|
export { GestureDetector } from './handlers/gestures/GestureDetector';
|
15
15
|
export { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';
|
16
|
-
export { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
17
|
-
export { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
18
|
-
export { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
19
|
-
export { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
20
|
-
export { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
21
|
-
export { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
22
|
-
export { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
23
|
-
export { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
24
|
-
export { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
25
|
-
export { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture } from './handlers/gestures/gestureComposition';
|
26
|
-
export { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
27
16
|
export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
28
17
|
export { RawButton, BaseButton, RectButton, BorderlessButton } from './components/GestureButtons';
|
29
18
|
export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback } from './components/touchables';
|
package/lib/module/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":["initialize","Directions","State","default","gestureHandlerRootHOC","GestureHandlerRootView","TapGestureHandler","ForceTouchGestureHandler","LongPressGestureHandler","PanGestureHandler","PinchGestureHandler","RotationGestureHandler","FlingGestureHandler","createNativeWrapper","GestureDetector","GestureObjects","Gesture","
|
1
|
+
{"version":3,"sources":["index.ts"],"names":["initialize","Directions","State","default","gestureHandlerRootHOC","GestureHandlerRootView","TapGestureHandler","ForceTouchGestureHandler","LongPressGestureHandler","PanGestureHandler","PinchGestureHandler","RotationGestureHandler","FlingGestureHandler","createNativeWrapper","GestureDetector","GestureObjects","Gesture","NativeViewGestureHandler","RawButton","BaseButton","RectButton","BorderlessButton","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","ScrollView","Switch","TextInput","DrawerLayoutAndroid","FlatList","Swipeable","DrawerLayout"],"mappings":"AAAA,SAASA,UAAT,QAA2B,QAA3B;AAEA,SAASC,UAAT,QAA2B,cAA3B;AACA,SAASC,KAAT,QAAsB,SAAtB;AACA,SAASC,OAAO,IAAIC,qBAApB,QAAiD,yBAAjD;AACA,SAASD,OAAO,IAAIE,sBAApB,QAAkD,0BAAlD;AA4CA,SAASC,iBAAT,QAAkC,8BAAlC;AACA,SAASC,wBAAT,QAAyC,qCAAzC;AACA,SAASC,uBAAT,QAAwC,oCAAxC;AACA,SAASC,iBAAT,QAAkC,8BAAlC;AACA,SAASC,mBAAT,QAAoC,gCAApC;AACA,SAASC,sBAAT,QAAuC,mCAAvC;AACA,SAASC,mBAAT,QAAoC,gCAApC;AACA,SAAST,OAAO,IAAIU,mBAApB,QAA+C,gCAA/C;AAKA,SAASC,eAAT,QAAgC,qCAAhC;AACA,SAASC,cAAc,IAAIC,OAA3B,QAA0C,oCAA1C;AAiBA,SAASC,wBAAT,QAAyC,qCAAzC;AAOA,SACEC,SADF,EAEEC,UAFF,EAGEC,UAHF,EAIEC,gBAJF,QAKO,6BALP;AAMA,SACEC,kBADF,EAEEC,uBAFF,EAGEC,gBAHF,EAIEC,wBAJF,QAKO,yBALP;AAMA,SACEC,UADF,EAEEC,MAFF,EAGEC,SAHF,EAIEC,mBAJF,EAKEC,QALF,QAMO,gCANP;AA8CA,SAAS3B,OAAO,IAAI4B,SAApB,QAAqC,wBAArC;AASA,SAAS5B,OAAO,IAAI6B,YAApB,QAAwC,2BAAxC;AAEAhC,UAAU","sourcesContent":["import { initialize } from './init';\n\nexport { Directions } from './Directions';\nexport { State } from './State';\nexport { default as gestureHandlerRootHOC } from './gestureHandlerRootHOC';\nexport { default as GestureHandlerRootView } from './GestureHandlerRootView';\nexport type {\n // event types\n GestureEvent,\n HandlerStateChangeEvent,\n // event payloads types\n GestureEventPayload,\n HandlerStateChangeEventPayload,\n // pointer events\n GestureTouchEvent,\n TouchData,\n // new api event types\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from './handlers/gestureHandlerCommon';\nexport type { GestureType } from './handlers/gestures/gesture';\nexport type {\n TapGestureHandlerEventPayload,\n TapGestureHandlerProps,\n} from './handlers/TapGestureHandler';\nexport type {\n ForceTouchGestureHandlerEventPayload,\n ForceTouchGestureHandlerProps,\n} from './handlers/ForceTouchGestureHandler';\nexport type {\n LongPressGestureHandlerEventPayload,\n LongPressGestureHandlerProps,\n} from './handlers/LongPressGestureHandler';\nexport type {\n PanGestureHandlerEventPayload,\n PanGestureHandlerProps,\n} from './handlers/PanGestureHandler';\nexport type {\n PinchGestureHandlerEventPayload,\n PinchGestureHandlerProps,\n} from './handlers/PinchGestureHandler';\nexport type {\n RotationGestureHandlerEventPayload,\n RotationGestureHandlerProps,\n} from './handlers/RotationGestureHandler';\nexport type {\n FlingGestureHandlerEventPayload,\n FlingGestureHandlerProps,\n} from './handlers/FlingGestureHandler';\nexport { TapGestureHandler } from './handlers/TapGestureHandler';\nexport { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';\nexport { LongPressGestureHandler } from './handlers/LongPressGestureHandler';\nexport { PanGestureHandler } from './handlers/PanGestureHandler';\nexport { PinchGestureHandler } from './handlers/PinchGestureHandler';\nexport { RotationGestureHandler } from './handlers/RotationGestureHandler';\nexport { FlingGestureHandler } from './handlers/FlingGestureHandler';\nexport { default as createNativeWrapper } from './handlers/createNativeWrapper';\nexport type {\n NativeViewGestureHandlerPayload,\n NativeViewGestureHandlerProps,\n} from './handlers/NativeViewGestureHandler';\nexport { GestureDetector } from './handlers/gestures/GestureDetector';\nexport { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';\nexport type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';\nexport type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';\nexport type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';\nexport type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';\nexport type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';\nexport type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';\nexport type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';\nexport type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';\nexport type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';\nexport type {\n ComposedGestureType as ComposedGesture,\n RaceGestureType as RaceGesture,\n SimultaneousGestureType as SimultaneousGesture,\n ExclusiveGestureType as ExclusiveGesture,\n} from './handlers/gestures/gestureComposition';\nexport type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';\nexport { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';\nexport type {\n RawButtonProps,\n BaseButtonProps,\n RectButtonProps,\n BorderlessButtonProps,\n} from './components/GestureButtons';\nexport {\n RawButton,\n BaseButton,\n RectButton,\n BorderlessButton,\n} from './components/GestureButtons';\nexport {\n TouchableHighlight,\n TouchableNativeFeedback,\n TouchableOpacity,\n TouchableWithoutFeedback,\n} from './components/touchables';\nexport {\n ScrollView,\n Switch,\n TextInput,\n DrawerLayoutAndroid,\n FlatList,\n} from './components/GestureComponents';\nexport type {\n //events\n GestureHandlerGestureEvent,\n GestureHandlerStateChangeEvent,\n //event payloads\n GestureHandlerGestureEventNativeEvent,\n GestureHandlerStateChangeNativeEvent,\n NativeViewGestureHandlerGestureEvent,\n NativeViewGestureHandlerStateChangeEvent,\n TapGestureHandlerGestureEvent,\n TapGestureHandlerStateChangeEvent,\n ForceTouchGestureHandlerGestureEvent,\n ForceTouchGestureHandlerStateChangeEvent,\n LongPressGestureHandlerGestureEvent,\n LongPressGestureHandlerStateChangeEvent,\n PanGestureHandlerGestureEvent,\n PanGestureHandlerStateChangeEvent,\n PinchGestureHandlerGestureEvent,\n PinchGestureHandlerStateChangeEvent,\n RotationGestureHandlerGestureEvent,\n RotationGestureHandlerStateChangeEvent,\n FlingGestureHandlerGestureEvent,\n FlingGestureHandlerStateChangeEvent,\n // handlers props\n NativeViewGestureHandlerProperties,\n TapGestureHandlerProperties,\n LongPressGestureHandlerProperties,\n PanGestureHandlerProperties,\n PinchGestureHandlerProperties,\n RotationGestureHandlerProperties,\n FlingGestureHandlerProperties,\n ForceTouchGestureHandlerProperties,\n // buttons props\n RawButtonProperties,\n BaseButtonProperties,\n RectButtonProperties,\n BorderlessButtonProperties,\n} from './handlers/gestureHandlerTypesCompat';\n\nexport { default as Swipeable } from './components/Swipeable';\nexport type {\n DrawerLayoutProps,\n DrawerPosition,\n DrawerState,\n DrawerType,\n DrawerLockMode,\n DrawerKeyboardDismissMode,\n} from './components/DrawerLayout';\nexport { default as DrawerLayout } from './components/DrawerLayout';\n\ninitialize();\n"]}
|
@@ -39,5 +39,5 @@ export interface ForceTouchGestureHandlerProps extends BaseGestureHandlerProps<F
|
|
39
39
|
export declare type ForceTouchGestureHandler = typeof ForceTouchGestureHandler & {
|
40
40
|
forceTouchAvailable: boolean;
|
41
41
|
};
|
42
|
-
export declare const ForceTouchGestureHandler: typeof ForceTouchFallback | React.
|
42
|
+
export declare const ForceTouchGestureHandler: typeof ForceTouchFallback | React.ComponentType<ForceTouchGestureHandlerProps & React.RefAttributes<any>>;
|
43
43
|
export {};
|
@@ -3,4 +3,4 @@ export declare const handlerIDToTag: Record<string, number>;
|
|
3
3
|
export declare function getNextHandlerTag(): number;
|
4
4
|
export declare function registerHandler(handlerTag: number, handler: GestureType): void;
|
5
5
|
export declare function unregisterHandler(handlerTag: number): void;
|
6
|
-
export declare function findHandler(handlerTag: number):
|
6
|
+
export declare function findHandler(handlerTag: number): GestureType | undefined;
|
@@ -22,17 +22,17 @@ export { default as createNativeWrapper } from './handlers/createNativeWrapper';
|
|
22
22
|
export type { NativeViewGestureHandlerPayload, NativeViewGestureHandlerProps, } from './handlers/NativeViewGestureHandler';
|
23
23
|
export { GestureDetector } from './handlers/gestures/GestureDetector';
|
24
24
|
export { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';
|
25
|
-
export { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
26
|
-
export { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
27
|
-
export { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
28
|
-
export { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
29
|
-
export { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
30
|
-
export { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
31
|
-
export { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
32
|
-
export { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
33
|
-
export { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
34
|
-
export { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture, } from './handlers/gestures/gestureComposition';
|
35
|
-
export { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
25
|
+
export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
26
|
+
export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
27
|
+
export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
28
|
+
export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
29
|
+
export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
30
|
+
export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
31
|
+
export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
32
|
+
export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
33
|
+
export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
34
|
+
export type { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture, } from './handlers/gestures/gestureComposition';
|
35
|
+
export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
36
36
|
export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
37
37
|
export type { RawButtonProps, BaseButtonProps, RectButtonProps, BorderlessButtonProps, } from './components/GestureButtons';
|
38
38
|
export { RawButton, BaseButton, RectButton, BorderlessButton, } from './components/GestureButtons';
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
@@ -61,22 +61,22 @@ export type {
|
|
61
61
|
} from './handlers/NativeViewGestureHandler';
|
62
62
|
export { GestureDetector } from './handlers/gestures/GestureDetector';
|
63
63
|
export { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';
|
64
|
-
export { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
65
|
-
export { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
66
|
-
export { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
67
|
-
export { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
68
|
-
export { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
69
|
-
export { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
70
|
-
export { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
71
|
-
export { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
72
|
-
export { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
73
|
-
export {
|
64
|
+
export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
65
|
+
export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
66
|
+
export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
67
|
+
export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
68
|
+
export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
69
|
+
export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
70
|
+
export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
71
|
+
export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
72
|
+
export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
73
|
+
export type {
|
74
74
|
ComposedGestureType as ComposedGesture,
|
75
75
|
RaceGestureType as RaceGesture,
|
76
76
|
SimultaneousGestureType as SimultaneousGesture,
|
77
77
|
ExclusiveGestureType as ExclusiveGesture,
|
78
78
|
} from './handlers/gestures/gestureComposition';
|
79
|
-
export { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
79
|
+
export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
80
80
|
export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
81
81
|
export type {
|
82
82
|
RawButtonProps,
|