UNPKG

@yandex/ui

Version:

Yandex UI components

30 lines (29 loc) 3.72 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DownloadIcon = exports.ShareIcon = exports.PaseIcon = exports.CopyIcon = void 0; var tslib_1 = require("tslib"); var react_1 = tslib_1.__importDefault(require("react")); var CopyIcon = function () { return (react_1.default.createElement("span", { className: "Icon Icon_hasGlyph Icon_size_m", style: { width: 24 } }, react_1.default.createElement("svg", { width: "24", height: "24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, react_1.default.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8 5h7.795c1.115 0 1.519.116 1.926.334.407.218.727.538.945.945.218.407.334.811.334 1.926V16a1 1 0 102 0V8.128c0-1.783-.186-2.43-.534-3.082a3.635 3.635 0 00-1.512-1.512C18.302 3.186 17.655 3 15.872 3H8a1 1 0 000 2zm7.721 2.334C15.314 7.116 14.91 7 13.795 7h-7.59c-1.115 0-1.519.116-1.926.334a2.272 2.272 0 00-.945.945C3.116 8.686 3 9.09 3 10.205v7.59c0 1.114.116 1.519.334 1.926.218.407.538.727.945.945.407.218.811.334 1.926.334h7.59c1.114 0 1.519-.116 1.926-.334.407-.218.727-.538.945-.945.218-.407.334-.811.334-1.926v-7.59c0-1.115-.116-1.519-.334-1.926a2.272 2.272 0 00-.945-.945z", fill: "#000000" })))); }; exports.CopyIcon = CopyIcon; var PaseIcon = function () { return (react_1.default.createElement("span", { className: "Icon Icon_hasGlyph Icon_size_m", style: { width: 24 } }, react_1.default.createElement("svg", { fill: "#000000", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24" }, react_1.default.createElement("path", { d: "M10 .75A2 2 0 008.15 2h-2.4A3.758 3.758 0 002 5.75v8.5A3.758 3.758 0 005.75 18H6v.25A3.758 3.758 0 009.75 22h8.5A3.758 3.758 0 0022 18.25v-8.5A3.758 3.758 0 0018.25 6H18v-.25A3.758 3.758 0 0014.25 2h-2.4A2 2 0 0010 .75zM5.75 3.5h.32A1.99 1.99 0 008 5h4a1.99 1.99 0 001.93-1.5h.32c1.26 0 2.25.99 2.25 2.25V6H9.75A3.758 3.758 0 006 9.75v6.75h-.25a2.23 2.23 0 01-2.25-2.25v-8.5A2.23 2.23 0 015.75 3.5zm4 4h8.5c1.259 0 2.25.99 2.25 2.25v8.5a2.23 2.23 0 01-2.25 2.25h-8.5a2.23 2.23 0 01-2.25-2.25v-8.5c0-1.259.99-2.25 2.25-2.25zm1 2.75c-1.014-.014-1.014 1.514 0 1.5h6.5c1.014.014 1.014-1.514 0-1.5zm0 3c-1.014-.014-1.014 1.514 0 1.5h6.5c1.014.014 1.014-1.514 0-1.5zm0 3c-1.014-.014-1.014 1.514 0 1.5h4.5c1.014.014 1.014-1.514 0-1.5z" })))); }; exports.PaseIcon = PaseIcon; var ShareIcon = function () { return (react_1.default.createElement("span", { className: "Icon Icon_hasGlyph Icon_size_m", style: { width: 24 } }, react_1.default.createElement("svg", { width: "24", height: "24", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, react_1.default.createElement("path", { d: "M20 10h2v12H2V10h2v10h16V10zm-8-8l4 6h-3v8h-2V8H8l4-6z", fill: "#000000", stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" })))); }; exports.ShareIcon = ShareIcon; var DownloadIcon = function () { return (react_1.default.createElement("span", { className: "Icon Icon_hasGlyph Icon_size_m", style: { width: 24 } }, react_1.default.createElement("svg", { width: "24", height: "24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, react_1.default.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12 2c-.55 0-1 .45-1 1v8.922a10 10 0 00.254 2.24l-.206.206-.215-.344c-.4-.64-.873-1.234-1.407-1.768l-.966-.966a.996.996 0 00-1.41 0c-.39.39-.39 1.03 0 1.42l3.89 3.883a1.5 1.5 0 002.12 0l3.89-3.883c.39-.39.39-1.03 0-1.42a.996.996 0 00-1.41 0l-.966.966a10.004 10.004 0 00-1.407 1.768l-.215.344-.206-.207a10 10 0 00.254-2.24V3c0-.55-.45-1-1-1zM6 20a1 1 0 100 2h12a1 1 0 100-2H6z", fill: "#000000" })))); }; exports.DownloadIcon = DownloadIcon;