@msobiecki/react-marauders-path 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,14 +8,14 @@ A lightweight, type-safe React library for handling keyboard, wheel, tap, double
|
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
-
- 🎮 **Keyboard Event Handling** - Detect single keys, key combinations and sequences with configurable timing thresholds
|
|
12
|
-
- 🎡 **Wheel Event Handling** -
|
|
13
|
-
- 👆 **Tap Gesture Handling** - Detect
|
|
14
|
-
- 👆👆 **Double-Tap Gesture Handling** - Detect
|
|
15
|
-
- ✋ **Press Gesture Handling** - Detect press-and-hold interactions with configurable delay and movement
|
|
16
|
-
- 🖐️ **Swipe Gesture Handling** - Detect directional swipes with configurable distance
|
|
17
|
-
-
|
|
18
|
-
- 🤏 **Pinch Gesture Handling** -
|
|
11
|
+
- 🎮 **Keyboard Event Handling** - Detect single keys, key combinations, and sequences with configurable timing thresholds
|
|
12
|
+
- 🎡 **Wheel Event Handling** - Detect wheel delta values with optional `requestAnimationFrame` batching for smoother updates
|
|
13
|
+
- 👆 **Tap Gesture Handling** - Detect single taps/clicks with configurable movement and duration thresholds
|
|
14
|
+
- 👆👆 **Double-Tap Gesture Handling** - Detect consecutive taps/clicks with configurable timing and position thresholds
|
|
15
|
+
- ✋ **Press Gesture Handling** - Detect press-and-hold interactions with configurable delay and movement thresholds
|
|
16
|
+
- 🖐️ **Swipe Gesture Handling** - Detect directional swipes with configurable distance, velocity, and pointer type filtering
|
|
17
|
+
- ✊ **Drag Gesture Handling** - Detect movement, deltas, duration, and start/end positions with pointer type filtering and optional `requestAnimationFrame` batching
|
|
18
|
+
- 🤏 **Pinch Gesture Handling** - Detect two-finger distance, delta, and scale with pointer type filtering and optional `requestAnimationFrame` batching
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@msobiecki/react-marauders-path",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A lightweight, type-safe React library for handling keyboard, wheel, swipe, drag, and pinch events. Perfect for games, interactive applications, and input-driven interfaces.",
|
|
6
6
|
"keywords": [
|