@msobiecki/react-marauders-path 1.10.0 → 1.12.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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # react-marauders-path
2
2
 
3
- ![react-marauders-path](./docs/images/logotype.png)
4
-
5
3
  A lightweight, type-safe React library for handling keyboard events. Perfect for games, interactive applications, and keyboard-driven interfaces.
6
4
 
5
+ ![react-marauders-path](./docs/images/logotype.png)
6
+
7
7
  ## Features
8
8
 
9
9
  - 🎮 **Keyboard Event Handling** - Simple API for detecting single keys, key combinations, and sequences
@@ -136,9 +136,9 @@ Hook for handling mouse wheel events with support for different delta modes and
136
136
 
137
137
  ```typescript
138
138
  interface UseWheelOptions {
139
- eventPassive?: boolean; // Default: true - Use passive event listener
140
- eventCapture?: boolean; // Default: false - Use capture phase
141
- eventOnce?: boolean; // Default: false - Listen only once
139
+ eventPassive?: boolean; // Default: true
140
+ eventCapture?: boolean; // Default: false
141
+ eventOnce?: boolean; // Default: false
142
142
  eventStopImmediatePropagation?: boolean; // Default: false
143
143
  container?: RefObject<HTMLElement>; // Default: window
144
144
  raf?: boolean; // Default: false - Use requestAnimationFrame for batching
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msobiecki/react-marauders-path",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22.17.1"