@adia-ai/web-components 0.8.15 → 0.8.16
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/CHANGELOG.md +12 -0
- package/dist/host.min.css +1 -1
- package/dist/host.sheet.js +1 -1
- package/dist/theme-provider.min.js +1 -1
- package/dist/web-components.min.css +1 -1
- package/dist/web-components.sheet.js +1 -1
- package/package.json +1 -1
- package/styles/colors/material-static.css +24 -24
- package/styles/theme-fonts-url.txt +2 -1
- package/styles/themes.css +13 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @adia-ai/web-components
|
|
2
2
|
|
|
3
|
+
## [0.8.16] — 2026-07-26
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Text on the default palette's filled interaction states now meets WCAG AA** (`styles/colors/material-static.css`; gh#427) — scope of the claim: the 48 verified pairs are `on-<family>` over `<family>`, `-hover`, and `-active` for all 8 families in both schemes. Container, disabled, and per-`[theme]` fills are *not* covered by that run. — `on-<family>` text is the near-white `<family>-050` stop, and the resting fill was `<family>-500`, which measured **1.97:1 for `warning`** and 2.90–4.28:1 for the other seven: all 8 families shipped sub-AA text at rest. Worse, dark-mode `-active` resolved to the *light* `250` stop under that same near-white text, measuring **1.32–1.76:1** across all 8 — effectively invisible text while a button is pressed. The fill roles move to one monotonically darkening ladder, identical in both schemes: rest `600` / hover `650` / active `700`, with `secondary` at `650`/`700`/`750` and `warning` at `700`/`750`/`800` (its 1.97 start needed three steps). Measured after the change: every family clears 4.5:1 in all three states, worst cell 4.73:1 (`primary` at rest).
|
|
7
|
+
|
|
8
|
+
Two deliberate consequences. Fills are visibly darker, `warning` most of all. And dark mode loses its lighter-on-press behaviour — that `250` stop *was* the 1.32:1 defect, so press feedback now darkens in both schemes, which also removes the light/dark stop divergence in the fill ladder entirely.
|
|
9
|
+
|
|
10
|
+
- **`styles/themes.css`'s contrast claim corrected** — its header stated the hue-rotation "preserves the verified WCAG AA 4.5:1 thresholds (`npm run verify:contrast`, 42/42 pairs, **every theme**)". Two things were wrong: that 42-pair roster never checked a fill at all (gh#427), and the gate resolves only the default ramps — it does not iterate `[theme]` blocks, so no theme was ever measured. The header now states the real scope: 90 pairs proving the default palette, with per-theme ratios resting on the rotation argument (per-stop lightness untouched, and WCAG luminance is lightness-dominated) rather than on a measured run. Mechanizing per-theme verification is not done here.
|
|
11
|
+
|
|
12
|
+
### Maintenance
|
|
13
|
+
- **`dist/` bundles rebuilt** in this cut's window (5 file(s)) — regenerated from the source changes described above, not independent edits.
|
|
14
|
+
|
|
3
15
|
## [0.8.15] — 2026-07-26
|
|
4
16
|
|
|
5
17
|
### Changed
|