@sumup-oss/icons 5.5.0 → 5.6.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,129 @@
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 PlusTier16 = function PlusTier16(props) {
43
+ return /*#__PURE__*/ React.createElement(
44
+ "svg",
45
+ _extends(
46
+ {
47
+ xmlns: "http://www.w3.org/2000/svg",
48
+ width: "36",
49
+ height: "16",
50
+ fill: "none",
51
+ viewBox: "0 0 36 16",
52
+ },
53
+ props,
54
+ ),
55
+ /*#__PURE__*/ React.createElement("path", {
56
+ fill: "currentColor",
57
+ fillRule: "evenodd",
58
+ d: "M8.263 0C5.25 0 2.646 2.12 2.005 5.092L.034 14.236C-.162 15.143.522 16 1.44 16h25.14c3.718 0 6.93-2.625 7.707-6.299l1.68-7.943A1.45 1.45 0 0 0 34.559 0zm5.463 6.825A2.5 2.5 0 0 1 12.574 8.5q-.921.582-2.316.582H8.841l-.599 2.863H6.48l1.74-8.309h2.753q1.6 0 2.327.838.737.838.426 2.35m-1.636-.233q.161-.78-.173-1.129-.334-.36-1.117-.36H9.67l-.518 2.513h1.176q.69 0 1.163-.233.483-.233.599-.791m5.144-2.956h-1.705l-1.74 8.309h1.706zm6.445 6.447h1.625q.023.454.322.64.3.174.76.174.438 0 .669-.15.23-.153.288-.408.091-.35-.08-.535-.162-.187-.53-.268l-.646-.14q-.98-.221-1.44-.756-.46-.547-.265-1.396.173-.758.876-1.152.714-.408 1.728-.408 1.162 0 1.797.477.645.465.714 1.327l-1.567.163q-.057-.396-.276-.594t-.703-.197q-.438 0-.668.15a.65.65 0 0 0-.277.373q-.092.385.127.547.23.163.622.256l.576.128q1.002.222 1.475.768.473.547.253 1.478-.185.79-.933 1.187-.736.384-1.797.384a4 4 0 0 1-1.336-.21 2.1 2.1 0 0 1-.956-.675q-.346-.453-.358-1.163m-2.568-.687.749-3.526h1.704l-1.278 6.075h-1.66l.15-.757a2.9 2.9 0 0 1-.91.722 2.3 2.3 0 0 1-.979.22q-.668 0-1.082-.313a1.6 1.6 0 0 1-.542-.873q-.138-.547.012-1.245l.795-3.829h1.716l-.772 3.654q-.103.5.023.838.127.326.588.326.564 0 .967-.442.195-.198.323-.373.138-.186.196-.477",
59
+ clipRule: "evenodd",
60
+ }),
61
+ );
62
+ };
63
+ var PlusTier24 = function PlusTier24(props) {
64
+ return /*#__PURE__*/ React.createElement(
65
+ "svg",
66
+ _extends(
67
+ {
68
+ xmlns: "http://www.w3.org/2000/svg",
69
+ width: "49",
70
+ height: "24",
71
+ fill: "none",
72
+ viewBox: "0 0 49 24",
73
+ },
74
+ props,
75
+ ),
76
+ /*#__PURE__*/ React.createElement("path", {
77
+ fill: "currentColor",
78
+ fillRule: "evenodd",
79
+ d: "M11.247 1c-4.1 0-7.645 2.915-8.518 7.002L.046 20.574C-.22 21.821.71 23 1.96 23h34.218c5.061 0 9.434-3.61 10.491-8.66l2.286-10.922C49.216 2.173 48.286 1 47.039 1zm7.436 9.384q-.3 1.488-1.569 2.304-1.254.8-3.151.8h-1.929l-.815 3.936H8.82L11.188 6h3.747q2.18 0 3.167 1.152 1.005 1.152.58 3.232m-2.227-.32q.22-1.072-.235-1.552-.455-.495-1.521-.496h-1.537l-.705 3.456h1.599q.94 0 1.584-.32.658-.32.815-1.088M23.458 6h-2.321l-2.368 11.424h2.32zm8.773 8.864h2.21q.032.624.44.88.407.24 1.034.24.596 0 .91-.208a.88.88 0 0 0 .392-.56q.125-.48-.11-.736-.22-.255-.721-.368l-.878-.192q-1.333-.305-1.96-1.04-.628-.751-.361-1.92.235-1.04 1.192-1.584.972-.56 2.352-.56 1.582 0 2.446.656.878.64.972 1.824l-2.133.224q-.078-.544-.376-.816t-.956-.272q-.596 0-.91.208a.9.9 0 0 0-.376.512q-.126.528.172.752.315.225.847.352l.784.176q1.364.304 2.007 1.056.644.752.345 2.032-.25 1.088-1.27 1.632-1.005.528-2.446.528a5.4 5.4 0 0 1-1.819-.288q-.815-.304-1.301-.928-.471-.625-.486-1.6m-3.497-.944 1.02-4.848h2.32l-1.74 8.352h-2.258l.203-1.04q-.58.672-1.238.992a3.15 3.15 0 0 1-1.333.304q-.91 0-1.474-.432-.55-.449-.737-1.2-.188-.752.016-1.712l1.082-5.264h2.336l-1.05 5.024q-.142.688.03 1.152.174.448.8.448.77 0 1.318-.608.266-.272.439-.512.188-.256.266-.656",
80
+ clipRule: "evenodd",
81
+ }),
82
+ );
83
+ };
84
+ var PlusTier32 = function PlusTier32(props) {
85
+ return /*#__PURE__*/ React.createElement(
86
+ "svg",
87
+ _extends(
88
+ {
89
+ xmlns: "http://www.w3.org/2000/svg",
90
+ width: "63",
91
+ height: "32",
92
+ fill: "none",
93
+ viewBox: "0 0 63 32",
94
+ },
95
+ props,
96
+ ),
97
+ /*#__PURE__*/ React.createElement("path", {
98
+ fill: "currentColor",
99
+ fillRule: "evenodd",
100
+ d: "M14.46 2C9.19 2 4.63 5.71 3.51 10.911L.058 26.913C-.283 28.5.913 30 2.52 30h43.994c6.508 0 12.13-4.594 13.49-11.023l2.938-13.9C63.279 3.493 62.084 2 60.48 2zm9.56 11.943q-.383 1.894-2.016 2.933-1.613 1.018-4.052 1.018h-2.48l-1.048 5.01H11.34l3.044-14.54h4.818q2.802 0 4.072 1.466 1.291 1.466.746 4.113m-2.862-.407q.282-1.365-.303-1.975-.584-.631-1.955-.631h-1.976l-.907 4.398h2.056q1.21 0 2.036-.407.847-.407 1.049-1.385m9.002-5.172h-2.984l-3.044 14.54h2.983zm11.28 11.281h2.842q.04.795.564 1.12.525.306 1.33.305.767 0 1.17-.264.404-.265.504-.713.16-.611-.141-.937-.283-.325-.928-.468l-1.128-.244q-1.714-.387-2.52-1.324-.807-.957-.464-2.444.303-1.323 1.532-2.016 1.25-.713 3.024-.713 2.036 0 3.145.836 1.13.814 1.25 2.32l-2.742.286q-.1-.693-.484-1.038-.382-.347-1.23-.347-.765 0-1.169.265-.382.265-.484.652-.16.672.222.957.404.285 1.089.448l1.008.224q1.754.387 2.58 1.344t.444 2.586q-.323 1.384-1.633 2.077-1.29.672-3.145.672-1.29 0-2.339-.366-1.048-.387-1.673-1.182-.604-.794-.625-2.036m-4.496-1.201 1.31-6.17h2.984L39 22.903h-2.903l.262-1.325q-.746.856-1.592 1.263a4.1 4.1 0 0 1-1.714.387q-1.17 0-1.895-.55-.705-.57-.948-1.527-.24-.957.02-2.179l1.392-6.7h3.004l-1.351 6.395q-.182.875.04 1.466.222.57 1.028.57.988 0 1.694-.774.342-.346.564-.652.242-.326.343-.834",
101
+ clipRule: "evenodd",
102
+ }),
103
+ );
104
+ };
105
+ const sizeMap = {
106
+ 16: PlusTier16,
107
+ 24: PlusTier24,
108
+ 32: PlusTier32,
109
+ };
110
+ export function PlusTier(_ref) {
111
+ let { size = "24" } = _ref,
112
+ props = _objectWithoutProperties(_ref, _excluded);
113
+ const Icon = sizeMap[size] || sizeMap["24"];
114
+ if (
115
+ process.env.NODE_ENV !== "production" &&
116
+ process.env.NODE_ENV !== "test" &&
117
+ !sizeMap[size]
118
+ ) {
119
+ console.warn(
120
+ new Error(
121
+ "The '".concat(
122
+ size,
123
+ "' size is not supported by the 'PlusTier' icon. Please use one of the available sizes: '16', '24', '32'.",
124
+ ),
125
+ ),
126
+ );
127
+ }
128
+ return /*#__PURE__*/ React.createElement(Icon, props);
129
+ }
package/dist/index.d.ts CHANGED
@@ -117,6 +117,8 @@ declare const SumUpLogo: IconComponentType<"24">;
117
117
 
