Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/pmndrs/use-gesture
πBread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
https://github.com/pmndrs/use-gesture
Fix MDN link
- Use en-US locale
- Use the proper "event.button_s_" link (different than event.button)
docs: comments [ci skip]
bd9213180c865edd914102eb8956a9b4c701448e authored about 5 years ago
bd9213180c865edd914102eb8956a9b4c701448e authored about 5 years ago
fix: native handlers closure prevented update on re-render
2bbbd99fbeabc322095fc74e607535acee9bdd57 authored about 5 years ago
2bbbd99fbeabc322095fc74e607535acee9bdd57 authored about 5 years ago
Update README.md
f024c896641bd9c32c28192301d05cc3ec4b7804 authored about 5 years ago
f024c896641bd9c32c28192301d05cc3ec4b7804 authored about 5 years ago
Merge pull request #116 from catamphetamine/patch-1
README two typos
f26bb685482d54a3dd0e0e8fd82e1749acd0a231 authored about 5 years ago
README two typos
a27b7b29f073c625de727cdc8c5b642b54171632 authored about 5 years ago
a27b7b29f073c625de727cdc8c5b642b54171632 authored about 5 years ago
7.0.0-alpha.29
cb39dab6d46175d8e16f7e290bfe4ceee3d6fcb7 authored about 5 years ago
cb39dab6d46175d8e16f7e290bfe4ceee3d6fcb7 authored about 5 years ago
test: testing unmount
e8bbe9ce2798e878cb29efa2cfbb6d493d167d39 authored about 5 years ago
e8bbe9ce2798e878cb29efa2cfbb6d493d167d39 authored about 5 years ago
fix: if domTarget in config is specified then whenever the ref actually exists we return the clean function
d40c97b72a3a507a392fe381f8a8f8ef91375607 authored about 5 years ago
d40c97b72a3a507a392fe381f8a8f8ef91375607 authored about 5 years ago
feat: exports rubberBandIfOutOfBounds
ffa072b8ed9f2801deaa56f062454a188850b38d authored about 5 years ago
ffa072b8ed9f2801deaa56f062454a188850b38d authored about 5 years ago
7.0.0-alpha.28
64cb65de8cf63b3d009174af78d47b36269fc124 authored about 5 years ago
64cb65de8cf63b3d009174af78d47b36269fc124 authored about 5 years ago
test: added test for rubberbanding
814ea80d2d9e3a2c625ac543139168b687154248 authored about 5 years ago
814ea80d2d9e3a2c625ac543139168b687154248 authored about 5 years ago
refactor: argument renamed
6855675414099f8b1fb5621499377880f588f651 authored about 5 years ago
6855675414099f8b1fb5621499377880f588f651 authored about 5 years ago
test: added tests for rubberband / distance angle configs
9ceb97a0e3c793a513be275f64ca194cc573cfb7 authored about 5 years ago
9ceb97a0e3c793a513be275f64ca194cc573cfb7 authored about 5 years ago
fix: removed console.log
e2c4d504b10328bb279f6d816d04e951c5c81b05 authored about 5 years ago
e2c4d504b10328bb279f6d816d04e951c5c81b05 authored about 5 years ago
fix: pinch config in hook
248339e1fe2d216a9fe10515012c3986880250c8 authored about 5 years ago
248339e1fe2d216a9fe10515012c3986880250c8 authored about 5 years ago
refactor: fn rename
3cbd246ab437c7ed70cfb1d497bb6b8620473bcd authored about 5 years ago
3cbd246ab437c7ed70cfb1d497bb6b8620473bcd authored about 5 years ago
fix: pinch config
8903bed786ee1c3c819c6b7888d9d127f19e800a authored about 5 years ago
8903bed786ee1c3c819c6b7888d9d127f19e800a authored about 5 years ago
fix: rubberband calc fix
5c67d3815a6366ecdaa312743c94ad94dc7b792f authored about 5 years ago
5c67d3815a6366ecdaa312743c94ad94dc7b792f authored about 5 years ago
fix: prevents default on gesture events for pinch
3fdff57b7ebef8c9419037717b00e0d05d22b11c authored about 5 years ago
3fdff57b7ebef8c9419037717b00e0d05d22b11c authored about 5 years ago
feat: added native handlers management
3f131a0f035c4b0de64cecba2983a68487b46ed7 authored about 5 years ago
3f131a0f035c4b0de64cecba2983a68487b46ed7 authored about 5 years ago
fix: shared ingKey is now merged into the actual state and not just passed to the handler
a59cb50c9f5947c14fe3600ff7797d1b9cbdc4fe authored about 5 years ago
a59cb50c9f5947c14fe3600ff7797d1b9cbdc4fe authored about 5 years ago
test: added back dom node testing
3a5cf9ce2ebf073ebb6a2b31e902e5b9e5e52c5c authored about 5 years ago
3a5cf9ce2ebf073ebb6a2b31e902e5b9e5e52c5c authored about 5 years ago
nit: removed gesture type from the event
82acde4efa934f938fa61f7dadbc4919068ecd33 authored about 5 years ago
82acde4efa934f938fa61f7dadbc4919068ecd33 authored about 5 years ago
nit: fireGestureHandler returns fired state
eb9c16e85e05f0e2c9d06ed8609d8ee0597c3b66 authored about 5 years ago
eb9c16e85e05f0e2c9d06ed8609d8ee0597c3b66 authored about 5 years ago
feat: handling hover
59d5ea193c3a35b6a8872bf0e7d345e8acce01d4 authored about 5 years ago
59d5ea193c3a35b6a8872bf0e7d345e8acce01d4 authored about 5 years ago
Merge pull request #114 from janniks/patch-1
Fix example code
4a5b04dea99a7a6b9ef3da7aaac522c92b8664aa authored about 5 years ago
fix: rubberband fix
b75d56f82efa9eda33172372eb7c28086b3747fc authored about 5 years ago
b75d56f82efa9eda33172372eb7c28086b3747fc authored about 5 years ago
Fix example code
8c8bf37e890a93ef75654edd75e0750bbd6e1a63 authored about 5 years ago
8c8bf37e890a93ef75654edd75e0750bbd6e1a63 authored about 5 years ago
fix: added calculation for rubberband when one bound isn't defined
e50f7d559c75365c52a5409c21e94bbd2cf8686f authored about 5 years ago
e50f7d559c75365c52a5409c21e94bbd2cf8686f authored about 5 years ago
fix: top should be the lowest bound
90e0fd3ebf1894db2c76af249723d349ac71bfe6 authored about 5 years ago
90e0fd3ebf1894db2c76af249723d349ac71bfe6 authored about 5 years ago
fix: calculate distance and direction from getMovement values
21434b6c6e89c89f918bd2cde28aacf06384091a authored about 5 years ago
21434b6c6e89c89f918bd2cde28aacf06384091a authored about 5 years ago
nit: moved lines
e81644cfff6a285bc11f08170bbbef7c20bad322 authored about 5 years ago
e81644cfff6a285bc11f08170bbbef7c20bad322 authored about 5 years ago
fix: config default
62ebdf8b804a85115724dc21e4f7267cb014d192 authored about 5 years ago
62ebdf8b804a85115724dc21e4f7267cb014d192 authored about 5 years ago
version bump
914fb20f159c2ab8c48a14b3b6a7f7610235d75d authored about 5 years ago
914fb20f159c2ab8c48a14b3b6a7f7610235d75d authored about 5 years ago
feat: added webkitgesture recognizer
6cc5cb9c2faf78934141e04f3ca66463a565c23f authored about 5 years ago
6cc5cb9c2faf78934141e04f3ca66463a565c23f authored about 5 years ago
refactor: merging all pinch recognizers
9f891a964ba48b384e364cec00a593454a3914ce authored about 5 years ago
9f891a964ba48b384e364cec00a593454a3914ce authored about 5 years ago
Added PinchWheel
8ac0a3497eb7914ce6123c2ce983d325efb12b27 authored about 5 years ago
8ac0a3497eb7914ce6123c2ce983d325efb12b27 authored about 5 years ago
feat: adding pinch recognizer
1e3aeb3628854fc63c597ccf5f8e69e98ec12484 authored about 5 years ago
1e3aeb3628854fc63c597ccf5f8e69e98ec12484 authored about 5 years ago
feat: added move, scroll and wheel hooks
3967c6f2c20d0c88107cd42a13dcdcffc34c5b50 authored about 5 years ago
3967c6f2c20d0c88107cd42a13dcdcffc34c5b50 authored about 5 years ago
fix: fixed rubberbanding when only one bound is set
af1edd30bff44a2f50757e097e73af2c6c7cf9d2 authored about 5 years ago
af1edd30bff44a2f50757e097e73af2c6c7cf9d2 authored about 5 years ago
refactor: refactor to allow better tree shaking?
f96bcdb53e7fcb35c7d13335f1786d3baee3d14b authored about 5 years ago
f96bcdb53e7fcb35c7d13335f1786d3baee3d14b authored about 5 years ago
chore: formating [ci skip]
34fe438f9a911f5c8038f3c8d281898631e5a584 authored about 5 years ago
34fe438f9a911f5c8038f3c8d281898631e5a584 authored about 5 years ago
fix: added useWheel to exports
2a65c168480df622d68e15faf41d9dcd331997e8 authored about 5 years ago
2a65c168480df622d68e15faf41d9dcd331997e8 authored about 5 years ago
doc: version update [ci skip]
593515befea4b832f189f008f8afb3d85b21a0f6 authored about 5 years ago
593515befea4b832f189f008f8afb3d85b21a0f6 authored about 5 years ago
feat: added wheel hook
168a97dcb5189da06f14e131facbf2c8529e49f7 authored about 5 years ago
168a97dcb5189da06f14e131facbf2c8529e49f7 authored about 5 years ago
refactor: function renaming
b8b36b8f9dbd73cde13fe006094d5c8bca8081b9 authored about 5 years ago
b8b36b8f9dbd73cde13fe006094d5c8bca8081b9 authored about 5 years ago
fix: removed ing update from state
96b84be34e92305ff9af4ddb98396b0b3a9d0fbd authored about 5 years ago
96b84be34e92305ff9af4ddb98396b0b3a9d0fbd authored about 5 years ago
nit: prepare for useWheel
8db2bc5558172cda4ec55659e1dba4264c867d53 authored about 5 years ago
8db2bc5558172cda4ec55659e1dba4264c867d53 authored about 5 years ago
doc: added comments
a1c07077c9f656198b6d31cff226ee9133d12a74 authored about 5 years ago
a1c07077c9f656198b6d31cff226ee9133d12a74 authored about 5 years ago
nit: remove valueKey
1d2887d78c2c0f9cb54b90603eeb8a5e978906c5 authored about 5 years ago
1d2887d78c2c0f9cb54b90603eeb8a5e978906c5 authored about 5 years ago
comments: first wave of comments
c08cddc8d02b67f29ab89679785e1d830e5e13ae authored about 5 years ago
c08cddc8d02b67f29ab89679785e1d830e5e13ae authored about 5 years ago
chore: added husky
c027d405691e1596b11166f643ee0f8826b81c07 authored about 5 years ago
c027d405691e1596b11166f643ee0f8826b81c07 authored about 5 years ago
feat: added max elapsed time for swipe to be true
34df93f422c1f9f4df2645d813b5534cf743f687 authored about 5 years ago
34df93f422c1f9f4df2645d813b5534cf743f687 authored about 5 years ago
type: refactor
9b011f93f2e0e9558b24a8e202809add6f64d8da authored about 5 years ago
9b011f93f2e0e9558b24a8e202809add6f64d8da authored about 5 years ago
feat: added startTime, elapsedTime
fc365b04d793303a6537fee7034587347761ac7d authored about 5 years ago
fc365b04d793303a6537fee7034587347761ac7d authored about 5 years ago
refactor: time -> timeStamp
0d60b183dd2897aa95607eee35f9638bb13c68b8 authored about 5 years ago
0d60b183dd2897aa95607eee35f9638bb13c68b8 authored about 5 years ago
lint: linting
b706d1b8e6532ede5a093e35a2435c5322b54b80 authored about 5 years ago
b706d1b8e6532ede5a093e35a2435c5322b54b80 authored about 5 years ago
fix: remove memo for now
dcff1cc928ba0abe09bf0dae66e597f2ffaf0711 authored about 5 years ago
dcff1cc928ba0abe09bf0dae66e597f2ffaf0711 authored about 5 years ago
test: add dom target testing back
0ccb9ca6e1b17ac23a1c0ab3abe841e8b30bfadb authored about 5 years ago
0ccb9ca6e1b17ac23a1c0ab3abe841e8b30bfadb authored about 5 years ago
type: fix
e9332b826cf15e82737263acd157d9c9313d5c03 authored about 5 years ago
e9332b826cf15e82737263acd157d9c9313d5c03 authored about 5 years ago
feat: adding rubberbanding for @aholachek ;)
15235fa4ad3b5fa4569c5978e4bd1b4a64a338b8 authored about 5 years ago
15235fa4ad3b5fa4569c5978e4bd1b4a64a338b8 authored about 5 years ago
refactor: refactr segue
4c67638472a4ca40a7363d18e63554b73ab413ec authored about 5 years ago
4c67638472a4ca40a7363d18e63554b73ab413ec authored about 5 years ago
refactor: following intense refactor
c2e738f6ab321f79c76f150b406cfb50981c6527 authored about 5 years ago
c2e738f6ab321f79c76f150b406cfb50981c6527 authored about 5 years ago
refactor: intense refactor
251942bc7cbacd481175df145745b537e9a5fb15 authored about 5 years ago
251942bc7cbacd481175df145745b537e9a5fb15 authored about 5 years ago
nit: minor refactoring
125f4479a45449d2c738d2f50b8018a1b0ef0905 authored about 5 years ago
125f4479a45449d2c738d2f50b8018a1b0ef0905 authored about 5 years ago
type: minor refactoring
c7e56373310ffb2f9217d5b00b1e0b25054b344c authored about 5 years ago
c7e56373310ffb2f9217d5b00b1e0b25054b344c authored about 5 years ago
fix: previous commit
d039d30181704989115d77191f0a18c16db77fb9 authored about 5 years ago
d039d30181704989115d77191f0a18c16db77fb9 authored about 5 years ago
fix: https://github.com/react-spring/react-use-gesture/issues/109#issuecomment-554404040
4b07d300439334f3915f96988917710323fef353 authored about 5 years ago
4b07d300439334f3915f96988917710323fef353 authored about 5 years ago
doc: update [ci skip]
01f8bf7b90c0012a60f04af4f9006bb05eec3c4f authored about 5 years ago
01f8bf7b90c0012a60f04af4f9006bb05eec3c4f authored about 5 years ago
test: update drag test
969e8deeea43ec4bc840f21bce5d8caf975bce7b authored about 5 years ago
969e8deeea43ec4bc840f21bce5d8caf975bce7b authored about 5 years ago
fix: if axis isn't detected (ie x === y) prevent intentionality
2503fa2c6f9be7a40ded5e35b696bee7f1488669 authored about 5 years ago
2503fa2c6f9be7a40ded5e35b696bee7f1488669 authored about 5 years ago
fix: don't update offset if gesture is blocked
9473e31dcb8c677107047507880221e9d4ec1f41 authored about 5 years ago
9473e31dcb8c677107047507880221e9d4ec1f41 authored about 5 years ago
fix: reset _delayedEvent property
f93a3577c96d45688c849dc1ae9804951a3e43ec authored about 5 years ago
f93a3577c96d45688c849dc1ae9804951a3e43ec authored about 5 years ago
fix: update tests
cdcd8ae12cd4ba038e2eef824a2c1ed1340f40fe authored about 5 years ago
cdcd8ae12cd4ba038e2eef824a2c1ed1340f40fe authored about 5 years ago
type: removed label type used for testing
986808b7553dc079b68d9cc28d6dd9081958c3d7 authored about 5 years ago
986808b7553dc079b68d9cc28d6dd9081958c3d7 authored about 5 years ago
fix: poor cloning of initial state resulted in bugs when using multiple hooks
289c546528a6391d565d7a73a198347d6dab2c18 authored about 5 years ago
289c546528a6391d565d7a73a198347d6dab2c18 authored about 5 years ago
fix: memo
5ba9d4ecc2164c098fcd24a09f0db147ac38b99d authored about 5 years ago
5ba9d4ecc2164c098fcd24a09f0db147ac38b99d authored about 5 years ago
fix: properly return memo
4d3c72149dba572752cd55c55c7248f64b9b24ad authored about 5 years ago
4d3c72149dba572752cd55c55c7248f64b9b24ad authored about 5 years ago
test: fix drag test
533a0b2de09aa22e62e133bb00a08f02aaa2a6c0 authored about 5 years ago
533a0b2de09aa22e62e133bb00a08f02aaa2a6c0 authored about 5 years ago
test: update drag test
b1d48e259494b36115814700eb06da1d97552041 authored about 5 years ago
b1d48e259494b36115814700eb06da1d97552041 authored about 5 years ago
nit: replaced ref with state
6142ae7fbc16cb0fc501284909ba5d82c53e3baf authored about 5 years ago
6142ae7fbc16cb0fc501284909ba5d82c53e3baf authored about 5 years ago
fix: recognizer handlers are now in sync
1a89e0c0206ae7e86ff1a6d624bd8e49fa754f94 authored about 5 years ago
1a89e0c0206ae7e86ff1a6d624bd8e49fa754f94 authored about 5 years ago
ts: added type for ing state (dragging, scrolling, etc)
59ba265621b213359f539343d822c489588a0fe4 authored about 5 years ago
59ba265621b213359f539343d822c489588a0fe4 authored about 5 years ago
types: type fix
bb1f583f58214411b5c4de9c5e5c809f96a82baa authored about 5 years ago
bb1f583f58214411b5c4de9c5e5c809f96a82baa authored about 5 years ago
add: debut for useGesture
f666eee91c43370dcf1466a8c1c0443dec4b2eec authored about 5 years ago
f666eee91c43370dcf1466a8c1c0443dec4b2eec authored about 5 years ago
types: minor fixing
9a2cb9a4ca35b5c90b6e95af9150811d971fdb61 authored about 5 years ago
9a2cb9a4ca35b5c90b6e95af9150811d971fdb61 authored about 5 years ago
7.0.0-alpha.14
f76b3c4907eba0783e40e892706b8f92a04521b0 authored about 5 years ago
f76b3c4907eba0783e40e892706b8f92a04521b0 authored about 5 years ago
refactor: each exposed hook is responsible for deriving its config
059200087567826f31ea18ac4f05365bdc23953e authored about 5 years ago
059200087567826f31ea18ac4f05365bdc23953e authored about 5 years ago
nit: remove comment
2fb28880104c92ae4986c007de35420277ad7ed9 authored about 5 years ago
2fb28880104c92ae4986c007de35420277ad7ed9 authored about 5 years ago
fix: bind is a function that shouldn't change between renders to prevent unecessary cleaning
13176f2c36393db985b99d9827ad781c7be18051 authored about 5 years ago
13176f2c36393db985b99d9827ad781c7be18051 authored about 5 years ago
refactor: split utils.js into math.js and event.js
7661fca83dbad307657b7fe6e0d7a4ccf3852cd1 authored about 5 years ago
7661fca83dbad307657b7fe6e0d7a4ccf3852cd1 authored about 5 years ago
7.0.0-alpha.13
675b2a1cd16498255860143b19fb095da6963389 authored about 5 years ago
675b2a1cd16498255860143b19fb095da6963389 authored about 5 years ago
fix: removed console.log
03a759add418e1a7c68401a8bbd8864c97b446d5 authored about 5 years ago
03a759add418e1a7c68401a8bbd8864c97b446d5 authored about 5 years ago
feat, fix, refactor: added lockDirection
Feat:
- added lockDirection to lock the first intentional axis
Fix:
- cleaning listeners when g...
fix: mark as side-effects free for bundlephobia
fc1e0e2bc432efa0c679f71550cb2a454b4d1a3e authored about 5 years ago
fc1e0e2bc432efa0c679f71550cb2a454b4d1a3e authored about 5 years ago
fix: axis detection bug
59efa1a52dc2168819147b741a8f4a85092f063f authored about 5 years ago
59efa1a52dc2168819147b741a8f4a85092f063f authored about 5 years ago
refactor: state now mutates
6b729223a371903ce10d39847f63f7401257ec98 authored about 5 years ago
6b729223a371903ce10d39847f63f7401257ec98 authored about 5 years ago
chore: added prepare script
3571a25ad366da7fd44309060a112e7ca7506967 authored about 5 years ago
3571a25ad366da7fd44309060a112e7ca7506967 authored about 5 years ago
fix: a bit of everything
1801906e8608770ee9224577cee4a8570ceed45c authored about 5 years ago
1801906e8608770ee9224577cee4a8570ceed45c authored about 5 years ago