@propellerads/icon 5.22.0 → 5.25.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/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Icons
2
+
2
3
  ![size](https://img.shields.io/bundlephobia/min/@propellerads/icon.svg)
3
4
  ![](https://img.shields.io/npm/v/@propellerads/icon.svg?style=flat-square)
4
5
 
@@ -6,8 +7,10 @@
6
7
  [Github](https://github.com/propellerads/ui-components/tree/master/Components/icon)
7
8
 
8
9
  ## Installation
9
- * `yarn add @propellerads/icon` or `npm install @propellerads/icon -S`
10
+
11
+ - `yarn add @propellerads/icon` or `npm install @propellerads/icon -S`
10
12
 
11
13
  ### How to use
12
- * `import {AmericanExpress, SIZE, COLOR} from '@propellerads/icon';`
13
- * And render `<AmericanExpress size={SIZE.MEDIUM} color={COLOR.GREEN}/>`
14
+
15
+ - `import {AmericanExpress, SIZE, COLOR} from '@propellerads/icon';`
16
+ - And render `<AmericanExpress size={SIZE.MEDIUM} color={COLOR.GREEN}/>`
@@ -55,7 +55,7 @@ function _taggedTemplateLiteralLoose(strings, raw) {
55
55
  })(exports.COLOR || (exports.COLOR = {}));
56
56
 
57
57
  var _templateObject;
58
- var StyledIcon = /*#__PURE__*/styled__default.svg(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: inline-flex;\n\n // SIZE\n ", "\n \n ", "\n \n ", "\n \n ", "\n \n ", "\n \n ", "\n \n // COLORS\n ", "\n \n ", "\n"])), function (props) {
58
+ var StyledIcon = /*#__PURE__*/styled__default.svg(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: inline-flex;\n\n // SIZE\n ", "\n\n ", "\n \n ", "\n \n ", "\n \n ", "\n \n ", "\n \n // COLORS\n ", "\n \n ", "\n"])), function (props) {
59
59
  return props.size === exports.SIZE.EXTRA_SMALL && "\n width: " + stylevariables.spacing * 3 + "px;\n height: " + stylevariables.spacing * 3 + "px;\n ";
60
60
  }, function (props) {
61
61
  return props.size === exports.SIZE.SMALL && "\n width: " + stylevariables.spacing * 4 + "px;\n height: " + stylevariables.spacing * 4 + "px;\n ";
@@ -542,6 +542,15 @@ var Comment = function Comment(props) {
542
542
  }));
543
543
  };
544
544
 
545
+ /* eslint max-len: off */
546
+ var Constructor = function Constructor(props) {
547
+ return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
548
+ d: "M 15.902344 13.050781 L 13.78125 15.171875 L 19.777344 21.167969 L 21.898438 19.046875 Z M 15.902344 13.050781 "
549
+ }), React__default.createElement("path", {
550
+ d: "M 17.5 10 C 19.429688 10 21 8.429688 21 6.5 C 21 5.921875 20.839844 5.378906 20.589844 4.898438 L 17.890625 7.601562 L 16.398438 6.109375 L 19.101562 3.410156 C 18.621094 3.160156 18.078125 3 17.5 3 C 15.570312 3 14 4.570312 14 6.5 C 14 6.910156 14.078125 7.300781 14.210938 7.660156 L 12.359375 9.511719 L 10.578125 7.730469 L 11.289062 7.019531 L 9.878906 5.609375 L 12 3.488281 C 10.828125 2.320312 8.929688 2.320312 7.761719 3.488281 L 4.21875 7.03125 L 5.628906 8.441406 L 2.808594 8.441406 L 2.101562 9.148438 L 5.640625 12.691406 L 6.351562 11.980469 L 6.351562 9.148438 L 7.761719 10.558594 L 8.46875 9.851562 L 10.25 11.628906 L 2.839844 19.039062 L 4.960938 21.160156 L 16.339844 9.789062 C 16.699219 9.921875 17.089844 10 17.5 10 Z M 17.5 10 "
551
+ }));
552
+ };
553
+
545
554
  /* eslint max-len: off */
546
555
  var Copy = function Copy(props) {
547
556
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -1569,6 +1578,13 @@ var Twitter = function Twitter(props) {
1569
1578
  }));
1570
1579
  };
1571
1580
 
1581
+ /* eslint max-len: off */
1582
+ var Unarchive = function Unarchive(props) {
1583
+ return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
1584
+ d: "M20.55 5.22L19.16 3.54C18.88 3.21 18.47 3 18 3H6C5.53 3 5.12 3.21 4.85 3.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V6.5C21 6.01 20.83 5.57 20.55 5.22ZM12.35 9.85L17.5 15H14V17H10V15H6.5L11.65 9.85C11.84 9.66 12.16 9.66 12.35 9.85ZM5.12 5L5.94 4H17.94L18.87 5H5.12Z"
1585
+ }));
1586
+ };
1587
+
1572
1588
  /* eslint max-len: off */
1573
1589
  var Update = function Update(props) {
1574
1590
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -1646,6 +1662,17 @@ var Webmoney = function Webmoney(props) {
1646
1662
  }));
1647
1663
  };
1648
1664
 
