@sumup-oss/icons 5.13.0 → 5.15.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/Move.js +76 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -0
- package/manifest.json +10 -0
- package/package.json +2 -2
- package/web/v2/move_16.svg +3 -0
- package/web/v2/move_24.svg +3 -0
package/dist/Move.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
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 Move16 = function Move16(props) {
|
|
17
|
+
return /*#__PURE__*/ React.createElement(
|
|
18
|
+
"svg",
|
|
19
|
+
_extends(
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: "16",
|
|
23
|
+
height: "16",
|
|
24
|
+
fill: "none",
|
|
25
|
+
viewBox: "0 0 16 16",
|
|
26
|
+
},
|
|
27
|
+
props,
|
|
28
|
+
),
|
|
29
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M15.333 8c0 .177-.069.347-.193.473l-4 4a.68.68 0 0 1-.473.194A.667.667 0 0 1 10 12c0-.177.07-.347.193-.473l2.867-2.86H2.94l2.867 2.86a.675.675 0 0 1-.002.944.67.67 0 0 1-.472.196.68.68 0 0 1-.473-.194l-4-4a.675.675 0 0 1 0-.946l4-4a.68.68 0 0 1 .473-.194A.667.667 0 0 1 6 4c0 .177-.07.347-.193.473L2.94 7.333h10.12l-2.867-2.86a.675.675 0 0 1 .002-.944.67.67 0 0 1 .472-.196c.177 0 .347.071.473.194l4 4a.68.68 0 0 1 .193.473",
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
var Move24 = function Move24(props) {
|
|
36
|
+
return /*#__PURE__*/ React.createElement(
|
|
37
|
+
"svg",
|
|
38
|
+
_extends(
|
|
39
|
+
{
|
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
+
width: "24",
|
|
42
|
+
height: "24",
|
|
43
|
+
fill: "none",
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
},
|
|
46
|
+
props,
|
|
47
|
+
),
|
|
48
|
+
/*#__PURE__*/ React.createElement("path", {
|
|
49
|
+
fill: "currentColor",
|
|
50
|
+
d: "M23 12c0 .265-.104.52-.29.71l-6 6c-.19.186-.445.29-.71.29a1 1 0 0 1-1-1c0-.265.104-.52.29-.71l4.3-4.29H4.41l4.3 4.29c.186.19.29.445.29.71a1 1 0 0 1-1 1c-.266 0-.52-.104-.71-.29l-6-6a1.013 1.013 0 0 1 0-1.42l6-6C7.48 5.104 7.734 5 8 5a1 1 0 0 1 1 1c0 .266-.104.52-.29.71L4.41 11h15.18l-4.3-4.29A1.01 1.01 0 0 1 15 6a1 1 0 0 1 1-1c.265 0 .52.104.71.29l6 6c.186.19.29.445.29.71",
|
|
51
|
+
}),
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
const sizeMap = {
|
|
55
|
+
16: Move16,
|
|
56
|
+
24: Move24,
|
|
57
|
+
};
|
|
58
|
+
export function Move(_ref) {
|
|
59
|
+
let { size = "24", ...props } = _ref;
|
|
60
|
+
const Icon = sizeMap[size] || sizeMap["24"];
|
|
61
|
+
if (
|
|
62
|
+
process.env.NODE_ENV !== "production" &&
|
|
63
|
+
process.env.NODE_ENV !== "test" &&
|
|
64
|
+
!sizeMap[size]
|
|
65
|
+
) {
|
|
66
|
+
console.warn(
|
|
67
|
+
new Error(
|
|
68
|
+
"The '".concat(
|
|
69
|
+
size,
|
|
70
|
+
"' size is not supported by the 'Move' icon. Please use one of the available sizes: '16', '24'.",
|
|
71
|
+
),
|
|
72
|
+
),
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
return /*#__PURE__*/ React.createElement(Icon, props);
|
|
76
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,8 @@ declare const More: IconComponentType<"24">;
|
|
|
85
85
|
|
|
86
86
|
declare const MoreCircle: IconComponentType<"24">;
|
|
87
87
|
|
|
88
|
+
declare const Move: IconComponentType<"16" | "24">;
|
|
89
|
+
|
|
88
90
|
declare const Pause: IconComponentType<"16" | "24">;
|
|
89
91
|
|
|
90
92
|
declare const Play: IconComponentType<"16" | "24">;
|
|
@@ -749,6 +751,7 @@ export {
|
|
|
749
751
|
MonthView,
|
|
750
752
|
More,
|
|
751
753
|
MoreCircle,
|
|
754
|
+
Move,
|
|
752
755
|
Pause,
|
|
753
756
|
Play,
|
|
754
757
|
Plus,
|
|
@@ -1099,6 +1102,7 @@ type Icons = {
|
|
|
1099
1102
|
month_view: "24";
|
|
1100
1103
|
more: "24";
|
|
1101
1104
|
more_circle: "24";
|
|
1105
|
+
move: "16" | "24";
|
|
1102
1106
|
pause: "16" | "24";
|
|
1103
1107
|
play: "16" | "24";
|
|
1104
1108
|
plus: "16" | "24";
|
package/dist/index.js
CHANGED
|
@@ -34,6 +34,7 @@ export { Minus } from "./Minus.js";
|
|
|
34
34
|
export { MonthView } from "./MonthView.js";
|
|
35
35
|
export { More } from "./More.js";
|
|
36
36
|
export { MoreCircle } from "./MoreCircle.js";
|
|
37
|
+
export { Move } from "./Move.js";
|
|
37
38
|
export { Pause } from "./Pause.js";
|
|
38
39
|
export { Play } from "./Play.js";
|
|
39
40
|
export { Plus } from "./Plus.js";
|
package/manifest.json
CHANGED
|
@@ -236,6 +236,16 @@
|
|
|
236
236
|
"category": "Action",
|
|
237
237
|
"size": "24"
|
|
238
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"name": "move",
|
|
241
|
+
"category": "Action",
|
|
242
|
+
"size": "16"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "move",
|
|
246
|
+
"category": "Action",
|
|
247
|
+
"size": "24"
|
|
248
|
+
},
|
|
239
249
|
{
|
|
240
250
|
"name": "pause",
|
|
241
251
|
"category": "Action",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/icons",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.0",
|
|
4
4
|
"description": "A collection of icons by SumUp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typescript": "^5.8.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"react": ">=16.0.0 <
|
|
48
|
+
"react": ">=16.0.0 <20.0.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=20"
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
|
|
2
|
+
<path fill="currentColor" d="M15.333 8c0 .177-.069.347-.193.473l-4 4a.68.68 0 0 1-.473.194A.667.667 0 0 1 10 12c0-.177.07-.347.193-.473l2.867-2.86H2.94l2.867 2.86a.675.675 0 0 1-.002.944.67.67 0 0 1-.472.196.68.68 0 0 1-.473-.194l-4-4a.675.675 0 0 1 0-.946l4-4a.68.68 0 0 1 .473-.194A.667.667 0 0 1 6 4c0 .177-.07.347-.193.473L2.94 7.333h10.12l-2.867-2.86a.675.675 0 0 1 .002-.944.67.67 0 0 1 .472-.196c.177 0 .347.071.473.194l4 4a.68.68 0 0 1 .193.473"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="currentColor" d="M23 12c0 .265-.104.52-.29.71l-6 6c-.19.186-.445.29-.71.29a1 1 0 0 1-1-1c0-.265.104-.52.29-.71l4.3-4.29H4.41l4.3 4.29c.186.19.29.445.29.71a1 1 0 0 1-1 1c-.266 0-.52-.104-.71-.29l-6-6a1.013 1.013 0 0 1 0-1.42l6-6C7.48 5.104 7.734 5 8 5a1 1 0 0 1 1 1c0 .266-.104.52-.29.71L4.41 11h15.18l-4.3-4.29A1.01 1.01 0 0 1 15 6a1 1 0 0 1 1-1c.265 0 .52.104.71.29l6 6c.186.19.29.445.29.71"/>
|
|
3
|
+
</svg>
|