update use-gesture (#1453)

Bumps use-gesture. Should fix #1393 

### Change Type

<!-- 💡 Indicate the type of change your pull request is. -->
<!-- 🤷‍♀️ If you're not sure, don't select anything -->
<!-- ✂️ Feel free to delete unselected options -->

<!-- To select one, put an x in the box: [x] -->

- [ ] `patch` — Bug Fix
- [ ] `minor` — New Feature
- [ ] `major` — Breaking Change
- [x] `dependencies` — Dependency Update (publishes a `patch` release,
for devDependencies use `internal`)
- [ ] `documentation` — Changes to the documentation only (will not
publish a new version)
- [ ] `tests` — Changes to any testing-related code only (will not
publish a new version)
- [ ] `internal` — Any other changes that don't affect the published
package (will not publish a new version)

### Test Plan

1. on iPad, with no shapes selected, long press on the canvas to open
the context menu.
2. tap outside of the menu to dismiss it
3. you should still be able to pan and pinch normally and select shapes
and everything.

### Release Notes

- Updates use-gesture to fix pinch gesture bug on iPad.
This commit is contained in:
David Sheldrick 2023-05-25 10:39:47 +01:00 committed by GitHub
parent 787eab75d6
commit b61766c37f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View file

@ -51,7 +51,7 @@
"@tldraw/tlstore": "workspace:*",
"@tldraw/tlvalidate": "workspace:*",
"@tldraw/utils": "workspace:*",
"@use-gesture/react": "^10.2.24",
"@use-gesture/react": "^10.2.27",
"classnames": "^2.3.2",
"crc": "^4.3.2",
"escape-string-regexp": "^5.0.0",

View file

@ -4623,7 +4623,7 @@ __metadata:
"@types/lodash.uniq": ^4.5.7
"@types/react-test-renderer": ^18.0.0
"@types/wicg-file-system-access": ^2020.9.5
"@use-gesture/react": ^10.2.24
"@use-gesture/react": ^10.2.27
benchmark: ^2.1.4
classnames: ^2.3.2
crc: ^4.3.2
@ -5861,21 +5861,21 @@ __metadata:
languageName: node
linkType: hard
"@use-gesture/core@npm:10.2.26":
version: 10.2.26
resolution: "@use-gesture/core@npm:10.2.26"
checksum: 8a000d715034f8e3e767042f8290c446f4544d94b57c94cf3027fd55f842cd8842a946a48d816b7dafcfd6bdec40219e2c9d8577785b8a0a5ed1fd5970b9de4b
"@use-gesture/core@npm:10.2.27":
version: 10.2.27
resolution: "@use-gesture/core@npm:10.2.27"
checksum: 3cc29b93e23597257483e2bb14fa53d322fca9c1e41a50a0d2af78557f4565404e2029c1409cfb49c2fd75096044fe9219914b4ce908f8eb3846ec8404f23b0a
languageName: node
linkType: hard
"@use-gesture/react@npm:^10.2.24":
version: 10.2.26
resolution: "@use-gesture/react@npm:10.2.26"
"@use-gesture/react@npm:^10.2.27":
version: 10.2.27
resolution: "@use-gesture/react@npm:10.2.27"
dependencies:
"@use-gesture/core": 10.2.26
"@use-gesture/core": 10.2.27
peerDependencies:
react: ">= 16.8.0"
checksum: e9f74ab42fe817a098772abf94d313a870f240a91c85a7dc18ddc8e155ca9e2eddbdf059dce5efe4922a3b4852266d5c43efde8d72a27c07b8932a90596a8c94
checksum: 745c835483138eb033953dee285ddece04f236ac82a6897dcf03dd38daeb5335f91e664436ff55e3b449dccb1eadd809fcd7e7d1440c6f82c4e87663bfaadd5f
languageName: node
linkType: hard