@freightos/icons 1.0.6 → 1.0.7
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.
|
@@ -38,7 +38,7 @@ const react_1 = __importStar(require("react"));
|
|
|
38
38
|
const colors_1 = require("../colors");
|
|
39
39
|
exports.IconSend = (0, react_1.forwardRef)(({ size = '1em', color = 'currentColor', style, ...props }, ref) => {
|
|
40
40
|
const resolvedColor = color && color in colors_1.FREIGHTOS_COLORS ? colors_1.FREIGHTOS_COLORS[color] : color;
|
|
41
|
-
return (react_1.default.createElement("svg", { ref: ref, viewBox: "0 0
|
|
41
|
+
return (react_1.default.createElement("svg", { ref: ref, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: resolvedColor, style: {
|
|
42
42
|
width: size,
|
|
43
43
|
height: size,
|
|
44
44
|
minWidth: size,
|
|
@@ -48,6 +48,6 @@ exports.IconSend = (0, react_1.forwardRef)(({ size = '1em', color = 'currentColo
|
|
|
48
48
|
verticalAlign: 'middle',
|
|
49
49
|
...style,
|
|
50
50
|
}, ...props },
|
|
51
|
-
react_1.default.createElement("path", {
|
|
51
|
+
react_1.default.createElement("path", { d: "M0 9.5L10.5 5 0 .5V4l7.5 1L0 6v3.5z", fill: "currentColor" })));
|
|
52
52
|
});
|
|
53
53
|
exports.IconSend.displayName = 'IconSend';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { FREIGHTOS_COLORS } from '../colors';
|
|
3
3
|
export const IconSend = forwardRef(({ size = '1em', color = 'currentColor', style, ...props }, ref) => {
|
|
4
4
|
const resolvedColor = color && color in FREIGHTOS_COLORS ? FREIGHTOS_COLORS[color] : color;
|
|
5
|
-
return (React.createElement("svg", { ref: ref, viewBox: "0 0
|
|
5
|
+
return (React.createElement("svg", { ref: ref, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: resolvedColor, style: {
|
|
6
6
|
width: size,
|
|
7
7
|
height: size,
|
|
8
8
|
minWidth: size,
|
|
@@ -12,6 +12,6 @@ export const IconSend = forwardRef(({ size = '1em', color = 'currentColor', styl
|
|
|
12
12
|
verticalAlign: 'middle',
|
|
13
13
|
...style,
|
|
14
14
|
}, ...props },
|
|
15
|
-
React.createElement("path", {
|
|
15
|
+
React.createElement("path", { d: "M0 9.5L10.5 5 0 .5V4l7.5 1L0 6v3.5z", fill: "currentColor" })));
|
|
16
16
|
});
|
|
17
17
|
IconSend.displayName = 'IconSend';
|
package/package.json
CHANGED