@propellerads/icon 5.21.0 → 5.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.
package/CHANGELOG.md CHANGED
@@ -1,156 +1,174 @@
1
+ ## `5.24.0`
2
+
3
+ - Added `WhatsApp` icon
4
+
5
+ ## `5.23.0`
6
+
7
+ - Added `Constructor` icon
8
+
9
+ ## `5.22.0`
10
+
11
+ - Added `Blocks` icon
12
+
1
13
  ## `5.21.0`
2
- * Do not add a hover effect if hoverColor is not specified.
14
+
15
+ - Do not add a hover effect if hoverColor is not specified.
3
16
 
4
17
  ## `5.20.0`
5
- * Icon types are extended using native SVG interface.
18
+
19
+ - Icon types are extended using native SVG interface.
6
20
 
7
21
  ## `5.19.0`
8
- * Added `ArrowLeftFull` and `Cursor` icons
22
+
23
+ - Added `ArrowLeftFull` and `Cursor` icons
9
24
 
10
25
  ## `5.18.0`
11
- * Updated `Linkedin`, `Twitter`, `YouTube` and `Instagram` icons
26
+
27
+ - Updated `Linkedin`, `Twitter`, `YouTube` and `Instagram` icons
12
28
 
13
29
  ## `5.17.0`
14
- * Updated `DragIndicator` and `Draggable` icons to apply colors
30
+
31
+ - Updated `DragIndicator` and `Draggable` icons to apply colors
15
32
 
16
33
  ## `5.16.0`
17
34
 
18
- * Added `YouTube` icon
19
- * Updated `Facebook` and `Twitter`
35
+ - Added `YouTube` icon
36
+ - Updated `Facebook` and `Twitter`
20
37
 
21
38
  ## `5.15.0`
22
39
 
23
- * Added `Folder` icon
40
+ - Added `Folder` icon
24
41
 
25
42
  ## `5.14.0`
26
43
 
27
- * Added `MagicWand` icon
44
+ - Added `MagicWand` icon
28
45
 
29
46
  ## `5.13.1`
30
47
 
31
- * Fixed `Skype` icon
48
+ - Fixed `Skype` icon
32
49
 
33
50
  ## `5.13.0`
34
51
 
35
- * Added `BellEmpty` icon
52
+ - Added `BellEmpty` icon
36
53
 
37
54
  ## `5.12.0`
38
55
 
39
- * Added `UserCircle` icon
56
+ - Added `UserCircle` icon
40
57
 
41
58
  ## `5.11.0`
42
59
 
43
- * Added `Source` icon
60
+ - Added `Source` icon
44
61
 
45
62
  ## `5.10.0`
46
63
 
47
- * Added `Android` icon
64
+ - Added `Android` icon
48
65
 
49
66
  ## `5.9.0`
50
67
 
51
- * Added `InterstitialFormat` icon
68
+ - Added `InterstitialFormat` icon
52
69
 
53
70
  ## `5.8.2`
54
71
 
55
- * Added `AddCircleBracket` icon
72
+ - Added `AddCircleBracket` icon
56
73
 
57
74
  ## `5.8.1`
58
75
 
59
- * Removed fill for `AddImage` and `BlockedImage`
76
+ - Removed fill for `AddImage` and `BlockedImage`
60
77
 
61
78
  ## `5.8.0`
62
79
 
63
- * Added `AddImage` and `BlockedImage` icons
80
+ - Added `AddImage` and `BlockedImage` icons
64
81
 
65
82
  ## `5.7.0`
66
83
 
67
- * Added `Apps` icon
84
+ - Added `Apps` icon
68
85
 
69
86
  ## `5.6.0`
70
87
 
71
- * Added `DragIndicator` icon
88
+ - Added `DragIndicator` icon
72
89
 
73
90
  ## `5.5.0`
74
91
 
75
- * Added `BellActive` icon
92
+ - Added `BellActive` icon
76
93
 
77
94
  ## `5.4.0`
78
95
 
79
- * Added `BellCrosed` icon
96
+ - Added `BellCrosed` icon
80
97
 
81
98
  ## `5.3.1`
82
99
 
83
- * Fix `SurveyOffer` and `LaughingSmile` icons
100
+ - Fix `SurveyOffer` and `LaughingSmile` icons
84
101
 
