diff --git a/README.md b/README.md index 9c3f1d6e5..6d2b57255 100644 --- a/README.md +++ b/README.md @@ -42,15 +42,17 @@ Should you find this library beneficial, kindly contemplate the option of 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. ### Actively maintained + - [`AntDesign`](https://ant.design/components/icon) from Ant Group (v4.4.2 with _449_ icons) - [`Feather`](http://feathericons.com) created by Cole Bemis & Contributors (v4.29.2 featuring _287_ icons) -- [`FontAwesome 6`](https://fontawesome.com/search) designed by Fonticons, Inc. (v6.7.1 featuring _2060_ free and _52663_ pro icons) +- [`FontAwesome 6`](https://fontawesome.com/search) designed by Fonticons, Inc. (v6.7.2 featuring _2060_ free and _52663_ pro icons) - [`Foundation`](http://zurb.com/playground/foundation-icon-fonts-3) by ZURB, Inc. (v3.0 with _283_ icons) - [`Ionicons`](https://ionic.io/ionicons) crafted by Ionic (v7.4.0 containing _1356_ icons) - [`MaterialDesignIcons`](https://pictogrammers.com/library/mdi/) from MaterialDesignIcons.com (v7.4.47 including _7448_ icons) - [`Octicons`](https://primer.style/foundations/icons) designed by GitHub, Inc. (v19.12.0 with _331_ icons) ### No longer maintained upstream + - [`Entypo`](http://entypo.com) by Daniel Bruce (v1.0.1 with _411_ icons) - [`EvilIcons`](http://evil-icons.io) designed by Alexander Madyankin & Roman Shamin (v1.10.1 with _70_ icons) - [`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- ## Installation 1. Install the common package + ```sh npm install --save @react-native-vector-icons/common ``` + 2. Install the packages for the icons you want use + ```sh npm install --save @react-native-vector-icons/fontawesome6 @react-native-vector-icons/evil-icons ``` + 3. Depending on the platform you're targeting (iOS/Android/Windows), follow the appropriate setup instructions below. 4. If you are using one of the following fonts refer to their guides for further instructions - * [FontAwesome 6](packages/fontawesome6/README.md) - * [FontAwesome 6 Pro](packages/fontawesome6-pro/README.md) - * [FontAwesome 5](packages/fontawesome5/README.md) - * [FontAwesome 5 Pro](packages/fontawesome5-pro/README.md) - * [Fontello](packages/fontello/README.md) - * [Icomoon](packages/icomoon/README.md) + +- [FontAwesome 6](packages/fontawesome6/README.md) +- [FontAwesome 6 Pro](packages/fontawesome6-pro/README.md) +- [FontAwesome 5](packages/fontawesome5/README.md) +- [FontAwesome 5 Pro](packages/fontawesome5-pro/README.md) +- [Fontello](packages/fontello/README.md) +- [Icomoon](packages/icomoon/README.md) ## Setup @@ -192,6 +199,7 @@ const Icon = createIconSet(glyphMap, { ``` You should place the font ttf file into `rnvi-fonts`. You can customise this location by adding the following snippet to your package.json + ```json { "reactNativeVectorIcons": { @@ -219,7 +227,7 @@ Dynamic loading in react-native-vector-icons is currently limited to those fonts 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. -`@react-native-vector-icons/common` exports several functions which you can use to control dynamic loading: +`@react-native-vector-icons/common` exports several functions which you can use to control dynamic loading: - `isDynamicLoadingEnabled`: Returns whether dynamic loading is enabled. - `isDynamicLoadingSupported`: Returns whether dynamic loading is supported by your runtime (checks that necessary Expo features are present). diff --git a/packages/fontawesome6-pro/package.json b/packages/fontawesome6-pro/package.json index 309b73662..1e27f5103 100644 --- a/packages/fontawesome6-pro/package.json +++ b/packages/fontawesome6-pro/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-vector-icons/fontawesome6-pro", - "version": "6.7.1", + "version": "6.7.2", "description": "Fontawesome6 Pro font for react native vector icons", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", diff --git a/packages/fontawesome6/fonts/FontAwesome6_Brands.ttf b/packages/fontawesome6/fonts/FontAwesome6_Brands.ttf index c739a3965..0f82a8360 100644 Binary files a/packages/fontawesome6/fonts/FontAwesome6_Brands.ttf and b/packages/fontawesome6/fonts/FontAwesome6_Brands.ttf differ diff --git a/packages/fontawesome6/fonts/FontAwesome6_Regular.ttf b/packages/fontawesome6/fonts/FontAwesome6_Regular.ttf index 314040946..9ee1919dc 100644 Binary files a/packages/fontawesome6/fonts/FontAwesome6_Regular.ttf and b/packages/fontawesome6/fonts/FontAwesome6_Regular.ttf differ diff --git a/packages/fontawesome6/fonts/FontAwesome6_Solid.ttf b/packages/fontawesome6/fonts/FontAwesome6_Solid.ttf index f3b468e5b..1c10972ec 100644 Binary files a/packages/fontawesome6/fonts/FontAwesome6_Solid.ttf and b/packages/fontawesome6/fonts/FontAwesome6_Solid.ttf differ diff --git a/packages/fontawesome6/package.json b/packages/fontawesome6/package.json index 143bc7b6b..63d1daeac 100644 --- a/packages/fontawesome6/package.json +++ b/packages/fontawesome6/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-vector-icons/fontawesome6", - "version": "6.7.1", + "version": "6.7.2", "description": "Fontawesome6 font for react native vector icons", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", @@ -84,7 +84,7 @@ "@react-native-vector-icons/common": "^11.0.0" }, "devDependencies": { - "@fortawesome/fontawesome-free": "6.7.1", + "@fortawesome/fontawesome-free": "6.7.2", "del-cli": "^6.0.0", "onchange": "^7.1.0", "react-native-builder-bob": "^0.35.2", diff --git a/yarn.lock b/yarn.lock index f56ba5c83..f62b5baa9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2332,10 +2332,10 @@ __metadata: languageName: node linkType: hard -"@fortawesome/fontawesome-free@npm:6.7.1": - version: 6.7.1 - resolution: "@fortawesome/fontawesome-free@npm:6.7.1" - checksum: 10c0/5bebf5f9684fc377fb7df36cf7ee37e112a8987e592228ac464b81edc0eb002e1fa8675977b82d15d304cda813da4fafbc38cf0c3ca2744c710390a58a460495 +"@fortawesome/fontawesome-free@npm:6.7.2": + version: 6.7.2 + resolution: "@fortawesome/fontawesome-free@npm:6.7.2" + checksum: 10c0/e27fb8b846f0bcf40c904acc210829a640329fc7b7ec4e42a7c43cb53739ed6052d78df90810f555a5c80bc608fee5a5174db3fa6da617f582d6210009a19278 languageName: node linkType: hard @@ -4463,7 +4463,7 @@ __metadata: version: 0.0.0-use.local resolution: "@react-native-vector-icons/fontawesome6@workspace:packages/fontawesome6" dependencies: - "@fortawesome/fontawesome-free": "npm:6.7.1" + "@fortawesome/fontawesome-free": "npm:6.7.2" "@react-native-vector-icons/common": "npm:^11.0.0" del-cli: "npm:^6.0.0" onchange: "npm:^7.1.0"