@adia-ai/a2ui-corpus 0.0.1 → 0.0.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 +101 -20
- package/catalog-a2ui_0_9.json +804 -41
- package/exemplars/_shell.css +88 -0
- package/exemplars/prose/auth-login/index.html +35 -26
- package/exemplars/prose/cta/a2ui.json +1 -1
- package/exemplars/prose/cta/chunks/prose-cta-card-1.json +1 -1
- package/exemplars/prose/cta/index.html +15 -33
- package/exemplars/prose/feature-grid/index.html +7 -17
- package/exemplars/prose/footer/index.html +8 -9
- package/exemplars/prose/hero/index.html +14 -24
- package/exemplars/prose/pricing/index.html +7 -17
- package/exemplars/prose/steps/index.html +8 -5
- package/exemplars/prose/testimonials/index.html +19 -16
- package/exemplars/ui/auth-login/index.html +27 -34
- package/package.json +1 -1
- package/patterns/_components.json +2 -2
- package/patterns/_index.json +131 -41
- package/patterns/data/chart-card-with-trend-footer.json +102 -0
- package/patterns/data/chart-card-with-trend-footer.yaml +56 -0
- package/patterns/data/chart-grid-with-kpis.json +314 -0
- package/patterns/data/chart-grid-with-kpis.yaml +63 -0
- package/patterns/data/chart-with-filter-pills.json +127 -0
- package/patterns/data/chart-with-filter-pills.yaml +76 -0
- package/patterns/data/stat-with-sparkline.json +67 -0
- package/patterns/data/stat-with-sparkline.yaml +51 -0
- package/fragments/content/chart-legend.json +0 -122
- package/fragments/form/rating-row.json +0 -31
- package/fragments/form/rating-row.yaml +0 -40
package/CHANGELOG.md
CHANGED
|
@@ -9,7 +9,106 @@ gap registry. Consumed by `@adia-ai/a2ui-retrieval` and
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## [0.0.2] - 2026-04-27
|
|
13
|
+
|
|
14
|
+
Three-day batch since `0.0.1`. Catalog regenerated against the
|
|
15
|
+
Phase 6 web-components surface (status enum, button `[color]` axis,
|
|
16
|
+
canonical event names); four new dashboard / data patterns; nine
|
|
17
|
+
prose exemplars purged of inline styles; auth-login + cta exemplars
|
|
18
|
+
migrated to canonical field-ui wrapping; three superseded fragments
|
|
19
|
+
removed. Pure-data package — no executable code change.
|
|
20
|
+
|
|
21
|
+
### Added (patterns)
|
|
22
|
+
|
|
23
|
+
- **`patterns/data/chart-card-with-trend-footer.{json,yaml}`** —
|
|
24
|
+
card-ui composition with chart in body and trend-stat footer
|
|
25
|
+
(KPI delta + sparkline). Dashboard pattern.
|
|
26
|
+
- **`patterns/data/chart-grid-with-kpis.{json,yaml}`** — grid-ui
|
|
27
|
+
layout pattern with KPI cards above and chart-ui beneath, the
|
|
28
|
+
canonical "dashboard above the fold" shape.
|
|
29
|
+
- **`patterns/data/chart-with-filter-pills.{json,yaml}`** —
|
|
30
|
+
chart-ui composed with row-ui of filter pills above (segmented-ui
|
|
31
|
+
/ tag-ui mix), the standard chart-with-toolbar shape.
|
|
32
|
+
- **`patterns/data/stat-with-sparkline.{json,yaml}`** — atomic
|
|
33
|
+
KPI stat pattern with inline sparkline. Used as the building
|
|
34
|
+
block for `chart-card-with-trend-footer`.
|
|
35
|
+
|
|
36
|
+
### Added (authoring infrastructure)
|
|
37
|
+
|
|
38
|
+
- **`exemplars/_shell.css`** — shared body-shell + decoration-class
|
|
39
|
+
stylesheet linked from the corpus exemplar root. Codifies the
|
|
40
|
+
"no inline styles in exemplars" rule documented in the project
|
|
41
|
+
CLAUDE.md / AGENTS.md. New exemplars link this file from their
|
|
42
|
+
`index.html` and rely on `col-ui` / `row-ui` / `grid-ui` for
|
|
43
|
+
layout instead of `<style>` blocks or `style="…"` attributes.
|
|
44
|
+
|
|
45
|
+
### Changed (catalog)
|
|
46
|
+
|
|
47
|
+
- **`catalog-a2ui_0_9.json`** rebuilt against the v0.0.20 / v0.0.21
|
|
48
|
+
web-components yaml surface. Diff includes:
|
|
49
|
+
- `status` enum on `timeline-item-ui` / `stepper-item-ui` /
|
|
50
|
+
`pipeline-status-ui` (replaces the prior multi-Boolean shape).
|
|
51
|
+
- `[color]` enum on `button-ui` (`default | accent | info |
|
|
52
|
+
success | warning | danger`), `variant` simplified to
|
|
53
|
+
style-only.
|
|
54
|
+
- Canonical event names — `submit` on `chat-ui` (was
|
|
55
|
+
`chat-submit`), `toggle` on `chart-legend-ui` (was
|
|
56
|
+
`legend-toggle`), `change` on `swiper-ui` (was `slide-change`).
|
|
57
|
+
- `error` variant alias dropped from `toast-ui` / `alert-ui` /
|
|
58
|
+
`tag-ui` enums.
|
|
59
|
+
- `agent-trace-ui` `[collapsed]` (was `[open]`).
|
|
60
|
+
- `field-ui` `error` prop removed from props list.
|
|
61
|
+
- `table-toolbar-ui` opt-out attribute names — `noFilter` /
|
|
62
|
+
`noSort` / `noColumns` / `noSearch`.
|
|
63
|
+
- **`patterns/_components.json:3020`** — `timeline-item-ui`
|
|
64
|
+
children-snippet migrated `completed active` → `status="completed"`.
|
|
65
|
+
The snippet feeds the LLM bridge; the legacy form would have
|
|
66
|
+
caused gen-ui to suggest deprecated attributes when generating
|
|
67
|
+
timelines.
|
|
68
|
+
- **`patterns/_index.json`** regenerated to reflect the four new
|
|
69
|
+
data patterns and a few keyword refinements.
|
|
70
|
+
|
|
71
|
+
### Changed (exemplars)
|
|
72
|
+
|
|
73
|
+
- **9 prose exemplars** (`prose/auth-login`, `prose/cta`,
|
|
74
|
+
`prose/feature-grid`, `prose/footer`, `prose/hero`,
|
|
75
|
+
`prose/pricing`, `prose/steps`, `prose/testimonials`) and
|
|
76
|
+
**`ui/auth-login`** purged of inline `<style>` blocks and
|
|
77
|
+
`style="…"` attributes. Width constraints come from `setup.js`
|
|
78
|
+
setting `--page-content-max-width` via
|
|
79
|
+
`setProperty`; layout from `col-ui` / `row-ui` / `grid-ui`;
|
|
80
|
+
asymmetric ratios from `[columns]` + `[span]`. Shadow + decoration
|
|
81
|
+
surface lifted to `_shell.css`.
|
|
82
|
+
- **`exemplars/prose/auth-login/index.html` + `exemplars/ui/auth-login/index.html`** —
|
|
83
|
+
`<check-ui label="…">` migrated to canonical
|
|
84
|
+
`<field-ui inline label="…"><check-ui name="…"></field-ui>`
|
|
85
|
+
wrapping. 5 call sites total (Remember me, Trust this device,
|
|
86
|
+
Terms agreement). Each migrated checkbox now serializes with a
|
|
87
|
+
stable form key (`name="remember"` / `name="trust_device"` /
|
|
88
|
+
`name="terms"`).
|
|
89
|
+
- **`exemplars/prose/cta/`** — `acme-logo` icon (fictitious; not
|
|
90
|
+
in `@phosphor-icons/core`) replaced with `hexagon` across 3
|
|
91
|
+
files: `index.html:21`, `a2ui.json:102`,
|
|
92
|
+
`chunks/prose-cta-card-1.json:65`. Cleared the
|
|
93
|
+
`Icon "acme-logo" not found in registry` warning that fired on
|
|
94
|
+
every render.
|
|
95
|
+
|
|
96
|
+
### Removed (fragments)
|
|
97
|
+
|
|
98
|
+
- **`fragments/content/chart-legend.json`** — superseded by the
|
|
99
|
+
`<chart-legend-ui>` primitive that landed in the web-components
|
|
100
|
+
package. Inline-rendering the legend as a fragment is no longer
|
|
101
|
+
the canonical path.
|
|
102
|
+
- **`fragments/form/rating-row.{json,yaml}`** — superseded by
|
|
103
|
+
the `<rating-ui>` primitive's first-class API (label + value
|
|
104
|
+
+ max + readonly all on the host element).
|
|
105
|
+
|
|
106
|
+
### Verification
|
|
107
|
+
|
|
108
|
+
- `node scripts/build/components.mjs --verify` — `clean — 96 files up-to-date`.
|
|
109
|
+
- Catalog hash matches the rebuild script's deterministic output.
|
|
110
|
+
- Pattern index reverse-lookup test: every `_index.json` ref
|
|
111
|
+
resolves to an existing pattern file.
|
|
13
112
|
|
|
14
113
|
---
|
|
15
114
|
|
|
@@ -65,25 +164,7 @@ Domain breakdown:
|
|
|
65
164
|
- display, container: 3 each
|
|
66
165
|
- settings, data-display, input: 1 each
|
|
67
166
|
|
|
68
|
-
## [
|
|
69
|
-
|
|
70
|
-
### Added
|
|
71
|
-
- Pipeline re-run produced 70 newly ingested patterns (net library total: 215).
|
|
72
|
-
|
|
73
|
-
### Changed
|
|
74
|
-
- `patterns/layout/cookie-consent.{json,yaml}` renamed to `patterns/layout/consent-banner.{json,yaml}` (and the pattern's `name` field flipped `cookie-consent` → `consent-banner`). The old filename triggered common adblock / content-blocker filter lists (EasyList, uBlock), which blocked the Vite raw-import request with `ERR_BLOCKED_BY_CONTENT_BLOCKER` when the pattern library loaded in the browser. Filename was the URL segment the blocker matched — renaming the URL path is the fix. Keywords still include `cookie` / `gdpr` / `privacy` so retrieval continues to land on this pattern for those queries. Cascaded through `patterns/_index.json` (11 refs in the `related`/etc. graph + the main entry) and `pattern-embeddings.json` (single `"name"` key). Length-preserving rename (both strings are 14 chars) so byte offsets in the embeddings file are unchanged.
|
|
75
|
-
- `patterns/_components.json` — `Footer.tag`, `Header.tag`, `Section.tag` updated from `*-n` → `*-ui` post-rename. `Nav.tag` deliberately kept as `nav-n` (sanctioned exception).
|
|
76
|
-
- `patterns/_schema.json` — role enum `nav-item-n` → `nav-item`.
|
|
77
|
-
- `fragments/content/icon-text-row.json` — purpose tag `nav-item-n` → `nav-item`.
|
|
78
|
-
- `scripts/extract.js` — removed redundant `nav-group-n` / `nav-item-n` map entries (no parent `NavGroup`/`NavItem` in canonical A2UI registry). `nav-n` kept.
|
|
79
|
-
- All `.a2ui.json` sidecars regenerated via `scripts/build-components.mjs` to reflect yaml cleanup across the component library — `catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt` rebuilt.
|
|
80
|
-
|
|
81
|
-
### Verification
|
|
82
|
-
- `node scripts/build-components.mjs --verify` — clean, 91 files up-to-date.
|
|
83
|
-
|
|
84
|
-
---
|
|
85
|
-
|
|
86
|
-
## [0.1.0] — internal baseline (unreleased)
|
|
167
|
+
## [0.1.0] — internal baseline (pre-public, predates 0.0.1)
|
|
87
168
|
|
|
88
169
|
Initial version at the time the monorepo was established. Contains:
|
|
89
170
|
|