-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from czeckd/update-to-ng18
Update to ng18
- Loading branch information
Showing
11 changed files
with
241 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Angular SVG Icon | ||
========= | ||
|
||
The **angular-svg-icon** is an Angular 17 service and component that provides a | ||
The **angular-svg-icon** is an Angular 18 service and component that provides a | ||
means to inline SVG files to allow for them to be easily styled by CSS and code. | ||
|
||
The service provides an icon registery that loads and caches a SVG indexed by | ||
|
@@ -18,7 +18,17 @@ This [demo](https://czeckd.github.io/angular-svg-icon/) shows this module in act | |
``` | ||
$ npm i angular-svg-icon --save | ||
``` | ||
|
||
## Versions | ||
|
||
The latest version of the package is for Angular 18. | ||
|
||
:grey_exclamation: **BREAKING CHANGE**: as of [email protected], the package was converted to use | ||
`inject` and `signal` from `@common/core` for improved performance. Thus method calls that are inputs | ||
should be avoided. Inputs are now signal inputs. | ||
|
||
**Note on earlier versions of Angular:** | ||
- For Angular 17, use [email protected] | ||
- For Angular 16, use [email protected] | ||
- For Angular 15, use [email protected] | ||
- For Angular 14, use [email protected] | ||
|
@@ -67,7 +77,7 @@ import { SvgIconComponent, provideAngularSvgIcon } from 'angular-svg-icon'; | |
export class AppModule {} | ||
``` | ||
|
||
**BREAKING CHANGE**: as of [email protected], an explicit call to `forRoot()` | ||
:grey_exclamation: **BREAKING CHANGE**: as of [email protected], an explicit call to `forRoot()` | ||
must be made on the module's import. | ||
|
||
### Child Modules | ||
|
@@ -323,5 +333,6 @@ MIT | |
|
||
|
||
## Author | ||
- David Czeck [@czeckd](https://github.com/czeckd) | ||
- David Czeck [@czeckd](https://github.com/czeckd) and | ||
[community contributors](https://github.com/czeckd/angular-svg-icon/graphs/contributors). Thank you! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.