UNPKG

@elastic/eui

Version:

Elastic UI Component Library

56 lines (55 loc) 3.73 kB
"use strict"; 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 _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(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var EuiIconReadOnly = function EuiIconReadOnly(_ref) { var title = _ref.title, titleId = _ref.titleId, props = (0, _objectWithoutProperties2.default)(_ref, _excluded); return (0, _react2.jsx)("svg", (0, _extends2.default)({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 16 16", "aria-labelledby": titleId }, props), title ? (0, _react2.jsx)("title", { id: titleId }, title) : null, (0, _react2.jsx)("g", { style: { mixBlendMode: 'multiply' } }, (0, _react2.jsx)("path", { fillRule: "evenodd", d: "M6 1a1 1 0 0 0-1 1v3.027a4.655 4.655 0 0 1 1 0V2h4v3a1 1 0 0 0 1 1h3v8H6v-.027a4.666 4.666 0 0 1-1 0V14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V5.293L10.707 1H6Zm7.293 4L11 2.707V5h2.293Z", clipRule: "evenodd" }), (0, _react2.jsx)("path", { fillRule: "evenodd", d: "M5.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM5 9.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z", clipRule: "evenodd" }), (0, _react2.jsx)("path", { fillRule: "evenodd", d: "m9.5 9.5.447-.224v-.001l-.002-.003-.005-.009-.015-.03a7.348 7.348 0 0 0-.277-.47 8.101 8.101 0 0 0-.842-1.1C8.08 6.871 6.957 6 5.5 6s-2.582.872-3.306 1.662a8.1 8.1 0 0 0-1.119 1.57l-.016.031-.004.009-.002.003.447.225-.447-.224a.502.502 0 0 0 0 .448L1.5 9.5l-.447.224v.001l.002.003.004.009.016.03.058.106a8.103 8.103 0 0 0 1.06 1.465C2.919 12.128 4.044 13 5.5 13c1.457 0 2.581-.872 3.306-1.662a8.104 8.104 0 0 0 1.119-1.57l.015-.031.005-.009.001-.003s.001-.001-.446-.225Zm-7.428 0a7.096 7.096 0 0 0 .86 1.162C3.58 11.372 4.456 12 5.499 12c1.043 0 1.918-.628 2.569-1.338a7.096 7.096 0 0 0 .86-1.162 7.101 7.101 0 0 0-.86-1.162C7.419 7.628 6.544 7 5.5 7c-1.043 0-1.919.628-2.57 1.338A7.1 7.1 0 0 0 2.073 9.5Z", clipRule: "evenodd" }), (0, _react2.jsx)("path", { d: "m9.5 9.5.447.224a.502.502 0 0 0 0-.448L9.5 9.5Z" }))); }; var icon = exports.icon = EuiIconReadOnly;