Files
hyperframes/packages
Miguel ÁngelandClaude Opus 4.6 3a0a0a2390 feat(core): add {{key:default}} syntax for standalone composition rendering
Extend mustache interpolation to support inline defaults: {{key:fallback}}.
When a composition is rendered standalone (no parent data-props), defaults
are used so CSS stays valid, text renders, and lint/preview/render all work.

- Updated regex to capture optional :default group
- All three interpolation functions (HTML, CSS, script) support defaults
- interpolateProps/interpolateCssProps/interpolateScriptProps accept
  optional null values (standalone mode)
- 21 new tests for default behavior, 465/465 total passing
- Updated skill docs, patterns, and CLI docs with {{key:default}} examples

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 18:44:53 +02:00
..
2026-04-03 04:36:19 +00:00
2026-04-03 04:36:19 +00:00