@sumup-oss/icons 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.
@@ -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 Bancomat32 = function Bancomat32(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: "#fff",
35
+ stroke: "#ccc",
36
+ rx: "3.5",
37
+ }),
38
+ /*#__PURE__*/ React.createElement("path", {
39
+ fill: "#41b6e6",
40
+ d: "m21.56 10.194-1.3.002-.025-.117c1.794-.568 2.516-1.741 2.516-3.1 0-1.745-1.19-2.977-3.153-2.979h-4.229l-1.42 2.717h3.482c.984 0 1.851.274 1.851 1.517 0 1.483-1.235 1.967-2.497 1.967h-4.66l-1.446 2.765h4.502c1.566 0 1.967.751 1.967 1.632 0 1.122-.65 2.114-2.399 2.114H8.72L7 20h8.531c3.432 0 5.159-1.76 5.159-4.145 0-1.612-.789-2.435-1.908-2.777l.029-.124L24 12.953v-.26c0-1.487-.755-2.5-2.44-2.499",
41
+ }),
42
+ );
43
+ };
44
+ const sizeMap = {
45
+ 32: Bancomat32,
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 Bancomat(_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 'Bancomat' icon. Please use one of the available sizes: '32'.",
64
+ ),
65
+ ),
66
+ );
67
+ }
68
+ return /*#__PURE__*/ React.createElement(Icon, props);
69
+ }
@@ -0,0 +1,60 @@
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 SumupScheme32 = function SumupScheme32(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("path", {
30
+ fill: "currentColor",
31
+ d: "M27.488 0A4.51 4.51 0 0 1 32 4.512v14.976A4.51 4.51 0 0 1 27.488 24H4.512A4.51 4.51 0 0 1 0 19.488V4.512A4.51 4.51 0 0 1 4.512 0zm-16.18 17.855a5.4 5.4 0 0 0 7.649 0 5.424 5.424 0 0 0 0-7.662zm9.384-11.71a5.4 5.4 0 0 0-7.649 0 5.424 5.424 0 0 0 0 7.663z",
32
+ }),
33
+ );
34
+ };
35
+ const sizeMap = {
36
+ 32: SumupScheme32,
37
+ };
38
+
39
+ /**
40
+ * @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).
41
+ */
42
+ export function SumupScheme(_ref) {
43
+ let { size = "32", ...props } = _ref;
44
+ const Icon = sizeMap[size] || sizeMap["32"];
45
+ if (
46
+ process.env.NODE_ENV !== "production" &&
47
+ process.env.NODE_ENV !== "test" &&
48
+ !sizeMap[size]
49
+ ) {
50
+ console.warn(
51
+ new Error(
52
+ "The '".concat(
53
+ size,
54
+ "' size is not supported by the 'SumupScheme' icon. Please use one of the available sizes: '32'.",
55
+ ),
56
+ ),
57
+ );
58
+ }
59
+ return /*#__PURE__*/ React.createElement(Icon, props);
60
+ }
package/dist/Twint.js ADDED
@@ -0,0 +1,68 @@
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 Twint24 = function Twint24(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: "M22 17.0563C22 17.3422 21.7899 17.6934 21.5334 17.8364L12.4673 22.8928C12.2108 23.0357 11.7907 23.0357 11.5341 22.8928L2.46662 17.8364C2.21005 17.6934 2 17.3422 2 17.0563V6.94375C2 6.65778 2.21005 6.30644 2.46662 6.16346L11.5341 1.10724C11.7907 0.964254 12.2108 0.964254 12.4673 1.10724L21.5334 6.16346C21.7899 6.30644 22 6.65778 22 6.94375V17.0563Z",
31
+ fill: "black",
32
+ }),
33
+ /*#__PURE__*/ React.createElement("path", {
34
+ d: "M16.7205 12.0244L14.3592 15.3716L13.1468 13.5769L14.5467 11.5614C14.8061 11.2006 15.3601 10.216 14.7187 8.86516C14.1999 7.77303 13.0749 7.24194 12.0867 7.24194C11.0985 7.24194 10.02 7.73218 9.44906 8.86516C8.79635 10.1616 9.36307 11.1829 9.60836 11.5206C9.60836 11.5206 10.3809 12.6209 11.0322 13.5483L12.0839 15.0134L13.6684 17.3489C13.6783 17.3652 13.9306 17.7356 14.3761 17.7356C14.8216 17.7356 15.057 17.372 15.0894 17.3257L18.7956 12.0258H16.7205V12.0244ZM12.0754 12.1102C12.0754 12.1102 11.4565 11.2047 11.0548 10.5701C10.6248 9.89057 11.1041 8.87742 12.0754 8.87742C13.0467 8.87742 13.5274 9.89057 13.0961 10.5701C12.6943 11.2033 12.0754 12.1102 12.0754 12.1102Z",
35
+ fill: "white",
36
+ }),
37
+ /*#__PURE__*/ React.createElement("path", {
38
+ d: "M9.79594 15.264L7.47409 12.1143C7.47409 12.1143 6.85521 11.2047 6.45344 10.5715C6.02347 9.89195 6.50278 8.8788 7.47409 8.8788C7.59533 8.8788 7.70952 8.89514 7.81384 8.92374L8.63431 7.47482C8.25932 7.31822 7.86177 7.2406 7.48537 7.2406C6.49855 7.2406 5.41869 7.73083 4.84774 8.86382C4.19503 10.1602 4.76175 11.1815 5.00704 11.5193L9.0671 17.3285C9.10093 17.3788 9.35892 17.7452 9.7903 17.7452C10.2217 17.7452 10.4726 17.387 10.5036 17.3407L11.7273 15.5364L10.677 14.0399L9.79453 15.264H9.79594Z",
39
+ fill: "white",
40
+ }),
41
+ );
42
+ };
43
+ const sizeMap = {
44
+ 24: Twint24,
45
+ };
46
+
47
+ /**
48
+ * @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).
49
+ */
50
+ export function Twint(_ref) {
51
+ let { size = "24", ...props } = _ref;
52
+ const Icon = sizeMap[size] || sizeMap["24"];
53
+ if (
54
+ process.env.NODE_ENV !== "production" &&
55
+ process.env.NODE_ENV !== "test" &&
56
+ !sizeMap[size]
57
+ ) {
58
+ console.warn(
59
+ new Error(
60
+ "The '".concat(
61
+ size,
62
+ "' size is not supported by the 'Twint' icon. Please use one of the available sizes: '24'.",
63
+ ),
64
+ ),
65
+ );
66
+ }
67
+ return /*#__PURE__*/ React.createElement(Icon, props);
68
+ }
package/dist/index.d.ts CHANGED
@@ -154,6 +154,11 @@ declare const Apm: IconComponentType<"32">;
154
154
  */
