@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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @discuss-ds/ui
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#33](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/33) [`3c155e2`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/3c155e273ff0f7b46e99a682b0ea70a0cd03a3d8) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `QuestionEditorCard`: the header actions (duplicate, delete, preview) now appear when you hover or focus anywhere on the card, not only when the header row is hovered. `QuestionHeader` used on its own is unchanged.
8
+
3
9
  ## 0.6.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -2683,7 +2683,11 @@ var QuestionHeader = React40.forwardRef(
2683
2683
  ]
2684
2684
  }
2685
2685
  ),
2686
- actions && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex items-center gap-2 opacity-0 transition-opacity group-focus-within/header:opacity-100 group-hover/header:opacity-100", children: actions })
2686
+ actions && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: cn(
2687
+ "flex items-center gap-2 opacity-0 transition-opacity group-focus-within/header:opacity-100 group-hover/header:opacity-100",
2688
+ // Inside a QuestionEditorCard, hovering or focusing anywhere on the card reveals them too.
2689
+ "group-focus-within/editor:opacity-100 group-hover/editor:opacity-100"
2690
+ ), children: actions })
2687
2691
  ] }),
2688
2692
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2689
2693
  InlineEdit,