mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Risky bump of use-long-press and to 1s delay
This commit is contained in:
parent
82103a3099
commit
944a896586
4 changed files with 11 additions and 13 deletions
18
package-lock.json
generated
18
package-lock.json
generated
|
@ -33,7 +33,7 @@
|
|||
"toastify-js": "~1.12.0",
|
||||
"uid": "~2.0.2",
|
||||
"use-debounce": "~9.0.3",
|
||||
"use-long-press": "~2.0.3",
|
||||
"use-long-press": "~3.0.4",
|
||||
"use-resize-observer": "~9.1.0",
|
||||
"valtio": "1.9.0"
|
||||
},
|
||||
|
@ -6730,13 +6730,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/use-long-press": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/use-long-press/-/use-long-press-2.0.3.tgz",
|
||||
"integrity": "sha512-n3cfv90Y1ldNt+hhXzxnxuLZmgLOOC/+qfLGoeEBgOxmnokPPt39MPF3KmvKriq5VMoJ7uQdVjHejCdHBt9anw==",
|
||||
"engines": {
|
||||
"node": ">=10",
|
||||
"npm": ">=5"
|
||||
},
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/use-long-press/-/use-long-press-3.0.4.tgz",
|
||||
"integrity": "sha512-+/qkbuRjsrzi30aSIE6lrq0+7TSGKUg6drbk/jSNqJqeWWRIjj5/XQoA9YzQC+IVVwkmcknK8MLi/HtAfNFvPA==",
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||
}
|
||||
|
@ -11861,9 +11857,9 @@
|
|||
"requires": {}
|
||||
},
|
||||
"use-long-press": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/use-long-press/-/use-long-press-2.0.3.tgz",
|
||||
"integrity": "sha512-n3cfv90Y1ldNt+hhXzxnxuLZmgLOOC/+qfLGoeEBgOxmnokPPt39MPF3KmvKriq5VMoJ7uQdVjHejCdHBt9anw==",
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/use-long-press/-/use-long-press-3.0.4.tgz",
|
||||
"integrity": "sha512-+/qkbuRjsrzi30aSIE6lrq0+7TSGKUg6drbk/jSNqJqeWWRIjj5/XQoA9YzQC+IVVwkmcknK8MLi/HtAfNFvPA==",
|
||||
"requires": {}
|
||||
},
|
||||
"use-resize-observer": {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"toastify-js": "~1.12.0",
|
||||
"uid": "~2.0.2",
|
||||
"use-debounce": "~9.0.3",
|
||||
"use-long-press": "~2.0.3",
|
||||
"use-long-press": "~3.0.4",
|
||||
"use-resize-observer": "~9.1.0",
|
||||
"valtio": "1.9.0"
|
||||
},
|
||||
|
|
|
@ -33,6 +33,7 @@ function NavMenu(props) {
|
|||
states.showAccounts = true;
|
||||
},
|
||||
{
|
||||
threshold: 1000,
|
||||
detect: 'touch',
|
||||
cancelOnMovement: true,
|
||||
},
|
||||
|
|
|
@ -673,7 +673,7 @@ function Status({
|
|||
setIsContextMenuOpen(true);
|
||||
},
|
||||
{
|
||||
threshold: 500,
|
||||
threshold: 1000,
|
||||
captureEvent: true,
|
||||
detect: 'touch',
|
||||
cancelOnMovement: true,
|
||||
|
@ -1836,6 +1836,7 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) {
|
|||
setShowPeek(true);
|
||||
},
|
||||
{
|
||||
threshold: 1000,
|
||||
captureEvent: true,
|
||||
detect: 'touch',
|
||||
cancelOnMovement: true,
|
||||
|
|
Loading…
Reference in a new issue