118
118
  declare const SumUpLogomark: IconComponentType<"24">;
119
119
 
120
+ declare const PlusTier: IconComponentType<"16" | "24" | "32">;
121
+
120
122
  declare const Alelo: IconComponentType<"24" | "32">;
121
123
 
122
124
  declare const AlternativePaymentMethod: IconComponentType<"32">;
@@ -747,6 +749,7 @@ export {
747
749
  View,
748
750
  SumUpLogo,
749
751
  SumUpLogomark,
752
+ PlusTier,
750
753
  Alelo,
751
754
  AlternativePaymentMethod,
752
755
  AmericanExpress,
package/dist/index.js CHANGED
@@ -49,6 +49,7 @@ export { UploadCloud } from "./UploadCloud.js";
49
49
  export { View } from "./View.js";
50
50
  export { SumUpLogo } from "./SumUpLogo.js";
51
51
  export { SumUpLogomark } from "./SumUpLogomark.js";
52
+ export { PlusTier } from "./PlusTier.js";
52
53
  export { Alelo } from "./Alelo.js";
53
54
  export { AlternativePaymentMethod } from "./AlternativePaymentMethod.js";
54
55
  export { AmericanExpress } from "./AmericanExpress.js";
package/manifest.json CHANGED
@@ -381,6 +381,21 @@
381
381
  "category": "Brand",
382
382
  "size": "24"
383
383
  },
