@ltht-react/icon
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.4](https://ssh.github.com/ltht-epr/ltht-react/compare/@ltht-react/icon@0.1.3...@ltht-react/icon@0.1.4) (2020-03-12) | ||
**Note:** Version bump only for package @ltht-react/icon | ||
## [0.1.3](https://ssh.github.com/ltht-epr/ltht-react/compare/@ltht-react/icon@0.1.2...@ltht-react/icon@0.1.3) (2020-03-06) | ||
@@ -8,0 +16,0 @@ |
@@ -13,3 +13,3 @@ "use strict"; | ||
var status = _a.status, size = _a.size; | ||
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", " \n "], ["\n ", "\n ", "\n ", "\n ", " \n "])), status === 'green' && "color: " + styles_1.ICON_SUCCESS_COLOUR + ";", status === 'amber' && "color: " + styles_1.ICON_WARNING_COLOUR + ";", status === 'red' && "color: " + styles_1.ICON_DANGER_COLOUR + ";", status === 'default' && "color: " + styles_1.ICON_DEFAULT_COLOUR + ";"); | ||
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_SUCCESS_COLOUR + ";", status === 'amber' && "color: " + styles_1.ICON_WARNING_COLOUR + ";", status === 'red' && "color: " + styles_1.ICON_DANGER_COLOUR + ";", status === 'default' && "color: " + styles_1.ICON_DEFAULT_COLOUR + ";"); | ||
return core_1.jsx(react_fontawesome_1.FontAwesomeIcon, { css: styles, icon: free_solid_svg_icons_1.faExclamationTriangle, size: styles_1.calculateIconSize(size) }); | ||
@@ -16,0 +16,0 @@ }; |
{ | ||
"name": "@ltht-react/icon", | ||
"version": "0.1.3", | ||
"description": "ltht-react atoms Icon component.", | ||
"version": "0.1.4", | ||
"description": "ltht-react styled Icon component.", | ||
"author": "LTHT", | ||
@@ -33,9 +33,9 @@ "homepage": "", | ||
"@fortawesome/react-fontawesome": "^0.1.8", | ||
"@ltht-react/styles": "^0.1.0", | ||
"@ltht-react/types": "^0.0.10", | ||
"@ltht-react/utils": "^0.1.3", | ||
"@ltht-react/styles": "^0.1.1", | ||
"@ltht-react/types": "^0.0.11", | ||
"@ltht-react/utils": "^0.1.4", | ||
"emotion": "^10.0.27", | ||
"react": "^16.12.0" | ||
}, | ||
"gitHead": "936ef438972cf4ba54878f67967944c5b6e1ffd4" | ||
"gitHead": "7ebcfe2e86ef8e5ee215db26dee3c7dac66b7686" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10226
+ Added@ltht-react/types@0.0.11(transitive)
- Removed@ltht-react/types@0.0.10(transitive)
Updated@ltht-react/styles@^0.1.1
Updated@ltht-react/types@^0.0.11
Updated@ltht-react/utils@^0.1.4