85
102
  ## `5.3.0`
86
103
 
87
- * Added a new `SurveyOffer` and `LaughingSmile` icon
104
+ - Added a new `SurveyOffer` and `LaughingSmile` icon
88
105
 
89
106
  ## `5.2.0`
90
107
 
91
- * Added a new `Draggable` icon
108
+ - Added a new `Draggable` icon
92
109
 
93
110
  ## `5.1.0`
94
111
 
95
- * Update dependencies
112
+ - Update dependencies
96
113
 
97
114
  ## `5.0.1`
98
115
 
99
- * Technical changes for restarting deploy
116
+ - Technical changes for restarting deploy
100
117
 
101
118
  ## `5.0.0`
102
119
 
103
- * Add icons: `AirlineStops`, `AutoRenew`, `Cancel`, `CircleNotification`, `DeleteForever`, `Diamond`, `Favorite`, `Fingerprint`, `Http`, `LocalAtm`, `ManageHistory`, `OnlinePrediction`, `Verified`, `QrCode`, `QuestionMark`, `SaveAs`, `ShoppingBag`, `ShoppingCart`, `SwipeDown`
120
+ - Add icons: `AirlineStops`, `AutoRenew`, `Cancel`, `CircleNotification`, `DeleteForever`, `Diamond`, `Favorite`, `Fingerprint`, `Http`, `LocalAtm`, `ManageHistory`, `OnlinePrediction`, `Verified`, `QrCode`, `QuestionMark`, `SaveAs`, `ShoppingBag`, `ShoppingCart`, `SwipeDown`
104
121
 
105
122
  ## `4.1.0`
106
123
 
107
- * Add icons: `Announcement`, `PhotoCamera`, `Info`, `Favorite`, `MailFilled`, `MissedCall`, `Monetization`, `PlayCircleFilled`, `PrivacyTip`, `Update`, `Verified`
124
+ - Add icons: `Announcement`, `PhotoCamera`, `Info`, `Favorite`, `MailFilled`, `MissedCall`, `Monetization`, `PlayCircleFilled`, `PrivacyTip`, `Update`, `Verified`
108
125
 
109
126
  ## `4.0.0`
110
127
 
111
- * rename Infinity to InfinityIcon
128
+ - rename Infinity to InfinityIcon
112
129
 
113
130
  ## `3.4.0`
114
131
 
115
- * update style-variables
132
+ - update style-variables
116
133
 
117
134
  ## `3.3.5`
118
135
 
119
- * Add icons: `Insert`, `Propeller`, `Push`, `Pop`
136
+ - Add icons: `Insert`, `Propeller`, `Push`, `Pop`
120
137
 
121
138
  ## `3.3.4`
122
139
 
123
- * Add icons: `Tablet`, `Gamepad`
140
+ - Add icons: `Tablet`, `Gamepad`
124
141
 
125
142
  ## `3.3.3`
126
143
 
127
- * Add icons: `Crown`
144
+ - Add icons: `Crown`
128
145
 
129
146
  ## `3.3.2`
130
147
 
131
- * Add icons: `Columns`, `FilterList`
148
+ - Add icons: `Columns`, `FilterList`
132
149
 
133
150
  ## `3.3.1`
134
151
 
135
- * Add icon: `ArrowPageFirst`
152
+ - Add icon: `ArrowPageFirst`
136
153
 
137
154
  ## `3.3.0`
138
155
 
139
- * Add icons: `Linkedin`, `Twitter`, `FastSpeed`, `Cup`, `ArrowUpFull`
156
+ - Add icons: `Linkedin`, `Twitter`, `FastSpeed`, `Cup`, `ArrowUpFull`
140
157
 
141
158
  ## `3.2.0`
142
159
 
143
- * Add styled-component theme context
160
+ - Add styled-component theme context
144
161
 
145
162
  ## `3.1.0`
146
163
 
147
- * a new configuration to building
164
+ - a new configuration to building
148
165
 
149
166
  ## `3.0.1`
150
167
 
151
- * added types
168
+ - added types
169
+
170
+ - Changed variable for next colors
152
171
 
