@zag-js/types
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -1177,6 +1177,20 @@ import * as CSS from 'csstype'; | ||
}; | ||
declare type RootProperties = {}; | ||
declare type Context<T> = T & RootProperties & {}; | ||
declare type RootProperties = { | ||
/** | ||
* The owner document of the machine. | ||
*/ | ||
doc?: Document; | ||
/** | ||
* The root node of the machine. Useful for shadow DOM. | ||
*/ | ||
rootNode?: ShadowRoot; | ||
/** | ||
* The related target when the element is blurred. | ||
* Used as a polyfill for `e.relatedTarget` | ||
*/ | ||
pointerdownNode?: HTMLElement | null; | ||
}; | ||
declare type Context<T> = T & RootProperties; | ||
declare type Style = JSX.CSSProperties; | ||
export { CommonProperties, Context, Direction, DirectionProperty, JSX, MaybeElement, NormalizeProps, Orientation, PropTypes, RequiredBy, RootProperties, Style, createNormalizer }; |
{ | ||
"name": "@zag-js/types", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57677
1240
0