@discuss-ds/ui 0.6.2 → 0.6.3
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 +6 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @discuss-ds/ui
|
|
2
2
|
|
|
3
|
+
## 0.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#35](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/35) [`323ace1`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/323ace193c8a545fb6b659ed7cd524bc953f2215) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `QuestionEditorCard`: hovering anywhere on the card now gives the "Question N" tag its hover look (grip icon shown, tighter left padding), not only when the tag itself is hovered. `QuestionHeader` used on its own is unchanged.
|
|
8
|
+
|
|
3
9
|
## 0.6.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -2665,6 +2665,8 @@ var QuestionHeader = React40.forwardRef(
|
|
|
2665
2665
|
...dragHandleProps,
|
|
2666
2666
|
className: cn(
|
|
2667
2667
|
"group/handle inline-flex h-6 items-center gap-1 rounded-sm px-2.5 text-ui-caption hover:pl-1",
|
|
2668
|
+
// Inside a QuestionEditorCard the tag takes its hover look whenever the card is hovered.
|
|
2669
|
+
"group-hover/editor:pl-1",
|
|
2668
2670
|
active ? "bg-accent-soft text-accent-soft-foreground" : "bg-secondary bg-linear-to-r from-overlay-dark-5 to-overlay-dark-5 text-surface-foreground",
|
|
2669
2671
|
dragHandleProps && "cursor-grab touch-none select-none focus-visible:pl-1",
|
|
2670
2672
|
dragHandleProps?.className
|
|
@@ -2675,7 +2677,7 @@ var QuestionHeader = React40.forwardRef(
|
|
|
2675
2677
|
{
|
|
2676
2678
|
size: 16,
|
|
2677
2679
|
"aria-hidden": true,
|
|
2678
|
-
className: "hidden shrink-0 group-hover/handle:block group-focus-visible/handle:block"
|
|
2680
|
+
className: "hidden shrink-0 group-hover/editor:block group-hover/handle:block group-focus-visible/handle:block"
|
|
2679
2681
|
}
|
|
2680
2682
|
),
|
|
2681
2683
|
"Question ",
|