@firecms/ui 3.0.0-canary.87 → 3.0.0-canary.88
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.umd.js
CHANGED
@@ -17640,6 +17640,7 @@
|
|
17640
17640
|
}
|
17641
17641
|
const Tooltip = ({
|
17642
17642
|
open,
|
17643
|
+
defaultOpen,
|
17643
17644
|
side = "bottom",
|
17644
17645
|
delayDuration = 200,
|
17645
17646
|
sideOffset,
|
@@ -17655,7 +17656,7 @@
|
|
17655
17656
|
useInjectStyles("Tooltip", styles);
|
17656
17657
|
if (!title)
|
17657
17658
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
17658
|
-
return /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Provider, { delayDuration, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipPrimitive__namespace.Root, { open, onOpenChange, children: [
|
17659
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Provider, { delayDuration, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipPrimitive__namespace.Root, { open, onOpenChange, defaultOpen, children: [
|
17659
17660
|
/* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className, style, children }) }),
|
17660
17661
|
/* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
17661
17662
|
TooltipPrimitive__namespace.Content,
|