@zag-js/types
Advanced tools
Comparing version 0.0.0-dev-20220427162539 to 0.0.0-dev-20220514160702
@@ -11,15 +11,22 @@ import type * as React from "react"; | ||
}; | ||
export declare type Context<T> = T & { | ||
export declare type RootProperties = { | ||
/** | ||
* @internal | ||
* The unique identifier of the accordion. | ||
* The owner document of the machine. | ||
*/ | ||
uid: string; | ||
doc?: Document; | ||
/** | ||
* @internal | ||
* The owner document of the accordion widget. | ||
* The root node of the machine. Useful for shadow DOM. | ||
*/ | ||
doc?: Document; | ||
rootNode?: ShadowRoot; | ||
}; | ||
export declare type Context<T> = T & RootProperties & { | ||
/** | ||
* @internal | ||
* The unique identifier of the machine. | ||
*/ | ||
uid: string; | ||
/** | ||
* @internal | ||
* The related target when the element is blurred. | ||
@@ -26,0 +33,0 @@ * Used as a polyfill for `e.relatedTarget` |
{ | ||
"name": "@zag-js/types", | ||
"version": "0.0.0-dev-20220427162539", | ||
"version": "0.0.0-dev-20220514160702", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22059
199