@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-components",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
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",
|
|
@@ -111,7 +111,8 @@
|
|
|
111
111
|
"custom-elements.json",
|
|
112
112
|
"USAGE.md",
|
|
113
113
|
"README.md",
|
|
114
|
-
"CHANGELOG.md"
|
|
114
|
+
"CHANGELOG.md",
|
|
115
|
+
"MIGRATION.md"
|
|
115
116
|
],
|
|
116
117
|
"sideEffects": [
|
|
117
118
|
"*.css",
|
|
@@ -139,13 +139,20 @@
|
|
|
139
139
|
--a-primary-active: var(--md-sys-color-primary-active);
|
|
140
140
|
--a-primary-selected: var(--md-sys-color-primary);
|
|
141
141
|
|
|
142
|
-
/* Link family —
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
142
|
+
/* Link family — fixed 2026-07-15 (contract step 11, `verify:contrast`
|
|
143
|
+
rewrite surfaced a real regression, not a near-miss: bare
|
|
144
|
+
`--md-sys-color-primary` is the vivid CTA/button fill, tuned for a
|
|
145
|
+
large filled surface, not small text on the page background — it
|
|
146
|
+
measured as low as 2.23:1 in light mode, badly failing AA 4.5:1).
|
|
147
|
+
Material ships a role built for exactly this ("colored text on a
|
|
148
|
+
neutral surface"): `-on-surface` + its own `-hover`/`-active` state
|
|
149
|
+
family, already used by `--a-primary-text` below for the identical
|
|
150
|
+
purpose. Re-pointed link to the same family instead of inventing a
|
|
151
|
+
workaround — verified via `verify:contrast`, clears AA in both
|
|
152
|
+
schemes with wide margin (primary-950/-050 are near-black/near-white). */
|
|
153
|
+
--a-link: var(--md-sys-color-primary-on-surface);
|
|
154
|
+
--a-link-hover: var(--md-sys-color-primary-on-surface-hover);
|
|
155
|
+
--a-link-visited: var(--md-sys-color-primary-on-surface-active);
|
|
149
156
|
|
|
150
157
|
/* Primary text on primary solid bg — needs light text on dark-ish primary */
|
|
151
158
|
--a-primary-text-strong: var(--md-sys-color-primary-on-primary);
|