@sumup-oss/icons 5.4.0 → 5.5.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,107 @@
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
+ function _extends() {
28
+ return (
29
+ (_extends = Object.assign
30
+ ? Object.assign.bind()
31
+ : function (n) {
32
+ for (var e = 1; e < arguments.length; e++) {
33
+ var t = arguments[e];
34
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
35
+ }
36
+ return n;
37
+ }),
38
+ _extends.apply(null, arguments)
39
+ );
40
+ }
41
+ import React from "react";
42
+ var Girocard32 = function Girocard32(props) {
43
+ return /*#__PURE__*/ React.createElement(
44
+ "svg",
45
+ _extends(
46
+ {
47
+ width: "32",
48
+ height: "24",
49
+ viewBox: "0 0 32 24",
50
+ fill: "none",
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ },
53
+ props,
54
+ ),
55
+ /*#__PURE__*/ React.createElement("rect", {
56
+ x: ".5",
57
+ y: ".5",
58
+ width: "31",
59
+ height: "23",
60
+ rx: "3.5",
61
+ fill: "#fff",
62
+ }),
63
+ /*#__PURE__*/ React.createElement("rect", {
64
+ x: ".5",
65
+ y: ".5",
66
+ width: "31",
67
+ height: "23",
68
+ rx: "3.5",
69
+ stroke: "#CCC",
70
+ }),
71
+ /*#__PURE__*/ React.createElement("path", {
72
+ d: "M20.45 8.62H19.1v.36h1.06l2.67 10.86H9.17l2.67-10.86h1.06v-.36h-1.35L8.6 20.29h14.82L20.45 8.62Z",
73
+ fill: "#1F3A6A",
74
+ }),
75
+ /*#__PURE__*/ React.createElement("path", {
76
+ d: "M18.6 3.71h-5.2c-.29 0-.53.24-.53.53v5.1h.4v-5.1c0-.07.06-.13.13-.13h.97v3.67h-1.02l1.46 1.56h2.38l1.46-1.56h-1.02V4.11h.97c.07 0 .14.06.14.13v5.1h.39v-5.1c0-.29-.24-.53-.53-.53Z",
77
+ fill: "#5DC4E9",
78
+ }),
79
+ /*#__PURE__*/ React.createElement("path", {
80
+ d: "M14.85 15.7h2.3c.15 0 .27-.12.26-.28l-.1-1.5a.3.3 0 0 0-.28-.27h-2.06a.3.3 0 0 0-.29.27l-.09 1.5c0 .16.11.28.26.28ZM13.87 13.65h-2.06c-.16 0-.3.12-.34.27l-.3 1.5c-.03.16.07.28.22.28h2.3a.3.3 0 0 0 .31-.28l.13-1.5a.25.25 0 0 0-.26-.27ZM14.95 13.17h2.1a.2.2 0 0 0 .21-.22l-.07-1.2a.24.24 0 0 0-.23-.22h-1.92c-.12 0-.22.1-.23.22l-.07 1.2c0 .12.08.22.2.22ZM14.11 11.53h-1.93c-.13 0-.25.1-.27.22l-.24 1.2c-.03.12.05.22.17.22h2.13c.12 0 .23-.1.24-.22l.1-1.2a.2.2 0 0 0-.2-.22ZM20.15 13.17c.12 0 .2-.1.18-.21l-.25-1.21a.28.28 0 0 0-.26-.22h-1.93a.2.2 0 0 0-.2.22l.1 1.2c.01.12.12.22.24.22h2.12ZM15.04 11.13h1.92c.1 0 .19-.1.18-.2L17.1 10c0-.1-.1-.19-.2-.19h-1.77a.2.2 0 0 0-.21.2l-.05.92c-.01.1.07.2.18.2ZM19.76 11.13c.11 0 .18-.09.16-.2l-.19-.93a.25.25 0 0 0-.23-.19H17.7c-.1 0-.18.09-.17.2l.08.92c0 .1.1.2.2.2h1.94ZM14.29 9.81h-1.8c-.1 0-.2.09-.23.2l-.19.93c-.02.1.05.19.16.19h1.94c.11 0 .2-.1.21-.2l.08-.93c.01-.1-.07-.19-.17-.19ZM20.6 15.7c.16 0 .26-.12.23-.27l-.3-1.51a.35.35 0 0 0-.34-.27h-2.06a.25.25 0 0 0-.26.27l.13 1.5a.3.3 0 0 0 .3.28h2.3ZM17.12 16.26h-2.24a.36.36 0 0 0-.35.33l-.12 1.9c0 .19.13.34.32.34h2.54c.19 0 .33-.15.32-.34l-.12-1.9a.36.36 0 0 0-.35-.33ZM13.6 16.26h-2.27a.42.42 0 0 0-.4.32l-.38 1.92c-.04.18.09.33.27.33h2.56c.18 0 .34-.15.36-.34l.16-1.9a.3.3 0 0 0-.3-.33ZM21.06 16.58a.42.42 0 0 0-.4-.32H18.4a.3.3 0 0 0-.3.33l.16 1.9c.02.19.18.34.36.34h2.56c.18 0 .3-.15.27-.33l-.39-1.92Z",
81
+ fill: "#1F3A6A",
82
+ }),
83
+ );
84
+ };
85
+ const sizeMap = {
86
+ 32: Girocard32,
87
+ };
88
+ export function Girocard(_ref) {
89
+ let { size = "32" } = _ref,
90
+ props = _objectWithoutProperties(_ref, _excluded);
91
+ const Icon = sizeMap[size] || sizeMap["32"];
92
+ if (
93
+ process.env.NODE_ENV !== "production" &&
94
+ process.env.NODE_ENV !== "test" &&
95
+ !sizeMap[size]
96
+ ) {
97
+ console.warn(
98
+ new Error(
99
+ "The '".concat(
100
+ size,
101
+ "' size is not supported by the 'Girocard' icon. Please use one of the available sizes: '32'.",
102
+ ),
103
+ ),
104
+ );
105
+ }
106
+ return /*#__PURE__*/ React.createElement(Icon, props);
107
+ }
package/dist/index.d.ts CHANGED
@@ -148,6 +148,8 @@ declare const Elo: IconComponentType<"24" | "32">;
148
148
 
