@imj_media/ui 1.0.39 → 1.0.40

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.esm.js CHANGED
@@ -18729,7 +18729,8 @@ const y8 = ({
18729
18729
  style: p,
18730
18730
  arrowClassName: l,
18731
18731
  absolute: C = !1,
18732
- autoClose: w = !1,
18732
+ autoClose: w = !0,
18733
+ // Valor por defecto, pero se sobrescribe con el valor del componente exportado
18733
18734
  ...g
18734
18735
  }) => {
18735
18736
  const [M, x] = K(!1), [f, j] = K({ top: 0, left: 0 }), [h, v] = K({ width: 0, height: 0 }), [V, B] = K(!1), D = t1(null), R = t1(null), z = t1(null), y = t1(null), J = t1(`tooltip-${Math.random().toString(36).substring(2, 9)}-${Date.now()}`);
@@ -18911,7 +18912,7 @@ const y8 = ({
18911
18912
  className: Y(
18912
18913
  r0(e, C, w),
18913
18914
  "ui--left-[9999px] ui--top-[9999px] ui--z-10",
18914
- "ui-invisible",
18915
+ "ui-invisible ui-font-bold",
18915
18916
  s
18916
18917
  ),
18917
18918
  style: p,
@@ -19072,7 +19073,7 @@ const y8 = ({
19072
19073
  id: a || J.current,
19073
19074
  className: Y(
19074
19075
  r0(e, C, w),
19075
- "tooltip",
19076
+ "imj-ui-tooltip ui-font-bold",
19076
19077
  s,
19077
19078
  // Agregar cursor pointer cuando autoClose es false para indicar que se puede cerrar
19078
19079
  w ? "" : "ui-cursor-pointer"
@@ -19127,7 +19128,8 @@ const y8 = ({
19127
19128
  style: L,
19128
19129
  arrowClassName: p,
19129
19130
  absolute: l = !1,
19130
- autoClose: C = !1,
19131
+ autoClose: C = !0,
19132
+ // true: tooltip se cierra automáticamente (por defecto), false: permanece abierto hasta cierre manual
19131
19133
  ...w
19132
19134
  }) => d || !r ? o : /* @__PURE__ */ i(
19133
19135
  B8,