@adia-ai/a2ui-corpus 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 +5 -0
- package/catalog-a2ui_0_9_rules.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.7.26] — 2026-07-04
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- **`catalog-a2ui_0_9_rules.txt` regenerated — `empty-state-ui`'s CTA guidance no longer prescribes `variant="outline"` for secondary/retry actions.** Ride-along regen from the `@adia-ai/web-components` `empty-state.yaml` `a2ui: rules:` fix (see that package's changelog for the root-cause investigation). Regenerated from the yaml SoT via `components.mjs` — never hand-edited.
|
|
7
|
+
|
|
3
8
|
## [0.7.25] — 2026-07-03
|
|
4
9
|
|
|
5
10
|
### Changed
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
## EmptyState
|
|
258
258
|
- Use <empty-state-ui> for zero-data states: empty lists, no-results search, fresh accounts. Not for loading (use <skeleton-ui>). For inline notices within populated content use <alert-ui>. For full-section error states where the data cannot be shown at all (API failure, permission error), use <empty-state-ui variant="danger"> — the centered layout is more appropriate than an inline banner when the entire content area is replaced.
|
|
259
259
|
- Canonical placement: slotted into cluster-specific wrappers — <chat-empty> inside <chat-thread>, <editor-canvas-empty> inside <editor-canvas>, OR inside <card-ui><section> for in-card empty states. Compose with an <icon-ui> for the leading glyph (pick a Phosphor name that mirrors the missing entity — folder, inbox, magnifying-glass).
|
|
260
|
-
- Put AT MOST ONE CTA in slot="action". It should be the single next step (Create, Retry, Clear filters).
|
|
260
|
+
- Put AT MOST ONE CTA in slot="action". It should be the single next step (Create, Retry, Clear filters). Use [variant="primary"] for a create-flow CTA; leave [variant] unset for retry / secondary actions — the default (no attribute) already IS the secondary look, so don't add [variant="outline"] just to mark something as non-primary.
|
|
261
261
|
- Use [minimal] for inline empty rows inside <table-ui> / <list-ui> where full-canvas chrome is too prominent. The `minimal` flag (§223 v0.5.9) drops chrome for a compact placeholder cell.
|
|
262
262
|
- Per ADR-0027, empty-state-ui composes <icon-ui> but does NOT auto-register it. Consumer pages must explicitly import <icon-ui> before <empty-state-ui> renders correctly.
|
|
263
263
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-corpus",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AdiaUI A2UI training corpus \u2014 canonical v0.9 catalog + chunks + eval fixtures + feedback + gap registry. Consumed by the compose engine's retrieval layer + the MCP pipeline.",
|
|
6
6
|
"exports": {
|