@opencxh/ui-kit 3.61.0 → 3.70.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
@@ -416,7 +416,7 @@ const Xe = {
416
416
  // checked fill is the forms-plugin `currentColor`. The plugin's
417
417
  // check glyph is white, so the fill must stay dark in both modes
418
418
  // (accent-fill would invert to near-white in dark → invisible check).
419
- u ? "border-error bg-[var(--base-input)] text-error focus:border-error focus:ring-error" : "border-neutral bg-[var(--base-input)] text-[#1a1a1a] focus:border-primary focus:ring-primary",
419
+ u ? "border-error [&:not(:checked)]:bg-[var(--base-input)] text-error focus:border-error focus:ring-error" : "border-neutral [&:not(:checked)]:bg-[var(--base-input)] text-[#1a1a1a] focus:border-primary focus:ring-primary",
420
420
  b
421
421
  ),
422
422
  ...g
@@ -1042,7 +1042,7 @@ const ot = {
1042
1042
  type: "checkbox",
1043
1043
  checked: A,
1044
1044
  readOnly: !0,
1045
- className: "mr-3 h-4 w-4 rounded border-neutral bg-[var(--base-input)] text-[#1a1a1a] focus:ring-primary"
1045
+ className: "mr-3 h-4 w-4 rounded border-neutral [&:not(:checked)]:bg-[var(--base-input)] text-[#1a1a1a] focus:ring-primary"
1046
1046
  }
1047
1047
  ),
1048
1048
  /* @__PURE__ */ e("span", { children: S.label })
@@ -1912,7 +1912,7 @@ const mt = ({
1912
1912
  o && (o.indeterminate = ee && !T);
1913
1913
  },
1914
1914
  onChange: (o) => re(o.target.checked),
1915
- className: "rounded border-neutral bg-[var(--base-input)] text-[#1a1a1a]"
1915
+ className: "rounded border-neutral [&:not(:checked)]:bg-[var(--base-input)] text-[#1a1a1a]"
1916
1916
  }
1917
1917
  ) }),
1918
1918
  !r && a.map((o) => /* @__PURE__ */ e(
@@ -1998,7 +1998,7 @@ const mt = ({
1998
1998
  onChange: (j) => {
1999
1999
  j.stopPropagation(), Q(o, j.target.checked);
2000
2000
  },
2001
- className: "rounded border-neutral bg-[var(--base-input)] text-[#1a1a1a]"
2001
+ className: "rounded border-neutral [&:not(:checked)]:bg-[var(--base-input)] text-[#1a1a1a]"
2002
2002
  }
2003
2003
  ) }),
2004
2004
  a.map((j) => {