@discuss-ds/ui 0.6.1 → 0.6.2

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
@@ -2537,7 +2537,11 @@ var QuestionHeader = React40.forwardRef(
2537
2537
  ]
2538
2538
  }
2539
2539
  ),
2540
- actions && /* @__PURE__ */ jsx41("div", { className: "flex items-center gap-2 opacity-0 transition-opacity group-focus-within/header:opacity-100 group-hover/header:opacity-100", children: actions })
2540
+ actions && /* @__PURE__ */ jsx41("div", { className: cn(
2541
+ "flex items-center gap-2 opacity-0 transition-opacity group-focus-within/header:opacity-100 group-hover/header:opacity-100",
2542
+ // Inside a QuestionEditorCard, hovering or focusing anywhere on the card reveals them too.
2543
+ "group-focus-within/editor:opacity-100 group-hover/editor:opacity-100"
2544
+ ), children: actions })
2541
2545
  ] }),
2542
2546
  /* @__PURE__ */ jsx41(
2543
2547
  InlineEdit,