Socket
Socket
Sign inDemoInstall

@zag-js/dom-event

Package Overview
Dependencies
Maintainers
1
Versions
678
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/dom-event - npm Package Compare versions

Comparing version 0.74.2 to 0.75.0

22

dist/index.d.ts

@@ -27,4 +27,4 @@ import { JSX } from '@zag-js/types';

interface EventKeyOptions {
dir?: "ltr" | "rtl";
orientation?: "horizontal" | "vertical";
dir?: "ltr" | "rtl" | undefined;
orientation?: "horizontal" | "vertical" | undefined;
}

@@ -51,14 +51,14 @@

type Point$2 = {
interface Point$2 {
x: number;
y: number;
};
type PercentValueOptions = {
}
interface PercentValueOptions {
inverted?: boolean | {
x?: boolean;
y?: boolean;
};
dir?: "ltr" | "rtl";
orientation?: "vertical" | "horizontal";
};
} | undefined;
dir?: "ltr" | "rtl" | undefined;
orientation?: "vertical" | "horizontal" | undefined;
}
declare function getRelativePoint(point: Point$2, element: HTMLElement): {

@@ -132,3 +132,3 @@ offset: {

*/
keyboardNode?: Element | null;
keyboardNode?: Element | null | undefined;
/**

@@ -159,2 +159,2 @@ * A function that determines if the key is valid for the press event.

export { type EventKeyMap, type Point$2 as Point, type PointerMoveDetails, type PointerMoveHandlers, type TrackPressOptions, type ViewportSize, addDomEvent, clickIfLink, fireBlurEvent, fireCustomEvent, getEventKey, getEventPoint, getEventStep, getNativeEvent, getRelativePoint, isContextMenuEvent, isKeyboardClick, isLeftClick, isModifierKey, isPrintableKey, isVirtualClick, isVirtualPointerEvent, queueBeforeEvent, requestPointerLock, trackPointerMove, trackPress, trackVisualViewport };
export { type EventKeyMap, type PercentValueOptions, type Point$2 as Point, type PointerMoveDetails, type PointerMoveHandlers, type TrackPressOptions, type ViewportSize, addDomEvent, clickIfLink, fireBlurEvent, fireCustomEvent, getEventKey, getEventPoint, getEventStep, getNativeEvent, getRelativePoint, isContextMenuEvent, isKeyboardClick, isLeftClick, isModifierKey, isPrintableKey, isVirtualClick, isVirtualPointerEvent, queueBeforeEvent, requestPointerLock, trackPointerMove, trackPress, trackVisualViewport };
{
"name": "@zag-js/dom-event",
"version": "0.74.2",
"version": "0.75.0",
"description": "",

@@ -27,5 +27,5 @@ "keywords": [

"dependencies": {
"@zag-js/types": "0.74.2",
"@zag-js/dom-query": "0.74.2",
"@zag-js/text-selection": "0.74.2"
"@zag-js/types": "0.75.0",
"@zag-js/dom-query": "0.75.0",
"@zag-js/text-selection": "0.75.0"
},

@@ -32,0 +32,0 @@ "devDependencies": {

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