Skip to content

Releases: petalframework/petal_components

v1.2.9

01 Jun 02:36
Compare
Choose a tag to compare
  • Updated: add empty_message attr to <.field> (<.field type="checkbox-group|radio_group" empty_message="No options">)
  • Fixed: <.field type="switch"> not providing a false value when unchecked

v1.2.7

27 May 03:35
Compare
Choose a tag to compare
  • Fixed radio-group value not being checked for integers

v1.2.6

26 May 01:46
Compare
Choose a tag to compare
  • Fix radio-group checked options for <.field>
  • Fix select selected options

v1.2.5

20 May 00:36
Compare
Choose a tag to compare
  • Fix: <.field type="textarea" rows="1"> - rows for textarea are now overridable

v1.2.4

17 May 04:39
Compare
Choose a tag to compare
  • Fixed button with icon (reverted tooltip)

v1.2.3

17 May 03:54
Compare
Choose a tag to compare
  • Updated: Move custom css classes to last so they can potentially override default ones (button, loading)
  • Added: tooltip option to <.button>

v1.2.2

17 May 02:36
Compare
Choose a tag to compare
  • Updated: checkbox_group now supports disabled_options attr

v1.2.1

16 May 02:57
Compare
Choose a tag to compare
  • Fixed transitions on modal
  • Updated <.field> to take a label_class attr

v1.2.0

12 May 01:39
Compare
Choose a tag to compare
  • Breaking change: <.field type="checkbox_group"> is now <.field type="checkbox-group"> (to match datetime-local)
  • Breaking change: <.field type="radio_group"> is now <.field type="radio-group"> (to match datetime-local)
  • Fixed: radio group state
  • Fixed: textarea height
  • Fixed: CSS now conforms to tailwind config colors (eg. changing danger in tailwind config will now change the color of the danger button/alert/etc.)
  • Fixed error CSS on textarea/select/switch

v1.1.6

11 May 09:53
Compare
Choose a tag to compare
  • Fix <.field> checkbox_group not keeping state
  • Changed <.field> textarea to be the same size as v1 form_field version