@adia-ai/a2ui-corpus 0.7.14 → 0.7.15
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 +5 -0
- package/catalog-a2ui_0_9.json +64 -0
- package/catalog-a2ui_0_9_rules.txt +5 -0
- package/chunks/_index.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.7.15] — 2026-06-08
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- **Component catalog regenerated for `menu-label`.** `catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt` rebuilt to register the new `<menu-label-ui>` child component (from `components/menu/menu-label.yaml`); `chunks/_index.json` refreshed in step. No retrieval-affecting change — chunk content + embedding vectors unchanged.
|
|
7
|
+
|
|
3
8
|
## [0.7.14] — 2026-06-08
|
|
4
9
|
|
|
5
10
|
### Changed
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -15001,6 +15001,70 @@
|
|
|
15001
15001
|
"version": 1
|
|
15002
15002
|
}
|
|
15003
15003
|
},
|
|
15004
|
+
"MenuLabel": {
|
|
15005
|
+
"title": "MenuLabel",
|
|
15006
|
+
"description": "Non-interactive group heading inside a `<menu-ui>` — a small uppercase kicker that names the group of `<menu-item-ui>` rows beneath it. Renders with role=\"presentation\" so the menu's roving focus skips it.",
|
|
15007
|
+
"type": "object",
|
|
15008
|
+
"allOf": [
|
|
15009
|
+
{
|
|
15010
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
15011
|
+
},
|
|
15012
|
+
{
|
|
15013
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
15014
|
+
}
|
|
15015
|
+
],
|
|
15016
|
+
"properties": {
|
|
15017
|
+
"component": {
|
|
15018
|
+
"const": "MenuLabel"
|
|
15019
|
+
},
|
|
15020
|
+
"text": {
|
|
15021
|
+
"description": "The group label. Stamped into a `<span slot=\"text\">`; consumer-provided slot content wins.",
|
|
15022
|
+
"type": "string",
|
|
15023
|
+
"default": ""
|
|
15024
|
+
}
|
|
15025
|
+
},
|
|
15026
|
+
"required": [
|
|
15027
|
+
"component"
|
|
15028
|
+
],
|
|
15029
|
+
"unevaluatedProperties": false,
|
|
15030
|
+
"x-adiaui": {
|
|
15031
|
+
"anti_patterns": [],
|
|
15032
|
+
"category": "navigation",
|
|
15033
|
+
"composes": [],
|
|
15034
|
+
"events": {},
|
|
15035
|
+
"examples": [],
|
|
15036
|
+
"keywords": [
|
|
15037
|
+
"menu-label",
|
|
15038
|
+
"menu-group",
|
|
15039
|
+
"section-header",
|
|
15040
|
+
"menu-heading"
|
|
15041
|
+
],
|
|
15042
|
+
"name": "UIMenuLabel",
|
|
15043
|
+
"related": [
|
|
15044
|
+
"Menu",
|
|
15045
|
+
"MenuItem",
|
|
15046
|
+
"MenuDivider"
|
|
15047
|
+
],
|
|
15048
|
+
"slots": {
|
|
15049
|
+
"text": {
|
|
15050
|
+
"description": "Custom label content; falls through to the `[text]` prop if not slotted."
|
|
15051
|
+
}
|
|
15052
|
+
},
|
|
15053
|
+
"states": [],
|
|
15054
|
+
"status": "stable",
|
|
15055
|
+
"synonyms": {
|
|
15056
|
+
"menu-label": [
|
|
15057
|
+
"menu-group-label",
|
|
15058
|
+
"menu-section-header",
|
|
15059
|
+
"menu-heading"
|
|
15060
|
+
]
|
|
15061
|
+
},
|
|
15062
|
+
"tag": "menu-label-ui",
|
|
15063
|
+
"tokens": {},
|
|
15064
|
+
"traits": [],
|
|
15065
|
+
"version": 1
|
|
15066
|
+
}
|
|
15067
|
+
},
|
|
15004
15068
|
"Modal": {
|
|
15005
15069
|
"title": "Modal",
|
|
15006
15070
|
"description": "Centered dialog overlay using native <dialog> — same portal /\nbackdrop / focus-trap / Escape-dismiss primitives as <drawer-ui>,\nbut anchored to the viewport center with size presets. Canonical\ninner shape mirrors drawer / card: <header> + one or more <section>\n+ optional <footer>. The header stamps a built-in title bar from\n[text] plus an auto-close button (unless [permanent]). Use modal-ui\nfor centered confirmations, destructive prompts, transient previews,\nand short focused interactions; use <drawer-ui> instead for\nedge-anchored multi-field editors and mobile sheet patterns.\n",
|
|
@@ -407,6 +407,11 @@
|
|
|
407
407
|
- Set [disabled] (not [hidden]) when an action is contextually unavailable — disabled items remain visible for affordance discoverability but skip roving focus + don't fire `action`.
|
|
408
408
|
- Prefer [icon] + [text] props over slotted markup for consistency. Use slot="icon" / slot="text" only when you need custom markup (e.g. <avatar-ui slot="icon">, <kbd slot="trailing"> shortcut hint).
|
|
409
409
|
|
|
410
|
+
## MenuLabel
|
|
411
|
+
- <menu-label-ui> MUST be a direct child of <menu-ui>; like menu-item-ui and menu-divider-ui it is hoisted into the top-layer popover via <menu-ui>'s direct-descendant query — a label nested elsewhere renders outside the popover.
|
|
412
|
+
- Use a label to NAME a group and <menu-divider-ui> to SEPARATE groups. The common pattern is one label at the top of each group with dividers between groups; avoid a label with no items beneath it.
|
|
413
|
+
- Non-interactive: role="presentation", no [value], fires no events, and the menu's keyboard focus skips it. For a selectable row use <menu-item-ui>; for an unavailable action use <menu-item-ui disabled>.
|
|
414
|
+
|
|
410
415
|
## Menu
|
|
411
416
|
- <menu-ui> MUST have exactly one child with slot="trigger" (typically <button-ui>, but any focusable element works). Without it the menu cannot open. The trigger lives in light DOM; the items are hoisted to a top-layer popover on open.
|
|
412
417
|
- Default slot accepts only <menu-item-ui> and <menu-divider-ui> children — no submenus, headers, or arbitrary content. Roving tabindex + Arrow / Home / End / Enter / Escape keyboard nav is built in.
|
package/chunks/_index.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-corpus",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.15",
|
|
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": {
|