@propellerads/icon 5.20.0 → 5.22.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## `5.22.0`
2
+ * Added `Blocks` icon
3
+
4
+ ## `5.21.0`
5
+ * Do not add a hover effect if hoverColor is not specified.
6
+
1
7
  ## `5.20.0`
2
8
  * Icon types are extended using native SVG interface.
3
9
 
@@ -114,8 +114,7 @@ var Icon = function Icon(_ref) {
114
114
  size = _ref$size === void 0 ? exports.SIZE.MEDIUM : _ref$size,
115
115
  _ref$color = _ref.color,
116
116
  color = _ref$color === void 0 ? exports.COLOR.BLACK : _ref$color,
117
- _ref$hoverColor = _ref.hoverColor,
118
- hoverColor = _ref$hoverColor === void 0 ? exports.COLOR.BLACK : _ref$hoverColor,
117
+ hoverColor = _ref.hoverColor,
119
118
  rest = _objectWithoutPropertiesLoose(_ref, _excluded);
120
119
 
121
120
  var themeContext = React.useContext(styled.ThemeContext);
@@ -382,6 +381,13 @@ var Block = function Block(props) {
382
381
  }));
383
382
  };
384
383
 
384
+ /* eslint max-len: off */
385
+ var Blocks = function Blocks(props) {
386
+ return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
387
+ d: "M13 14V20C13 20.55 13.45 21 14 21H20C20.55 21 21 20.55 21 20V14C21 13.45 20.55 13 20 13H14C13.45 13 13 13.45 13 14ZM4 21H10C10.55 21 11 20.55 11 20V14C11 13.45 10.55 13 10 13H4C3.45 13 3 13.45 3 14V20C3 20.55 3.45 21 4 21ZM3 4V10C3 10.55 3.45 11 4 11H10C10.55 11 11 10.55 11 10V4C11 3.45 10.55 3 10 3H4C3.45 3 3 3.45 3 4ZM15.95 2.4L11.7 6.64C11.31 7.03 11.31 7.66 11.7 8.05L15.95 12.3C16.34 12.69 16.97 12.69 17.36 12.3L21.61 8.05C22 7.66 22 7.03 21.61 6.64L17.37 2.4C16.98 2.01 16.34 2.01 15.95 2.4Z"
388
+ }));
389
+ };
390
+
385
391
  /* eslint max-len: off */
386
392
  var BlockedImage = function BlockedImage(props) {
387
393
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -1693,6 +1699,7 @@ exports.BellCrossed = BellCrossed;
1693
1699
  exports.BellEmpty = BellEmpty;
1694
1700
  exports.Block = Block;
1695
1701
  exports.BlockedImage = BlockedImage;
1702
+ exports.Blocks = Blocks;
1696
1703
  exports.BorderAll = BorderAll;
1697
1704
  exports.Build = Build;
1698
1705
  exports.Burger = Burger;