@opencxh/ui-kit 3.57.5 → 3.57.7

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
@@ -412,8 +412,11 @@ const Xe = {
412
412
  "disabled:opacity-50 disabled:cursor-not-allowed",
413
413
  // Size styles
414
414
  Xe[n],
415
- // State styles
416
- d ? "border-error text-error focus:border-error focus:ring-error" : "border-neutral text-primary focus:border-primary focus:ring-primary",
415
+ // State styles — bg-input keeps the unchecked box mode-aware; the
416
+ // checked fill is the forms-plugin `currentColor`. The plugin's
417
+ // check glyph is white, so the fill must stay dark in both modes
418
+ // (accent-fill would invert to near-white in dark → invisible check).
419
+ d ? "border-error bg-input text-error focus:border-error focus:ring-error" : "border-neutral bg-input text-[#1a1a1a] focus:border-primary focus:ring-primary",
417
420
  g
418
421
  ),
419
422
  ...y
@@ -754,7 +757,7 @@ const et = () => /* @__PURE__ */ e("svg", { className: "h-4 w-4", fill: "none",
754
757
  onFocus: P,
755
758
  className: ie(
756
759
  // Base styles
757
- "block w-full rounded-lg border transition-colors duration-200",
760
+ "block w-full rounded-lg border transition-colors duration-200 bg-input",
758
761
  "placeholder:text-[var(--text-muted)] focus:outline-none",
759
762
  "disabled:opacity-50 disabled:cursor-not-allowed",
760
763
  // Size styles
@@ -1110,7 +1113,7 @@ const ct = {
1110
1113
  rows: u,
1111
1114
  className: b(
1112
1115
  // Base styles
1113
- "block w-full rounded-lg border transition-colors duration-200 resize-vertical",
1116
+ "block w-full rounded-lg border transition-colors duration-200 resize-vertical bg-input",
1114
1117
  "placeholder:text-[var(--text-muted)] focus:outline-none focus:ring-0",
1115
1118
  "disabled:opacity-50 disabled:cursor-not-allowed",
1116
1119
  // Size styles
@@ -1216,7 +1219,7 @@ const it = {
1216
1219
  id: C,
1217
1220
  className: b(
1218
1221
  // Base styles
1219
- "block w-full rounded-lg border transition-colors duration-200",
1222
+ "block w-full rounded-lg border transition-colors duration-200 bg-input",
1220
1223
  "placeholder:text-[var(--text-muted)] focus:outline-none focus:ring-1 focus:ring-offset-0",
1221
1224
  "disabled:opacity-50 disabled:cursor-not-allowed",
1222
1225
  // Size styles
@@ -1867,7 +1870,7 @@ const mt = ({
1867
1870
  "w-full text-sm leading-5 text-[var(--text-default)] border-collapse",
1868
1871
  q
1869
1872
  ), U = b("bg-[var(--base-module)]"), le = b(
1870
- "text-[var(--text-default)] dark:text-[var(--text-on-neutral)] p-3 border-b border-[var(--neutral-border)]"
1873
+ "text-[var(--text-default)] p-3 border-b border-[var(--neutral-border)]"
1871
1874
  ), fe = b("h-12", {
1872
1875
  "hover:bg-[var(--neutral-container)] dark:hover:bg-[var(--neutral-container-emphasis)]": N,
1873
1876
  "cursor-pointer": u
@@ -2059,7 +2062,7 @@ const mt = ({
2059
2062
  {
2060
2063
  value: z.pageSize,
2061
2064
  onChange: (o) => M(Number(o.target.value)),
2062
- className: "border border-[var(--neutral-border)] text-[var(--text-default)] dark:text-[var(--text-on-neutral)] rounded-md px-2 py-1 text-sm bg-[var(--base-input)] dark:bg-[var(--base-input)] w-16",
2065
+ className: "border border-[var(--neutral-border)] text-[var(--text-default)] rounded-md px-2 py-1 text-sm bg-[var(--base-input)] w-16",
2063
2066
  children: g.map((o) => /* @__PURE__ */ e("option", { value: o, children: o }, o))
2064
2067
  }
2065
2068
  )