@iyulab/components 2.31.0 → 2.31.1

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
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.31.1] - 2026-10-23
4
+
5
+ ### Fixed
6
+
7
+ - `u-avatar` initials now meet WCAG AA contrast. The default background moves from `--u-neutral-500` to `--u-neutral-700`
8
+ (fallback `#9E9E9E` → `#616161`): white initials measured 2.68 (light) and 2.69 (dark) on the old step and 6.19 · 6.08
9
+ on the new one. Avatars without a `background` of their own render a step darker.
10
+
3
11
  ## [2.31.0] - 2026-10-23
4
12
 
5
13
  ### Added
@@ -10,7 +10,7 @@ var styles = css`
10
10
  font-family: var(--u-font-base);
11
11
  font-weight: 600;
12
12
  color: var(--u-neutral-0, #FFFFFF);
13
- background-color: var(--u-neutral-500, #9E9E9E);
13
+ background-color: var(--u-neutral-700, #616161);
14
14
  vertical-align: middle;
15
15
  overflow: hidden;
16
16
  user-select: none;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/components",
3
3
  "description": "web-components library based on lit-element made by iyulab",
4
- "version": "2.31.0",
4
+ "version": "2.31.1",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",