384
+ {
385
+ "name": "plus_tier",
386
+ "category": "Brand",
387
+ "size": "16"
388
+ },
389
+ {
390
+ "name": "plus_tier",
391
+ "category": "Brand",
392
+ "size": "24"
393
+ },
394
+ {
395
+ "name": "plus_tier",
396
+ "category": "Brand",
397
+ "size": "32"
398
+ },
384
399
  {
385
400
  "name": "alelo",
386
401
  "category": "Card scheme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="36" height="16" fill="none" viewBox="0 0 36 16">
2
+ <path fill="currentColor" fill-rule="evenodd" d="M8.263 0C5.25 0 2.646 2.12 2.005 5.092L.034 14.236C-.162 15.143.522 16 1.44 16h25.14c3.718 0 6.93-2.625 7.707-6.299l1.68-7.943A1.45 1.45 0 0 0 34.559 0zm5.463 6.825A2.5 2.5 0 0 1 12.574 8.5q-.921.582-2.316.582H8.841l-.599 2.863H6.48l1.74-8.309h2.753q1.6 0 2.327.838.737.838.426 2.35m-1.636-.233q.161-.78-.173-1.129-.334-.36-1.117-.36H9.67l-.518 2.513h1.176q.69 0 1.163-.233.483-.233.599-.791m5.144-2.956h-1.705l-1.74 8.309h1.706zm6.445 6.447h1.625q.023.454.322.64.3.174.76.174.438 0 .669-.15.23-.153.288-.408.091-.35-.08-.535-.162-.187-.53-.268l-.646-.14q-.98-.221-1.44-.756-.46-.547-.265-1.396.173-.758.876-1.152.714-.408 1.728-.408 1.162 0 1.797.477.645.465.714 1.327l-1.567.163q-.057-.396-.276-.594t-.703-.197q-.438 0-.668.15a.65.65 0 0 0-.277.373q-.092.385.127.547.23.163.622.256l.576.128q1.002.222 1.475.768.473.547.253 1.478-.185.79-.933 1.187-.736.384-1.797.384a4 4 0 0 1-1.336-.21 2.1 2.1 0 0 1-.956-.675q-.346-.453-.358-1.163m-2.568-.687.749-3.526h1.704l-1.278 6.075h-1.66l.15-.757a2.9 2.9 0 0 1-.91.722 2.3 2.3 0 0 1-.979.22q-.668 0-1.082-.313a1.6 1.6 0 0 1-.542-.873q-.138-.547.012-1.245l.795-3.829h1.716l-.772 3.654q-.103.5.023.838.127.326.588.326.564 0 .967-.442.195-.198.323-.373.138-.186.196-.477" clip-rule="evenodd"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="49" height="24" fill="none" viewBox="0 0 49 24">
2
+ <path fill="currentColor" fill-rule="evenodd" d="M11.247 1c-4.1 0-7.645 2.915-8.518 7.002L.046 20.574C-.22 21.821.71 23 1.96 23h34.218c5.061 0 9.434-3.61 10.491-8.66l2.286-10.922C49.216 2.173 48.286 1 47.039 1zm7.436 9.384q-.3 1.488-1.569 2.304-1.254.8-3.151.8h-1.929l-.815 3.936H8.82L11.188 6h3.747q2.18 0 3.167 1.152 1.005 1.152.58 3.232m-2.227-.32q.22-1.072-.235-1.552-.455-.495-1.521-.496h-1.537l-.705 3.456h1.599q.94 0 1.584-.32.658-.32.815-1.088M23.458 6h-2.321l-2.368 11.424h2.32zm8.773 8.864h2.21q.032.624.44.88.407.24 1.034.24.596 0 .91-.208a.88.88 0 0 0 .392-.56q.125-.48-.11-.736-.22-.255-.721-.368l-.878-.192q-1.333-.305-1.96-1.04-.628-.751-.361-1.92.235-1.04 1.192-1.584.972-.56 2.352-.56 1.582 0 2.446.656.878.64.972 1.824l-2.133.224q-.078-.544-.376-.816t-.956-.272q-.596 0-.91.208a.9.9 0 0 0-.376.512q-.126.528.172.752.315.225.847.352l.784.176q1.364.304 2.007 1.056.644.752.345 2.032-.25 1.088-1.27 1.632-1.005.528-2.446.528a5.4 5.4 0 0 1-1.819-.288q-.815-.304-1.301-.928-.471-.625-.486-1.6m-3.497-.944 1.02-4.848h2.32l-1.74 8.352h-2.258l.203-1.04q-.58.672-1.238.992a3.15 3.15 0 0 1-1.333.304q-.91 0-1.474-.432-.55-.449-.737-1.2-.188-.752.016-1.712l1.082-5.264h2.336l-1.05 5.024q-.142.688.03 1.152.174.448.8.448.77 0 1.318-.608.266-.272.439-.512.188-.256.266-.656" clip-rule="evenodd"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="63" height="32" fill="none" viewBox="0 0 63 32">
2
+ <path fill="currentColor" fill-rule="evenodd" d="M14.46 2C9.19 2 4.63 5.71 3.51 10.911L.058 26.913C-.283 28.5.913 30 2.52 30h43.994c6.508 0 12.13-4.594 13.49-11.023l2.938-13.9C63.279 3.493 62.084 2 60.48 2zm9.56 11.943q-.383 1.894-2.016 2.933-1.613 1.018-4.052 1.018h-2.48l-1.048 5.01H11.34l3.044-14.54h4.818q2.802 0 4.072 1.466 1.291 1.466.746 4.113m-2.862-.407q.282-1.365-.303-1.975-.584-.631-1.955-.631h-1.976l-.907 4.398h2.056q1.21 0 2.036-.407.847-.407 1.049-1.385m9.002-5.172h-2.984l-3.044 14.54h2.983zm11.28 11.281h2.842q.04.795.564 1.12.525.306 1.33.305.767 0 1.17-.264.404-.265.504-.713.16-.611-.141-.937-.283-.325-.928-.468l-1.128-.244q-1.714-.387-2.52-1.324-.807-.957-.464-2.444.303-1.323 1.532-2.016 1.25-.713 3.024-.713 2.036 0 3.145.836 1.13.814 1.25 2.32l-2.742.286q-.1-.693-.484-1.038-.382-.347-1.23-.347-.765 0-1.169.265-.382.265-.484.652-.16.672.222.957.404.285 1.089.448l1.008.224q1.754.387 2.58 1.344t.444 2.586q-.323 1.384-1.633 2.077-1.29.672-3.145.672-1.29 0-2.339-.366-1.048-.387-1.673-1.182-.604-.794-.625-2.036m-4.496-1.201 1.31-6.17h2.984L39 22.903h-2.903l.262-1.325q-.746.856-1.592 1.263a4.1 4.1 0 0 1-1.714.387q-1.17 0-1.895-.55-.705-.57-.948-1.527-.24-.957.02-2.179l1.392-6.7h3.004l-1.351 6.395q-.182.875.04 1.466.222.57 1.028.57.988 0 1.694-.774.342-.346.564-.652.242-.326.343-.834" clip-rule="evenodd"/>
3
+ </svg>