@zag-js/types 2.0.0-next.1 → 2.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -7,7 +7,7 @@ type RequiredBy<T, K extends keyof T> = Partial<Omit<T, K>> & Required<Pick<T, K
7
7
  type Nullable<T> = T | null;
8
8
  type NonNullable<T> = T extends null | undefined ? never : T;
9
9
  type Required<T> = {
10
- [P in keyof T]-?: NonNullable<T[P]>;
10
+ [P in keyof T]-?: Exclude<T[P], undefined>;
11
11
  };
12
12
  type Direction = "ltr" | "rtl";
13
13
  type Orientation = "horizontal" | "vertical";
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ type RequiredBy<T, K extends keyof T> = Partial<Omit<T, K>> & Required<Pick<T, K
7
7
  type Nullable<T> = T | null;
8
8
  type NonNullable<T> = T extends null | undefined ? never : T;
9
9
  type Required<T> = {
10
- [P in keyof T]-?: NonNullable<T[P]>;
10
+ [P in keyof T]-?: Exclude<T[P], undefined>;
11
11
  };
12
12
  type Direction = "ltr" | "rtl";
13
13
  type Orientation = "horizontal" | "vertical";
package/dist/jsx.d.mts CHANGED
@@ -530,6 +530,7 @@ declare namespace JSX {
530
530
  draggable?: Booleanish | undefined;
531
531
  hidden?: boolean | undefined;
532
532
  id?: string | undefined;
533
+ inert?: boolean | undefined;
533
534
  lang?: string | undefined;
534
535
  placeholder?: string | undefined;
535
536
  slot?: string | undefined;
package/dist/jsx.d.ts CHANGED
@@ -530,6 +530,7 @@ declare namespace JSX {
530
530
  draggable?: Booleanish | undefined;
531
531
  hidden?: boolean | undefined;
532
532
  id?: string | undefined;
533
+ inert?: boolean | undefined;
533
534
  lang?: string | undefined;
534
535
  placeholder?: string | undefined;
535
536
  slot?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/types",
3
- "version": "2.0.0-next.1",
3
+ "version": "2.0.0-next.2",
4
4
  "keywords": [
5
5
  "js",
6
6
  "utils",
@@ -49,7 +49,7 @@
49
49
  "scripts": {
50
50
  "build": "tsup",
51
51
  "test": "vitest --passWithNoTests",
52
- "lint": "eslint src",
52
+ "lint": "oxlint src",
53
53
  "typecheck": "tsc --noEmit"
54
54
  }
55
55
  }