Release 0.2.2
This commit is contained in:
parent
47a7be8093
commit
fff48b114c
|
@ -12,7 +12,8 @@ jobs:
|
||||||
react: [
|
react: [
|
||||||
16.x,
|
16.x,
|
||||||
17.x,
|
17.x,
|
||||||
18.x
|
18.x,
|
||||||
|
beta
|
||||||
]
|
]
|
||||||
fontawesome-svg-core: [
|
fontawesome-svg-core: [
|
||||||
1.2.x,
|
1.2.x,
|
||||||
|
|
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -6,12 +6,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## [0.2.2](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.2.2) - 2024-05-22
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Props with nullable/undefined values no longer throw an error #562 #560
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## [0.2.1](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.2.1) - 2024-05-16
|
## [0.2.1](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.2.1) - 2024-05-16
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Remove defaultProps to be compatible with React 19
|
- Remove defaultProps to be compatible with React 19
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## [0.2.0](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.2.0) - 2022-06-29
|
## [0.2.0](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.2.0) - 2022-06-29
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -64,6 +64,7 @@ being awesome contributors to this project. **We'd like to take a moment to reco
|
||||||
| Alexey Victorov | [@AliMamed](https://github.com/AliMamed) |
|
| Alexey Victorov | [@AliMamed](https://github.com/AliMamed) |
|
||||||
| Calum Smith | [@cpmsmith](https://github.com/cpmsmith) |
|
| Calum Smith | [@cpmsmith](https://github.com/cpmsmith) |
|
||||||
| squiaios | [@squiaios](https://github.com/squiaios) |
|
| squiaios | [@squiaios](https://github.com/squiaios) |
|
||||||
|
| WyvernDrexx | [@WyvernDrexx](https://github.com/WyvernDrexx) |
|
||||||
| Font Awesome Team | [@FortAwesome](https://github.com/orgs/FortAwesome/people)|
|
| Font Awesome Team | [@FortAwesome](https://github.com/orgs/FortAwesome/people)|
|
||||||
|
|
||||||
If we've missed someone (which is quite likely) submit a Pull Request to us and we'll get it resolved.
|
If we've missed someone (which is quite likely) submit a Pull Request to us and we'll get it resolved.
|
||||||
|
|
|
@ -368,7 +368,7 @@ var FontAwesomeIcon = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
||||||
titleId = allProps.titleId,
|
titleId = allProps.titleId,
|
||||||
maskId = allProps.maskId;
|
maskId = allProps.maskId;
|
||||||
var iconLookup = normalizeIconArgs(iconArgs);
|
var iconLookup = normalizeIconArgs(iconArgs);
|
||||||
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray(className.split(' '))));
|
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray((className || '').split(' '))));
|
||||||
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? parse.transform(allProps.transform) : allProps.transform);
|
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? parse.transform(allProps.transform) : allProps.transform);
|
||||||
var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));
|
var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));
|
||||||
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
||||||
|
|
2
index.js
2
index.js
|
@ -375,7 +375,7 @@
|
||||||
titleId = allProps.titleId,
|
titleId = allProps.titleId,
|
||||||
maskId = allProps.maskId;
|
maskId = allProps.maskId;
|
||||||
var iconLookup = normalizeIconArgs(iconArgs);
|
var iconLookup = normalizeIconArgs(iconArgs);
|
||||||
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray(className.split(' '))));
|
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray((className || '').split(' '))));
|
||||||
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? fontawesomeSvgCore.parse.transform(allProps.transform) : allProps.transform);
|
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? fontawesomeSvgCore.parse.transform(allProps.transform) : allProps.transform);
|
||||||
var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));
|
var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));
|
||||||
var renderedIcon = fontawesomeSvgCore.icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
var renderedIcon = fontawesomeSvgCore.icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@fortawesome/react-fontawesome",
|
"name": "@fortawesome/react-fontawesome",
|
||||||
"version": "0.2.0",
|
"version": "0.2.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@fortawesome/react-fontawesome",
|
"name": "@fortawesome/react-fontawesome",
|
||||||
"version": "0.2.0",
|
"version": "0.2.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prop-types": "^15.8.1"
|
"prop-types": "^15.8.1"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@fortawesome/react-fontawesome",
|
"name": "@fortawesome/react-fontawesome",
|
||||||
"description": "Official React component for Font Awesome",
|
"description": "Official React component for Font Awesome",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"module": "index.es.js",
|
"module": "index.es.js",
|
||||||
"jsnext:main": "index.es.js",
|
"jsnext:main": "index.es.js",
|
||||||
|
@ -28,7 +28,8 @@
|
||||||
"Tiago Sousa <github.com/TiagoPortfolio>",
|
"Tiago Sousa <github.com/TiagoPortfolio>",
|
||||||
"Alexey Victorov <github.com/AliMamed>",
|
"Alexey Victorov <github.com/AliMamed>",
|
||||||
"Calum Smith <github.com/cpmsmith>",
|
"Calum Smith <github.com/cpmsmith>",
|
||||||
"squiaios <github.com/squiaios>"
|
"squiaios <github.com/squiaios>",
|
||||||
|
"WyvernDrexx <github.com/WyvernDrexx>"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue