@zag-js/popover 0.80.0 → 0.81.1

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 @@ import { Machine, StateMachine } from '@zag-js/core';
7
7
  import { PositioningOptions } from '@zag-js/popper';
8
8
  export { Placement, PositioningOptions } from '@zag-js/popper';
9
9
 
10
- declare const anatomy: _zag_js_anatomy.AnatomyInstance<"title" | "anchor" | "content" | "arrow" | "arrowTip" | "trigger" | "indicator" | "positioner" | "description" | "closeTrigger">;
10
+ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"content" | "title" | "anchor" | "arrow" | "arrowTip" | "trigger" | "indicator" | "positioner" | "description" | "closeTrigger">;
11
11
 
12
12
  interface OpenChangeDetails {
13
13
  open: boolean;
@@ -133,7 +133,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
133
133
 
134
134
  declare function machine(userContext: UserDefinedContext): _zag_js_core.Machine<MachineContext, MachineState, _zag_js_core.StateMachine.AnyEventObject>;
135
135
 
136
- declare const props: ("dir" | "id" | "getRootNode" | "open" | "autoFocus" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements")[];
137
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "dir" | "id" | "getRootNode" | "open" | "autoFocus" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements">];
136
+ declare const props: ("open" | "dir" | "id" | "autoFocus" | "getRootNode" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements")[];
137
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "open" | "dir" | "id" | "autoFocus" | "getRootNode" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements">];
138
138
 
139
139
  export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type OpenChangeDetails, type Service, anatomy, connect, machine, props, splitProps };
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { Machine, StateMachine } from '@zag-js/core';
7
7
  import { PositioningOptions } from '@zag-js/popper';
8
8
  export { Placement, PositioningOptions } from '@zag-js/popper';
9
9
 
10
- declare const anatomy: _zag_js_anatomy.AnatomyInstance<"title" | "anchor" | "content" | "arrow" | "arrowTip" | "trigger" | "indicator" | "positioner" | "description" | "closeTrigger">;
10
+ declare const anatomy: _zag_js_anatomy.AnatomyInstance<"content" | "title" | "anchor" | "arrow" | "arrowTip" | "trigger" | "indicator" | "positioner" | "description" | "closeTrigger">;
11
11
 
12
12
  interface OpenChangeDetails {
13
13
  open: boolean;
@@ -133,7 +133,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
133
133
 
134
134
  declare function machine(userContext: UserDefinedContext): _zag_js_core.Machine<MachineContext, MachineState, _zag_js_core.StateMachine.AnyEventObject>;
135
135
 
136
- declare const props: ("dir" | "id" | "getRootNode" | "open" | "autoFocus" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements")[];
137
- declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "dir" | "id" | "getRootNode" | "open" | "autoFocus" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements">];
136
+ declare const props: ("open" | "dir" | "id" | "autoFocus" | "getRootNode" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements")[];
137
+ declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "open" | "dir" | "id" | "autoFocus" | "getRootNode" | "onFocusOutside" | "onPointerDownOutside" | "onInteractOutside" | "onEscapeKeyDown" | "ids" | "modal" | "portalled" | "initialFocusEl" | "closeOnInteractOutside" | "closeOnEscape" | "onOpenChange" | "positioning" | "open.controlled" | "persistentElements">];
138
138
 
139
139
  export { type MachineApi as Api, type UserDefinedContext as Context, type ElementIds, type OpenChangeDetails, type Service, anatomy, connect, machine, props, splitProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/popover",
3
- "version": "0.80.0",
3
+ "version": "0.81.1",
4
4
  "description": "Core logic for the popover widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -26,16 +26,16 @@
26
26
  "url": "https://github.com/chakra-ui/zag/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@zag-js/anatomy": "0.80.0",
30
- "@zag-js/aria-hidden": "0.80.0",
31
- "@zag-js/core": "0.80.0",
32
- "@zag-js/dom-query": "0.80.0",
33
- "@zag-js/utils": "0.80.0",
34
- "@zag-js/dismissable": "0.80.0",
35
- "@zag-js/popper": "0.80.0",
36
- "@zag-js/remove-scroll": "0.80.0",
37
- "@zag-js/types": "0.80.0",
38
- "@zag-js/focus-trap": "0.80.0"
29
+ "@zag-js/anatomy": "0.81.1",
30
+ "@zag-js/aria-hidden": "0.81.1",
31
+ "@zag-js/core": "0.81.1",
32
+ "@zag-js/dom-query": "0.81.1",
33
+ "@zag-js/utils": "0.81.1",
34
+ "@zag-js/dismissable": "0.81.1",
35
+ "@zag-js/popper": "0.81.1",
36
+ "@zag-js/remove-scroll": "0.81.1",
37
+ "@zag-js/types": "0.81.1",
38
+ "@zag-js/focus-trap": "0.81.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "clean-package": "2.2.0"