This PR updates the implementation of the Font Awesome API to support the new sharp icon family. It also adds support for Statamic 4 and includes a bunch of improvements along with a minor breaking change.
What's new
Added support for Statamic 4 and dropped support for Statamic 3
Added support for new icon families
What's improved
Refactored fieldtype
Only load the Font Awesome script when the fieldtype is present
Show the same icon of different styles right after one another
Better icon for the fieldtype in the blueprint editor
Added the fieldtype to the media group in the blueprint editor
Use sections for the fieldtype config
Make config strings translatable
What's fixed
Fix edge case exception if the value of an icon was null
What's breaking
The keys of the icon styles have changed. If you've limited the icon styles in the fieldtype's config, you have to update the keys to the new format:
This PR updates the implementation of the Font Awesome API to support the new sharp icon family. It also adds support for Statamic 4 and includes a bunch of improvements along with a minor breaking change.
What's new
What's improved
What's fixed
null
What's breaking
The keys of the icon styles have changed. If you've limited the icon styles in the fieldtype's config, you have to update the keys to the new format: