@sumup-oss/icons 5.24.1 → 5.25.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/Pos.js ADDED
@@ -0,0 +1,56 @@
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 Pos24 = function Pos24(props) {
17
+ return /*#__PURE__*/ React.createElement(
18
+ "svg",
19
+ _extends(
20
+ {
21
+ width: "24",
22
+ height: "24",
23
+ viewBox: "0 0 24 24",
24
+ fill: "none",
25
+ xmlns: "http://www.w3.org/2000/svg",
26
+ },
27
+ props,
28
+ ),
29
+ /*#__PURE__*/ React.createElement("path", {
30
+ d: "M12 19C12.5523 19 13 19.4477 13 20C13 20.5523 12.5523 21 12 21H9C8.44772 21 8 20.5523 8 20C8 19.4477 8.44772 19 9 19H12ZM19.7998 12C20.9199 12 21.4804 11.9998 21.9082 12.2178C22.2845 12.4095 22.5905 12.7155 22.7822 13.0918C23.0002 13.5196 23 14.0801 23 15.2002V17.7998C23 18.9199 23.0002 19.4804 22.7822 19.9082C22.5905 20.2845 22.2845 20.5905 21.9082 20.7822C21.4804 21.0002 20.9199 21 19.7998 21H17.2002C16.0801 21 15.5196 21.0002 15.0918 20.7822C14.7155 20.5905 14.4095 20.2845 14.2178 19.9082C13.9998 19.4804 14 18.9199 14 17.7998V15.2002C14 14.0801 13.9998 13.5196 14.2178 13.0918C14.4095 12.7155 14.7155 12.4095 15.0918 12.2178C15.5196 11.9998 16.0801 12 17.2002 12H19.7998ZM16.5996 13C16.0398 13 15.7598 13.0004 15.5459 13.1094C15.3579 13.2052 15.2052 13.3579 15.1094 13.5459C15.0004 13.7598 15 14.0398 15 14.5996V18.4004C15 18.9602 15.0004 19.2402 15.1094 19.4541C15.2052 19.6421 15.3579 19.7948 15.5459 19.8906C15.7598 19.9996 16.0398 20 16.5996 20H20.4004C20.9602 20 21.2402 19.9996 21.4541 19.8906C21.6421 19.7948 21.7948 19.6421 21.8906 19.4541C21.9996 19.2402 22 18.9602 22 18.4004V14.5996C22 14.0398 21.9996 13.7598 21.8906 13.5459C21.7948 13.3579 21.6421 13.2052 21.4541 13.1094C21.2402 13.0004 20.9602 13 20.4004 13H16.5996ZM21 19H16V14H21V19ZM17.7998 5C18.9199 5 19.4804 4.99979 19.9082 5.21777C20.2845 5.40951 20.5905 5.71554 20.7822 6.0918C21.0002 6.51962 21 7.08009 21 8.2002V11.0303C20.5286 11.0015 19.9476 11 19.2002 11H17.7998C16.1198 11 15.2794 11.0002 14.6377 11.3271C14.0735 11.6147 13.6147 12.0735 13.3271 12.6377C13.0002 13.2794 13 14.1198 13 15.7998V17.2002C13 17.4908 13.0022 17.7563 13.0039 18H5.2002C4.08009 18 3.51962 18.0002 3.0918 17.7822C2.71554 17.5905 2.40951 17.2845 2.21777 16.9082C1.99979 16.4804 2 15.9199 2 14.7998V8.2002C2 7.08009 1.99979 6.51962 2.21777 6.0918C2.40951 5.71554 2.71554 5.40951 3.0918 5.21777C3.51962 4.99979 4.08009 5 5.2002 5H17.7998Z",
31
+ fill: "currentColor",
32
+ }),
33
+ );
34
+ };
35
+ const sizeMap = {
36
+ 24: Pos24,
37
+ };
38
+ export function Pos(_ref) {
39
+ let { size = "24", ...props } = _ref;
40
+ const Icon = sizeMap[size] || sizeMap["24"];
41
+ if (
42
+ process.env.NODE_ENV !== "production" &&
43
+ process.env.NODE_ENV !== "test" &&
44
+ !sizeMap[size]
45
+ ) {
46
+ console.warn(
47
+ new Error(
48
+ "The '".concat(
49
+ size,
50
+ "' size is not supported by the 'Pos' icon. Please use one of the available sizes: '24'.",
51
+ ),
52
+ ),
53
+ );
54
+ }
55
+ return /*#__PURE__*/ React.createElement(Icon, props);
56
+ }
package/dist/index.d.ts CHANGED
@@ -955,6 +955,8 @@ declare const PayoutSettings: IconComponentType<"24">;
955
955
 
956
956
  declare const Payouts: IconComponentType<"24">;
957
957
 
958
+ declare const Pos: IconComponentType<"24">;
959
+
958
960
  declare const Promote: IconComponentType<"24">;
959
961
 
960
962
  declare const QrCode: IconComponentType<"24">;
