@sumup-oss/icons 7.0.2 → 7.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/TikTok.js +65 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/manifest.json +5 -0
- package/package.json +1 -1
- package/web/v2/tik_tok_24.svg +3 -0
package/dist/TikTok.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
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 TikTok24 = function TikTok24(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: "M12.438 2.017C13.53 2 14.613 2.008 15.697 2c.066 1.275.525 2.575 1.458 3.475.933.925 2.25 1.35 3.533 1.492v3.358c-1.2-.042-2.408-.292-3.5-.808-.475-.217-.916-.492-1.35-.775-.008 2.433.009 4.866-.016 7.291a6.37 6.37 0 0 1-1.125 3.283c-1.092 1.6-2.984 2.642-4.925 2.675-1.192.067-2.384-.258-3.4-.858-1.684-.992-2.867-2.808-3.042-4.758a16 16 0 0 1-.008-1.242c.15-1.583.933-3.1 2.15-4.133 1.383-1.2 3.316-1.775 5.125-1.433.016 1.233-.034 2.466-.034 3.7-.825-.267-1.791-.192-2.516.308a2.9 2.9 0 0 0-1.134 1.458c-.175.425-.125.892-.116 1.342.2 1.366 1.516 2.516 2.916 2.391.934-.008 1.825-.55 2.309-1.341.158-.275.333-.559.341-.884.084-1.491.05-2.974.059-4.466.008-3.358-.009-6.708.016-10.058",
|
|
40
|
+
}),
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const TikTokSizeMap = {
|
|
44
|
+
24: TikTok24,
|
|
45
|
+
};
|
|
46
|
+
export function TikTok(_ref) {
|
|
47
|
+
let _ref$size = _ref.size,
|
|
48
|
+
size = _ref$size === void 0 ? "24" : _ref$size,
|
|
49
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
50
|
+
const Icon = TikTokSizeMap[size] || TikTokSizeMap["24"];
|
|
51
|
+
if (
|
|
52
|
+
process.env.NODE_ENV !== "production" &&
|
|
53
|
+
process.env.NODE_ENV !== "test" &&
|
|
54
|
+
!TikTokSizeMap[size]
|
|
55
|
+
) {
|
|
56
|
+
console.warn(
|
|
57
|
+
new Error(
|
|
58
|
+
`The '${size}' size is not supported by the 'TikTok' icon. Please use one of the available sizes: '24'.`,
|
|
59
|
+
),
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
return /*#__PURE__*/ _jsx(Icon, {
|
|
63
|
+
...props,
|
|
64
|
+
});
|
|
65
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -696,6 +696,8 @@ declare const Linkedin: IconComponentType<"24">;
|
|
|
696
696
|
|
|
697
697
|
declare const Pinterest: IconComponentType<"24">;
|
|
698
698
|
|
|
699
|
+
declare const TikTok: IconComponentType<"24">;
|
|
700
|
+
|
|
699
701
|
declare const Twitter: IconComponentType<"24">;
|
|
700
702
|
|
|
701
703
|
declare const Unsplash: IconComponentType<"24">;
|
|
@@ -1075,6 +1077,7 @@ export {
|
|
|
1075
1077
|
Instagram,
|
|
1076
1078
|
Linkedin,
|
|
1077
1079
|
Pinterest,
|
|
1080
|
+
TikTok,
|
|
1078
1081
|
Twitter,
|
|
1079
1082
|
Unsplash,
|
|
1080
1083
|
WhatsApp,
|
|
@@ -1753,6 +1756,7 @@ export type IconName =
|
|
|
1753
1756
|
| "instagram"
|
|
1754
1757
|
| "linkedin"
|
|
1755
1758
|
| "pinterest"
|
|
1759
|
+
| "tik_tok"
|
|
1756
1760
|
| "twitter"
|
|
1757
1761
|
| "unsplash"
|
|
1758
1762
|
| "whats_app"
|
|
@@ -2440,6 +2444,7 @@ type Icons = {
|
|
|
2440
2444
|
instagram: "24";
|
|
2441
2445
|
linkedin: "24";
|
|
2442
2446
|
pinterest: "24";
|
|
2447
|
+
tik_tok: "24";
|
|
2443
2448
|
twitter: "24";
|
|
2444
2449
|
unsplash: "24";
|
|
2445
2450
|
whats_app: "24";
|
package/dist/index.js
CHANGED
|
@@ -341,6 +341,7 @@ export { FacebookMessenger } from "./FacebookMessenger.js";
|
|
|
341
341
|
export { Instagram } from "./Instagram.js";
|
|
342
342
|
export { Linkedin } from "./Linkedin.js";
|
|
343
343
|
export { Pinterest } from "./Pinterest.js";
|
|
344
|
+
export { TikTok } from "./TikTok.js";
|
|
344
345
|
export { Twitter } from "./Twitter.js";
|
|
345
346
|
export { Unsplash } from "./Unsplash.js";
|
|
346
347
|
export { WhatsApp } from "./WhatsApp.js";
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -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="M12.438 2.017C13.53 2 14.613 2.008 15.697 2c.066 1.275.525 2.575 1.458 3.475.933.925 2.25 1.35 3.533 1.492v3.358c-1.2-.042-2.408-.292-3.5-.808-.475-.217-.916-.492-1.35-.775-.008 2.433.009 4.866-.016 7.291a6.37 6.37 0 0 1-1.125 3.283c-1.092 1.6-2.984 2.642-4.925 2.675-1.192.067-2.384-.258-3.4-.858-1.684-.992-2.867-2.808-3.042-4.758a16 16 0 0 1-.008-1.242c.15-1.583.933-3.1 2.15-4.133 1.383-1.2 3.316-1.775 5.125-1.433.016 1.233-.034 2.466-.034 3.7-.825-.267-1.791-.192-2.516.308a2.9 2.9 0 0 0-1.134 1.458c-.175.425-.125.892-.116 1.342.2 1.366 1.516 2.516 2.916 2.391.934-.008 1.825-.55 2.309-1.341.158-.275.333-.559.341-.884.084-1.491.05-2.974.059-4.466.008-3.358-.009-6.708.016-10.058"/>
|
|
3
|
+
</svg>
|