@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 +5 -0
- package/components/card/card.css +9 -8
- package/components/drawer/drawer.css +1 -1
- package/components/modal/modal.css +1 -1
- package/components/popover/popover.css +1 -1
- 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/parameters.css +1 -1
- package/styles/colors/surfaces.css +7 -0
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.
|
package/components/card/card.css
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--card-description-size: var(--a-caption-size);
|
|
21
21
|
|
|
22
22
|
/* ── Colors ── */
|
|
23
|
-
--card-bg: var(--a-canvas-
|
|
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
|
|
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-
|
|
464
|
-
:scope card-ui card-ui { --card-bg: var(--a-canvas-
|
|
465
|
-
:scope card-ui card-ui card-ui { --card-bg: var(--a-canvas-
|
|
466
|
-
:scope card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-
|
|
467
|
-
:scope card-ui card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-
|
|
468
|
-
:scope card-ui card-ui card-ui card-ui card-ui card-ui { --card-bg: var(--a-canvas-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
}
|