Socket
Socket
Sign inDemoInstall

@zag-js/types

Package Overview
Dependencies
Maintainers
1
Versions
824
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/types - npm Package Compare versions

Comparing version 0.0.0-dev-20220707125149 to 0.0.0-dev-20220708193601

16

dist/index.d.ts
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",

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