@adia-ai/a2ui-runtime 0.6.40 → 0.6.42

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog — @adia-ai/a2ui-runtime
2
2
 
3
+ ## [0.6.42] — 2026-05-26
4
+
5
+ ### Changed — `registry.js` + `renderer.js` polish absorbing gen-review findings
6
+
7
+ - **`registry.js`** + **`renderer.js`** — adjustments absorbing gen-review cycle 8-17 findings. Companion to the corpus-side changes that grew the chunk count 240 → 284 (+44 new training chunks).
8
+
9
+ ## [0.6.41] — 2026-05-26
10
+
11
+ ### Maintenance
12
+
13
+ - **Lockstep version bump only — pure ride-along.** No source changes in any of the 9 packages this cycle. Substantive v0.6.41 work is REPO-LEVEL: adia-ui-release skill v1.8.0 → v1.9.0 (catalog-drift recurring graduation — §Step 5.5 pre-commit trip-wire + supersedes-WT contract + §Step 5 allowlist convention; closes FEEDBACK-75). Version bump preserves 9-package lockstep coherence; published tarballs identical to v0.6.40 modulo version metadata.
14
+
3
15
  ## [0.6.40] — 2026-05-26
4
16
 
5
17
  ### Maintenance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-runtime",
3
- "version": "0.6.40",
3
+ "version": "0.6.42",
4
4
  "description": "A2UI runtime \u2014 renderer, registry, streams, surface manifest, and wiring primitives for the A2UI (Agent-to-UI) protocol. Framework-agnostic; pairs with any A2UI-conformant component set.",
5
5
  "type": "module",
6
6
  "exports": {
package/registry.js CHANGED
@@ -32,7 +32,18 @@ export const registry = new Map([
32
32
  ['Avatar', 'avatar-ui'],
33
33
  ['AvatarGroup', 'avatar-group-ui'],
34
34
  ['Progress', 'progress-ui'],
35
+ ['ProgressRow', 'progress-row-ui'],
36
+ ['DateRangePicker', 'date-range-picker-ui'],
37
+ ['DatetimePicker', 'datetime-picker-ui'],
38
+ ['CalendarGrid', 'calendar-grid-ui'],
39
+ ['CalendarPicker', 'calendar-picker-ui'],
40
+ ['Combobox', 'combobox-ui'],
35
41
  ['Skeleton', 'skeleton-ui'],
42
+ ['Stepper', 'stepper-ui'],
43
+ ['StepperItem', 'stepper-item-ui'],
44
+ ['Tour', 'tour-ui'],
45
+ ['TourStep', 'tour-step-ui'],
46
+ ['IntegrationCard', 'integration-card-ui'],
36
47
  ['Code', 'code-ui'],
37
48
  ['Stat', 'stat-ui'],
38
49
  ['EmptyState', 'empty-state-ui'],
@@ -90,6 +101,7 @@ export const registry = new Map([
90
101
  // Agent / Specialized
91
102
  ['Stream', 'stream-ui'],
92
103
  ['Table', 'table-ui'],
104
+ ['ColDef', 'col-def'], // declarative column definition child of table-ui
93
105
  ['Chart', 'chart-ui'],
94
106
  ['Embed', 'embed-ui'],
95
107
  ['Swiper', 'swiper-ui'],
package/renderer.js CHANGED
@@ -416,7 +416,14 @@ export class A2UIRenderer {
416
416
  el.setAttribute('text', String(resolved));
417
417
  continue;
418
418
  }
419
- el[key] = resolved;
419
+ // JSON string → native type: corpus templates encode data/columns as
420
+ // JSON strings (e.g. data='[{...}]'). Components that set these as
421
+ // JS properties (chart-ui, table-ui) expect arrays, not strings.
422
+ let v = resolved;
423
+ if (typeof v === 'string' && (v.startsWith('[') || v.startsWith('{'))) {
424
+ try { v = JSON.parse(v); } catch { /* keep as string on parse failure */ }
425
+ }
426
+ el[key] = v;
420
427
  continue;
421
428
  }
422
429