@sumup-oss/icons 6.13.0 → 6.14.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/CalendarCoins.js +68 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/manifest.json +5 -0
- package/package.json +2 -2
- package/web/v2/calendar_coins_24.svg +4 -0
|
@@ -0,0 +1,68 @@
|
|
|
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 n = Object.getOwnPropertySymbols(e);
|
|
9
|
+
for (r = 0; r < n.length; r++)
|
|
10
|
+
(o = n[r]),
|
|
11
|
+
-1 === t.indexOf(o) &&
|
|
12
|
+
{}.propertyIsEnumerable.call(e, o) &&
|
|
13
|
+
(i[o] = e[o]);
|
|
14
|
+
}
|
|
15
|
+
return i;
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
18
|
+
if (null == r) return {};
|
|
19
|
+
var t = {};
|
|
20
|
+
for (var n in r)
|
|
21
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
22
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
23
|
+
t[n] = r[n];
|
|
24
|
+
}
|
|
25
|
+
return t;
|
|
26
|
+
}
|
|
27
|
+
import React from "react";
|
|
28
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
|
+
var CalendarCoins24 = function CalendarCoins24(props) {
|
|
30
|
+
return /*#__PURE__*/ _jsx("svg", {
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
width: "24",
|
|
33
|
+
height: "24",
|
|
34
|
+
fill: "none",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
...props,
|
|
37
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
38
|
+
fill: "currentColor",
|
|
39
|
+
d: "M17.539 12.923h.922a.923.923 0 0 1 0 1.846h-2.706a.4.4 0 0 0-.063.23.4.4 0 0 0 .063.232h1.783c.565 0 1.052.281 1.374.684.318.397.473.9.473 1.393 0 .492-.155.995-.473 1.392-.322.403-.809.684-1.373.684v.924h-1.847v-.924h-.923a.923.923 0 0 1 0-1.846h2.706a.4.4 0 0 0 .063-.23.4.4 0 0 0-.063-.231h-1.783c-.564 0-1.051-.282-1.373-.684A2.24 2.24 0 0 1 13.846 15c0-.492.155-.995.473-1.393.322-.402.809-.684 1.373-.684V12h1.846zm-3.11-11.538c.51 0 .923.413.923.923v.738h1.555c.684 0 1.34.274 1.822.759a2.6 2.6 0 0 1 .753 1.825v4.559a.923.923 0 0 1-1.846 0v-.312H4.616v7.385c0 .197.078.385.215.523a.72.72 0 0 0 .513.215h6.097a.923.923 0 0 1 0 1.846H5.344a2.57 2.57 0 0 1-1.822-.759 2.6 2.6 0 0 1-.753-1.825V5.63c0-.683.27-1.34.753-1.825a2.57 2.57 0 0 1 1.822-.76h1.555v-.737a.923.923 0 0 1 1.846 0v.738h4.761v-.738c0-.51.414-.923.923-.923M5.344 4.892a.72.72 0 0 0-.513.215.74.74 0 0 0-.216.523v2.4h13.02v-2.4a.74.74 0 0 0-.215-.523.73.73 0 0 0-.514-.215h-1.553v.738a.923.923 0 0 1-1.847 0v-.738H8.745v.738a.923.923 0 1 1-1.846 0v-.738z",
|
|
40
|
+
}),
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const CalendarCoinsSizeMap = {
|
|
44
|
+
24: CalendarCoins24,
|
|
45
|
+
};
|
|
46
|
+
export function CalendarCoins(_ref) {
|
|
47
|
+
let _ref$size = _ref.size,
|
|
48
|
+
size = _ref$size === void 0 ? "24" : _ref$size,
|
|
49
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
50
|
+
const Icon = CalendarCoinsSizeMap[size] || CalendarCoinsSizeMap["24"];
|
|
51
|
+
if (
|
|
52
|
+
process.env.NODE_ENV !== "production" &&
|
|
53
|
+
process.env.NODE_ENV !== "test" &&
|
|
54
|
+
!CalendarCoinsSizeMap[size]
|
|
55
|
+
) {
|
|
56
|
+
console.warn(
|
|
57
|
+
new Error(
|
|
58
|
+
"The '".concat(
|
|
59
|
+
size,
|
|
60
|
+
"' size is not supported by the 'CalendarCoins' icon. Please use one of the available sizes: '24'.",
|
|
61
|
+
),
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
return /*#__PURE__*/ _jsx(Icon, {
|
|
66
|
+
...props,
|
|
67
|
+
});
|
|
68
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -695,6 +695,8 @@ declare const Cafe: IconComponentType<"24">;
|
|
|
695
695
|
|
|
696
696
|
declare const Calendar: IconComponentType<"24">;
|
|
697
697
|
|
|
698
|
+
declare const CalendarCoins: IconComponentType<"24">;
|
|
699
|
+
|
|
698
700
|
declare const Checkmark: IconComponentType<"16" | "24">;
|
|
699
701
|
|
|
700
702
|
declare const Cheque: IconComponentType<"24">;
|
|
@@ -1426,6 +1428,7 @@ export {
|
|
|
1426
1428
|
Briefcase,
|
|
1427
1429
|
Cafe,
|
|
1428
1430
|
Calendar,
|
|
1431
|
+
CalendarCoins,
|
|
1429
1432
|
Checkmark,
|
|
1430
1433
|
Cheque,
|
|
1431
1434
|
Clothing,
|
|
@@ -1841,6 +1844,7 @@ export type IconName =
|
|
|
1841
1844
|
| "briefcase"
|
|
1842
1845
|
| "cafe"
|
|
1843
1846
|
| "calendar"
|
|
1847
|
+
| "calendar_coins"
|
|
1844
1848
|
| "checkmark"
|
|
1845
1849
|
| "cheque"
|
|
1846
1850
|
| "clothing"
|
|
@@ -2266,6 +2270,7 @@ type Icons = {
|
|
|
2266
2270
|
briefcase: "24";
|
|
2267
2271
|
cafe: "24";
|
|
2268
2272
|
calendar: "24";
|
|
2273
|
+
calendar_coins: "24";
|
|
2269
2274
|
checkmark: "16" | "24";
|
|
2270
2275
|
cheque: "24";
|
|
2271
2276
|
clothing: "24";
|
package/dist/index.js
CHANGED
|
@@ -204,6 +204,7 @@ export { BatteryAlert } from "./BatteryAlert.js";
|
|
|
204
204
|
export { Briefcase } from "./Briefcase.js";
|
|
205
205
|
export { Cafe } from "./Cafe.js";
|
|
206
206
|
export { Calendar } from "./Calendar.js";
|
|
207
|
+
export { CalendarCoins } from "./CalendarCoins.js";
|
|
207
208
|
export { Checkmark } from "./Checkmark.js";
|
|
208
209
|
export { Cheque } from "./Cheque.js";
|
|
209
210
|
export { Clothing } from "./Clothing.js";
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/icons",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0",
|
|
4
4
|
"description": "A collection of icons by SumUp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/babel__core": "^7.20.5",
|
|
48
48
|
"@types/react": "^19.2.15",
|
|
49
49
|
"@types/react-dom": "^19.2.3",
|
|
50
|
-
"fast-xml-parser": "^5.
|
|
50
|
+
"fast-xml-parser": "^5.10.1",
|
|
51
51
|
"jest-axe": "^10.0.0",
|
|
52
52
|
"jsdom": "^29.0.2",
|
|
53
53
|
"react": "^19.2.6",
|
|
@@ -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"
|
|
3
|
+
d="M17.539 12.923h.922a.923.923 0 0 1 0 1.846h-2.706a.4.4 0 0 0-.063.23.4.4 0 0 0 .063.232h1.783c.565 0 1.052.281 1.374.684.318.397.473.9.473 1.393 0 .492-.155.995-.473 1.392-.322.403-.809.684-1.373.684v.924h-1.847v-.924h-.923a.923.923 0 0 1 0-1.846h2.706a.4.4 0 0 0 .063-.23.4.4 0 0 0-.063-.231h-1.783c-.564 0-1.051-.282-1.373-.684A2.24 2.24 0 0 1 13.846 15c0-.492.155-.995.473-1.393.322-.402.809-.684 1.373-.684V12h1.846zm-3.11-11.538c.51 0 .923.413.923.923v.738h1.555c.684 0 1.34.274 1.822.759a2.6 2.6 0 0 1 .753 1.825v4.559a.923.923 0 0 1-1.846 0v-.312H4.616v7.385c0 .197.078.385.215.523a.72.72 0 0 0 .513.215h6.097a.923.923 0 0 1 0 1.846H5.344a2.57 2.57 0 0 1-1.822-.759 2.6 2.6 0 0 1-.753-1.825V5.63c0-.683.27-1.34.753-1.825a2.57 2.57 0 0 1 1.822-.76h1.555v-.737a.923.923 0 0 1 1.846 0v.738h4.761v-.738c0-.51.414-.923.923-.923M5.344 4.892a.72.72 0 0 0-.513.215.74.74 0 0 0-.216.523v2.4h13.02v-2.4a.74.74 0 0 0-.215-.523.73.73 0 0 0-.514-.215h-1.553v.738a.923.923 0 0 1-1.847 0v-.738H8.745v.738a.923.923 0 1 1-1.846 0v-.738z"/>
|
|
4
|
+
</svg>
|