UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

35 lines (33 loc) 2.97 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function JupyterBaseNameIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: colored ? 'none' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('none') ? 'white' : 'currentColor'), viewBox: "0 0 21 21", "aria-hidden": "true", width: size ? typeof size === "string" ? sizeMap[size] : size : "16px", ref: svgRef, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { fill: colored ? '#4E4E4E' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#4E4E4E') ? 'white' : 'currentColor'), d: "M1.19 11.158c0 .73-.058.968-.208 1.143a.91.91 0 01-.61.234l.06.417c.348.005.686-.118.95-.346a1.668 1.668 0 00.367-1.252V8.592H1.19v2.566zM5.36 10.829c0 .313 0 .592.025.834h-.497l-.033-.496a1.156 1.156 0 01-1.014.567c-.484 0-1.06-.262-1.06-1.335V8.618h.56v1.669c0 .58.179.967.684.967a.78.78 0 00.788-.788V8.597h.56v2.215l-.013.017zM6.42 9.61c0-.388 0-.705-.026-.992h.5l.026.521a1.21 1.21 0 011.093-.592c.742 0 1.301.621 1.301 1.547 0 1.093-.671 1.636-1.397 1.636a1.08 1.08 0 01-.947-.48v1.669h-.55V9.61zm.55.814c.001.076.01.151.025.225a.86.86 0 00.834.647c.589 0 .935-.48.935-1.177 0-.609-.326-1.13-.914-1.13a.96.96 0 00-.88.913v.522zM10.31 8.615l.672 1.798c.071.2.146.442.196.621.059-.183.121-.417.196-.634l.61-1.785h.588l-.835 2.17c-.417 1.042-.671 1.58-1.055 1.906-.194.176-.43.3-.684.358l-.138-.467a1.48 1.48 0 00.488-.271c.204-.166.365-.377.471-.617a.418.418 0 00.046-.134.483.483 0 00-.037-.146L9.693 8.606h.61l.007.009zM14.056 7.74v.876h.8v.417h-.8v1.644c0 .375.108.592.417.592.11.002.219-.01.325-.038l.025.418c-.16.055-.327.08-.496.075a.776.776 0 01-.605-.234 1.122 1.122 0 01-.217-.793V9.03h-.476V8.61h.484V7.87l.543-.13zM15.886 10.237a.98.98 0 001.056 1.055c.286.007.57-.047.834-.158l.096.417a2.503 2.503 0 01-1.022.188 1.419 1.419 0 01-1.51-1.536c0-.918.546-1.643 1.44-1.643 1 0 1.25.876 1.25 1.435.006.086.006.172 0 .258h-2.156l.012-.016zm1.636-.418a.79.79 0 00-.776-.9.922.922 0 00-.855.9h1.63zM18.88 9.563c0-.358 0-.667-.026-.95h.5v.596h.026a.922.922 0 01.834-.668.61.61 0 01.159 0v.522a.834.834 0 00-.192 0 .78.78 0 00-.747.709 1.537 1.537 0 00-.025.259v1.622h-.55V9.569l.02-.005z" }), /*#__PURE__*/React.createElement("path", { fill: colored ? '#F37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#F37726') ? 'white' : 'currentColor'), d: "M10.385 16.574c-3.755 0-7.055-1.348-8.761-3.338a9.34 9.34 0 0017.522 0c-1.702 1.99-4.99 3.338-8.761 3.338zM10.385 3.633c3.755 0 7.054 1.348 8.76 3.338a9.342 9.342 0 00-17.521 0c1.706-1.994 4.99-3.338 8.76-3.338z" })); } const ForwardRef = React.forwardRef(JupyterBaseNameIcon); module.exports = ForwardRef;