Skip to content

Commit c4fd587

Browse files
authored
chore(changelog): add entry related to icon service changes (#14556)
1 parent 534a3e5 commit c4fd587

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ All notable changes for each version of this project will be documented in this
1010
- Added `horizontalSummariesPosition` property to the `pivotUI`, configuring horizontal summaries position.
1111
- Keyboard navigation now can move in to row headers back and forth from any row dimension headers or column headers.
1212
- Added keyboard interactions for row dimension collapse using `Alt + Arrows` and row headers sorting using `Ctrl + Arrow Up/Down`.
13+
- `IgxIcon`, `IgxIconService`
14+
- You can now register icons by reference via the `IgxIconService`. To learn more check out the [documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/icon-service).
15+
- All components now use icons by reference internally so that it's easy to replace them without explicitly providing custom templates.
16+
- `registerFamilyAlias` has been deprecated in favor of `setFamily` to allow adding metadata for `type` and `prefix` when registering custom icon families. To migrate from `registerFamilyAlias`, do the following:
17+
```ts
18+
this.iconService.registerFamilyAlias('my-family', 'my-family-class');
19+
this.iconService.setFamily('my-family', { className: 'my-family-class' });
20+
```
1321

1422
### General
1523
- `ColumnType`, `IgxColumn`, `IgxColumnGroup`, `IgxColumnLayout`

projects/igniteui-angular/src/lib/icon/icon.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class IgxIconService {
116116
* ```typescript
117117
* this.iconService.registerFamilyAlias('material', 'material-icons');
118118
* ```
119-
* @deprecated Use `setFamily` instead.
119+
* @deprecated in version 18.1.0. Use `setFamily` instead.
120120
*/
121121
public registerFamilyAlias(
122122
alias: string,

0 commit comments

Comments
 (0)