Skip to content

Commit

Permalink
Release 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
robmadole committed Sep 29, 2019
1 parent 358b4d0 commit 1e5e6aa
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

---

## [0.1.5](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.1.5) - 2019-09-29

### Added

- Full support for Duotone icons

---

## [0.1.4](https://github.com/FortAwesome/react-fontawesome/releases/tag/0.1.4) - 2019-01-15

### Changed
Expand Down
8 changes: 5 additions & 3 deletions index.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function classList(props) {
'fa-li': listItem,
'fa-flip-horizontal': flip === 'horizontal' || flip === 'both',
'fa-flip-vertical': flip === 'vertical' || flip === 'both'
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined'), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined'), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined'), _classes); // map over all the keys in the classes object
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined'), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined'), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined'), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object
// return an array of the keys where the value for the key is not null

return Object.keys(classes).map(function (key) {
Expand Down Expand Up @@ -327,7 +327,8 @@ FontAwesomeIcon.propTypes = {
spin: PropTypes.bool,
symbol: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
title: PropTypes.string,
transform: PropTypes.oneOfType([PropTypes.string, PropTypes.object])
transform: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
swapOpacity: PropTypes.bool
};
FontAwesomeIcon.defaultProps = {
border: false,
Expand All @@ -345,7 +346,8 @@ FontAwesomeIcon.defaultProps = {
spin: false,
symbol: false,
title: '',
transform: null
transform: null,
swapOpacity: false
};
var convertCurry = convert.bind(null, React.createElement);

Expand Down
8 changes: 5 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
'fa-li': listItem,
'fa-flip-horizontal': flip === 'horizontal' || flip === 'both',
'fa-flip-vertical': flip === 'vertical' || flip === 'both'
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined'), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined'), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined'), _classes); // map over all the keys in the classes object
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined'), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined'), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined'), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object
// return an array of the keys where the value for the key is not null

return Object.keys(classes).map(function (key) {
Expand Down Expand Up @@ -332,7 +332,8 @@
spin: PropTypes.bool,
symbol: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
title: PropTypes.string,
transform: PropTypes.oneOfType([PropTypes.string, PropTypes.object])
transform: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
swapOpacity: PropTypes.bool
};
FontAwesomeIcon.defaultProps = {
border: false,
Expand All @@ -350,7 +351,8 @@
spin: false,
symbol: false,
title: '',
transform: null
transform: null,
swapOpacity: false
};
var convertCurry = convert.bind(null, React.createElement);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fortawesome/react-fontawesome",
"description": "Official React component for Font Awesome 5",
"version": "0.1.4",
"version": "0.1.5",
"main": "index.js",
"module": "index.es.js",
"jsnext:main": "index.es.js",
Expand Down

0 comments on commit 1e5e6aa

Please sign in to comment.