@tamagui/react-native-use-responder-events
Advanced tools
Comparing version 1.0.1-rc.1.3 to 1.0.1-rc.1.4
{ | ||
"name": "@tamagui/react-native-use-responder-events", | ||
"version": "1.0.1-rc.1.3", | ||
"version": "1.0.1-rc.1.4", | ||
"types": "./types/index.d.ts", | ||
@@ -24,3 +24,3 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "^1.0.1-rc.1.3", | ||
"@tamagui/build": "^1.0.1-rc.1.4", | ||
"@types/react": "^18.0.15" | ||
@@ -27,0 +27,0 @@ }, |
@@ -7,3 +7,3 @@ /** | ||
import { ResponderTouchHistoryStore, TouchHistory } from './ResponderTouchHistoryStore'; | ||
export declare type ResponderEvent = { | ||
export type ResponderEvent = { | ||
bubbles: boolean; | ||
@@ -10,0 +10,0 @@ cancelable: boolean; |
@@ -7,4 +7,4 @@ /** | ||
import type { ResponderEvent } from './createResponderEvent'; | ||
declare type ResponderId = string; | ||
export declare type ResponderConfig = { | ||
type ResponderId = string; | ||
export type ResponderConfig = { | ||
onResponderEnd?: ((e: ResponderEvent) => void) | null; | ||
@@ -11,0 +11,0 @@ onResponderGrant?: ((e: ResponderEvent) => void | boolean) | null; |
@@ -8,3 +8,3 @@ /** | ||
import type { TouchEvent } from './types'; | ||
declare type TouchRecord = { | ||
type TouchRecord = { | ||
currentPageX: number; | ||
@@ -21,3 +21,3 @@ currentPageY: number; | ||
}; | ||
export declare type TouchHistory = { | ||
export type TouchHistory = { | ||
indexOfSingleActiveTouch: number; | ||
@@ -24,0 +24,0 @@ mostRecentTimeStamp: number; |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export declare type Touch = { | ||
export type Touch = { | ||
force: number; | ||
@@ -17,3 +17,3 @@ identifier: number; | ||
}; | ||
export declare type TouchEvent = { | ||
export type TouchEvent = { | ||
altKey: boolean; | ||
@@ -20,0 +20,0 @@ ctrlKey: boolean; |
231945