ng-hub-ui-ds 22.12.0 → 22.13.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/CHANGELOG.md CHANGED
@@ -5,6 +5,27 @@ All notable changes to `ng-hub-ui-ds` are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [22.13.0] - 2026-09-24
9
+
10
+ ### Fixed
11
+
12
+ - **Muted text is readable on the elevated surface.** `--hub-sys-text-muted` was the ref ramp's
13
+ `gray-600` (`#6c757d`), which reads 4.69:1 on `#ffffff` but **4.44:1** on `#f8f9fa` — under the
14
+ 4.5:1 of WCAG 1.4.3, and `#f8f9fa` is the surface a card, a table head, an input group addon or
15
+ a form hint actually sits on. It is now `#6a737b`, the same hue one step darker, at **4.83:1**
16
+ on the page and **4.58:1** on the elevated surface. Both the light/base theme and `bootstrap`
17
+ carried the failing grey; the other five built-ins were already clear and are untouched
18
+ (`dark` 8.03:1, `sunset` 6.38:1, `forest` 6.44:1, `mono` 6.87:1, `terminal` 5.55:1, worst
19
+ surface each). `--hub-sys-color-text-subtle` follows, being an alias of it.
20
+
21
+ ### Added
22
+
23
+ - **The text roles have a test of their own.** `tests/text-contrast.spec.mjs` walks every
24
+ `--hub-sys-text-*` role against both surfaces of every theme in the compiled sheet and fails
25
+ under the minimum the package itself states in `--hub-sys-text-contrast-min`. Themes, roles and
26
+ the threshold are read from the sheet, so a new theme or a new text token is covered without
27
+ editing the test. It runs as `npm test` and gates `prepublishOnly`.
28
+
8
29
  ## [22.12.0] - 2026-09-23
9
30
 
10
31
  ### Fixed