@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
110 lines (108 loc) • 6.83 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function PythonNameIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 330 330",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
id: "c"
}, /*#__PURE__*/React.createElement("stop", {
offset: 0,
stopColor: "#b8b8b8",
stopOpacity: 0.498
}), /*#__PURE__*/React.createElement("stop", {
offset: 1,
stopColor: "#7f7f7f",
stopOpacity: 0
})), /*#__PURE__*/React.createElement("linearGradient", {
id: "a"
}, /*#__PURE__*/React.createElement("stop", {
offset: 0,
stopColor: "#ffd43b"
}), /*#__PURE__*/React.createElement("stop", {
offset: 1,
stopColor: "#ffe873"
})), /*#__PURE__*/React.createElement("linearGradient", {
id: "b"
}, /*#__PURE__*/React.createElement("stop", {
offset: 0,
stopColor: "#5a9fd4"
}), /*#__PURE__*/React.createElement("stop", {
offset: 1,
stopColor: "#306998"
})), /*#__PURE__*/React.createElement("linearGradient", {
id: "e",
x1: 150.961,
x2: 112.031,
y1: 192.352,
y2: 137.273,
gradientTransform: "matrix(.56254 0 0 .56797 -9.4 -5.305)",
gradientUnits: "userSpaceOnUse",
xlinkHref: "#a"
}), /*#__PURE__*/React.createElement("linearGradient", {
id: "d",
x1: 26.649,
x2: 135.665,
y1: 20.604,
y2: 114.398,
gradientTransform: "matrix(.56254 0 0 .56797 -9.4 -5.305)",
gradientUnits: "userSpaceOnUse",
xlinkHref: "#b"
}), /*#__PURE__*/React.createElement("radialGradient", {
id: "f",
cx: 61.519,
cy: 132.286,
r: 29.037,
fx: 61.519,
fy: 132.286,
gradientTransform: "matrix(0 -.23995 1.05467 0 -78.11 148.86)",
gradientUnits: "userSpaceOnUse",
xlinkHref: "#c"
})), /*#__PURE__*/React.createElement("g", {
fill: "#646464"
}, /*#__PURE__*/React.createElement("path", {
d: "M36.113 274.399c0-14.562-4.152-22.038-12.457-22.448a23.4 23.4 0 00-9.669 1.589c-2.505.897-4.191 1.784-5.078 2.68v34.758c5.312 3.334 10.03 4.884 14.143 4.64 8.704-.575 13.061-7.642 13.061-21.22zm10.244.604c0 7.398-1.735 13.539-5.224 18.422-3.89 5.527-9.28 8.373-16.17 8.529-5.196.165-10.547-1.462-16.054-4.874v31.59L0 325.493v-70.12c1.462-1.794 3.343-3.334 5.624-4.64 5.302-3.09 11.745-4.679 19.329-4.757l.126.127c6.93-.088 12.272 2.758 16.024 8.529 3.5 5.292 5.254 12.076 5.254 20.371zM100.804 295.735c0 9.923-.994 16.794-2.982 20.615-1.998 3.821-5.8 6.872-11.414 9.143-4.552 1.793-9.474 2.768-14.757 2.934l-1.472-5.615c5.37-.73 9.153-1.462 11.346-2.193 4.318-1.462 7.28-3.704 8.908-6.706 1.307-2.446 1.95-7.115 1.95-14.026v-2.32c-6.092 2.769-12.476 4.143-19.153 4.143-4.386 0-8.256-1.374-11.59-4.142-3.742-3.012-5.614-6.833-5.614-11.463v-37.078l8.91-3.05v37.32c0 3.987 1.286 7.058 3.859 9.212s5.907 3.187 9.99 3.11c4.085-.089 8.461-1.668 13.11-4.757v-43.54h8.91zM135.582 301.466a35.662 35.662 0 01-2.934.127c-5.04 0-8.967-1.199-11.774-3.606-2.798-2.408-4.201-5.732-4.201-9.972v-35.09h-6.102v-5.604h6.102v-14.884l8.899-3.167v18.051h10.01v5.605h-10.01v34.846c0 3.343.896 5.711 2.69 7.096 1.54 1.14 3.987 1.793 7.32 1.959zM189.522 300.735h-8.908v-34.387c0-3.5-.82-6.511-2.447-9.026-1.881-2.846-4.493-4.27-7.846-4.27-4.084 0-9.192 2.155-15.323 6.463v41.22h-8.909v-82.197l8.91-2.807v37.439c5.692-4.143 11.91-6.22 18.665-6.22 4.717 0 8.538 1.59 11.462 4.757 2.934 3.168 4.396 7.116 4.396 11.833zM236.874 272.995c0-5.595-1.063-10.215-3.178-13.87-2.515-4.454-6.423-6.803-11.706-7.047-9.767.565-14.64 7.564-14.64 20.976 0 6.15 1.014 11.287 3.06 15.41 2.613 5.253 6.531 7.846 11.755 7.758 9.806-.078 14.709-7.817 14.709-23.227zm9.757.059c0 7.963-2.038 14.591-6.102 19.884-4.474 5.926-10.654 8.899-18.539 8.899-7.817 0-13.91-2.973-18.305-8.9-3.987-5.292-5.975-11.92-5.975-19.883 0-7.486 2.154-13.783 6.462-18.91 4.552-5.439 10.537-8.168 17.935-8.168 7.398 0 13.422 2.73 18.061 8.168 4.308 5.127 6.463 11.424 6.463 18.91zM297.705 300.735h-8.908v-36.337c0-3.986-1.2-7.096-3.597-9.338-2.398-2.232-5.595-3.314-9.582-3.226-4.23.078-8.255 1.462-12.076 4.143v44.758h-8.909v-45.86c5.127-3.733 9.845-6.17 14.153-7.31 4.064-1.062 7.651-1.589 10.741-1.589 2.115 0 4.104.205 5.975.614 3.5.81 6.345 2.31 8.538 4.513 2.447 2.437 3.665 5.361 3.665 8.782z"
}), /*#__PURE__*/React.createElement("path", {
style: {
lineHeight: "125%"
},
d: "M315.054 239.379h1.562v-9.797h3.7v-1.167h-8.962v1.167h3.7v9.797m6.647 0h1.334v-8.947l2.897 8.946h1.486l3.018-8.916v8.917h1.455v-10.964h-1.925l-3.299 9.393-2.813-9.393h-2.153v10.964",
fontFamily: "Bitstream Vera Sans",
fontSize: 15.165,
fontWeight: 400
})), /*#__PURE__*/React.createElement("path", {
fill: "url(#d)",
d: "M60.51 6.398c-4.583.021-8.96.412-12.812 1.094-11.347 2.004-13.407 6.2-13.407 13.937v10.219h26.813v3.406H24.229c-7.793 0-14.616 4.684-16.75 13.594-2.462 10.213-2.571 16.586 0 27.25 1.906 7.938 6.457 13.594 14.25 13.594h9.219v-12.25c0-8.85 7.657-16.657 16.75-16.657h26.78c7.456 0 13.407-6.138 13.407-13.625V21.43c0-7.267-6.13-12.726-13.406-13.938-4.606-.767-9.385-1.115-13.969-1.094zm-14.5 8.219c2.77 0 5.031 2.298 5.031 5.125 0 2.816-2.261 5.093-5.03 5.093-2.78 0-5.032-2.277-5.032-5.093 0-2.827 2.252-5.125 5.031-5.125z",
transform: "matrix(1.59837 0 0 1.59837 68.17 -10.225)"
}), /*#__PURE__*/React.createElement("path", {
fill: "url(#e)",
d: "M91.229 35.054V46.96c0 9.231-7.826 17-16.75 17H47.698c-7.336 0-13.407 6.279-13.407 13.625v25.532c0 7.266 6.319 11.54 13.407 13.625 8.487 2.495 16.626 2.946 26.78 0 6.751-1.955 13.407-5.888 13.407-13.625V92.898H61.104v-3.406h40.187c7.793 0 10.697-5.436 13.407-13.594 2.799-8.399 2.68-16.476 0-27.25-1.926-7.757-5.604-13.594-13.407-13.594zM76.166 99.71c2.78 0 5.032 2.278 5.032 5.094 0 2.827-2.252 5.125-5.032 5.125-2.77 0-5.03-2.298-5.03-5.125 0-2.816 2.26-5.094 5.03-5.094z",
transform: "matrix(1.59837 0 0 1.59837 68.17 -10.225)"
}), /*#__PURE__*/React.createElement("path", {
fill: "url(#f)",
strokeWidth: 15.417,
d: "M97.34 134.098a35.931 6.967 0 11-71.863 0 35.931 6.967 0 1171.862 0z",
opacity: 0.444,
transform: "matrix(1.59837 0 0 1.59837 68.17 -10.225)"
}));
}
const ForwardRef = React.forwardRef(PythonNameIcon);
module.exports = ForwardRef;