@adia-ai/web-components 0.7.25 → 0.7.26
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.26] — 2026-07-04
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **`empty-state-ui` (`components/empty-state/`) — the AI-composition rule no longer recommends `variant="outline"` for secondary/retry actions.** The `a2ui: rules:` guidance in `components/empty-state/empty-state.yaml` said "Prefer `[variant="primary"]` for create-flows; `[variant="outline"]` for retry / secondary actions" — reinforcing a repo-wide habit of reaching for `outline` just to mark a button as non-primary, when the unstyled default already IS the secondary look (`:where(:scope)` base tokens read `--a-ui-bg`, distinct from `variant="primary"`'s `--a-primary` accent fill). Corrected to: `variant="primary"` for the create-flow CTA, leave `variant` unset for retry/secondary. Regenerated `catalog-a2ui_0_9_rules.txt` from the yaml SoT (never hand-edited); mirrored the same correction into `components/empty-state/empty-state.examples.html`'s doc list. Root-cause investigation (corpus evidence: 446 `button-ui` tags harvested, only 30 bare vs. 91 explicit `outline` + 215 `ghost`) + the companion fixes in `@adia-ai/a2ui-compose` are in that package's changelog.
|
|
7
|
+
|
|
3
8
|
## [0.7.25] — 2026-07-03
|
|
4
9
|
|
|
5
10
|
Upstream consumer finding from `adia-pay` (F10, sibling of F1–F9 shipped in 0.7.24) — a token-modeled `variant="flat|contained"` posture for the accordion, plus its two footnote bugs.
|
|
@@ -116,9 +116,11 @@ a2ui:
|
|
|
116
116
|
magnifying-glass).
|
|
117
117
|
- >-
|
|
118
118
|
Put AT MOST ONE CTA in slot="action". It should be the single
|
|
119
|
-
next step (Create, Retry, Clear filters).
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
next step (Create, Retry, Clear filters). Use [variant="primary"]
|
|
120
|
+
for a create-flow CTA; leave [variant] unset for retry / secondary
|
|
121
|
+
actions — the default (no attribute) already IS the secondary
|
|
122
|
+
look, so don't add [variant="outline"] just to mark something as
|
|
123
|
+
non-primary.
|
|
122
124
|
- >-
|
|
123
125
|
Use [minimal] for inline empty rows inside <table-ui> /
|
|
124
126
|
<list-ui> where full-canvas chrome is too prominent. The
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.26",
|
|
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",
|