@adia-ai/a2ui-corpus 0.6.18 → 0.6.19

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 (235) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/catalog-a2ui_0_9.json +52 -5
  3. package/chunk-embeddings.json +1 -1
  4. package/chunks/_index.json +29 -31
  5. package/chunks/accordion-settings.json +1 -1
  6. package/chunks/agent-activity-feed.json +2 -1
  7. package/chunks/agent-canvas-shell.json +1 -1
  8. package/chunks/agent-command-palette-search.json +8 -2
  9. package/chunks/agent-reasoning-collapsed.json +2 -1
  10. package/chunks/agent-tool-call-result.json +6 -2
  11. package/chunks/agent-trace-timeline.json +24 -2
  12. package/chunks/ai-streaming-response.json +4 -2
  13. package/chunks/alert-banner.json +3 -1
  14. package/chunks/auth-account-deleted-actions.json +1 -1
  15. package/chunks/auth-account-deleted.json +1 -1
  16. package/chunks/auth-card-content.json +1 -1
  17. package/chunks/auth-card-header.json +1 -1
  18. package/chunks/auth-email-entry.json +1 -1
  19. package/chunks/auth-email-verify-confirm.json +1 -1
  20. package/chunks/auth-email-verify.json +1 -1
  21. package/chunks/auth-forbidden-actions.json +1 -1
  22. package/chunks/auth-forbidden.json +1 -1
  23. package/chunks/auth-invite-actions.json +1 -1
  24. package/chunks/auth-invite-team-card.json +1 -1
  25. package/chunks/auth-link-expired-form.json +1 -1
  26. package/chunks/auth-link-expired.json +1 -1
  27. package/chunks/auth-locked-account.json +1 -1
  28. package/chunks/auth-locked-recovery-options.json +1 -1
  29. package/chunks/auth-mfa-enrollment-submit.json +1 -1
  30. package/chunks/auth-mfa-enrollment.json +7 -1
  31. package/chunks/auth-mfa-fallback-actions.json +1 -1
  32. package/chunks/auth-mfa-recovery.json +1 -1
  33. package/chunks/auth-new-password-form.json +1 -1
  34. package/chunks/auth-new-password.json +3 -1
  35. package/chunks/auth-oauth-fallback-actions.json +1 -1
  36. package/chunks/auth-oauth-interstitial.json +1 -1
  37. package/chunks/auth-password-challenge.json +1 -1
  38. package/chunks/auth-password-reset-form.json +1 -1
  39. package/chunks/auth-password-reset.json +3 -1
  40. package/chunks/auth-profile-form.json +1 -1
  41. package/chunks/auth-profile-setup.json +1 -1
  42. package/chunks/auth-reset-sent.json +1 -1
  43. package/chunks/auth-session-expired-actions.json +1 -1
  44. package/chunks/auth-session-expired.json +1 -1
  45. package/chunks/auth-signin-card-email.json +3 -1
  46. package/chunks/auth-signin-card-magic-link.json +2 -1
  47. package/chunks/auth-signin-card-mfa.json +3 -1
  48. package/chunks/auth-signin-card-otp.json +6 -1
  49. package/chunks/auth-signin-card-password.json +2 -1
  50. package/chunks/auth-signin-card-recovery.json +1 -1
  51. package/chunks/auth-signout-actions.json +1 -1
  52. package/chunks/auth-signout.json +1 -1
  53. package/chunks/auth-signup-email-entry.json +1 -1
  54. package/chunks/auth-signup-entry.json +6 -1
  55. package/chunks/auth-signup-social-auths.json +1 -1
  56. package/chunks/auth-signup-verify.json +1 -1
  57. package/chunks/auth-social-auths.json +1 -1
  58. package/chunks/auth-sso-providers.json +1 -1
  59. package/chunks/auth-sso-required.json +1 -1
  60. package/chunks/auth-team-invite.json +1 -1
  61. package/chunks/avatar-group-overflow.json +3 -1
  62. package/chunks/breadcrumb-nav.json +2 -1
  63. package/chunks/calendar-month-view.json +1 -1
  64. package/chunks/card-header-with-description.json +1 -1
  65. package/chunks/chart-with-filter-pills.json +6 -2
  66. package/chunks/chat-page-shell.json +13 -7
  67. package/chunks/chat-streaming-surface.json +1 -1
  68. package/chunks/color-picker-swatches.json +5 -1
  69. package/chunks/command-palette.json +1 -1
  70. package/chunks/commerce-pricing-tiers.json +17 -1
  71. package/chunks/comparison-table.json +34 -1
  72. package/chunks/conversion-funnel-6step.json +4 -1
  73. package/chunks/dashboard-acquisition-panel.json +3 -1
  74. package/chunks/dashboard-admin-page.json +2 -2
  75. package/chunks/dashboard-audience-kpis.json +1 -1
  76. package/chunks/dashboard-audience-panel.json +19 -1
  77. package/chunks/dashboard-behavior-panel.json +2 -1
  78. package/chunks/dashboard-chart-recent.json +13 -1
  79. package/chunks/dashboard-cohort-retention.json +1 -1
  80. package/chunks/dashboard-conversion-panel.json +4 -1
  81. package/chunks/dashboard-country-list.json +2 -2
  82. package/chunks/dashboard-filter-bar.json +3 -1
  83. package/chunks/dashboard-funnel.json +3 -1
  84. package/chunks/dashboard-kpi-grid.json +1 -1
  85. package/chunks/dashboard-notifications-feed.json +1 -1
  86. package/chunks/dashboard-notifications-panel.json +21 -1
  87. package/chunks/dashboard-overview-panel.json +20 -1
  88. package/chunks/dashboard-page-header.json +1 -1
  89. package/chunks/dashboard-pages-table.json +1 -1
  90. package/chunks/dashboard-quick-actions.json +1 -1
  91. package/chunks/dashboard-reports-panel.json +1 -1
  92. package/chunks/dashboard-reports-table.json +1 -1
  93. package/chunks/dashboard-spark-cards.json +1 -1
  94. package/chunks/dashboard-storage-card.json +1 -1
  95. package/chunks/dashboard-tabs.json +1 -1
  96. package/chunks/dashboard-team-actions-storage.json +7 -1
  97. package/chunks/dashboard-team-list.json +1 -1
  98. package/chunks/dashboard-traffic-channels.json +1 -1
  99. package/chunks/dashboard-transactions-table.json +2 -1
  100. package/chunks/date-time-picker-form.json +1 -1
  101. package/chunks/destructive-confirm-modal.json +1 -1
  102. package/chunks/divider-text-label.json +3 -1
  103. package/chunks/doc-editor-shell.json +1 -1
  104. package/chunks/drawer-2fa-key.json +1 -1
  105. package/chunks/drawer-2fa-sms.json +1 -1
  106. package/chunks/drawer-2fa-totp.json +1 -1
  107. package/chunks/drawer-cancel-sub.json +1 -1
  108. package/chunks/drawer-change-plan.json +1 -1
  109. package/chunks/drawer-custom-roles.json +1 -1
  110. package/chunks/drawer-data-start.json +1 -1
  111. package/chunks/drawer-delete-account.json +1 -1
  112. package/chunks/drawer-delete-workspace.json +2 -2
  113. package/chunks/drawer-discord.json +1 -1
  114. package/chunks/drawer-figma.json +1 -1
  115. package/chunks/drawer-first-dashboard.json +1 -1
  116. package/chunks/drawer-gcal.json +1 -1
  117. package/chunks/drawer-github.json +1 -1
  118. package/chunks/drawer-invite.json +1 -1
  119. package/chunks/drawer-payment-method.json +3 -1
  120. package/chunks/drawer-report.json +1 -1
  121. package/chunks/drawer-revoke-session.json +1 -1
  122. package/chunks/drawer-role.json +1 -1
  123. package/chunks/drawer-slack.json +1 -1
  124. package/chunks/drawer-smtp.json +1 -1
  125. package/chunks/drawer-source.json +1 -1
  126. package/chunks/drawer-transaction.json +1 -1
  127. package/chunks/editor-code-pane.json +1 -1
  128. package/chunks/editor-page-shell.json +1 -1
  129. package/chunks/editor-preview-pane.json +3 -1
  130. package/chunks/empty-state.json +3 -1
  131. package/chunks/error-404-actions.json +1 -1
  132. package/chunks/error-404.json +4 -1
  133. package/chunks/error-500-actions.json +1 -1
  134. package/chunks/error-500.json +3 -1
  135. package/chunks/error-maintenance-actions.json +1 -1
  136. package/chunks/error-maintenance.json +4 -1
  137. package/chunks/error-page-shell.json +4 -3
  138. package/chunks/faq-accordion.json +5 -1
  139. package/chunks/file-upload-dnd.json +1 -1
  140. package/chunks/footer-multi-column.json +5 -1
  141. package/chunks/footer-primary-only.json +1 -1
  142. package/chunks/form-page-shell.json +2 -1
  143. package/chunks/gallery-page-shell.json +18 -1
  144. package/chunks/hero-section-split.json +8 -1
  145. package/chunks/icon-text-row.json +1 -1
  146. package/chunks/image-carousel.json +10 -2
  147. package/chunks/image-tile.json +1 -1
  148. package/chunks/image-upload-preview.json +5 -2
  149. package/chunks/inventory-list-stock.json +7 -1
  150. package/chunks/kanban-board-3col.json +4 -1
  151. package/chunks/kanban-page-shell.json +27 -7
  152. package/chunks/kbd-shortcuts.json +1 -1
  153. package/chunks/labeled-textarea.json +1 -1
  154. package/chunks/leaderboard-table.json +3 -1
  155. package/chunks/linked-record-row.json +1 -1
  156. package/chunks/marketing-hero-cta.json +7 -1
  157. package/chunks/marketing-page-shell.json +7 -1
  158. package/chunks/masonry-gallery.json +17 -1
  159. package/chunks/member-edit-drawer.json +1 -1
  160. package/chunks/metadata-description-list.json +1 -1
  161. package/chunks/multi-step-wizard.json +1 -1
  162. package/chunks/notification-toast-row.json +1 -1
  163. package/chunks/onb-completion.json +1 -1
  164. package/chunks/onb-extension-install.json +1 -1
  165. package/chunks/onb-hero-welcome.json +1 -1
  166. package/chunks/onb-import-picker.json +1 -1
  167. package/chunks/onb-mobile-handoff.json +1 -1
  168. package/chunks/onb-notification-prefs.json +1 -1
  169. package/chunks/onb-persona-picker.json +1 -1
  170. package/chunks/onb-provider-tiles.json +1 -1
  171. package/chunks/onb-settings-review.json +1 -1
  172. package/chunks/onb-step-footer.json +1 -1
  173. package/chunks/onb-step-header.json +1 -1
  174. package/chunks/onb-step-progress.json +1 -1
  175. package/chunks/onb-step-shell.json +4 -1
  176. package/chunks/onb-story-pane.json +1 -1
  177. package/chunks/onb-tutorial-steps.json +1 -1
  178. package/chunks/pagination-controls.json +3 -1
  179. package/chunks/playground-a2ui.json +1 -1
  180. package/chunks/playground-app-shell.json +1 -1
  181. package/chunks/playground-chat.json +1 -1
  182. package/chunks/playground-construct-canvas.json +1 -1
  183. package/chunks/playground-gen-ui.json +1 -1
  184. package/chunks/playground-render-preview.json +2 -2
  185. package/chunks/playground-streams-bridge.json +1 -1
  186. package/chunks/playground-table-toolbar.json +1 -1
  187. package/chunks/popover-with-content.json +2 -1
  188. package/chunks/progress-tracker-milestones.json +19 -2
  189. package/chunks/real-time-metrics-dashboard.json +17 -2
  190. package/chunks/reg-address-form.json +5 -3
  191. package/chunks/reg-billing-card.json +1 -1
  192. package/chunks/reg-brand-scrape.json +1 -1
  193. package/chunks/reg-departments-toggle.json +1 -1
  194. package/chunks/reg-extended-profile.json +1 -1
  195. package/chunks/reg-final-done.json +1 -1
  196. package/chunks/reg-helpdesk-grid.json +1 -1
  197. package/chunks/reg-import-picker.json +1 -1
  198. package/chunks/reg-integrations-grid.json +1 -1
  199. package/chunks/reg-invite-form.json +1 -1
  200. package/chunks/reg-legal-entity.json +1 -1
  201. package/chunks/reg-org-chart-review.json +1 -1
  202. package/chunks/reg-profile-identity.json +1 -1
  203. package/chunks/reg-step-footer.json +1 -1
  204. package/chunks/reg-step-header.json +1 -1
  205. package/chunks/reg-step-progress.json +1 -1
  206. package/chunks/reg-step-shell.json +8 -1
  207. package/chunks/reg-story-pane.json +1 -1
  208. package/chunks/reg-success-summary.json +1 -1
  209. package/chunks/reg-team-size.json +1 -1
  210. package/chunks/reg-usecase-picker.json +1 -1
  211. package/chunks/reg-workspace-name.json +2 -1
  212. package/chunks/search-with-filters.json +5 -1
  213. package/chunks/section-with-stack.json +1 -1
  214. package/chunks/settings-admin-page.json +37 -52
  215. package/chunks/settings-appearance.json +61 -23
  216. package/chunks/settings-billing-plan.json +1 -1
  217. package/chunks/settings-general-form.json +1 -1
  218. package/chunks/settings-integrations.json +1 -1
  219. package/chunks/settings-members-invite.json +1 -1
  220. package/chunks/settings-notifications.json +4 -1
  221. package/chunks/settings-page-shell.json +2 -1
  222. package/chunks/settings-profile-security.json +3 -1
  223. package/chunks/sidebar-collapsible-nav.json +4 -2
  224. package/chunks/slider-range-controls.json +1 -1
  225. package/chunks/tabs-with-panels.json +6 -1
  226. package/chunks/testimonial-grid.json +11 -2
  227. package/chunks/text-card.json +1 -1
  228. package/chunks/timeline-events.json +17 -2
  229. package/chunks/toolbar-icons.json +1 -1
  230. package/chunks/toolbar-tooltips.json +1 -1
  231. package/chunks/user-identity-row.json +1 -1
  232. package/chunks/user-profile-card.json +4 -1
  233. package/chunks/users-table-badge.json +8 -1
  234. package/chunks/video-player-controls.json +5 -1
  235. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog — @adia-ai/a2ui-corpus
