@yamada-ui/use-clickable
Advanced tools
Comparing version 0.0.0-dev-20230813023829 to 0.0.0-dev-20230918211901
@@ -0,1 +1,2 @@ | ||
"use client" | ||
"use strict"; | ||
@@ -126,4 +127,4 @@ var __defProp = Object.defineProperty; | ||
const onDocumentMouseUp = (0, import_react.useCallback)( | ||
(event) => { | ||
if (event.button !== 0) | ||
(ev) => { | ||
if (ev.button !== 0) | ||
return; | ||
@@ -130,0 +131,0 @@ setIsPressed(false); |
{ | ||
"name": "@yamada-ui/use-clickable", | ||
"version": "0.0.0-dev-20230813023829", | ||
"version": "0.0.0-dev-20230918211901", | ||
"description": "Yamada UI useClickable custom hook", | ||
@@ -27,4 +27,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/utils": "0.0.0-dev-20230813023829", | ||
"@yamada-ui/use-event-listener": "0.0.0-dev-20230813023829" | ||
"@yamada-ui/utils": "0.2.0", | ||
"@yamada-ui/use-event-listener": "0.0.0-dev-20230918211901" | ||
}, | ||
@@ -45,3 +45,6 @@ "devDependencies": { | ||
"esm" | ||
] | ||
], | ||
"banner": { | ||
"js": "\"use client\"" | ||
} | ||
}, | ||
@@ -48,0 +51,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
83889
990
+ Added@yamada-ui/use-event-listener@0.0.0-dev-20230918211901(transitive)
+ Added@yamada-ui/utils@0.2.0(transitive)
- Removed@yamada-ui/use-event-listener@0.0.0-dev-20230813023829(transitive)
- Removed@yamada-ui/utils@0.0.0-dev-20230813023829(transitive)
Updated@yamada-ui/use-event-listener@0.0.0-dev-20230918211901
Updated@yamada-ui/utils@0.2.0