@leavepulse/ui 0.22.14 → 0.22.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavepulse/ui",
3
- "version": "0.22.14",
3
+ "version": "0.22.15",
4
4
  "type": "module",
5
5
  "description": "LeavePulse token-driven Vue component kit.",
6
6
  "repository": {
@@ -61,10 +61,16 @@
61
61
  transition: background-color 100000s ease-in-out 0s;
62
62
  }
63
63
 
64
- /* Firefox names it differently and does honour a background here. */
65
- .lp-autofill:autofill,
66
- .lp-autofill:-moz-autofill {
67
- background-color: var(--color-surface-soft);
68
- color: var(--color-ink);
64
+ /*
65
+ * Firefox uses the standard name. Kept in its OWN rule: a selector list is
66
+ * dropped whole when any part of it fails to parse, so pairing this with the
67
+ * `-webkit-` prefixed one would silently lose it in every browser that knows
68
+ * only one of the two — which is exactly how this looked fixed while doing
69
+ * nothing on Firefox.
70
+ */
71
+ .lp-autofill:autofill {
72
+ box-shadow: inset 0 0 0 1000px var(--color-surface-soft);
73
+ -webkit-text-fill-color: var(--color-ink);
74
+ caret-color: var(--color-ink);
69
75
  filter: none;
70
76
  }