Skip to content

Releases: petalframework/petal_components

v2.0.0

20 Sep 03:50
Compare
Choose a tag to compare

1.9.3

27 May 04:04
Compare
Choose a tag to compare
  • Rounds the width of the progress component to 2 decimal places

1.9.2

13 Feb 02:53
Compare
Choose a tag to compare
  • 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

1.9.1

01 Feb 19:26
Compare
Choose a tag to compare
  • Fix modal class
  • Removes scale classes on sm size and up for slideover

v1.9.0

27 Jan 23:12
Compare
Choose a tag to compare
  • <.vertical_menu> - add support for liveview JS (thanks to @mrdotb)
  • <.table> - now supports dynamic data and col slots

v1.8.0

15 Jan 11:03
Compare
Choose a tag to compare
  • 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

06 Nov 23:19
Compare
Choose a tag to compare
  • Fix form_field switch class bug [#275]
  • Vertical menu items no longer require an icon

v1.7.0

14 Oct 01:09
Compare
Choose a tag to compare
  • 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)

1.6.2

03 Oct 18:40
Compare
Choose a tag to compare
  • Default loading spinner to shrink-0 to enforce its size

1.6.1

02 Oct 19:25
Compare
Choose a tag to compare
  • Add pagination attribute allowing always shown prev and next buttons
  • Pagination support encoded path
  • icon-support-to-breadcrumb-link