Commit Graph

30 Commits

Author SHA1 Message Date
Pankaj Parkar bd0a3cdb92
Convert to use signal input and output (#464)
This update will make the components use the latest signal inputs, outputs, computed, effect.
Library code will be following the reactive style.

Changes include
- Convert `@Input` to `input` signal
- Convert `@Ouput` to `output` signal
- Use `setInput` on component instance
- Replaced `ngOnChanges`, with `computed` / `efffect`
- Used `ChangeDetectionStrategy.OnPush` strategy
- Updates affected tests to use signal
- Update tests with signal -
2025-03-18 11:11:35 +01:00
Yaroslav Admin 5de193183c Add support for "fa-rotate-by"
Fixes #454
2024-11-20 23:44:36 +01:00
Yaroslav Admin 7fe2a582f2 Add new icon packages to the ng add schematic
Fixes #457
2024-11-20 23:04:53 +01:00
jason 81831fca31 update docs for duotone and sharp duotone 2024-11-20 22:53:07 +01:00
Yaroslav Admin 1177547e9b Remove unnecessary standalone: true property 2024-11-20 22:29:44 +01:00
Yaroslav Admin 50cba302bb Add missing imports to the documentation
Fixes #451
2024-09-11 20:14:56 +02:00
Yaroslav Admin 8e42dad8f2 Document how to use custom icons
Fixes #172
2024-04-20 18:53:31 +02:00
Yaroslav Admin 0fe2f8ba3e Document how to correctly use fa-stack in standalone components
Angular is unable to detect missing directives (https://github.com/angular/angular/issues/20588) and it looks like there is no way to import the directive automatically whenever `FaStackComponent` is imported.

Closes #433
2024-04-14 12:23:15 +02:00
Yaroslav Admin 56328c9079 Fix usage documentation for rotate property
Fixes #431
2024-03-30 09:37:51 +01:00
Yaroslav Admin f1d9ce3410 Remove deprecated `spin` and `pulse` inputs 2024-03-16 16:54:48 +01:00
Rob Madole dd4690ae62
Document support for new NPM Kits (#422) 2024-02-08 15:33:11 -06:00
Yaroslav Admin c3d810ffd8 Migrate all components to standalone
Documentation is also updated to present standalone usage as this is the default for new projects in Angular 17.

Fixes #400
2023-11-08 21:43:19 +01:00
Yaroslav Admin a63db9228f Add support for all Font Awesome 6 animations
See https://fontawesome.com/docs/web/style/animate

Fixes #393
2023-01-09 21:14:59 +01:00
Yaroslav Admin 0ce63b803a Add support for the new Sharp Solid icons
Add option to the ng-add schematic and information about it to documentation.
2022-11-12 22:05:41 +01:00
Yaroslav Admin 2da0dce9d3 Deprecate `classes` and `styles` inputs in all components
Fixes #373
2022-11-12 20:45:01 +01:00
Yaroslav Admin 495d633661 Update documentation on how to create the icon programmatically
`ComponentFactoryResolver` is deprecated since Angular 13.

Fixes #379
2022-11-12 11:24:55 +01:00
Yaroslav Admin 6d65f9cc00 Add a note about Pro registry access to the README
As some people seem to have troubles finding this information.

Fixes #360
2022-04-20 20:28:55 +02:00
Yaroslav Admin 326b4740f0 Improve approaches documentation
- Better describe pros and cons of different approaches.
- Explicitly mention that FontAwesomeModule needs to be imported in all modules and explain why as people seem to have troubles realizing this.
- Other smaller fixes and clarifications.
2021-07-21 14:55:15 +02:00
Peter Blazejewicz e683beda41 feat(fixed-width): support for global configuration
This adds support for `fixedWidth` property being applied globally to
the `icon` and `layers` components.

Closes #216
2020-01-24 20:00:19 +01:00
Yaroslav Admin f10c749c94 Remove obsolete file 2019-11-10 22:29:34 +01:00
Yaroslav Admin e7173728b1 Refer user to the usage guide instead of inline documentation
Existing examples were outdated and it should be easier in the future
to keep them up to date if there are less places repeating the same
information.

Fixes #186
2019-11-10 18:41:54 +01:00
ej2 27becf1dbd Removed pro-brands-svg-icons from using-other-styles.md 2019-10-16 17:03:46 +02:00
James Hyde 9af21f202b Adding note to Stacked icon feature about the requirement of the stackedItemSize parameter. 2019-09-10 16:16:38 +02:00
Yaroslav Admin 3d248461b3 Introduced `FaIconLibrary` managed by Angular
Usage:

```
export class AppModule {
  constructor(library: FaIconLibrary) {
    library.addIcons(faCoffee);
  }
}
```

Using DI instead of the syntax discussed in the issue
(`FontAwesomeModule.withIcons(faUser)`) as this is more flexible and
future proof given that future version of Angular renderer (Ivy) is
going make usage of modules optional.

---

Deprecated using library from `@fortawesome/fontawesome-svg-core` in
favor of the new class. Previous library was problematic in several
ways:

- global variable, which was shared by all code on the page
- more complicated for consumers as they need to know about existence of
`fontawesome-svg-core` and that it is used by `angular-fontawesome`
- library from `fontawesome-svg-core` implementation was pretty complex

This deprecation is the first step on the way to make
`fontawesome-svg-core` an implementation detail of
`angular-fontawesome`, which consumers don't need to be aware about.

Fixes #3
2019-08-12 00:01:35 +02:00
Yaroslav Admin 1ee0f6ae23 Introduced FaConfig and deprecated FaIconService
To provide a better name and in preparation to introduce more
configuration options.
2019-08-12 00:01:35 +02:00
Yaroslav Admin 3d45099070 Added support for creating/updating icon dynamically
Fixes #153
2019-08-09 11:37:06 +02:00
Yaroslav Admin bf956419ec Added component for working with Duotone icons 2019-08-08 14:43:04 +02:00
Yaroslav Admin ecfa4f10c1 Fixed comments, added examples and documentation 2019-08-08 13:15:23 +02:00
Yaroslav Admin 9984a5a05c Fixed docs issues and further shortened README content
The goal is to make README more concise, so users can get started
quickly and then provide links to more content.
2019-08-07 19:45:27 +02:00
Damien Retzinger a18014bb7e feat(docs): move docs into docs folder and restructure them for better clarity 2019-08-07 19:45:27 +02:00