149
149
  declare const Elv: IconComponentType<"24" | "32">;
150
150
 
151
+ declare const Girocard: IconComponentType<"32">;
152
+
151
153
  declare const GooglePay: IconComponentType<"24" | "32">;
152
154
 
153
155
  declare const Hipercard: IconComponentType<"24" | "32">;
@@ -759,6 +761,7 @@ export {
759
761
  Eftpos,
760
762
  Elo,
761
763
  Elv,
764
+ Girocard,
762
765
  GooglePay,
763
766
  Hipercard,
764
767
  Ideal,
package/dist/index.js CHANGED
@@ -63,6 +63,7 @@ export { Discover } from "./Discover.js";
63
63
  export { Eftpos } from "./Eftpos.js";
64
64
  export { Elo } from "./Elo.js";
65
65
  export { Elv } from "./Elv.js";
66
+ export { Girocard } from "./Girocard.js";
66
67
  export { GooglePay } from "./GooglePay.js";
67
68
  export { Hipercard } from "./Hipercard.js";
68
69
  export { Ideal } from "./Ideal.js";
package/manifest.json CHANGED
@@ -452,6 +452,11 @@
452
452
  "category": "Card scheme",
453
453
  "size": "32"
454
454
  },
455
+ {
456
+ "name": "girocard",
457
+ "category": "Card scheme",
458
+ "size": "32"
459
+ },
455
460
  {
456
461
  "name": "google_pay",
457
462
  "category": "Card scheme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.4.0",
3
+ "version": "5.5.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -0,0 +1,7 @@
1
+ <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x=".5" y=".5" width="31" height="23" rx="3.5" fill="#fff"/>
3
+ <rect x=".5" y=".5" width="31" height="23" rx="3.5" stroke="#CCC"/>
4
+ <path d="M20.45 8.62H19.1v.36h1.06l2.67 10.86H9.17l2.67-10.86h1.06v-.36h-1.35L8.6 20.29h14.82L20.45 8.62Z" fill="#1F3A6A"/>
5
+ <path d="M18.6 3.71h-5.2c-.29 0-.53.24-.53.53v5.1h.4v-5.1c0-.07.06-.13.13-.13h.97v3.67h-1.02l1.46 1.56h2.38l1.46-1.56h-1.02V4.11h.97c.07 0 .14.06.14.13v5.1h.39v-5.1c0-.29-.24-.53-.53-.53Z" fill="#5DC4E9"/>
6
+ <path d="M14.85 15.7h2.3c.15 0 .27-.12.26-.28l-.1-1.5a.3.3 0 0 0-.28-.27h-2.06a.3.3 0 0 0-.29.27l-.09 1.5c0 .16.11.28.26.28ZM13.87 13.65h-2.06c-.16 0-.3.12-.34.27l-.3 1.5c-.03.16.07.28.22.28h2.3a.3.3 0 0 0 .31-.28l.13-1.5a.25.25 0 0 0-.26-.27ZM14.95 13.17h2.1a.2.2 0 0 0 .21-.22l-.07-1.2a.24.24 0 0 0-.23-.22h-1.92c-.12 0-.22.1-.23.22l-.07 1.2c0 .12.08.22.2.22ZM14.11 11.53h-1.93c-.13 0-.25.1-.27.22l-.24 1.2c-.03.12.05.22.17.22h2.13c.12 0 .23-.1.24-.22l.1-1.2a.2.2 0 0 0-.2-.22ZM20.15 13.17c.12 0 .2-.1.18-.21l-.25-1.21a.28.28 0 0 0-.26-.22h-1.93a.2.2 0 0 0-.2.22l.1 1.2c.01.12.12.22.24.22h2.12ZM15.04 11.13h1.92c.1 0 .19-.1.18-.2L17.1 10c0-.1-.1-.19-.2-.19h-1.77a.2.2 0 0 0-.21.2l-.05.92c-.01.1.07.2.18.2ZM19.76 11.13c.11 0 .18-.09.16-.2l-.19-.93a.25.25 0 0 0-.23-.19H17.7c-.1 0-.18.09-.17.2l.08.92c0 .1.1.2.2.2h1.94ZM14.29 9.81h-1.8c-.1 0-.2.09-.23.2l-.19.93c-.02.1.05.19.16.19h1.94c.11 0 .2-.1.21-.2l.08-.93c.01-.1-.07-.19-.17-.19ZM20.6 15.7c.16 0 .26-.12.23-.27l-.3-1.51a.35.35 0 0 0-.34-.27h-2.06a.25.25 0 0 0-.26.27l.13 1.5a.3.3 0 0 0 .3.28h2.3ZM17.12 16.26h-2.24a.36.36 0 0 0-.35.33l-.12 1.9c0 .19.13.34.32.34h2.54c.19 0 .33-.15.32-.34l-.12-1.9a.36.36 0 0 0-.35-.33ZM13.6 16.26h-2.27a.42.42 0 0 0-.4.32l-.38 1.92c-.04.18.09.33.27.33h2.56c.18 0 .34-.15.36-.34l.16-1.9a.3.3 0 0 0-.3-.33ZM21.06 16.58a.42.42 0 0 0-.4-.32H18.4a.3.3 0 0 0-.3.33l.16 1.9c.02.19.18.34.36.34h2.56c.18 0 .3-.15.27-.33l-.39-1.92Z" fill="#1F3A6A"/>
7
+ </svg>