New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yamada-ui/use-pan-event

Package Overview
Dependencies
Maintainers
1
Versions
583
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/use-pan-event - npm Package Compare versions

Comparing version 0.0.0-dev-20230716195657 to 0.0.0-dev-20230718011629

2

dist/index.d.ts

@@ -19,4 +19,4 @@ import { AnyPointerEvent, Point } from '@yamada-ui/utils';

};
declare const usePanEvent: (ref: RefObject<HTMLElement>, { onMove, onStart, onEnd, onSessionStart, onSessionEnd, threshold }: UsePanEventProps) => void;
declare const usePanEvent: (ref: RefObject<HTMLElement>, { onMove, onStart, onEnd, onSessionStart, onSessionEnd, threshold, }: UsePanEventProps) => void;
export { UsePanEventProps, usePanEvent };

@@ -152,3 +152,10 @@ "use strict";

};
var usePanEvent = (ref, { onMove, onStart, onEnd, onSessionStart, onSessionEnd, threshold }) => {
var usePanEvent = (ref, {
onMove,
onStart,
onEnd,
onSessionStart,
onSessionEnd,
threshold
}) => {
const hasPanEvents = !!onMove || !!onStart || !!onEnd || !!onSessionStart || !!onSessionEnd;

@@ -155,0 +162,0 @@ const panSession = (0, import_react.useRef)(null);

{
"name": "@yamada-ui/use-pan-event",
"version": "0.0.0-dev-20230716195657",
"version": "0.0.0-dev-20230718011629",
"description": "Yamada UI usePanEvent custom hook",

@@ -28,3 +28,3 @@ "keywords": [

"framesync": "6.1.2",
"@yamada-ui/utils": "0.0.0-dev-20230716195657",
"@yamada-ui/utils": "0.0.0-dev-20230718011629",
"@yamada-ui/use-latest-ref": "0.1.0"

@@ -31,0 +31,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc