Skip to content

Releases: petalframework/petal_components

v1.1.5

11 May 09:53
Compare
Choose a tag to compare
  • 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

11 May 10:26
Compare
Choose a tag to compare
  • For consistency, the group_layout attr on <.field> should be a string like the type

v1.1.3

11 May 10:26
Compare
Choose a tag to compare
  • Ensure help_text div isn't in DOM when no help text is provided

v1.1.2

11 May 10:26
Compare
Choose a tag to compare
  • Added help_text to <.field>

v1.1.1

11 May 10:25
Compare
Choose a tag to compare
  • Renamed .error to .field_error
  • Renamed .label to .field_label

v1.1.0

11 May 10:24
Compare
Choose a tag to compare
  • 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

11 May 10:24
Compare
Choose a tag to compare
  • Fix checkbox group issue introduced in 1.0.7

v1.0.7

11 May 10:23
Compare
Choose a tag to compare
  • Fixed checkbox group giving an empty string instead of a list when submitted
  • Added transitions to the icon button tooltip

v1.0.6

11 May 10:23
Compare
Choose a tag to compare
  • New: Add separator_class option to <.breadcrumb>
  • New: Add tooltip option to <.icon_button>

v1.0.5

11 May 10:23
Compare
Choose a tag to compare
  • New: <.rating> component
  • Fixed: error was showing prematurely on forms