@sumup-oss/icons 6.8.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.
@@ -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
+ }
@@ -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: "#000",
53
- stroke: "#ccc",
46
+ fill: "#ff61f2",
47
+ stroke: "#d0cdc3",
54
48
  rx: "3.5",
55
49
  }),
56
50
  /*#__PURE__*/ _jsx("path", {
57
- fill: "#fff",
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
  ],
@@ -0,0 +1,68 @@
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 } from "react/jsx-runtime";
29
+ var Unsplash24 = function Unsplash24(props) {
30
+ return /*#__PURE__*/ _jsx("svg", {
31
+ xmlns: "http://www.w3.org/2000/svg",
32
+ width: "24",
33
+ height: "24",
34
+ viewBox: "0 0 24 24",
35
+ fill: "none",
36
+ ...props,
37
+ children: /*#__PURE__*/ _jsx("path", {
38
+ d: "M9.0664 9.86719V14.9336H14.9336V9.86719H24V24H0V9.86719H9.0664ZM2.6667 21.3333H21.3333V12.53385H17.6003V17.6003H6.3997V12.53385H2.6667V21.3333ZM17.6003 0V7.7331H6.3997V0H17.6003ZM9.0664 5.0664H14.9336V2.6667H9.0664V5.0664Z",
39
+ fill: "currentColor",
40
+ }),
41
+ });
42
+ };
43
+ const sizeMap = {
44
+ 24: Unsplash24,
45
+ };
46
+ export function Unsplash(_ref) {
47
+ let _ref$size = _ref.size,
48
+ size = _ref$size === void 0 ? "24" : _ref$size,
49
+ props = _objectWithoutProperties(_ref, _excluded);
50
+ const Icon = sizeMap[size] || sizeMap["24"];
51
+ if (
52
+ process.env.NODE_ENV !== "production" &&
53
+ process.env.NODE_ENV !== "test" &&
54
+ !sizeMap[size]
55
+ ) {
56
+ console.warn(
57
+ new Error(
58
+ "The '".concat(
59
+ size,
60
+ "' size is not supported by the 'Unsplash' icon. Please use one of the available sizes: '24'.",
61
+ ),
62
+ ),
63
+ );
64
+ }
65
+ return /*#__PURE__*/ _jsx(Icon, {
66
+ ...props,
67
+ });
68
+ }
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 Swile: IconComponentType<"24" | "32">;
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 Ticket: IconComponentType<"24" | "32">;
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 UnionPay: IconComponentType<"24" | "32">;
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 Visa: IconComponentType<"24" | "32">;
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 VisaElectron: IconComponentType<"24" | "32">;
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 Vpay: IconComponentType<"24" | "32">;
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 Vr: IconComponentType<"24" | "32">;
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 SumupPay: IconComponentType<"32">;
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 SumupScheme: IconComponentType<"32">;
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
 
@@ -1199,6 +1204,8 @@ declare const Pinterest: IconComponentType<"24">;
1199
1204
 
1200
1205
  declare const Twitter: IconComponentType<"24">;
1201
1206
 
1207
+ declare const Unsplash: IconComponentType<"24">;
1208
+
1202
1209
  declare const WhatsApp: IconComponentType<"24">;
1203
1210
 
1204
1211
  declare const Youtube: IconComponentType<"24">;
