@sumup-oss/icons 6.2.0 → 6.3.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 +40 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/manifest.json +5 -0
- package/package.json +1 -1
- package/web/v2/pos_24.svg +3 -0
package/dist/Pos.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
var Pos24 = function Pos24(props) {
|
|
4
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
12
|
+
d: "M10 19C10.5523 19 11 19.4477 11 20C11 20.5523 10.5523 21 10 21H6C5.44772 21 5 20.5523 5 20C5 19.4477 5.44772 19 6 19H10ZM20 12C21.1046 12 22 12.8954 22 14V19C22 20.0357 21.2128 20.887 20.2041 20.9893L20 21H15L14.7959 20.9893C13.8543 20.8938 13.1062 20.1457 13.0107 19.2041L13 19V14C13 12.8954 13.8954 12 15 12H20ZM15 19H20V14H15V19ZM19 18H16V15H19V18ZM18 4C19.6569 4 21 5.34315 21 7V10H19V7C19 6.44772 18.5523 6 18 6H5C4.44772 6 4 6.44772 4 7V14C4 14.5523 4.44772 15 5 15H11V17H5C3.34315 17 2 15.6569 2 14V7C2 5.34315 3.34315 4 5 4H18Z",
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
}),
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const sizeMap = {
|
|
18
|
+
24: Pos24,
|
|
19
|
+
};
|
|
20
|
+
export function Pos(_ref) {
|
|
21
|
+
let { size = "24", ...props } = _ref;
|
|
22
|
+
const Icon = sizeMap[size] || sizeMap["24"];
|
|
23
|
+
if (
|
|
24
|
+
process.env.NODE_ENV !== "production" &&
|
|
25
|
+
process.env.NODE_ENV !== "test" &&
|
|
26
|
+
!sizeMap[size]
|
|
27
|
+
) {
|
|
28
|
+
console.warn(
|
|
29
|
+
new Error(
|
|
30
|
+
"The '".concat(
|
|
31
|
+
size,
|
|
32
|
+
"' size is not supported by the 'Pos' icon. Please use one of the available sizes: '24'.",
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
return /*#__PURE__*/ _jsx(Icon, {
|
|
38
|
+
...props,
|
|
39
|
+
});
|
|
40
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1027,6 +1027,8 @@ declare const PayoutSettings: IconComponentType<"24">;
|
|
|
1027
1027
|
|
|
1028
1028
|
declare const Payouts: IconComponentType<"24">;
|
|
1029
1029
|
|
|
1030
|
+
declare const Pos: IconComponentType<"24">;
|
|
1031
|
+
|
|
1030
1032
|
declare const Promote: IconComponentType<"24">;
|
|
1031
1033
|
|
|
1032
1034
|
declare const QrCode: IconComponentType<"24">;
|
|
@@ -1431,6 +1433,7 @@ export {
|
|
|
1431
1433
|
PaymentMethods,
|
|
1432
1434
|
PayoutSettings,
|
|
1433
1435
|
Payouts,
|
|
1436
|
+
Pos,
|
|
1434
1437
|
Promote,
|
|
1435
1438
|
QrCode,
|
|
1436
1439
|
Receipt,
|
|
@@ -1794,6 +1797,7 @@ export type IconName =
|
|
|
1794
1797
|
| "payment_methods"
|
|
1795
1798
|
| "payout_settings"
|
|
1796
1799
|
| "payouts"
|
|
1800
|
+
| "pos"
|
|
1797
1801
|
| "promote"
|
|
1798
1802
|
| "qr_code"
|
|
1799
1803
|
| "receipt"
|
|
@@ -2167,6 +2171,7 @@ type Icons = {
|
|
|
2167
2171
|
payment_methods: "24";
|
|
2168
2172
|
payout_settings: "24";
|
|
2169
2173
|
payouts: "24";
|
|
2174
|
+
pos: "24";
|
|
2170
2175
|
promote: "24";
|
|
2171
2176
|
qr_code: "24";
|
|
2172
2177
|
receipt: "24";
|
package/dist/index.js
CHANGED
|
@@ -325,6 +325,7 @@ export { PaymentLinks } from "./PaymentLinks.js";
|
|
|
325
325
|
export { PaymentMethods } from "./PaymentMethods.js";
|
|
326
326
|
export { PayoutSettings } from "./PayoutSettings.js";
|
|
327
327
|
export { Payouts } from "./Payouts.js";
|
|
328
|
+
export { Pos } from "./Pos.js";
|
|
328
329
|
export { Promote } from "./Promote.js";
|
|
329
330
|
export { QrCode } from "./QrCode.js";
|
|
330
331
|
export { Receipt } from "./Receipt.js";
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -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="M10 19C10.5523 19 11 19.4477 11 20C11 20.5523 10.5523 21 10 21H6C5.44772 21 5 20.5523 5 20C5 19.4477 5.44772 19 6 19H10ZM20 12C21.1046 12 22 12.8954 22 14V19C22 20.0357 21.2128 20.887 20.2041 20.9893L20 21H15L14.7959 20.9893C13.8543 20.8938 13.1062 20.1457 13.0107 19.2041L13 19V14C13 12.8954 13.8954 12 15 12H20ZM15 19H20V14H15V19ZM19 18H16V15H19V18ZM18 4C19.6569 4 21 5.34315 21 7V10H19V7C19 6.44772 18.5523 6 18 6H5C4.44772 6 4 6.44772 4 7V14C4 14.5523 4.44772 15 5 15H11V17H5C3.34315 17 2 15.6569 2 14V7C2 5.34315 3.34315 4 5 4H18Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|