UNPKG

@navikt/aksel-icons

Version:

800+ open source icons made by Aksel, Nav's design system team.

60 lines 3.88 kB
"use strict"; "use client"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || (function () { var ownKeys = function(o) { ownKeys = Object.getOwnPropertyNames || function (o) { var ar = []; for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; return ar; }; return ownKeys(o); }; return function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); __setModuleDefault(result, mod); return result; }; })(); var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; }; Object.defineProperty(exports, "__esModule", { value: true }); const React = __importStar(require("react")); const react_1 = require("react"); const useId_1 = require("./util/useId"); const SvgEyeWithPupil = (0, react_1.forwardRef)((_a, ref) => { var { title, titleId: _titleId } = _a, props = __rest(_a, ["title", "titleId"]); let titleId = (0, useId_1.useId)(); titleId = title ? _titleId ? _titleId : "title-" + titleId : undefined; return React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: false, role: "img", ref: ref, "aria-labelledby": titleId }, props), title ? React.createElement("title", { id: titleId }, title) : null, React.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M3.905 12q.103.14.243.317c.35.438.878 1.025 1.582 1.61C7.136 15.098 9.222 16.25 12 16.25s4.864-1.152 6.27-2.323A11.3 11.3 0 0 0 20.095 12a11.28 11.28 0 0 0-1.825-1.927C16.864 8.902 14.778 7.75 12 7.75s-4.864 1.152-6.27 2.323A11.3 11.3 0 0 0 3.905 12M12 7.75a4.25 4.25 0 1 1 0 8.5 4.25 4.25 0 0 1 0-8.5M4.77 8.92C6.364 7.593 8.778 6.25 12 6.25s5.636 1.343 7.23 2.67a12.8 12.8 0 0 1 1.793 1.826 10 10 0 0 1 .576.796l.035.056.007.012.007.012.012.022.016.03c.004.01.015.033.02.048.013.032.046.17.054.278a1.4 1.4 0 0 1-.053.278l-.021.047q-.012.024-.016.031l-.008.015-.004.007-.009.015-.005.009a4 4 0 0 1-.155.238c-.104.152-.255.363-.456.614-.4.5-.997 1.163-1.793 1.826-1.594 1.327-4.008 2.67-7.23 2.67s-5.636-1.343-7.23-2.67a12.8 12.8 0 0 1-1.793-1.826 10 10 0 0 1-.576-.796l-.05-.08-.011-.022a1 1 0 0 1-.037-.078A1.4 1.4 0 0 1 2.25 12c.008-.108.041-.246.053-.278l.037-.078.012-.022.05-.08q.04-.069.12-.182a10 10 0 0 1 .455-.614c.4-.5.997-1.163 1.793-1.826m7.23.33a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5m0 1.25a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3", clipRule: "evenodd" })); }); exports.default = SvgEyeWithPupil; //# sourceMappingURL=EyeWithPupil.js.map