@sumup-oss/icons 5.0.0-next.1 → 5.1.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/ParcelLocker.js +95 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/manifest.json +5 -0
- package/package.json +7 -7
- package/web/v2/parcel_locker_24.svg +5 -0
|
@@ -0,0 +1,95 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e);
|
|
9
|
+
for (r = 0; r < s.length; r++)
|
|
10
|
+
(o = s[r]),
|
|
11
|
+
t.includes(o) || ({}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]));
|
|
12
|
+
}
|
|
13
|
+
return i;
|
|
14
|
+
}
|
|
15
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
16
|
+
if (null == r) return {};
|
|
17
|
+
var t = {};
|
|
18
|
+
for (var n in r)
|
|
19
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
20
|
+
if (e.includes(n)) continue;
|
|
21
|
+
t[n] = r[n];
|
|
22
|
+
}
|
|
23
|
+
return t;
|
|
24
|
+
}
|
|
25
|
+
function _extends() {
|
|
26
|
+
return (
|
|
27
|
+
(_extends = Object.assign
|
|
28
|
+
? Object.assign.bind()
|
|
29
|
+
: function (n) {
|
|
30
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
31
|
+
var t = arguments[e];
|
|
32
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
33
|
+
}
|
|
34
|
+
return n;
|
|
35
|
+
}),
|
|
36
|
+
_extends.apply(null, arguments)
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
import React from "react";
|
|
40
|
+
var ParcelLocker24 = function ParcelLocker24(props) {
|
|
41
|
+
return /*#__PURE__*/ React.createElement(
|
|
42
|
+
"svg",
|
|
43
|
+
_extends(
|
|
44
|
+
{
|
|
45
|
+
width: "24",
|
|
46
|
+
height: "24",
|
|
47
|
+
viewBox: "0 0 24 24",
|
|
48
|
+
fill: "none",
|
|
49
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
50
|
+
},
|
|
51
|
+
props,
|
|
52
|
+
),
|
|
53
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
54
|
+
fillRule: "evenodd",
|
|
55
|
+
clipRule: "evenodd",
|
|
56
|
+
d: "M3 1C1.89543 1 1 1.89543 1 3V21C1 22.1046 1.89543 23 3 23H9C10.1046 23 11 22.1046 11 21V3C11 1.89543 10.1046 1 9 1H3ZM4 4C4 4.55228 4.44772 5 5 5H7C7.55228 5 8 4.55228 8 4C8 3.44772 7.55228 3 7 3H5C4.44772 3 4 3.44772 4 4Z",
|
|
57
|
+
fill: "currentColor",
|
|
58
|
+
}),
|
|
59
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
60
|
+
fillRule: "evenodd",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M15 13C13.8954 13 13 13.8954 13 15V21C13 22.1046 13.8954 23 15 23H21C22.1046 23 23 22.1046 23 21V15C23 13.8954 22.1046 13 21 13H15ZM17 15C16.4477 15 16 15.4477 16 16C16 16.5523 16.4477 17 17 17H19C19.5523 17 20 16.5523 20 16C20 15.4477 19.5523 15 19 15H17Z",
|
|
63
|
+
fill: "currentColor",
|
|
64
|
+
}),
|
|
65
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
66
|
+
fillRule: "evenodd",
|
|
67
|
+
clipRule: "evenodd",
|
|
68
|
+
d: "M15 1C13.8954 1 13 1.89543 13 3V9C13 10.1046 13.8954 11 15 11H21C22.1046 11 23 10.1046 23 9V3C23 1.89543 22.1046 1 21 1H15ZM17 3C16.4477 3 16 3.44772 16 4C16 4.55228 16.4477 5 17 5H19C19.5523 5 20 4.55228 20 4C20 3.44772 19.5523 3 19 3H17Z",
|
|
69
|
+
fill: "currentColor",
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
const sizeMap = {
|
|
74
|
+
24: ParcelLocker24,
|
|
75
|
+
};
|
|
76
|
+
export function ParcelLocker(_ref) {
|
|
77
|
+
let { size = "24" } = _ref,
|
|
78
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
79
|
+
const Icon = sizeMap[size] || sizeMap["24"];
|
|
80
|
+
if (
|
|
81
|
+
process.env.NODE_ENV !== "production" &&
|
|
82
|
+
process.env.NODE_ENV !== "test" &&
|
|
83
|
+
!sizeMap[size]
|
|
84
|
+
) {
|
|
85
|
+
console.warn(
|
|
86
|
+
new Error(
|
|
87
|
+
"The '".concat(
|
|
88
|
+
size,
|
|
89
|
+
"' size is not supported by the 'ParcelLocker' icon. Please use one of the available sizes: '24'.",
|
|
90
|
+
),
|
|
91
|
+
),
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
return /*#__PURE__*/ React.createElement(Icon, props);
|
|
95
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -601,6 +601,8 @@ declare const OnlineStore: IconComponentType<"24">;
|
|
|
601
601
|
|
|
602
602
|
declare const Orders: IconComponentType<"24">;
|
|
603
603
|
|
|
604
|
+
declare const ParcelLocker: IconComponentType<"24">;
|
|
605
|
+
|
|
604
606
|
declare const PaymentLink: IconComponentType<"24">;
|
|
605
607
|
|
|
606
608
|
declare const PaymentMethods: IconComponentType<"24">;
|
|
@@ -970,6 +972,7 @@ export {
|
|
|
970
972
|
OnlinePayments,
|
|
971
973
|
OnlineStore,
|
|
972
974
|
Orders,
|
|
975
|
+
ParcelLocker,
|
|
973
976
|
PaymentLink,
|
|
974
977
|
PaymentMethods,
|
|
975
978
|
PayoutSettings,
|
package/dist/index.js
CHANGED
|
@@ -285,6 +285,7 @@ export { NotificationCenter } from "./NotificationCenter.js";
|
|
|
285
285
|
export { OnlinePayments } from "./OnlinePayments.js";
|
|
286
286
|
export { OnlineStore } from "./OnlineStore.js";
|
|
287
287
|
export { Orders } from "./Orders.js";
|
|
288
|
+
export { ParcelLocker } from "./ParcelLocker.js";
|
|
288
289
|
export { PaymentLink } from "./PaymentLink.js";
|
|
289
290
|
export { PaymentMethods } from "./PaymentMethods.js";
|
|
290
291
|
export { PayoutSettings } from "./PayoutSettings.js";
|
package/manifest.json
CHANGED
|
@@ -1876,6 +1876,11 @@
|
|
|
1876
1876
|
"category": "Product and feature",
|
|
1877
1877
|
"size": "24"
|
|
1878
1878
|
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "parcel_locker",
|
|
1881
|
+
"category": "Product and feature",
|
|
1882
|
+
"size": "24"
|
|
1883
|
+
},
|
|
1879
1884
|
{
|
|
1880
1885
|
"name": "payment_link",
|
|
1881
1886
|
"category": "Product and feature",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/icons",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "A collection of icons by SumUp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"prepublish": "npm run build"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.
|
|
39
|
-
"@babel/preset-env": "^7.
|
|
40
|
-
"@babel/preset-react": "^7.
|
|
38
|
+
"@babel/core": "^7.26.0",
|
|
39
|
+
"@babel/preset-env": "^7.26.0",
|
|
40
|
+
"@babel/preset-react": "^7.25.9",
|
|
41
41
|
"@types/babel__core": "^7.20.5",
|
|
42
|
-
"fast-xml-parser": "^4.
|
|
42
|
+
"fast-xml-parser": "^4.5.0",
|
|
43
43
|
"prettier": "^3.3.3",
|
|
44
|
-
"tsx": "^4.
|
|
45
|
-
"typescript": "^5.6.
|
|
44
|
+
"tsx": "^4.19.2",
|
|
45
|
+
"typescript": "^5.6.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=16.0.0 <19.0.0"
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 1C1.89543 1 1 1.89543 1 3V21C1 22.1046 1.89543 23 3 23H9C10.1046 23 11 22.1046 11 21V3C11 1.89543 10.1046 1 9 1H3ZM4 4C4 4.55228 4.44772 5 5 5H7C7.55228 5 8 4.55228 8 4C8 3.44772 7.55228 3 7 3H5C4.44772 3 4 3.44772 4 4Z" fill="currentColor"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 13C13.8954 13 13 13.8954 13 15V21C13 22.1046 13.8954 23 15 23H21C22.1046 23 23 22.1046 23 21V15C23 13.8954 22.1046 13 21 13H15ZM17 15C16.4477 15 16 15.4477 16 16C16 16.5523 16.4477 17 17 17H19C19.5523 17 20 16.5523 20 16C20 15.4477 19.5523 15 19 15H17Z" fill="currentColor"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 1C13.8954 1 13 1.89543 13 3V9C13 10.1046 13.8954 11 15 11H21C22.1046 11 23 10.1046 23 9V3C23 1.89543 22.1046 1 21 1H15ZM17 3C16.4477 3 16 3.44772 16 4C16 4.55228 16.4477 5 17 5H19C19.5523 5 20 4.55228 20 4C20 3.44772 19.5523 3 19 3H17Z" fill="currentColor"/>
|
|
5
|
+
</svg>
|