2
2
 
3
+ ## [0.6.19] — 2026-05-21
4
+
5
+ ### Fixed
6
+ - **Corpus drift remediation — `verify:corpus` 22 findings → 0.** Freshened the stale corpus chunks: ~235 JSON files under `chunks/` re-harvested/reconciled so every chunk matches its current primitive composition, and `catalog-a2ui_0_9.json` regenerated. Companion `chunk-reconcile` triage cleared 38 collisions (all confirmed legitimate). Brings the A2UI training corpus back in sync with the v0.6.18→v0.6.19 primitive-schema state.
7
+
8
+ ### Note
9
+ - The headline v0.6.19 work — claims-ui-v4 inbound feedback batch (FEEDBACK-22…33: `drawer-ui`, `chart-ui`, `segmented-ui`, `UIElement` lifecycle, exports-map `types` conditions) — shipped in `@adia-ai/web-components` + `@adia-ai/web-modules`. See `packages/web-components/CHANGELOG.md#0619--2026-05-21`.
10
+
3
11
  ## [0.6.18] — 2026-05-21
4
12
 
5
13
  ### Changed
@@ -3633,6 +3633,11 @@
3633
3633
  "component": {
3634
3634
  "const": "Chart"
3635
3635
  },
3636
+ "data": {
3637
+ "description": "JS property (set programmatically — `el.data = [...]`). An array of plain objects; each object's keys are named by the `x` and `y` attributes — e.g. `<chart-ui x=\"month\" y=\"revenue\">` consumes `[{month:'Jan', revenue:3200}, {month:'Feb', revenue:4100}]`. The Chart.js `{labels, datasets}` envelope is NOT chart-ui's API — passing it (or any non-array value) renders an empty chart. May also be supplied declaratively as a JSON-array `data=\"[…]\"` attribute, hydrated once at connect. Custom accessor on the element class, not a reflected attribute.",
3638
+ "type": "array",
3639
+ "default": []
3640
+ },
3636
3641
  "format": {
3637
3642
  "description": "Number-format mode applied to axis labels + value overlays + donut total + gauge value + treemap value + funnel value + internal tooltip. `abbr` is the legacy 1.2K / 3M format; `decimal` fixes 2 decimals; `currency` prefixes via `--chart-currency-prefix` token (default \"$\"); `percent` multiplies × 100 and adds a % suffix.",
3638
3643
  "type": "string",
@@ -6357,7 +6362,14 @@
6357
6362
  ],