@@ -1292,6 +1299,9 @@ export {
1292
1299
  Pix,
1293
1300
  Pluxee,
1294
1301
  Sodexo,
1302
+ SumupCard,
1303
+ SumupPay,
1304
+ SumupScheme,
1295
1305
  Swile,
1296
1306
  Ticket,
1297
1307
  UnionPay,
@@ -1299,8 +1309,6 @@ export {
1299
1309
  VisaElectron,
1300
1310
  Vpay,
1301
1311
  Vr,
1302
- SumupPay,
1303
- SumupScheme,
1304
1312
  Callback,
1305
1313
  Email,
1306
1314
  EmailChat,
@@ -1607,6 +1615,7 @@ export {
1607
1615
  Messenger,
1608
1616
  Pinterest,
1609
1617
  Twitter,
1618
+ Unsplash,
1610
1619
  WhatsApp,
1611
1620
  Youtube,
1612
1621
  };
@@ -1700,6 +1709,9 @@ export type IconName =
1700
1709
  | "pix"
1701
1710
  | "pluxee"
1702
1711
  | "sodexo"
1712
+ | "sumup_card"
1713
+ | "sumup_pay"
1714
+ | "sumup_scheme"
1703
1715
  | "swile"
1704
1716
  | "ticket"
1705
1717
  | "union_pay"
@@ -1707,8 +1719,6 @@ export type IconName =
1707
1719
  | "visa_electron"
1708
1720
  | "vpay"
1709
1721
  | "vr"
1710
- | "sumup_pay"
1711
- | "sumup_scheme"
1712
1722
  | "callback"
1713
1723
  | "email"
1714
1724
  | "email_chat"
@@ -2015,6 +2025,7 @@ export type IconName =
2015
2025
  | "messenger"
2016
2026
  | "pinterest"
2017
2027
  | "twitter"
2028
+ | "unsplash"
2018
2029
  | "whats_app"
2019
2030
  | "youtube";
2020
2031
 
@@ -2118,6 +2129,9 @@ type Icons = {
2118
2129
  pix: "24" | "32";
2119
2130
  pluxee: "32";
2120
2131
  sodexo: "24" | "32";
2132
+ sumup_card: "32";
2133
+ sumup_pay: "32";
2134
+ sumup_scheme: "32";
2121
2135
  swile: "24" | "32";
2122
2136
  ticket: "24" | "32";
2123
2137
  union_pay: "24" | "32";
@@ -2125,8 +2139,6 @@ type Icons = {
2125
2139
  visa_electron: "24" | "32";
2126
2140
  vpay: "24" | "32";
2127
2141
  vr: "24" | "32";
2128
- sumup_pay: "32";
2129
- sumup_scheme: "32";
2130
2142
  callback: "24";
2131
2143
  email: "24";
2132
2144
  email_chat: "24";
@@ -2433,6 +2445,7 @@ type Icons = {
2433
2445
  messenger: "24";
2434
2446
  pinterest: "24";
2435
2447
  twitter: "24";
2448
+ unsplash: "24";
2436
2449
  whats_app: "24";
2437
2450
  youtube: "24";
2438
2451
  };
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";
@@ -402,5 +403,6 @@ export { Linkedin } from "./Linkedin.js";
402
403
  export { Messenger } from "./Messenger.js";
403
404
  export { Pinterest } from "./Pinterest.js";
404
405
  export { Twitter } from "./Twitter.js";
406
+ export { Unsplash } from "./Unsplash.js";
405
407
  export { WhatsApp } from "./WhatsApp.js";
406
408
  export { Youtube } from "./Youtube.js";
package/manifest.json CHANGED
@@ -607,47 +607,52 @@
607
607
  "size": "32"
608
608
  },
609
609
  {
610
- "name": "swile",
610
+ "name": "sumup_card",
611
611
  "category": "Card scheme",
612
612
  "size": "32"
613
613
  },
614
614
  {
615
- "name": "ticket",
615
+ "name": "sumup_pay",
616
616
  "category": "Card scheme",
617
617
  "size": "32"
618
618
  },
619
619
  {
620
- "name": "union_pay",
620
+ "name": "sumup_scheme",
621
621
  "category": "Card scheme",
622
622
  "size": "32"
623
623
  },
624
624
  {
625
- "name": "visa",
625
+ "name": "swile",
626
626
  "category": "Card scheme",
627
627
  "size": "32"
628
628
  },
629
629
  {
630
- "name": "visa_electron",
630
+ "name": "ticket",
631
631
  "category": "Card scheme",
632
632
  "size": "32"
633
633
  },
634
634
  {
635
- "name": "vpay",
635
+ "name": "union_pay",
636
636
  "category": "Card scheme",
637
637
  "size": "32"
638
638
  },
639
639
  {
640
- "name": "vr",
640
+ "name": "visa",
641
641
  "category": "Card scheme",
642
642
  "size": "32"
643
643
  },
644
644
  {
645
- "name": "sumup_pay",
645
+ "name": "visa_electron",
646
646
  "category": "Card scheme",
647
647
  "size": "32"
648
648
  },
649
649
  {
650
- "name": "sumup_scheme",
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
  },
@@ -4503,6 +4508,11 @@
4503
4508
  "category": "Social media",
4504
4509
  "size": "24"
4505
4510
  },
4511
+ {
4512
+ "name": "unsplash",
4513
+ "category": "Social media",
4514
+ "size": "24"
4515
+ },
4506
4516
  {
4507
4517
  "name": "whats_app",
4508
4518
  "category": "Social media",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "6.8.0",
3
+ "version": "6.10.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -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="32" height="24" fill="#fff" rx="4"/>
4
- <rect width="31" height="23" x=".5" y=".5" fill="#000" stroke="#ccc" rx="3.5"/>
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">
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2
+ <path d="M9.0664 9.86719V14.9336H14.9336V9.86719H24V24H0V9.86719H9.0664ZM2.6667 21.3333H21.3333V12.53385H17.6003V17.6003H6.3997V12.53385H2.6667V21.3333ZM17.6003 0V7.7331H6.3997V0H17.6003ZM9.0664 5.0664H14.9336V2.6667H9.0664V5.0664Z" fill="currentColor"/>
3
+ </svg>