@adia-ai/a2ui-corpus 0.7.25 → 0.7.27
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 +17 -7
- package/README.md +1 -1
- package/catalog-a2ui_0_9.json +5 -0
- package/catalog-a2ui_0_9_rules.txt +1 -1
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +1 -1
- package/chunks/admin-topbar-status-indicator.json +2 -10
- package/chunks/card-with-stat-kpi.json +2 -10
- package/chunks/col-stat-label.json +2 -10
- package/chunks/dashboard-acquisition-panel.json +2 -1
- package/chunks/dashboard-chart-recent.json +3 -1
- package/chunks/dashboard-overview-panel.json +3 -1
- package/chunks/dashboard-traffic-channels.json +2 -1
- package/chunks/grid-2col-entry-cards.json +9 -25
- package/chunks/map-with-location-list.json +3 -1
- package/chunks/row-wrap-tags.json +6 -46
- package/chunks/table-toolbar-with-table.json +11 -35
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
|
+
## [0.7.27] — 2026-07-12
|
|
3
|
+
|
|
4
|
+
### Maintenance
|
|
5
|
+
- **Chunk corpus re-harvested through the 0.7.27 transpiler** — chunk bodies now carry the fidelity fixes shipped in `@adia-ai/a2ui-compose` 0.7.27 (`[span]` preservation, `Tag` `text`-prop labels) and the `aria-label` propagation contract; embeddings index rebuilt to match (394 chunks × 1536d).
|
|
6
|
+
- **Catalog (`catalog-a2ui_0_9.json`) regenerated** — picks up `richtext-ui`'s new `flush` prop from the yaml SoT.
|
|
7
|
+
|
|
8
|
+
## [0.7.26] — 2026-07-04
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **`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.
|
|
2
12
|
|
|
3
13
|
## [0.7.25] — 2026-07-03
|
|
4
14
|
|
|
@@ -297,7 +307,7 @@ Patterns shipped: card-ui header/section/footer anatomy; row-ui header pattern;
|
|
|
297
307
|
|
|
298
308
|
### Maintenance
|
|
299
309
|
|
|
300
|
-
- **Lockstep version bump only.** Peer's v0.6.32 absorbed the chunk + embeddings regen against the status:stable yaml sweep (recovery committed at `e864fc396` post peer's release commit `5285defa8`; see
|
|
310
|
+
- **Lockstep version bump only.** Peer's v0.6.32 absorbed the chunk + embeddings regen against the status:stable yaml sweep (recovery committed at `e864fc396` post peer's release commit `5285defa8`; see `2026-05-23-freshness-gate-recovery-v0.6.32.md` case study (git history)).
|
|
301
311
|
|
|
302
312
|
## [0.6.31] — 2026-05-23
|
|
303
313
|
|
|
@@ -948,7 +958,7 @@ The harvester is repo-tooling (`scripts/build/`), not a corpus package member, b
|
|
|
948
958
|
- **§42 nested-expand-then-transpile pass** — after collection, recursively expands `<!-- nested: <name> -->` placeholders in annotated chunks, then transpiles the expanded HTML to A2UI templates via `transpileHTML(html, { mode: 'instant' })`.
|
|
949
959
|
- **§45 source-aware tier-1 expansion fix** — replaces §42's "first wins" canonical-html rule with directory-aware selection. **Bug**: `auth-card-content` has 24 instances; the 404 page sorted alphabetically first, so EVERY auth chunk silently inlined 404 page content from §41 landing through §45 discovery (smoke tests only checked retrieval strategy, not template content). **Fix**: Tier 1 exact directory match → Tier 2 deepest common directory prefix → Tier 3 alphabetical. Without it, `apps/user-flow/app/auth/sign-in/` shares depth with `apps/user-flow/app/auth/sign-in/mfa/` and tie-break would pick wrong sibling.
|
|
950
960
|
|
|
951
|
-
See root [CHANGELOG.md `[Unreleased]`](../../../CHANGELOG.md) for the cross-cutting arc narrative +
|
|
961
|
+
See root [CHANGELOG.md `[Unreleased]`](../../../CHANGELOG.md) for the cross-cutting arc narrative + `.claude/docs/journal/2026/05/2026-05-12.md` §§ 36-51 for per-§ details.
|
|
952
962
|
## [0.4.3] - 2026-05-11
|
|
953
963
|
|
|
954
964
|
### Changed
|
|
@@ -1197,7 +1207,7 @@ Patch cut — no breaking changes.
|
|
|
1197
1207
|
|
|
1198
1208
|
### Changed — Trait registry now generated from web-components SoT (2026-05-02)
|
|
1199
1209
|
|
|
1200
|
-
`packages/a2ui/retrieval/catalog.js` no longer carries a hand-curated `traitRegistry` array. The trait list is loaded at module init from `packages/web-components/traits/_catalog.json` (generated by `node scripts/build/traits-catalog.mjs` in the monorepo root from live `defineTrait()` metadata). Per
|
|
1210
|
+
`packages/a2ui/retrieval/catalog.js` no longer carries a hand-curated `traitRegistry` array. The trait list is loaded at module init from `packages/web-components/traits/_catalog.json` (generated by `node scripts/build/traits-catalog.mjs` in the monorepo root from live `defineTrait()` metadata). Per `ADR-0018`.
|
|
1201
1211
|
|
|
1202
1212
|
Behavior changes:
|
|
1203
1213
|
- 4 phantom traits (`disabled-state`, `form-associated`, `value-sync`, `resettable`) no longer appear in MCP `get_traits` responses — they had no implementation in `traits/`. Auto-pruned by construction.
|
|
@@ -1245,11 +1255,11 @@ New `scripts/build/under-harvest-audit.mjs` flags pages under `site/pages/{patte
|
|
|
1245
1255
|
### Fixed — A2UI registry gap closure + ADR-0015 pattern migration (2026-05-02)
|
|
1246
1256
|
|
|
1247
1257
|
- **Registry additions** in `@adia-ai/a2ui-utils`: `Field`, `Rating`, `ListItem`, `NavItem`, `NavGroup`. All 5 components existed; only the registry mapping was missing. Net effect on the corpus: 28/113 hand-authored patterns previously rendered with `[unknown: X]` placeholders when imported into `/site/playground/a2ui-editor`. After: 0/113 unknown.
|
|
1248
|
-
- **`patterns/navigation/section-subnav.json`** migrated per
|
|
1258
|
+
- **`patterns/navigation/section-subnav.json`** migrated per `ADR-0015 § Nav consolidation`. `SectionNav` → `Nav variant=section`; `SectionNavItem` → `NavItem`. The pattern was referencing the retired 6-element nav family.
|
|
1249
1259
|
- **`patterns/layout/weather-widget.json`** — renamed `Metric` → `Stat` (no `<metric-ui>` exists; `Stat` is the canonical metric/value/change/trend primitive).
|
|
1250
1260
|
- Smoke side-effect: zettel score bumped 91 → 92; smoke validation flipped from `valid=false score=98/91` → `valid=true score=100/92`. The registry gaps were tripping validation upstream.
|
|
1251
1261
|
|
|
1252
|
-
Per-finding triage in
|
|
1262
|
+
Per-finding triage in `.claude/docs/reports/playground-examples-review-2026-05-02.md`.
|
|
1253
1263
|
## [0.2.0] - 2026-05-02
|
|
1254
1264
|
|
|
1255
1265
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
|
|
@@ -1299,12 +1309,12 @@ release.
|
|
|
1299
1309
|
`<adia-chat-ui>`; `<editor-shell>` was `<adia-editor-ui>`;
|
|
1300
1310
|
`<admin-shell>` was `<app-shell-ui>`; `<gen-root>` was
|
|
1301
1311
|
`<gen-ui-ui>`; `<chat-thread-ui>` was `<chat-ui>`). Element renames
|
|
1302
|
-
per
|
|
1312
|
+
per `ADR-0015`;
|
|
1303
1313
|
nav consolidation per ADR-0015 § Nav consolidation. The 6-element
|
|
1304
1314
|
nav family (`<app-nav-*>` + `<section-nav-*>`) collapsed into 3
|
|
1305
1315
|
primitives. Synthesizer no longer emits the renamed-away tags.
|
|
1306
1316
|
- **`yaml name:` fields swept** per
|
|
1307
|
-
|
|
1317
|
+
`ADR-0016` —
|
|
1308
1318
|
primitives now `name: UI<X>` (was `Adia<X>`); modules now
|
|
1309
1319
|
`name: <X>` without the `Adia` prefix. Consumers reading the
|
|
1310
1320
|
catalog to cross-reference class names get the current convention.
|
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ hand-authored ungrounded JSON lives in `corpus/`.
|
|
|
61
61
|
> retrievable equivalents were either (a) already represented in the
|
|
62
62
|
> chunks corpus via annotated `data-chunk-*` regions, or (b) deemed
|
|
63
63
|
> non-grounded under the locked rule and DELETE'd in §73 Mode-C triage
|
|
64
|
-
> (target for v0.4.7). See
|
|
64
|
+
> (target for v0.4.7). See `.claude/docs/journal/2026/05/2026-05-12.md`
|
|
65
65
|
> §§ 36-§42, §65, §72 for the multi-arc retirement narrative.
|
|
66
66
|
|
|
67
67
|
## Layout
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -19977,6 +19977,11 @@
|
|
|
19977
19977
|
"component": {
|
|
19978
19978
|
"const": "RichText"
|
|
19979
19979
|
},
|
|
19980
|
+
"flush": {
|
|
19981
|
+
"description": "Paragraph-grade embedding mode — removes the article chrome (body padding and the 45rem reading measure, plus the trailing paragraph margin) so the rendered markdown sits flush in a host column like a plain text block. Use when richtext carries a single paragraph or fragment inside an already-measured layout (doc pages, cards); leave off for standalone articles and chat transcripts.",
|
|
19982
|
+
"type": "boolean",
|
|
19983
|
+
"default": false
|
|
19984
|
+
},
|
|
19980
19985
|
"markdown": {
|
|
19981
19986
|
"description": "Component property: markdown.",
|
|
19982
19987
|
"type": "string",
|
|
@@ -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
|
|