Install
pip install chirp-ui==0.3.0
# or
uv add chirp-ui==0.3.0
With Chirp:
pip install "bengal-chirp[ui]"
What's New
- kida 0.4.0 adoption --- Native error boundaries (
{% try %}/{% fallback %}), list comprehensions, scoped slots (let:), and opt-in partial evaluator. Error boundaries added tosuspense_slot,oob_fragment,streaming_bubble,streaming_block, andsafe_region/fragment_island. - Elevated design layer --- Display type scale (
prose-6xl/prose-7xlup to 74px), gradient text variants, 5-layershadow-deeptoken,divider--dottedanddivider--fadepatterns,grain--dottexture, andsurface--corneredcorner-bracket accents. - Provide/consume expansion ---
surface/panelprovide_surface_variant,cardprovides_card_variant,accordionprovides_accordion_name,formgainsdensityparam,sidebar/navbargaincurrent_path. Full key registry indocs/PROVIDE-CONSUME-KEYS.md. - ASCII component maturity --- 3 new composites (
ascii_card,ascii_tabs,ascii_modal), 152 render tests for all 27 ASCII components, a11y improvements. - Streaming & SSE maturity --- Streaming state variants (
thinking,error), 3 provide/consume context keys, role-aware aria-labels, 45 new tests. - Behavior layer hardening --- Wire all 7 orphaned provide/consume keys to natural consumers with 30 contract tests. Error boundary with message display, retry button, and telemetry event.
- Island system documentation --- Architecture, foundation API, all 7 built-in primitives, fragment islands, event protocol, and custom primitive authoring guide.
- Test infrastructure --- 115 vitest JS tests, 33 new component render tests, 23 Playwright browser tests.
Fixes
- Color system gamma bug ---
_linear_to_srgbdivided instead of multiplied by 12.92. Widenedsanitize_colorto accept modern CSS. Added 80+ color pipeline tests. contrast_text()color formats --- Now handlesrgb(),hsl(), andoklch()instead of silently falling back to white.