Skip to content

Releases: Lattyware/elm-fontawesome

7.2.0: FontAwesome 6.7.0

19 Nov 23:03
Compare
Choose a tag to compare

Changed:

  • Update to FontAwesome 6.7.0

7.1.2: Explicitly specify FontAwesome 6.5.2.

01 Jun 17:48
Compare
Choose a tag to compare
  • Changed:
    • Explicitly specify FontAwesome 6.5.2.
    • Another attempt at fixing example build again.

7.1.1: Try to fix example build.

01 Jun 17:48
Compare
Choose a tag to compare
  • Changed:
    • Hopefully fixed example build, shouldn't actually change the library.

7.1.0: Tighten core dependency.

01 Jun 17:19
Compare
Choose a tag to compare
  • Changed:
    • Breaking Tighten required version of core to try and fix issues.
    • Modernise build process.

7.0.0: FontAwesome 6.5.1

09 Feb 15:36
Compare
Choose a tag to compare
  • Changed:
    • Upgraded FontAwesome version.

6.0.0: FontAwesome 6.1.1

25 May 19:29
Compare
Choose a tag to compare
  • Changed:

    • Breaking Generated API changes:
      • FontAwesome.Icon has moved to FontAwesome.
      • Icon has become IconDef and Presentation has become Icon.
      • Icons are now exposed as presentations primarily. Definitions can be found one level deeper, as they are rarely needed.
      • Old convenience methods for working with definitions are gone.
      • Icon (formerly Presentation) no longer has a msg type. This means styled can no longer accept attributes that can produce messages, these can be added with viewWithAttributes instead, where needed.
      • All transforms now apply to the current state of the icon, e.g: flipping twice now gives you the original state.
      • Svg.view has replaced Svg.viewIcon with support for a much wider range of the functionality of Icon.view.
      • Matching the API of FontAwesome, Styles.pulse has been renamed to Styles.spinPulse.
      • Icon.masked now use the id of the background element rather than the mask, swapping which element needs an id. If now also takes a whole Icon (formerly Presentation), allowing the background element being masked to have other operations performed on it.
  • Known Issues:

    • FontAwesome has continued to use custom properties to control style aspects. As Elm's support for these is broken, these are not exposed. We recommend using the Transforms API instead for now, where possible.
      One work-around is to use style attributes directly:
      Html.attribute "style" "--fa-bounce-start-scale-x: 1;"
      Because this breaks when combined, we don't provide functions for this.