@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/dist/index.js
CHANGED
|
@@ -2519,6 +2519,8 @@ var QuestionHeader = React40.forwardRef(
|
|
|
2519
2519
|
...dragHandleProps,
|
|
2520
2520
|
className: cn(
|
|
2521
2521
|
"group/handle inline-flex h-6 items-center gap-1 rounded-sm px-2.5 text-ui-caption hover:pl-1",
|
|
2522
|
+
// Inside a QuestionEditorCard the tag takes its hover look whenever the card is hovered.
|
|
2523
|
+
"group-hover/editor:pl-1",
|
|
2522
2524
|
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",
|
|
2523
2525
|
dragHandleProps && "cursor-grab touch-none select-none focus-visible:pl-1",
|
|
2524
2526
|
dragHandleProps?.className
|
|
@@ -2529,7 +2531,7 @@ var QuestionHeader = React40.forwardRef(
|
|
|
2529
2531
|
{
|
|
2530
2532
|
size: 16,
|
|
2531
2533
|
"aria-hidden": true,
|
|
2532
|
-
className: "hidden shrink-0 group-hover/handle:block group-focus-visible/handle:block"
|
|
2534
|
+
className: "hidden shrink-0 group-hover/editor:block group-hover/handle:block group-focus-visible/handle:block"
|
|
2533
2535
|
}
|
|
2534
2536
|
),
|
|
2535
2537
|
"Question ",
|