@adia-ai/gen-ui 0.8.48 → 0.8.51

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 (41) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/compose/transpiler/transpiler-maps.js +21 -0
  3. package/corpus/chunk-embeddings.json +1 -1
  4. package/corpus/chunks/_index.json +65 -4
  5. package/corpus/chunks/_source-hashes.json +14 -13
  6. package/corpus/chunks/auth-account-deleted.json +3 -2
  7. package/corpus/chunks/auth-email-verify.json +3 -2
  8. package/corpus/chunks/auth-forbidden.json +3 -2
  9. package/corpus/chunks/auth-link-expired.json +3 -2
  10. package/corpus/chunks/auth-locked-account.json +3 -2
  11. package/corpus/chunks/auth-mfa-enrollment.json +3 -2
  12. package/corpus/chunks/auth-new-password.json +3 -2
  13. package/corpus/chunks/auth-password-reset.json +3 -2
  14. package/corpus/chunks/auth-profile-setup.json +3 -2
  15. package/corpus/chunks/auth-reset-sent.json +3 -2
  16. package/corpus/chunks/auth-session-expired.json +3 -2
  17. package/corpus/chunks/auth-signin-card-email.json +3 -2
  18. package/corpus/chunks/auth-signin-card-mfa.json +3 -2
  19. package/corpus/chunks/auth-signin-card-otp.json +3 -2
  20. package/corpus/chunks/auth-signin-card-password.json +3 -2
  21. package/corpus/chunks/auth-signin-card-recovery.json +3 -2
  22. package/corpus/chunks/auth-signout.json +3 -2
  23. package/corpus/chunks/auth-signup-entry.json +3 -2
  24. package/corpus/chunks/auth-signup-verify.json +3 -2
  25. package/corpus/chunks/auth-sso-required.json +3 -2
  26. package/corpus/chunks/auth-team-invite.json +3 -2
  27. package/corpus/chunks/card-with-sparkline.json +2 -1
  28. package/corpus/chunks/chat-streaming-surface.json +2 -1
  29. package/corpus/chunks/choice-card-onboarding.json +64 -0
  30. package/corpus/chunks/destructive-confirm-modal.json +2 -1
  31. package/corpus/chunks/error-404.json +3 -2
  32. package/corpus/chunks/error-500.json +3 -2
  33. package/corpus/chunks/error-maintenance.json +3 -2
  34. package/corpus/chunks/import-mapping-flow.json +2 -1
  35. package/corpus/chunks/table-toolbar-adiav2-row.json +2 -3
  36. package/corpus/chunks/table-toolbar-chrome-only-empty.json +2 -3
  37. package/corpus/chunks/table-toolbar-summary-slot.json +200 -0
  38. package/corpus/chunks/table-toolbar-title-always.json +2 -3
  39. package/corpus/chunks/usage-quota-meter-card.json +3 -1
  40. package/corpus/manifest.json +4 -4
  41. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog — @adia-ai/gen-ui
2
2
 
3
+ ## [0.8.51] — 2026-08-24
4
+
5
+ ### Maintenance
6
+ - **Lockstep version bump only.** No source changes in this package; bumped to maintain the lockstep version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.8.51 work shipped in table-toolbar-ui[size] removal (gh#1964) + Hermes/Pi manifests (gh#1954). See `packages/web-components/CHANGELOG.md#0851--2026-08-24` for details.
7
+ - **`compose/` touched in this release window** (1 file(s), e.g. `transpiler/transpiler-maps.js`) — carried by the entries above.
8
+
9
+ ### Fixed
10
+ - **`transpiler-maps.js` stat prop-table cell swap, missing `--stat-change-*` tokens, style-attr mapping gap (gh#1929, PR #1944).** Landed after v0.8.50; rides this cut.
11
+
12
+ ### Changed
13
+ - **`corpus/` re-harvest for the release window** — choice-card onboarding chunk added (gh#1936), table-toolbar chunk set refreshed for the `[size]` removal (gh#1964); `chunks/_index.json`, `_source-hashes.json`, `manifest.json` regenerated. `tier-index.json`-driven re-harvest also folded in (no chunk content change, source hash only).
14
+
15
+ ## [0.8.50] — 2026-08-23
16
+
17
+ ### Maintenance
18
+ - **Lockstep bump riding the v0.8.50 cut** (`scripts/release/check-lockstep.mjs`); the headline v0.8.50 work ships in @adia-ai/web-components (prose/verse sheet removal gh#1885 / PR #1918, input/search fill-default posture gh#1856 — see `packages/web-components/CHANGELOG.md#0850--2026-08-23`). Package-local changes are listed below.
19
+
20
+ ### Changed
21
+ - **`corpus/` re-harvest for the release window** — table-toolbar chunk set refreshed (`table-toolbar-adiav2-row`, `-chrome-only-empty`, `-summary-slot`, `-title-always`) from the updated examples; `chunks/_index.json`, `_source-hashes.json`, `manifest.json`, and `chunk-embeddings.json` regenerated.
22
+
3
23
  ## [0.8.48] — 2026-08-23
4
24
 
5
25
  ### Note
@@ -450,6 +450,27 @@ export function extractProps(el, a2uiType) {
450
450
  const densityAttr = attr('density');
451
451
  if (densityAttr) props.density = densityAttr;
452
452
 
453
+ // Universal: preserve [style] CSS-custom-property overrides (gh#1929).
454
+ // Demos legitimately per-instance-override a component's documented
455
+ // --token (e.g. `<stat-ui style="--stat-chart-band-height: 6rem">`), and
456
+ // the runtime already has a channel for it — prop-apply.js maps a string
457
+ // `style` prop straight to `el.style.cssText`. The transpiler had no path
458
+ // to it at all, so any such override silently vanished in the converted
459
+ // artifact and the rendered preview fell back to the component's default.
460
+ // Only forward custom-property declarations (`--foo: ...`): a `display`/
461
+ // `flex`/`grid-template` layout hack still belongs to noInlineLayout's
462
+ // anti-pattern check (it scans the raw HTML directly, not this extracted
463
+ // prop, so scope here doesn't weaken that gate) — restricting to `--*`
464
+ // just keeps this channel to its one legitimate use, a token override.
465
+ const styleAttr = attr('style');
466
+ if (styleAttr) {
467
+ const customProps = styleAttr
468
+ .split(';')
469
+ .map(decl => decl.trim())
470
+ .filter(decl => /^--[\w-]+\s*:/.test(decl));
471
+ if (customProps.length) props.style = customProps.join('; ');
472
+ }
473
+
453
474
  // §163 (v0.5.4) — Catalog-driven generic extraction FIRST. Fills in
454
475
  // every prop the v0.9 catalog declares for this type (label, icon,
455
476
  // variant=, etc.). Legacy per-type blocks below run AFTER and can