153
- * Changed variable for next colors
154
172
  ```
155
173
  GREEN -> SUCCESS
156
174
  YELLOW -> WARNING
@@ -159,36 +177,36 @@ RED -> ERROR
159
177
 
160
178
  ## `3.0.0`
161
179
 
162
- * TS
163
- * Production build
164
- * Each icon as ESM module
165
- * deleted deprecated colors
180
+ - TS
181
+ - Production build
182
+ - Each icon as ESM module
183
+ - deleted deprecated colors
166
184
 
167
185
  ## `2.4.0`
168
186
 
169
- * Update `@propellerads/stylevariables` dependency to the latest version.
170
- * Add `offer-filled` icon.
187
+ - Update `@propellerads/stylevariables` dependency to the latest version.
188
+ - Add `offer-filled` icon.
171
189
 
172
190
  ## `2.3.2`
173
191
 
174
- * Fix `check-circle` icon
192
+ - Fix `check-circle` icon
175
193
 
176
194
  ## `2.3.1`
177
195
 
178
- * Add `check-circle` icon
196
+ - Add `check-circle` icon
179
197
 
180
198
  ## `2.3.0`
181
199
 
182
- * Add icons: `facebook`, `instagram`, `telegram`, `vk`
200
+ - Add icons: `facebook`, `instagram`, `telegram`, `vk`
183
201
 
184
202
  ## `2.1.3`
185
203
 
186
- * Add `qiwi` and `yandex-money` icons.
204
+ - Add `qiwi` and `yandex-money` icons.
187
205
 
188
206
  ## `2.1.1`
189
207
 
190
- * Add `gift-box` icon.
208
+ - Add `gift-box` icon.
191
209
 
192
210
  ## `2.1.0`
193
211
 
194
- * iconProps constant is changed. Use it instead of final constants from `styles.jsx`
212
+ - iconProps constant is changed. Use it instead of final constants from `styles.jsx`
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 ";
@@ -381,6 +381,13 @@ var Block = function Block(props) {
381
381
  }));
382
382
  };
383
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
+
384
391
  /* eslint max-len: off */
385
392
  var BlockedImage = function BlockedImage(props) {
386
393
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -535,6 +542,15 @@ var Comment = function Comment(props) {
535
542
  }));
536
543
  };
537
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
+
538
554
  /* eslint max-len: off */
539
555
  var Copy = function Copy(props) {
540
556
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -1639,6 +1655,17 @@ var Webmoney = function Webmoney(props) {
1639
1655
  }));
1640
1656
  };
1641
1657
 
1658
+ /* eslint max-len: off */
1659
+ var WhatsApp = function WhatsApp(props) {
1660
+ return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
1661
+ 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"
1662
+ }), React__default.createElement("path", {
1663
+ fillRule: "evenodd",
1664
+ clipRule: "evenodd",
1665
+ 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"
1666
+ }));
1667
+ };
1668
+
1642
1669
  /* eslint max-len: off */
1643
1670
  var Wordpress = function Wordpress(props) {
1644
1671
  return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
@@ -1692,6 +1719,7 @@ exports.BellCrossed = BellCrossed;
1692
1719
  exports.BellEmpty = BellEmpty;
1693
1720
  exports.Block = Block;
1694
1721
  exports.BlockedImage = BlockedImage;
1722
+ exports.Blocks = Blocks;
1695
1723
  exports.BorderAll = BorderAll;
1696
1724
  exports.Build = Build;
1697
1725
  exports.Burger = Burger;
@@ -1707,6 +1735,7 @@ exports.Close = Close;
1707
1735
  exports.Code = Code;
1708
1736
  exports.Columns = Columns;
1709
1737
  exports.Comment = Comment;
1738
+ exports.Constructor = Constructor;
1710
1739
  exports.Copy = Copy;
1711
1740
  exports.Crop = Crop;
1712
1741
  exports.Crown = Crown;
@@ -1834,6 +1863,7 @@ exports.Vk = Vk;
1834
1863
  exports.Wallet = Wallet;
1835
1864
  exports.Warning = Warning;
1836
1865
  exports.Webmoney = Webmoney;
1866
+ exports.WhatsApp = WhatsApp;
1837
1867
  exports.Wordpress = Wordpress;
1838
1868
  exports.YandexMoney = YandexMoney;
1839
1869
  exports.YouTube = YouTube;