@elastic/eui
Version:
Elastic UI Component Library
93 lines (92 loc) • 4.85 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.icon = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var React = _interopRequireWildcard(require("react"));
var _services = require("../../../services");
var _react2 = require("@emotion/react");
var _excluded = ["title", "titleId"];
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var EuiIconLogoDropwizard = function EuiIconLogoDropwizard(_ref) {
var title = _ref.title,
titleId = _ref.titleId,
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
var generateId = (0, _services.htmlIdGenerator)('logo_dropwizard');
return (0, _react2.jsx)("svg", (0, _extends2.default)({
xmlns: "http://www.w3.org/2000/svg",
width: 32,
height: 32,
fill: "none",
viewBox: "0 0 32 32",
"aria-labelledby": titleId
}, props), title ? (0, _react2.jsx)("title", {
id: titleId
}, title) : null, (0, _react2.jsx)("path", {
fill: "url(#".concat(generateId('a'), ")"),
d: "M8 29.61s9.55 4.74 16.856-.893c-1.905-5.114-5.25-19.867-7.226-26.383-.422-1.389-.49-1.527-.663-1.909-.964-2.134-1.978 4.142-3.628 10.459C12.749 13.148 8 29.61 8 29.61"
}), (0, _react2.jsx)("path", {
fill: "url(#".concat(generateId('b'), ")"),
d: "M9.926 28.563s8.17 4.794 14.93.154c-.18-.807-.642-2.103-.955-3.311-1.664-6.416-4.676-17.248-6.144-22.626-1.59-5.822-2.105.986-3.961 8.23-.564 2.204-3.87 17.553-3.87 17.553"
}), (0, _react2.jsx)("path", {
fill: "#F9A72B",
d: "m12.14 24.41.85-1.466.793 1.544-.908 1.99-.735-2.069Zm6.934-5.545.85-1.465.793 1.543-.908 1.99-.735-2.068Zm-4.747-5.851.85-1.465.792 1.543-.908 1.99-.734-2.068"
}), (0, _react2.jsx)("path", {
fill: "#FFF200",
d: "m12.14 24.41.85-1.716.793 1.794-.907 1.468-.736-1.546Zm6.934-5.545.851-1.716.792 1.794-.906 1.468-.737-1.546Zm-4.747-5.851.85-1.716.792 1.794-.906 1.468-.736-1.546"
}), (0, _react2.jsx)("path", {
fill: "#24265D",
d: "M12.987 28.422s6.082 1.015 10.086-1.549c-.502 1.55-4.991 3.314-10.086 1.55"
}), (0, _react2.jsx)("defs", null, (0, _react2.jsx)("linearGradient", {
id: generateId('a'),
x1: 33.473,
x2: 7.751,
y1: 7.674,
y2: 21.331,
gradientUnits: "userSpaceOnUse"
}, (0, _react2.jsx)("stop", {
stopColor: "#3871C1"
}), (0, _react2.jsx)("stop", {
offset: 0.515,
stopColor: "#2C3792"
}), (0, _react2.jsx)("stop", {
offset: 0.865,
stopColor: "#24265D"
}), (0, _react2.jsx)("stop", {
offset: 1,
stopColor: "#252761"
})), (0, _react2.jsx)("linearGradient", {
id: generateId('b'),
x1: 21.028,
x2: 6.017,
y1: 14.928,
y2: 18.844,
gradientUnits: "userSpaceOnUse"
}, (0, _react2.jsx)("stop", {
stopColor: "#3871C1"
}), (0, _react2.jsx)("stop", {
offset: 0.515,
stopColor: "#2C3792"
}), (0, _react2.jsx)("stop", {
offset: 0.865,
stopColor: "#24265D"
}), (0, _react2.jsx)("stop", {
offset: 1,
stopColor: "#252761"
}))));
};
var icon = EuiIconLogoDropwizard;
exports.icon = icon;