@zag-js/types 1.2.1 → 1.3.0

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
@@ -1483,5 +1483,13 @@ interface Point {
1483
1483
  x: number;
1484
1484
  y: number;
1485
1485
  }
1486
+ interface Size {
1487
+ width: number;
1488
+ height: number;
1489
+ }
1490
+ interface Rect extends Size {
1491
+ y: number;
1492
+ x: number;
1493
+ }
1486
1494
 
1487
- export { type CommonProperties, type Direction, type DirectionProperty, type EventKey, type EventKeyMap, JSX, type LocaleProperties, type MaybeElement, type MaybeFn, type NonNullable, type NormalizeProps, type Nullable, type Orientation, type OrientationProperty, type Point, type PropTypes, type Required, type RequiredBy, type Style, createNormalizer, createProps };
1495
+ export { type CommonProperties, type Direction, type DirectionProperty, type EventKey, type EventKeyMap, JSX, type LocaleProperties, type MaybeElement, type MaybeFn, type NonNullable, type NormalizeProps, type Nullable, type Orientation, type OrientationProperty, type Point, type PropTypes, type Rect, type Required, type RequiredBy, type Size, type Style, createNormalizer, createProps };
package/dist/index.d.ts CHANGED
@@ -1483,5 +1483,13 @@ interface Point {
1483
1483
  x: number;
1484
1484
  y: number;
1485
1485
  }
1486
+ interface Size {
1487
+ width: number;
1488
+ height: number;
1489
+ }
1490
+ interface Rect extends Size {
1491
+ y: number;
1492
+ x: number;
1493
+ }
1486
1494
 
1487
- export { type CommonProperties, type Direction, type DirectionProperty, type EventKey, type EventKeyMap, JSX, type LocaleProperties, type MaybeElement, type MaybeFn, type NonNullable, type NormalizeProps, type Nullable, type Orientation, type OrientationProperty, type Point, type PropTypes, type Required, type RequiredBy, type Style, createNormalizer, createProps };
1495
+ export { type CommonProperties, type Direction, type DirectionProperty, type EventKey, type EventKeyMap, JSX, type LocaleProperties, type MaybeElement, type MaybeFn, type NonNullable, type NormalizeProps, type Nullable, type Orientation, type OrientationProperty, type Point, type PropTypes, type Rect, type Required, type RequiredBy, type Size, type Style, createNormalizer, createProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/types",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "keywords": [
5
5
  "js",
6
6
  "utils",