@adia-ai/a2ui-corpus 0.6.19 → 0.6.21
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 +16 -0
- package/catalog-a2ui_0_9.json +101 -4
- package/catalog-a2ui_0_9_rules.txt +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.6.21] — 2026-05-21
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- **`catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt` regenerated.** Re-emitted to reflect the v0.6.21 yaml-schema changes — the FEEDBACK-37 retraction in `admin-topbar.yaml` / `admin-statusbar.yaml` (the slot-contract diagnostic was misdiagnosed and removed) plus the `table-ui` wrap-default schema clarification (§403). Keeps the A2UI component catalog in sync.
|
|
7
|
+
|
|
8
|
+
### Note
|
|
9
|
+
- The headline v0.6.21 work shipped in `@adia-ai/web-components` + `@adia-ai/web-modules`. See `packages/web-modules/CHANGELOG.md#0621--2026-05-21`.
|
|
10
|
+
|
|
11
|
+
## [0.6.20] — 2026-05-21
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- **`catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt` regenerated.** Re-emitted to reflect the v0.6.20 primitive-schema changes: the new `<admin-entity-item>` shell primitive (FEEDBACK-38), the `<admin-topbar>` / `<admin-statusbar>` yaml additions (FEEDBACK-37), and the `table-ui` / `select-ui` schema clarifications (FEEDBACK-34/35/36). Keeps the A2UI component catalog in sync with the primitive schemas.
|
|
15
|
+
|
|
16
|
+
### Note
|
|
17
|
+
- The headline v0.6.20 work shipped in `@adia-ai/web-components` + `@adia-ai/web-modules` — the claims-ui-v5 inbound feedback batch (FEEDBACK-34…39). See `packages/web-modules/CHANGELOG.md#0620--2026-05-21`.
|
|
18
|
+
|
|
3
19
|
## [0.6.19] — 2026-05-21
|
|
4
20
|
|
|
5
21
|
### Fixed
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -643,6 +643,83 @@
|
|
|
643
643
|
"version": 1
|
|
644
644
|
}
|
|
645
645
|
},
|
|
646
|
+
"AdminEntityItem": {
|
|
647
|
+
"title": "AdminEntityItem",
|
|
648
|
+
"description": "Module-tier shell identity row. CSS-only — no behavior, no JS.\nA composable icon + label + badge unit: a leading icon (or avatar),\na truncating label, and an optional trailing badge that travel\ntogether as one slottable element.\n\nUse it wherever a shell surface shows an entity identity — workspace\nidentity in an <admin-topbar slot=\"header\">, user identity in an\n<admin-statusbar>, the leading item of a breadcrumb, a flyout header,\nor a user row. Inside a collapsible <admin-sidebar> the label and\nbadge hide when the rail collapses; the icon survives — so the same\nmarkup works expanded and collapsed without authoring two shapes.\n\nGeometry mirrors <select-ui>'s trigger row: [slot=\"icon\"] is fixed\n(like [slot=\"leading\"]), [slot=\"label\"] flexes + truncates (like\n[slot=\"display\"]), [slot=\"badge\"] is fixed trailing (like\n[slot=\"caret\"]).\n",
|
|
649
|
+
"type": "object",
|
|
650
|
+
"allOf": [
|
|
651
|
+
{
|
|
652
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"properties": {
|
|
659
|
+
"component": {
|
|
660
|
+
"const": "AdminEntityItem"
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"required": [
|
|
664
|
+
"component"
|
|
665
|
+
],
|
|
666
|
+
"unevaluatedProperties": false,
|
|
667
|
+
"x-adiaui": {
|
|
668
|
+
"anti_patterns": [],
|
|
669
|
+
"category": "layout",
|
|
670
|
+
"composes": [],
|
|
671
|
+
"events": {},
|
|
672
|
+
"examples": [],
|
|
673
|
+
"keywords": [
|
|
674
|
+
"admin-entity-item",
|
|
675
|
+
"entity-item",
|
|
676
|
+
"identity-row",
|
|
677
|
+
"workspace-identity",
|
|
678
|
+
"user-identity",
|
|
679
|
+
"icon-label-badge"
|
|
680
|
+
],
|
|
681
|
+
"name": "AdminEntityItem",
|
|
682
|
+
"related": [
|
|
683
|
+
"AdminTopbar",
|
|
684
|
+
"AdminStatusbar",
|
|
685
|
+
"AdminSidebar",
|
|
686
|
+
"Select",
|
|
687
|
+
"Badge",
|
|
688
|
+
"Icon"
|
|
689
|
+
],
|
|
690
|
+
"slots": {
|
|
691
|
+
"default": {
|
|
692
|
+
"description": "Default content — unslotted children flow inline. Prefer the named slots for the canonical icon + label + badge composition."
|
|
693
|
+
},
|
|
694
|
+
"badge": {
|
|
695
|
+
"description": "Optional trailing chip — environment (staging / beta) or role badge. Fixed width. Hidden when a collapsible sidebar collapses."
|
|
696
|
+
},
|
|
697
|
+
"icon": {
|
|
698
|
+
"description": "Leading visual — an <icon-ui> glyph or an <img> avatar (img is given a circular crop). Fixed width; survives sidebar collapse."
|
|
699
|
+
},
|
|
700
|
+
"label": {
|
|
701
|
+
"description": "Primary text. Flexes to fill the remaining width and truncates with an ellipsis. Hidden when a collapsible sidebar collapses."
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"states": [
|
|
705
|
+
{
|
|
706
|
+
"description": "Default, the only state.",
|
|
707
|
+
"name": "idle"
|
|
708
|
+
}
|
|
709
|
+
],
|
|
710
|
+
"synonyms": {
|
|
711
|
+
"entity-item": [
|
|
712
|
+
"identity-row",
|
|
713
|
+
"entity-row",
|
|
714
|
+
"identity-item"
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
|
+
"tag": "admin-entity-item",
|
|
718
|
+
"tokens": {},
|
|
719
|
+
"traits": [],
|
|
720
|
+
"version": 1
|
|
721
|
+
}
|
|
722
|
+
},
|
|
646
723
|
"AdminPage": {
|
|
647
724
|
"title": "AdminPage",
|
|
648
725
|
"description": "Module-tier page wrapper. CSS-only — no behavior, no JS. Provides\nthe page-content-root container query (named `page-content`) so\ndescendants can adapt to available content width (sidebars expanded\nvs collapsed) instead of viewport width. Stamps the sticky-band\nlayout: <admin-page-header> + <admin-page-body> + optional footer.\n\nReplaces the legacy <article data-content-root> shape per ADR-0023.\n",
|
|
@@ -1075,6 +1152,7 @@
|
|
|
1075
1152
|
"AdminShell",
|
|
1076
1153
|
"AdminContent",
|
|
1077
1154
|
"AdminTopbar",
|
|
1155
|
+
"AdminEntityItem",
|
|
1078
1156
|
"Footer"
|
|
1079
1157
|
],
|
|
1080
1158
|
"slots": {
|
|
@@ -1156,6 +1234,7 @@
|
|
|
1156
1234
|
"AdminContent",
|
|
1157
1235
|
"AdminSidebar",
|
|
1158
1236
|
"AdminStatusbar",
|
|
1237
|
+
"AdminEntityItem",
|
|
1159
1238
|
"Header"
|
|
1160
1239
|
],
|
|
1161
1240
|
"slots": {
|
|
@@ -13033,7 +13112,7 @@
|
|
|
13033
13112
|
"default": "md"
|
|
13034
13113
|
},
|
|
13035
13114
|
"value": {
|
|
13036
|
-
"description": "Currently selected option value",
|
|
13115
|
+
"description": "Currently selected option value. With declarative <option> children, a child carrying the native `selected` attribute sets the initial value when this attribute is absent (native <select> parity).",
|
|
13037
13116
|
"type": "string",
|
|
13038
13117
|
"default": ""
|
|
13039
13118
|
},
|
|
@@ -14923,7 +15002,7 @@
|
|
|
14923
15002
|
],
|
|
14924
15003
|
"properties": {
|
|
14925
15004
|
"columns": {
|
|
14926
|
-
"description": "Column definitions. Array of {key, label, type?, width?, minWidth?, maxWidth?, flex?, sortable?, resizable?, filterable?, pinned?, hidden?, accessor?, format?, render?, sortFn?, filterType?, meta?}. Alternative to declarative <col-def> children.",
|
|
15005
|
+
"description": "Column definitions. Array of {key, label, type?, width?, minWidth?, maxWidth?, flex?, sortable?, resizable?, filterable?, pinned?, hidden?, wrap?, accessor?, format?, render?, sortFn?, filterType?, meta?}. Alternative to declarative <col-def> children.",
|
|
14927
15006
|
"type": "array",
|
|
14928
15007
|
"default": []
|
|
14929
15008
|
},
|
|
@@ -14984,6 +15063,11 @@
|
|
|
14984
15063
|
"description": "Alternate row background colors for visual scanning.",
|
|
14985
15064
|
"type": "boolean",
|
|
14986
15065
|
"default": false
|
|
15066
|
+
},
|
|
15067
|
+
"wrap": {
|
|
15068
|
+
"description": "Allow body-cell content to wrap onto multiple lines. Default is single-line with ellipsis truncation (matches the row convention shared by <select-ui> + <nav-item-ui>); long unbreakable strings clip gracefully rather than rewrapping the row. With [wrap], row height auto-grows to fit wrapped content. For surgical opt-in on a single column, set [data-wrap] on the cell / col-def instead.",
|
|
15069
|
+
"type": "boolean",
|
|
15070
|
+
"default": false
|
|
14987
15071
|
}
|
|
14988
15072
|
},
|
|
14989
15073
|
"required": [
|
|
@@ -15053,6 +15137,19 @@
|
|
|
15053
15137
|
}
|
|
15054
15138
|
}
|
|
15055
15139
|
},
|
|
15140
|
+
"row-click": {
|
|
15141
|
+
"description": "Fired once when any cell in a data row is clicked — the row-level companion to cell-click. Use it for master-detail / open-flyout wiring.",
|
|
15142
|
+
"detail": {
|
|
15143
|
+
"dataIndex": {
|
|
15144
|
+
"description": "Row index in the underlying data array.",
|
|
15145
|
+
"type": "number"
|
|
15146
|
+
},
|
|
15147
|
+
"row": {
|
|
15148
|
+
"description": "Row data object.",
|
|
15149
|
+
"type": "object"
|
|
15150
|
+
}
|
|
15151
|
+
}
|
|
15152
|
+
},
|
|
15056
15153
|
"row-collapse": {
|
|
15057
15154
|
"description": "Fired when an already-expanded row's chevron is activated (collapses the row). Mirror of row-expand.",
|
|
15058
15155
|
"detail": {
|
|
@@ -15092,11 +15189,11 @@
|
|
|
15092
15189
|
"description": "Fired when sort state changes via header click.",
|
|
15093
15190
|
"detail": {
|
|
15094
15191
|
"dir": {
|
|
15095
|
-
"description": "Sort direction — \"asc\" / \"desc\" / null (cleared).",
|
|
15192
|
+
"description": "Sort direction — \"asc\" / \"desc\" / null (cleared). The detail field is `dir` (not `direction`).",
|
|
15096
15193
|
"type": "string"
|
|
15097
15194
|
},
|
|
15098
15195
|
"key": {
|
|
15099
|
-
"description": "Column key being sorted.",
|
|
15196
|
+
"description": "Column key being sorted — the detail field is `key` (not `column`).",
|
|
15100
15197
|
"type": "string"
|
|
15101
15198
|
},
|
|
15102
15199
|
"sortState": {
|
|
@@ -103,6 +103,10 @@
|
|
|
103
103
|
## AdminContent
|
|
104
104
|
- admin-content is the bespoke replacement for raw <main> inside admin-shell. CSS-only; the shell's css/main.css selectors target both shapes via :is(main, admin-content).
|
|
105
105
|
|
|
106
|
+
## AdminEntityItem
|
|
107
|
+
- admin-entity-item is the canonical icon + label + badge identity row for shell surfaces. Slot it whole into [slot="heading"] of an <admin-topbar> / <admin-statusbar> so the icon + label + badge collapse together inside a collapsible <admin-sidebar>. Do NOT re-implement it with a bare <span> or an ad-hoc flex <div> — those have no shared collapse boundary.
|
|
108
|
+
- For an INTERACTIVE workspace switcher use <select-ui variant="ghost"> instead — admin-entity-item is read-only identity display.
|
|
109
|
+
|
|
106
110
|
## AdminPageBody
|
|
107
111
|
- admin-page-body is the centered body band of <admin-page>. Wraps an inner <section-ui> for centered reading-column rhythm; can host full-bleed content directly to opt out.
|
|
108
112
|
|
|
@@ -124,9 +128,11 @@
|
|
|
124
128
|
|
|
125
129
|
## AdminStatusbar
|
|
126
130
|
- admin-statusbar replaces <footer-ui> at shell-tier. Same slot vocabulary as <admin-topbar>; visual treatment differs (the shell css applies a top-border instead of bottom).
|
|
131
|
+
- For a user-identity row (avatar + name + role badge), slot a single <admin-entity-item slot="heading"> rather than separate slot="icon" + slot="heading" children — the wrapper collapses the name + badge together inside a collapsible <admin-sidebar>, keeping the avatar.
|
|
127
132
|
|
|
128
133
|
## AdminTopbar
|
|
129
134
|
- admin-topbar replaces <header-ui> at shell-tier — use it for chrome bars inside admin-shell, admin-content, admin-sidebar. Use <header-ui> for primitive containers (Card / Drawer / Modal).
|
|
135
|
+
- For an icon + label (+ optional badge) identity row — workspace or product identity — slot a single <admin-entity-item slot="heading"> rather than separate slot="icon" + slot="heading" children. The wrapper keeps the icon and label as one unit so they truncate and collapse together inside a collapsible <admin-sidebar>.
|
|
130
136
|
|
|
131
137
|
## SimpleContent
|
|
132
138
|
- simple-content is the article surface inside simple-shell. Use for primary page body. Sibling to <simple-hero> (optional).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-corpus",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.21",
|
|
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": {
|