@adia-ai/web-components 0.7.21 → 0.7.22

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,10 @@
1
1
  # Changelog — @adia-ai/web-components
2
2
 
3
+ ## [0.7.22] — 2026-06-16
4
+
5
+ ### Changed
6
+ - **Surface tokens aligned onto the symmetric canvas ramp.** The `--a-canvas-*` surface assignments were consolidated onto one symmetric luminance ramp so elevation reads identically in light + dark (the prior mix of the flipping + symmetric ramps inverted in light mode). Chrome overlays — `components/modal`, `components/popover`, `components/drawer` — sit at `--a-canvas-dimmer`; `components/card` (`card-ui`) roots at `--a-canvas-base` with nesting `base → bright → brighter → brightest` (capped). `styles/colors/surfaces.css` gained the named canvas luminance scales (`--a-canvas-{dimmest…brightest}`); `styles/colors/parameters.css` updated; `drawer-ui` pulled on-ramp (was the only off-ramp overlay). `dist/` bundles (`host`, `theme-provider`, `web-components`) regenerated. Re-skins every modal/card/drawer/popover — a visible behavior change with no public-API change (PATCH). (journal 2026-06-15 §6)
7
+
3
8
  ## [0.7.21] — 2026-06-10
4
9
 
5
10
  ### Maintenance In-repo only: 57 `components/`/`traits/` `*.examples.html` files were de-annotated as part of the corpus curation (demo markers kept for the `?chunks` overlay) — `.examples.html` files are excluded from the published tarball (`files:` negation), so the npm artifact is unchanged.
@@ -20,7 +20,7 @@
20
20
  --card-description-size: var(--a-caption-size);
21
21
 
22
22
  /* ── Colors ── */
23
- --card-bg: var(--a-canvas-1);
23
+ --card-bg: var(--a-canvas-base);
24
24
  --card-bg-padded: var(--a-canvas-0-scrim);
25
25
  --card-fg: var(--a-fg);
26
26
  --card-heading-fg: var(--a-fg-strong);
@@ -457,13 +457,14 @@
457
457
  }
458
458
 
459
459
  /* ═══════ Nested surface layering ═══════
460
- Step background up one canvas level per nesting depth.
460
+ Step background up the symmetric luminance ramp (base → bright → brighter →
461
+ brightest) per nesting depth; depths past brightest cap at brightest.
461
462
  :scope card-ui has specificity (0,1,1) which beats the
462
463
  :where(:scope) initializer (0,0,0) in each inner scope. */
463
- :scope card-ui { --card-bg: var(--a-canvas-1); --card-border: 1px solid var(--a-border); --a-radius: var(--a-radius-md); }
464
- :scope card-ui card-ui { --card-bg: var(--a-canvas-2); --a-radius: var(--a-radius-sm); }
465
- :scope card-ui card-ui card-ui { --card-bg: var(--a-canvas-3); }
466
- :scope card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-4); }
467
- :scope card-ui card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-5); }
468
- :scope card-ui card-ui card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-6); }
464
+ :scope card-ui { --card-bg: var(--a-canvas-base); --card-border: 1px solid var(--a-border); --a-radius: var(--a-radius-md); }
465
+ :scope card-ui card-ui { --card-bg: var(--a-canvas-bright); --a-radius: var(--a-radius-sm); }
466
+ :scope card-ui card-ui card-ui { --card-bg: var(--a-canvas-brighter); }
467
+ :scope card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-brightest); }
468
+ :scope card-ui card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-brightest); }
469
+ :scope card-ui card-ui card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-brightest); }
469
470
  }
@@ -30,7 +30,7 @@
30
30
  --drawer-easing: var(--a-easing-out);
31
31
 
32
32
  /* ── Colors ── */
33
- --drawer-bg: var(--a-canvas-1);
33
+ --drawer-bg: var(--a-canvas-dimmer);
34
34
  --drawer-border: var(--a-border-subtle);
35
35
  --drawer-divider: var(--a-border-subtle);
36
36
  --drawer-shadow: var(--a-shadow-lg);
@@ -11,7 +11,7 @@
11
11
  :where(:scope) {
12
12
  --modal-width: 32rem;
13
13
  --modal-radius: var(--a-radius-lg);
14
- --modal-bg: var(--a-bg-subtle);
14
+ --modal-bg: var(--a-canvas-dimmer);
15
15
  --modal-border: var(--a-border-subtle);
16
16
  --modal-shadow: var(--a-shadow-lg);
17
17
  --modal-backdrop: var(--a-scrim-dialog);
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* ── Colors (default panel chrome — opt out per `:has(>card-ui)` rule
9
9
  below or by setting tokens to transparent / 0) ── */
10
- --popover-bg: var(--a-bg-subtle);
10
+ --popover-bg: var(--a-canvas-dimmer);
11
11
  --popover-border: var(--a-border-subtle);
12
12
  --popover-shadow: var(--a-shadow-lg);
13
13
  }