@adia-ai/a2ui-corpus 0.2.4 → 0.3.0
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 +26 -0
- package/README.md +1 -1
- package/catalog-a2ui_0_9.json +104 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,32 @@ gap registry. Consumed by `@adia-ai/a2ui-retrieval` and
|
|
|
11
11
|
|
|
12
12
|
_No pending changes._
|
|
13
13
|
|
|
14
|
+
## [0.3.0] - 2026-05-05
|
|
15
|
+
|
|
16
|
+
**9-package lockstep cut.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges bump `^0.2.0` → `^0.3.0`.
|
|
17
|
+
|
|
18
|
+
The lockstep policy expanded from 8 to 9 packages with this cut — `@adia-ai/llm` joins as a 9th member, and `@adia-ai/a2ui-utils` was renamed to `@adia-ai/a2ui-runtime`. Both are BREAKING for npm consumers (acceptable under pre-1.0 semver).
|
|
19
|
+
|
|
20
|
+
This package itself ships **no source changes** in v0.3.0. The cut bumps version + the internal dep range only.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- `version`: `0.2.5` → `0.3.0`.
|
|
25
|
+
|
|
26
|
+
### No source changes
|
|
27
|
+
|
|
28
|
+
`a2ui-corpus` source is byte-identical to `0.2.5`. The cut bumps version only — corpus has no `@adia-ai/*` dependencies so no dep-range updates either.
|
|
29
|
+
|
|
30
|
+
## [0.2.5] - 2026-05-04
|
|
31
|
+
|
|
32
|
+
**Lockstep cut + catalog regen for `<fields-ui>` primitive.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Patch cut — **no BREAKING changes**.
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- `version`: `0.2.4` → `0.2.5`.
|
|
37
|
+
- `catalog-a2ui_0_9.json`: 1 new entry covering the new `<fields-ui>` primitive (component class `Fields`, tag `fields-ui`, props `[columns]` + `[inline]`, default slot for `<field-ui>` children + the `rows` span pattern). Catalog: 97 → 98 yamls.
|
|
38
|
+
- Per-element `fields/fields.a2ui.json` written by `scripts/build/components.mjs`.
|
|
39
|
+
|
|
14
40
|
## [0.2.4] - 2026-05-04
|
|
15
41
|
|
|
16
42
|
**Lockstep cut + catalog regen for `<demo-toggle-ui>` primitive.** All 8 published `@adia-ai/*` packages bump 0.2.3 → 0.2.4 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ fixtures. Pure data plus the scripts that maintain it. No runtime.
|
|
|
7
7
|
> The pipeline reads this package; this package never reads the pipeline.
|
|
8
8
|
> See [`@adia-ai/a2ui-compose`](../compose) for engine code,
|
|
9
9
|
> [`@adia-ai/web-components`](../../web-components) for UI atoms,
|
|
10
|
-
> [`@adia-ai/a2ui-
|
|
10
|
+
> [`@adia-ai/a2ui-runtime`](../runtime) for the A2UI runtime (renderer,
|
|
11
11
|
> registry, streams, wiring),
|
|
12
12
|
> [`@adia-ai/a2ui-mcp`](../mcp) for the MCP server.
|
|
13
13
|
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -5115,6 +5115,110 @@
|
|
|
5115
5115
|
"version": 1
|
|
5116
5116
|
}
|
|
5117
5117
|
},
|
|
5118
|
+
"Fields": {
|
|
5119
|
+
"title": "Fields",
|
|
5120
|
+
"description": "Container for a group of <field-ui> children, laid out on a shared 6-column grid. Each <field-ui> spans the full row by default; opt into a narrower span via [rows=\"1..6\"]. Setting [inline] on the host propagates the inline mode to every direct <field-ui> child so a whole sub-form can switch label-position without per-field edits. The grid alignment lets siblings on the same row line up cleanly — consistent label columns + consistent control columns — without the wrap-flex jitter of <row-ui wrap>.",
|
|
5121
|
+
"type": "object",
|
|
5122
|
+
"allOf": [
|
|
5123
|
+
{
|
|
5124
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
5125
|
+
},
|
|
5126
|
+
{
|
|
5127
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
5128
|
+
}
|
|
5129
|
+
],
|
|
5130
|
+
"properties": {
|
|
5131
|
+
"columns": {
|
|
5132
|
+
"description": "Number of grid columns the row uses. Defaults to 6 — common multiples (1/2/3/6) divide cleanly. <field-ui rows=\"N\"> spans `N` of these columns. Override per-instance for tighter 4-column or wider 12-column compositions.",
|
|
5133
|
+
"type": "number",
|
|
5134
|
+
"default": 6
|
|
5135
|
+
},
|
|
5136
|
+
"component": {
|
|
5137
|
+
"const": "Fields"
|
|
5138
|
+
},
|
|
5139
|
+
"inline": {
|
|
5140
|
+
"description": "Propagate the inline layout mode to every direct <field-ui> child. Equivalent to authoring `inline` on each child but drives the whole group from one place. Toggle is reactive — flipping the attribute on the host re-syncs all children.",
|
|
5141
|
+
"type": "boolean",
|
|
5142
|
+
"default": false
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
"required": [
|
|
5146
|
+
"component"
|
|
5147
|
+
],
|
|
5148
|
+
"unevaluatedProperties": false,
|
|
5149
|
+
"x-adiaui": {
|
|
5150
|
+
"anti_patterns": [
|
|
5151
|
+
{
|
|
5152
|
+
"description": "Don't wrap <field-ui> children in <row-ui wrap> when grid alignment is desired. row-ui is flex-wrap, which lets each field size to its content — labels and controls won't share a column with siblings.",
|
|
5153
|
+
"severity": "high"
|
|
5154
|
+
},
|
|
5155
|
+
{
|
|
5156
|
+
"description": "Don't set `inline` on individual <field-ui> children when the whole group should switch — set it on the parent <fields-ui> and let the propagation handle every child.",
|
|
5157
|
+
"severity": "medium"
|
|
5158
|
+
}
|
|
5159
|
+
],
|
|
5160
|
+
"category": "form",
|
|
5161
|
+
"events": {},
|
|
5162
|
+
"examples": [
|
|
5163
|
+
{
|
|
5164
|
+
"description": "A 3-up stacked field row — Status / Priority / Group — each taking 2 of 6 columns. Equivalent to a Bootstrap \"col-md-4\" pattern (12-col grid, span 4) but with chat-ui's 6-col default.",
|
|
5165
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Fields\",\n \"children\": [\"status\", \"priority\", \"group\"]\n },\n { \"id\": \"status\", \"component\": \"Field\", \"label\": \"Status\", \"rows\": 2, \"children\": [\"status-sel\"] },\n { \"id\": \"priority\", \"component\": \"Field\", \"label\": \"Priority\", \"rows\": 2, \"children\": [\"priority-sel\"] },\n { \"id\": \"group\", \"component\": \"Field\", \"label\": \"Group\", \"rows\": 2, \"children\": [\"group-sel\"] },\n { \"id\": \"status-sel\", \"component\": \"Select\", \"value\": \"todo\" },\n { \"id\": \"priority-sel\", \"component\": \"Select\", \"value\": \"0\" },\n { \"id\": \"group-sel\", \"component\": \"Select\", \"value\": \"\" }\n]",
|
|
5166
|
+
"name": "three-up-stacked"
|
|
5167
|
+
},
|
|
5168
|
+
{
|
|
5169
|
+
"description": "An inline form — every field renders label-beside-control. Single [inline] on the host drives all children.",
|
|
5170
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Fields\",\n \"inline\": true,\n \"children\": [\"q\", \"kind\"]\n },\n { \"id\": \"q\", \"component\": \"Field\", \"label\": \"Search\", \"children\": [\"q-input\"] },\n { \"id\": \"kind\", \"component\": \"Field\", \"label\": \"Kind\", \"children\": [\"kind-sel\"] },\n { \"id\": \"q-input\", \"component\": \"Input\", \"type\": \"search\" },\n { \"id\": \"kind-sel\", \"component\": \"Select\", \"value\": \"all\" }\n]",
|
|
5171
|
+
"name": "inline-search-form"
|
|
5172
|
+
}
|
|
5173
|
+
],
|
|
5174
|
+
"keywords": [
|
|
5175
|
+
"fields",
|
|
5176
|
+
"form",
|
|
5177
|
+
"grid",
|
|
5178
|
+
"layout",
|
|
5179
|
+
"group"
|
|
5180
|
+
],
|
|
5181
|
+
"name": "UIFields",
|
|
5182
|
+
"related": [
|
|
5183
|
+
"field",
|
|
5184
|
+
"input",
|
|
5185
|
+
"select",
|
|
5186
|
+
"textarea"
|
|
5187
|
+
],
|
|
5188
|
+
"slots": {
|
|
5189
|
+
"default": {
|
|
5190
|
+
"description": "<field-ui> children. Non-field children (separators, headings) are placed in the grid too — span them by setting `style=\"grid-column: 1 / -1\"` for full-width content. Nested <fields-ui> works (an outer 6-col grid hosting inner 3-col grids inside a single cell)."
|
|
5191
|
+
}
|
|
5192
|
+
},
|
|
5193
|
+
"states": [
|
|
5194
|
+
{
|
|
5195
|
+
"description": "Default, ready for interaction.",
|
|
5196
|
+
"name": "idle"
|
|
5197
|
+
}
|
|
5198
|
+
],
|
|
5199
|
+
"synonyms": {
|
|
5200
|
+
"form": [
|
|
5201
|
+
"fields",
|
|
5202
|
+
"group",
|
|
5203
|
+
"layout"
|
|
5204
|
+
]
|
|
5205
|
+
},
|
|
5206
|
+
"tag": "fields-ui",
|
|
5207
|
+
"tokens": {
|
|
5208
|
+
"--fields-column-gap": {
|
|
5209
|
+
"description": "Override the column-gap independently of row-gap."
|
|
5210
|
+
},
|
|
5211
|
+
"--fields-gap": {
|
|
5212
|
+
"description": "Gap between adjacent fields (row + column)."
|
|
5213
|
+
},
|
|
5214
|
+
"--fields-row-gap": {
|
|
5215
|
+
"description": "Override the row-gap independently of column-gap."
|
|
5216
|
+
}
|
|
5217
|
+
},
|
|
5218
|
+
"traits": [],
|
|
5219
|
+
"version": 1
|
|
5220
|
+
}
|
|
5221
|
+
},
|
|
5118
5222
|
"Footer": {
|
|
5119
5223
|
"title": "Footer",
|
|
5120
5224
|
"description": "Footer — styled by closest container parent (Card / Drawer / Modal / Page / AppShell). Contains actions, pagination, or summary. Typically holds Buttons.",
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-corpus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "AdiaUI A2UI training corpus
|
|
5
|
+
"description": "AdiaUI A2UI training corpus \u2014 patterns, fragments, compositions, exemplars, eval fixtures, feedback, gap registry. Consumed by the compose engine's retrieval layer + the MCP pipeline.",
|
|
6
6
|
"exports": {
|
|
7
|
-
".":
|
|
8
|
-
"./patterns":
|
|
9
|
-
"./exemplars/*":
|
|
10
|
-
"./manifest":
|
|
11
|
-
"./chunks":
|
|
12
|
-
"./chunks/*":
|
|
13
|
-
"./chunk-library":
|
|
14
|
-
"./chunk-embeddings":
|
|
7
|
+
".": "./catalog-a2ui_0_9.json",
|
|
8
|
+
"./patterns": "./patterns/_components.json",
|
|
9
|
+
"./exemplars/*": "./exemplars/*",
|
|
10
|
+
"./manifest": "./manifest.json",
|
|
11
|
+
"./chunks": "./chunks/_index.json",
|
|
12
|
+
"./chunks/*": "./chunks/*",
|
|
13
|
+
"./chunk-library": "./scripts/chunk-library.js",
|
|
14
|
+
"./chunk-embeddings": "./chunk-embeddings.json",
|
|
15
15
|
"./pattern-embeddings": "./pattern-embeddings.json"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|