@solid-primitives/mouse
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "@solid-primitives/mouse", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "A collection of Solid Primitives, that capture current mouse cursor position, and help to deal with common related usecases.", | ||
@@ -91,8 +91,8 @@ "author": "Damian Tarnawski <gthetarnav@gmail.com>", | ||
"devDependencies": { | ||
"@solid-primitives/raf": "^2.1.5" | ||
"@solid-primitives/raf": "^2.1.6" | ||
}, | ||
"dependencies": { | ||
"@solid-primitives/event-listener": "^2.2.5", | ||
"@solid-primitives/rootless": "^1.2.2", | ||
"@solid-primitives/utils": "^4.0.1" | ||
"@solid-primitives/event-listener": "^2.2.6", | ||
"@solid-primitives/rootless": "^1.2.3", | ||
"@solid-primitives/utils": "^5.0.0" | ||
}, | ||
@@ -99,0 +99,0 @@ "peerDependencies": { |
@@ -21,4 +21,4 @@ <p> | ||
- [`makeMousePositionListener`](#makeMousePositionListener) - Attaches event listeners to provided targat, listeneing for changes to the mouse/touch position. | ||
- [`makeMouseInsideListener`](#makeMouseInsideListener) - Attaches event listeners to provided targat, listening for mouse/touch entering/leaving the element. | ||
- [`makeMousePositionListener`](#makeMousePositionListener) - Attaches event listeners to provided target, listening for changes to the mouse/touch position. | ||
- [`makeMouseInsideListener`](#makeMouseInsideListener) - Attaches event listeners to provided target, listening for mouse/touch entering/leaving the element. | ||
@@ -41,3 +41,3 @@ ##### Calculations: | ||
Attaches event listeners to provided targat, providing a reactive up-to-date position of the cursor on the page. | ||
Attaches event listeners to provided target, providing a reactive up-to-date position of the cursor on the page. | ||
@@ -70,3 +70,3 @@ #### Usage | ||
// disables listeneing to any touch events | ||
// disables listening to any touch events | ||
const pos = createMousePosition(window, { touch: false }); | ||
@@ -137,3 +137,3 @@ ``` | ||
Attaches event listeners to provided targat, listeneing for changes to the mouse/touch position. | ||
Attaches event listeners to provided target, listening for changes to the mouse/touch position. | ||
@@ -150,3 +150,3 @@ ```ts | ||
Attaches event listeners to provided targat, listening for mouse/touch entering/leaving the element. | ||
Attaches event listeners to provided target, listening for mouse/touch entering/leaving the element. | ||
@@ -153,0 +153,0 @@ ```ts |
35015
+ Added@solid-primitives/utils@5.5.2(transitive)
- Removed@solid-primitives/utils@4.0.1(transitive)