@tamagui/react-native-use-pressable
Advanced tools
Comparing version 1.110.5 to 1.111.0
@@ -205,3 +205,3 @@ "use strict"; | ||
var prevState = this._touchState, nextState = null; | ||
Transitions[prevState] != null && (nextState = Transitions[prevState][signal]), !(this._touchState === NOT_RESPONDER && signal === RESPONDER_RELEASE) && (nextState == null || nextState === ERROR ? console.error("PressResponder: Invalid signal ".concat(signal, " for state ").concat(prevState, " on responder")) : prevState !== nextState && (this._performTransitionSideEffects(prevState, nextState, signal, event), this._touchState = nextState)); | ||
Transitions[prevState] != null && (nextState = Transitions[prevState][signal]), !(this._touchState === NOT_RESPONDER && signal === RESPONDER_RELEASE) && (nextState == null || nextState === ERROR ? console.error(`PressResponder: Invalid signal ${signal} for state ${prevState} on responder`) : prevState !== nextState && (this._performTransitionSideEffects(prevState, nextState, signal, event), this._touchState = nextState)); | ||
} | ||
@@ -208,0 +208,0 @@ }, |
@@ -185,3 +185,3 @@ function _class_call_check(instance, Constructor) { | ||
var prevState = this._touchState, nextState = null; | ||
Transitions[prevState] != null && (nextState = Transitions[prevState][signal]), !(this._touchState === NOT_RESPONDER && signal === RESPONDER_RELEASE) && (nextState == null || nextState === ERROR ? console.error("PressResponder: Invalid signal ".concat(signal, " for state ").concat(prevState, " on responder")) : prevState !== nextState && (this._performTransitionSideEffects(prevState, nextState, signal, event), this._touchState = nextState)); | ||
Transitions[prevState] != null && (nextState = Transitions[prevState][signal]), !(this._touchState === NOT_RESPONDER && signal === RESPONDER_RELEASE) && (nextState == null || nextState === ERROR ? console.error(`PressResponder: Invalid signal ${signal} for state ${prevState} on responder`) : prevState !== nextState && (this._performTransitionSideEffects(prevState, nextState, signal, event), this._touchState = nextState)); | ||
} | ||
@@ -221,3 +221,3 @@ }, | ||
pageY: touch.pageY | ||
}, onPressStart != null && onPressStart(event), onPressChange != null && onPressChange(!0); | ||
}, onPressStart?.(event), onPressChange?.(!0); | ||
} | ||
@@ -230,3 +230,3 @@ }, | ||
function end() { | ||
onPressEnd != null && onPressEnd(event), onPressChange != null && onPressChange(!1); | ||
onPressEnd?.(event), onPressChange?.(!1); | ||
} | ||
@@ -233,0 +233,0 @@ var delayPressEnd = normalizeDelay(this._config.delayPressEnd); |
{ | ||
"name": "@tamagui/react-native-use-pressable", | ||
"version": "1.110.5", | ||
"version": "1.111.0", | ||
"types": "./types/index.d.ts", | ||
@@ -31,3 +31,3 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "1.110.5", | ||
"@tamagui/build": "1.111.0", | ||
"react": "^18.2.0 || ^19.0.0" | ||
@@ -34,0 +34,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176862
32
2414