Releases: petalframework/petal_components
Releases · petalframework/petal_components
v1.1.5
- Fixed
class
attr not working in <.field>
for types "select", "checkbox_group", "radio_group" and "textarea"
- Fixed <.card_footer>
class
attr not working
v1.1.4
- For consistency, the group_layout attr on <.field> should be a string like the type
v1.1.3
- Ensure help_text div isn't in DOM when no help text is provided
v1.1.2
- Added help_text to <.field>
v1.1.1
- Renamed .error to .field_error
- Renamed .label to .field_label
v1.1.0
- New: <.field> component to replace <.form_field>. <.field> takes the new
%Phoenix.HTML.FormField{}
struct, which better optimizes forms for live views
- New: <.input> component - these represent inputs but styled with Petal Components. It differs from <.field> in that you don't get a label or error messages.
- New: <.label> component - just a label styled with Petal Components. These are used inside a <.field>.
- New: <.error> component - an error message for form fields. These are used inside a <.field>.
- Updated: <.tab> can now take a class attr
v1.0.8
- Fix checkbox group issue introduced in 1.0.7
v1.0.7
- Fixed checkbox group giving an empty string instead of a list when submitted
- Added transitions to the icon button tooltip
v1.0.6
- New: Add
separator_class
option to <.breadcrumb>
- New: Add
tooltip
option to <.icon_button>
v1.0.5
- New: <.rating> component
- Fixed: error was showing prematurely on forms