6358
6363
  "unevaluatedProperties": false,
6359
6364
  "x-adiaui": {
6360
- "anti_patterns": [],
6365
+ "anti_patterns": [
6366
+ {
6367
+ "description": "Replacing a drawer's children wholesale — `drawer.innerHTML = '…'` — wipes the internal <dialog> part UIDrawer stamps and tracks. render() re-stamps and re-binds the dialog defensively (FEEDBACK-30), but the authored header/section/footer skeleton is still destroyed on every mutation, and any consumer-held reference to a former child is stale.",
6368
+ "right": "<drawer-ui><header>Title</header><section id=\"body\"></section></drawer-ui>\n<!-- mutate a stable inner element, never the component host -->\ndocument.getElementById('body').innerHTML = renderFields(claim);\n",
6369
+ "rule": "Never set .innerHTML on a UIElement component host. Keep <header>/<section>/<footer> as persistent children and mutate the content of a plain inner element instead.",
6370
+ "wrong": "drawer.innerHTML = `<header>${title}</header><section>${body}</section>`;\n"
6371
+ }
6372
+ ],
6361
6373
  "category": "container",
6362
6374
  "composes": [],
6363
6375
  "events": {
@@ -6375,6 +6387,9 @@
6375
6387
  ]
6376
6388
  }
