@fortawesome/angular-fontawesome
Advanced tools
Changelog
0.10.0 - 2021-11-03
Make sure to check upgrade instructions.
Changelog
0.8.0 - 2020-11-12
Changelog
0.6.0 - 2020-02-08
Make sure to check upgrade instructions.
FaConfig.fixedWidth
property to provide a default value for FaIcon.fixedWidth
and FaLayers.fixedWidth
properties.Changelog
0.6.0-alpha.0 - 2019-11-11
Make sure to check upgrade instructions.
FontAwesomeTestingModule
to simplify testing components using icon library.FaConfig.fallbackIcon
which allows to specify a fallback icon to use when FaIconComponent.icon
is not set or specified icon definition is missing from the icon library.ng-add
schematic to simplify initial library setup.LICENSE
file into the published package.FaConfig.globalLibrary
default value has been changed to false
. fa-icon
/fa-duotone-icon
won't look for icon definitions in the global icon library by default. See upgrade instructions for the previous release for more details about this change.FaIconComponent.icon
is not set or specified icon definition is missing in the icon library was changed into a hard error to make it more clear and visible (in particular in the unit tests).FaIconComponent.iconProp
was removed. Use FaIconComponent.icon
instead.FaIconComponent.listItem
was removed. Use FaIconComponent.fixedWidth
+ custom CSS to render icons as list markers.FaIconService
was removed. Use FaConfig
instead.Changelog
0.5.0 - 2019-08-12
Make sure to check upgrade instructions.
Added fa-stack
component to stack two icons together:
<fa-stack>
<fa-icon [icon]="faCircle" stackItemSize="2x"></fa-icon>
<fa-icon [icon]="faFlag" [inverse]="true" stackItemSize="1x"></fa-icon>
</fa-stack>
Added fa-duotone-icon
component to work with duotone icons:
<fa-duotone-icon [icon]="['fad', 'coffee']" primaryColor="red" secondaryColor="blue"></fa-duotone-icon>
Added an official method to update FaIconComponent
and FaDuotoneIconComponent
programmatically.
Added FaIconLibray
class to replace deprecated global icon library from @fortawesome/fontawesome-svg-core
package.
Added a11yRole
input for fa-icon
and fa-duotone-icon
components to support customizing role
attribute of the rendered SVG icon.
Added FaConfig
class to globally configure angular-fontawesome
.
Added a table in README.md to document compatibility with major Angular versions.
Added instructions on how to install library with NPM.
FaIconComponent.icon
property. It used to have type Icon
- rendered icon object and is now changed into component input to specify icon definition with type IconProp
.FaIconComponent.iconProp
is deprecated. Use FaIconComponent.icon
instead.FaIconComponent.icon
is not set or specified icon definition is missing in the icon library is deprecated. It will throw a hard error in the next version.FaIconComponent.listItem
is deprecated. Use FaIconComponent.fixedWidth
+ custom CSS to render icons as list markers.FaIconService
is deprecated in favour of FaConfig
.