@zag-js/avatar 0.74.2 → 0.76.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
@@ -18,11 +18,11 @@ interface PublicContext extends CommonProperties, DirectionProperty {
18
18
  /**
19
19
  * Functional called when the image loading status changes.
20
20
  */
21
- onStatusChange?: (details: StatusChangeDetails) => void;
21
+ onStatusChange?: ((details: StatusChangeDetails) => void) | undefined;
22
22
  /**
23
23
  * The ids of the elements in the avatar. Useful for composition.
24
24
  */
25
- ids?: ElementIds;
25
+ ids?: ElementIds | undefined;
26
26
  }
27
27
  interface PrivateContext {
28
28
  }
package/dist/index.d.ts CHANGED
@@ -18,11 +18,11 @@ interface PublicContext extends CommonProperties, DirectionProperty {
18
18
  /**
19
19
  * Functional called when the image loading status changes.
20
20
  */
21
- onStatusChange?: (details: StatusChangeDetails) => void;
21
+ onStatusChange?: ((details: StatusChangeDetails) => void) | undefined;
22
22
  /**
23
23
  * The ids of the elements in the avatar. Useful for composition.
24
24
  */
25
- ids?: ElementIds;
25
+ ids?: ElementIds | undefined;
26
26
  }
27
27
  interface PrivateContext {
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/avatar",
3
- "version": "0.74.2",
3
+ "version": "0.76.0",
4
4
  "description": "Core logic for the avatar widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -27,11 +27,11 @@
27
27
  "url": "https://github.com/chakra-ui/zag/issues"
28
28
  },
29
29
  "dependencies": {
30
- "@zag-js/anatomy": "0.74.2",
31
- "@zag-js/core": "0.74.2",
32
- "@zag-js/dom-query": "0.74.2",
33
- "@zag-js/utils": "0.74.2",
34
- "@zag-js/types": "0.74.2"
30
+ "@zag-js/anatomy": "0.76.0",
31
+ "@zag-js/core": "0.76.0",
32
+ "@zag-js/dom-query": "0.76.0",
33
+ "@zag-js/utils": "0.76.0",
34
+ "@zag-js/types": "0.76.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "clean-package": "2.2.0"