@versini/ui-tooltip 4.0.2 → 4.0.4
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 +6 -6
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-tooltip v4.0.
|
|
2
|
+
@versini/ui-tooltip v4.0.4
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_TOOLTIP__) {
|
|
7
7
|
window.__VERSINI_UI_TOOLTIP__ = {
|
|
8
|
-
version: "4.0.
|
|
9
|
-
buildTime: "12/
|
|
8
|
+
version: "4.0.4",
|
|
9
|
+
buildTime: "12/14/2025 08:07 PM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-tooltip",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
|
@@ -16,7 +16,7 @@ try {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
-
import { arrow as
|
|
19
|
+
import { arrow as dom_arrow, computePosition, flip, offset, shift } from "@floating-ui/dom";
|
|
20
20
|
import { useClickOutside, useInterval } from "@versini/ui-hooks";
|
|
21
21
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
22
22
|
import clsx from "clsx";
|
|
@@ -27,7 +27,7 @@ const TOOLTIP_ARROW_CLASSNAME = "av-tooltip-arrow";
|
|
|
27
27
|
|
|
28
28
|
;// CONCATENATED MODULE: external "react/jsx-runtime"
|
|
29
29
|
|
|
30
|
-
;// CONCATENATED MODULE: external "@floating-ui/
|
|
30
|
+
;// CONCATENATED MODULE: external "@floating-ui/dom"
|
|
31
31
|
|
|
32
32
|
;// CONCATENATED MODULE: external "@versini/ui-hooks"
|
|
33
33
|
|
|
@@ -127,7 +127,7 @@ const Tooltip = ({ trigger, label, placement = "top", mode = "system", animation
|
|
|
127
127
|
shift({
|
|
128
128
|
padding: 5
|
|
129
129
|
}),
|
|
130
|
-
|
|
130
|
+
dom_arrow({
|
|
131
131
|
element: floatingArrowRef.current
|
|
132
132
|
})
|
|
133
133
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-tooltip",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@versini/ui-types": "7.1.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@floating-ui/
|
|
44
|
+
"@floating-ui/dom": "1.7.4",
|
|
45
45
|
"@tailwindcss/typography": "0.5.19",
|
|
46
|
-
"@versini/ui-hooks": "5.
|
|
46
|
+
"@versini/ui-hooks": "5.3.0",
|
|
47
47
|
"clsx": "2.1.1",
|
|
48
|
-
"tailwindcss": "4.1.
|
|
48
|
+
"tailwindcss": "4.1.18"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": [
|
|
51
51
|
"**/*.css"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "15f3028acf21328c70773147a6bedfbafaa3a2a4"
|
|
54
54
|
}
|