@msobiecki/react-marauders-path 1.19.0 → 1.20.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 +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -171,7 +171,7 @@ interface UseWheelOptions {
171
171
  }
172
172
  ```
173
173
 
174
- **Delta Data:**
174
+ **Wheel Data:**
175
175
 
176
176
  ```typescript
177
177
  interface WheelData {
@@ -235,6 +235,7 @@ interface UseDragOptions {
235
235
  eventStopImmediatePropagation?: boolean; // Default: false
236
236
  threshold?: number; // Default: 0 (px) - Minimum drag distance
237
237
  container?: RefObject<HTMLElement>; // Default: window
238
+ raf?: boolean; // Default: false - Use requestAnimationFrame for batching
238
239
  }
239
240
  ```
240
241
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msobiecki/react-marauders-path",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22.17.1"