What's new in 1.4.0
Features
- Dialog: now renders the native
<dialog>element — top-layer rendering, real backdrop, built-in focus trapping, Esc-to-close (#435, #343) - Generator:
ruby_ui:componentaccepts multiple components at once (#416) DropdownMenuItemcan render as adivviaas:(#427)TabsTriggercan render as an anchor viaas:(#425)
Bug fixes
- Accordion: closed content is now properly hidden instead of trapped at
height: 0, so form errors inside a closed item are reachable (#433, #168) - Avatar: lazy-loaded image no longer stays stuck on the fallback (#430, #415)
- Fix
/docs/dropdown_menu404 (#428, #429) - Gem linter: remove redundant
keyword_init: true(#426)
Documentation
- Form: documented Rails
form_withintegration with a minimal form and a real-world login example (#434, #134)
Dependencies
- esbuild 0.28.1, tailwindcss 4.3.1, selenium-webdriver 4.45.0, mcp 0.21.0, standard 1.55.0 (docs)
Full changelog: v1.3.0...v1.4.0