@propellerads/icon 5.22.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 +69 -54
- package/README.md +6 -3
- package/dist/icon.cjs.development.js +23 -1
- package/dist/icon.cjs.development.js.map +1 -1
- package/dist/icon.cjs.production.min.js +1 -1
- package/dist/icon.cjs.production.min.js.map +1 -1
- package/dist/icon.esm.js +22 -2
- package/dist/icon.esm.js.map +1 -1
- package/dist/icons/Constructor.d.ts +2 -0
- package/dist/icons/WhatsApp.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,159 +1,174 @@
|
|
|
1
|
+
## `5.24.0`
|
|
2
|
+
|
|
3
|
+
- Added `WhatsApp` icon
|
|
4
|
+
|
|
5
|
+
## `5.23.0`
|
|
6
|
+
|
|
7
|
+
- Added `Constructor` icon
|
|
8
|
+
|
|
1
9
|
## `5.22.0`
|
|
2
|
-
|
|
10
|
+
|
|
11
|
+
- Added `Blocks` icon
|
|
3
12
|
|
|
4
13
|
## `5.21.0`
|
|
5
|
-
|
|
14
|
+
|
|
15
|
+
- Do not add a hover effect if hoverColor is not specified.
|
|
6
16
|
|
|
7
17
|
## `5.20.0`
|
|
8
|
-
|
|
18
|
+
|
|
19
|
+
- Icon types are extended using native SVG interface.
|
|
9
20
|
|
|
10
21
|
## `5.19.0`
|
|
11
|
-
|
|
22
|
+
|
|
23
|
+
- Added `ArrowLeftFull` and `Cursor` icons
|
|
12
24
|
|
|
13
25
|
## `5.18.0`
|
|
14
|
-
|
|
26
|
+
|
|
27
|
+
- Updated `Linkedin`, `Twitter`, `YouTube` and `Instagram` icons
|
|
15
28
|
|
|
16
29
|
## `5.17.0`
|
|
17
|
-
|
|
30
|
+
|
|
31
|
+
- Updated `DragIndicator` and `Draggable` icons to apply colors
|
|
18
32
|
|
|
19
33
|
## `5.16.0`
|
|
20
34
|
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
- Added `YouTube` icon
|
|
36
|
+
- Updated `Facebook` and `Twitter`
|
|
23
37
|
|
|
24
38
|
## `5.15.0`
|
|
25
39
|
|
|
26
|
-
|
|
40
|
+
- Added `Folder` icon
|
|
27
41
|
|
|
28
42
|
## `5.14.0`
|
|
29
43
|
|
|
30
|
-
|
|
44
|
+
- Added `MagicWand` icon
|
|
31
45
|
|
|
32
46
|
## `5.13.1`
|
|
33
47
|
|
|
34
|
-
|
|
48
|
+
- Fixed `Skype` icon
|
|
35
49
|
|
|
36
50
|
## `5.13.0`
|
|
37
51
|
|
|
38
|
-
|
|
52
|
+
- Added `BellEmpty` icon
|
|
39
53
|
|
|
40
54
|
## `5.12.0`
|
|
41
55
|
|
|
42
|
-
|
|
56
|
+
- Added `UserCircle` icon
|
|
43
57
|
|
|
44
58
|
## `5.11.0`
|
|
45
59
|
|
|
46
|
-
|
|
60
|
+
- Added `Source` icon
|
|
47
61
|
|
|
48
62
|
## `5.10.0`
|
|
49
63
|
|
|
50
|
-
|
|
64
|
+
- Added `Android` icon
|
|
51
65
|
|
|
52
66
|
## `5.9.0`
|
|
53
67
|
|
|
54
|
-
|
|
68
|
+
- Added `InterstitialFormat` icon
|
|
55
69
|
|
|
56
70
|
## `5.8.2`
|
|
57
71
|
|
|
58
|
-
|
|
72
|
+
- Added `AddCircleBracket` icon
|
|
59
73
|
|
|
60
74
|
## `5.8.1`
|
|
61
75
|
|
|
62
|
-
|
|
76
|
+
- Removed fill for `AddImage` and `BlockedImage`
|
|
63
77
|
|
|
64
78
|
## `5.8.0`
|
|
65
79
|
|
|
66
|
-
|
|
80
|
+
- Added `AddImage` and `BlockedImage` icons
|
|
67
81
|
|
|
68
82
|
## `5.7.0`
|
|
69
83
|
|
|
70
|
-
|
|
84
|
+
- Added `Apps` icon
|
|
71
85
|
|
|
72
86
|
## `5.6.0`
|
|
73
87
|
|
|
74
|
-
|
|
88
|
+
- Added `DragIndicator` icon
|
|
75
89
|
|
|
76
90
|
## `5.5.0`
|
|
77
91
|
|
|
78
|
-
|
|
92
|
+
- Added `BellActive` icon
|
|
79
93
|
|
|
80
94
|
## `5.4.0`
|
|
81
95
|
|
|
82
|
-
|
|
96
|
+
- Added `BellCrosed` icon
|
|
83
97
|
|
|
84
98
|
## `5.3.1`
|
|
85
99
|
|
|
86
|
-
|
|
100
|
+
- Fix `SurveyOffer` and `LaughingSmile` icons
|
|
87
101
|
|
|
88
102
|
## `5.3.0`
|
|
89
103
|
|
|
90
|
-
|
|
104
|
+
- Added a new `SurveyOffer` and `LaughingSmile` icon
|
|
91
105
|
|
|
92
106
|
## `5.2.0`
|
|
93
107
|
|
|
94
|
-
|
|
108
|
+
- Added a new `Draggable` icon
|
|
95
109
|
|
|
96
110
|
## `5.1.0`
|
|
97
111
|
|
|
98
|
-
|
|
112
|
+
- Update dependencies
|
|
99
113
|
|
|
100
114
|
## `5.0.1`
|
|
101
115
|
|
|
102
|
-
|
|
116
|
+
- Technical changes for restarting deploy
|
|
103
117
|
|
|
104
118
|
## `5.0.0`
|
|
105
119
|
|
|
106
|
-
|
|
120
|
+
- Add icons: `AirlineStops`, `AutoRenew`, `Cancel`, `CircleNotification`, `DeleteForever`, `Diamond`, `Favorite`, `Fingerprint`, `Http`, `LocalAtm`, `ManageHistory`, `OnlinePrediction`, `Verified`, `QrCode`, `QuestionMark`, `SaveAs`, `ShoppingBag`, `ShoppingCart`, `SwipeDown`
|
|
107
121
|
|
|
108
122
|
## `4.1.0`
|
|
109
123
|
|
|
110
|
-
|
|
124
|
+
- Add icons: `Announcement`, `PhotoCamera`, `Info`, `Favorite`, `MailFilled`, `MissedCall`, `Monetization`, `PlayCircleFilled`, `PrivacyTip`, `Update`, `Verified`
|
|
111
125
|
|
|
112
126
|
## `4.0.0`
|
|
113
127
|
|
|
114
|
-
|
|
128
|
+
- rename Infinity to InfinityIcon
|
|
115
129
|
|
|
116
130
|
## `3.4.0`
|
|
117
131
|
|
|
118
|
-
|
|
132
|
+
- update style-variables
|
|
119
133
|
|
|
120
134
|
## `3.3.5`
|
|
121
135
|
|
|
122
|
-
|
|
136
|
+
- Add icons: `Insert`, `Propeller`, `Push`, `Pop`
|
|
123
137
|
|
|
124
138
|
## `3.3.4`
|
|
125
139
|
|
|
126
|
-
|
|
140
|
+
- Add icons: `Tablet`, `Gamepad`
|
|
127
141
|
|
|
128
142
|
## `3.3.3`
|
|
129
143
|
|
|
130
|
-
|
|
144
|
+
- Add icons: `Crown`
|
|
131
145
|
|
|
132
146
|
## `3.3.2`
|
|
133
147
|
|
|
134
|
-
|
|
148
|
+
- Add icons: `Columns`, `FilterList`
|
|
135
149
|
|
|
136
150
|
## `3.3.1`
|
|
137
151
|
|
|
138
|
-
|
|
152
|
+
- Add icon: `ArrowPageFirst`
|
|
139
153
|
|
|
140
154
|
## `3.3.0`
|
|
141
155
|
|
|
142
|
-
|
|
156
|
+
- Add icons: `Linkedin`, `Twitter`, `FastSpeed`, `Cup`, `ArrowUpFull`
|
|
143
157
|
|
|
144
158
|
## `3.2.0`
|
|
145
159
|
|
|
146
|
-
|
|
160
|
+
- Add styled-component theme context
|
|
147
161
|
|
|
148
162
|
## `3.1.0`
|
|
149
163
|
|
|
150
|
-
|
|
164
|
+
- a new configuration to building
|
|
151
165
|
|
|
152
166
|
## `3.0.1`
|
|
153
167
|
|
|
154
|
-
|
|
168
|
+
- added types
|
|
169
|
+
|
|
170
|
+
- Changed variable for next colors
|
|
155
171
|
|
|
156
|
-
* Changed variable for next colors
|
|
157
172
|
```
|
|
158
173
|
GREEN -> SUCCESS
|
|
159
174
|
YELLOW -> WARNING
|
|
@@ -162,36 +177,36 @@ RED -> ERROR
|
|
|
162
177
|
|
|
163
178
|
## `3.0.0`
|
|
164
179
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
180
|
+
- TS
|
|
181
|
+
- Production build
|
|
182
|
+
- Each icon as ESM module
|
|
183
|
+
- deleted deprecated colors
|
|
169
184
|
|
|
170
185
|
## `2.4.0`
|
|
171
186
|
|
|
172
|
-
|
|
173
|
-
|
|
187
|
+
- Update `@propellerads/stylevariables` dependency to the latest version.
|
|
188
|
+
- Add `offer-filled` icon.
|
|
174
189
|
|
|
175
190
|
## `2.3.2`
|
|
176
191
|
|
|
177
|
-
|
|
192
|
+
- Fix `check-circle` icon
|
|
178
193
|
|
|
179
194
|
## `2.3.1`
|
|
180
195
|
|
|
181
|
-
|
|
196
|
+
- Add `check-circle` icon
|
|
182
197
|
|
|
183
198
|
## `2.3.0`
|
|
184
199
|
|
|
185
|
-
|
|
200
|
+
- Add icons: `facebook`, `instagram`, `telegram`, `vk`
|
|
186
201
|
|
|
187
202
|
## `2.1.3`
|
|
188
203
|
|
|
189
|
-
|
|
204
|
+
- Add `qiwi` and `yandex-money` icons.
|
|
190
205
|
|
|
191
206
|
## `2.1.1`
|
|
192
207
|
|
|
193
|
-
|
|
208
|
+
- Add `gift-box` icon.
|
|
194
209
|
|
|
195
210
|
## `2.1.0`
|
|
196
211
|
|
|
197
|
-
|
|
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
|

|
|
3
4
|

|
|
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
|
-
|
|
10
|
+
|
|
11
|
+
- `yarn add @propellerads/icon` or `npm install @propellerads/icon -S`
|
|
10
12
|
|
|
11
13
|
### How to use
|
|
12
|
-
|
|
13
|
-
|
|
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
|
|
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", {
|
|
@@ -1646,6 +1655,17 @@ var Webmoney = function Webmoney(props) {
|
|
|
1646
1655
|
}));
|
|
1647
1656
|
};
|
|
1648
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
|
+
|
|
1649
1669
|
/* eslint max-len: off */
|
|
1650
1670
|
var Wordpress = function Wordpress(props) {
|
|
1651
1671
|
return React__default.createElement(Icon, Object.assign({}, props), React__default.createElement("path", {
|
|
@@ -1715,6 +1735,7 @@ exports.Close = Close;
|
|
|
1715
1735
|
exports.Code = Code;
|
|
1716
1736
|
exports.Columns = Columns;
|
|
1717
1737
|
exports.Comment = Comment;
|
|
1738
|
+
exports.Constructor = Constructor;
|
|
1718
1739
|
exports.Copy = Copy;
|
|
1719
1740
|
exports.Crop = Crop;
|
|
1720
1741
|
exports.Crown = Crown;
|
|
@@ -1842,6 +1863,7 @@ exports.Vk = Vk;
|
|
|
1842
1863
|
exports.Wallet = Wallet;
|
|
1843
1864
|
exports.Warning = Warning;
|
|
1844
1865
|
exports.Webmoney = Webmoney;
|
|
1866
|
+
exports.WhatsApp = WhatsApp;
|
|
1845
1867
|
exports.Wordpress = Wordpress;
|
|
1846
1868
|
exports.YandexMoney = YandexMoney;
|
|
1847
1869
|
exports.YouTube = YouTube;
|