@sumup-oss/icons 5.12.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/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">;
@@ -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";
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.12.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,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>