Repository URL to install this package:
|
Version:
3.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const deps_1 = require("../../deps");
const Vector_1 = tslib_1.__importDefault(require("../../../Vector"));
const wording = {
description: 'Represents T-Giant Logo',
title: 'T-Giant Logo'
};
const StyledVector = styled.withComponent(Vector_1.default)`#version{fill:white;}`;
function fromBreedToComponent(props) {
const {
breed,
fill
} = props;
switch (breed) {
case 'pro':
return {
svgPath: react_1.default.createElement("g", {
fillRule: "nonzero"
}, react_1.default.createElement("g", {
id: "logo",
fill: fill
}, react_1.default.createElement("path", {
d: "M37.104 13.147H26.67V41.32h-8.38V13.147H8.045V6.704h29.058zM70.834 37.04c-.446.491-1.067 1.014-1.863 1.57-.797.554-1.766 1.069-2.913 1.544-1.146.476-2.47.869-3.975 1.178-1.504.309-3.197.463-5.074.463-2.324 0-4.426-.373-6.304-1.117-1.878-.745-3.486-1.831-4.823-3.257-1.337-1.427-2.368-3.182-3.091-5.266-.725-2.084-1.087-4.474-1.087-7.169v-1.925c0-2.695.366-5.088 1.098-7.18.732-2.093 1.755-3.855 3.068-5.29a12.963 12.963 0 0 1 4.693-3.269c1.814-.745 3.803-1.117 5.969-1.117 2.403 0 4.464.29 6.183.867 1.72.58 3.152 1.391 4.298 2.438a10.48 10.48 0 0 1 2.626 3.733c.605 1.442.996 3.026 1.17 4.753h-8.07c-.127-.855-.322-1.616-.585-2.282a4.782 4.782 0 0 0-1.098-1.688c-.47-.46-1.05-.808-1.742-1.045-.694-.238-1.525-.357-2.496-.357-1.002 0-1.914.213-2.734.642-.82.427-1.517 1.073-2.09 1.938-.573.864-1.014 1.945-1.324 3.245-.311 1.3-.465 2.821-.465 4.564v1.973c0 3.456.592 6.05 1.778 7.786 1.185 1.736 3.052 2.604 5.599 2.604.668 0 1.265-.043 1.791-.131a7.906 7.906 0 0 0 1.385-.344 5.343 5.343 0 0 0 1.015-.476c.278-.174.504-.34.68-.5v-5.372h-5.826v-5.73h14.207V37.04zM75.545 41.32H83.9V6.703h-8.355zM98.966 28.41h7.473l-3.748-12.006-3.725 12.006zm9.48 6.443H96.96l-2.004 6.467H86l12.75-34.616h7.88l12.845 34.616h-9.001l-2.03-6.467zM150.797 41.32h-8.333l-12.32-21.54v21.54h-8.382V6.704h8.382l12.296 21.54V6.704h8.357zM182.458 13.147h-10.433V41.32h-8.38V13.147h-10.243V6.704h29.056z"
}), react_1.default.createElement("path", {
d: "M4.358 1.857A2.49 2.49 0 0 0 1.865 4.34v39.322a2.49 2.49 0 0 0 2.493 2.482H185.4a2.49 2.49 0 0 0 2.492-2.482V4.339a2.49 2.49 0 0 0-2.492-2.482H4.358zM204.429 48H4.358C1.956 48 0 46.053 0 43.66V4.34C0 1.946 1.956 0 4.358 0h200.071c2.402 0 4.358 1.947 4.358 4.34v39.32c0 2.393-1.956 4.34-4.358 4.34z"
}), react_1.default.createElement("path", {
d: "M31.262 29.51h6.654v-6.204h-6.654z"
})), react_1.default.createElement("g", {
id: "version"
}, react_1.default.createElement("path", {
d: "M196.562 10.658h2.159c.638 0 1.125-.15 1.461-.449.336-.3.503-.727.503-1.283 0-.572-.169-1.034-.507-1.387-.338-.353-.805-.534-1.401-.545h-2.215v3.664zm0 1.949v4.113h-2.415V5.046h4.574c.88 0 1.654.16 2.323.48.668.321 1.182.777 1.542 1.368.36.59.54 1.262.54 2.016 0 1.144-.394 2.046-1.18 2.706-.787.66-1.875.99-3.266.99h-2.118zm0 11.47h1.95c.606 0 1.075-.154 1.408-.461.333-.308.5-.731.5-1.271 0-.55-.157-.984-.471-1.3-.314-.315-.796-.472-1.446-.472h-1.94v3.504zm1.925 1.948h-1.925V30.3h-2.415V18.624h4.356c1.385 0 2.453.308 3.205.922.752.615 1.127 1.484 1.127 2.606 0 .797-.173 1.46-.519 1.993-.346.532-.87.955-1.574 1.27l2.536 4.772v.112h-2.593l-2.198-4.274zm2.843 11.75c0-1.223-.22-2.153-.66-2.79-.44-.636-1.069-.953-1.885-.953-.81 0-1.436.313-1.876.942-.44.628-.663 1.548-.669 2.762v.57c0 1.191.22 2.116.66 2.773.44.658 1.074.987 1.901.987.81 0 1.433-.317 1.868-.95.435-.634.655-1.557.66-2.77v-.57zm2.448.53c0 1.15-.205 2.157-.612 3.023-.408.866-.992 1.534-1.752 2.005-.76.47-1.63.705-2.613.705-.971 0-1.839-.232-2.601-.698-.762-.465-1.353-1.129-1.772-1.992-.418-.863-.63-1.856-.636-2.979v-.577c0-1.15.209-2.16.624-3.035.416-.874 1.004-1.545 1.764-2.013.76-.467 1.628-.7 2.605-.7.977 0 1.845.233 2.605.7.76.468 1.347 1.14 1.763 2.013.416.874.625 1.883.625 3.027v.521z"
}))),
attributes: {
width: '209px',
height: '48px',
viewBox: '0 0 209 48'
}
};
default:
case 'default':
return {
svgPath: react_1.default.createElement("g", {
fillRule: "nonzero"
}, react_1.default.createElement("g", {
id: "logo",
fill: fill
}, react_1.default.createElement("path", {
d: "M37.34 13.4H26.93v27.778h-8.26V13.399H8.426V7.026H37.34zM70.878 37.093c-.495.49-.991.98-1.817 1.47s-1.818.98-2.974 1.471c-1.157.49-2.478.817-3.965 1.144-1.487.327-3.14.49-5.122.49-2.313 0-4.46-.327-6.278-1.144-1.818-.817-3.47-1.797-4.792-3.268-1.156-1.307-2.147-2.941-2.973-5.065-.661-2.125-1.157-4.412-1.157-7.027v-1.96c0-2.615.33-5.066 1.157-7.027.66-2.124 1.817-3.758 2.973-5.229 1.322-1.47 2.81-2.451 4.627-3.268 1.817-.817 3.8-1.144 5.947-1.144 2.313 0 4.461.327 6.113.817 1.653.654 3.14 1.307 4.296 2.451 1.157.98 1.983 2.288 2.644 3.759.66 1.47.99 2.94 1.156 4.738h-8.096c-.165-.817-.33-1.634-.66-2.287-.33-.654-.661-1.144-1.157-1.634s-.991-.817-1.652-.98a10.104 10.104 0 0 0-2.478-.328c-.992 0-1.983.164-2.644.654-.826.49-1.487.98-2.148 1.96-.495.818-.991 1.962-1.321 3.269-.33 1.307-.496 2.778-.496 4.575v1.961c0 3.432.66 6.046 1.817 7.68 1.157 1.634 2.974 2.615 5.618 2.615.66 0 1.321 0 1.817-.164.496-.163.991-.163 1.322-.327l.991-.49c.33-.163.496-.327.661-.49v-5.229h-5.783v-5.72h14.209v13.727h.165zM83.93 41.341h-8.26V7.026h8.26zM108.383 34.805h-11.4L95 41.178h-8.922L98.8 7.026h7.765l12.722 34.152h-8.922l-1.982-6.373zm-9.418-6.373h7.435l-3.8-11.928-3.635 11.928zM150.513 41.341h-8.26L130.025 20.1V41.34h-8.26V7.026h8.26l12.226 21.243V7.026h8.261zM181.904 13.4h-10.408v27.778h-8.261V13.399H152.99V7.026h28.913z"
}), react_1.default.createElement("path", {
d: "M184.878 47.877H4.791c-2.313 0-4.295-1.96-4.295-4.248V4.739C.496 2.45 2.478.49 4.79.49h180.087c2.313 0 4.296 1.961 4.296 4.249v38.89c0 2.288-1.983 4.248-4.296 4.248zM4.791 2.287c-1.321 0-2.478 1.144-2.478 2.452v38.89c0 1.307 1.157 2.451 2.478 2.451h180.087c1.322 0 2.479-1.144 2.479-2.451V4.739c0-1.308-1.157-2.451-2.479-2.451H4.791z"
}), react_1.default.createElement("path", {
d: "M31.557 23.53h6.609v6.209h-6.609z"
}))),
attributes: {
width: '190px',
height: '48px',
viewBox: '0 0 190 48'
}
};
}
}
class TGiantLogoIcon extends react_1.default.PureComponent {
render() {
const {
svgPath,
attributes
} = fromBreedToComponent(this.props);
const identifier = deps_1.fromPropsToIdentifier(this.props);
const passthroughProps = tslib_1.__rest(this.props, []);
return react_1.default.createElement(StyledVector, Object.assign({}, attributes, passthroughProps, wording, {
namespace: identifier
}), svgPath);
}
}
TGiantLogoIcon.defaultProps = {
fill: '#000000'
};
exports.TGiantLogoIcon = TGiantLogoIcon;
exports.default = TGiantLogoIcon; //# sourceMappingURL=TGiantLogoIcon.js.map