@sumup-oss/icons 6.9.0 → 6.10.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/SumupCard.js +111 -0
- package/dist/SumupScheme.js +3 -9
- package/dist/index.d.ts +23 -15
- package/dist/index.js +3 -2
- package/manifest.json +14 -9
- package/package.json +1 -1
- package/web/v2/sumup_card_32.svg +13 -0
- package/web/v2/sumup_scheme_32.svg +2 -3
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
const _excluded = ["size"];
|
|
2
|
+
function _objectWithoutProperties(e, t) {
|
|
3
|
+
if (null == e) return {};
|
|
4
|
+
var o,
|
|
5
|
+
r,
|
|
6
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
7
|
+
if (Object.getOwnPropertySymbols) {
|
|
8
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
9
|
+
for (r = 0; r < n.length; r++)
|
|
10
|
+
(o = n[r]),
|
|
11
|
+
-1 === t.indexOf(o) &&
|
|
12
|
+
{}.propertyIsEnumerable.call(e, o) &&
|
|
13
|
+
(i[o] = e[o]);
|
|
14
|
+
}
|
|
15
|
+
return i;
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
18
|
+
if (null == r) return {};
|
|
19
|
+
var t = {};
|
|
20
|
+
for (var n in r)
|
|
21
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
22
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
23
|
+
t[n] = r[n];
|
|
24
|
+
}
|
|
25
|
+
return t;
|
|
26
|
+
}
|
|
27
|
+
import React from "react";
|
|
28
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
|
+
var SumupCard32 = function SumupCard32(props) {
|
|
30
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
width: "32",
|
|
33
|
+
height: "24",
|
|
34
|
+
fill: "none",
|
|
35
|
+
viewBox: "0 0 32 24",
|
|
36
|
+
...props,
|
|
37
|
+
children: [
|
|
38
|
+
/*#__PURE__*/ _jsxs("g", {
|
|
39
|
+
clipPath: "url(#sumup_card_32_svg__a)",
|
|
40
|
+
children: [
|
|
41
|
+
/*#__PURE__*/ _jsx("rect", {
|
|
42
|
+
width: "31",
|
|
43
|
+
height: "23",
|
|
44
|
+
x: ".5",
|
|
45
|
+
y: ".5",
|
|
46
|
+
fill: "#ff61f2",
|
|
47
|
+
stroke: "#d0cdc3",
|
|
48
|
+
rx: "3.5",
|
|
49
|
+
}),
|
|
50
|
+
/*#__PURE__*/ _jsx("circle", {
|
|
51
|
+
cx: "24",
|
|
52
|
+
cy: "16",
|
|
53
|
+
r: "4",
|
|
54
|
+
fill: "#f79e1b",
|
|
55
|
+
}),
|
|
56
|
+
/*#__PURE__*/ _jsx("circle", {
|
|
57
|
+
cx: "19",
|
|
58
|
+
cy: "16",
|
|
59
|
+
r: "4",
|
|
60
|
+
fill: "#eb001b",
|
|
61
|
+
}),
|
|
62
|
+
/*#__PURE__*/ _jsx("path", {
|
|
63
|
+
fill: "#ff5f00",
|
|
64
|
+
d: "M21.5 12.878A4 4 0 0 1 23 16a4 4 0 0 1-1.5 3.121A4 4 0 0 1 20 16c0-1.263.586-2.389 1.5-3.122",
|
|
65
|
+
}),
|
|
66
|
+
],
|
|
67
|
+
}),
|
|
68
|
+
/*#__PURE__*/ _jsx("defs", {
|
|
69
|
+
children: /*#__PURE__*/ _jsx("clipPath", {
|
|
70
|
+
id: "sumup_card_32_svg__a",
|
|
71
|
+
children: /*#__PURE__*/ _jsx("rect", {
|
|
72
|
+
width: "32",
|
|
73
|
+
height: "24",
|
|
74
|
+
fill: "#fff",
|
|
75
|
+
rx: "4",
|
|
76
|
+
}),
|
|
77
|
+
}),
|
|
78
|
+
}),
|
|
79
|
+
],
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
const sizeMap = {
|
|
83
|
+
32: SumupCard32,
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @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).
|
|
88
|
+
*/
|
|
89
|
+
export function SumupCard(_ref) {
|
|
90
|
+
let _ref$size = _ref.size,
|
|
91
|
+
size = _ref$size === void 0 ? "32" : _ref$size,
|
|
92
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
93
|
+
const Icon = sizeMap[size] || sizeMap["32"];
|
|
94
|
+
if (
|
|
95
|
+
process.env.NODE_ENV !== "production" &&
|
|
96
|
+
process.env.NODE_ENV !== "test" &&
|
|
97
|
+
!sizeMap[size]
|
|
98
|
+
) {
|
|
99
|
+
console.warn(
|
|
100
|
+
new Error(
|
|
101
|
+
"The '".concat(
|
|
102
|
+
size,
|
|
103
|
+
"' size is not supported by the 'SumupCard' icon. Please use one of the available sizes: '32'.",
|
|
104
|
+
),
|
|
105
|
+
),
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
return /*#__PURE__*/ _jsx(Icon, {
|
|
109
|
+
...props,
|
|
110
|
+
});
|
|
111
|
+
}
|
package/dist/SumupScheme.js
CHANGED
|
@@ -38,23 +38,17 @@ var SumupScheme32 = function SumupScheme32(props) {
|
|
|
38
38
|
/*#__PURE__*/ _jsxs("g", {
|
|
39
39
|
clipPath: "url(#sumup_scheme_32_svg__a)",
|
|
40
40
|
children: [
|
|
41
|
-
/*#__PURE__*/ _jsx("rect", {
|
|
42
|
-
width: "32",
|
|
43
|
-
height: "24",
|
|
44
|
-
fill: "#fff",
|
|
45
|
-
rx: "4",
|
|
46
|
-
}),
|
|
47
41
|
/*#__PURE__*/ _jsx("rect", {
|
|
48
42
|
width: "31",
|
|
49
43
|
height: "23",
|
|
50
44
|
x: ".5",
|
|
51
45
|
y: ".5",
|
|
52
|
-
fill: "#
|
|
53
|
-
stroke: "#
|
|
46
|
+
fill: "#ff61f2",
|
|
47
|
+
stroke: "#d0cdc3",
|
|
54
48
|
rx: "3.5",
|
|
55
49
|
}),
|
|
56
50
|
/*#__PURE__*/ _jsx("path", {
|
|
57
|
-
fill: "#
|
|
51
|
+
fill: "#1e1c1c",
|
|
58
52
|
d: "M11.5 17.507a5.06 5.06 0 0 0 7.18 0 5.11 5.11 0 0 0 0-7.207zm8.808-11.014a5.06 5.06 0 0 0-7.18 0 5.11 5.11 0 0 0 0 7.207z",
|
|
59
53
|
}),
|
|
60
54
|
],
|
package/dist/index.d.ts
CHANGED
|
@@ -287,47 +287,52 @@ declare const Sodexo: IconComponentType<"24" | "32">;
|
|
|
287
287
|
/**
|
|
288
288
|
* @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).
|
|
289
289
|
*/
|
|
290
|
-
declare const
|
|
290
|
+
declare const SumupCard: IconComponentType<"32">;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* @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).
|
|
294
294
|
*/
|
|
295
|
-
declare const
|
|
295
|
+
declare const SumupPay: IconComponentType<"32">;
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* @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).
|
|
299
299
|
*/
|
|
300
|
-
declare const
|
|
300
|
+
declare const SumupScheme: IconComponentType<"32">;
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
303
|
* @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).
|
|
304
304
|
*/
|
|
305
|
-
declare const
|
|
305
|
+
declare const Swile: IconComponentType<"24" | "32">;
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* @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).
|
|
309
309
|
*/
|
|
310
|
-
declare const
|
|
310
|
+
declare const Ticket: IconComponentType<"24" | "32">;
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* @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).
|
|
314
314
|
*/
|
|
315
|
-
declare const
|
|
315
|
+
declare const UnionPay: IconComponentType<"24" | "32">;
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* @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).
|
|
319
319
|
*/
|
|
320
|
-
declare const
|
|
320
|
+
declare const Visa: IconComponentType<"24" | "32">;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* @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).
|
|
324
324
|
*/
|
|
325
|
-
declare const
|
|
325
|
+
declare const VisaElectron: IconComponentType<"24" | "32">;
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* @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).
|
|
329
329
|
*/
|
|
330
|
-
declare const
|
|
330
|
+
declare const Vpay: IconComponentType<"24" | "32">;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @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).
|
|
334
|
+
*/
|
|
335
|
+
declare const Vr: IconComponentType<"24" | "32">;
|
|
331
336
|
|
|
332
337
|
declare const Callback: IconComponentType<"24">;
|
|
333
338
|
|
|
@@ -1294,6 +1299,9 @@ export {
|
|
|
1294
1299
|
Pix,
|
|
1295
1300
|
Pluxee,
|
|
1296
1301
|
Sodexo,
|
|
1302
|
+
SumupCard,
|
|
1303
|
+
SumupPay,
|
|
1304
|
+
SumupScheme,
|
|
1297
1305
|
Swile,
|
|
1298
1306
|
Ticket,
|
|
1299
1307
|
UnionPay,
|
|
@@ -1301,8 +1309,6 @@ export {
|
|
|
1301
1309
|
VisaElectron,
|
|
1302
1310
|
Vpay,
|
|
1303
1311
|
Vr,
|
|
1304
|
-
SumupPay,
|
|
1305
|
-
SumupScheme,
|
|
1306
1312
|
Callback,
|
|
1307
1313
|
Email,
|
|
1308
1314
|
EmailChat,
|
|
@@ -1703,6 +1709,9 @@ export type IconName =
|
|
|
1703
1709
|
| "pix"
|
|
1704
1710
|
| "pluxee"
|
|
1705
1711
|
| "sodexo"
|
|
1712
|
+
| "sumup_card"
|
|
1713
|
+
| "sumup_pay"
|
|
1714
|
+
| "sumup_scheme"
|
|
1706
1715
|
| "swile"
|
|
1707
1716
|
| "ticket"
|
|
1708
1717
|
| "union_pay"
|
|
@@ -1710,8 +1719,6 @@ export type IconName =
|
|
|
1710
1719
|
| "visa_electron"
|
|
1711
1720
|
| "vpay"
|
|
1712
1721
|
| "vr"
|
|
1713
|
-
| "sumup_pay"
|
|
1714
|
-
| "sumup_scheme"
|
|
1715
1722
|
| "callback"
|
|
1716
1723
|
| "email"
|
|
1717
1724
|
| "email_chat"
|
|
@@ -2122,6 +2129,9 @@ type Icons = {
|
|
|
2122
2129
|
pix: "24" | "32";
|
|
2123
2130
|
pluxee: "32";
|
|
2124
2131
|
sodexo: "24" | "32";
|
|
2132
|
+
sumup_card: "32";
|
|
2133
|
+
sumup_pay: "32";
|
|
2134
|
+
sumup_scheme: "32";
|
|
2125
2135
|
swile: "24" | "32";
|
|
2126
2136
|
ticket: "24" | "32";
|
|
2127
2137
|
union_pay: "24" | "32";
|
|
@@ -2129,8 +2139,6 @@ type Icons = {
|
|
|
2129
2139
|
visa_electron: "24" | "32";
|
|
2130
2140
|
vpay: "24" | "32";
|
|
2131
2141
|
vr: "24" | "32";
|
|
2132
|
-
sumup_pay: "32";
|
|
2133
|
-
sumup_scheme: "32";
|
|
2134
2142
|
callback: "24";
|
|
2135
2143
|
email: "24";
|
|
2136
2144
|
email_chat: "24";
|
package/dist/index.js
CHANGED
|
@@ -87,6 +87,9 @@ export { PayPal } from "./PayPal.js";
|
|
|
87
87
|
export { Pix } from "./Pix.js";
|
|
88
88
|
export { Pluxee } from "./Pluxee.js";
|
|
89
89
|
export { Sodexo } from "./Sodexo.js";
|
|
90
|
+
export { SumupCard } from "./SumupCard.js";
|
|
91
|
+
export { SumupPay } from "./SumupPay.js";
|
|
92
|
+
export { SumupScheme } from "./SumupScheme.js";
|
|
90
93
|
export { Swile } from "./Swile.js";
|
|
91
94
|
export { Ticket } from "./Ticket.js";
|
|
92
95
|
export { UnionPay } from "./UnionPay.js";
|
|
@@ -94,8 +97,6 @@ export { Visa } from "./Visa.js";
|
|
|
94
97
|
export { VisaElectron } from "./VisaElectron.js";
|
|
95
98
|
export { Vpay } from "./Vpay.js";
|
|
96
99
|
export { Vr } from "./Vr.js";
|
|
97
|
-
export { SumupPay } from "./SumupPay.js";
|
|
98
|
-
export { SumupScheme } from "./SumupScheme.js";
|
|
99
100
|
export { Callback } from "./Callback.js";
|
|
100
101
|
export { Email } from "./Email.js";
|
|
101
102
|
export { EmailChat } from "./EmailChat.js";
|
package/manifest.json
CHANGED
|
@@ -607,47 +607,52 @@
|
|
|
607
607
|
"size": "32"
|
|
608
608
|
},
|
|
609
609
|
{
|
|
610
|
-
"name": "
|
|
610
|
+
"name": "sumup_card",
|
|
611
611
|
"category": "Card scheme",
|
|
612
612
|
"size": "32"
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
|
-
"name": "
|
|
615
|
+
"name": "sumup_pay",
|
|
616
616
|
"category": "Card scheme",
|
|
617
617
|
"size": "32"
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
|
-
"name": "
|
|
620
|
+
"name": "sumup_scheme",
|
|
621
621
|
"category": "Card scheme",
|
|
622
622
|
"size": "32"
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
|
-
"name": "
|
|
625
|
+
"name": "swile",
|
|
626
626
|
"category": "Card scheme",
|
|
627
627
|
"size": "32"
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
|
-
"name": "
|
|
630
|
+
"name": "ticket",
|
|
631
631
|
"category": "Card scheme",
|
|
632
632
|
"size": "32"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
|
-
"name": "
|
|
635
|
+
"name": "union_pay",
|
|
636
636
|
"category": "Card scheme",
|
|
637
637
|
"size": "32"
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
|
-
"name": "
|
|
640
|
+
"name": "visa",
|
|
641
641
|
"category": "Card scheme",
|
|
642
642
|
"size": "32"
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
|
-
"name": "
|
|
645
|
+
"name": "visa_electron",
|
|
646
646
|
"category": "Card scheme",
|
|
647
647
|
"size": "32"
|
|
648
648
|
},
|
|
649
649
|
{
|
|
650
|
-
"name": "
|
|
650
|
+
"name": "vpay",
|
|
651
|
+
"category": "Card scheme",
|
|
652
|
+
"size": "32"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "vr",
|
|
651
656
|
"category": "Card scheme",
|
|
652
657
|
"size": "32"
|
|
653
658
|
},
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" fill="none" viewBox="0 0 32 24">
|
|
2
|
+
<g clip-path="url(#sumup_card_32_svg__a)">
|
|
3
|
+
<rect width="31" height="23" x=".5" y=".5" fill="#ff61f2" stroke="#d0cdc3" rx="3.5"/>
|
|
4
|
+
<circle cx="24" cy="16" r="4" fill="#f79e1b"/>
|
|
5
|
+
<circle cx="19" cy="16" r="4" fill="#eb001b"/>
|
|
6
|
+
<path fill="#ff5f00" d="M21.5 12.878A4 4 0 0 1 23 16a4 4 0 0 1-1.5 3.121A4 4 0 0 1 20 16c0-1.263.586-2.389 1.5-3.122"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="sumup_card_32_svg__a">
|
|
10
|
+
<rect width="32" height="24" fill="#fff" rx="4"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" fill="none" viewBox="0 0 32 24">
|
|
2
2
|
<g clip-path="url(#sumup_scheme_32_svg__a)">
|
|
3
|
-
<rect width="
|
|
4
|
-
<
|
|
5
|
-
<path fill="#fff" d="M11.5 17.507a5.06 5.06 0 0 0 7.18 0 5.11 5.11 0 0 0 0-7.207zm8.808-11.014a5.06 5.06 0 0 0-7.18 0 5.11 5.11 0 0 0 0 7.207z"/>
|
|
3
|
+
<rect width="31" height="23" x=".5" y=".5" fill="#ff61f2" stroke="#d0cdc3" rx="3.5"/>
|
|
4
|
+
<path fill="#1e1c1c" d="M11.5 17.507a5.06 5.06 0 0 0 7.18 0 5.11 5.11 0 0 0 0-7.207zm8.808-11.014a5.06 5.06 0 0 0-7.18 0 5.11 5.11 0 0 0 0 7.207z"/>
|
|
6
5
|
</g>
|
|
7
6
|
<defs>
|
|
8
7
|
<clipPath id="sumup_scheme_32_svg__a">
|