@siena-ai/design-system 0.0.32 → 0.0.33

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 CHANGED
@@ -36965,29 +36965,28 @@ function LinkInput({
36965
36965
  className: "pr-10"
36966
36966
  }
36967
36967
  ),
36968
+ showHint && /* @__PURE__ */ jsx("div", { className: "absolute right-0 -top-8 bg-popover text-popover-foreground text-xs px-2 py-1 rounded border shadow-sm animate-in fade-in-0 zoom-in-95 z-50", children: "Select text first" }),
36968
36969
  /* @__PURE__ */ jsxs(Popover, { open: showLinkPopover, onOpenChange: handlePopoverChange, children: [
36969
- /* @__PURE__ */ jsxs(Tooltip, { open: showHint, children: [
36970
- /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
36971
- Button,
36972
- {
36973
- type: "button",
36974
- variant: "ghost",
36975
- size: "icon-sm",
36976
- className: "absolute right-1 top-1/2 -translate-y-1/2 h-7 w-7 text-muted-foreground hover:text-foreground",
36977
- onMouseDown: (e) => e.preventDefault(),
36978
- onClick: (e) => {
36979
- e.preventDefault();
36980
- tryOpenLinkPopover();
36981
- },
36982
- disabled,
36983
- children: [
36984
- /* @__PURE__ */ jsx(Link2, { className: "h-4 w-4" }),
36985
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Add link" })
36986
- ]
36987
- }
36988
- ) }) }),
36989
- /* @__PURE__ */ jsx(TooltipContent, { side: "top", children: /* @__PURE__ */ jsx("p", { children: "Select text first" }) })
36990
- ] }),
36970
+ /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
36971
+ Button,
36972
+ {
36973
+ type: "button",
36974
+ variant: "ghost",
36975
+ size: "icon-sm",
36976
+ className: "absolute right-1 top-1/2 -translate-y-1/2 h-7 w-7 text-muted-foreground hover:text-foreground",
36977
+ onMouseDown: (e) => e.preventDefault(),
36978
+ onClick: (e) => {
36979
+ e.preventDefault();
36980
+ e.stopPropagation();
36981
+ tryOpenLinkPopover();
36982
+ },
36983
+ disabled,
36984
+ children: [
36985
+ /* @__PURE__ */ jsx(Link2, { className: "h-4 w-4" }),
36986
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Add link" })
36987
+ ]
36988
+ }
36989
+ ) }),
36991
36990
  /* @__PURE__ */ jsx(PopoverContent, { className: "w-80 p-3", align: "end", children: /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
36992
36991
  /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
36993
36992
  /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: "Add link" }),