@use-gesture/core
Advanced tools
Comparing version 10.1.4 to 10.1.5
@@ -5,3 +5,3 @@ 'use strict'; | ||
var actions_dist_useGestureCoreActions = require('../../dist/actions-dfad3b7d.cjs.dev.js'); | ||
var actions_dist_useGestureCoreActions = require('../../dist/actions-8a44751d.cjs.dev.js'); | ||
require('../../dist/maths-125ca19a.cjs.dev.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var actions_dist_useGestureCoreActions = require('../../dist/actions-f406756a.cjs.prod.js'); | ||
var actions_dist_useGestureCoreActions = require('../../dist/actions-9447c7f3.cjs.prod.js'); | ||
require('../../dist/maths-a42ecce1.cjs.prod.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -1,2 +0,2 @@ | ||
export { C as ConfigResolverMap, E as EngineMap, e as dragAction, h as hoverAction, m as moveAction, p as pinchAction, r as registerAction, s as scrollAction, w as wheelAction } from '../../dist/actions-ef87abaa.esm.js'; | ||
export { C as ConfigResolverMap, E as EngineMap, e as dragAction, h as hoverAction, m as moveAction, p as pinchAction, r as registerAction, s as scrollAction, w as wheelAction } from '../../dist/actions-d9485484.esm.js'; | ||
import '../../dist/maths-b2a210f4.esm.js'; |
# @use-gesture/core | ||
## 10.1.5 | ||
### Patch Changes | ||
- 55505c071: fix: `event.buttons` condition was preventing `pointer.touch` from behaving properly. | ||
## 10.1.4 | ||
@@ -4,0 +10,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var actions_dist_useGestureCoreActions = require('./actions-dfad3b7d.cjs.dev.js'); | ||
var actions_dist_useGestureCoreActions = require('./actions-8a44751d.cjs.dev.js'); | ||
require('./maths-125ca19a.cjs.dev.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var actions_dist_useGestureCoreActions = require('./actions-f406756a.cjs.prod.js'); | ||
var actions_dist_useGestureCoreActions = require('./actions-9447c7f3.cjs.prod.js'); | ||
require('./maths-a42ecce1.cjs.prod.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, E as EngineMap, c as chain, d as toHandlerProp } from './actions-ef87abaa.esm.js'; | ||
import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, E as EngineMap, c as chain, d as toHandlerProp } from './actions-d9485484.esm.js'; | ||
import './maths-b2a210f4.esm.js'; | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "@use-gesture/core", | ||
"version": "10.1.4", | ||
"version": "10.1.5", | ||
"description": "Core engine for receiving gestures", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -82,3 +82,3 @@ import { CoordinatesEngine } from './CoordinatesEngine' | ||
// if event.buttons isn't included inside that array. | ||
Array.isArray(config.pointerButtons) | ||
(Array.isArray(config.pointerButtons) | ||
? !config.pointerButtons.includes(event.buttons) | ||
@@ -88,3 +88,3 @@ : // If the user submits a number as pointer.buttons, refuse the drag if | ||
// doesn't match the combination. | ||
config.pointerButtons !== -1 && config.pointerButtons !== event.buttons | ||
config.pointerButtons !== -1 && config.pointerButtons !== event.buttons) | ||
) | ||
@@ -91,0 +91,0 @@ return |
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
292063