@opencxh/ui-kit 3.57.6 → 3.57.8
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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-[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",
|
|
417
420
|
g
|
|
418
421
|
),
|
|
419
422
|
...y
|