@ng-icons/ionicons 29.7.0 → 29.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
# Ng Icons
|
|
10
10
|
|
|
11
11
|
The all-in-one icon library for Angular. This allows you to use icons from multiple icon sets with a single icon component.
|
|
12
|
-
Containing over
|
|
12
|
+
Containing over 61,000 icons for you to use in your projects.
|
|
13
13
|
|
|
14
14
|
Currently, we support the following libraries:
|
|
15
15
|
|
|
@@ -39,6 +39,7 @@ Currently, we support the following libraries:
|
|
|
39
39
|
- [Lets Icons](https://www.figma.com/community/file/886554014393250663/free-icon-pack-1800-icons)
|
|
40
40
|
- [Huge Icons](https://hugeicons.com/)
|
|
41
41
|
- [Devicon](https://github.com/devicons/devicon/)
|
|
42
|
+
- [Game Icons](https://game-icons.net/)
|
|
42
43
|
|
|
43
44
|
Got suggestions for additional iconsets? Create an issue and we can consider adding them!
|
|
44
45
|
|
|
@@ -113,6 +114,7 @@ The following packages are available:
|
|
|
113
114
|
| `@ng-icons/lets-icons` | CC-BY-4.0 |
|
|
114
115
|
| `@ng-icons/huge-icons` | CC0-1.0 |
|
|
115
116
|
| `@ng-icons/devicon` | MIT |
|
|
117
|
+
| `@ng-icons/game-icons` | CC BY 3.0 |
|
|
116
118
|
|
|
117
119
|
## Usage
|
|
118
120
|
|
|
@@ -286,6 +288,19 @@ bootstrapApplication(AppComponent, {
|
|
|
286
288
|
|
|
287
289
|
## Experimental Features
|
|
288
290
|
|
|
291
|
+
### Icon Stack
|
|
292
|
+
|
|
293
|
+
Ng Icons now supports icon stacking. This allows you to layer multiple icons on top of each other. This is useful for creating complex icons from multiple simpler icons.
|
|
294
|
+
|
|
295
|
+
```html
|
|
296
|
+
<ng-icon-stack size="32px">
|
|
297
|
+
<ng-icon name="faCircle" />
|
|
298
|
+
<ng-icon name="faFlag" size="16px" />
|
|
299
|
+
</ng-icon-stack>
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
The `size` must be defined on the `ng-icon-stack` component. Any icons within the stack will inherit this size unless it is overridden.
|
|
303
|
+
|
|
289
304
|
### Variable Icon Fonts
|
|
290
305
|
|
|
291
306
|
We have added support for variable icon fonts. This is currently only supported by the [Material Symbols](https://github.com/marella/material-symbols/tree/main/material-symbols#readme) iconset.
|
package/package.json
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-icons/ionicons",
|
|
3
|
-
"version": "29.
|
|
4
|
-
"dependencies": {
|
|
5
|
-
"tslib": "^2.2.0"
|
|
6
|
-
},
|
|
3
|
+
"version": "29.9.0",
|
|
7
4
|
"license": "MIT",
|
|
8
5
|
"repository": {
|
|
9
6
|
"url": "https://github.com/ng-icons/ng-icons"
|
|
@@ -22,5 +19,8 @@
|
|
|
22
19
|
"default": "./fesm2022/ng-icons-ionicons.mjs"
|
|
23
20
|
}
|
|
24
21
|
},
|
|
25
|
-
"sideEffects": false
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"tslib": "^2.3.0"
|
|
25
|
+
}
|
|
26
26
|
}
|