@sumup-oss/icons 5.8.0 → 5.9.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.
@@ -0,0 +1,83 @@
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
+ function _extends() {
28
+ return (
29
+ (_extends = Object.assign
30
+ ? Object.assign.bind()
31
+ : function (n) {
32
+ for (var e = 1; e < arguments.length; e++) {
33
+ var t = arguments[e];
34
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
35
+ }
36
+ return n;
37
+ }),
38
+ _extends.apply(null, arguments)
39
+ );
40
+ }
41
+ import React from "react";
42
+ var Controls16 = function Controls16(props) {
43
+ return /*#__PURE__*/ React.createElement(
44
+ "svg",
45
+ _extends(
46
+ {
47
+ width: "16",
48
+ height: "16",
49
+ viewBox: "0 0 16 16",
50
+ fill: "none",
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ },
53
+ props,
54
+ ),
55
+ /*#__PURE__*/ React.createElement("path", {
56
+ d: "M10 4.5a1 1 0 0 0 2 0V4h3a1 1 0 1 0 0-2h-3v-.5a1 1 0 0 0-2 0v3ZM1 2h7v2H1a1 1 0 0 1 0-2Zm3 7.5a1 1 0 1 0 2 0v-3a1 1 0 0 0-2 0V7H1a1 1 0 0 0 0 2h3v.5ZM15 9H8V7h7a1 1 0 1 1 0 2Zm-4 6.5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v.5h3a1 1 0 0 1 0 2h-3v.5a1 1 0 0 1-1 1ZM8 12H1a1 1 0 0 0 0 2h7v-2Z",
57
+ fill: "currentColor",
58
+ }),
59
+ );
60
+ };
61
+ const sizeMap = {
62
+ 16: Controls16,
63
+ };
64
+ export function Controls(_ref) {
65
+ let { size = "16" } = _ref,
66
+ props = _objectWithoutProperties(_ref, _excluded);
67
+ const Icon = sizeMap[size] || sizeMap["16"];
68
+ if (
69
+ process.env.NODE_ENV !== "production" &&
70
+ process.env.NODE_ENV !== "test" &&
71
+ !sizeMap[size]
72
+ ) {
73
+ console.warn(
74
+ new Error(
75
+ "The '".concat(
76
+ size,
77
+ "' size is not supported by the 'Controls' icon. Please use one of the available sizes: '16'.",
78
+ ),
79
+ ),
80
+ );
81
+ }
82
+ return /*#__PURE__*/ React.createElement(Icon, props);
83
+ }
@@ -0,0 +1,83 @@
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
+ function _extends() {
28
+ return (
29
+ (_extends = Object.assign
30
+ ? Object.assign.bind()
31
+ : function (n) {
32
+ for (var e = 1; e < arguments.length; e++) {
33
+ var t = arguments[e];
34
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
35
+ }
36
+ return n;
37
+ }),
38
+ _extends.apply(null, arguments)
39
+ );
40
+ }
41
+ import React from "react";
42
+ var DayView24 = function DayView24(props) {
43
+ return /*#__PURE__*/ React.createElement(
44
+ "svg",
45
+ _extends(
46
+ {
47
+ width: "24",
48
+ height: "24",
49
+ viewBox: "0 0 24 24",
50
+ fill: "none",
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ },
53
+ props,
54
+ ),
55
+ /*#__PURE__*/ React.createElement("path", {
56
+ d: "M5 17C4.45 17 3.97917 16.8042 3.5875 16.4125C3.19583 16.0208 3 15.55 3 15V9C3 8.45 3.19583 7.97917 3.5875 7.5875C3.97917 7.19583 4.45 7 5 7H19C19.55 7 20.0208 7.19583 20.4125 7.5875C20.8042 7.97917 21 8.45 21 9V15C21 15.55 20.8042 16.0208 20.4125 16.4125C20.0208 16.8042 19.55 17 19 17H5ZM5 15H19V9H5V15ZM4 5C3.44772 5 3 4.55228 3 4C3 3.44772 3.44772 3 4 3H20C20.5523 3 21 3.44772 21 4C21 4.55228 20.5523 5 20 5H4ZM4 21C3.44772 21 3 20.5523 3 20C3 19.4477 3.44772 19 4 19H20C20.5523 19 21 19.4477 21 20C21 20.5523 20.5523 21 20 21H4Z",
57
+ fill: "currentColor",
58
+ }),
59
+ );
60
+ };
61
+ const sizeMap = {
62
+ 24: DayView24,
63
+ };
64
+ export function DayView(_ref) {
65
+ let { size = "24" } = _ref,
66
+ props = _objectWithoutProperties(_ref, _excluded);
67
+ const Icon = sizeMap[size] || sizeMap["24"];
68
+ if (
69
+ process.env.NODE_ENV !== "production" &&
70
+ process.env.NODE_ENV !== "test" &&
71
+ !sizeMap[size]
72
+ ) {
73
+ console.warn(
74
+ new Error(
75
+ "The '".concat(
76
+ size,
77
+ "' size is not supported by the 'DayView' icon. Please use one of the available sizes: '24'.",
78
+ ),
79
+ ),
80
+ );
81
+ }
82
+ return /*#__PURE__*/ React.createElement(Icon, props);
83
+ }
@@ -0,0 +1,83 @@
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
+ function _extends() {
28
+ return (
29
+ (_extends = Object.assign
30
+ ? Object.assign.bind()
31
+ : function (n) {
32
+ for (var e = 1; e < arguments.length; e++) {
33
+ var t = arguments[e];
34
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
35
+ }
36
+ return n;
37
+ }),
38
+ _extends.apply(null, arguments)
39
+ );
40
+ }
41
+ import React from "react";
42
+ var MonthView24 = function MonthView24(props) {
43
+ return /*#__PURE__*/ React.createElement(
44
+ "svg",
45
+ _extends(
46
+ {
47
+ fill: "none",
48
+ height: "24",
49
+ viewBox: "0 0 24 24",
50
+ width: "24",
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ },
53
+ props,
54
+ ),
55
+ /*#__PURE__*/ React.createElement("path", {
56
+ d: "m4 20c-.55 0-1.02083-.1958-1.4125-.5875s-.5875-.8625-.5875-1.4125v-12c0-.55.19583-1.02083.5875-1.4125s.8625-.5875 1.4125-.5875h16c.55 0 1.0208.19583 1.4125.5875s.5875.8625.5875 1.4125v12c0 .55-.1958 1.0208-.5875 1.4125s-.8625.5875-1.4125.5875zm0-9h4v-5h-4zm6 0h4v-5h-4zm6 0h4v-5h-4zm-8 7v-5h-4v5zm2 0h4v-5h-4zm6 0h4v-5h-4z",
57
+ fill: "currentColor",
58
+ }),
59
+ );
60
+ };
61
+ const sizeMap = {
62
+ 24: MonthView24,
63
+ };
64
+ export function MonthView(_ref) {
65
+ let { size = "24" } = _ref,
66
+ props = _objectWithoutProperties(_ref, _excluded);
67
+ const Icon = sizeMap[size] || sizeMap["24"];
68
+ if (
69
+ process.env.NODE_ENV !== "production" &&
70
+ process.env.NODE_ENV !== "test" &&
71
+ !sizeMap[size]
72
+ ) {
73
+ console.warn(
74
+ new Error(
75
+ "The '".concat(
76
+ size,
77
+ "' size is not supported by the 'MonthView' icon. Please use one of the available sizes: '24'.",
78
+ ),
79
+ ),
80
+ );
81
+ }
82
+ return /*#__PURE__*/ React.createElement(Icon, props);
83
+ }
@@ -0,0 +1,83 @@
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
+ function _extends() {
28
+ return (
29
+ (_extends = Object.assign
30
+ ? Object.assign.bind()
31
+ : function (n) {
32
+ for (var e = 1; e < arguments.length; e++) {
33
+ var t = arguments[e];
34
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
35
+ }
36
+ return n;
37
+ }),
38
+ _extends.apply(null, arguments)
39
+ );
40
+ }
41
+ import React from "react";
42
+ var WeekView24 = function WeekView24(props) {
43
+ return /*#__PURE__*/ React.createElement(
44
+ "svg",
45
+ _extends(
46
+ {
47
+ fill: "none",
48
+ height: "24",
49
+ viewBox: "0 0 24 24",
50
+ width: "24",
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ },
53
+ props,
54
+ ),
55
+ /*#__PURE__*/ React.createElement("path", {
56
+ d: "m4 20c-.55 0-1.02083-.1958-1.4125-.5875s-.5875-.8625-.5875-1.4125v-12c0-.55.19583-1.02083.5875-1.4125s.8625-.5875 1.4125-.5875h16c.55 0 1.0208.19583 1.4125.5875s.5875.8625.5875 1.4125v12c0 .55-.1958 1.0208-.5875 1.4125s-.8625.5875-1.4125.5875zm9-2h2.5v-12h-2.5zm-4.5 0h2.5v-12h-2.5zm-4.5 0h2.5v-12h-2.5zm13.5 0h2.5v-12h-2.5z",
57
+ fill: "currentColor",
58
+ }),
59
+ );
60
+ };
61
+ const sizeMap = {
62
+ 24: WeekView24,
63
+ };
64
+ export function WeekView(_ref) {
65
+ let { size = "24" } = _ref,
66
+ props = _objectWithoutProperties(_ref, _excluded);
67
+ const Icon = sizeMap[size] || sizeMap["24"];
68
+ if (
69
+ process.env.NODE_ENV !== "production" &&
70
+ process.env.NODE_ENV !== "test" &&
71
+ !sizeMap[size]
72
+ ) {
73
+ console.warn(
74
+ new Error(
75
+ "The '".concat(
76
+ size,
77
+ "' size is not supported by the 'WeekView' icon. Please use one of the available sizes: '24'.",
78
+ ),
79
+ ),
80
+ );
81
+ }
82
+ return /*#__PURE__*/ React.createElement(Icon, props);
83
+ }
package/dist/index.d.ts CHANGED
@@ -31,10 +31,14 @@ declare const ChevronUp: IconComponentType<"16" | "24">;
31
31
 
