@sumup-oss/icons 5.15.0 → 5.16.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/dist/Contractors.js +76 -0
- package/dist/Deposit.js +56 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +2 -0
- package/manifest.json +15 -0
- package/package.json +4 -4
- package/web/v2/contractors_16.svg +3 -0
- package/web/v2/contractors_24.svg +3 -0
- package/web/v2/deposit_24.svg +3 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
function _extends() {
|
|
2
|
+
return (
|
|
3
|
+
(_extends = Object.assign
|
|
4
|
+
? Object.assign.bind()
|
|
5
|
+
: function (n) {
|
|
6
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
7
|
+
var t = arguments[e];
|
|
8
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
9
|
+
}
|
|
10
|
+
return n;
|
|
11
|
+
}),
|
|
12
|
+
_extends.apply(null, arguments)
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
import React from "react";
|
|
16
|
+
var Contractors16 = function Contractors16(props) {
|
|
17
|
+
return /*#__PURE__*/ React.createElement(
|
|
18
|
+
"svg",
|
|
19
|
+
_extends(
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: "16",
|
|
23
|
+
height: "16",
|
|
24
|
+
fill: "none",
|
|
25
|
+
viewBox: "0 0 16 16",
|
|
26
|
+
},
|
|
27
|
+
props,
|
|
28
|
+
),
|
|
29
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M8.34 2.97a3.315 3.315 0 0 0-.724 3.6l-5.248 5.248a1.274 1.274 0 0 0 .012 1.803c.5.5 1.307.507 1.802.012l5.249-5.25c1.199.49 2.625.25 3.598-.723q.033-.034.065-.069l-3.101-3.1a.16.16 0 0 1 0-.229l1.87-1.87a.117.117 0 0 0-.043-.192 3.32 3.32 0 0 0-3.48.77m5.268 1.168-1.819 1.819 1.46 1.46A3.32 3.32 0 0 0 13.8 4.18a.118.118 0 0 0-.193-.042",
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
var Contractors24 = function Contractors24(props) {
|
|
36
|
+
return /*#__PURE__*/ React.createElement(
|
|
37
|
+
"svg",
|
|
38
|
+
_extends(
|
|
39
|
+
{
|
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
+
width: "24",
|
|
42
|
+
height: "24",
|
|
43
|
+
fill: "none",
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
},
|
|
46
|
+
props,
|
|
47
|
+
),
|
|
48
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
49
|
+
fill: "currentColor",
|
|
50
|
+
d: "M13.037 3.537a5.25 5.25 0 0 0-1.144 5.697l-8.31 8.312c-.786.784-.774 2.061.018 2.853s2.07.803 2.854.02l8.31-8.312a5.25 5.25 0 0 0 5.698-1.145c.036-.035.067-.073.102-.109l-4.91-4.91a.25.25 0 0 1 0-.361l2.962-2.96a.185.185 0 0 0-.068-.306 5.25 5.25 0 0 0-5.512 1.22m8.342 1.848-2.88 2.88 2.312 2.31a5.26 5.26 0 0 0 .874-5.123.186.186 0 0 0-.306-.067",
|
|
51
|
+
}),
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
const sizeMap = {
|
|
55
|
+
16: Contractors16,
|
|
56
|
+
24: Contractors24,
|
|
57
|
+
};
|
|
58
|
+
export function Contractors(_ref) {
|
|
59
|
+
let { size = "24", ...props } = _ref;
|
|
60
|
+
const Icon = sizeMap[size] || sizeMap["24"];
|
|
61
|
+
if (
|
|
62
|
+
process.env.NODE_ENV !== "production" &&
|
|
63
|
+
process.env.NODE_ENV !== "test" &&
|
|
64
|
+
!sizeMap[size]
|
|
65
|
+
) {
|
|
66
|
+
console.warn(
|
|
67
|
+
new Error(
|
|
68
|
+
"The '".concat(
|
|
69
|
+
size,
|
|
70
|
+
"' size is not supported by the 'Contractors' icon. Please use one of the available sizes: '16', '24'.",
|
|
71
|
+
),
|
|
72
|
+
),
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
return /*#__PURE__*/ React.createElement(Icon, props);
|
|
76
|
+
}
|
package/dist/Deposit.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
function _extends() {
|
|
2
|
+
return (
|
|
3
|
+
(_extends = Object.assign
|
|
4
|
+
? Object.assign.bind()
|
|
5
|
+
: function (n) {
|
|
6
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
7
|
+
var t = arguments[e];
|
|
8
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
9
|
+
}
|
|
10
|
+
return n;
|
|
11
|
+
}),
|
|
12
|
+
_extends.apply(null, arguments)
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
import React from "react";
|
|
16
|
+
var Deposit24 = function Deposit24(props) {
|
|
17
|
+
return /*#__PURE__*/ React.createElement(
|
|
18
|
+
"svg",
|
|
19
|
+
_extends(
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: "24",
|
|
23
|
+
height: "24",
|
|
24
|
+
fill: "none",
|
|
25
|
+
viewBox: "0 0 24 24",
|
|
26
|
+
},
|
|
27
|
+
props,
|
|
28
|
+
),
|
|
29
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M14.45 1c.459 0 .801.334.801.803v.712c0 .324-.162.585-.405.712l1.325 1.857c.649.91.829 1.775.829 3.001V20c0 1.983-1.01 3.083-2.804 3.083h-3.801A6 6 0 0 0 7 13.084V8.085c0-1.226.163-2.09.812-3.001l1.334-1.857c-.244-.136-.397-.388-.397-.712v-.712c0-.469.324-.803.802-.803zM21 10a.5.5 0 0 1 0 1l.707.707a1 1 0 0 1 .293.707V21a2 2 0 0 1-2 2h-2.378c.628-.844.878-1.902.878-3V10zM5.47 15.47a.75.75 0 1 1 1.06 1.06l-1.72 1.72H9a.75.75 0 0 1 0 1.5H4.81l1.72 1.72.052.056a.75.75 0 0 1-1.056 1.056l-.056-.052-3-3a.8.8 0 0 1-.117-.157.74.74 0 0 1 .117-.903z",
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
const sizeMap = {
|
|
36
|
+
24: Deposit24,
|
|
37
|
+
};
|
|
38
|
+
export function Deposit(_ref) {
|
|
39
|
+
let { size = "24", ...props } = _ref;
|
|
40
|
+
const Icon = sizeMap[size] || sizeMap["24"];
|
|
41
|
+
if (
|
|
42
|
+
process.env.NODE_ENV !== "production" &&
|
|
43
|
+
process.env.NODE_ENV !== "test" &&
|
|
44
|
+
!sizeMap[size]
|
|
45
|
+
) {
|
|
46
|
+
console.warn(
|
|
47
|
+
new Error(
|
|
48
|
+
"The '".concat(
|
|
49
|
+
size,
|
|
50
|
+
"' size is not supported by the 'Deposit' icon. Please use one of the available sizes: '24'.",
|
|
51
|
+
),
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
return /*#__PURE__*/ React.createElement(Icon, props);
|
|
56
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -512,6 +512,8 @@ declare const Unfavorite: IconComponentType<"24">;
|
|
|
512
512
|
|
|
513
513
|
declare const Volume: IconComponentType<"24">;
|
|
514
514
|
|
|
515
|
+
declare const Contractors: IconComponentType<"16" | "24">;
|
|
516
|
+
|
|
515
517
|
declare const ArrowDown: IconComponentType<"24">;
|
|
516
518
|
|
|
517
519
|
declare const ArrowLeft: IconComponentType<"16" | "24">;
|
|
@@ -694,6 +696,8 @@ declare const VirtualTerminal: IconComponentType<"24">;
|
|
|
694
696
|
|
|
695
697
|
declare const Webspace: IconComponentType<"24">;
|
|
696
698
|
|
|
699
|
+
declare const Deposit: IconComponentType<"24">;
|
|
700
|
+
|
|
697
701
|
declare const Facebook: IconComponentType<"24">;
|
|
698
702
|
|
|
699
703
|
declare const FacebookMessenger: IconComponentType<"24">;
|
|
@@ -957,6 +961,7 @@ export {
|
|
|
957
961
|
Truck,
|
|
958
962
|
Unfavorite,
|
|
959
963
|
Volume,
|
|
964
|
+
Contractors,
|
|
960
965
|
ArrowDown,
|
|
961
966
|
ArrowLeft,
|
|
962
967
|
ArrowRight,
|
|
@@ -1045,6 +1050,7 @@ export {
|
|
|
1045
1050
|
Transactions,
|
|
1046
1051
|
VirtualTerminal,
|
|
1047
1052
|
Webspace,
|
|
1053
|
+
Deposit,
|
|
1048
1054
|
Facebook,
|
|
1049
1055
|
FacebookMessenger,
|
|
1050
1056
|
Instagram,
|
|
@@ -1308,6 +1314,7 @@ type Icons = {
|
|
|
1308
1314
|
truck: "24";
|
|
1309
1315
|
unfavorite: "24";
|
|
1310
1316
|
volume: "24";
|
|
1317
|
+
contractors: "16" | "24";
|
|
1311
1318
|
arrow_down: "24";
|
|
1312
1319
|
arrow_left: "16" | "24";
|
|
1313
1320
|
arrow_right: "16" | "24";
|
|
@@ -1396,6 +1403,7 @@ type Icons = {
|
|
|
1396
1403
|
transactions: "24";
|
|
1397
1404
|
virtual_terminal: "24";
|
|
1398
1405
|
webspace: "24";
|
|
1406
|
+
deposit: "24";
|
|
1399
1407
|
facebook: "24";
|
|
1400
1408
|
facebook_messenger: "24";
|
|
1401
1409
|
instagram: "24";
|
package/dist/index.js
CHANGED
|
@@ -240,6 +240,7 @@ export { Time } from "./Time.js";
|
|
|
240
240
|
export { Truck } from "./Truck.js";
|
|
241
241
|
export { Unfavorite } from "./Unfavorite.js";
|
|
242
242
|
export { Volume } from "./Volume.js";
|
|
243
|
+
export { Contractors } from "./Contractors.js";
|
|
243
244
|
export { ArrowDown } from "./ArrowDown.js";
|
|
244
245
|
export { ArrowLeft } from "./ArrowLeft.js";
|
|
245
246
|
export { ArrowRight } from "./ArrowRight.js";
|
|
@@ -328,6 +329,7 @@ export { Tipping } from "./Tipping.js";
|
|
|
328
329
|
export { Transactions } from "./Transactions.js";
|
|
329
330
|
export { VirtualTerminal } from "./VirtualTerminal.js";
|
|
330
331
|
export { Webspace } from "./Webspace.js";
|
|
332
|
+
export { Deposit } from "./Deposit.js";
|
|
331
333
|
export { Facebook } from "./Facebook.js";
|
|
332
334
|
export { FacebookMessenger } from "./FacebookMessenger.js";
|
|
333
335
|
export { Instagram } from "./Instagram.js";
|
package/manifest.json
CHANGED
|
@@ -1468,6 +1468,16 @@
|
|
|
1468
1468
|
"category": "Miscellaneous",
|
|
1469
1469
|
"size": "24"
|
|
1470
1470
|
},
|
|
1471
|
+
{
|
|
1472
|
+
"name": "contractors",
|
|
1473
|
+
"category": "Miscellaneous",
|
|
1474
|
+
"size": "16"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"name": "contractors",
|
|
1478
|
+
"category": "Miscellaneous",
|
|
1479
|
+
"size": "24"
|
|
1480
|
+
},
|
|
1471
1481
|
{
|
|
1472
1482
|
"name": "arrow_down",
|
|
1473
1483
|
"category": "Navigation",
|
|
@@ -2135,6 +2145,11 @@
|
|
|
2135
2145
|
"category": "Product and feature",
|
|
2136
2146
|
"size": "24"
|
|
2137
2147
|
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "deposit",
|
|
2150
|
+
"category": "Product and feature",
|
|
2151
|
+
"size": "24"
|
|
2152
|
+
},
|
|
2138
2153
|
{
|
|
2139
2154
|
"name": "facebook",
|
|
2140
2155
|
"category": "Social media",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/icons",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.0",
|
|
4
4
|
"description": "A collection of icons by SumUp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"prepublish": "npm run build"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.
|
|
39
|
-
"@babel/preset-env": "^7.
|
|
38
|
+
"@babel/core": "^7.28.0",
|
|
39
|
+
"@babel/preset-env": "^7.28.0",
|
|
40
40
|
"@babel/preset-react": "^7.27.1",
|
|
41
41
|
"@types/babel__core": "^7.20.5",
|
|
42
42
|
"fast-xml-parser": "^5.2.5",
|
|
43
43
|
"prettier": "^3.5.3",
|
|
44
44
|
"tsx": "^4.20.3",
|
|
45
|
-
"typescript": "^5.
|
|
45
|
+
"typescript": "^5.9.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=16.0.0 <20.0.0"
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
|
|
2
|
+
<path fill="currentColor" d="M8.34 2.97a3.315 3.315 0 0 0-.724 3.6l-5.248 5.248a1.274 1.274 0 0 0 .012 1.803c.5.5 1.307.507 1.802.012l5.249-5.25c1.199.49 2.625.25 3.598-.723q.033-.034.065-.069l-3.101-3.1a.16.16 0 0 1 0-.229l1.87-1.87a.117.117 0 0 0-.043-.192 3.32 3.32 0 0 0-3.48.77m5.268 1.168-1.819 1.819 1.46 1.46A3.32 3.32 0 0 0 13.8 4.18a.118.118 0 0 0-.193-.042"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="currentColor" d="M13.037 3.537a5.25 5.25 0 0 0-1.144 5.697l-8.31 8.312c-.786.784-.774 2.061.018 2.853s2.07.803 2.854.02l8.31-8.312a5.25 5.25 0 0 0 5.698-1.145c.036-.035.067-.073.102-.109l-4.91-4.91a.25.25 0 0 1 0-.361l2.962-2.96a.185.185 0 0 0-.068-.306 5.25 5.25 0 0 0-5.512 1.22m8.342 1.848-2.88 2.88 2.312 2.31a5.26 5.26 0 0 0 .874-5.123.186.186 0 0 0-.306-.067"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="currentColor" d="M14.45 1c.459 0 .801.334.801.803v.712c0 .324-.162.585-.405.712l1.325 1.857c.649.91.829 1.775.829 3.001V20c0 1.983-1.01 3.083-2.804 3.083h-3.801A6 6 0 0 0 7 13.084V8.085c0-1.226.163-2.09.812-3.001l1.334-1.857c-.244-.136-.397-.388-.397-.712v-.712c0-.469.324-.803.802-.803zM21 10a.5.5 0 0 1 0 1l.707.707a1 1 0 0 1 .293.707V21a2 2 0 0 1-2 2h-2.378c.628-.844.878-1.902.878-3V10zM5.47 15.47a.75.75 0 1 1 1.06 1.06l-1.72 1.72H9a.75.75 0 0 1 0 1.5H4.81l1.72 1.72.052.056a.75.75 0 0 1-1.056 1.056l-.056-.052-3-3a.8.8 0 0 1-.117-.157.74.74 0 0 1 .117-.903z"/>
|
|
3
|
+
</svg>
|