1665
+ /* eslint max-len: off */
1666
+ var WhatsApp = function WhatsApp(props) {
1667
+ return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
1668
+ d: "M8.54477 7.12425C8.712 7.12928 8.87953 7.13364 9.02548 7.14368C9.20299 7.15674 9.40613 7.17118 9.57651 7.5984C9.78637 8.09786 10.2334 9.34231 10.2935 9.46987C10.3311 9.53623 10.3511 9.61087 10.3523 9.68695C10.3536 9.76308 10.3358 9.83871 10.3005 9.90631C10.2321 10.0519 10.143 10.1875 10.0365 10.3085C9.90684 10.4501 9.77243 10.6138 9.64683 10.7324C9.52104 10.851 9.38328 10.9817 9.52118 11.2351C9.87809 11.8877 10.3308 12.4849 10.8642 13.006C11.4348 13.5596 12.105 14.0025 12.84 14.3119C12.9251 14.356 13.0196 14.382 13.1156 14.3862C13.1675 14.3852 13.2184 14.3725 13.2654 14.3508C13.3124 14.329 13.3547 14.2981 13.3888 14.2594C13.545 14.1025 14.0113 13.558 14.2142 13.3076C14.2457 13.2566 14.2891 13.2138 14.341 13.1831C14.393 13.1523 14.4522 13.1348 14.5127 13.1317C14.6057 13.1385 14.6968 13.1613 14.7813 13.2002C15.0095 13.2907 16.2233 13.9339 16.4713 14.0628C16.7186 14.1914 16.8829 14.264 16.9428 14.3645C17.0027 14.465 16.9878 14.9675 16.7607 15.5424C16.5335 16.1174 15.4919 16.6465 15.0303 16.6747C14.8934 16.6827 14.7623 16.7009 14.5888 16.7009C14.1679 16.7009 13.5183 16.5917 12.0377 15.9594C9.51858 14.8867 7.98878 12.2424 7.86808 12.0726C7.74676 11.9018 6.88457 10.6912 6.9228 9.46758C6.96134 8.24333 7.6285 7.6602 7.86693 7.41788C7.95127 7.32838 8.05266 7.25641 8.1655 7.20651C8.25026 7.16905 8.34001 7.1443 8.4318 7.13339L8.52402 7.12425H8.54477Z"
1669
+ }), React__default.createElement("path", {
1670
+ fillRule: "evenodd",
1671
+ clipRule: "evenodd",
1672
+ d: "M12.0585 2C14.6373 2.01515 17.1112 3.01742 18.9625 4.79692C20.8134 6.57637 21.899 8.99631 21.9931 11.5504C22.042 12.8577 21.8293 14.1616 21.3672 15.387C20.9049 16.6127 20.2026 17.7361 19.3002 18.6912C18.3978 19.6464 17.3131 20.4147 16.1093 20.9523C14.9057 21.4899 13.6064 21.7856 12.2867 21.8229H12.0008C10.5005 21.8233 9.01886 21.4896 7.66635 20.846L2.43271 22H2.41657C2.40578 21.9999 2.39526 21.9976 2.38545 21.9931C2.37549 21.9886 2.36613 21.9819 2.35893 21.9737C2.35201 21.9657 2.34706 21.9564 2.34395 21.9463C2.34083 21.9361 2.33914 21.9249 2.34049 21.9143L3.22583 16.669C2.3929 15.1586 1.9708 13.4588 2.00157 11.7378C2.03238 10.017 2.5147 8.33351 3.40105 6.85347C4.2874 5.37353 5.54719 4.14777 7.05653 3.29677C8.56606 2.44573 10.2734 1.99872 12.01 2H12.0585ZM11.7726 3.72294C10.3371 3.7634 8.93698 4.17371 7.71015 4.91346C6.48318 5.65341 5.47125 6.6983 4.77517 7.94345C4.07935 9.1883 3.72247 10.5913 3.73997 12.0143C3.75756 13.4376 4.14894 14.8322 4.87546 16.06L5.02763 16.3159L4.37284 19.8749L7.92227 19.0443L8.18971 19.1825C9.36736 19.7865 10.6749 20.1005 12.0008 20.0988H12.2371L12.2464 20.1023C14.4128 20.0352 16.4665 19.128 17.9642 17.575C19.4617 16.0219 20.2829 13.9475 20.2524 11.7995C20.2218 9.6515 19.3416 7.60086 17.8005 6.09026C16.2593 4.57976 14.1809 3.72944 12.0135 3.72294H11.7726Z"
1673
+ }));
1674
+ };
1675
+
1649
1676
  /* eslint max-len: off */
1650
1677
  var Wordpress = function Wordpress(props) {
1651
1678
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -1715,6 +1742,7 @@ exports.Close = Close;
1715
1742
  exports.Code = Code;
1716
1743
  exports.Columns = Columns;
1717
1744
  exports.Comment = Comment;
1745
+ exports.Constructor = Constructor;
1718
1746
  exports.Copy = Copy;
1719
1747
  exports.Crop = Crop;
1720
1748
  exports.Crown = Crown;
@@ -1831,6 +1859,7 @@ exports.ThumbUp = ThumbUp;
1831
1859
  exports.Time = Time;
1832
1860
  exports.Touch = Touch;
1833
1861
  exports.Twitter = Twitter;
1862
+ exports.Unarchive = Unarchive;
1834
1863
  exports.Update = Update;
1835
1864
  exports.Upload = Upload;
1836
1865
  exports.User = User;
@@ -1842,6 +1871,7 @@ exports.Vk = Vk;
1842
1871
  exports.Wallet = Wallet;
1843
1872
  exports.Warning = Warning;
1844
1873
  exports.Webmoney = Webmoney;
1874
+ exports.WhatsApp = WhatsApp;
1845
1875
  exports.Wordpress = Wordpress;
1846
1876
  exports.YandexMoney = YandexMoney;
1847
1877
  exports.YouTube = YouTube;