32
32
  declare const Close: IconComponentType<"16" | "24">;
33
33
 
34
+ declare const Controls: IconComponentType<"16">;
35
+
34
36
  declare const Copy: IconComponentType<"24">;
35
37
 
36
38
  declare const Crop: IconComponentType<"24">;
37
39
 
40
+ declare const DayView: IconComponentType<"24">;
41
+
38
42
  declare const Delete: IconComponentType<"16" | "24">;
39
43
 
40
44
  declare const Download: IconComponentType<"16" | "24">;
@@ -75,6 +79,8 @@ declare const Manage: IconComponentType<"24">;
75
79
 
76
80
  declare const Minus: IconComponentType<"16" | "24">;
77
81
 
82
+ declare const MonthView: IconComponentType<"24">;
83
+
78
84
  declare const More: IconComponentType<"24">;
79
85
 
80
86
  declare const MoreCircle: IconComponentType<"24">;
@@ -113,6 +119,8 @@ declare const UploadCloud: IconComponentType<"24">;
113
119
 
114
120
  declare const View: IconComponentType<"16" | "24">;
115
121
 
122
+ declare const WeekView: IconComponentType<"24">;
123
+
116
124
  declare const SumUpLogo: IconComponentType<"24">;
117
125
 
118
126
  declare const SumUpLogomark: IconComponentType<"24">;
