From 67469c7b66bdc7ec26f558172fca09fe169395c0 Mon Sep 17 00:00:00 2001 From: robmadole Date: Wed, 29 Jun 2022 09:58:09 -0500 Subject: [PATCH] Release 0.1.19 --- CHANGELOG.md | 8 ++++++++ DEVELOPMENT.md | 7 +++++-- index.es.js | 8 ++++++-- index.js | 8 ++++++-- package.json | 2 +- 5 files changed, 26 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cded1b75..4108f6bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p --- +## [0.1.19](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.1.19) - 2022-06-29 + +### Fixed + +- Added missing beatFade, spinPulse, and spinReverse animations + +--- + ## [0.1.18](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.1.18) - 2022-03-16 ### Added diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 8598e654..b6b8e370 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -20,9 +20,12 @@ The following commands are available through `npm run` 1. Update the `CHANGELOG.md` 1. Update the `README.md` contributors section 1. `npm run build` +1. `npm run install.5` 1. `npm run test` -1. `npm publish --tag 0.1.x` -1. `npm publish --tag 0.1.x --registry https://npm.fontawesome.com` (publish to Pro registry) +1. `npm run install.6` +1. `npm run test` +1. `npm publish --tag latest-0.1` +1. `npm publish --tag latest-0.1 --registry https://npm.fontawesome.com` (publish to Pro registry) 1. `git add . && git commit -m 'Release VERSION'` 1. `git push` 1. Create a [new release](https://github.com/FortAwesome/react-fontawesome/releases/new) with `CHANGELOG` details diff --git a/index.es.js b/index.es.js index 31aeecca..fff01974 100644 --- a/index.es.js +++ b/index.es.js @@ -160,6 +160,7 @@ function classList(props) { 'fa-inverse': inverse, 'fa-border': border, 'fa-li': listItem, + 'fa-flip': flip === true, 'fa-flip-horizontal': flip === 'horizontal' || flip === 'both', 'fa-flip-vertical': flip === 'vertical' || flip === 'both' }, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined' && size !== null), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined' && rotation !== null && rotation !== 0), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined' && pull !== null), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object @@ -372,6 +373,7 @@ FontAwesomeIcon.displayName = 'FontAwesomeIcon'; FontAwesomeIcon.propTypes = { beat: PropTypes.bool, border: PropTypes.bool, + beatFade: PropTypes.bool, bounce: PropTypes.bool, className: PropTypes.string, fade: PropTypes.bool, @@ -380,7 +382,7 @@ FontAwesomeIcon.propTypes = { maskId: PropTypes.string, fixedWidth: PropTypes.bool, inverse: PropTypes.bool, - flip: PropTypes.oneOf(['horizontal', 'vertical', 'both']), + flip: PropTypes.oneOf([true, false, 'horizontal', 'vertical', 'both']), icon: PropTypes.oneOfType([PropTypes.object, PropTypes.array, PropTypes.string]), listItem: PropTypes.bool, pull: PropTypes.oneOf(['right', 'left']), @@ -404,7 +406,7 @@ FontAwesomeIcon.defaultProps = { maskId: null, fixedWidth: false, inverse: false, - flip: null, + flip: false, icon: null, listItem: false, pull: null, @@ -412,6 +414,8 @@ FontAwesomeIcon.defaultProps = { rotation: null, size: null, spin: false, + spinPulse: false, + spinReverse: false, beat: false, fade: false, beatFade: false, diff --git a/index.js b/index.js index 60388b07..2ef96ddd 100644 --- a/index.js +++ b/index.js @@ -167,6 +167,7 @@ 'fa-inverse': inverse, 'fa-border': border, 'fa-li': listItem, + 'fa-flip': flip === true, 'fa-flip-horizontal': flip === 'horizontal' || flip === 'both', 'fa-flip-vertical': flip === 'vertical' || flip === 'both' }, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined' && size !== null), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined' && rotation !== null && rotation !== 0), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined' && pull !== null), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object @@ -379,6 +380,7 @@ FontAwesomeIcon.propTypes = { beat: PropTypes__default["default"].bool, border: PropTypes__default["default"].bool, + beatFade: PropTypes__default["default"].bool, bounce: PropTypes__default["default"].bool, className: PropTypes__default["default"].string, fade: PropTypes__default["default"].bool, @@ -387,7 +389,7 @@ maskId: PropTypes__default["default"].string, fixedWidth: PropTypes__default["default"].bool, inverse: PropTypes__default["default"].bool, - flip: PropTypes__default["default"].oneOf(['horizontal', 'vertical', 'both']), + flip: PropTypes__default["default"].oneOf([true, false, 'horizontal', 'vertical', 'both']), icon: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].array, PropTypes__default["default"].string]), listItem: PropTypes__default["default"].bool, pull: PropTypes__default["default"].oneOf(['right', 'left']), @@ -411,7 +413,7 @@ maskId: null, fixedWidth: false, inverse: false, - flip: null, + flip: false, icon: null, listItem: false, pull: null, @@ -419,6 +421,8 @@ rotation: null, size: null, spin: false, + spinPulse: false, + spinReverse: false, beat: false, fade: false, beatFade: false, diff --git a/package.json b/package.json index edad4ced..f79b8290 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@fortawesome/react-fontawesome", "description": "Official React component for Font Awesome 5", - "version": "0.1.18", + "version": "0.1.19", "main": "index.js", "module": "index.es.js", "jsnext:main": "index.es.js",