6377
6389
  }
6390
+ },
6391
+ "opened": {
6392
+ "description": "Fired after the drawer finishes its open transition — scheduled `--drawer-duration` ms after `showModal()` + `[data-open]`. Lets Playwright (and any consumer code waiting for the drawer to be fully open and interactive) listen for an event instead of guessing with a fixed timeout. Cancelled if the drawer closes before the open transition completes, so a rapid close→open never fires a stale `opened`. Added per FEEDBACK-27."
6378
6393
  }
6379
6394
  },
6380
6395
  "examples": [
@@ -12782,7 +12797,7 @@
12782
12797
  },
12783
12798
  "Segmented": {
12784
12799
  "title": "Segmented",
12785
- "description": "<segmented-ui value=\"tab1\">",
12800
+ "description": "Single-select toggle group with an animated sliding indicator. Children must be segment-ui elements.",
12786
12801
  "type": "object",
12787
12802
  "allOf": [
12788
12803
  {
@@ -12817,8 +12832,8 @@
12817
12832
  },
12818
12833
  "examples": [
12819
12834
  {
12820
- "description": "Basic Segmented usage",
12821
- "a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Card\",\n \"children\": [\n \"sec\"\n ]\n },\n {\n \"id\": \"sec\",\n \"component\": \"Section\",\n \"children\": [\n \"comp\"\n ]\n },\n {\n \"id\": \"comp\",\n \"component\": \"Segmented\",\n \"value\": \"\"\n }\n]",
12835
+ "description": "Segmented control with three segment-ui children for view switching.",
12836
+ "a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Card\",\n \"children\": [\n \"sec\"\n ]\n },\n {\n \"id\": \"sec\",\n \"component\": \"Section\",\n \"children\": [\n \"comp\"\n ]\n },\n {\n \"id\": \"comp\",\n \"component\": \"Segmented\",\n \"value\": \"daily\",\n \"children\": [\n \"s1\",\n \"s2\",\n \"s3\"\n ]\n },\n {\n \"id\": \"s1\",\n \"component\": \"Segment\",\n \"value\": \"daily\",\n \"text\": \"Daily\"\n },\n {\n \"id\": \"s2\",\n \"component\": \"Segment\",\n \"value\": \"weekly\",\n \"text\": \"Weekly\"\n },\n {\n \"id\": \"s3\",\n \"component\": \"Segment\",\n \"value\": \"monthly\",\n \"text\": \"Monthly\"\n }\n]",
12822
12837
  "name": "basic-segmented"
12823
12838
  }
12824
12839
  ],
@@ -12834,7 +12849,14 @@
12834
12849
  ],
12835
12850
  "name": "UISegmented",
12836
12851
  "related": [],
12837
- "slots": {},
12852
+ "slots": {
12853
+ "default": {
12854
+ "description": "Child segment-ui elements that form the toggle group. Children MUST be segment-ui — bare segment tags render text but are silently ignored for the sliding indicator and role/aria-checked state."
12855
+ },
12856
+ "indicator": {
12857
+ "description": "Auto-created sliding indicator element prepended on first render."
12858
+ }
12859
+ },
12838
12860
  "states": [
12839
12861
  {
12840
12862
  "description": "Default, ready for interaction.",
@@ -16155,9 +16177,24 @@
16155
16177
  }
16156
16178
  ],
16157
16179
  "properties": {
16180
+ "required": {
16181
+ "description": "Marks the field as required for form validation. Sets aria-required. Inherited from UIFormElement.",
16182
+ "type": "boolean",
16183
+ "default": false
16184
+ },
16158
16185
  "component": {
16159
16186
  "const": "Textarea"
16160
16187
  },
16188
+ "disabled": {
16189
+ "description": "Disables interaction, removes contenteditable, and dims the control. Inherited from UIFormElement.",
16190
+ "type": "boolean",
16191
+ "default": false
16192
+ },
16193
+ "error": {
16194
+ "description": "Validation error message. Set by constraint validation or manually via setInvalid(). Inherited from UIFormElement.",
16195
+ "type": "string",
16196
+ "default": ""
16197
+ },
16161
16198
  "hint": {
16162
16199
  "description": "Help text displayed below the textarea. Hidden when error is set.",
16163
16200
  "type": "string",
@@ -16178,6 +16215,11 @@
16178
16215
  "type": "string",
16179
16216
  "default": ""
16180
16217
  },
16218
+ "readonly": {
16219
+ "description": "Prevents editing while keeping the surface focusable. Sets contenteditable=false. Inherited from UIFormElement.",
16220
+ "type": "boolean",
16221
+ "default": false
16222
+ },
16181
16223
  "resize": {
16182
16224
  "description": "Resize behavior of the textarea.",
16183
16225
  "type": "string",
@@ -16198,6 +16240,11 @@
16198
16240
  "description": "§220 (v0.5.9, FEEDBACK-14 §3). Trailing-debounce on the `input`\nevent in milliseconds. When > 0, value mutates immediately + the UI\nstays responsive, but `input` dispatch is collapsed so only the\nfinal value in the throttle window emits. Useful for expensive\n`input`-driven computation (autosave preview, server-side\nautocomplete, large-doc reflow). `change` fires unthrottled on blur\n/ Enter; any pending `input` flushes before `change` so consumers\nsee input→input→…→input→change ordering. Default 0 preserves\nsynchronous emission.",
16199
16241
  "type": "number",
16200
16242
  "default": 0
16243
+ },
16244
+ "value": {
16245
+ "description": "Current textarea value, synced with the contenteditable text surface. Inherited from UIFormElement.",
16246
+ "type": "string",
16247
+ "default": ""
16201
16248
  }
16202
16249
  },
16203
16250
  "required": [