@sumup-oss/icons 5.22.0 → 5.23.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: "M7.01 14.484c-.801 1.542-1.575 3.147-2.088 4.448H5.99q.182-.51.378-1.014a4.781 4.781 0 0 1 1.11-.001c0 .367-.023.71-.04 1.015h1.056c0-1.491-.093-2.966-.252-4.448zm.117 2.467c-.13 0-.246.005-.372.014.188-.44.395-.899.619-1.356h.05c.036.457.06.914.06 1.356a5 5 0 0 0-.357-.014M17.898 14.414c-1.556 0-2.112 1.727-2.112 2.864S16.346 19 17.246 19c1.555 0 2.094-1.732 2.094-2.87 0-1.136-.543-1.716-1.442-1.716m-.56 3.648c-.321 0-.534-.256-.534-.78 0-.583.262-1.93 1.003-1.93.319 0 .534.249.534.774 0 .582-.264 1.937-1.003 1.937M22.514 14.484c-.363.577-.874 1.68-1.047 2.34h-.05a6 6 0 0 0 .052-.827c0-.55-.051-1.14-.132-1.513h-1.342l-.919 4.448h.942l.686-3.321h.046c.017.322.028.647.028.933-.001.486-.036.934-.093 1.375h1.094c.232-.77.573-1.54.932-2.308h.046l-.686 3.32h.942l.912-4.447zM4.638 16.594l.007-.044c.594-.175.861-.59.861-1.093 0-.584-.363-.973-1.093-.973H2.919L2 18.932h1.791c.938 0 1.435-.755 1.435-1.43 0-.396-.17-.759-.588-.908m-.977 1.448h-.5l.197-.95h.386c.39 0 .534.139.534.4 0 .341-.247.55-.617.55m.262-1.778h-.395l.183-.892h.358c.217 0 .409.085.409.38 0 .328-.236.512-.555.512M15.78 16.174q.02-.164.02-.321c0-.804-.375-1.439-1.317-1.439-1.555 0-2.14 1.727-2.14 2.876S12.909 19 13.788 19c1.145 0 1.746-.988 1.795-1.767H14.6c-.068.448-.293.83-.7.83-.327 0-.56-.25-.56-.78 0-.577.272-1.931 1.037-1.931.338 0 .428.263.428.545 0 .093-.009.19-.022.277h.998M27.138 14.484l-.203.994c.32-.037.658-.062.951-.076l-.73 3.53h.99l.729-3.53c.287.014.615.04.92.076l.205-.994zM11.683 14.484l-.685 3.327h-.053c.04-.42.074-.97.074-1.578 0-.607-.035-1.28-.11-1.749H9.555l-.919 4.448h.932l.684-3.325h.054c-.04.42-.074.97-.074 1.578s.034 1.277.11 1.747H11.7l.916-4.448zM25.24 14.484c-.802 1.542-1.575 3.147-2.089 4.448h1.067q.183-.51.378-1.014a4.78 4.78 0 0 1 1.11-.001c0 .367-.023.71-.04 1.015h1.056c0-1.491-.093-2.966-.251-4.448zm.116 2.467c-.13 0-.246.005-.371.014.187-.44.394-.899.618-1.356h.051c.035.457.058.914.058 1.356a5 5 0 0 0-.356-.014M20.119 7.484l-.747.001-.014-.065c1.03-.32 1.445-.98 1.445-1.744 0-.982-.683-1.675-1.81-1.676h-2.428l-.816 1.528h2c.565 0 1.062.155 1.062.854 0 .834-.709 1.106-1.433 1.106h-2.676l-.83 1.555h2.585c.9 0 1.129.423 1.129.918 0 .631-.373 1.19-1.377 1.19h-3.462L11.76 13h4.898c1.97 0 2.962-.99 2.962-2.332 0-.906-.453-1.37-1.096-1.561l.017-.07 2.979-.001v-.147c0-.836-.434-1.406-1.401-1.405",
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
+ }
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
  */
@@ -882,6 +887,11 @@ declare const Sofort: IconComponentType<"24">;
882
887
  */
883
888
  declare const Split: IconComponentType<"24">;
884
889
 
890
+ /**
891
+ * @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).
892
+ */
893
+ declare const Twint: IconComponentType<"24">;
894
+
885
895
  declare const Account: IconComponentType<"24">;
886
896
 
887
897
  declare const Accounting: IconComponentType<"24">;
