chirp-ui 0.1.4

Release 0.1.4

Install

pip install chirp-ui==0.1.4
# or
uv add chirp-ui==0.1.4

With Chirp:

pip install "bengal-chirp[ui]"

What's New

  • fragment_island_with_result — Macro that renders a co-located mutation result div at the top of the island. Use when forms inside HTMX-loaded content target a result div; guarantees target and form are in the same DOM subtree.
  • resource_index mutation_result_id — Optional param to render a mutation result div at the start of the results block. Ensures target is co-located with HTMX-loaded content that contains mutating forms.
  • Anti-footgun docs — DND-FRAGMENT-ISLAND.md: "Target must be co-located with form" guidance. COMPONENT-OPTIONS.md: mutation targets note for resource_index.