@terraware/web-components 2.3.62 → 2.3.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,8 +14,7 @@ var useStyles = (0, _styles.makeStyles)(function () {
14
14
  icon: {
15
15
  '& path': {
16
16
  fill: function fill(props) {
17
- var _props$fillColor;
18
- return (_props$fillColor = props.fillColor) !== null && _props$fillColor !== void 0 ? _props$fillColor : 'inherit';
17
+ return props.fillColor;
19
18
  }
20
19
  }
21
20
  }
@@ -32,6 +31,6 @@ function Icon(_ref) {
32
31
  });
33
32
  var SVGComponent = _icons.default[name];
34
33
  return /*#__PURE__*/_react.default.createElement(SVGComponent, {
35
- className: "tw-icon tw-icon--".concat(size, " ").concat(className !== null && className !== void 0 ? className : className, " ").concat(classes.icon)
34
+ className: "tw-icon tw-icon--".concat(size, " ").concat(className !== null && className !== void 0 ? className : '', " ").concat(fillColor ? classes.icon : '')
36
35
  });
37
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terraware/web-components",
3
- "version": "2.3.62",
3
+ "version": "2.3.63",
4
4
  "author": "Terraformation Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {