Skip to content

Releases: petalframework/petal_components

v0.19.4

29 Dec 00:12
Compare
Choose a tag to compare
  • New <.icon> functional component that renders a dynamic Heroicon (v2)
  • Added label_class attr to all form inputs so you can change the look of labels
  • Fixed "checked" attr for checkbox_group use with form_field

v0.19.3

29 Dec 00:12
Compare
Choose a tag to compare
  • Added: help text for form fields
  • Enhancement: <.td> can now accept colspan and rowspan attributes
  • Enhancement: Added some optional textarea attributes: cols, rows and wrap
  • Fixed: checkbox_group "checked" attr wasn't getting passed through
  • Fixed: checkbox label wasn't working when no label attr was passed

v0.19.2

29 Dec 00:12
Compare
Choose a tag to compare
  • Enhancement: Dropdowns are more customisable with classes
  • Chore: Cleaned up form field attrs
  • Fix: Changed the heading attr :no_margin to be a :boolean

v0.19.1

14 Dec 01:01
Compare
Choose a tag to compare
  • Fixed form_field class attribute - it wasn't getting appended to the input classes properly

v0.19.0

14 Dec 01:01
Compare
Choose a tag to compare
  • Added declarative assigns for all components
  • Fix default green button having the wrong background

v0.18.4

06 Oct 01:44
Compare
Choose a tag to compare
  • Fixed compilation errors in accordion

v0.17.0

02 Jul 23:01
Compare
Choose a tag to compare
  • New components: <.prose>, <.ul>, <.ol>
  • Modals fade in (extra CSS required)
  • Improve readability of card content in dark mode
  • Extra assigns on <.p> are forwarded to the p tag
  • Fix extra_assigns in headings
  • Fix dropdown button not closing when clicked