@versini/ui-tooltip 1.0.1 → 1.0.2
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.js +5 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as c, Fragment as _, jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useFloating as w, autoUpdate as C, arrow as I, offset as O, flip as S, shift as A, useTransitionStyles as R, useHover as v, useFocus as E, useDismiss as
|
|
2
|
+
import { useFloating as w, autoUpdate as C, arrow as I, offset as O, flip as S, shift as A, useTransitionStyles as R, useHover as v, useFocus as E, useDismiss as P, useRole as F, useInteractions as L, FloatingPortal as N, FloatingArrow as M } from "@floating-ui/react";
|
|
3
3
|
import { useState as U, useRef as j, cloneElement as B } from "react";
|
|
4
4
|
import e from "clsx";
|
|
5
5
|
/*!
|
|
6
|
-
@versini/ui-tooltip v1.0.
|
|
6
|
+
@versini/ui-tooltip v1.0.2
|
|
7
7
|
© 2025 gizmette.com
|
|
8
8
|
*/
|
|
9
9
|
try {
|
|
10
10
|
window.__VERSINI_UI_TOOLTIP__ || (window.__VERSINI_UI_TOOLTIP__ = {
|
|
11
|
-
version: "1.0.
|
|
12
|
-
buildTime: "01/
|
|
11
|
+
version: "1.0.2",
|
|
12
|
+
buildTime: "01/16/2025 07:57 PM EST",
|
|
13
13
|
homepage: "https://github.com/aversini/ui-components",
|
|
14
14
|
license: "MIT"
|
|
15
15
|
});
|
|
@@ -72,7 +72,7 @@ const D = "av-tooltip", V = "av-tooltip-arrow", H = () => e("w-max py-1 px-2 rou
|
|
|
72
72
|
}),
|
|
73
73
|
A()
|
|
74
74
|
]
|
|
75
|
-
}), { styles: y } = R(s), n = G({ mode: p }), h = v(s, { move: !1, delay: { open: 300 } }), d = E(s), k =
|
|
75
|
+
}), { styles: y } = R(s), n = G({ mode: p }), h = v(s, { move: !1, delay: { open: 300 } }), d = E(s), k = P(s), m = F(s, { role: "tooltip" }), { getReferenceProps: T, getFloatingProps: b } = L([
|
|
76
76
|
h,
|
|
77
77
|
d,
|
|
78
78
|
k,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-tooltip",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@versini/ui-types": "4.
|
|
41
|
+
"@versini/ui-types": "4.2.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@floating-ui/react": "0.27.3",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"sideEffects": [
|
|
50
50
|
"**/*.css"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "2be4fd5fe7dd74804533efdedcc6cfa4023a739a"
|
|
53
53
|
}
|