@radix-ui/rect 1.1.0-rc.3 → 1.1.0-rc.4

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
@@ -1,4 +1,4 @@
1
- declare type Measurable = {
1
+ type Measurable = {
2
2
  getBoundingClientRect(): ClientRect;
3
3
  };
4
4
  /**
@@ -11,6 +11,6 @@ declare function observeElementRect(
11
11
  elementToObserve: Measurable,
12
12
  /** The callback which will be called when the rect changes */
13
13
  callback: CallbackFn): () => void;
14
- declare type CallbackFn = (rect: ClientRect) => void;
14
+ type CallbackFn = (rect: ClientRect) => void;
15
15
 
16
16
  export { type Measurable, observeElementRect };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare type Measurable = {
1
+ type Measurable = {
2
2
  getBoundingClientRect(): ClientRect;
3
3
  };
4
4
  /**
@@ -11,6 +11,6 @@ declare function observeElementRect(
11
11
  elementToObserve: Measurable,
12
12
  /** The callback which will be called when the rect changes */
13
13
  callback: CallbackFn): () => void;
14
- declare type CallbackFn = (rect: ClientRect) => void;
14
+ type CallbackFn = (rect: ClientRect) => void;
15
15
 
16
16
  export { type Measurable, observeElementRect };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/rect",
3
- "version": "1.1.0-rc.3",
3
+ "version": "1.1.0-rc.4",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {