@adia-ai/a2ui-corpus 0.7.19 → 0.7.20

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/chunk-embeddings.json +1 -1
  3. package/chunks/_index.json +2176 -64
  4. package/chunks/agent-artifact-stub-card.json +115 -0
  5. package/chunks/agent-citations-source-chips.json +78 -0
  6. package/chunks/agent-pipeline-status-stages.json +69 -0
  7. package/chunks/agent-tool-call-accordion.json +109 -0
  8. package/chunks/billing-cancel-subscription-danger.json +61 -0
  9. package/chunks/billing-invoice-history-table.json +75 -0
  10. package/chunks/billing-payment-method-card-on-file.json +157 -0
  11. package/chunks/business-address-form.json +950 -0
  12. package/chunks/chat-empty-state-hero.json +102 -0
  13. package/chunks/chat-message-assistant-byline.json +85 -0
  14. package/chunks/chat-message-user-byline.json +84 -0
  15. package/chunks/checkout-order-summary-card.json +140 -0
  16. package/chunks/contact-form-card.json +197 -0
  17. package/chunks/contact-support-form.json +699 -0
  18. package/chunks/data-import-wizard.json +12 -3
  19. package/chunks/departments-checkbox-form.json +387 -0
  20. package/chunks/editor-statusbar-ready.json +99 -0
  21. package/chunks/editor-toolbar-import-export.json +195 -0
  22. package/chunks/extended-profile-form.json +509 -0
  23. package/chunks/feature-toggle-switch-grid.json +213 -0
  24. package/chunks/file-upload-field.json +97 -0
  25. package/chunks/file-upload-form.json +248 -0
  26. package/chunks/form-field-with-error.json +151 -0
  27. package/chunks/image-thumbnail-grid.json +77 -0
  28. package/chunks/integrations-api-keys-card-list.json +475 -0
  29. package/chunks/integrations-connect-form.json +547 -0
  30. package/chunks/integrations-webhooks-empty-state.json +66 -0
  31. package/chunks/library-browser-search-filter.json +109 -0
  32. package/chunks/login-form-card.json +207 -0
  33. package/chunks/map-with-location-list.json +291 -0
  34. package/chunks/members-active-table-search-filter.json +184 -0
  35. package/chunks/members-pending-invites-cards.json +251 -0
  36. package/chunks/members-roles-permissions-list.json +104 -0
  37. package/chunks/multi-field-form-validation.json +391 -0
  38. package/chunks/payment-checkout-form.json +338 -0
  39. package/chunks/plan-selection-form.json +526 -0
  40. package/chunks/reg-step-shell.json +12 -3
  41. package/chunks/schedule-meeting-form-card.json +229 -0
  42. package/chunks/searchable-picker-modal.json +164 -0
  43. package/chunks/security-active-sessions-devices.json +287 -0
  44. package/chunks/security-change-password-form.json +102 -0
  45. package/chunks/security-delete-account-danger.json +79 -0
  46. package/chunks/settings-admin-page.json +61 -34
  47. package/chunks/settings-danger-zone-delete-workspace.json +93 -0
  48. package/chunks/settings-notification-activity-checkboxes.json +108 -0
  49. package/chunks/settings-notification-channels-switches.json +101 -0
  50. package/chunks/signup-form-card.json +218 -0
  51. package/chunks/signup-team-size-form.json +256 -0
  52. package/chunks/single-select-card-form.json +228 -0
  53. package/chunks/team-invite-form.json +377 -0
  54. package/chunks/url-import-form.json +725 -0
  55. package/package.json +1 -1
