@adia-ai/web-components 0.8.18 → 0.8.19

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": "@adia-ai/web-components",
3
- "version": "0.8.18",
3
+ "version": "0.8.19",
4
4
  "description": "AdiaUI web components \u2014 vanilla custom elements. A2UI runtime (renderer, registry, streams, wiring) lives in @adia-ai/a2ui-runtime.",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",
@@ -51,8 +51,8 @@
51
51
  --a-canvas: var(--md-sys-color-neutral-surface);
52
52
  --a-canvas-subtle: var(--md-sys-color-neutral-surface-dim);
53
53
  --a-canvas-muted: var(--md-sys-color-neutral-surface-dimmer);
54
- --a-canvas-hover: var(--md-sys-color-neutral-hover);
55
- --a-canvas-active: var(--md-sys-color-neutral-active);
54
+ --a-canvas-hover: var(--md-sys-color-neutral-container-low); /* container ladder, not the fill ladder — see --a-bg-hover note */
55
+ --a-canvas-active: var(--md-sys-color-neutral-container);
56
56
  --a-canvas-selected: var(--md-sys-color-neutral-container); /* same tier as --a-bg-selected — see its note */
57
57
 
58
58
  /* Text on neutral surfaces — Material's on-surface family has 3 tiers
@@ -93,8 +93,14 @@
93
93
  --a-bg-subtle: var(--md-sys-color-neutral-surface);
94
94
  --a-bg-muted: var(--md-sys-color-neutral-container-low);
95
95
  --a-bg-strong: var(--md-sys-color-neutral-surface-high);
96
- --a-bg-hover: var(--md-sys-color-neutral-hover);
97
- --a-bg-active: var(--md-sys-color-neutral-active);
96
+ /* hover/active ride the container alpha ladder like selected below —
97
+ NOT the neutral fill ladder. neutral-hover/-active are the FILLED-
98
+ BUTTON stops (opaque 650/700), so every row/option/cell consuming
99
+ --a-bg-hover went near-black on hover while the note below already
100
+ said "hover = container-low"; the roles now match their own ladder.
101
+ hover = container-low (10%), active = container (20%). */
102
+ --a-bg-hover: var(--md-sys-color-neutral-container-low);
103
+ --a-bg-active: var(--md-sys-color-neutral-container);
98
104
  /* selected rides the plain -container stop (20%) — the SAME tier as
99
105
  button variant="tonal"'s rest fill (operator ruling 2026-07-27), so
100
106
  "selected" and "tonal" read as one surface language. The ladder