Skip to content

Commit 64e7f56

Browse files
committed
fix: upgrade fontawesome6 to 6.7.2
1 parent 031fc43 commit 64e7f56

File tree

7 files changed

+24
-16
lines changed

7 files changed

+24
-16
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ Should you find this library beneficial, kindly contemplate the option of
4242
RNVI comes with the following supported icons. You can [search NPM](https://www.npmjs.com/search?q=keywords%3Areact-native-vector-icons-icon) for third party icons.
4343

4444
### Actively maintained
45+
4546
- [`AntDesign`](https://ant.design/components/icon) from Ant Group (v4.4.2 with _449_ icons)
4647
- [`Feather`](http://feathericons.com) created by Cole Bemis & Contributors (v4.29.2 featuring _287_ icons)
47-
- [`FontAwesome 6`](https://fontawesome.com/search) designed by Fonticons, Inc. (v6.7.1 featuring _2060_ free and _52663_ pro icons)
48+
- [`FontAwesome 6`](https://fontawesome.com/search) designed by Fonticons, Inc. (v6.7.2 featuring _2060_ free and _52663_ pro icons)
4849
- [`Foundation`](http://zurb.com/playground/foundation-icon-fonts-3) by ZURB, Inc. (v3.0 with _283_ icons)
4950
- [`Ionicons`](https://ionic.io/ionicons) crafted by Ionic (v7.4.0 containing _1356_ icons)
5051
- [`MaterialDesignIcons`](https://pictogrammers.com/library/mdi/) from MaterialDesignIcons.com (v7.4.47 including _7448_ icons)
5152
- [`Octicons`](https://primer.style/foundations/icons) designed by GitHub, Inc. (v19.12.0 with _331_ icons)
5253

5354
### No longer maintained upstream
55+
5456
- [`Entypo`](http://entypo.com) by Daniel Bruce (v1.0.1 with _411_ icons)
5557
- [`EvilIcons`](http://evil-icons.io) designed by Alexander Madyankin & Roman Shamin (v1.10.1 with _70_ icons)
5658
- [`FontAwesome`](https://fontawesome.com/v4/icons) by Fonticons, Inc. (v4.7.0 containing _785_ icons)
@@ -67,21 +69,26 @@ See [MIGRATION.md](MIGRATION.md) if you are migrating from `react-native-vector-
6769
## Installation
6870

6971
1. Install the common package
72+
7073
```sh
7174
npm install --save @react-native-vector-icons/common
7275
```
76+
7377
2. Install the packages for the icons you want use
78+
7479
```sh
7580
npm install --save @react-native-vector-icons/fontawesome6 @react-native-vector-icons/evil-icons
7681
```
82+
7783
3. Depending on the platform you're targeting (iOS/Android/Windows), follow the appropriate setup instructions below.
7884
4. If you are using one of the following fonts refer to their guides for further instructions
79-
* [FontAwesome 6](packages/fontawesome6/README.md)
80-
* [FontAwesome 6 Pro](packages/fontawesome6-pro/README.md)
81-
* [FontAwesome 5](packages/fontawesome5/README.md)
82-
* [FontAwesome 5 Pro](packages/fontawesome5-pro/README.md)
83-
* [Fontello](packages/fontello/README.md)
84-
* [Icomoon](packages/icomoon/README.md)
85+
86+
- [FontAwesome 6](packages/fontawesome6/README.md)
87+
- [FontAwesome 6 Pro](packages/fontawesome6-pro/README.md)
88+
- [FontAwesome 5](packages/fontawesome5/README.md)
89+
- [FontAwesome 5 Pro](packages/fontawesome5-pro/README.md)
90+
- [Fontello](packages/fontello/README.md)
91+
- [Icomoon](packages/icomoon/README.md)
8592

8693
## Setup
8794

@@ -192,6 +199,7 @@ const Icon = createIconSet(glyphMap, {
192199
```
193200

194201
You should place the font ttf file into `rnvi-fonts`. You can customise this location by adding the following snippet to your package.json
202+
195203
```json
196204
{
197205
"reactNativeVectorIcons": {
@@ -219,7 +227,7 @@ Dynamic loading in react-native-vector-icons is currently limited to those fonts
219227

220228
By default, dynamic loading is enabled if supported by the version of Expo that you're using. It doesn't change the way you work with the package: If rendering an icon requires a font that is not known to the app, it will be loaded automatically and icon will render as expected.
221229

222-
`@react-native-vector-icons/common` exports several functions which you can use to control dynamic loading:
230+
`@react-native-vector-icons/common` exports several functions which you can use to control dynamic loading:
223231

224232
- `isDynamicLoadingEnabled`: Returns whether dynamic loading is enabled.
225233
- `isDynamicLoadingSupported`: Returns whether dynamic loading is supported by your runtime (checks that necessary Expo features are present).

packages/fontawesome6-pro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-vector-icons/fontawesome6-pro",
3-
"version": "6.7.1",
3+
"version": "6.7.2",
44
"description": "Fontawesome6 Pro font for react native vector icons",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",
56 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

packages/fontawesome6/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-vector-icons/fontawesome6",
3-
"version": "6.7.1",
3+
"version": "6.7.2",
44
"description": "Fontawesome6 font for react native vector icons",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",
@@ -84,7 +84,7 @@
8484
"@react-native-vector-icons/common": "^11.0.0"
8585
},
8686
"devDependencies": {
87-
"@fortawesome/fontawesome-free": "6.7.1",
87+
"@fortawesome/fontawesome-free": "6.7.2",
8888
"del-cli": "^6.0.0",
8989
"onchange": "^7.1.0",
9090
"react-native-builder-bob": "^0.35.2",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,10 +2332,10 @@ __metadata:
23322332
languageName: node
23332333
linkType: hard
23342334

2335-
"@fortawesome/fontawesome-free@npm:6.7.1":
2336-
version: 6.7.1
2337-
resolution: "@fortawesome/fontawesome-free@npm:6.7.1"
2338-
checksum: 10c0/5bebf5f9684fc377fb7df36cf7ee37e112a8987e592228ac464b81edc0eb002e1fa8675977b82d15d304cda813da4fafbc38cf0c3ca2744c710390a58a460495
2335+
"@fortawesome/fontawesome-free@npm:6.7.2":
2336+
version: 6.7.2
2337+
resolution: "@fortawesome/fontawesome-free@npm:6.7.2"
2338+
checksum: 10c0/e27fb8b846f0bcf40c904acc210829a640329fc7b7ec4e42a7c43cb53739ed6052d78df90810f555a5c80bc608fee5a5174db3fa6da617f582d6210009a19278
23392339
languageName: node
23402340
linkType: hard
23412341

@@ -4463,7 +4463,7 @@ __metadata:
44634463
version: 0.0.0-use.local
44644464
resolution: "@react-native-vector-icons/fontawesome6@workspace:packages/fontawesome6"
44654465
dependencies:
4466-
"@fortawesome/fontawesome-free": "npm:6.7.1"
4466+
"@fortawesome/fontawesome-free": "npm:6.7.2"
44674467
"@react-native-vector-icons/common": "npm:^11.0.0"
44684468
del-cli: "npm:^6.0.0"
44694469
onchange: "npm:^7.1.0"

0 commit comments

Comments
 (0)