Releases: petalframework/petal_components
Releases · petalframework/petal_components
v1.2.9
- 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
- Fixed radio-group value not being checked for integers
v1.2.6
- Fix radio-group checked options for <.field>
- Fix select selected options
v1.2.5
- Fix: <.field type="textarea" rows="1"> - rows for textarea are now overridable
v1.2.4
- Fixed button with icon (reverted tooltip)
v1.2.3
- Updated: Move custom css classes to last so they can potentially override default ones (button, loading)
- Added:
tooltip
option to <.button>
v1.2.2
- Updated: checkbox_group now supports
disabled_options
attr
v1.2.1
- Fixed transitions on modal
- Updated
<.field>
to take a label_class
attr
v1.2.0
- 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
- Fix <.field> checkbox_group not keeping state
- Changed <.field> textarea to be the same size as v1 form_field version