@zag-js/popover 0.0.0-dev-20230605141821 → 0.0.0-dev-20230605143941

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.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { anatomy } from "./popover.anatomy";
2
2
  export { connect } from "./popover.connect";
3
3
  export { machine } from "./popover.machine";
4
- export type { UserDefinedContext as Context } from "./popover.types";
4
+ export type { UserDefinedContext as Context, Placement, PositioningOptions } from "./popover.types";
@@ -1,6 +1,6 @@
1
1
  import type { StateMachine as S } from "@zag-js/core";
2
2
  import type { DismissableElementHandlers } from "@zag-js/dismissable";
3
- import type { PositioningOptions } from "@zag-js/popper";
3
+ import type { PositioningOptions, Placement } from "@zag-js/popper";
4
4
  import type { CommonProperties, Context, MaybeElement, RequiredBy } from "@zag-js/types";
5
5
  type ElementIds = Partial<{
6
6
  anchor: string;
@@ -80,4 +80,4 @@ export type MachineState = {
80
80
  };
81
81
  export type State = S.State<MachineContext, MachineState>;
82
82
  export type Send = S.Send<S.AnyEventObject>;
83
- export {};
83
+ export type { PositioningOptions, Placement };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/popover",
3
- "version": "0.0.0-dev-20230605141821",
3
+ "version": "0.0.0-dev-20230605143941",
4
4
  "description": "Core logic for the popover widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -28,16 +28,16 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "focus-trap": "7.4.3",
31
- "@zag-js/anatomy": "0.0.0-dev-20230605141821",
32
- "@zag-js/aria-hidden": "0.0.0-dev-20230605141821",
33
- "@zag-js/core": "0.0.0-dev-20230605141821",
34
- "@zag-js/dom-query": "0.0.0-dev-20230605141821",
35
- "@zag-js/utils": "0.0.0-dev-20230605141821",
36
- "@zag-js/dismissable": "0.0.0-dev-20230605141821",
37
- "@zag-js/tabbable": "0.0.0-dev-20230605141821",
38
- "@zag-js/popper": "0.0.0-dev-20230605141821",
39
- "@zag-js/remove-scroll": "0.0.0-dev-20230605141821",
40
- "@zag-js/types": "0.0.0-dev-20230605141821"
31
+ "@zag-js/anatomy": "0.0.0-dev-20230605143941",
32
+ "@zag-js/aria-hidden": "0.0.0-dev-20230605143941",
33
+ "@zag-js/core": "0.0.0-dev-20230605143941",
34
+ "@zag-js/dom-query": "0.0.0-dev-20230605143941",
35
+ "@zag-js/utils": "0.0.0-dev-20230605143941",
36
+ "@zag-js/dismissable": "0.0.0-dev-20230605143941",
37
+ "@zag-js/tabbable": "0.0.0-dev-20230605143941",
38
+ "@zag-js/popper": "0.0.0-dev-20230605143941",
39
+ "@zag-js/remove-scroll": "0.0.0-dev-20230605143941",
40
+ "@zag-js/types": "0.0.0-dev-20230605143941"
41
41
  },
42
42
  "devDependencies": {
43
43
  "clean-package": "2.2.0"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { anatomy } from "./popover.anatomy"
2
2
  export { connect } from "./popover.connect"
3
3
  export { machine } from "./popover.machine"
4
- export type { UserDefinedContext as Context } from "./popover.types"
4
+ export type { UserDefinedContext as Context, Placement, PositioningOptions } from "./popover.types"
@@ -104,3 +104,5 @@ export type MachineState = {
104
104
  export type State = S.State<MachineContext, MachineState>
105
105
 
106
106
  export type Send = S.Send<S.AnyEventObject>
107
+
108
+ export type { PositioningOptions, Placement }