@adia-ai/a2ui-corpus 0.7.16 → 0.7.18
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 +10 -0
- package/catalog-a2ui_0_9.json +5 -0
- package/chunks/_index.json +804 -4
- package/chunks/admin-page-header-flush.json +83 -0
- package/chunks/admin-page-header-title-description.json +80 -0
- package/chunks/admin-page-header-with-actions.json +109 -0
- package/chunks/admin-page-header-with-tabs.json +144 -0
- package/chunks/admin-sidebar-brand-signin.json +152 -0
- package/chunks/admin-sidebar-brand-version.json +124 -0
- package/chunks/admin-sidebar-flat-nav.json +125 -0
- package/chunks/admin-sidebar-nav-dividers.json +144 -0
- package/chunks/admin-sidebar-nav-groups.json +165 -0
- package/chunks/admin-sidebar-workspace-switcher.json +132 -0
- package/chunks/admin-topbar-breadcrumb-actions.json +130 -0
- package/chunks/admin-topbar-breadcrumb-minimal.json +79 -0
- package/chunks/admin-topbar-deep-breadcrumb.json +129 -0
- package/chunks/admin-topbar-search.json +104 -0
- package/chunks/admin-topbar-status-indicator.json +131 -0
- package/chunks/admin-topbar-trailing-toggle.json +114 -0
- package/chunks/form-checkbox-group.json +65 -0
- package/chunks/form-field-email-hint.json +53 -0
- package/chunks/form-field-range.json +54 -0
- package/chunks/form-field-required.json +52 -0
- package/chunks/form-field-select.json +66 -0
- package/chunks/form-field-textarea.json +51 -0
- package/chunks/form-fields-two-column.json +69 -0
- package/chunks/form-switch-toggle.json +41 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "form-field-range",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "field-ui",
|
|
5
|
+
"page": "/site/patterns/forms.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"label": "Volume"
|
|
10
|
+
},
|
|
11
|
+
"html": "<field-ui label=\"Volume\">\n <range-ui min=\"0\" max=\"100\" value=\"60\"></range-ui>\n </field-ui>",
|
|
12
|
+
"source": "site/pages/patterns/forms.html",
|
|
13
|
+
"metadata": {
|
|
14
|
+
"domain": "forms",
|
|
15
|
+
"description": "A labeled range slider field — field-ui wrapping a range-ui with min/max/value. For selecting a numeric value within a bounded range (volume, opacity, threshold).",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"form",
|
|
18
|
+
"field",
|
|
19
|
+
"range",
|
|
20
|
+
"slider",
|
|
21
|
+
"field-ui",
|
|
22
|
+
"range-ui",
|
|
23
|
+
"min",
|
|
24
|
+
"max",
|
|
25
|
+
"value",
|
|
26
|
+
"numeric",
|
|
27
|
+
"bounded",
|
|
28
|
+
"volume",
|
|
29
|
+
"opacity",
|
|
30
|
+
"threshold",
|
|
31
|
+
"forms",
|
|
32
|
+
"labeled",
|
|
33
|
+
"slider-control"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"captured_at": "2026-06-09T18:16:34.245Z",
|
|
37
|
+
"template": [
|
|
38
|
+
{
|
|
39
|
+
"id": "range",
|
|
40
|
+
"component": "Range",
|
|
41
|
+
"max": 100,
|
|
42
|
+
"min": 0,
|
|
43
|
+
"value": 60
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "root",
|
|
47
|
+
"component": "Field",
|
|
48
|
+
"label": "Volume",
|
|
49
|
+
"children": [
|
|
50
|
+
"range"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "form-field-required",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "field-ui",
|
|
5
|
+
"page": "/site/patterns/forms.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"label": "Full name",
|
|
10
|
+
"required": ""
|
|
11
|
+
},
|
|
12
|
+
"html": "<field-ui label=\"Full name\" required>\n <input-ui placeholder=\"Maya Chen\"></input-ui>\n </field-ui>",
|
|
13
|
+
"source": "site/pages/patterns/forms.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "forms",
|
|
16
|
+
"description": "A required labeled text field — field-ui with the required attribute wrapping an input-ui, rendering the required asterisk and constraint binding.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"form",
|
|
19
|
+
"field",
|
|
20
|
+
"required",
|
|
21
|
+
"asterisk",
|
|
22
|
+
"label",
|
|
23
|
+
"field-ui",
|
|
24
|
+
"input-ui",
|
|
25
|
+
"text",
|
|
26
|
+
"wrapper",
|
|
27
|
+
"labeled",
|
|
28
|
+
"forms",
|
|
29
|
+
"validation",
|
|
30
|
+
"mandatory",
|
|
31
|
+
"name",
|
|
32
|
+
"placeholder"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"captured_at": "2026-06-09T18:16:34.245Z",
|
|
36
|
+
"template": [
|
|
37
|
+
{
|
|
38
|
+
"id": "input",
|
|
39
|
+
"component": "Input",
|
|
40
|
+
"placeholder": "Maya Chen"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "root",
|
|
44
|
+
"component": "Field",
|
|
45
|
+
"required": true,
|
|
46
|
+
"label": "Full name",
|
|
47
|
+
"children": [
|
|
48
|
+
"input"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "form-field-select",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "field-ui",
|
|
5
|
+
"page": "/site/patterns/forms.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"label": "Role"
|
|
10
|
+
},
|
|
11
|
+
"html": "<field-ui label=\"Role\">\n <select-ui value=\"member\">\n <option value=\"admin\">Admin</option>\n <option value=\"member\">Member</option>\n <option value=\"viewer\">Viewer</option>\n </select-ui>\n </field-ui>",
|
|
12
|
+
"source": "site/pages/patterns/forms.html",
|
|
13
|
+
"metadata": {
|
|
14
|
+
"domain": "forms",
|
|
15
|
+
"description": "A labeled dropdown select field — field-ui wrapping a select-ui with option children. For a single choice from a small fixed set of values (role, status, plan).",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"form",
|
|
18
|
+
"field",
|
|
19
|
+
"select",
|
|
20
|
+
"dropdown",
|
|
21
|
+
"field-ui",
|
|
22
|
+
"select-ui",
|
|
23
|
+
"option",
|
|
24
|
+
"role",
|
|
25
|
+
"choice",
|
|
26
|
+
"picker",
|
|
27
|
+
"single-select",
|
|
28
|
+
"forms",
|
|
29
|
+
"labeled",
|
|
30
|
+
"admin",
|
|
31
|
+
"member",
|
|
32
|
+
"viewer",
|
|
33
|
+
"list"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"captured_at": "2026-06-09T18:16:34.245Z",
|
|
37
|
+
"template": [
|
|
38
|
+
{
|
|
39
|
+
"id": "choice-picker",
|
|
40
|
+
"component": "ChoicePicker",
|
|
41
|
+
"value": "member",
|
|
42
|
+
"options": [
|
|
43
|
+
{
|
|
44
|
+
"value": "admin",
|
|
45
|
+
"label": "Admin"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"value": "member",
|
|
49
|
+
"label": "Member"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"value": "viewer",
|
|
53
|
+
"label": "Viewer"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "root",
|
|
59
|
+
"component": "Field",
|
|
60
|
+
"label": "Role",
|
|
61
|
+
"children": [
|
|
62
|
+
"choice-picker"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "form-field-textarea",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "field-ui",
|
|
5
|
+
"page": "/site/patterns/forms.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"label": "Notes"
|
|
10
|
+
},
|
|
11
|
+
"html": "<field-ui label=\"Notes\">\n <textarea-ui placeholder=\"Add context…\" rows=\"3\"></textarea-ui>\n </field-ui>",
|
|
12
|
+
"source": "site/pages/patterns/forms.html",
|
|
13
|
+
"metadata": {
|
|
14
|
+
"domain": "forms",
|
|
15
|
+
"description": "A labeled multi-line text field — field-ui wrapping a textarea-ui with a row count. For long-form text entry like notes, descriptions, or comments.",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"form",
|
|
18
|
+
"field",
|
|
19
|
+
"textarea",
|
|
20
|
+
"multi-line",
|
|
21
|
+
"field-ui",
|
|
22
|
+
"textarea-ui",
|
|
23
|
+
"notes",
|
|
24
|
+
"description",
|
|
25
|
+
"comment",
|
|
26
|
+
"long-form",
|
|
27
|
+
"rows",
|
|
28
|
+
"forms",
|
|
29
|
+
"labeled",
|
|
30
|
+
"text-area",
|
|
31
|
+
"placeholder"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"captured_at": "2026-06-09T18:16:34.245Z",
|
|
35
|
+
"template": [
|
|
36
|
+
{
|
|
37
|
+
"id": "text-area",
|
|
38
|
+
"component": "TextArea",
|
|
39
|
+
"placeholder": "Add context…",
|
|
40
|
+
"rows": "3"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "root",
|
|
44
|
+
"component": "Field",
|
|
45
|
+
"label": "Notes",
|
|
46
|
+
"children": [
|
|
47
|
+
"text-area"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "form-fields-two-column",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "fields-ui",
|
|
5
|
+
"page": "/site/patterns/forms.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {},
|
|
9
|
+
"html": "<fields-ui>\n <field-ui label=\"First name\">\n <input-ui placeholder=\"Maya\"></input-ui>\n </field-ui>\n <field-ui label=\"Last name\">\n <input-ui placeholder=\"Chen\"></input-ui>\n </field-ui>\n </fields-ui>",
|
|
10
|
+
"source": "site/pages/patterns/forms.html",
|
|
11
|
+
"metadata": {
|
|
12
|
+
"domain": "forms",
|
|
13
|
+
"description": "Two side-by-side form fields — fields-ui wrapping a pair of field-ui controls, collapsing to a single column on narrow viewports automatically. For first/last name or city/state rows.",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"form",
|
|
16
|
+
"fields",
|
|
17
|
+
"two-column",
|
|
18
|
+
"side-by-side",
|
|
19
|
+
"fields-ui",
|
|
20
|
+
"field-ui",
|
|
21
|
+
"input-ui",
|
|
22
|
+
"responsive",
|
|
23
|
+
"collapse",
|
|
24
|
+
"row",
|
|
25
|
+
"first-name",
|
|
26
|
+
"last-name",
|
|
27
|
+
"layout",
|
|
28
|
+
"forms",
|
|
29
|
+
"multi-column"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"captured_at": "2026-06-09T18:16:34.245Z",
|
|
33
|
+
"template": [
|
|
34
|
+
{
|
|
35
|
+
"id": "input",
|
|
36
|
+
"component": "Input",
|
|
37
|
+
"placeholder": "Maya"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "field",
|
|
41
|
+
"component": "Field",
|
|
42
|
+
"label": "First name",
|
|
43
|
+
"children": [
|
|
44
|
+
"input"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "input-2",
|
|
49
|
+
"component": "Input",
|
|
50
|
+
"placeholder": "Chen"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "field-2",
|
|
54
|
+
"component": "Field",
|
|
55
|
+
"label": "Last name",
|
|
56
|
+
"children": [
|
|
57
|
+
"input-2"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "root",
|
|
62
|
+
"component": "Column",
|
|
63
|
+
"children": [
|
|
64
|
+
"field",
|
|
65
|
+
"field-2"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "form-switch-toggle",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "switch-ui",
|
|
5
|
+
"page": "/site/patterns/forms.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"label": "Email notifications"
|
|
10
|
+
},
|
|
11
|
+
"html": "<switch-ui label=\"Email notifications\"></switch-ui>",
|
|
12
|
+
"source": "site/pages/patterns/forms.html",
|
|
13
|
+
"metadata": {
|
|
14
|
+
"domain": "forms",
|
|
15
|
+
"description": "A self-labeling toggle switch — switch-ui with its own label attribute (no field-ui wrapper). For instant on/off settings that apply immediately without a submit.",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"form",
|
|
18
|
+
"switch",
|
|
19
|
+
"toggle",
|
|
20
|
+
"self-labeling",
|
|
21
|
+
"switch-ui",
|
|
22
|
+
"on-off",
|
|
23
|
+
"instant",
|
|
24
|
+
"setting",
|
|
25
|
+
"notifications",
|
|
26
|
+
"boolean",
|
|
27
|
+
"enable",
|
|
28
|
+
"forms",
|
|
29
|
+
"label",
|
|
30
|
+
"immediate"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"captured_at": "2026-06-09T18:16:34.245Z",
|
|
34
|
+
"template": [
|
|
35
|
+
{
|
|
36
|
+
"id": "root",
|
|
37
|
+
"component": "Toggle",
|
|
38
|
+
"label": "Email notifications"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
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.18",
|
|
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": {
|