@@ -710,8 +718,10 @@ export {
710
718
  ChevronRight,
711
719
  ChevronUp,
712
720
  Close,
721
+ Controls,
713
722
  Copy,
714
723
  Crop,
724
+ DayView,
715
725
  Delete,
716
726
  Download,
717
727
  DownloadCloud,
@@ -732,6 +742,7 @@ export {
732
742
  Logout,
733
743
  Manage,
734
744
  Minus,
745
+ MonthView,
735
746
  More,
736
747
  MoreCircle,
737
748
  Pause,
@@ -751,6 +762,7 @@ export {
751
762
  Upload,
752
763
  UploadCloud,
753
764
  View,
765
+ WeekView,
754
766
  SumUpLogo,
755
767
  SumUpLogomark,
756
768
  PlusTier,
package/dist/index.js CHANGED
@@ -6,8 +6,10 @@ export { ChevronLeft } from "./ChevronLeft.js";
6
6
  export { ChevronRight } from "./ChevronRight.js";
7
7
  export { ChevronUp } from "./ChevronUp.js";
8
8
  export { Close } from "./Close.js";
9
+ export { Controls } from "./Controls.js";
9
10
  export { Copy } from "./Copy.js";
10
11
  export { Crop } from "./Crop.js";
12
+ export { DayView } from "./DayView.js";
11
13
  export { Delete } from "./Delete.js";
12
14
  export { Download } from "./Download.js";
13
15
  export { DownloadCloud } from "./DownloadCloud.js";
@@ -28,6 +30,7 @@ export { Login } from "./Login.js";
28
30
  export { Logout } from "./Logout.js";
29
31
  export { Manage } from "./Manage.js";
30
32
  export { Minus } from "./Minus.js";
33
+ export { MonthView } from "./MonthView.js";
31
34
  export { More } from "./More.js";
32
35
  export { MoreCircle } from "./MoreCircle.js";
33
36
  export { Pause } from "./Pause.js";
@@ -47,6 +50,7 @@ export { Upgrade } from "./Upgrade.js";
47
50
  export { Upload } from "./Upload.js";
48
51
  export { UploadCloud } from "./UploadCloud.js";
49
52
  export { View } from "./View.js";
53
+ export { WeekView } from "./WeekView.js";
50
54
  export { SumUpLogo } from "./SumUpLogo.js";
51
55
  export { SumUpLogomark } from "./SumUpLogomark.js";
52
56
  export { PlusTier } from "./PlusTier.js";
package/manifest.json CHANGED
@@ -71,6 +71,11 @@
71
71
  "category": "Action",
72
72
  "size": "16"
73
73
  },
74
+ {
75
+ "name": "controls",
76
+ "category": "Action",
77
+ "size": "16"
78
+ },
74
79
  {
75
80
  "name": "copy",
76
81
  "category": "Action",
@@ -81,6 +86,11 @@
81
86
  "category": "Action",
82
87
  "size": "24"
83
88
  },
89
+ {
90
+ "name": "day_view",
91
+ "category": "Action",
92
+ "size": "24"
93
+ },
84
94
  {
85
95
  "name": "delete",
86
96
  "category": "Action",
@@ -211,6 +221,11 @@
211
221
  "category": "Action",
212
222
  "size": "16"
213
223
  },
224
+ {
225
+ "name": "month_view",
226
+ "category": "Action",
227
+ "size": "24"
228
+ },
214
229
  {
215
230
  "name": "more",
216
231
  "category": "Action",
@@ -371,6 +386,11 @@
371
386
  "category": "Action",
372
387
  "size": "16"
373
388
  },
389
+ {
390
+ "name": "week_view",
391
+ "category": "Action",
392
+ "size": "24"
393
+ },
374
394
  {
375
395
  "name": "sum_up_logo",
376
396
  "category": "Brand",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "5.8.0",
3
+ "version": "5.9.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -0,0 +1,5 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M10 4.5a1 1 0 0 0 2 0V4h3a1 1 0 1 0 0-2h-3v-.5a1 1 0 0 0-2 0v3ZM1 2h7v2H1a1 1 0 0 1 0-2Zm3 7.5a1 1 0 1 0 2 0v-3a1 1 0 0 0-2 0V7H1a1 1 0 0 0 0 2h3v.5ZM15 9H8V7h7a1 1 0 1 1 0 2Zm-4 6.5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v.5h3a1 1 0 0 1 0 2h-3v.5a1 1 0 0 1-1 1ZM8 12H1a1 1 0 0 0 0 2h7v-2Z"
4
+ fill="currentColor" />
5
+ </svg>
@@ -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="M5 17C4.45 17 3.97917 16.8042 3.5875 16.4125C3.19583 16.0208 3 15.55 3 15V9C3 8.45 3.19583 7.97917 3.5875 7.5875C3.97917 7.19583 4.45 7 5 7H19C19.55 7 20.0208 7.19583 20.4125 7.5875C20.8042 7.97917 21 8.45 21 9V15C21 15.55 20.8042 16.0208 20.4125 16.4125C20.0208 16.8042 19.55 17 19 17H5ZM5 15H19V9H5V15ZM4 5C3.44772 5 3 4.55228 3 4C3 3.44772 3.44772 3 4 3H20C20.5523 3 21 3.44772 21 4C21 4.55228 20.5523 5 20 5H4ZM4 21C3.44772 21 3 20.5523 3 20C3 19.4477 3.44772 19 4 19H20C20.5523 19 21 19.4477 21 20C21 20.5523 20.5523 21 20 21H4Z" fill="currentColor"/>
3
+ </svg>
@@ -0,0 +1 @@
1
+ <svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="m4 20c-.55 0-1.02083-.1958-1.4125-.5875s-.5875-.8625-.5875-1.4125v-12c0-.55.19583-1.02083.5875-1.4125s.8625-.5875 1.4125-.5875h16c.55 0 1.0208.19583 1.4125.5875s.5875.8625.5875 1.4125v12c0 .55-.1958 1.0208-.5875 1.4125s-.8625.5875-1.4125.5875zm0-9h4v-5h-4zm6 0h4v-5h-4zm6 0h4v-5h-4zm-8 7v-5h-4v5zm2 0h4v-5h-4zm6 0h4v-5h-4z" fill="currentColor"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="m4 20c-.55 0-1.02083-.1958-1.4125-.5875s-.5875-.8625-.5875-1.4125v-12c0-.55.19583-1.02083.5875-1.4125s.8625-.5875 1.4125-.5875h16c.55 0 1.0208.19583 1.4125.5875s.5875.8625.5875 1.4125v12c0 .55-.1958 1.0208-.5875 1.4125s-.8625.5875-1.4125.5875zm9-2h2.5v-12h-2.5zm-4.5 0h2.5v-12h-2.5zm-4.5 0h2.5v-12h-2.5zm13.5 0h2.5v-12h-2.5z" fill="currentColor"/></svg>