155
155
  declare const ApplePay: IconComponentType<"24" | "32">;
156
156
 
157
+ /**
158
+ * @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).
159
+ */
160
+ declare const Bancomat: IconComponentType<"32">;
161
+
157
162
  /**
158
163
  * @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).
159
164
  */
@@ -299,6 +304,11 @@ declare const Vr: IconComponentType<"24" | "32">;
299
304
  */
300
305
  declare const SumupPay: IconComponentType<"32">;
301
306
 
307
+ /**
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
+ */
310
+ declare const SumupScheme: IconComponentType<"32">;
311
+
302
312
  declare const Callback: IconComponentType<"24">;
303
313
 
304
314
  declare const Email: IconComponentType<"24">;
@@ -882,6 +892,11 @@ declare const Sofort: IconComponentType<"24">;
882
892
  */
883
893
  declare const Split: IconComponentType<"24">;
884
894
 
895
+ /**
896
+ * @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).
897
+ */
898
+ declare const Twint: IconComponentType<"24">;
899
+
885
900
  declare const Account: IconComponentType<"24">;
886
901
 
887
902
  declare const Accounting: IconComponentType<"24">;
@@ -1080,6 +1095,7 @@ export {
1080
1095
  AmericanExpress,
1081
1096
  Apm,
1082
1097
  ApplePay,
1098
+ Bancomat,
1083
1099
  Bancontact,
1084
1100
  Boleto,
1085
1101
  CardUnknown,
@@ -1109,6 +1125,7 @@ export {
1109
1125
  Vpay,
1110
1126
  Vr,
1111
1127
  SumupPay,
1128
+ SumupScheme,
1112
1129
  Callback,
1113
1130
  Email,
1114
1131
  EmailChat,
@@ -1297,6 +1314,7 @@ export {
1297
1314
  Sepa,
1298
1315
  Sofort,
1299
1316
  Split,
1317
+ Twint,
1300
1318
  Account,
1301
1319
  Accounting,
1302
1320
  Apps,
@@ -1425,6 +1443,7 @@ export type IconName =
1425
1443
  | "american_express"
1426
1444
  | "apm"
1427
1445
  | "apple_pay"
1446
+ | "bancomat"
1428
1447
  | "bancontact"
1429
1448
  | "boleto"
1430
1449
  | "card_unknown"
@@ -1454,6 +1473,7 @@ export type IconName =
1454
1473
  | "vpay"
1455
1474
  | "vr"
1456
1475
  | "sumup_pay"
1476
+ | "sumup_scheme"
1457
1477
  | "callback"
1458
1478
  | "email"
1459
1479
  | "email_chat"
@@ -1854,6 +1874,7 @@ export type IconName =
1854
1874
  | "sepa"
1855
1875
  | "sofort"
1856
1876
  | "split"
1877
+ | "twint"
1857
1878
  | "account"
1858
1879
  | "accounting"
1859
1880
  | "apps"
@@ -1992,6 +2013,7 @@ type Icons = {
1992
2013
  american_express: "24" | "32";
1993
2014
  apm: "32";
1994
2015
  apple_pay: "24" | "32";
2016
+ bancomat: "32";
1995
2017
  bancontact: "24" | "32";
1996
2018
  boleto: "24" | "32";
1997
2019
  card_unknown: "24" | "32";
@@ -2021,6 +2043,7 @@ type Icons = {
2021
2043
  vpay: "24" | "32";
2022
2044
  vr: "24" | "32";
2023
2045
  sumup_pay: "32";
2046
+ sumup_scheme: "32";
2024
2047
  callback: "24";
2025
2048
  email: "24";
2026
2049
  email_chat: "24";
@@ -2421,6 +2444,7 @@ type Icons = {
2421
2444
  sepa: "24";
2422
2445
  sofort: "24";
2423
2446
  split: "24";
2447
+ twint: "24";
2424
2448
  account: "24";
2425
2449
  accounting: "24";
2426
2450
  apps: "24";
package/dist/index.js CHANGED
@@ -61,6 +61,7 @@ export { AlternativePaymentMethod } from "./AlternativePaymentMethod.js";
61
61
  export { AmericanExpress } from "./AmericanExpress.js";
62
62
  export { Apm } from "./Apm.js";
63
63
  export { ApplePay } from "./ApplePay.js";
64
+ export { Bancomat } from "./Bancomat.js";
64
65
  export { Bancontact } from "./Bancontact.js";
65
66
  export { Boleto } from "./Boleto.js";
66
67
  export { CardUnknown } from "./CardUnknown.js";
@@ -90,6 +91,7 @@ export { VisaElectron } from "./VisaElectron.js";
90
91
  export { Vpay } from "./Vpay.js";
91
92
  export { Vr } from "./Vr.js";
92
93
  export { SumupPay } from "./SumupPay.js";
94
+ export { SumupScheme } from "./SumupScheme.js";
93
95
  export { Callback } from "./Callback.js";
94
96
  export { Email } from "./Email.js";
95
97
  export { EmailChat } from "./EmailChat.js";
@@ -490,6 +492,7 @@ export { Satispay } from "./Satispay.js";
490
492
  export { Sepa } from "./Sepa.js";
491
493
  export { Sofort } from "./Sofort.js";
492
494
  export { Split } from "./Split.js";
495
+ export { Twint } from "./Twint.js";
493
496
  export { Account } from "./Account.js";
494
497
  export { Accounting } from "./Accounting.js";
495
498
  export { Apps } from "./Apps.js";
package/manifest.json CHANGED
@@ -472,6 +472,11 @@
472
472
  "category": "Card scheme",
473
473
  "size": "32"
474
474
  },
475
+ {
476
+ "name": "bancomat",
477
+ "category": "Card scheme",
478
+ "size": "32"
479
+ },
475
480
  {
476
481
  "name": "bancontact",
477
482
  "category": "Card scheme",
@@ -617,6 +622,11 @@
617
622
  "category": "Card scheme",
618
623
  "size": "32"
619
624
  },
625
+ {
626
+ "name": "sumup_scheme",
627
+ "category": "Card scheme",
628
+ "size": "32"
629
+ },
620
630
  {
621
631
  "name": "callback",
622
632
  "category": "Communication",
@@ -3723,6 +3733,11 @@
3723
3733
  "category": "Payment method",
3724
3734
  "size": "24"
3725
3735
  },
3736
+ {
3737
+ "name": "twint",
3738
+ "category": "Payment method",
3739
+ "size": "24"
3740
+ },
3726
3741
  {
3727
3742
  "name": "union_pay",
3728
3743
  "category": "Payment method",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.22.0",
3
+ "version": "5.24.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,6 +21,9 @@
21
21
  "directory": "packages/icons",
22
22
  "url": "git+https://github.com/sumup-oss/circuit-ui.git"
23
23
  },
24
+ "publishConfig": {
25
+ "provenance": true
26
+ },
24
27
  "license": "Apache-2.0",
25
28
  "bugs": {
26
29
  "url": "https://github.com/sumup-oss/circuit-ui/issues"
@@ -35,15 +38,15 @@
35
38
  "prepublish": "npm run build"
36
39
  },
37
40
  "devDependencies": {
38
- "@babel/core": "^7.28.3",
39
- "@babel/preset-env": "^7.28.3",
40
- "@babel/preset-react": "^7.27.1",
41
+ "@babel/core": "^7.29.0",
42
+ "@babel/preset-env": "^7.29.2",
43
+ "@babel/preset-react": "^7.28.5",
41
44
  "@biomejs/js-api": "^3.0.0",
42
45
  "@types/babel__core": "^7.20.5",
43
- "fast-xml-parser": "^5.2.5",
44
- "tsx": "^4.20.5",
45
- "typescript": "^5.9.2",
46
- "vitest": "^3.0.9"
46
+ "fast-xml-parser": "^5.5.7",
47
+ "tsx": "^4.21.0",
48
+ "typescript": "^5.9.3",
49
+ "vitest": "^4.0.6"
47
50
  },
48
51
  "peerDependencies": {
49
52
  "react": ">=16.0.0 <20.0.0"
@@ -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="#fff" stroke="#ccc" rx="3.5"/>
3
+ <path fill="#41b6e6" d="m21.56 10.194-1.3.002-.025-.117c1.794-.568 2.516-1.741 2.516-3.1 0-1.745-1.19-2.977-3.153-2.979h-4.229l-1.42 2.717h3.482c.984 0 1.851.274 1.851 1.517 0 1.483-1.235 1.967-2.497 1.967h-4.66l-1.446 2.765h4.502c1.566 0 1.967.751 1.967 1.632 0 1.122-.65 2.114-2.399 2.114H8.72L7 20h8.531c3.432 0 5.159-1.76 5.159-4.145 0-1.612-.789-2.435-1.908-2.777l.029-.124L24 12.953v-.26c0-1.487-.755-2.5-2.44-2.499"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" fill="none" viewBox="0 0 32 24">
2
+ <path fill="currentColor" d="M27.488 0A4.51 4.51 0 0 1 32 4.512v14.976A4.51 4.51 0 0 1 27.488 24H4.512A4.51 4.51 0 0 1 0 19.488V4.512A4.51 4.51 0 0 1 4.512 0zm-16.18 17.855a5.4 5.4 0 0 0 7.649 0 5.424 5.424 0 0 0 0-7.662zm9.384-11.71a5.4 5.4 0 0 0-7.649 0 5.424 5.424 0 0 0 0 7.663z"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 17.0563C22 17.3422 21.7899 17.6934 21.5334 17.8364L12.4673 22.8928C12.2108 23.0357 11.7907 23.0357 11.5341 22.8928L2.46662 17.8364C2.21005 17.6934 2 17.3422 2 17.0563V6.94375C2 6.65778 2.21005 6.30644 2.46662 6.16346L11.5341 1.10724C11.7907 0.964254 12.2108 0.964254 12.4673 1.10724L21.5334 6.16346C21.7899 6.30644 22 6.65778 22 6.94375V17.0563Z" fill="black"/>
3
+ <path d="M16.7205 12.0244L14.3592 15.3716L13.1468 13.5769L14.5467 11.5614C14.8061 11.2006 15.3601 10.216 14.7187 8.86516C14.1999 7.77303 13.0749 7.24194 12.0867 7.24194C11.0985 7.24194 10.02 7.73218 9.44906 8.86516C8.79635 10.1616 9.36307 11.1829 9.60836 11.5206C9.60836 11.5206 10.3809 12.6209 11.0322 13.5483L12.0839 15.0134L13.6684 17.3489C13.6783 17.3652 13.9306 17.7356 14.3761 17.7356C14.8216 17.7356 15.057 17.372 15.0894 17.3257L18.7956 12.0258H16.7205V12.0244ZM12.0754 12.1102C12.0754 12.1102 11.4565 11.2047 11.0548 10.5701C10.6248 9.89057 11.1041 8.87742 12.0754 8.87742C13.0467 8.87742 13.5274 9.89057 13.0961 10.5701C12.6943 11.2033 12.0754 12.1102 12.0754 12.1102Z" fill="white"/>
4
+ <path d="M9.79594 15.264L7.47409 12.1143C7.47409 12.1143 6.85521 11.2047 6.45344 10.5715C6.02347 9.89195 6.50278 8.8788 7.47409 8.8788C7.59533 8.8788 7.70952 8.89514 7.81384 8.92374L8.63431 7.47482C8.25932 7.31822 7.86177 7.2406 7.48537 7.2406C6.49855 7.2406 5.41869 7.73083 4.84774 8.86382C4.19503 10.1602 4.76175 11.1815 5.00704 11.5193L9.0671 17.3285C9.10093 17.3788 9.35892 17.7452 9.7903 17.7452C10.2217 17.7452 10.4726 17.387 10.5036 17.3407L11.7273 15.5364L10.677 14.0399L9.79453 15.264H9.79594Z" fill="white"/>
5
+ </svg>