@adia-ai/web-components 0.8.0 → 0.8.2
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 +20 -0
- package/MIGRATION.md +2328 -0
- package/components/button/button.css +7 -0
- package/components/tags-input/tags-input.a2ui.json +2 -2
- package/components/tags-input/tags-input.class.js +93 -20
- package/components/tags-input/tags-input.test.js +109 -0
- package/components/tags-input/tags-input.yaml +18 -6
- 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.min.js +29 -29
- package/dist/web-components.sheet.js +1 -1
- package/package.json +3 -2
- package/styles/colors/semantics/core.css +14 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
# Changelog — @adia-ai/web-components
|
|
2
|
+
## [0.8.2] — 2026-07-16
|
|
3
|
+
|
|
4
|
+
### Fixed
|
|
5
|
+
- **`button-ui` label ellipsis could never fire** (`components/button/button.css`): `white-space: nowrap` made the `[text]` label part of the button's min-content, so content-sized contexts (flex column cross-axis, row items, grid auto tracks) grew the whole button past its container instead of shrinking the label. `max-width: 100%` on the host caps it (the `img { max-width: 100% }` class of rule); the `::after` ellipsis rules now actually reach. Verified live on the deployed long-text demo before landing. Known residue: child-text buttons clip without an ellipsis (CSS can't reach anonymous text nodes) — the yaml already steers to `text=`.
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **`MIGRATION.md` ships in the tarball** — a generated, CI-gated copy of the framework's migration guide, so consumer repos can read the breaking-change/sweep/verify recipes for exactly the version they installed (`node_modules/@adia-ai/web-components/MIGRATION.md`). Previously the guide existed only inside the framework monorepo.
|
|
9
|
+
|
|
10
|
+
### Maintenance
|
|
11
|
+
- **`dist/` CSS-carrying bundles rebuilt** for the button fix (`web-components.min.css`, `web-components.sheet.js`, `theme-provider.min.js`).
|
|
12
|
+
## [0.8.1] — 2026-07-15
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **`tags-input-ui` chip slot template (TKT-0023)** (`components/tags-input/`). An author `<template slot="chip">` child is cloned once per committed token, with `{{value}}`/`{{index}}` substituted into every text node and attribute of the clone (single regex pass — a token literally equal to a placeholder can't be re-substituted); the template's first element child is the reconcile unit (positional diff — unchanged tokens keep their DOM node), and chip removal delegates from any `[data-index]` root via a bubbling `remove` event. Falls back to the default `<tag-ui removable text>` when the slot is absent or has no element content. Also fixed the latent `#stampShell()` first-connect `innerHTML` replacement that would have destroyed an author's template before it was ever read. 8 new tests.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- **`--a-link` / `--a-link-hover` / `--a-link-visited` failed WCAG AA** (`styles/colors/semantics/core.css`; as low as 2.23:1 on the light canvas) — they read the bare `--md-sys-color-primary` CTA fill, tuned for large filled surfaces, not small text. Re-pointed to Material's `-on-surface` state family (the same family `--a-primary-text` uses); clears 4.5:1 with margin in both schemes. Visible change: links render darker (light scheme) / lighter (dark scheme) than 0.8.0. Caught by the rewritten `verify:contrast` repo gate, which now resolves the real token cascade instead of the retired parametric formula.
|
|
19
|
+
|
|
20
|
+
### Maintenance
|
|
21
|
+
- **`dist/` bundles rebuilt** (tags-input + link-fix payloads; theme-provider CDN script inlines the swept CSS).
|
|
2
22
|
## [0.8.0] — 2026-07-15
|
|
3
23
|
|
|
4
24
|
### BREAKING — Material Design color-token adoption (MINOR cut; see `.claude/docs/MIGRATION GUIDE.md` § v0.8.0)
|