All Versions
72
Latest Version
Avg Release Cycle
67 days
Latest Release
24 days ago

Changelog History
Page 1

  • v3.2.2 Changes

    May 15, 2026

    ๐Ÿ› Bug fixes

    • Menu submenu keyboard focus - when a menu toggle is activated with Space or Enter, focus now moves to the first link inside the expanded submenu instead of staying on the toggle button. Matches the WAI-ARIA disclosure menu pattern. Applies to both Alpine.js and Phoenix.LiveView.JS variants.
    • Time input icon overlap on Firefox (#377) - Firefox's native time picker icon was overlapping the AM/PM text in <.field type="time">. Time inputs now get extra right padding under Firefox to make room for the native picker indicator.
    • White button dark mode focus contrast (#315) - the white, white-shadow, and pure-white button variants had no visible focus state in dark mode. Focus now shifts the background to gray-200, matching the dark hover state.

    Closes #377, #315.

  • v3.2.1 Changes

    May 15, 2026

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed disabled checkbox, switch, and checkbox-group fields still submitting a value via their hidden companion input (#483).

    ๐Ÿ›ฐ Native HTML form behavior excludes disabled fields from submission. Previously the hidden companion <input type="hidden"> used to default unchecked checkboxes to "false" was always rendered, so disabled fields still showed up in the form payload. It is now omitted when disabled is set.

    Closes #483.

  • v3.2.0 Changes

    April 04, 2026

    Composable JS Hooks (#239)

    Components now accept Phoenix.LiveView.JS struct attrs so you can compose additional actions alongside built-in component behavior:

    \<.dropdownon\_close={JS.push("dropdown\_closed")}/\><.modalon\_open={JS.push("modal\_opened")}/\><.alerton\_dismiss={JS.push("alert\_dismissed")}color="info"label="Dismissable!"/\>
    

    ๐Ÿ†• New attrs

    Component Attrs
    Modal on_open
    Slide Over on_open, on_close
    Dropdown on_close (LiveView.JS only)
    Accordion on_toggle (LiveView.JS only)
    Menu on_toggle (LiveView.JS only)
    Alert on_dismiss (with built-in hide behavior)
    Tabs on_change
    • โž• Added compose_js/2 helper to PetalComponents.Helpers for combining JS structs
  • v3.1.0 Changes

    April 04, 2026
    • โž• Added smooth transitions and easing to interactive components (buttons, tabs, accordion, dropdown, table rows, pagination, menu items, checkboxes, file inputs, alert dismiss)
    • โž• Added focus-visible ring to buttons for keyboard accessibility
    • โž• Added active press scale feedback on buttons
    • ๐Ÿ›  Fixed dropdown not working with Alpine.js 3.13.6+ (#379) โ€” removed conflicting @click.outside on button, added initial display: none style for proper x-show initialization
    • Fixed accordion state being wiped on LiveView DOM patches (#381, #323) โ€” added phx-update="ignore" to LV.JS accordion container, rewrote Alpine accordion to use direct active state instead of nested getter/setter pattern that broke with Alpine 3.13+
    • โž• Added multiple attribute to accordion for expanding multiple sections simultaneously (#38) โ€” works with both Alpine.js and LiveView.JS
    • ๐Ÿ›  Fixed pagination prev/next arrows not wrapped in <li> elements (#391) โ€” invalid HTML per spec
    • Fixed multiple select field errors not showing when no option is selected (#439) โ€” added hidden input to ensure used_input? returns true
    • Added copy_icon and copied_icon attributes to copyable field (#474) โ€” allows custom icon names instead of hardcoded clipboard icons
  • v3.0.2 Changes

    March 21, 2026
    • ๐Ÿ›  fix(container): scope mobile padding to small screens only โ€” pc-container--mobile-padded was overriding responsive sm:px-6/lg:px-8 rules due to Tailwind v4 cascade ordering
  • v3.0.1 Changes

    March 27, 2025

    What's Changed

    Full Changelog : v3.0.0...v3.0.1

  • v3.0.0 Changes

    March 16, 2025
    • ๐Ÿš€ Release for Tailwind 4

    ๐Ÿš€ Tailwind 4 introduces breaking changes - the 2.9.x releases have been deprecated in favour of v3.0.0

  • v2.9.3 Changes

    April 12, 2025

    โฌ†๏ธ ๐Ÿšจ Versions 2.9.0 to 2.9.2 introduced breaking changes with Tailwind 4 and have been deprecated. Please upgrade to 2.9.3, which is compatible with ~> 2.8

  • v2.9.2 Changes

    March 14, 2025

    What's Changed

    Full Changelog : v2.9.1...v2.9.2

  • v2.9.1 Changes

    March 14, 2025

    What's Changed

    • โฌ†๏ธ Tailwind instructions for upgrade guide and README by @mitkins in #416
    • โž• Address CSS anomolies after Tailwind 4 upgrade by @mitkins in #417

    Full Changelog : v2.9.0...v2.9.1