@@ -1080,6 +1090,7 @@ export {
1080
1090
  AmericanExpress,
1081
1091
  Apm,
1082
1092
  ApplePay,
1093
+ Bancomat,
1083
1094
  Bancontact,
1084
1095
  Boleto,
1085
1096
  CardUnknown,
@@ -1297,6 +1308,7 @@ export {
1297
1308
  Sepa,
1298
1309
  Sofort,
1299
1310
  Split,
1311
+ Twint,
1300
1312
  Account,
1301
1313
  Accounting,
1302
1314
  Apps,
@@ -1425,6 +1437,7 @@ export type IconName =
1425
1437
  | "american_express"
1426
1438
  | "apm"
1427
1439
  | "apple_pay"
1440
+ | "bancomat"
1428
1441
  | "bancontact"
1429
1442
  | "boleto"
1430
1443
  | "card_unknown"
@@ -1854,6 +1867,7 @@ export type IconName =
1854
1867
  | "sepa"
1855
1868
  | "sofort"
1856
1869
  | "split"
1870
+ | "twint"
1857
1871
  | "account"
1858
1872
  | "accounting"
1859
1873
  | "apps"
@@ -1992,6 +2006,7 @@ type Icons = {
1992
2006
  american_express: "24" | "32";
1993
2007
  apm: "32";
1994
2008
  apple_pay: "24" | "32";
2009
+ bancomat: "32";
1995
2010
  bancontact: "24" | "32";
1996
2011
  boleto: "24" | "32";
1997
2012
  card_unknown: "24" | "32";
@@ -2421,6 +2436,7 @@ type Icons = {
2421
2436
  sepa: "24";
2422
2437
  sofort: "24";
2423
2438
  split: "24";
2439
+ twint: "24";
2424
2440
  account: "24";
2425
2441
  accounting: "24";
2426
2442
  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";
@@ -490,6 +491,7 @@ export { Satispay } from "./Satispay.js";
490
491
  export { Sepa } from "./Sepa.js";
491
492
  export { Sofort } from "./Sofort.js";
492
493
  export { Split } from "./Split.js";
494
+ export { Twint } from "./Twint.js";
493
495
  export { Account } from "./Account.js";
494
496
  export { Accounting } from "./Accounting.js";
495
497
  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",
@@ -3723,6 +3728,11 @@
3723
3728
  "category": "Payment method",
3724
3729
  "size": "24"
3725
3730
  },
3731
+ {
3732
+ "name": "twint",
3733
+ "category": "Payment method",
3734
+ "size": "24"
3735
+ },
3726
3736
  {
3727
3737
  "name": "union_pay",
3728
3738
  "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.23.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.0",
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="M7.01 14.484c-.801 1.542-1.575 3.147-2.088 4.448H5.99q.182-.51.378-1.014a4.781 4.781 0 0 1 1.11-.001c0 .367-.023.71-.04 1.015h1.056c0-1.491-.093-2.966-.252-4.448zm.117 2.467c-.13 0-.246.005-.372.014.188-.44.395-.899.619-1.356h.05c.036.457.06.914.06 1.356a5 5 0 0 0-.357-.014M17.898 14.414c-1.556 0-2.112 1.727-2.112 2.864S16.346 19 17.246 19c1.555 0 2.094-1.732 2.094-2.87 0-1.136-.543-1.716-1.442-1.716m-.56 3.648c-.321 0-.534-.256-.534-.78 0-.583.262-1.93 1.003-1.93.319 0 .534.249.534.774 0 .582-.264 1.937-1.003 1.937M22.514 14.484c-.363.577-.874 1.68-1.047 2.34h-.05a6 6 0 0 0 .052-.827c0-.55-.051-1.14-.132-1.513h-1.342l-.919 4.448h.942l.686-3.321h.046c.017.322.028.647.028.933-.001.486-.036.934-.093 1.375h1.094c.232-.77.573-1.54.932-2.308h.046l-.686 3.32h.942l.912-4.447zM4.638 16.594l.007-.044c.594-.175.861-.59.861-1.093 0-.584-.363-.973-1.093-.973H2.919L2 18.932h1.791c.938 0 1.435-.755 1.435-1.43 0-.396-.17-.759-.588-.908m-.977 1.448h-.5l.197-.95h.386c.39 0 .534.139.534.4 0 .341-.247.55-.617.55m.262-1.778h-.395l.183-.892h.358c.217 0 .409.085.409.38 0 .328-.236.512-.555.512M15.78 16.174q.02-.164.02-.321c0-.804-.375-1.439-1.317-1.439-1.555 0-2.14 1.727-2.14 2.876S12.909 19 13.788 19c1.145 0 1.746-.988 1.795-1.767H14.6c-.068.448-.293.83-.7.83-.327 0-.56-.25-.56-.78 0-.577.272-1.931 1.037-1.931.338 0 .428.263.428.545 0 .093-.009.19-.022.277h.998M27.138 14.484l-.203.994c.32-.037.658-.062.951-.076l-.73 3.53h.99l.729-3.53c.287.014.615.04.92.076l.205-.994zM11.683 14.484l-.685 3.327h-.053c.04-.42.074-.97.074-1.578 0-.607-.035-1.28-.11-1.749H9.555l-.919 4.448h.932l.684-3.325h.054c-.04.42-.074.97-.074 1.578s.034 1.277.11 1.747H11.7l.916-4.448zM25.24 14.484c-.802 1.542-1.575 3.147-2.089 4.448h1.067q.183-.51.378-1.014a4.78 4.78 0 0 1 1.11-.001c0 .367-.023.71-.04 1.015h1.056c0-1.491-.093-2.966-.251-4.448zm.116 2.467c-.13 0-.246.005-.371.014.187-.44.394-.899.618-1.356h.051c.035.457.058.914.058 1.356a5 5 0 0 0-.356-.014M20.119 7.484l-.747.001-.014-.065c1.03-.32 1.445-.98 1.445-1.744 0-.982-.683-1.675-1.81-1.676h-2.428l-.816 1.528h2c.565 0 1.062.155 1.062.854 0 .834-.709 1.106-1.433 1.106h-2.676l-.83 1.555h2.585c.9 0 1.129.423 1.129.918 0 .631-.373 1.19-1.377 1.19h-3.462L11.76 13h4.898c1.97 0 2.962-.99 2.962-2.332 0-.906-.453-1.37-1.096-1.561l.017-.07 2.979-.001v-.147c0-.836-.434-1.406-1.401-1.405"/>
4
+ </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>