@@ -1344,6 +1346,7 @@ export {
1344
1346
  PaymentMethods,
1345
1347
  PayoutSettings,
1346
1348
  Payouts,
1349
+ Pos,
1347
1350
  Promote,
1348
1351
  QrCode,
1349
1352
  Receipt,
@@ -1904,6 +1907,7 @@ export type IconName =
1904
1907
  | "payment_methods"
1905
1908
  | "payout_settings"
1906
1909
  | "payouts"
1910
+ | "pos"
1907
1911
  | "promote"
1908
1912
  | "qr_code"
1909
1913
  | "receipt"
@@ -2474,6 +2478,7 @@ type Icons = {
2474
2478
  payment_methods: "24";
2475
2479
  payout_settings: "24";
2476
2480
  payouts: "24";
2481
+ pos: "24";
2477
2482
  promote: "24";
2478
2483
  qr_code: "24";
2479
2484
  receipt: "24";
package/dist/index.js CHANGED
@@ -522,6 +522,7 @@ export { PaymentLink } from "./PaymentLink.js";
522
522
  export { PaymentMethods } from "./PaymentMethods.js";
523
523
  export { PayoutSettings } from "./PayoutSettings.js";
524
524
  export { Payouts } from "./Payouts.js";
525
+ export { Pos } from "./Pos.js";
525
526
  export { Promote } from "./Promote.js";
526
527
  export { QrCode } from "./QrCode.js";
527
528
  export { Receipt } from "./Receipt.js";
package/manifest.json CHANGED
@@ -3913,6 +3913,11 @@
3913
3913
  "category": "Product and feature",
3914
3914
  "size": "24"
3915
3915
  },
3916
+ {
3917
+ "name": "pos",
3918
+ "category": "Product and feature",
3919
+ "size": "24"
3920
+ },
3916
3921
  {
3917
3922
  "name": "promote",
3918
3923
  "category": "Product and feature",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.24.1",
3
+ "version": "5.25.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@babel/preset-react": "^7.28.5",
44
44
  "@biomejs/js-api": "^3.0.0",
45
45
  "@types/babel__core": "^7.20.5",
46
- "fast-xml-parser": "^5.5.7",
46
+ "fast-xml-parser": "^5.7.1",
47
47
  "tsx": "^4.21.0",
48
48
  "typescript": "^5.9.3",
49
49
  "vitest": "^4.0.6"
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 19C12.5523 19 13 19.4477 13 20C13 20.5523 12.5523 21 12 21H9C8.44772 21 8 20.5523 8 20C8 19.4477 8.44772 19 9 19H12ZM19.7998 12C20.9199 12 21.4804 11.9998 21.9082 12.2178C22.2845 12.4095 22.5905 12.7155 22.7822 13.0918C23.0002 13.5196 23 14.0801 23 15.2002V17.7998C23 18.9199 23.0002 19.4804 22.7822 19.9082C22.5905 20.2845 22.2845 20.5905 21.9082 20.7822C21.4804 21.0002 20.9199 21 19.7998 21H17.2002C16.0801 21 15.5196 21.0002 15.0918 20.7822C14.7155 20.5905 14.4095 20.2845 14.2178 19.9082C13.9998 19.4804 14 18.9199 14 17.7998V15.2002C14 14.0801 13.9998 13.5196 14.2178 13.0918C14.4095 12.7155 14.7155 12.4095 15.0918 12.2178C15.5196 11.9998 16.0801 12 17.2002 12H19.7998ZM16.5996 13C16.0398 13 15.7598 13.0004 15.5459 13.1094C15.3579 13.2052 15.2052 13.3579 15.1094 13.5459C15.0004 13.7598 15 14.0398 15 14.5996V18.4004C15 18.9602 15.0004 19.2402 15.1094 19.4541C15.2052 19.6421 15.3579 19.7948 15.5459 19.8906C15.7598 19.9996 16.0398 20 16.5996 20H20.4004C20.9602 20 21.2402 19.9996 21.4541 19.8906C21.6421 19.7948 21.7948 19.6421 21.8906 19.4541C21.9996 19.2402 22 18.9602 22 18.4004V14.5996C22 14.0398 21.9996 13.7598 21.8906 13.5459C21.7948 13.3579 21.6421 13.2052 21.4541 13.1094C21.2402 13.0004 20.9602 13 20.4004 13H16.5996ZM21 19H16V14H21V19ZM17.7998 5C18.9199 5 19.4804 4.99979 19.9082 5.21777C20.2845 5.40951 20.5905 5.71554 20.7822 6.0918C21.0002 6.51962 21 7.08009 21 8.2002V11.0303C20.5286 11.0015 19.9476 11 19.2002 11H17.7998C16.1198 11 15.2794 11.0002 14.6377 11.3271C14.0735 11.6147 13.6147 12.0735 13.3271 12.6377C13.0002 13.2794 13 14.1198 13 15.7998V17.2002C13 17.4908 13.0022 17.7563 13.0039 18H5.2002C4.08009 18 3.51962 18.0002 3.0918 17.7822C2.71554 17.5905 2.40951 17.2845 2.21777 16.9082C1.99979 16.4804 2 15.9199 2 14.7998V8.2002C2 7.08009 1.99979 6.51962 2.21777 6.0918C2.40951 5.71554 2.71554 5.40951 3.0918 5.21777C3.51962 4.99979 4.08009 5 5.2002 5H17.7998Z" fill="currentColor"/>
3
+ </svg>