@@ -0,0 +1,213 @@
1
+ {
2
+ "name": "feature-toggle-switch-grid",
3
+ "kind": "block",
4
+ "primary": "grid-ui",
5
+ "page": "/playgrounds/composed-flow/app/composed-flow.contents.html",
6
+ "slots": [],
7
+ "nested": [],
8
+ "attrs": {
9
+ "columns": "1 2@sm",
10
+ "gap": "3"
11
+ },
12
+ "html": "<grid-ui\n columns=\"1 2@sm\"\n gap=\"3\">\n <field-ui label=\"input-mask\" inline>\n <switch-ui id=\"strip-input-mask\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → fields render unformatted (raw digits, no spaces or slashes).</text-ui>\n\n <field-ui label=\"validation\" inline>\n <switch-ui id=\"strip-validation\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → submit always succeeds, even with empty fields. The gate is gone.</text-ui>\n\n <field-ui label=\"spring-animate\" inline>\n <switch-ui id=\"strip-spring-animate\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → success card snaps in instead of sliding from below.</text-ui>\n\n <field-ui label=\"count-up\" inline>\n <switch-ui id=\"strip-count-up\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → total appears at $96.12 immediately, no ramp.</text-ui>\n\n <field-ui label=\"confetti-burst\" inline>\n <switch-ui id=\"strip-confetti-burst\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → no celebration. The success is recorded but not felt.</text-ui>\n\n <field-ui label=\"focus-restore\" inline>\n <switch-ui id=\"strip-focus-restore\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → focus drops to body after submit. Tab from there starts at the page chrome.</text-ui>\n\n <field-ui label=\"announcer\" inline>\n <switch-ui id=\"strip-announcer\" checked></switch-ui>\n </field-ui>\n <text-ui variant=\"caption\">Off → screen reader hears nothing on success. Sighted users see the same thing; AT users get silence.</text-ui>\n </grid-ui>",
13
+ "source": "playgrounds/composed-flow/app/composed-flow.contents.html",
14
+ "metadata": {
15
+ "domain": "settings",
16
+ "description": "Feature-toggle switch grid — a two-column grid pairing each inline labelled switch with a caption explaining what turning it off does. The 'enable / disable individual features' settings panel where every row is a toggle plus a one-line consequence note.",
17
+ "keywords": [
18
+ "feature",
19
+ "toggle",
20
+ "switch",
21
+ "grid",
22
+ "settings",
23
+ "options",
24
+ "enable",
25
+ "disable",
26
+ "on",
27
+ "off",
28
+ "flags",
29
+ "preferences",
30
+ "capabilities",
31
+ "inline",
32
+ "labelled",
33
+ "switch",
34
+ "caption",
35
+ "explanation",
36
+ "two",
37
+ "column",
38
+ "controls",
39
+ "panel",
40
+ "feature",
41
+ "flags",
42
+ "toggles",
43
+ "settings",
44
+ "list",
45
+ "configuration"
46
+ ]
47
+ },
48
+ "captured_at": "2026-06-10T16:56:21.616Z",
49
+ "template": [
50
+ {
51
+ "id": "strip-input-mask",
52
+ "component": "Toggle",
53
+ "checked": true
54
+ },
55
+ {
56
+ "id": "field",
57
+ "component": "Field",
58
+ "inline": true,
59
+ "label": "input-mask",
60
+ "children": [
61
+ "strip-input-mask"
62
+ ]
63
+ },
64
+ {
65
+ "id": "text",
66
+ "component": "Text",
67
+ "variant": "caption",
68
+ "textContent": "Off → fields render unformatted (raw digits, no spaces or slashes)."
69
+ },
70
+ {
71
+ "id": "strip-validation",
72
+ "component": "Toggle",
73
+ "checked": true
74
+ },
75
+ {
76
+ "id": "field-2",
77
+ "component": "Field",
78
+ "inline": true,
79
+ "label": "validation",
80
+ "children": [
81
+ "strip-validation"
82
+ ]
83
+ },
84
+ {
85
+ "id": "text-2",
86
+ "component": "Text",
87
+ "variant": "caption",
88
+ "textContent": "Off → submit always succeeds, even with empty fields. The gate is gone."
89
+ },
90
+ {
91
+ "id": "strip-spring-animate",
92
+ "component": "Toggle",
93
+ "checked": true
94
+ },
95
+ {
96
+ "id": "field-3",
97
+ "component": "Field",
98
+ "inline": true,
99
+ "label": "spring-animate",
100
+ "children": [
101
+ "strip-spring-animate"
102
+ ]
103
+ },
104
+ {
105
+ "id": "text-3",
106
+ "component": "Text",
107
+ "variant": "caption",
108
+ "textContent": "Off → success card snaps in instead of sliding from below."
109
+ },
110
+ {
111
+ "id": "strip-count-up",
112
+ "component": "Toggle",
113
+ "checked": true
114
+ },
115
+ {
116
+ "id": "field-4",
117
+ "component": "Field",
118
+ "inline": true,
119
+ "label": "count-up",
120
+ "children": [
121
+ "strip-count-up"
122
+ ]
123
+ },
124
+ {
125
+ "id": "text-4",
126
+ "component": "Text",
127
+ "variant": "caption",
128
+ "textContent": "Off → total appears at $96.12 immediately, no ramp."
129
+ },
130
+ {
131
+ "id": "strip-confetti-burst",
132
+ "component": "Toggle",
133
+ "checked": true
134
+ },
135
+ {
136
+ "id": "field-5",
137
+ "component": "Field",
138
+ "inline": true,
139
+ "label": "confetti-burst",
140
+ "children": [
141
+ "strip-confetti-burst"
142
+ ]
143
+ },
144
+ {
145
+ "id": "text-5",
146
+ "component": "Text",
147
+ "variant": "caption",
148
+ "textContent": "Off → no celebration. The success is recorded but not felt."
149
+ },
150
+ {
151
+ "id": "strip-focus-restore",
152
+ "component": "Toggle",
153
+ "checked": true
154
+ },
155
+ {
156
+ "id": "field-6",
157
+ "component": "Field",
158
+ "inline": true,
159
+ "label": "focus-restore",
160
+ "children": [
161
+ "strip-focus-restore"
162
+ ]
163
+ },
164
+ {
165
+ "id": "text-6",
166
+ "component": "Text",
167
+ "variant": "caption",
168
+ "textContent": "Off → focus drops to body after submit. Tab from there starts at the page chrome."
169
+ },
170
+ {
171
+ "id": "strip-announcer",
172
+ "component": "Toggle",
173
+ "checked": true
174
+ },
175
+ {
176
+ "id": "field-7",
177
+ "component": "Field",
178
+ "inline": true,
179
+ "label": "announcer",
180
+ "children": [
181
+ "strip-announcer"
182
+ ]
183
+ },
184
+ {
185
+ "id": "text-7",
186
+ "component": "Text",
187
+ "variant": "caption",
188
+ "textContent": "Off → screen reader hears nothing on success. Sighted users see the same thing; AT users get silence."
189
+ },
190
+ {
191
+ "id": "root",
192
+ "component": "Grid",
193
+ "columns": "1 2@sm",
194
+ "gap": "3",
195
+ "children": [
196
+ "field",
197
+ "text",
198
+ "field-2",
199
+ "text-2",
200
+ "field-3",
201
+ "text-3",
202
+ "field-4",
203
+ "text-4",
204
+ "field-5",
205
+ "text-5",
206
+ "field-6",
207
+ "text-6",
208
+ "field-7",
209
+ "text-7"
210
+ ]
211
+ }
212
+ ]
213
+ }
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "file-upload-field",
3
+ "kind": "block",
4
+ "primary": "div",
5
+ "page": "/apps/genui/app/a2ui-editor/a2ui-editor.contents.html",
6
+ "slots": [],
7
+ "nested": [],
8
+ "attrs": {
9
+ "data-import-panel": "file",
10
+ "hidden": ""
11
+ },
12
+ "html": "<div\n data-import-panel=\"file\"\n hidden>\n <label style=\"display: flex; flex-direction: column; gap: var(--a-space-2)\">\n <text-ui variant=\"label\">Select a .json or .html file</text-ui>\n <input id=\"import-file\" type=\"file\" accept=\".json,.html,application/json,text/html\" />\n </label>\n <div data-import-footer>\n <button-ui data-import-cancel text=\"Cancel\" variant=\"ghost\"></button-ui>\n </div>\n </div>",
13
+ "source": "apps/genui/app/a2ui-editor/a2ui-editor.contents.html",
14
+ "metadata": {
15
+ "domain": "forms",
16
+ "description": "File-upload field — a labelled native file input restricted to specific file types, stacked label-over-control, with a Cancel action below. The minimal 'choose / browse for a file to upload or import' form control.",
17
+ "keywords": [
18
+ "file",
19
+ "upload",
20
+ "field",
21
+ "input",
22
+ "choose",
23
+ "file",
24
+ "browse",
25
+ "attach",
26
+ "import",
27
+ "select",
28
+ "document",
29
+ "picker",
30
+ "accept",
31
+ "types",
32
+ "json",
33
+ "html",
34
+ "upload",
35
+ "control",
36
+ "label",
37
+ "native",
38
+ "file",
39
+ "input",
40
+ "drag",
41
+ "drop",
42
+ "file",
43
+ "chooser",
44
+ "pick",
45
+ "file",
46
+ "from",
47
+ "disk"
48
+ ]
49
+ },
50
+ "captured_at": "2026-06-10T16:56:21.616Z",
51
+ "template": [
52
+ {
53
+ "id": "text-2",
54
+ "component": "Text",
55
+ "variant": "label",
56
+ "textContent": "Select a .json or .html file"
57
+ },
58
+ {
59
+ "id": "import-file",
60
+ "component": "Upload",
61
+ "accept": ".json,.html,application/json,text/html"
62
+ },
63
+ {
64
+ "id": "text",
65
+ "component": "Text",
66
+ "variant": "body",
67
+ "children": [
68
+ "text-2",
69
+ "import-file"
70
+ ]
71
+ },
72
+ {
73
+ "id": "button",
74
+ "component": "Button",
75
+ "text": "Cancel",
76
+ "variant": "ghost",
77
+ "data-import-cancel": ""
78
+ },
79
+ {
80
+ "id": "column",
81
+ "component": "Column",
82
+ "data-import-footer": "",
83
+ "children": [
84
+ "button"
85
+ ]
86
+ },
87
+ {
88
+ "id": "root",
89
+ "component": "Column",
90
+ "data-import-panel": "file",
91
+ "children": [
92
+ "text",
93
+ "column"
94
+ ]
95
+ }
96
+ ]
97
+ }
@@ -0,0 +1,248 @@
1
+ {
2
+ "name": "file-upload-form",
3
+ "kind": "block",
4
+ "primary": "form",
5
+ "page": "/apps/user-flow/app/registration/import/import.contents.html",
6
+ "slots": [],
7
+ "nested": [
8
+ "reg-step-header",
9
+ "reg-import-picker",
10
+ "reg-step-footer",
11
+ "reg-step-progress"
12
+ ],
13
+ "attrs": {
14
+ "data-reg-input": "",
15
+ "action": "/site/examples/registration/plan",
16
+ "method": "get"
17
+ },
18
+ "html": "<form data-reg-input action=\"/site/examples/registration/plan\" method=\"get\">\n <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n <section data-reg-form><!-- nested: reg-import-picker --></section>\n\n <footer><!-- nested: reg-step-footer --></footer>\n </form>",
19
+ "source": "apps/user-flow/app/registration/import/import.contents.html",
20
+ "metadata": {
21
+ "domain": "forms",
22
+ "description": "Complete data-import / file-upload form — heading, a source select, a file upload drop-zone field with an accepted-types hint, and a submit footer. The full upload-form composition with header and footer. Use for 'file upload form', 'import data form', 'form with a file drop zone and a select'.",
23
+ "keywords": [
24
+ "file",
25
+ "upload",
26
+ "form",
27
+ "import",
28
+ "data",
29
+ "migration",
30
+ "source",
31
+ "select",
32
+ "drop-zone",
33
+ "accept",
34
+ "file-types",
35
+ "export",
36
+ "hint",
37
+ "complete",
38
+ "card",
39
+ "heading",
40
+ "footer",
41
+ "submit",
42
+ "continue",
43
+ "full-form"
44
+ ],
45
+ "related": [
46
+ "reg-import-picker",
47
+ "file-upload-dnd",
48
+ "image-upload-preview",
49
+ "reg-step-footer"
50
+ ],
51
+ "tags": {
52
+ "complexity": "simple",
53
+ "form": "upload"
54
+ }
55
+ },
56
+ "captured_at": "2026-06-10T14:28:57.979Z",
57
+ "template": [
58
+ {
59
+ "id": "text",
60
+ "component": "Text",
61
+ "variant": "display",
62
+ "textContent": "Bring your existing data"
63
+ },
64
+ {
65
+ "id": "text-2",
66
+ "component": "Text",
67
+ "color": "subtle",
68
+ "textContent": "Import projects, tasks, and members from your previous tool — or start fresh."
69
+ },
70
+ {
71
+ "id": "header-2",
72
+ "component": "Header",
73
+ "data-reg-heading": "",
74
+ "children": [
75
+ "text",
76
+ "text-2"
77
+ ]
78
+ },
79
+ {
80
+ "id": "header",
81
+ "component": "Header",
82
+ "data-reg-heading": "",
83
+ "children": [
84
+ "header-2"
85
+ ]
86
+ },
87
+ {
88
+ "id": "source",
89
+ "component": "ChoicePicker",
90
+ "name": "source",
91
+ "value": "notion",
92
+ "options": [
93
+ {
94
+ "value": "notion",
95
+ "label": "Notion"
96
+ },
97
+ {
98
+ "value": "asana",
99
+ "label": "Asana"
100
+ },
101
+ {
102
+ "value": "trello",
103
+ "label": "Trello"
104
+ },
105
+ {
106
+ "value": "linear",
107
+ "label": "Linear"
108
+ },
109
+ {
110
+ "value": "jira",
111
+ "label": "Jira"
112
+ },
113
+ {
114
+ "value": "csv",
115
+ "label": "CSV file"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "id": "field",
121
+ "component": "Field",
122
+ "inline": true,
123
+ "label": "Source",
124
+ "children": [
125
+ "source"
126
+ ]
127
+ },
128
+ {
129
+ "id": "export",
130
+ "component": "Upload",
131
+ "accept": ".zip,.json,.csv",
132
+ "name": "export"
133
+ },
134
+ {
135
+ "id": "field-2",
136
+ "component": "Field",
137
+ "hint": "Drop the export from your previous tool. We accept .zip, .json, and .csv.",
138
+ "inline": true,
139
+ "label": "Export File",
140
+ "children": [
141
+ "export"
142
+ ]
143
+ },
144
+ {
145
+ "id": "text-3",
146
+ "component": "Text",
147
+ "variant": "body",
148
+ "slot": "content",
149
+ "textContent": "Imports run in the background — you can move on while it processes. We'll email you when it's done."
150
+ },
151
+ {
152
+ "id": "alert",
153
+ "component": "Alert",
154
+ "icon": "info",
155
+ "variant": "info",
156
+ "children": [
157
+ "text-3"
158
+ ]
159
+ },
160
+ {
161
+ "id": "section-2",
162
+ "component": "Section",
163
+ "data-reg-form": "",
164
+ "children": [
165
+ "field",
166
+ "field-2",
167
+ "alert"
168
+ ]
169
+ },
170
+ {
171
+ "id": "section",
172
+ "component": "Section",
173
+ "data-reg-form": "",
174
+ "children": [
175
+ "section-2"
176
+ ]
177
+ },
178
+ {
179
+ "id": "column",
180
+ "component": "Column"
181
+ },
182
+ {
183
+ "id": "text-4",
184
+ "component": "Text",
185
+ "textContent": "Back",
186
+ "variant": "body"
187
+ },
188
+ {
189
+ "id": "link",
190
+ "component": "Link",
191
+ "href": "/site/examples/registration/integrations",
192
+ "text": "Back",
193
+ "data-reg-back": "",
194
+ "children": [
195
+ "text-4"
196
+ ]
197
+ },
198
+ {
199
+ "id": "button",
200
+ "component": "Button",
201
+ "type": "submit",
202
+ "text": "Start fresh",
203
+ "variant": "outline"
204
+ },
205
+ {
206
+ "id": "button-2",
207
+ "component": "Button",
208
+ "type": "submit",
209
+ "text": "Import",
210
+ "variant": "primary"
211
+ },
212
+ {
213
+ "id": "column-2",
214
+ "component": "Column",
215
+ "data-reg-actions": "",
216
+ "children": [
217
+ "link",
218
+ "button",
219
+ "button-2"
220
+ ]
221
+ },
222
+ {
223
+ "id": "footer-2",
224
+ "component": "Footer",
225
+ "children": [
226
+ "column",
227
+ "column-2"
228
+ ]
229
+ },
230
+ {
231
+ "id": "footer",
232
+ "component": "Footer",
233
+ "children": [
234
+ "footer-2"
235
+ ]
236
+ },
237
+ {
238
+ "id": "root",
239
+ "component": "FormContainer",
240
+ "data-reg-input": "",
241
+ "children": [
242
+ "header",
243
+ "section",
244
+ "footer"
245
+ ]
246
+ }
247
+ ]
248
+ }