@sumup-oss/icons 5.0.0 → 5.2.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/FlagJa.js +5 -1
- package/dist/FlagJp.js +93 -0
- package/dist/ParcelLocker.js +95 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +2 -0
- package/manifest.json +13 -1
- package/package.json +2 -2
- package/web/v2/flag_ja_16.svg +1 -1
- package/web/v2/flag_jp_16.svg +5 -0
- package/web/v2/parcel_locker_24.svg +5 -0
package/dist/FlagJa.js
CHANGED
|
@@ -57,7 +57,7 @@ var FlagJa16 = function FlagJa16(props) {
|
|
|
57
57
|
/*#__PURE__*/ React.createElement("path", {
|
|
58
58
|
fill: "#CCC",
|
|
59
59
|
fillRule: "evenodd",
|
|
60
|
-
d: "M1.882 2h12.236C15.158 2 16 2.843 16 3.882v7.53c0 1.04-.843 1.882-1.882 1.882H1.882A1.88 1.88 0 0 1 0 11.412v-7.53C0 2.842.843 2 1.882 2m0 .47c-.78 0-1.411.633-1.411 1.412v7.53c0 .78.632 1.411 1.411 1.411h12.
|
|
60
|
+
d: "M1.882 2h12.236C15.158 2 16 2.843 16 3.882v7.53c0 1.04-.843 1.882-1.882 1.882H1.882A1.88 1.88 0 0 1 0 11.412v-7.53C0 2.842.843 2 1.882 2m0 .47c-.78 0-1.411.633-1.411 1.412v7.53c0 .78.632 1.411 1.411 1.411h12.236a1.41 1.41 0 0 0 1.411-1.411v-7.53a1.41 1.41 0 0 0-1.411-1.411z",
|
|
61
61
|
clipRule: "evenodd",
|
|
62
62
|
}),
|
|
63
63
|
/*#__PURE__*/ React.createElement("circle", {
|
|
@@ -71,6 +71,10 @@ var FlagJa16 = function FlagJa16(props) {
|
|
|
71
71
|
const sizeMap = {
|
|
72
72
|
16: FlagJa16,
|
|
73
73
|
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @deprecated Use the `FlagJp` icon instead.
|
|
77
|
+
*/
|
|
74
78
|
export function FlagJa(_ref) {
|
|
75
79
|
let { size = "16" } = _ref,
|
|
76
80
|
props = _objectWithoutProperties(_ref, _excluded);
|
package/dist/FlagJp.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
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 FlagJp16 = function FlagJp16(props) {
|
|
41
|
+
return /*#__PURE__*/ React.createElement(
|
|
42
|
+
"svg",
|
|
43
|
+
_extends(
|
|
44
|
+
{
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
width: "16",
|
|
47
|
+
height: "16",
|
|
48
|
+
fill: "none",
|
|
49
|
+
viewBox: "0 0 16 16",
|
|
50
|
+
},
|
|
51
|
+
props,
|
|
52
|
+
),
|
|
53
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
54
|
+
fill: "#fff",
|
|
55
|
+
d: "M14.476 2H1.524C.682 2 0 2.657 0 3.467v8.066C0 12.343.682 13 1.524 13h12.952c.842 0 1.524-.657 1.524-1.467V3.467C16 2.657 15.318 2 14.476 2",
|
|
56
|
+
}),
|
|
57
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
58
|
+
fill: "#CCC",
|
|
59
|
+
fillRule: "evenodd",
|
|
60
|
+
d: "M1.882 2h12.236C15.158 2 16 2.843 16 3.882v7.53c0 1.04-.843 1.882-1.882 1.882H1.882A1.88 1.88 0 0 1 0 11.412v-7.53C0 2.842.843 2 1.882 2m0 .47c-.78 0-1.411.633-1.411 1.412v7.53c0 .78.632 1.411 1.411 1.411h12.236a1.41 1.41 0 0 0 1.411-1.411v-7.53a1.41 1.41 0 0 0-1.411-1.411z",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
}),
|
|
63
|
+
/*#__PURE__*/ React.createElement("circle", {
|
|
64
|
+
cx: "8",
|
|
65
|
+
cy: "7.656",
|
|
66
|
+
r: "3",
|
|
67
|
+
fill: "#BC002D",
|
|
68
|
+
}),
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
const sizeMap = {
|
|
72
|
+
16: FlagJp16,
|
|
73
|
+
};
|
|
74
|
+
export function FlagJp(_ref) {
|
|
75
|
+
let { size = "16" } = _ref,
|
|
76
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
77
|
+
const Icon = sizeMap[size] || sizeMap["16"];
|
|
78
|
+
if (
|
|
79
|
+
process.env.NODE_ENV !== "production" &&
|
|
80
|
+
process.env.NODE_ENV !== "test" &&
|
|
81
|
+
!sizeMap[size]
|
|
82
|
+
) {
|
|
83
|
+
console.warn(
|
|
84
|
+
new Error(
|
|
85
|
+
"The '".concat(
|
|
86
|
+
size,
|
|
87
|
+
"' size is not supported by the 'FlagJp' icon. Please use one of the available sizes: '16'.",
|
|
88
|
+
),
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
return /*#__PURE__*/ React.createElement(Icon, props);
|
|
93
|
+
}
|
|
@@ -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
|
@@ -252,6 +252,11 @@ declare const FlagIe: IconComponentType<"16">;
|
|
|
252
252
|
|
|
253
253
|
declare const FlagIt: IconComponentType<"16">;
|
|
254
254
|
|
|
255
|
+
declare const FlagJp: IconComponentType<"16">;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @deprecated Use the `FlagJp` icon instead.
|
|
259
|
+
*/
|
|
255
260
|
declare const FlagJa: IconComponentType<"16">;
|
|
256
261
|
|
|
257
262
|
declare const FlagLt: IconComponentType<"16">;
|
|
@@ -601,6 +606,8 @@ declare const OnlineStore: IconComponentType<"24">;
|
|
|
601
606
|
|
|
602
607
|
declare const Orders: IconComponentType<"24">;
|
|
603
608
|
|
|
609
|
+
declare const ParcelLocker: IconComponentType<"24">;
|
|
610
|
+
|
|
604
611
|
declare const PaymentLink: IconComponentType<"24">;
|
|
605
612
|
|
|
606
613
|
declare const PaymentMethods: IconComponentType<"24">;
|
|
@@ -797,6 +804,7 @@ export {
|
|
|
797
804
|
FlagHu,
|
|
798
805
|
FlagIe,
|
|
799
806
|
FlagIt,
|
|
807
|
+
FlagJp,
|
|
800
808
|
FlagJa,
|
|
801
809
|
FlagLt,
|
|
802
810
|
FlagLu,
|
|
@@ -970,6 +978,7 @@ export {
|
|
|
970
978
|
OnlinePayments,
|
|
971
979
|
OnlineStore,
|
|
972
980
|
Orders,
|
|
981
|
+
ParcelLocker,
|
|
973
982
|
PaymentLink,
|
|
974
983
|
PaymentMethods,
|
|
975
984
|
PayoutSettings,
|
package/dist/index.js
CHANGED
|
@@ -112,6 +112,7 @@ export { FlagHr } from "./FlagHr.js";
|
|
|
112
112
|
export { FlagHu } from "./FlagHu.js";
|
|
113
113
|
export { FlagIe } from "./FlagIe.js";
|
|
114
114
|
export { FlagIt } from "./FlagIt.js";
|
|
115
|
+
export { FlagJp } from "./FlagJp.js";
|
|
115
116
|
export { FlagJa } from "./FlagJa.js";
|
|
116
117
|
export { FlagLt } from "./FlagLt.js";
|
|
117
118
|
export { FlagLu } from "./FlagLu.js";
|
|
@@ -285,6 +286,7 @@ export { NotificationCenter } from "./NotificationCenter.js";
|
|
|
285
286
|
export { OnlinePayments } from "./OnlinePayments.js";
|
|
286
287
|
export { OnlineStore } from "./OnlineStore.js";
|
|
287
288
|
export { Orders } from "./Orders.js";
|
|
289
|
+
export { ParcelLocker } from "./ParcelLocker.js";
|
|
288
290
|
export { PaymentLink } from "./PaymentLink.js";
|
|
289
291
|
export { PaymentMethods } from "./PaymentMethods.js";
|
|
290
292
|
export { PayoutSettings } from "./PayoutSettings.js";
|
package/manifest.json
CHANGED
|
@@ -726,11 +726,18 @@
|
|
|
726
726
|
"size": "16"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
"name": "
|
|
729
|
+
"name": "flag_jp",
|
|
730
730
|
"category": "Country flag",
|
|
731
731
|
"keywords": ["Japan"],
|
|
732
732
|
"size": "16"
|
|
733
733
|
},
|
|
734
|
+
{
|
|
735
|
+
"name": "flag_ja",
|
|
736
|
+
"category": "Country flag",
|
|
737
|
+
"keywords": ["Japan"],
|
|
738
|
+
"size": "16",
|
|
739
|
+
"deprecation": "Use the `FlagJp` icon instead."
|
|
740
|
+
},
|
|
734
741
|
{
|
|
735
742
|
"name": "flag_lt",
|
|
736
743
|
"category": "Country flag",
|
|
@@ -1876,6 +1883,11 @@
|
|
|
1876
1883
|
"category": "Product and feature",
|
|
1877
1884
|
"size": "24"
|
|
1878
1885
|
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "parcel_locker",
|
|
1888
|
+
"category": "Product and feature",
|
|
1889
|
+
"size": "24"
|
|
1890
|
+
},
|
|
1879
1891
|
{
|
|
1880
1892
|
"name": "payment_link",
|
|
1881
1893
|
"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.2.0",
|
|
4
4
|
"description": "A collection of icons by SumUp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@babel/preset-react": "^7.25.9",
|
|
41
41
|
"@types/babel__core": "^7.20.5",
|
|
42
42
|
"fast-xml-parser": "^4.5.0",
|
|
43
|
-
"prettier": "^3.
|
|
43
|
+
"prettier": "^3.4.1",
|
|
44
44
|
"tsx": "^4.19.2",
|
|
45
45
|
"typescript": "^5.6.3"
|
|
46
46
|
},
|
package/web/v2/flag_ja_16.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path fill="#fff" d="M14.476 2H1.524C.682 2 0 2.657 0 3.467v8.066C0 12.343.682 13 1.524 13h12.952c.842 0 1.524-.657 1.524-1.467V3.467C16 2.657 15.318 2 14.476 2"/>
|
|
3
|
-
<path fill="#CCC" fill-rule="evenodd" d="M1.882 2h12.236C15.158 2 16 2.843 16 3.882v7.53c0 1.04-.843 1.882-1.882 1.882H1.882A1.88 1.88 0 0 1 0 11.412v-7.53C0 2.842.843 2 1.882 2m0 .47c-.78 0-1.411.633-1.411 1.412v7.53c0 .78.632 1.411 1.411 1.411h12.
|
|
3
|
+
<path fill="#CCC" fill-rule="evenodd" d="M1.882 2h12.236C15.158 2 16 2.843 16 3.882v7.53c0 1.04-.843 1.882-1.882 1.882H1.882A1.88 1.88 0 0 1 0 11.412v-7.53C0 2.842.843 2 1.882 2m0 .47c-.78 0-1.411.633-1.411 1.412v7.53c0 .78.632 1.411 1.411 1.411h12.236a1.41 1.41 0 0 0 1.411-1.411v-7.53a1.41 1.41 0 0 0-1.411-1.411z" clip-rule="evenodd"/>
|
|
4
4
|
<circle cx="8" cy="7.656" r="3" fill="#BC002D"/>
|
|
5
5
|
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
|
|
2
|
+
<path fill="#fff" d="M14.476 2H1.524C.682 2 0 2.657 0 3.467v8.066C0 12.343.682 13 1.524 13h12.952c.842 0 1.524-.657 1.524-1.467V3.467C16 2.657 15.318 2 14.476 2"/>
|
|
3
|
+
<path fill="#CCC" fill-rule="evenodd" d="M1.882 2h12.236C15.158 2 16 2.843 16 3.882v7.53c0 1.04-.843 1.882-1.882 1.882H1.882A1.88 1.88 0 0 1 0 11.412v-7.53C0 2.842.843 2 1.882 2m0 .47c-.78 0-1.411.633-1.411 1.412v7.53c0 .78.632 1.411 1.411 1.411h12.236a1.41 1.41 0 0 0 1.411-1.411v-7.53a1.41 1.41 0 0 0-1.411-1.411z" clip-rule="evenodd"/>
|
|
4
|
+
<circle cx="8" cy="7.656" r="3" fill="#BC002D"/>
|
|
5
|
+
</svg>
|
|
@@ -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>
|