@discuss-ds/ui 0.3.2 → 0.3.4

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
@@ -2747,7 +2747,8 @@ var QuestionNavItem = React43.forwardRef(
2747
2747
  className: cn(
2748
2748
  "group/nav flex h-9.5 w-full max-w-106.5 items-center gap-2 rounded-sm border bg-surface p-2 text-left text-body-small text-surface-foreground transition-colors focus-visible:outline-none",
2749
2749
  error ? ["hover:bg-destructive-soft focus-visible:border-destructive", selected ? "border-destructive" : "border-border"] : [
2750
- "hover:border-input-accent hover:bg-accent-soft focus-visible:border-input-accent",
2750
+ // Hover only changes the fill; the border stays as it is (default grey, or accent when selected).
2751
+ "hover:bg-accent-soft focus-visible:border-input-accent",
2751
2752
  selected ? "border-input-accent" : "border-border"
2752
2753
  ],
2753
2754
  className
@@ -2756,7 +2757,14 @@ var QuestionNavItem = React43.forwardRef(
2756
2757
  children: [
2757
2758
  /* @__PURE__ */ jsxs30("span", { "aria-hidden": "true", className: "relative flex size-4 shrink-0 items-center justify-center", children: [
2758
2759
  /* @__PURE__ */ jsx44(DotsSixVertical2, { size: 16, className: "hidden group-hover/nav:block" }),
2759
- /* @__PURE__ */ jsx44("span", { className: "group-hover/nav:hidden", children: error ? /* @__PURE__ */ jsx44(Warning2, { size: 16, className: "text-destructive" }) : /* @__PURE__ */ jsx44(QuestionTypeIcon, { type: questionType, size: 16 }) })
2760
+ /* @__PURE__ */ jsx44("span", { className: "group-hover/nav:hidden", children: error ? /* @__PURE__ */ jsx44(Warning2, { size: 16, className: "text-destructive" }) : /* @__PURE__ */ jsx44(
2761
+ QuestionTypeIcon,
2762
+ {
2763
+ type: questionType,
2764
+ size: 16,
2765
+ className: selected ? "text-accent-foreground" : "text-muted-foreground"
2766
+ }
2767
+ ) })
2760
2768
  ] }),
2761
2769
  /* @__PURE__ */ jsx44("span", { className: "min-w-0 flex-1 truncate", children }),
2762
2770
  error && /* @__PURE__ */ jsx44("span", { className: "sr-only", children: ", has errors" })