ados-rcm 1.0.149 → 1.0.150
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.cjs.js +7 -7
- package/dist/index.es.js +9 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5117,19 +5117,22 @@ const xe = {
|
|
|
5117
5117
|
DividerInner: o_,
|
|
5118
5118
|
IsClicked: a_
|
|
5119
5119
|
}, mi = (n) => /* @__PURE__ */ l.jsx(vt, { ...n, className: oe.clsx(wn.ARowFrame, n.className), children: n.children }), s_ = (n) => /* @__PURE__ */ l.jsx("div", { ...n, className: oe.clsx(wn.AColFrame, n.className), children: n.children }), Ns = (n) => {
|
|
5120
|
-
|
|
5121
|
-
const p = rt(null), g = U(() => s ?? p, [s]), [y, m] = Ee(!1);
|
|
5120
|
+
const { tooltip: r, children: o, abaseRef: s, className: u, noOverflowTooltip: f, ...d } = n, p = rt(null), g = U(() => s ?? p, [s]), [y, m] = Ee(!1), b = E(() => m(!0), []), C = E(() => m(!1), []);
|
|
5122
5121
|
Ae(() => {
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5122
|
+
const T = g.current;
|
|
5123
|
+
if (T)
|
|
5124
|
+
return T.addEventListener("mouseenter", b), T.addEventListener("mouseleave", C), () => {
|
|
5125
|
+
T.removeEventListener("mouseenter", b), T.removeEventListener("mouseleave", C);
|
|
5126
|
+
};
|
|
5127
|
+
}, [g, b, C]);
|
|
5128
|
+
const k = U(() => f || !g.current || !y ? r : g.current.scrollWidth > g.current.clientWidth ? o : r, [g, o, r, f, y]);
|
|
5126
5129
|
return /* @__PURE__ */ l.jsx(
|
|
5127
5130
|
vt,
|
|
5128
5131
|
{
|
|
5129
5132
|
...d,
|
|
5130
5133
|
children: o,
|
|
5131
5134
|
abaseRef: g,
|
|
5132
|
-
tooltip:
|
|
5135
|
+
tooltip: k,
|
|
5133
5136
|
className: oe.clsx(wn.AOverflowFrame, u)
|
|
5134
5137
|
}
|
|
5135
5138
|
);
|