@zag-js/tooltip 0.0.0-dev-20240216185224 → 0.0.0-dev-20240218175520
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 +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +8 -8
- package/src/tooltip.types.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
-
import { RequiredBy, PropTypes, DirectionProperty, CommonProperties,
|
|
2
|
+
import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, NormalizeProps } from '@zag-js/types';
|
|
3
3
|
import * as _zag_js_core from '@zag-js/core';
|
|
4
4
|
import { StateMachine } from '@zag-js/core';
|
|
5
5
|
import { PositioningOptions } from '@zag-js/popper';
|
|
@@ -79,7 +79,8 @@ type ComputedContext = Readonly<{
|
|
|
79
79
|
*/
|
|
80
80
|
hasAriaLabel: boolean;
|
|
81
81
|
}>;
|
|
82
|
-
|
|
82
|
+
interface PrivateContext {
|
|
83
|
+
}
|
|
83
84
|
interface MachineContext extends PublicContext, ComputedContext, PrivateContext {
|
|
84
85
|
}
|
|
85
86
|
interface MachineState {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
-
import { RequiredBy, PropTypes, DirectionProperty, CommonProperties,
|
|
2
|
+
import { RequiredBy, PropTypes, DirectionProperty, CommonProperties, NormalizeProps } from '@zag-js/types';
|
|
3
3
|
import * as _zag_js_core from '@zag-js/core';
|
|
4
4
|
import { StateMachine } from '@zag-js/core';
|
|
5
5
|
import { PositioningOptions } from '@zag-js/popper';
|
|
@@ -79,7 +79,8 @@ type ComputedContext = Readonly<{
|
|
|
79
79
|
*/
|
|
80
80
|
hasAriaLabel: boolean;
|
|
81
81
|
}>;
|
|
82
|
-
|
|
82
|
+
interface PrivateContext {
|
|
83
|
+
}
|
|
83
84
|
interface MachineContext extends PublicContext, ComputedContext, PrivateContext {
|
|
84
85
|
}
|
|
85
86
|
interface MachineState {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/tooltip",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240218175520",
|
|
4
4
|
"description": "Core logic for the tooltip widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/anatomy": "0.0.0-dev-
|
|
31
|
-
"@zag-js/core": "0.0.0-dev-
|
|
32
|
-
"@zag-js/popper": "0.0.0-dev-
|
|
33
|
-
"@zag-js/dom-query": "0.0.0-dev-
|
|
34
|
-
"@zag-js/dom-event": "0.0.0-dev-
|
|
35
|
-
"@zag-js/utils": "0.0.0-dev-
|
|
36
|
-
"@zag-js/types": "0.0.0-dev-
|
|
30
|
+
"@zag-js/anatomy": "0.0.0-dev-20240218175520",
|
|
31
|
+
"@zag-js/core": "0.0.0-dev-20240218175520",
|
|
32
|
+
"@zag-js/popper": "0.0.0-dev-20240218175520",
|
|
33
|
+
"@zag-js/dom-query": "0.0.0-dev-20240218175520",
|
|
34
|
+
"@zag-js/dom-event": "0.0.0-dev-20240218175520",
|
|
35
|
+
"@zag-js/utils": "0.0.0-dev-20240218175520",
|
|
36
|
+
"@zag-js/types": "0.0.0-dev-20240218175520"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"clean-package": "2.2.0"
|
package/src/tooltip.types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StateMachine as S } from "@zag-js/core"
|
|
2
2
|
import type { Placement, PositioningOptions } from "@zag-js/popper"
|
|
3
|
-
import type { CommonProperties, DirectionProperty, PropTypes, RequiredBy
|
|
3
|
+
import type { CommonProperties, DirectionProperty, PropTypes, RequiredBy } from "@zag-js/types"
|
|
4
4
|
|
|
5
5
|
/* -----------------------------------------------------------------------------
|
|
6
6
|
* Callback details
|
|
@@ -87,7 +87,7 @@ type ComputedContext = Readonly<{
|
|
|
87
87
|
hasAriaLabel: boolean
|
|
88
88
|
}>
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
interface PrivateContext {
|
|
91
91
|
/**
|
|
92
92
|
* @internal
|
|
93
93
|
* The computed placement of the tooltip.
|