Petal Components Versions Save

Phoenix + Live View HEEX Components

v1.9.3

5 days ago
  • Rounds the width of the progress component to 2 decimal places

v1.9.2

3 months ago
  • Adds optional empty states for tables.
  • named slot :empty_state
  • always rendered at the top of the table into a cell that spans the whole width (the width is derived from the number of :col slots supplied)
  • the row that holds the cell has hidden only:table-row Tailwind classes so it's only visible if it's the only row
  • the slot takes row_class that is then forwarded to the cell
  • renders multiple cells if more than one :empty_state slot is given

v1.9.1

4 months ago
  • Fix modal class
  • Removes scale classes on sm size and up for slideover

v1.9.0

4 months ago
  • <.vertical_menu> - add support for liveview JS (thanks to @mrdotb)
  • <.table> - now supports dynamic data and col slots

v1.8.0

4 months ago
  • Updated deps
  • Use new PhoenixHTMLHelpers lib
  • Fix bug where the close_modal event gets sent twice to the LiveView if you push_patch from the close_modal handle_event in the LiveView - thanks @axelclark

v1.7.1

6 months ago
  • Fix form_field switch class bug [#275]
  • Vertical menu items no longer require an icon

v1.7.0

7 months ago
  • Added close_on_click_away to <.slide_over> (thx @samuelpordeus)
  • Added close_on_escape to <.slide_over> (thx @samuelpordeus)
  • Added fade in transition to <.slide_over>
  • Cleaned up classes in codebase (deprecated build_class)

v1.6.2

7 months ago
  • Default loading spinner to shrink-0 to enforce its size

v1.6.1

7 months ago
  • Add pagination attribute allowing always shown prev and next buttons
  • Pagination support encoded path
  • icon-support-to-breadcrumb-link

v1.6.0

8 months ago
  • Fix: <.button disabled> where link_type not "button" now shows proper cursor and isn't clickable
  • Fix: <.a> now uses <.link> underneath to avoid warnings with live_view 0.20.0
  • Update: live_view bumped to 0.20.0