@papillonbits/components 0.23.0 → 0.24.0

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.
@@ -70,9 +70,9 @@ function Icon(_ref) {
70
70
  verticalAlign: _Icon.iconAlign[verticalAlign] || verticalAlign
71
71
  };
72
72
  var Element = _Icon2.iconComponents[icon];
73
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(Element, _objectSpread(_objectSpread({
73
+ return Element != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Element, _objectSpread(_objectSpread({
74
74
  className: className
75
- }, attrs), otherProps));
75
+ }, attrs), otherProps)) : null;
76
76
  }
77
77
 
78
78
  Icon.propTypes = _Icon.propTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonbits/components",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Papillon Bits Components",
5
5
  "homepage": "https://github.com/papillonbits/papillonbits/tree/master/packages/components",
6
6
  "repository": {
@@ -29,8 +29,8 @@
29
29
  "build-release": "npm run build"
30
30
  },
31
31
  "dependencies": {
32
- "@papillonbits/css": "^0.23.0",
33
- "@papillonbits/library": "^0.23.0"
32
+ "@papillonbits/css": "^0.24.0",
33
+ "@papillonbits/library": "^0.24.0"
34
34
  },
35
- "gitHead": "e790386c66fea0a37af67d0ba92344b57977b70b"
35
+ "gitHead": "337b92960833c42c72bd2834c8f3acede7cf9c51"
36
36
  }