@sumup-oss/icons 5.11.0 → 5.13.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.
package/dist/Location.js CHANGED
@@ -13,6 +13,27 @@ function _extends() {
13
13
  );
14
14
  }
15
15
  import React from "react";
16
+ var Location16 = function Location16(props) {
17
+ return /*#__PURE__*/ React.createElement(
18
+ "svg",
19
+ _extends(
20
+ {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: "16",
23
+ height: "16",
24
+ fill: "none",
25
+ viewBox: "0 0 16 16",
26
+ },
27
+ props,
28
+ ),
29
+ /*#__PURE__*/ React.createElement("path", {
30
+ fill: "currentColor",
31
+ fillRule: "evenodd",
32
+ d: "M8 1a6.15 6.15 0 0 0-4.242 1.677A5.6 5.6 0 0 0 2 6.727c0 .483.063.964.187 1.432.706 2.832 3.553 5.48 4.973 6.555.237.185.534.286.84.286s.603-.101.84-.286c1.467-1.108 4.467-3.901 5.04-6.835a5.5 5.5 0 0 0-.055-2.516 5.64 5.64 0 0 0-1.178-2.252 6 6 0 0 0-2.075-1.554A6.25 6.25 0 0 0 8.001 1m0 7.636c-.395 0-.782-.112-1.11-.321a1.93 1.93 0 0 1-.737-.857 1.83 1.83 0 0 1-.114-1.103c.077-.37.267-.71.547-.978.28-.267.636-.448 1.024-.522a2.1 2.1 0 0 1 1.156.108c.366.145.678.39.898.704S10 6.35 10 6.727c0 .507-.211.992-.586 1.35A2.05 2.05 0 0 1 8 8.637",
33
+ clipRule: "evenodd",
34
+ }),
35
+ );
36
+ };
16
37
  var Location24 = function Location24(props) {
17
38
  return /*#__PURE__*/ React.createElement(
18
39
  "svg",
@@ -35,6 +56,7 @@ var Location24 = function Location24(props) {
35
56
  );
36
57
  };
37
58
  const sizeMap = {
59
+ 16: Location16,
38
60
  24: Location24,
39
61
  };
40
62
  export function Location(_ref) {
@@ -49,7 +71,7 @@ export function Location(_ref) {
49
71
  new Error(
50
72
  "The '".concat(
51
73
  size,
52
- "' size is not supported by the 'Location' icon. Please use one of the available sizes: '24'.",
74
+ "' size is not supported by the 'Location' icon. Please use one of the available sizes: '16', '24'.",
53
75
  ),
54
76
  ),
55
77
  );
package/dist/Wealth.js ADDED
@@ -0,0 +1,88 @@
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 Wealth16 = function Wealth16(props) {
17
+ return /*#__PURE__*/ React.createElement(
18
+ "svg",
19
+ _extends(
20
+ {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: "16",
23
+ height: "16",
24
+ fill: "none",
25
+ viewBox: "0 0 16 16",
26
+ },
27
+ props,
28
+ ),
29
+ /*#__PURE__*/ React.createElement("path", {
30
+ fill: "currentColor",
31
+ fillRule: "evenodd",
32
+ d: "M13 0a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H9v6a1 1 0 1 1-2 0V9H3a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zM8 2.484a2 2 0 1 0 0 4 2 2 0 0 0 0-4",
33
+ clipRule: "evenodd",
34
+ }),
35
+ /*#__PURE__*/ React.createElement("path", {
36
+ fill: "currentColor",
37
+ d: "M.647 10.627a4.05 4.05 0 0 1 4.622 1.48 4.05 4.05 0 0 1 .678 1.58.97.97 0 0 1-.637 1.102 4.05 4.05 0 0 1-3.346-.323 4.05 4.05 0 0 1-1.953-2.737.97.97 0 0 1 .636-1.102m11.329.313a4.05 4.05 0 0 1 3.347-.324c.458.158.73.627.636 1.103a4.05 4.05 0 0 1-3.59 3.26 4.05 4.05 0 0 1-1.709-.201.97.97 0 0 1-.637-1.101 4.05 4.05 0 0 1 1.953-2.737",
38
+ }),
39
+ );
40
+ };
41
+ var Wealth24 = function Wealth24(props) {
42
+ return /*#__PURE__*/ React.createElement(
43
+ "svg",
44
+ _extends(
45
+ {
46
+ xmlns: "http://www.w3.org/2000/svg",
47
+ width: "24",
48
+ height: "24",
49
+ fill: "none",
50
+ viewBox: "0 0 24 24",
51
+ },
52
+ props,
53
+ ),
54
+ /*#__PURE__*/ React.createElement("path", {
55
+ fill: "currentColor",
56
+ fillRule: "evenodd",
57
+ d: "M19 1a2.01 2.01 0 0 1 2 2v8a2.005 2.005 0 0 1-2 2h-6v9a1 1 0 1 1-2 0v-9H5a2.006 2.006 0 0 1-2-2V3a2.006 2.006 0 0 1 2-2zM5 11h2.5A2.5 2.5 0 0 0 5 8.5zm14-2.5a2.5 2.5 0 0 0-2.5 2.5H19zm-6.235-3.348a2 2 0 1 0-1.532 3.696 2 2 0 0 0 1.532-3.696M5 5.5A2.5 2.5 0 0 0 7.5 3H5zM16.5 3A2.5 2.5 0 0 0 19 5.5V3z",
58
+ clipRule: "evenodd",
59
+ }),
60
+ /*#__PURE__*/ React.createElement("path", {
61
+ fill: "currentColor",
62
+ d: "M1.564 15.315a6.03 6.03 0 0 1 4.946.497 6.03 6.03 0 0 1 2.904 4.035.825.825 0 0 1-.548.948 6.03 6.03 0 0 1-4.946-.496 6.03 6.03 0 0 1-2.904-4.035.826.826 0 0 1 .548-.95M17.42 15.812a6.03 6.03 0 0 1 4.946-.497.826.826 0 0 1 .548.949 6.03 6.03 0 0 1-2.904 4.035 6.03 6.03 0 0 1-4.946.496.825.825 0 0 1-.548-.948 6.03 6.03 0 0 1 2.904-4.036",
63
+ }),
64
+ );
65
+ };
66
+ const sizeMap = {
67
+ 16: Wealth16,
68
+ 24: Wealth24,
69
+ };
70
+ export function Wealth(_ref) {
71
+ let { size = "24", ...props } = _ref;
72
+ const Icon = sizeMap[size] || sizeMap["24"];
73
+ if (
74
+ process.env.NODE_ENV !== "production" &&
75
+ process.env.NODE_ENV !== "test" &&
76
+ !sizeMap[size]
77
+ ) {
78
+ console.warn(
79
+ new Error(
80
+ "The '".concat(
81
+ size,
82
+ "' size is not supported by the 'Wealth' icon. Please use one of the available sizes: '16', '24'.",
83
+ ),
84
+ ),
85
+ );
86
+ }
87
+ return /*#__PURE__*/ React.createElement(Icon, props);
88
+ }
package/dist/index.d.ts CHANGED
@@ -391,6 +391,8 @@ declare const TransferIn: IconComponentType<"24">;
391
391
 
392
392
  declare const TransferOut: IconComponentType<"24">;
393
393
 
394
+ declare const Wealth: IconComponentType<"16" | "24">;
395
+
394
396
  declare const WireTransfer: IconComponentType<"24">;
395
397
 
396
398
  declare const Accessibility: IconComponentType<"24">;
@@ -462,7 +464,7 @@ declare const Legal: IconComponentType<"24">;
462
464
 
463
465
  declare const Like: IconComponentType<"24">;
464
466
 
465
- declare const Location: IconComponentType<"24">;
467
+ declare const Location: IconComponentType<"16" | "24">;
466
468
 
467
469
  declare const Mcc: IconComponentType<"24">;
468
470
 
@@ -894,6 +896,7 @@ export {
894
896
  Percentage,
895
897
  TransferIn,
896
898
  TransferOut,
899
+ Wealth,
897
900
  WireTransfer,
898
901
  Accessibility,
899
902
  Alarm,
@@ -1243,6 +1246,7 @@ type Icons = {
1243
1246
  percentage: "16" | "24";
1244
1247
  transfer_in: "24";
1245
1248
  transfer_out: "24";
1249
+ wealth: "16" | "24";
1246
1250
  wire_transfer: "24";
1247
1251
  accessibility: "24";
1248
1252
  alarm: "24";
@@ -1277,7 +1281,7 @@ type Icons = {
1277
1281
  language: "24";
1278
1282
  legal: "24";
1279
1283
  like: "24";
1280
- location: "24";
1284
+ location: "16" | "24";
1281
1285
  mcc: "24";
1282
1286
  meal_voucher: "24";
1283
1287
  moon: "24";
package/dist/index.js CHANGED
@@ -181,6 +181,7 @@ export { NoCosts } from "./NoCosts.js";
181
181
  export { Percentage } from "./Percentage.js";
182
182
  export { TransferIn } from "./TransferIn.js";
183
183
  export { TransferOut } from "./TransferOut.js";
184
+ export { Wealth } from "./Wealth.js";
184
185
  export { WireTransfer } from "./WireTransfer.js";
185
186
  export { Accessibility } from "./Accessibility.js";
186
187
  export { Alarm } from "./Alarm.js";
package/manifest.json CHANGED
@@ -1111,6 +1111,16 @@
1111
1111
  "category": "Finance",
1112
1112
  "size": "24"
1113
1113
  },
1114
+ {
1115
+ "name": "wealth",
1116
+ "category": "Finance",
1117
+ "size": "16"
1118
+ },
1119
+ {
1120
+ "name": "wealth",
1121
+ "category": "Finance",
1122
+ "size": "24"
1123
+ },
1114
1124
  {
1115
1125
  "name": "wire_transfer",
1116
1126
  "category": "Finance",
@@ -1308,6 +1318,11 @@
1308
1318
  "category": "Miscellaneous",
1309
1319
  "size": "24"
1310
1320
  },
1321
+ {
1322
+ "name": "location",
1323
+ "category": "Miscellaneous",
1324
+ "size": "16"
1325
+ },
1311
1326
  {
1312
1327
  "name": "location",
1313
1328
  "category": "Miscellaneous",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.11.0",
3
+ "version": "5.13.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,13 +35,13 @@
35
35
  "prepublish": "npm run build"
36
36
  },
37
37
  "devDependencies": {
38
- "@babel/core": "^7.27.4",
38
+ "@babel/core": "^7.27.7",
39
39
  "@babel/preset-env": "^7.27.2",
40
40
  "@babel/preset-react": "^7.27.1",
41
41
  "@types/babel__core": "^7.20.5",
42
- "fast-xml-parser": "^5.2.3",
42
+ "fast-xml-parser": "^5.2.5",
43
43
  "prettier": "^3.5.3",
44
- "tsx": "^4.19.4",
44
+ "tsx": "^4.20.3",
45
45
  "typescript": "^5.8.3"
46
46
  },
47
47
  "peerDependencies": {
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
2
+ <path fill="currentColor" fill-rule="evenodd" d="M8 1a6.15 6.15 0 0 0-4.242 1.677A5.6 5.6 0 0 0 2 6.727c0 .483.063.964.187 1.432.706 2.832 3.553 5.48 4.973 6.555.237.185.534.286.84.286s.603-.101.84-.286c1.467-1.108 4.467-3.901 5.04-6.835a5.5 5.5 0 0 0-.055-2.516 5.64 5.64 0 0 0-1.178-2.252 6 6 0 0 0-2.075-1.554A6.25 6.25 0 0 0 8.001 1m0 7.636c-.395 0-.782-.112-1.11-.321a1.93 1.93 0 0 1-.737-.857 1.83 1.83 0 0 1-.114-1.103c.077-.37.267-.71.547-.978.28-.267.636-.448 1.024-.522a2.1 2.1 0 0 1 1.156.108c.366.145.678.39.898.704S10 6.35 10 6.727c0 .507-.211.992-.586 1.35A2.05 2.05 0 0 1 8 8.637" clip-rule="evenodd"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
2
+ <path fill="currentColor" fill-rule="evenodd" d="M13 0a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H9v6a1 1 0 1 1-2 0V9H3a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zM8 2.484a2 2 0 1 0 0 4 2 2 0 0 0 0-4" clip-rule="evenodd"/>
3
+ <path fill="currentColor" d="M.647 10.627a4.05 4.05 0 0 1 4.622 1.48 4.05 4.05 0 0 1 .678 1.58.97.97 0 0 1-.637 1.102 4.05 4.05 0 0 1-3.346-.323 4.05 4.05 0 0 1-1.953-2.737.97.97 0 0 1 .636-1.102m11.329.313a4.05 4.05 0 0 1 3.347-.324c.458.158.73.627.636 1.103a4.05 4.05 0 0 1-3.59 3.26 4.05 4.05 0 0 1-1.709-.201.97.97 0 0 1-.637-1.101 4.05 4.05 0 0 1 1.953-2.737"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="currentColor" fill-rule="evenodd" d="M19 1a2.01 2.01 0 0 1 2 2v8a2.005 2.005 0 0 1-2 2h-6v9a1 1 0 1 1-2 0v-9H5a2.006 2.006 0 0 1-2-2V3a2.006 2.006 0 0 1 2-2zM5 11h2.5A2.5 2.5 0 0 0 5 8.5zm14-2.5a2.5 2.5 0 0 0-2.5 2.5H19zm-6.235-3.348a2 2 0 1 0-1.532 3.696 2 2 0 0 0 1.532-3.696M5 5.5A2.5 2.5 0 0 0 7.5 3H5zM16.5 3A2.5 2.5 0 0 0 19 5.5V3z" clip-rule="evenodd"/>
3
+ <path fill="currentColor" d="M1.564 15.315a6.03 6.03 0 0 1 4.946.497 6.03 6.03 0 0 1 2.904 4.035.825.825 0 0 1-.548.948 6.03 6.03 0 0 1-4.946-.496 6.03 6.03 0 0 1-2.904-4.035.826.826 0 0 1 .548-.95M17.42 15.812a6.03 6.03 0 0 1 4.946-.497.826.826 0 0 1 .548.949 6.03 6.03 0 0 1-2.904 4.035 6.03 6.03 0 0 1-4.946.496.825.825 0 0 1-.548-.948 6.03 6.03 0 0 1 2.904-4.036"/>
4
+ </svg>