@fabio.caffarello/react-design-system 1.18.0 → 1.19.0

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
@@ -9753,7 +9753,7 @@ function Bl(l) {
9753
9753
  "focus:ring-line-focus",
9754
9754
  "focus:ring-offset-2",
9755
9755
  ee("sm"),
9756
- p ? y("bg-surface-brand", "text-fg-inverse") : y("text-fg-tertiary", "hover:bg-surface-active"),
9756
+ p ? y("bg-surface-brand", "text-fg-inverse") : y("text-fg-secondary", "hover:bg-surface-active"),
9757
9757
  r ? "opacity-50 cursor-not-allowed" : "cursor-pointer",
9758
9758
  s
9759
9759
  )
@@ -16477,10 +16477,12 @@ function gu({
16477
16477
  children: A.label
16478
16478
  }
16479
16479
  ),
16480
- A.description && /* @__PURE__ */ n.jsx(
16480
+ A.description && // fg-secondary on selected: brand-muted bg drops fg-tertiary below AA;
16481
+ // caption role preserved, intensity raised for contrast.
16482
+ /* @__PURE__ */ n.jsx(
16481
16483
  "div",
16482
16484
  {
16483
- className: `text-xs text-fg-tertiary ${E("0.5", "mt")}`,
16485
+ className: `text-xs ${F ? "text-fg-secondary" : "text-fg-tertiary"} ${E("0.5", "mt")}`,
16484
16486
  children: A.description
16485
16487
  }
16486
16488
  )