@sumup-oss/icons 5.24.1 → 5.26.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/Pluxee.js +69 -0
- package/dist/Pos.js +56 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +2 -0
- package/manifest.json +10 -0
- package/package.json +2 -2
- package/web/v2/pluxee_32.svg +4 -0
- package/web/v2/pos_24.svg +3 -0
package/dist/Pluxee.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
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 Pluxee32 = function Pluxee32(props) {
|
|
17
|
+
return /*#__PURE__*/ React.createElement(
|
|
18
|
+
"svg",
|
|
19
|
+
_extends(
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: "32",
|
|
23
|
+
height: "24",
|
|
24
|
+
fill: "none",
|
|
25
|
+
viewBox: "0 0 32 24",
|
|
26
|
+
},
|
|
27
|
+
props,
|
|
28
|
+
),
|
|
29
|
+
/*#__PURE__*/ React.createElement("rect", {
|
|
30
|
+
width: "31",
|
|
31
|
+
height: "23",
|
|
32
|
+
x: ".5",
|
|
33
|
+
y: ".5",
|
|
34
|
+
fill: "#00eb5e",
|
|
35
|
+
stroke: "#ccc",
|
|
36
|
+
rx: "3.5",
|
|
37
|
+
}),
|
|
38
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
39
|
+
fill: "#211d44",
|
|
40
|
+
d: "M26.491 11.282c.536 0 .752.373.752.63H25.74c0-.26.219-.63.752-.63m.631 1.78c-.1.195-.33.327-.625.327-.56 0-.78-.399-.787-.754h2.778a2 2 0 0 0 .029-.303c0-1.255-.864-1.963-2.03-1.963-1.23 0-2.09.709-2.09 1.963s.86 1.963 2.097 1.963 1.788-.67 1.94-1.232zM7.136 13.167c-.499 0-.853-.357-.853-.832s.333-.832.853-.832.853.381.853.832-.337.832-.853.832m.373-2.76c-.547 0-1.016.241-1.259.525v-.451H5v5.182h1.288v-1.855c.302.325.723.449 1.149.449 1.276 0 1.868-.965 1.868-1.925 0-1.186-.76-1.925-1.796-1.925M11.022 9H9.73v5.182h1.293zM14.144 10.481v1.925c0 .292-.04.433-.16.575-.116.137-.297.201-.498.201-.2 0-.382-.064-.498-.2-.119-.143-.159-.284-.159-.576v-1.925H11.54v2.04c0 .573.088.947.363 1.265.291.336.736.47 1.171.47.51 0 .863-.191 1.107-.474l.001.4h1.25v-3.701zM19.633 10.481h-.88l-.97.988-.971-.988h-.88v.88l.987.971-.987.97v.88h.88l.97-.987.97.988h.881v-.88l-.987-.971.987-.97zM22.013 11.282c.536 0 .752.373.752.63h-1.504c0-.26.219-.63.752-.63m.631 1.78c-.1.195-.33.327-.625.327-.56 0-.78-.399-.786-.754h2.778c.007-.05.028-.192.028-.303 0-1.255-.863-1.963-2.03-1.963-1.23 0-2.09.709-2.09 1.963s.86 1.963 2.097 1.963 1.788-.67 1.94-1.232z",
|
|
41
|
+
}),
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
const sizeMap = {
|
|
45
|
+
32: Pluxee32,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated This icon is too heavy to be inlined as a React component. [Load it from a URL instead](https://circuit.sumup.com/?path=/docs/packages-icons--docs#load-from-a-url).
|
|
50
|
+
*/
|
|
51
|
+
export function Pluxee(_ref) {
|
|
52
|
+
let { size = "32", ...props } = _ref;
|
|
53
|
+
const Icon = sizeMap[size] || sizeMap["32"];
|
|
54
|
+
if (
|
|
55
|
+
process.env.NODE_ENV !== "production" &&
|
|
56
|
+
process.env.NODE_ENV !== "test" &&
|
|
57
|
+
!sizeMap[size]
|
|
58
|
+
) {
|
|
59
|
+
console.warn(
|
|
60
|
+
new Error(
|
|
61
|
+
"The '".concat(
|
|
62
|
+
size,
|
|
63
|
+
"' size is not supported by the 'Pluxee' icon. Please use one of the available sizes: '32'.",
|
|
64
|
+
),
|
|
65
|
+
),
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
return /*#__PURE__*/ React.createElement(Icon, props);
|
|
69
|
+
}
|
package/dist/Pos.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 Pos24 = function Pos24(props) {
|
|
17
|
+
return /*#__PURE__*/ React.createElement(
|
|
18
|
+
"svg",
|
|
19
|
+
_extends(
|
|
20
|
+
{
|
|
21
|
+
width: "24",
|
|
22
|
+
height: "24",
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
fill: "none",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
},
|
|
27
|
+
props,
|
|
28
|
+
),
|
|
29
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
30
|
+
d: "M12 19C12.5523 19 13 19.4477 13 20C13 20.5523 12.5523 21 12 21H9C8.44772 21 8 20.5523 8 20C8 19.4477 8.44772 19 9 19H12ZM19.7998 12C20.9199 12 21.4804 11.9998 21.9082 12.2178C22.2845 12.4095 22.5905 12.7155 22.7822 13.0918C23.0002 13.5196 23 14.0801 23 15.2002V17.7998C23 18.9199 23.0002 19.4804 22.7822 19.9082C22.5905 20.2845 22.2845 20.5905 21.9082 20.7822C21.4804 21.0002 20.9199 21 19.7998 21H17.2002C16.0801 21 15.5196 21.0002 15.0918 20.7822C14.7155 20.5905 14.4095 20.2845 14.2178 19.9082C13.9998 19.4804 14 18.9199 14 17.7998V15.2002C14 14.0801 13.9998 13.5196 14.2178 13.0918C14.4095 12.7155 14.7155 12.4095 15.0918 12.2178C15.5196 11.9998 16.0801 12 17.2002 12H19.7998ZM16.5996 13C16.0398 13 15.7598 13.0004 15.5459 13.1094C15.3579 13.2052 15.2052 13.3579 15.1094 13.5459C15.0004 13.7598 15 14.0398 15 14.5996V18.4004C15 18.9602 15.0004 19.2402 15.1094 19.4541C15.2052 19.6421 15.3579 19.7948 15.5459 19.8906C15.7598 19.9996 16.0398 20 16.5996 20H20.4004C20.9602 20 21.2402 19.9996 21.4541 19.8906C21.6421 19.7948 21.7948 19.6421 21.8906 19.4541C21.9996 19.2402 22 18.9602 22 18.4004V14.5996C22 14.0398 21.9996 13.7598 21.8906 13.5459C21.7948 13.3579 21.6421 13.2052 21.4541 13.1094C21.2402 13.0004 20.9602 13 20.4004 13H16.5996ZM21 19H16V14H21V19ZM17.7998 5C18.9199 5 19.4804 4.99979 19.9082 5.21777C20.2845 5.40951 20.5905 5.71554 20.7822 6.0918C21.0002 6.51962 21 7.08009 21 8.2002V11.0303C20.5286 11.0015 19.9476 11 19.2002 11H17.7998C16.1198 11 15.2794 11.0002 14.6377 11.3271C14.0735 11.6147 13.6147 12.0735 13.3271 12.6377C13.0002 13.2794 13 14.1198 13 15.7998V17.2002C13 17.4908 13.0022 17.7563 13.0039 18H5.2002C4.08009 18 3.51962 18.0002 3.0918 17.7822C2.71554 17.5905 2.40951 17.2845 2.21777 16.9082C1.99979 16.4804 2 15.9199 2 14.7998V8.2002C2 7.08009 1.99979 6.51962 2.21777 6.0918C2.40951 5.71554 2.71554 5.40951 3.0918 5.21777C3.51962 4.99979 4.08009 5 5.2002 5H17.7998Z",
|
|
31
|
+
fill: "currentColor",
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
const sizeMap = {
|
|
36
|
+
24: Pos24,
|
|
37
|
+
};
|
|
38
|
+
export function Pos(_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 'Pos' 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
|
@@ -259,6 +259,11 @@ declare const PayPal: IconComponentType<"24" | "32">;
|
|
|
259
259
|
*/
|
|
260
260
|
declare const Pix: IconComponentType<"24" | "32">;
|
|
261
261
|
|
|
262
|
+
/**
|
|
263
|
+
* @deprecated This icon is too heavy to be inlined as a React component. [Load it from a URL instead](https://circuit.sumup.com/?path=/docs/packages-icons--docs#load-from-a-url).
|
|
264
|
+
*/
|
|
265
|
+
declare const Pluxee: IconComponentType<"32">;
|
|
266
|
+
|
|
262
267
|
/**
|
|
263
268
|
* @deprecated This icon is too heavy to be inlined as a React component. [Load it from a URL instead](https://circuit.sumup.com/?path=/docs/packages-icons--docs#load-from-a-url).
|
|
264
269
|
*/
|
|
@@ -955,6 +960,8 @@ declare const PayoutSettings: IconComponentType<"24">;
|
|
|
955
960
|
|
|
956
961
|
declare const Payouts: IconComponentType<"24">;
|
|
957
962
|
|
|
963
|
+
declare const Pos: IconComponentType<"24">;
|
|
964
|
+
|
|
958
965
|
declare const Promote: IconComponentType<"24">;
|
|
959
966
|
|
|
960
967
|
declare const QrCode: IconComponentType<"24">;
|
|
@@ -1116,6 +1123,7 @@ export {
|
|
|
1116
1123
|
Mastercard,
|
|
1117
1124
|
PayPal,
|
|
1118
1125
|
Pix,
|
|
1126
|
+
Pluxee,
|
|
1119
1127
|
Sodexo,
|
|
1120
1128
|
Swile,
|
|
1121
1129
|
Ticket,
|
|
@@ -1344,6 +1352,7 @@ export {
|
|
|
1344
1352
|
PaymentMethods,
|
|
1345
1353
|
PayoutSettings,
|
|
1346
1354
|
Payouts,
|
|
1355
|
+
Pos,
|
|
1347
1356
|
Promote,
|
|
1348
1357
|
QrCode,
|
|
1349
1358
|
Receipt,
|
|
@@ -1464,6 +1473,7 @@ export type IconName =
|
|
|
1464
1473
|
| "mastercard"
|
|
1465
1474
|
| "pay_pal"
|
|
1466
1475
|
| "pix"
|
|
1476
|
+
| "pluxee"
|
|
1467
1477
|
| "sodexo"
|
|
1468
1478
|
| "swile"
|
|
1469
1479
|
| "ticket"
|
|
@@ -1904,6 +1914,7 @@ export type IconName =
|
|
|
1904
1914
|
| "payment_methods"
|
|
1905
1915
|
| "payout_settings"
|
|
1906
1916
|
| "payouts"
|
|
1917
|
+
| "pos"
|
|
1907
1918
|
| "promote"
|
|
1908
1919
|
| "qr_code"
|
|
1909
1920
|
| "receipt"
|
|
@@ -2034,6 +2045,7 @@ type Icons = {
|
|
|
2034
2045
|
mastercard: "24" | "32";
|
|
2035
2046
|
pay_pal: "24" | "32";
|
|
2036
2047
|
pix: "24" | "32";
|
|
2048
|
+
pluxee: "32";
|
|
2037
2049
|
sodexo: "24" | "32";
|
|
2038
2050
|
swile: "24" | "32";
|
|
2039
2051
|
ticket: "24" | "32";
|
|
@@ -2474,6 +2486,7 @@ type Icons = {
|
|
|
2474
2486
|
payment_methods: "24";
|
|
2475
2487
|
payout_settings: "24";
|
|
2476
2488
|
payouts: "24";
|
|
2489
|
+
pos: "24";
|
|
2477
2490
|
promote: "24";
|
|
2478
2491
|
qr_code: "24";
|
|
2479
2492
|
receipt: "24";
|
package/dist/index.js
CHANGED
|
@@ -82,6 +82,7 @@ export { Maestro } from "./Maestro.js";
|
|
|
82
82
|
export { Mastercard } from "./Mastercard.js";
|
|
83
83
|
export { PayPal } from "./PayPal.js";
|
|
84
84
|
export { Pix } from "./Pix.js";
|
|
85
|
+
export { Pluxee } from "./Pluxee.js";
|
|
85
86
|
export { Sodexo } from "./Sodexo.js";
|
|
86
87
|
export { Swile } from "./Swile.js";
|
|
87
88
|
export { Ticket } from "./Ticket.js";
|
|
@@ -522,6 +523,7 @@ export { PaymentLink } from "./PaymentLink.js";
|
|
|
522
523
|
export { PaymentMethods } from "./PaymentMethods.js";
|
|
523
524
|
export { PayoutSettings } from "./PayoutSettings.js";
|
|
524
525
|
export { Payouts } from "./Payouts.js";
|
|
526
|
+
export { Pos } from "./Pos.js";
|
|
525
527
|
export { Promote } from "./Promote.js";
|
|
526
528
|
export { QrCode } from "./QrCode.js";
|
|
527
529
|
export { Receipt } from "./Receipt.js";
|
package/manifest.json
CHANGED
|
@@ -577,6 +577,11 @@
|
|
|
577
577
|
"category": "Card scheme",
|
|
578
578
|
"size": "32"
|
|
579
579
|
},
|
|
580
|
+
{
|
|
581
|
+
"name": "pluxee",
|
|
582
|
+
"category": "Card scheme",
|
|
583
|
+
"size": "32"
|
|
584
|
+
},
|
|
580
585
|
{
|
|
581
586
|
"name": "sodexo",
|
|
582
587
|
"category": "Card scheme",
|
|
@@ -3913,6 +3918,11 @@
|
|
|
3913
3918
|
"category": "Product and feature",
|
|
3914
3919
|
"size": "24"
|
|
3915
3920
|
},
|
|
3921
|
+
{
|
|
3922
|
+
"name": "pos",
|
|
3923
|
+
"category": "Product and feature",
|
|
3924
|
+
"size": "24"
|
|
3925
|
+
},
|
|
3916
3926
|
{
|
|
3917
3927
|
"name": "promote",
|
|
3918
3928
|
"category": "Product and feature",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/icons",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0",
|
|
4
4
|
"description": "A collection of icons by SumUp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@babel/preset-react": "^7.28.5",
|
|
44
44
|
"@biomejs/js-api": "^3.0.0",
|
|
45
45
|
"@types/babel__core": "^7.20.5",
|
|
46
|
-
"fast-xml-parser": "^5.
|
|
46
|
+
"fast-xml-parser": "^5.7.1",
|
|
47
47
|
"tsx": "^4.21.0",
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
49
|
"vitest": "^4.0.6"
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" fill="none" viewBox="0 0 32 24">
|
|
2
|
+
<rect width="31" height="23" x=".5" y=".5" fill="#00eb5e" stroke="#ccc" rx="3.5"/>
|
|
3
|
+
<path fill="#211d44" d="M26.491 11.282c.536 0 .752.373.752.63H25.74c0-.26.219-.63.752-.63m.631 1.78c-.1.195-.33.327-.625.327-.56 0-.78-.399-.787-.754h2.778a2 2 0 0 0 .029-.303c0-1.255-.864-1.963-2.03-1.963-1.23 0-2.09.709-2.09 1.963s.86 1.963 2.097 1.963 1.788-.67 1.94-1.232zM7.136 13.167c-.499 0-.853-.357-.853-.832s.333-.832.853-.832.853.381.853.832-.337.832-.853.832m.373-2.76c-.547 0-1.016.241-1.259.525v-.451H5v5.182h1.288v-1.855c.302.325.723.449 1.149.449 1.276 0 1.868-.965 1.868-1.925 0-1.186-.76-1.925-1.796-1.925M11.022 9H9.73v5.182h1.293zM14.144 10.481v1.925c0 .292-.04.433-.16.575-.116.137-.297.201-.498.201-.2 0-.382-.064-.498-.2-.119-.143-.159-.284-.159-.576v-1.925H11.54v2.04c0 .573.088.947.363 1.265.291.336.736.47 1.171.47.51 0 .863-.191 1.107-.474l.001.4h1.25v-3.701zM19.633 10.481h-.88l-.97.988-.971-.988h-.88v.88l.987.971-.987.97v.88h.88l.97-.987.97.988h.881v-.88l-.987-.971.987-.97zM22.013 11.282c.536 0 .752.373.752.63h-1.504c0-.26.219-.63.752-.63m.631 1.78c-.1.195-.33.327-.625.327-.56 0-.78-.399-.786-.754h2.778c.007-.05.028-.192.028-.303 0-1.255-.863-1.963-2.03-1.963-1.23 0-2.09.709-2.09 1.963s.86 1.963 2.097 1.963 1.788-.67 1.94-1.232z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 19C12.5523 19 13 19.4477 13 20C13 20.5523 12.5523 21 12 21H9C8.44772 21 8 20.5523 8 20C8 19.4477 8.44772 19 9 19H12ZM19.7998 12C20.9199 12 21.4804 11.9998 21.9082 12.2178C22.2845 12.4095 22.5905 12.7155 22.7822 13.0918C23.0002 13.5196 23 14.0801 23 15.2002V17.7998C23 18.9199 23.0002 19.4804 22.7822 19.9082C22.5905 20.2845 22.2845 20.5905 21.9082 20.7822C21.4804 21.0002 20.9199 21 19.7998 21H17.2002C16.0801 21 15.5196 21.0002 15.0918 20.7822C14.7155 20.5905 14.4095 20.2845 14.2178 19.9082C13.9998 19.4804 14 18.9199 14 17.7998V15.2002C14 14.0801 13.9998 13.5196 14.2178 13.0918C14.4095 12.7155 14.7155 12.4095 15.0918 12.2178C15.5196 11.9998 16.0801 12 17.2002 12H19.7998ZM16.5996 13C16.0398 13 15.7598 13.0004 15.5459 13.1094C15.3579 13.2052 15.2052 13.3579 15.1094 13.5459C15.0004 13.7598 15 14.0398 15 14.5996V18.4004C15 18.9602 15.0004 19.2402 15.1094 19.4541C15.2052 19.6421 15.3579 19.7948 15.5459 19.8906C15.7598 19.9996 16.0398 20 16.5996 20H20.4004C20.9602 20 21.2402 19.9996 21.4541 19.8906C21.6421 19.7948 21.7948 19.6421 21.8906 19.4541C21.9996 19.2402 22 18.9602 22 18.4004V14.5996C22 14.0398 21.9996 13.7598 21.8906 13.5459C21.7948 13.3579 21.6421 13.2052 21.4541 13.1094C21.2402 13.0004 20.9602 13 20.4004 13H16.5996ZM21 19H16V14H21V19ZM17.7998 5C18.9199 5 19.4804 4.99979 19.9082 5.21777C20.2845 5.40951 20.5905 5.71554 20.7822 6.0918C21.0002 6.51962 21 7.08009 21 8.2002V11.0303C20.5286 11.0015 19.9476 11 19.2002 11H17.7998C16.1198 11 15.2794 11.0002 14.6377 11.3271C14.0735 11.6147 13.6147 12.0735 13.3271 12.6377C13.0002 13.2794 13 14.1198 13 15.7998V17.2002C13 17.4908 13.0022 17.7563 13.0039 18H5.2002C4.08009 18 3.51962 18.0002 3.0918 17.7822C2.71554 17.5905 2.40951 17.2845 2.21777 16.9082C1.99979 16.4804 2 15.9199 2 14.7998V8.2002C2 7.08009 1.99979 6.51962 2.21777 6.0918C2.40951 5.71554 2.71554 5.40951 3.0918 5.21777C3.51962 4.99979 4.08009 5 5.2002 5H17.7998Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|