@zag-js/types
Advanced tools
Comparing version 0.0.0-dev-20220707125149 to 0.0.0-dev-20220708193601
import type { JSX } from "./jsx"; | ||
export declare type RequiredBy<T, K extends keyof T> = Partial<Omit<T, K>> & Required<Pick<T, K>>; | ||
export declare type Direction = "ltr" | "rtl"; | ||
@@ -11,2 +12,12 @@ export declare type Orientation = "horizontal" | "vertical"; | ||
}; | ||
export declare type CommonProperties = { | ||
/** | ||
* The unique identifier of the machine. | ||
*/ | ||
id: string; | ||
/** | ||
* A root node to correctly resolve document in custom environments. E.x.: Iframes, Electron. | ||
*/ | ||
getRootNode?: () => ShadowRoot | Document | Node; | ||
}; | ||
export declare type RootProperties = { | ||
@@ -27,7 +38,2 @@ /** | ||
* @internal | ||
* The unique identifier of the machine. | ||
*/ | ||
uid: string; | ||
/** | ||
* @internal | ||
* The related target when the element is blurred. | ||
@@ -34,0 +40,0 @@ * Used as a polyfill for `e.relatedTarget` |
{ | ||
"name": "@zag-js/types", | ||
"version": "0.0.0-dev-20220707125149", | ||
"version": "0.0.0-dev-20220708193601", | ||
"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
5207
131