@zag-js/tooltip 0.0.0-dev-20230605140316 → 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 "./tooltip.anatomy";
2
2
  export { connect } from "./tooltip.connect";
3
3
  export { machine } from "./tooltip.machine";
4
- export type { UserDefinedContext as Context } from "./tooltip.types";
4
+ export type { UserDefinedContext as Context, Placement, PositioningOptions } from "./tooltip.types";
@@ -1,5 +1,5 @@
1
1
  import type { StateMachine as S } from "@zag-js/core";
2
- import type { PositioningOptions } from "@zag-js/popper";
2
+ import type { Placement, PositioningOptions } from "@zag-js/popper";
3
3
  import type { CommonProperties, RequiredBy, RootProperties } from "@zag-js/types";
4
4
  type ElementIds = Partial<{
5
5
  trigger: string;
@@ -78,4 +78,4 @@ export type MachineState = {
78
78
  };
79
79
  export type State = S.State<MachineContext, MachineState>;
80
80
  export type Send = S.Send<S.AnyEventObject>;
81
- export {};
81
+ export type { PositioningOptions, Placement };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/tooltip",
3
- "version": "0.0.0-dev-20230605140316",
3
+ "version": "0.0.0-dev-20230605143941",
4
4
  "description": "Core logic for the tooltip widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -27,14 +27,14 @@
27
27
  "url": "https://github.com/chakra-ui/zag/issues"
28
28
  },
29
29
  "dependencies": {
30
- "@zag-js/anatomy": "0.0.0-dev-20230605140316",
31
- "@zag-js/core": "0.0.0-dev-20230605140316",
32
- "@zag-js/popper": "0.0.0-dev-20230605140316",
33
- "@zag-js/dom-query": "0.0.0-dev-20230605140316",
34
- "@zag-js/dom-event": "0.0.0-dev-20230605140316",
35
- "@zag-js/utils": "0.0.0-dev-20230605140316",
36
- "@zag-js/visually-hidden": "0.0.0-dev-20230605140316",
37
- "@zag-js/types": "0.0.0-dev-20230605140316"
30
+ "@zag-js/anatomy": "0.0.0-dev-20230605143941",
31
+ "@zag-js/core": "0.0.0-dev-20230605143941",
32
+ "@zag-js/popper": "0.0.0-dev-20230605143941",
33
+ "@zag-js/dom-query": "0.0.0-dev-20230605143941",
34
+ "@zag-js/dom-event": "0.0.0-dev-20230605143941",
35
+ "@zag-js/utils": "0.0.0-dev-20230605143941",
36
+ "@zag-js/visually-hidden": "0.0.0-dev-20230605143941",
37
+ "@zag-js/types": "0.0.0-dev-20230605143941"
38
38
  },
39
39
  "devDependencies": {
40
40
  "clean-package": "2.2.0"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { anatomy } from "./tooltip.anatomy"
2
2
  export { connect } from "./tooltip.connect"
3
3
  export { machine } from "./tooltip.machine"
4
- export type { UserDefinedContext as Context } from "./tooltip.types"
4
+ export type { UserDefinedContext as Context, Placement, PositioningOptions } from "./tooltip.types"
@@ -93,3 +93,5 @@ export type MachineState = {
93
93
  export type State = S.State<MachineContext, MachineState>
94
94
 
95
95
  export type Send = S.Send<S.AnyEventObject>
96
+
97
+ export type { PositioningOptions, Placement }