@zag-js/dom-event
Advanced tools
Comparing version 0.74.2 to 0.75.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37122
+ Added@zag-js/dom-query@0.75.0(transitive)
+ Added@zag-js/text-selection@0.75.0(transitive)
+ Added@zag-js/types@0.75.0(transitive)
- Removed@zag-js/dom-query@0.74.2(transitive)
- Removed@zag-js/text-selection@0.74.2(transitive)
- Removed@zag-js/types@0.74.2(transitive)
Updated@zag-js/dom-query@0.75.0
Updated@zag-js/types@0.75.0