@adia-ai/a2ui-corpus 0.6.49 → 0.6.50
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 +6 -0
- package/catalog-a2ui_0_9.json +12 -3
- package/catalog-a2ui_0_9_rules.txt +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.6.50] — 2026-05-30
|
|
4
|
+
|
|
5
|
+
### Changed — catalog regen for the `slot="caret"` vocabulary (ADR-0036)
|
|
6
|
+
|
|
7
|
+
- **`catalog-a2ui_0_9.json` + `tree-item.a2ui.json` / `pane.a2ui.json` sidecars** regenerated after the `slot="chevron"` → `slot="caret"` rename in `tree-item-ui` / `pane-ui` (ADR-0036), so the generative catalog advertises the renamed disclosure slot. The chunk corpus was re-harvested (284 chunks) + re-embedded to confirm freshness — **no chunk content drift** (the caret indicator is auto-stamped, not authored in demo markup), so the committed chunk set is unchanged from [0.6.49].
|
|
8
|
+
|
|
3
9
|
## [0.6.49] — 2026-05-30
|
|
4
10
|
|
|
5
11
|
### Changed — corpus regen (card-ui slot sweep) + catalog `month` prop
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -17011,6 +17011,9 @@
|
|
|
17011
17011
|
"text-area"
|
|
17012
17012
|
],
|
|
17013
17013
|
"slots": {
|
|
17014
|
+
"caret": {
|
|
17015
|
+
"description": "Collapse caret inside the header. Auto-stamped as `<icon-ui slot=\"caret\" name=\"caret-right\">` (rotates on `[collapsed]`). Supply your own `slot=\"caret\"` child in the header to customize — adopt-or-stamp honors a declarative caret instead of stamping."
|
|
17016
|
+
},
|
|
17014
17017
|
"header": {
|
|
17015
17018
|
"description": "Auto-created header element with label text and toggle arrow"
|
|
17016
17019
|
}
|
|
@@ -26610,8 +26613,8 @@
|
|
|
26610
26613
|
"--tree-bg-selected": {
|
|
26611
26614
|
"description": "Background color when selected"
|
|
26612
26615
|
},
|
|
26613
|
-
"--tree-
|
|
26614
|
-
"description": "Size of the collapse
|
|
26616
|
+
"--tree-caret-size": {
|
|
26617
|
+
"description": "Size of the collapse caret icon"
|
|
26615
26618
|
},
|
|
26616
26619
|
"--tree-duration": {
|
|
26617
26620
|
"description": "Transition duration"
|
|
@@ -26623,7 +26626,7 @@
|
|
|
26623
26626
|
"description": "Primary text color"
|
|
26624
26627
|
},
|
|
26625
26628
|
"--tree-fg-muted": {
|
|
26626
|
-
"description": "Muted text color (icons,
|
|
26629
|
+
"description": "Muted text color (icons, carets)"
|
|
26627
26630
|
},
|
|
26628
26631
|
"--tree-focus-ring": {
|
|
26629
26632
|
"description": "Focus ring box-shadow"
|
|
@@ -26719,6 +26722,12 @@
|
|
|
26719
26722
|
"Accordion"
|
|
26720
26723
|
],
|
|
26721
26724
|
"slots": {
|
|
26725
|
+
"actions": {
|
|
26726
|
+
"description": "Per-row action buttons (rename / add / overflow menu), right-aligned and hover-revealed. A declarative `slot=\"actions\"` child is adopted into the auto-stamped row (FEEDBACK-89), so it sits inline in the row rather than wrapping below it."
|
|
26727
|
+
},
|
|
26728
|
+
"caret": {
|
|
26729
|
+
"description": "Override slot for the expand/collapse caret. Auto-stamped as `<icon-ui slot=\"caret\" name=\"caret-right\">` (rotates on `[open]`, hidden for leaf nodes). Supply your own `slot=\"caret\"` child to customize — adopt-or-stamp moves a declarative caret into the row."
|
|
26730
|
+
},
|
|
26722
26731
|
"icon": {
|
|
26723
26732
|
"description": "Override the leading [icon] glyph with a custom slotted element (custom icon-ui, folder open/closed glyph, file-type marker). Mutually exclusive with the [icon] attribute — slot child wins."
|
|
26724
26733
|
}
|
|
@@ -777,14 +777,14 @@
|
|
|
777
777
|
- Provide a stable [value] attribute on every <tree-item-ui> that consumers will select. The `tree-select` event's detail.value is the identifier downstream code reads to know which node was picked.
|
|
778
778
|
- Use [open] to pre-expand branch nodes on initial render. Do NOT set [selected] declaratively on more than one item — the parent <tree-ui> manages selection. The host listens for click / Enter / Space / ArrowRight (expand) / ArrowLeft (collapse) per WAI-ARIA tree-view APG.
|
|
779
779
|
- Use [icon] (Phosphor name) for affordance (folder / file / component icons); use [badge] for counts or short status labels (§184 v0.5.5).
|
|
780
|
-
- Nest further <tree-item-ui> in the default slot only — no <list-item-ui>, <nav-item-ui>, or arbitrary content inside a tree row. The
|
|
780
|
+
- Nest further <tree-item-ui> in the default slot only — no <list-item-ui>, <nav-item-ui>, or arbitrary content inside a tree row. The caret is auto-stamped when the row has nested tree-item-ui children.
|
|
781
781
|
|
|
782
782
|
## Tree
|
|
783
783
|
- Use <tree-ui> only when data is hierarchical with arbitrary nesting AND a single selected node is meaningful. For flat lists use <list-ui>; for flat sidebar navigation use <nav-ui>; for one-level collapsible groups use <accordion-ui>.
|
|
784
784
|
- Canonical mount: inside <editor-sidebar slot="leading"> → <pane-ui side="leading" resizable> → <section> → <tree-ui id="…"> as the structure / navigator pane of the three-pane editor shell. Pair with a <header> in the same pane (e.g. "Structure", "Layers", "Files").
|
|
785
785
|
- Direct children of <tree-ui> MUST be <tree-item-ui>. No other element types in the default slot. <tree-ui> manages single-selection across the whole subtree and implements WAI-ARIA tree-view keyboard navigation (Arrow keys, Enter / Space, Home / End).
|
|
786
786
|
- Listen for `tree-select` on the <tree-ui>, NOT on individual rows — selection is managed by the parent and bubbles once. Detail = {item, text, value, ctrlKey, metaKey, shiftKey}.
|
|
787
|
-
- Per ADR-0027, <tree-ui> composes <icon-ui> (for
|
|
787
|
+
- Per ADR-0027, <tree-ui> composes <icon-ui> (for carets) but does NOT auto-import its children. Consumer pages must explicitly import both <tree-ui> and <tree-item-ui>.
|
|
788
788
|
|
|
789
789
|
## Upload
|
|
790
790
|
- File-upload input with drop zone + browse button. Form-associated; emits file-list change events.
|
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.50",
|
|
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": {
|